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

8514 commits

Author SHA1 Message Date
Damodar Lohani 16695a4b6d fix errors 2023-04-17 08:04:52 +00:00
Damodar Lohani 3c9fb3d1e7 more missing locale codes 2023-04-17 05:30:47 +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 377928bf65 generate specs 2023-04-17 02:15:55 +00:00
Damodar Lohani 2522f128ef format 2023-04-17 02:15:46 +00:00
Damodar Lohani 7419867078 new locale codes endpoint 2023-04-17 02:10:17 +00:00
Damodar Lohani fffff197c9 fix codes 2023-04-17 01:26:43 +00:00
Steven Nguyen d41df04b6a
Ensure vars are not lost during upgrade
Using a reference on an array element while iterating over it caused
some unexpected behavior. Instead of using a reference, this change
uses a key to allow us to edit the array element.

For reference on the problem, see https://stackoverflow.com/questions/70691375/foreach-with-reference-causing-arrays-last-element-to-repeat.
2023-04-14 16:18:31 -07:00
Vincent (Wen Yu) Ge 166b446fe7
Update description for _APP_FUNCTIONS_INACTIVE_THRESHOLD 2023-04-14 14:31:22 -04: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
Christy Jacob 0fcfeb50a6 feat: update cli version 2023-04-13 01:48:44 +04:00
Christy Jacob 5d4e0762bb feat: update cli version 2023-04-13 01:33:25 +04:00
Christy Jacob f30d11ed60 feat: update cli version 2023-04-13 01:23:49 +04:00
Torsten Dittmann e5fa4883b2
Merge pull request #5358 from appwrite/1.3.x
1.3.x sync
2023-04-12 19:01:02 +02: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 7ca70b2ab9 Merge branch 'master' of https://github.com/appwrite/appwrite into chore-prepare-1-3-1 2023-04-12 18:51:00 +02:00
Torsten Dittmann 8872d9db17 feat: upgrade to console 2.3.3 2023-04-12 18:23:09 +02:00
Torsten Dittmann d2b2d18134 chore: prepare 1.3.1 release 2023-04-12 18:13:49 +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 07017e0835 Updated specs for storage links 2023-04-12 11:32:25 -04:00
Vincent (Wen Yu) Ge f952d57c88 Fix link in storage specs 2023-04-12 11:27:56 -04:00
Vincent (Wen Yu) Ge c96b32d7b6 Update specs 2023-04-12 11:18:55 -04:00
Jake Barnby 211f1bb117
Update versions 2023-04-12 19:02:36 +12:00
Jake Barnby 979fa36b02
Update versions 2023-04-12 17:59:43 +12:00
Jake Barnby 924b7b90a4
Update specs 2023-04-12 17:09:19 +12:00
Jake Barnby 3c6f8d2326
Skip validation for mock file upload 2023-04-12 14:53:35 +12:00
Torsten Dittmann ed702d0bc1 chore: update to new console 2023-04-11 21:33:48 +02:00
Torsten Dittmann d47b32856b fix: console server duplicate key 2023-04-11 20:57:27 +02:00
Christy Jacob 67be2c10eb feat: update console version 2023-04-11 18:01:37 +00: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 26eaddee82
Update comment 2023-04-12 02:59:45 +12:00
Jake Barnby 71b96452c6
Update platforms 2023-04-12 02:58:59 +12:00
Jake Barnby bafcfcfbb9
Update cache buster 2023-04-12 02:56:48 +12:00
Jake Barnby 07b8f0fe3f
Merge pull request #5339 from appwrite/feat-add-version
Add versioned specs and examples
2023-04-12 01:56:29 +12:00
Jake Barnby 117e416b80
Merge pull request #5334 from appwrite/feat-db-update-migrations
Feat db update migrations
2023-04-12 01:31:25 +12:00
Jake Barnby 6b497a31c8
Add versioned specs and examples 2023-04-12 01:23:29 +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 9a76507185
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations
# Conflicts:
#	CHANGES.md
2023-04-12 00:39:18 +12:00
Torsten Dittmann 700abb3e47 fix: deletes worker deleting projects with console team 2023-04-11 13:49:45 +02:00
Jake Barnby a2cb3c135f
Fix migration of floats 2023-04-11 23:42:06 +12:00
Jake Barnby f6bd9d4150
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations 2023-04-11 22:15:32 +12:00
Jake Barnby 5cbb08d6f1
Fix response model types for update password + update status 2023-04-11 20:41:24 +12:00
Christy Jacob 391e114cdd feat: update docs examples 2023-04-11 08:27:36 +00:00
Christy Jacob 4a314c0a58 Merge branch 'master' of https://github.com/appwrite/appwrite into update-cli-1.2.1 2023-04-11 08:14:52 +00: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 93a994a95d
Update console + database 2023-04-10 21:48:50 +12:00
Jake Barnby e123188b0a
Fix list document total 2023-04-10 20:51:38 +12:00
Steven 577ba9b0ec
Fix email-base.tpl path in certificates worker 2023-04-06 13:48:52 -07: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 46444b1456 cleanup 2023-04-05 02:42:55 +00:00
Damodar Lohani adcfecfa0e remove paused and introduce enable-disable all services 2023-04-05 02:33:38 +00:00
Jake Barnby 72f203b365
Update console 2023-04-03 22:49:29 +12: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
Jake Barnby 3d95f7e129
Fix cache invalidation when deleting database 2023-04-03 15:51:44 +12:00
Jake Barnby 3cfbdf07b7
Fix cache invalidation when updating attributes 2023-04-03 15:43:14 +12:00
Torsten Dittmann bd7d28f7d1
fix: steven review 2023-03-31 22:48:34 +02:00
Torsten Dittmann 28758d4794 fix: typo 2023-03-31 18:47:00 +02:00
Torsten Dittmann 42df2435ec fix: sdk.auth for console service 2023-03-31 17:17:30 +02:00
Torsten Dittmann 3860602697 feat: console service 2023-03-31 17:14:59 +02:00
Jake Barnby dd2f980539
Fix worker warning 2023-03-31 23:15:48 +13:00
Jake Barnby fec374fe59
Delete two way relationship attributes on collection delete 2023-03-31 19:56:35 +13:00
Jake Barnby bcf5b4bfab
Update related two way attribute 2023-03-31 18:38:37 +13:00
Jake Barnby 3bbe6d4da8
Disallow updating two-way 2023-03-31 18:19:46 +13:00
Jake Barnby cf122054aa
Update DB and console 2023-03-31 18:07:36 +13:00
Jake Barnby 578d4d1619
Disallow index creation on relationship attributes 2023-03-31 18:06:50 +13:00
Jake Barnby c7201cc417
Remove HTML from API error messages 2023-03-31 18:05:45 +13:00
Jake Barnby 939a0c5591
Add missing instanceof check 2023-03-31 17:56:25 +13:00
Jake Barnby bf4e2df45b
Allow 'unique()' for nested document IDs 2023-03-31 17:33:21 +13:00
fogelito 05d7badd60 Delete related on 2 way 2023-03-30 20:36:24 +03:00
Jake Barnby 07d90aa4c4
Manually add the side to the attributes table 2023-03-30 20:41:18 +13:00
Jake Barnby ed54d9861f
Add back validation for fulltext index on search queries 2023-03-30 19:57:56 +13:00
Jake Barnby 72d090f196
Update console 2023-03-30 13:33:40 +13:00
Jake Barnby 4de45bf9a7
Delete related cache on finally 2023-03-30 13:28:06 +13:00
Jake Barnby a7a3d85bcb
Clear related collection cache 2023-03-30 13:24:44 +13:00
Jake Barnby 9468c238de
Remove conflicts 2023-03-30 13:01:58 +13:00
Jake Barnby 9025f97939
Merge branch 'feat-relations-2' of github.com:appwrite/appwrite into feat-relations-2 2023-03-30 11:39:43 +13:00
fogelito e2d3c95fa6 add relations into attributes collection 2023-03-29 23:37:22 +03:00
fogelito 5aff6969db add relations into attributes collection 2023-03-29 23:31:49 +03:00
Vincent (Wen Yu) Ge 19d5ea03b9 Updates links for query page 2023-03-29 19:38:39 +00:00
Jake Barnby bfc54c4590
Delete original attribute if two-way attribute creation fails 2023-03-29 20:28:59 +13:00
Jake Barnby 161eb0b66f
Create two-way attribute on related collection 2023-03-29 19:26:58 +13:00
Jake Barnby f25bfa805b
Fix more name collisions 2023-03-29 16:30:47 +13:00
Jake Barnby d23a2e2040
Database side permission check for list document count 2023-03-29 16:05:53 +13:00
Jake Barnby 1958cef3d2
Merge remote-tracking branch 'origin/feat-relations-2' into feat-relations-2 2023-03-29 14:43:09 +13:00
Jake Barnby 970ae8d0ad
Reset array keys for list documents 2023-03-29 14:38:43 +13:00
Jake Barnby 96e1440ee6
Fix name collision 2023-03-29 14:37:56 +13:00
Jake Barnby ecaca00463
Force arrays for relation permissions checks 2023-03-29 14:33:53 +13:00
Jake Barnby e80d13076f
Consistent attribute ordering 2023-03-29 13:37:51 +13:00
Jake Barnby 15d1badafb
Update param desc 2023-03-29 13:37:03 +13:00
Jake Barnby ac82726364
Update app/controllers/api/databases.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2023-03-29 13:33:27 +13:00
fogelito 3c9cb0ab80 Strict WhiteList options 2023-03-28 16:24:18 +03:00
Jake Barnby f69d222a5a
Inline permissions checks 2023-03-28 22:02:49 +13:00
Jake Barnby 5f7f44f939
Reduce nesting and handle arrays for nested ID set 2023-03-28 16:10:12 +13:00
Jake Barnby fa64cc33ea
Add missing check for update 2023-03-27 20:08:02 +13:00
Jake Barnby 1cf25199ab
Recurse through nested documents to set collection ID 2023-03-27 19:03:00 +13:00
Jake Barnby 0465fb2268
Lint..? 2023-03-27 15:56:11 +13:00
Jake Barnby 275c6bb3a0
Set databaseId for all nested documents 2023-03-27 15:42:36 +13:00
Jake Barnby 64ee75e80d
Revert "Extract $options on get attributes list"
This reverts commit 0ef6f32a10.
2023-03-27 12:18:47 +13:00
Jake Barnby 9ac08b496b
Merge remote-tracking branch 'origin/feat-relations-2' into feat-relations-2 2023-03-27 12:18:29 +13:00
fogelito 0ef6f32a10 Extract $options on get attributes list 2023-03-26 19:39:26 +03:00
Jake Barnby 07c383e17a
Review updates 2023-03-25 16:36:20 +13:00
Jake Barnby d76d573e7c
Update attribute subquery to flatten relationship attributes 2023-03-25 16:28:07 +13:00
Jake Barnby 0797df8414
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# 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
2023-03-25 15:32:55 +13:00
Bhaskar Singh 01840b3801 Reverting console change from main repo 2023-03-24 21:46:12 +05:30
Bhaskar Singh 700f4f33ed
Merge branch 'appwrite:master' into fix-4960-Database-usage-screen-shows-500-error-when_APP_USAGE_STATS-is-disabled 2023-03-24 21:33:42 +05:30
Jake Barnby 0071b9d885
Generate specs 2023-03-24 20:59:12 +13:00
Jake Barnby 48b018fd9d
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2 2023-03-24 20:53:41 +13:00
Jake Barnby 6cddb38290
Fix for count 2023-03-24 20:30:41 +13:00
Jake Barnby 1885f9e87c
Add graphql tests 2023-03-24 18:08:50 +13:00
Jake Barnby 24d1163703
Fix params 2023-03-24 16:57:56 +13:00
Jake Barnby b6cfe43681
Clean up 2023-03-24 16:46:02 +13:00
fogelito 969cff5e41 New Queries Activation 2023-03-23 16:08:38 +02:00
Torsten Dittmann c1ba898cec feat: rename update team sdk method 2023-03-23 13:04:16 +01:00
Torsten Dittmann 10cd97e978 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs 2023-03-23 13:03:50 +01:00
Torsten Dittmann e8583d9387
Merge pull request #5164 from appwrite/feat-database-update-attribute
feat: database update attribute endpoints
2023-03-23 13:01:05 +01:00
Torsten Dittmann 0fc4d5f49a chore: generate specs 2023-03-23 11:28:15 +01:00
Torsten Dittmann 010481bafc feat: change url for updating attributes 2023-03-23 11:25:40 +01:00
Torsten Dittmann 818d111068 fix: wrong team event descriptions 2023-03-23 10:52:43 +01:00
Jake Barnby 7a089f8861
Use specific document validator for select queries on get document 2023-03-23 17:59:23 +13:00
Jake Barnby 2e44434ab8
Parse queries after validation 2023-03-23 17:55:31 +13:00
Jake Barnby f974477ecc
Use plain param to allow validating against collection attributes 2023-03-23 17:32:44 +13:00
Jake Barnby f9f7af8759
Worker fix 2023-03-23 17:20:08 +13:00
Jake Barnby 0643a94b12
Update signatures 2023-03-23 16:58:41 +13:00
Jake Barnby 5689d47d41
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations
# Conflicts:
#	src/Appwrite/Migration/Version/V18.php
2023-03-23 15:05:35 +13:00
fogelito 60c54e2d10 Select Validator 2023-03-22 23:10:47 +02:00
fogelito 34467de87d Update relationship get Attribute 2023-03-22 18:44:12 +02:00
Christy Jacob 4c52458684 Merge branch 'master' of github.com:appwrite/appwrite into update-cli-1.2.1 2023-03-22 20:34:21 +04:00
fogelito a824b46df0 Update relationship 2023-03-22 17:49:08 +02:00
Damodar Lohani 25d94f0995 hyphen to underscore 2023-03-22 08:47:01 +00:00
Damodar Lohani afe049ec9a fix format 2023-03-22 08:44:18 +00:00
Damodar Lohani a6c515684f locales config 2023-03-22 08:31:24 +00:00
Bhaskar Singh 6324d78a0d Update the console app commit 2023-03-21 21:30:49 +05:30
Bhaskar Singh 5071172b00 Updating the console code 2023-03-21 21:26:22 +05:30
Eldad A. Fux 53dc3a9dee
Merge pull request #5202 from appwrite/fix-cache-flush
Prevent cache from being flushed on start
2023-03-21 17:31:00 +02:00
Bhaskar Singh 8b5e0e1f1a Updating the exception variable name for easy
readability
2023-03-21 20:33:42 +05:30
fogelito e06e890279 query validators ignore nested 2023-03-21 14:32:05 +02:00
Damodar Lohani 1ac91ae022 make nullable 2023-03-21 07:54:06 +00:00
Damodar Lohani b2a51f3ff9 deny API request to paused projects 2023-03-21 06:11:37 +00:00
Damodar Lohani 3bd92187f4 pause project 2023-03-21 01:52:32 +00:00
fogelito a5f3af62bd Extract model options 2023-03-20 13:20:24 +02:00
Shmuel Fogel f7c9e9c650
Update app/workers/databases.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-03-20 11:23:01 +02:00
Torsten Dittmann d59b4d17bb fix: update attribute review 2023-03-20 10:13:23 +01:00
Christy Jacob 232dc7aef7 feat: update console 2023-03-20 07:14:16 +00:00
Christy Jacob 6640c52849 Merge branch 'master' of https://github.com/appwrite/appwrite into update-cli-1.2.1 2023-03-20 06:56:35 +00:00
fogelito eee29940bb Some tests 2023-03-19 19:09:17 +02:00
Bhaskar Singh ac2085ffa8 Updated error when _APP_USAGE_STATS is disabled
for usage
2023-03-18 22:12:36 +05:30
Torsten Dittmann 644832f0b3 fix: mock endpoint for nullable params 2023-03-17 10:31:36 +01:00
Torsten Dittmann 841a8d3fae chore: generate specs 2023-03-17 10:27:56 +01:00
Torsten Dittmann a40dba1b49 tests: add nullable mock endpoint 2023-03-17 10:19:39 +01:00
Damodar Lohani bf02687ea4 fix type and test reset 2023-03-17 06:37:16 +00:00
Damodar Lohani 7764073bdd fix typo 2023-03-17 00:58:21 +00:00
Damodar Lohani 893d305453 fix template issues 2023-03-17 00:55:00 +00:00
fogelito 00c1418246 Update response Model.php 2023-03-16 13:48:27 +02:00
fogelito 79bfa025cb Merge branch 'feat-database-update-attribute' of github.com:appwrite/appwrite into feat-relations-2
 Conflicts:
	app/controllers/api/databases.php
	composer.json
	composer.lock
2023-03-16 12:14:37 +02:00
fogelito 28af0669f6 docker-compose.yml temp mount 2023-03-16 11:11:04 +02:00
fogelito 44de884ee5 convert relatedOptions to options 2023-03-16 09:31:48 +02:00
Torsten Dittmann 348c2d4ffe
Update app/config/events.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-03-15 12:11:46 +01:00
Torsten Dittmann 08d588aeb1 fix: remove unnecessary owner check 2023-03-15 11:55:21 +01:00
Steven Nguyen 137c2d663e
Prevent cache from being flushed on start
We shouldn't clear the cache because scheduled functions are also
in the cache and we don't want to lose them.
2023-03-14 16:09:14 -07:00
fogelito 31fad24603 collections.php 2023-03-14 15:20:56 +02:00
fogelito 40152fbd6c Model relationshipOptions 2023-03-14 15:18:30 +02:00
Damodar Lohani 2552916314 sms template tests 2023-03-14 09:13:43 +00:00
Damodar Lohani c633eda501 return default template 2023-03-14 09:09:34 +00:00
Damodar Lohani c7db44b45f default sms template 2023-03-14 09:07:42 +00:00
fogelito f255484fd4 Model relationship 2023-03-14 10:24:53 +02:00
Damodar Lohani ae549a1e9a tests and fixes 2023-03-14 07:21:56 +00:00
Torsten Dittmann bfdb7830d0 fix: update team prefs endpoint 2023-03-14 04:40:17 +05:30
fogelito adcbb08374 deleteRelationship worker 2023-03-13 17:32:51 +02:00
fogelito 341830b3d7 deleteRelationship worker 2023-03-13 17:19:24 +02:00
fogelito 9c4b269669 update collections.php with options 2023-03-13 12:59:01 +02:00
Torsten Dittmann ea1c0d0a1f chore: generate specs 2023-03-13 15:54:55 +05:30
fogelito b1cc4ada4c relationType 2023-03-13 12:11:38 +02:00
fogelito f5f51c4fc9 Worker $relatedCollection 2023-03-13 11:46:03 +02:00
fogelito 5fc3f5bc3a Worker 2023-03-13 11:34:41 +02:00
Damodar Lohani c649ba897f update response model 2023-03-13 09:33:11 +00:00
Damodar Lohani 82498459db update project smtp using hook 2023-03-13 09:21:16 +00:00
fogelito b6c279b576 add relatedCollectionInternalId 2023-03-13 10:45:54 +02:00
fogelito b116d24486 Document options 2023-03-13 10:33:07 +02:00
fogelito ba6439375c create attribute function 2023-03-13 10:22:01 +02:00
Damodar Lohani d5c8807e26 update types 2023-03-13 01:45:23 +00:00
Damodar Lohani 20ff1b41a9 use custom smtp config 2023-03-13 01:35:30 +00:00