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 23cfb694eb spec update 2023-05-02 07:30:01 +00: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
Steven 5d651b9e8a
Update install.php not specify docker-compose.yml file
By not specifying a docker-compose.yml file, docker compose automatically uses the docker-compose.yml file in the project directory and a docker-compose.override.yml file if one is present.
2023-04-30 12:34:55 -07:00
Christy Jacob 33d2e94d1d
Apply suggestions from code review 2023-04-30 01:54:45 +05:30
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
Torsten Dittmann 84c06a8ece
Merge pull request #5456 from appwrite/1.3.x
Sync master with 1.3.x
2023-04-28 21:42:32 +02:00
Steven Nguyen 1e5dc3ad6f
Bump version to 1.3.3 2023-04-28 12:29:46 -07:00
Damodar Lohani 616dee24d7 replace template variables with values 2023-04-28 07:30:27 +00:00
Damodar Lohani ba33dc2b17 generate specs 2023-04-28 07:19:04 +00:00
Damodar Lohani b1bbc9dfbd Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-28 07:11:17 +00:00
Steven Nguyen 206553bac7
Bump sdk-generator and specs 2023-04-27 17:00:12 -07:00
Torsten Dittmann b2c8e182a5
Merge pull request #5442 from appwrite/fix-project-deletion-leftovers
fix: project deletion leftovers
2023-04-27 20:19:09 +02:00
Torsten Dittmann 7529f02bd6 fix: also delete webhooks on project deletion 2023-04-27 17:41:14 +02:00
Torsten Dittmann 31e65d954b fix: deletes worker for projects 2023-04-27 17:37:14 +02: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
Torsten Dittmann d45bc5e60f chore: upgrade console 2023-04-27 15:54:07 +02:00
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
fogelito e631453e3b documents name changes 2023-04-27 09:59:55 +03:00
Torsten Dittmann fb507ad83b
Merge pull request #5432 from appwrite/chore-sync-1-3-x
chore: sync 1.3.x with master
2023-04-26 18:16:21 +02:00
Torsten Dittmann e9e83ae8ec Merge branch 'master' of https://github.com/appwrite/appwrite into chore-sync-1-3-x 2023-04-26 12:30:14 +02:00
Christy Jacob 0e5e3f6f6f
Merge pull request #5362 from appwrite/update-cli
feat: update cli version
2023-04-25 23:49:29 +05:30
Torsten Dittmann 4ceae33a5a
Merge pull request #5163 from yatharth1706/fix-5147-fix-error-description-in-case-of-duplicate-user
fix error description for duplicate user
2023-04-25 15:45:59 +02:00
Christy Jacob 1c4dc6a424
Merge pull request #3696 from appwrite/fix-event-multi-execution
Fix: event multi-execution
2023-04-25 17:31:45 +04:00
fogelito 9dcf4c0984 validations changes 2023-04-25 14:35:49 +03:00
Torsten Dittmann 4ebe485f05 remove: leftover from http.php 2023-04-24 13:11:39 +02:00
Torsten Dittmann 5ee3c592a4 chore: release 1.3.2 2023-04-24 13:10:28 +02:00
Torsten Dittmann ff82a24a4b feat: migration 2023-04-24 13:00:23 +02: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 07ebb3fae5 fix validator 2023-04-18 07:15:51 +00:00
Damodar Lohani 118ddb9101 format fix 2023-04-18 07:14:03 +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
Christy Jacob 62bdc77b93
Merge pull request #5377 from appwrite/fix-function-timeout-desc
Update description for _APP_FUNCTIONS_INACTIVE_THRESHOLD
2023-04-17 22:55:14 +04:00
Vincent (Wen Yu) Ge b6c43e2ccf
Update app/config/variables.php 2023-04-17 14:02:11 -04:00
Damodar Lohani e992814552 use default for missing locales 2023-04-17 09:10:41 +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 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