1
0
Fork 0
mirror of synced 2024-08-19 04:01:38 +12:00
Commit graph

4083 commits

Author SHA1 Message Date
Steven Nguyen
8400394857
Add an endpoint to update user labels 2023-06-09 10:18:51 -07:00
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
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
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
Torsten Dittmann
223663aa89
Merge pull request #5637 from appwrite/1.3.x
sync 1.3.x
2023-06-02 16:30:55 +02:00
Torsten Dittmann
a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02:00
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
Damodar Lohani
ed01b5abe3 update file name 2023-06-01 05:44:19 +00: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
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
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
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
Bishwajeet Parhi
68c56daba1 add extra check for admin modes 2023-05-26 17:08:09 +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
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
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
Damodar Lohani
5a9f83c43d validate smtp configuration 2023-05-23 05:09:17 +00:00
Eldad A. Fux
b86ce2d233
Merge pull request #5561 from appwrite/fix-delete-account
Update the Update Account Status API to clear the cookie
2023-05-22 23:06:02 +03:00
Prateek Banga
977279b679 fix: expire format for get session api 2023-05-22 18:34:51 +05:30
Prateek Banga
249bec5124 fixed expire format for phone session, anonymous session, oauth session 2023-05-22 18:18:52 +05:30
Prateek Banga
8673df4ac5 fix: expire format in magic url sessions 2023-05-22 17:52:25 +05:30
Prateek Banga
19a3db69f8 fix updated expire format to iso format 2023-05-20 21:09:48 +05:30
Prateek Banga
5cb9cc9dfd fix expire field in list account sessions api 2023-05-20 02:36:45 +05:30
Steven Nguyen
9961609d71
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-19 11:58:17 -07:00
Christy Jacob
d630d8772b
Merge pull request #5460 from appwrite/fix-create-project-error
fix: throw correct exception when project ID already exists
2023-05-19 22:48:02 +05:30
Bishwajeet Parhi
c2a13b079e chore: lowercase 2023-05-19 12:54:07 +05:30
Bishwajeet Parhi
40f70faa89 Feat: Add enable param in Database and Collection 2023-05-18 18:55:22 +05:30
Damodar Lohani
ab28f08480 fix default template sender name 2023-05-17 08:25:24 +00:00
fogelito
aae6b932d3 remove unnecessary hint 2023-05-16 17:49:12 +03:00
fogelito
f6153b7626 Use array instead of variadic 2023-05-16 15:56:20 +03:00
Damodar Lohani
6be37d1ae4 code organization 2023-05-11 06:56:16 +00:00
Damodar Lohani
f70712865e refactor 2023-05-11 06:52:27 +00:00
Eldad A. Fux
18039f5ba1
Merge pull request #5257 from appwrite/feat-pause-project
[FEAT] Enable/Disable all services
2023-05-11 07:00:04 +01:00
Damodar Lohani
b1cf55db6e fix formatting 2023-05-11 01:43:26 +00:00
fogelito
d55dc7a5b2 Merge branch 'master' of github.com:appwrite/appwrite into validator-mv 2023-05-07 12:23:02 +03:00
Damodar Lohani
fc36120a51
get file hash before encryption and compression 2023-05-07 11:33:27 +05:45
Torsten Dittmann
67ad856490
Merge pull request #5497 from appwrite/fix-bucket-permissions
Fix bucket permissions
2023-05-04 19:32:44 +02:00
Christy Jacob
60f51580a7
Merge pull request #5246 from singhbhaskar/fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled
Fix: Updated error when _APP_USAGE_STATS is disabled
2023-05-04 20:47:50 +05:30
Damodar
3da853af2e fix email template issue 2023-05-04 07:33:17 +00:00
Steven Nguyen
4dd6a7977e
Update create and update bucket APIs
Ensure the permissions and document security are updated in the
metadata collection.
2023-05-03 12:15:37 -07:00
fogelito
c51d4b386b Merge branch 'master' of github.com:appwrite/appwrite into validator-mv
 Conflicts:
	composer.json
	composer.lock
2023-05-03 14:56:03 +03:00
fogelito
5be5a7dd0e Empty queries fixes 2023-05-03 14:53:40 +03:00
Bhaskar Singh
a4299a69ef Refactored the condition for strict inequality 2023-05-02 23:47:50 +05:30
Jake Barnby
2eafda4ee2
Fix update document merging existing data after pre-processing instead of before 2023-05-02 19:53:11 +12:00
Damodar Lohani
13a2dfa5cd method to update project team 2023-05-02 06:59:17 +00:00
fogelito
5e4ff01568 getByType 2023-05-01 12:18:50 +03:00
Christy Jacob
3451d3d800 chore: linter 2023-04-29 12:44:07 +05:30
Christy Jacob
ac004acbc8 fix: throw correct exception when project custom ID already exists 2023-04-29 12:41:17 +05:30
Damodar Lohani
616dee24d7 replace template variables with values 2023-04-28 07:30:27 +00:00
Damodar Lohani
b1bbc9dfbd Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-28 07:11:17 +00:00
Torsten Dittmann
e1cf068652 fix: platforms query 2023-04-27 17:36:00 +02:00
Bhaskar Singh
7064f884aa Refactor usage init hook to remove unecessary
inject
2023-04-27 19:32:05 +05:30
fogelito
36dee1f345 Alias change 2023-04-27 15:10:07 +03:00
fogelito
9e5af4c046 Alias change 2023-04-27 15:01:40 +03:00
fogelito
0460b59cdc Namespace Changes 2023-04-27 14:59:05 +03:00
Damodar Lohani
edbc52403a update so that current SDK don't fail 2023-04-27 09:29:39 +00:00
fogelito
e631453e3b documents name changes 2023-04-27 09:59:55 +03:00
Christy Jacob
d5fb9ab9a6 Merge branch 'master' of https://github.com/appwrite/appwrite into add-console-headers 2023-04-26 03:37:39 +00:00
fogelito
9dcf4c0984 validations changes 2023-04-25 14:35:49 +03:00
Bhaskar Singh
3865f48d32 Moved check for _APP_USAGE_STATS
to create init hook for App
2023-04-21 23:09:01 +05:30
Steven Nguyen
3f72b738fa
Fix related creates 2023-04-20 18:44:53 -07:00
Steven Nguyen
e8dee9296c
Fix update document not merging existing data 2023-04-20 10:10:51 -07:00
Steven Nguyen
4113ae7ca5
Allow updating document with read-only relationship
A user should be able to update a document without touching the
relationship.

Relates: https://github.com/appwrite/appwrite/issues/5404
2023-04-19 17:21:41 -07:00
Steven Nguyen
37afb82d1c
Delegate permissions check to database layer 2023-04-19 17:21:41 -07:00
Steven Nguyen
611dd9b86c
Return 404 if a user doesn't have access to a collection
It is better to return 404 so that an end user doesn't know if the
collection actually exists but they don't have access or they really
don't have access.
2023-04-19 17:21:41 -07:00
Steven Nguyen
50bb69290f
Ensure collections are created with permissions and documentSecurity 2023-04-19 17:21:41 -07:00
Damodar Lohani
ac9f434c85 more fixes and reset endpoints 2023-04-19 08:44:22 +00:00
Damodar Lohani
0177ddccb3 use custom templates to send email when enabled 2023-04-19 08:29:29 +00:00
Damodar Lohani
b13800386d fix mock for upload changes 2023-04-19 06:15:24 +00:00
Damodar Lohani
518b45827f content-range end should be 1 less than file size 2023-04-19 02:17:26 +00:00
Damodar Lohani
07ebb3fae5 fix validator 2023-04-18 07:15:51 +00:00
Damodar Lohani
4719970c93 fix locale 2023-04-18 05:31:18 +00:00
Damodar Lohani
53a9de477b fix spec 2023-04-18 02:11:08 +00:00
Damodar Lohani
8fcb199af0 remove var dump 2023-04-17 08:58:05 +00:00
Damodar Lohani
0b2ccf7a2a fix missing argument 2023-04-17 08:53:52 +00:00
Damodar Lohani
16695a4b6d fix errors 2023-04-17 08:04:52 +00:00
Damodar Lohani
591fd9d734 generate specs 2023-04-17 02:33:50 +00:00
Damodar Lohani
95054434d8 update locale validator 2023-04-17 02:28:49 +00:00
Damodar Lohani
f79c41a132 fix naming and add doc 2023-04-17 02:21:24 +00:00
Damodar Lohani
7419867078 new locale codes endpoint 2023-04-17 02:10:17 +00:00
Jake Barnby
0dea80c9da
Cache whether relation is a list 2023-04-14 22:03:16 +12:00
Jake Barnby
975b044de0
Iterate relation by reference on update 2023-04-13 16:08:53 +12:00
Jake Barnby
c7317b0468
Fix auto-setting custom ID on nested documents 2023-04-13 15:59:57 +12:00
Damodar Lohani
d394715b56 Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-13 01:35:56 +00:00
Torsten Dittmann
7f377f8d32
Merge pull request #5355 from appwrite/fix-relationship-attr-link
Fix link in Learn more about relationship attributes
2023-04-12 19:00:17 +02:00
Torsten Dittmann
34d27fb4d0 fix: prefs for teams 2023-04-12 18:03:08 +02:00
Torsten Dittmann
52d7dcf082 fix: update prefs endpoints to not fallback to stdClass 2023-04-12 18:02:43 +02:00
Vincent (Wen Yu) Ge
f952d57c88 Fix link in storage specs 2023-04-12 11:27:56 -04:00