1
0
Fork 0
mirror of synced 2024-07-12 18:05:55 +12:00
Commit graph

9239 commits

Author SHA1 Message Date
Damodar Lohani d493be0efb fix empty SMTP check 2023-07-18 07:08:02 +00:00
Damodar Lohani 8d106a39b0 null safe 2023-07-18 07:05:09 +00:00
jaivik 6380004678
Merge branch 'appwrite:master' into fix-5768-pull-request-to-return-team-id-conflict-error 2023-07-18 10:35:52 +05:30
Eldad A. Fux 11c9066c4d
Merge pull request #5402 from appwrite/fix-chunked-upload
content-range end should be 1 less than file size
2023-07-18 06:55:05 +03:00
Steven Nguyen 308c92f203
Ensure resources are deleted using their internal Id
This is necessary because a resource can be re-created with
the same id. If we don't use the internal id, the newer
recreated resource can be deleted.
2023-07-17 17:21:16 -07:00
Steven Nguyen fce230dca8
Fix team delete
Ensure all memberships are deleted and the cached users are
invalidated so that the nested memberships will refresh.
2023-07-17 17:21:16 -07:00
Eldad A. Fux c8689d1d41
Merge pull request #5639 from appwrite/fix-default-project
Fix default project
2023-07-16 21:13:57 +03:00
Matej Bačo b4ce4c7837 Update console 2023-07-15 17:26:57 +02:00
jaivix 4db919b42d linting and wording updates based on stnguyen90 feedback 2023-07-13 00:33:38 +05:30
Steven Nguyen ca6e9a7f1e
Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-12 10:56:24 -07:00
Steven Nguyen 300d916621
Update get logs APIs to return userId from data
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-12 10:27:57 -07:00
Steven Nguyen f5a3a8f339
Update Appwrite to save internal id as audit user id
It's important to use userInternalId so that if a user is recreated
with the same ID, lookups for the user will not return the data
of the old deleted user.

We will still store userId in data so that it can be pulled out and
returned for the log API calls.
2023-07-12 10:24:42 -07:00
shimon d282dbf787 usage collections fix 2023-07-12 16:02:42 +03:00
Damodar Lohani c656d8571a fix missing injection 2023-07-12 07:23:04 +00:00
Damodar Lohani c41dd6f67b fix logger optional 2023-07-12 07:17:40 +00:00
Christy Jacob d0bd3b2d00 feat: update console 2023-07-11 20:11:30 +00:00
Christy Jacob e0aa3db21e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data 2023-07-11 19:36:37 +00:00
Christy Jacob 8bf8c96b01 feat: update console 2023-07-11 18:43:28 +00:00
Christy Jacob e78e8d3929 Merge branch 'master' of https://github.com/appwrite/appwrite into add-console-headers 2023-07-11 18:37:12 +00:00
Damodar Lohani d5a7e8cfed add missing resource 2023-07-11 04:39:59 +00:00
Damodar Lohani 57bdf56c3d fix schedules collections 2023-07-11 02:12:28 +00:00
Christy Jacob 954300b754
Merge pull request #5798 from appwrite/fix-cloud-redirect
fix: cloud redirect
2023-07-11 03:22:10 +05:30
Christy Jacob bf9219e811 fix: cloud redirect 2023-07-11 01:20:24 +04:00
Christy Jacob 125c14d492 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.3.x 2023-07-10 20:59:05 +00:00
Christy Jacob 42b66b938c
Merge pull request #5796 from appwrite/update-dotnet-docs-examples
doc: Add .NET SDK docs examples
2023-07-11 02:15:05 +05:30
Christy Jacob 7f5f6b352d Merge branch '1.3.x' of https://github.com/appwrite/appwrite into update-python-version 2023-07-10 20:38:56 +00:00
Aditya Oberai b4fea28787 Add .NET SDK docs examples 2023-07-11 00:15:46 +05:30
Christy Jacob 5aefa88a50 feat: update python version 2023-07-10 21:36:17 +04:00
Christy Jacob 982373c915 feat: update error in Exception constructor 2023-07-10 08:04:27 +00:00
Damodar Lohani f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
Damodar Lohani 9fcf4400d8 console switch 2023-07-10 03:02:17 +00:00
jaivix a6671a5caa fixed team creation response if teamId already exists 2023-07-09 16:50:09 +05:30
Aditya Oberai a7dd5f617d
Update .NET SDK version 2023-07-08 00:59:57 +05:30
Prateek Banga f24cf729c3 fixed relationship update bug in two way type 2023-07-07 23:50:06 +05:30
Steven Nguyen 8258d70b78
Update user's search attribute using database filter
Using a database filter is the cleanest approach because it ensures
the logic is applied whenever the user is updated regardless of
whichever endpoint was used.
2023-07-05 12:17:47 -07:00
vaibhavagarwal220 fecde6bdba fixed null $name error for anonymous user 2023-06-24 13:57:02 +05:30
Steven Nguyen 33f5cbeca6
Restrict characters for project ID
Only allow lowercase alphanumeric chars and hyphens
because the project ID is used as part of url
schemes to redirect users back to mobile apps
and certain characters are not allowed.
2023-06-23 16:22:42 -07:00
Prateek Banga c4ef7fddc0
Merge branch 'appwrite:master' into fix-4846-added-expiry-value-to-account-sessions 2023-06-23 08:04:38 +05:30
Steven Nguyen 5d385c9a9d
Fix phone verification secret in events & payload
The secret in events & payload should match the secret sent to
messaging.
2023-06-22 17:54:09 -07:00
Steven Nguyen 37ad61933c
Set email & name after OAuth if they're empty
The logic before was incorrect. Really, email and name should only be
set if they're empty.
2023-06-22 17:46:09 -07:00
Christy Jacob 9f2bf844c7
Merge pull request #5580 from appwrite/fix-project-deletion-master
remove password required for project deletion
2023-06-22 22:52:59 +05:30
faisalill 7e8f6f748a fixed incorrect audity activity on document create 2023-06-17 00:20:37 +05:30
Torsten Dittmann fd154f04d3 fix: abuse phone param 2023-06-16 12:42:24 +02:00
Jake Barnby d3e7830620
Update changes 2023-06-16 14:16:19 +12:00
Christy Jacob 72e9ddd3f1
Merge pull request #5708 from appwrite/chore-update-database-config
feat: update database config
2023-06-15 20:57:21 +05:30
Christy Jacob 87aa7ea2f8 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into chore-update-database-config 2023-06-15 14:35:52 +00:00
Christy Jacob 4c68e396c1 feat: update backup time 2023-06-15 14:35:21 +00:00
Christy Jacob 1980b8c677 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into refactor-collections-config-db-pools 2023-06-15 14:30:27 +00:00
Matej Bačo 97581d5836 Add database to log 2023-06-15 13:21:18 +02:00
Jake Barnby 9903897373
Fix audits 2023-06-15 17:29:23 +12:00
Jake Barnby 95b06c660a
Add index validator 2023-06-15 17:29:03 +12:00
Jake Barnby 0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Jake Barnby ab2cd297f9
Fix imports 2023-06-15 13:45:10 +12:00
Jake Barnby 35d065198f
Merge remote-tracking branch 'origin/add-error-attribute' into feat-db-upgrade 2023-06-15 13:32:31 +12:00
Jake Barnby 44e7a822b1
Single catch with type check 2023-06-15 13:25:25 +12:00
Damodar Lohani 7eaa5f1e35 fix errors 2023-06-15 01:23:46 +00:00
Jake Barnby 10f06226d3
Make error optional 2023-06-15 13:05:37 +12:00
Damodar Lohani 57411db2d3 upadate to use refactored collections config 2023-06-15 00:34:12 +00:00
Jake Barnby 031f8270ff
Merge remote-tracking branch 'origin/1.4.x' into validator-mv
# Conflicts:
#	composer.lock
2023-06-15 12:28:32 +12:00
Jake Barnby 1604b339dd
Merge remote-tracking branch 'origin/1.4.x' into add-error-attribute
# Conflicts:
#	CHANGES.md
#	app/workers/databases.php
#	composer.json
#	composer.lock
2023-06-15 12:26:29 +12:00
Damodar Lohani c25e014be1 refactor collections config 2023-06-15 00:20:18 +00:00
Christy Jacob 25e2771fa7 feat: update database config 2023-06-14 19:52:28 +00:00
shimon 6093262f21 cache deletion bug fix 2023-06-13 18:04:11 +03:00
shimon 9d75e65ba9 cache deletion bug fix 2023-06-13 17:03:33 +03:00
shimon a4e055e21b cache deletion bug fix 2023-06-13 15:03:22 +03:00
shimon 8645757f28 cache deletion bug fix 2023-06-13 13:41:54 +03:00
shimon 41d207e862 cache deletion bug fix 2023-06-13 11:15:38 +03:00
Christy Jacob df96a5de90 feat: add try catch to deletes worker 2023-06-13 00:14:49 +05:30
Christy Jacob eccde7b1f9 feat: update log messages 2023-06-12 21:10:07 +05:30
Christy Jacob 56aa30fd52 feat: use static array for console db 2023-06-12 20:55:01 +05:30
Christy Jacob 651c826de1 feat: update log messages 2023-06-12 20:19:08 +05:30
Christy Jacob 7a4898fadd chore: add logs to deletes worker 2023-06-12 19:01:43 +05:30
Christy Jacob a9e2eca8a4
Merge pull request #5683 from appwrite/master
Update 1.4.x from Master
2023-06-12 13:20:26 +05:30
Steven Nguyen b3c9a34e5e
Make users searchable by label 2023-06-09 10:19:57 -07:00
Steven Nguyen 8400394857
Add an endpoint to update user labels 2023-06-09 10:18:51 -07:00
Jake Barnby ed2c1139a7
Update messages 2023-06-09 13:03:19 +12:00
Christy Jacob 845fd7ba68 fix: missing import 2023-06-07 15:13:57 +05:30
Jake Barnby b7f4f57521
Add new error message to differentiate between missing data and missing data + permissions for document updates 2023-06-07 13:51:24 +12:00
Damodar Lohani 3469c7ad2f fix word wrap issue 2023-06-07 01:03:12 +00:00
Christy Jacob 00453dd9c2
Merge pull request #5630 from appwrite/project-creation-patch
Extract db from list while backing
2023-06-06 18:33:43 +05:30
Christy Jacob 8fdb9e6592
Update app/controllers/api/projects.php 2023-06-06 17:51:42 +05:30
Christy Jacob 5c6cbbe370 chore: review comments 2023-06-06 12:11:50 +00:00
Christy Jacob 9f02ed700d feat: update db backups schedule 2023-06-06 12:09:14 +00:00
Christy Jacob afdad2e0ef
Merge pull request #5638 from appwrite/cache-perm-fix
cache perm fix
2023-06-06 16:42:37 +05:30
Damodar Lohani 09b842fc36 add doctype 2023-06-06 05:58:33 +00:00
Damodar Lohani 0083de9c61 fixes 2023-06-06 05:04:41 +00:00
Damodar Lohani bbf77dcb9a refactored email template 2023-06-06 04:50:15 +00:00
Steven Nguyen 85a40bf82d
Add a new labels attribute to the Users collection
This labels attribute can be used apply labels to users. These labels
can eventually be used:

* with permissions to grant access
* to filter users in the Users collection
2023-06-05 14:12:28 -07:00
Steven Nguyen f7f14695f0
Don't default to console project
Defaulting to the console project leads to misleading error messages.
For example, you can get a CORS error saying you haven't configured
a platform yet, but the actual error is missing project ID.
2023-06-05 09:06:29 -07:00
Damodar Lohani f373d30a45 formatting 2023-06-05 07:11:53 +00:00
Christy Jacob c696b7264b
Merge pull request #5649 from appwrite/1.3.x
Sync master with 1.3.x
2023-06-04 00:43:03 +05:30
Christy Jacob 596998000b chore: update console 2023-06-03 20:15:40 +05:30
Christy Jacob 329b6b93bf chore: update changelog 2023-06-03 20:11:01 +05:30
Christy Jacob 8b01c61de3 chore: update utopia-php/framework 2023-06-03 20:06:17 +05:30
Steven Nguyen 092f0cfcaf Fix the routing for the default OAuth2 pages 2023-06-03 20:05:45 +05:30
Steven Nguyen e87e2fc16d Fix the routing for the default OAuth2 pages 2023-06-03 14:16:47 +05:30
Christy Jacob 73f410cc60
Merge pull request #5640 from appwrite/fix-oauth-routes 2023-06-03 12:51:41 +05:30
Steven Nguyen bd6b0dcc43
Fix the routing for the default OAuth2 pages 2023-06-02 14:22:28 -07:00
Eldad A. Fux 994524b7a1
Merge pull request #5621 from appwrite/fix-4975-update-email-phone-without-password
Allow Updating email and phone without password
2023-06-02 19:09:02 +03:00
Shimon Newman 73ac9f796d
cache perm fix 2023-06-02 17:56:09 +03:00
shimon d7733dde01 minor cache authorization fix rollback 2023-06-02 17:52:19 +03:00
shimon 931b6fa385 minor cache authorization fix 2023-06-02 17:44:24 +03:00
Torsten Dittmann 223663aa89
Merge pull request #5637 from appwrite/1.3.x
sync 1.3.x
2023-06-02 16:30:55 +02:00
shimon 6a9011af72 minor changes 2023-06-02 17:14:10 +03:00
shimon 5c9ad6fddd minor changes 2023-06-02 17:01:15 +03:00
shimon f5c4e4cd8a minor changes 2023-06-02 16:52:38 +03:00
shimon 9a071df378 minor changes 2023-06-02 16:23:21 +03:00
Torsten Dittmann 21b41c475d chore: prepre 1.3.6 2023-06-02 15:21:05 +02:00
Torsten Dittmann a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02:00
Christy Jacob b68f601240
Merge pull request #5620 from appwrite/fix-system-performance
Fix system performance
2023-06-02 18:00:50 +05:30
Christy Jacob 36f1791a92 chore: linter 2023-06-02 17:59:20 +05:30
Christy Jacob fac4b6f600 fix: update console 2023-06-02 17:20:08 +05:30
Christy Jacob 23e6c1adf6 feat: remove unused orderBy, skip executing recursive functions 2023-06-02 17:19:00 +05:30
Torsten Dittmann 55ba25ad83 fix: trailing wildcards 2023-06-02 13:18:34 +02:00
Christy Jacob 8bc547e825
Merge pull request #5590 from appwrite/feat-improve-logging
Feat: Improve logging
2023-06-02 16:29:56 +05:30
Prateek Banga 1475497ffb Merge branch 'master' of https://github.com/fanatic75/appwrite into fix-4846-added-expiry-value-to-account-sessions 2023-06-02 14:53:26 +05:30
shimon 071b2e5826 Extract db from list while backing 2023-06-02 11:06:35 +03:00
shimon ea8804fd52 Extract db from list while backing 2023-06-02 08:10:03 +03:00
Damodar Lohani f2737cd663 update latest specs 2023-06-01 05:47:23 +00:00
Damodar Lohani ed01b5abe3 update file name 2023-06-01 05:44:19 +00:00
Steven Nguyen 02cd8720f7
Don't clear cache on startup 2023-05-31 14:06:25 -07:00
Steven Nguyen 5afc49784e
Update the Update Phone API to also set the password
This is to ensure the behavior matches the Update Email endpoint.
2023-05-31 13:52:05 -07:00
Damodar Lohani 5f93767ace update spec 2023-05-31 08:24:25 +00:00
Damodar Lohani 62bbace433 fix name 2023-05-31 08:20:45 +00:00
Steven Nguyen 5ef3162cee
Don't rely on isAnonymousUser to check whether to verify password
It's possible for a user to not be anonymous and not have a password.
Using passwordUpdate is a better indicator as to whether the user has
set a password or not.
2023-05-30 17:17:20 -07:00
Steven Nguyen 7dec6c7321
Fix 500 error when a passwordless user creates an email session 2023-05-30 16:59:55 -07:00
Christy Jacob 44fd41d2ea Merge branch 'master' of https://github.com/appwrite/appwrite into 1.3.x 2023-05-30 16:58:22 +00:00
Christy Jacob a3474f8a3b feat: prepare 1.3.5 release 2023-05-30 16:15:13 +00:00
Jake Barnby e44e4e7766
Merge pull request #5603 from appwrite/hotfix-route-mismatch
Update framework to fix route mismatches
2023-05-30 23:33:17 +12:00
Jake Barnby d2bfe46fca
Set min length to 0 for default value when creating or updating a string attribute
(cherry picked from commit c61e54f69b)
2023-05-30 19:42:13 +12:00
Jake Barnby fad53d3e89
Fix visibility
(cherry picked from commit b092405b04)
(cherry picked from commit 3dd67cb17f)
2023-05-30 19:00:50 +12:00
Jake Barnby 3dd67cb17f
Fix visibility
(cherry picked from commit b092405b04)
2023-05-30 18:29:13 +12:00
Jake Barnby c61e54f69b
Set min length to 0 for default value when creating or updating a string attribute 2023-05-30 14:52:59 +12:00
Jake Barnby f45905e545
Merge pull request #5553 from 2002Bishwajeet/feat-add-enable-param-db
Feat: Add enable param in Database and Collection
2023-05-29 20:35:33 +12:00
Matej Bačo 4ec8f69da6 Improve logging 2023-05-27 13:56:26 +02:00
Bishwajeet Parhi 68c56daba1 add extra check for admin modes 2023-05-26 17:08:09 +05:30
Christy Jacob 075ed65a2f
Merge pull request #5572 from appwrite/feat-update-project-creation
Feat update project creation
2023-05-25 22:50:24 +05:30
Christy Jacob 9ff96a79d1
Merge pull request #5573 from appwrite/fix-delete-account
Fix delete account
2023-05-25 22:49:50 +05:30
Damodar Lohani 237658f4e8 fix param 2023-05-25 05:33:06 +00:00
Damodar Lohani 6813d53e06 remove password required for project deletion 2023-05-25 00:32:49 +00:00
Christy Jacob 54ad50bd4b feat: review comments 2023-05-24 20:07:31 +00:00
Matej Bačo 3614cb384a Fix error logging 2023-05-24 21:07:41 +02:00
Matej Bačo 0244154017 Apply new structure of logs 2023-05-24 20:14:58 +02:00
Bishwajeet Parhi 2873918cc5 Update databases.php
fix: tests
2023-05-24 22:56:58 +05:30
Bishwajeet Parhi e496419572 remove formatting updates 2023-05-24 22:24:57 +05:30
Matej Bačo b81e9ffd47 Fix format 2023-05-24 18:32:03 +02:00
Matej Bačo 1762c4f491 Improve logs 2023-05-24 18:29:23 +02:00
Bishwajeet Parhi 6fc176d508 chore: add admin mode assertion for create collection 2023-05-24 17:58:40 +05:30
Bishwajeet Parhi 4706e6580d chore: add new checks 2023-05-24 15:39:08 +05:30
Steven Nguyen 9d13d72c71
Update the Update Account Status API to clear the cookie
After a user updates their status, their session no longer works
however, the cookie may still exist in their browser, preventing other
API calls from completing successfully.
2023-05-23 10:40:31 -07:00