Commit Graph

4120 Commits

Author SHA1 Message Date
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
Matej Bačo 5782f7b8c6 Add OG image render logic 2023-04-19 09:25:05 +02: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
Christy Jacob 0fb34433b9 feat: personal data filters to enhance password protection 2023-04-14 00:20:03 +04:00
Christy Jacob 8a5a3db082 Merge branch 'master' of github.com:appwrite/appwrite into disallow-personal-data 2023-04-13 12:55:49 +04: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
Christy Jacob 9ca700f04a Merge branch 'master' of github.com:appwrite/appwrite into disallow-personal-data 2023-04-12 15:12:06 +04:00
Christy Jacob 8690c57a7c feat: initial commit 2023-04-12 03:01:50 +04:00
Jake Barnby d86d604624 Reviews fixes 2023-04-12 03:32:14 +12:00
Jake Barnby f869252d90 Remove redundant import 2023-04-12 03:00:09 +12:00
Jake Barnby 7fe14ca10b Merge remote-tracking branch 'origin/master' into sync-master
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/console
#	app/controllers/api/storage.php
#	composer.lock
2023-04-12 00:50:31 +12:00
Jake Barnby 5cbb08d6f1 Fix response model types for update password + update status 2023-04-11 20:41:24 +12:00
Jake Barnby f00bd7dac7 Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# Conflicts:
#	composer.lock
2023-04-11 17:25:26 +12:00
Jake Barnby 7f8f34793e Merge remote-tracking branch 'origin/1.3.x' into doc-db-relationships
# Conflicts:
#	composer.lock
2023-04-11 15:57:35 +12:00
Jake Barnby 5485346b5e Fail validation on nested attribute query 2023-04-11 15:40:14 +12:00
Vincent (Wen Yu) Ge 6e9e6aa6b3 relink to inputfile docs 2023-04-10 22:18:07 +00:00
Jake Barnby e123188b0a Fix list document total 2023-04-10 20:51:38 +12:00
Jake Barnby d44f69df09 Delete collection relationships from deletes worker 2023-04-06 15:40:39 +12:00
Jake Barnby deb2751cbf Fix copy error 2023-04-06 02:57:37 +12:00
Jake Barnby b252fe847f Add custom delete restricted error 2023-04-06 00:54:44 +12:00
Jake Barnby 1bf15a7cc2 Update database + console 2023-04-05 20:13:51 +12:00
Jake Barnby 599a0d0781 Catch, clear cache and re-throw for unhandled exceptions on attribute create 2023-04-05 18:48:57 +12:00
Jake Barnby 4624241d32 Update app/controllers/api/databases.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-04-05 18:19:40 +12:00
Jake Barnby 2153f65893 Update app/controllers/api/databases.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-04-05 18:19:25 +12:00
Damodar Lohani ce83c4d3d3 fix format 2023-04-05 05:52:59 +00:00
Damodar Lohani adcfecfa0e remove paused and introduce enable-disable all services 2023-04-05 02:33:38 +00:00
Jake Barnby ed8911e0a6 Remap internal attributes when updating existing document 2023-04-03 22:45:10 +12:00
Jake Barnby 6aba92bf8b Add missing instanceof checks 2023-04-03 22:39:31 +12:00
Jake Barnby 460d52f948 Add unique ID when no ID passed for nested documents 2023-04-03 20:21:28 +12:00