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

2718 commits

Author SHA1 Message Date
Jake Barnby d46f3092e5
Remove redis and unused imports 2023-04-12 00:04:53 +12:00
Jake Barnby a2cb3c135f
Fix migration of floats 2023-04-11 23:42:06 +12:00
Jake Barnby 0f1c1fda9e
Quote attribute name 2023-04-11 22:30:45 +12:00
Jake Barnby c60d7764e4
Fix cache key 2023-04-11 22:27:49 +12:00
Jake Barnby 28a9a373b1
Fix binding 2023-04-11 22:27:29 +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 58ba41a9c5
Make password, hash and hashOptions optional so that they are optional in SDKs, and nulled when returning from the account service 2023-04-11 19:36:14 +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
Jake Barnby a91ee7e80f
Apply suggestions from code review
Co-authored-by: Vincent (Wen Yu) Ge <vincent@appwrite.io>
2023-04-10 15:05:58 +12:00
Damodar Lohani b1778ff599 rename 2023-04-10 01:03:48 +00:00
Jake Barnby b252fe847f
Add custom delete restricted error 2023-04-06 00:54:44 +12:00
Torsten Dittmann bd7d28f7d1
fix: steven review 2023-03-31 22:48:34 +02:00
Torsten Dittmann 3860602697 feat: console service 2023-03-31 17:14:59 +02:00
Jake Barnby eb8258d548
Fix tests 2023-03-31 21:29:02 +13:00
Jake Barnby bd64ace713
Allow int for float filter queries 2023-03-30 21:02:33 +13:00
Jake Barnby 39acf18bc3
Handle document arrays when filtering documents 2023-03-30 20:54:45 +13: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
Rinku Hasija f5c7568287 fix-models-attributeDatetime-object-example
Signed-off-by: Rinku Hasija <rishabhasija5454@gmail.com>
2023-03-25 17:32:46 +05:30
Jake Barnby 79c8ed3ce4
Remove $collection and $internalId for nested documents 2023-03-25 17:11:19 +13:00
Jake Barnby 07c383e17a
Review updates 2023-03-25 16:36:20 +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 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
Torsten Dittmann b8b6ac75fc
Merge pull request #5196 from appwrite/feat-team-prefs
feat: team preferences
2023-03-24 12:33:55 +01:00
Jake Barnby daa5c7e59f
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# Conflicts:
#	composer.json
#	composer.lock
2023-03-24 23:50:26 +13:00
Jake Barnby c65800b3a3
Merge remote-tracking branch 'origin/1.3.x' into feat-remove-limits
# Conflicts:
#	composer.json
#	composer.lock
2023-03-24 21:03:18 +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 b6cfe43681
Clean up 2023-03-24 16:46:02 +13:00
Jake Barnby 947ad20bad
Pass attribute to select validator 2023-03-24 16:44:28 +13:00
fogelito 969cff5e41 New Queries Activation 2023-03-23 16:08:38 +02: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
Jake Barnby c18af032ae
Remove redundant model attributes 2023-03-23 18:20:15 +13:00
Jake Barnby 035180c4da
Allow other filter query types 2023-03-23 18:09:38 +13: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 2b1e35659c
Merge remote-tracking branch 'origin/1.3.x' into feat-remove-limits
# Conflicts:
#	composer.json
#	composer.lock
2023-03-23 15:08:35 +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
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
fogelito a5f3af62bd Extract model options 2023-03-20 13:20:24 +02: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
Damodar Lohani c094a40a53
Update Migration.php 2023-03-17 07:09:50 +05:45
Damodar Lohani 6e4592dab4
Update migration V18.php 2023-03-17 07:08:47 +05:45
Damodar Lohani 787a41a52d added migration 2023-03-17 01:21:46 +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 6306ec59ba Model relationship 2023-03-14 10:32:49 +02: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 2f1dda891b fix: specs generation for nullable params 2023-03-13 15:54:49 +05:30
Damodar Lohani 16c708cd74 linter fix 2023-03-13 09:33:51 +00: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
Damodar Lohani 68aed2c691 update getter and setter 2023-03-13 06:23:23 +00:00
fogelito ca3efdf562 create relation 2023-03-12 16:04:18 +02:00
Damodar Lohani 3b900c5dfb get and set SMTP config in mail event 2023-03-12 02:12:09 +00:00
Torsten Dittmann 2178bfc126 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-database-update-attribute 2023-03-10 18:39:11 +05:30
Torsten Dittmann 7b1853eb96 feat: graphql support 2023-03-10 18:36:46 +05:30
Damodar Lohani 1d3e0c19f8 error fixes 2023-03-10 11:04:11 +00:00
Torsten Dittmann cb065e4228 fix: openapi specification 2023-03-10 15:36:10 +05:30
Damodar Lohani 83891f96eb response models 2023-03-10 06:27:30 +00:00
Torsten Dittmann 01edc57806 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs 2023-03-09 16:04:20 +05:30
Damodar Lohani 1fb492ff47 project model update 2023-03-09 01:59:17 +00:00
Bhaskar Singh 7f3000439a Updated ENV_VARIABLE_INCORRECT_SETUP to DOMAIN_VARIABLE_INCORRECT 2023-03-08 17:15:55 +05:30
Steven Nguyen 85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Torsten Dittmann 496da61cd9 feat: team preferences 2023-03-06 19:54:02 +05:30
Bhaskar Singh eaf31fdb78 Updated the error to 501 error code for custom
domain when _APP_DOMAIN and _APP_DOMAIN_TARGET is setup incorrectly
2023-03-05 14:35:47 +05:30
Torsten Dittmann bfd23665cb fix: graphql 2023-03-01 18:13:34 +05:30
Jake Barnby d2c55afdcf
Merge pull request #5145 from appwrite/feat-remove-index-requirements
Remove indexed attribute query requirement
2023-03-01 21:42:29 +13:00
Torsten Dittmann ae32536be2 Merge branch 'master' of https://github.com/appwrite/appwrite into chore-release-1-3-console-sdk 2023-02-28 14:45:34 +05:30
Jake Barnby c06b38773c
Merge remote-tracking branch 'origin/1.3.x' into feat-db-update-migrations
# Conflicts:
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Migration/Version/V18.php
2023-02-28 16:59:14 +13:00
Torsten Dittmann ec7e28b3e7 fix: databases update attributes events 2023-02-26 21:14:22 +05:30
Torsten Dittmann 8ae974e6dd feat: database update attribute endpoints 2023-02-26 18:03:18 +05:30
Steven Nguyen 6bdd3906c9
Update specs generator to include offline metadata 2023-02-21 14:50:17 -08:00
Damodar Lohani 6b6f9edbd6
Merge branch '1.3.x' into feat-13x-master-sync 2023-02-21 07:38:46 +05:45
Jake Barnby 6635ebf27f
Remove indexed attribute query requirement 2023-02-20 19:29:25 +13:00
Jake Barnby 94c58c367b
Add back configurable limit for offset/limit 2023-02-20 19:18:19 +13:00
Damodar Lohani 9f3e815167
Merge branch 'feat-password-history' into feat-password-dictionary 2023-02-20 07:56:17 +05:45
Damodar Lohani 452ee5c086 update dictonary validator 2023-02-20 01:34:05 +00:00
Torsten Dittmann 244c4e1795 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.2.x 2023-02-15 17:54:23 +01:00
Jake Barnby d543705a54
Migration for database update 2023-02-15 20:35:24 +13:00
Jake Barnby f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
Steven Nguyen 7790079bb2
Bump version to 1.2.1 2023-02-13 15:55:54 -08:00
Steven Nguyen e90e007da1
Merge branch 'master' into release-1.2.1 2023-02-13 15:46:30 -08:00
Torsten Dittmann 3abb0013e7
Merge pull request #5089 from appwrite/fix-validator-origin
Fix validating origin for apple platforms
2023-02-07 19:28:05 +01:00
Jake Barnby e2a58dfade
Fix validating origin for apple platforms
(cherry picked from commit 702472a8c77717619d477801a52d6038daa30da1)
2023-02-07 19:39:07 +13:00
Damodar Lohani 9e4f66cac4 update migration 2023-01-31 06:52:40 +00:00
Damodar Lohani 45bc0f4066 fix migration 2023-01-31 06:51:43 +00:00
Damodar Lohani 8149405207 exception constant not needed 2023-01-30 06:08:56 +00:00
Damodar Lohani f15dd063fd
Update src/Appwrite/Migration/Version/V18.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2023-01-29 15:11:42 +05:45
Torsten Dittmann 24a7caf936 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-4803-flutter-web-platform-type 2023-01-27 13:24:41 +01:00
Christy Jacob c56f8277c9
Merge pull request #4984 from appwrite/fix-project-delete
Fix deletes worker not deleting project database tables
2023-01-27 13:45:07 +05:30
Christy Jacob 54f4bef67a
Merge pull request #5004 from appwrite/feat-remove-validators
Replace Appwrite Validators with backported Utopia ones
2023-01-26 16:03:06 +05:30
Christy Jacob 860542deae
Merge pull request #4669 from eltociear/patch-2
Fix typo in Model/Locale.php
2023-01-26 16:01:31 +05:30
Christy Jacob 7c2c68c5ec
Merge pull request #4988 from appwrite/fix-storage-device-case
Convert _APP_STORAGE_DEVICE env var to lowercase
2023-01-26 15:24:26 +05:30
Steven e14f4404e0
Merge branch 'master' into feat-4803-flutter-web-platform-type 2023-01-20 12:04:58 -08:00
Christy Jacob 0a98ad6042 Merge branch 'master' of https://github.com/appwrite/appwrite into fix-4446-updated-timestamp-format-to-ISO-in-realtime-payload 2023-01-20 09:51:19 +00:00
Bradley Schofield 4cc135e8e2
Merge branch 'master' into fix-test-warnings 2023-01-17 10:16:53 +00:00
Damodar Lohani 309d67066e Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary 2023-01-16 09:55:12 +00:00
Damodar Lohani 7f3a2dcce7 fix model 2023-01-16 09:46:53 +00:00
fogelito c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
Damodar Lohani aefe59a437 Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary 2023-01-16 06:42:16 +00:00
Damodar Lohani 92e020b209 fix migration name 2023-01-16 06:41:44 +00:00
Damodar Lohani 4f35353289 Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary 2023-01-16 05:09:55 +00:00
Damodar Lohani 16b80e1ef8 new migration 2023-01-16 05:04:35 +00:00
Damodar Lohani fe472e5b36 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-password-history 2023-01-16 05:04:13 +00:00
Bradley Schofield f5715f4df8 Update Spec generator 2023-01-13 15:43:57 +00:00
Bradley Schofield 7910149053 Remove tests and update other references to old validators 2023-01-13 15:42:29 +00:00
Bradley Schofield 31b718d829 Replace Appwrite Validators with backported Utopia ones
+ Updated Utopia Framework to 0.26.0
+ Replaced Appwrite Validators with Utopia ones
2023-01-13 15:28:04 +00:00
Steven cb9b94ff04
Update Platform Model type property description
Co-authored-by: Ian Koerich Maciel <ianmaciel@gmail.com>
2023-01-12 11:33:29 -08:00
Jake Barnby 004bb82688
Fix functions + builds not deleted 2023-01-12 22:42:07 +13:00
Jake Barnby d49de9c6cf
Use getProjectDB instead of new function 2023-01-12 22:27:20 +13:00
Christy Jacob a35cf0b4c0
Merge pull request #4991 from appwrite/fix-function-timeout-example
Function default timeout example fix
2023-01-12 13:53:25 +05:30
Eldad A. Fux f0bb8dcc33
Merge pull request #4859 from appwrite/refactor-mails-next
refactor: make mails event and worker general
2023-01-12 09:07:43 +02:00
Steven Nguyen be77b10549
Add flutter-web as a platform type
Having a dedicated type for flutter-web will allow us to differentiate
between Flutter Web and Web in the Appwrite Console.
2023-01-11 15:47:49 -08:00
Vincent (Wen Yu) Ge a1cb81abb6 Function default timeout example to 15s, so it doesn't look like a timestamp. 2023-01-11 21:49:15 +00:00
Steven Nguyen 2b4dbfb4b9
Convert _APP_STORAGE_DEVICE env var to lowercase
This is done for backwards compatibility. Up to utopia-php/storage
version 0.12.X, the devices were not lowercase. Starting 0.13.X, they
are all converted to lowercase, but people would still have the old
case in their .env file. This change makes the value check insensitive
so that the value from older versions still works.
2023-01-11 11:41:26 -08:00
Jake Barnby 4b0ef4598b
Fix deletes worker not deleting project database tables 2023-01-11 19:37:06 +13:00
Matej Bačo 0865b240c4 Fix linter 2022-12-27 20:33:16 +01:00
Matej Bačo 991c6dea64 Fix nested escaping 2022-12-27 20:15:22 +01:00
Eldad A. Fux 8681acfeab
Merge pull request #4912 from appwrite/fix-auth-session-limit-model
Fix: auth session limit model
2022-12-27 16:38:41 +02:00
Matej Bačo 070edcf55a Fix buckets migration 2022-12-27 14:55:32 +01:00
Matej Bačo 02d86cee84 Fix bug and update test 2022-12-27 11:33:38 +01:00
Matej Bačo 7532309bbb
Apply suggestions from code review 2022-12-27 10:31:49 +01:00
Matej Bačo d63c429d3e Implement 1.2 migration 2022-12-27 08:35:55 +01:00
Matej Bačo ccc9432219 Merge branch 'master' into fix-1.2.x-conflicts 2022-12-27 08:29:10 +01:00
Matej Bačo 804dbb867c Re-add migration, add missing env vars 2022-12-27 08:24:34 +01:00
Matej Bačo 4d33ba6db1 Fix big in migration class 2022-12-26 13:16:01 +01:00
Matej Bačo bbe29e9aa7 Preparations for 1.2.0 2022-12-26 13:06:35 +01:00
Damodar Lohani 8927c71b69 fix formatting 2022-12-26 10:34:41 +00:00
Damodar Lohani 0760ea90d6 use dictionary validator 2022-12-26 10:22:49 +00:00
Damodar Lohani 87b3df919f clear cache after migration 2022-12-26 08:20:16 +00:00
Damodar Lohani 44082a92f7 fix resonse model 2022-12-26 05:58:16 +00:00
Damodar Lohani 3bcb1f846e password disctionary endpont and project model 2022-12-26 05:31:49 +00:00
Damodar Lohani 1ff8ce2382 check against passwords dictionary 2022-12-26 05:24:26 +00:00
Damodar Lohani eb9e7c737e fixed forgotten break 2022-12-22 04:56:17 +00:00
Damodar Lohani 1388f58b59 fix: formatting 2022-12-21 06:16:36 +00:00
Jake Barnby 2ee9f2607f
Remove redundant code 2022-12-21 19:15:42 +13:00
Damodar Lohani ba5e0b4ae4 bump version 2022-12-21 05:43:10 +00:00
Damodar Lohani 82d20233e2 feat: add migration for password history 2022-12-21 05:41:16 +00:00
Christy Jacob 37ce513b87
Merge pull request #4341 from megatank58/patch-1
fix: correctly handle `=` in .env
2022-12-20 16:32:29 +05:30
Damodar Lohani f72d075c40
Update src/Appwrite/Utopia/Response/Model/Project.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-12-19 10:54:56 +05:45
Damodar Lohani 28ac6c9355 fix validator 2022-12-18 09:37:13 +00:00