1
0
Fork 0
mirror of synced 2024-07-15 19:36:08 +12:00
Commit graph

4735 commits

Author SHA1 Message Date
Matej Bačo fb1cc1a0cc Cold-start improvements 2023-06-26 10:11:13 +02:00
vaibhavagarwal220 fecde6bdba fixed null $name error for anonymous user 2023-06-24 13:57:02 +05:30
Steven Nguyen 33f5cbeca6
Restrict characters for project ID
Only allow lowercase alphanumeric chars and hyphens
because the project ID is used as part of url
schemes to redirect users back to mobile apps
and certain characters are not allowed.
2023-06-23 16:22:42 -07:00
Matej Bačo 310d56490e Update console 2023-06-23 09:01:51 +02:00
Prateek Banga c4ef7fddc0
Merge branch 'appwrite:master' into fix-4846-added-expiry-value-to-account-sessions 2023-06-23 08:04:38 +05:30
Steven Nguyen 5d385c9a9d
Fix phone verification secret in events & payload
The secret in events & payload should match the secret sent to
messaging.
2023-06-22 17:54:09 -07:00
Steven Nguyen 37ad61933c
Set email & name after OAuth if they're empty
The logic before was incorrect. Really, email and name should only be
set if they're empty.
2023-06-22 17:46:09 -07:00
Christy Jacob 9f2bf844c7
Merge pull request #5580 from appwrite/fix-project-deletion-master
remove password required for project deletion
2023-06-22 22:52:59 +05:30
Matej Bačo cc06a4bdaa log streaming, locking GH comments, execution headers, locale header, redeploy logic 2023-06-22 12:59:41 +02:00
Bishwajeet Parhi e98e1db046 chore: fix trailing comma 2023-06-22 11:55:27 +05:30
Bishwajeet Parhi cb35d2dbbe chore: fix missing nullable required param 2023-06-22 11:53:29 +05:30
Bishwajeet Parhi ee30a3e9f4 chore: refactor tests and param positioning changes 2023-06-22 09:59:09 +05:30
Bishwajeet Parhi 7ce10023c0 chore: add tests and remove encrypt param on url,enum,ip,email 2023-06-21 16:15:00 +05:30
Bishwajeet Parhi 4efd178f40 remove encrypt on non string attributes 2023-06-21 15:22:04 +05:30
Bishwajeet Parhi 3aabaeb8be Merge branch 'master' into feat-add-encrypt-param 2023-06-21 15:12:47 +05:30
Matej Bačo 1b4036078b Improve response models for console 2023-06-18 16:08:53 +02:00
Matej Bačo a174562c4e vcs.createRepository() 2023-06-18 13:38:37 +02:00
Khushboo Verma 860b4fb1c0 WIP: Build from template 2023-06-17 17:43:02 +05:30
Matej Bačo 5237e24739 VCS integration edge cases fix 2023-06-17 12:07:30 +02:00
faisalill 7e8f6f748a fixed incorrect audity activity on document create 2023-06-17 00:20:37 +05:30
Khushboo Verma 41346b017a Modularised duplicate code 2023-06-16 20:13:37 +05:30
Khushboo Verma ab232803d7 Add connect to VCS to createFunction as well 2023-06-16 19:14:36 +05:30
Torsten Dittmann fd154f04d3 fix: abuse phone param 2023-06-16 12:42:24 +02:00
Matej Bačo 53deb68985 Improve performance of listRepositories 2023-06-16 11:07:47 +02:00
Jake Barnby d3e7830620
Update changes 2023-06-16 14:16:19 +12:00
Christy Jacob 72e9ddd3f1
Merge pull request #5708 from appwrite/chore-update-database-config
feat: update database config
2023-06-15 20:57:21 +05:30
Christy Jacob 87aa7ea2f8 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into chore-update-database-config 2023-06-15 14:35:52 +00:00
Christy Jacob 4c68e396c1 feat: update backup time 2023-06-15 14:35:21 +00:00
Christy Jacob 1980b8c677 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into refactor-collections-config-db-pools 2023-06-15 14:30:27 +00:00
Matej Bačo 97581d5836 Add database to log 2023-06-15 13:21:18 +02:00
Matej Bačo 0128e73079 Formatting 2023-06-15 12:38:03 +02:00
Matej Bačo 7d79e4146f Add vcs webhook verification 2023-06-15 12:37:28 +02:00
Jake Barnby 95b06c660a
Add index validator 2023-06-15 17:29:03 +12:00
Damodar Lohani 57411db2d3 upadate to use refactored collections config 2023-06-15 00:34:12 +00:00
Jake Barnby 031f8270ff
Merge remote-tracking branch 'origin/1.4.x' into validator-mv
# Conflicts:
#	composer.lock
2023-06-15 12:28:32 +12:00
Christy Jacob 25e2771fa7 feat: update database config 2023-06-14 19:52:28 +00:00
Matej Bačo c933f8b4c2 Finish log streaming 2023-06-14 10:57:30 +02:00
Khushboo Verma 6604a33e46 Add createRepositoryDetection endpoint 2023-06-14 00:34:22 +05:30
shimon a4e055e21b cache deletion bug fix 2023-06-13 15:03:22 +03:00
Matej Bačo 2c97d73f4b WIP Stream logs 2023-06-13 13:13:02 +02:00
shimon 8645757f28 cache deletion bug fix 2023-06-13 13:41:54 +03:00
shimon 41d207e862 cache deletion bug fix 2023-06-13 11:15:38 +03:00
Matej Bačo 039bfbaf06 WIP: Log streaming 2023-06-13 08:26:36 +02:00
Christy Jacob a9e2eca8a4
Merge pull request #5683 from appwrite/master
Update 1.4.x from Master
2023-06-12 13:20:26 +05:30
Steven Nguyen b3c9a34e5e
Make users searchable by label 2023-06-09 10:19:57 -07:00
Steven Nguyen 8400394857
Add an endpoint to update user labels 2023-06-09 10:18:51 -07:00
Matej Bačo c9ce7e60cf fix vcsRepos deletion 2023-06-09 14:36:33 +02:00
Matej Bačo 0ed2723f00 Fix failing pushes 2023-06-09 13:34:46 +02:00
Matej Bačo 6522d86fa9 Update installation, certificate & repository response models 2023-06-08 17:24:27 +02:00
Matej Bačo 5e221e285f Update naming convention, add new VCS endpoints, support silent mode and rootDirectory 2023-06-07 17:50:32 +02:00
Christy Jacob 845fd7ba68 fix: missing import 2023-06-07 15:13:57 +05:30
Matej Bačo e4c79d5d09 Fix https 2023-06-07 11:02:41 +02:00
Matej Bačo 2e11d85033 Fix localhost https 2023-06-07 10:56:14 +02:00
Matej Bačo 6c81b3e3f8 Fix proxy internal http communication 2023-06-07 10:52:16 +02:00
Matej Bačo 04f3d81ab8 Fix failing executions 2023-06-07 10:43:17 +02: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
Matej Bačo 5f87ef3074 Fix executor missing runtime 2023-06-06 15:47:25 +02:00
Christy Jacob 00453dd9c2
Merge pull request #5630 from appwrite/project-creation-patch
Extract db from list while backing
2023-06-06 18:33:43 +05:30
Christy Jacob 8fdb9e6592
Update app/controllers/api/projects.php 2023-06-06 17:51:42 +05:30
Christy Jacob 5c6cbbe370 chore: review comments 2023-06-06 12:11:50 +00:00
Christy Jacob 9f02ed700d feat: update db backups schedule 2023-06-06 12:09:14 +00:00
Christy Jacob afdad2e0ef
Merge pull request #5638 from appwrite/cache-perm-fix
cache perm fix
2023-06-06 16:42:37 +05:30
Matej Bačo 966210d58c Update installation model 2023-06-06 09:50:52 +02: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
Steven Nguyen 092f0cfcaf Fix the routing for the default OAuth2 pages 2023-06-03 20:05:45 +05:30
Steven Nguyen e87e2fc16d Fix the routing for the default OAuth2 pages 2023-06-03 14:16:47 +05:30
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
Shimon Newman 73ac9f796d
cache perm fix 2023-06-02 17:56:09 +03:00
shimon d7733dde01 minor cache authorization fix rollback 2023-06-02 17:52:19 +03:00
shimon 931b6fa385 minor cache authorization fix 2023-06-02 17:44:24 +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
shimon 6a9011af72 minor changes 2023-06-02 17:14:10 +03:00
shimon 5c9ad6fddd minor changes 2023-06-02 17:01:15 +03:00
shimon f5c4e4cd8a minor changes 2023-06-02 16:52:38 +03:00
shimon 9a071df378 minor changes 2023-06-02 16:23:21 +03:00
Torsten Dittmann a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02:00
Torsten Dittmann 55ba25ad83 fix: trailing wildcards 2023-06-02 13:18:34 +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
shimon 071b2e5826 Extract db from list while backing 2023-06-02 11:06:35 +03:00
shimon ea8804fd52 Extract db from list while backing 2023-06-02 08:10:03 +03:00
Bishwajeet Parhi 0d3b50a07d Merge remote-tracking branch 'upstream/master' into feat-add-encrypt-param 2023-06-01 21:46:31 +05:30
Matej Bačo 0b600e3ed7 Disable abuse, fix order of params 2023-06-01 12:01:03 +02:00
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
Bishwajeet Parhi 08746d0390 chore: misc fixes 2023-05-30 12:47:55 +05:30
Bishwajeet Parhi 967ac1b82c chore: remove nullable param 2023-05-30 12:34:32 +05:30
Jake Barnby fad53d3e89
Fix visibility
(cherry picked from commit b092405b04)
(cherry picked from commit 3dd67cb17f)
2023-05-30 19:00:50 +12:00
Bishwajeet Parhi 69504bfaac add encrypt param 2023-05-30 12:30:10 +05:30
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
Matej Bačo 5d2d14df6e Fix bugs with comment, improve git checks logic 2023-05-29 13:51:03 +02: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
Matej Bačo fb02e12db2 Add state to comment, webhook bug fixing 2023-05-28 13:39:48 +02:00
Matej Bačo bf5855d101 Fix bugs after merge 2023-05-28 10:02:23 +02:00
Matej Bačo 507b2d978a Fix response model 2023-05-27 13:55:34 +02:00
Bishwajeet Parhi 68c56daba1 add extra check for admin modes 2023-05-26 17:08:09 +05:30
Matej Bačo f504e7dbb5 Add cache support to VCS 2023-05-26 10:44:08 +02:00
Matej Bačo f53d75205b Implement branches endpoint, rename some attributes, update response models 2023-05-26 00:29:08 +02:00
Christy Jacob 075ed65a2f
Merge pull request #5572 from appwrite/feat-update-project-creation
Feat update project creation
2023-05-25 22:50:24 +05:30
Damodar Lohani 237658f4e8 fix param 2023-05-25 05:33:06 +00:00
Matej Bačo 4665c2a2a4 Re-add PR creation deployment 2023-05-25 07:30:52 +02:00
Damodar Lohani 6813d53e06 remove password required for project deletion 2023-05-25 00:32:49 +00:00
Christy Jacob 54ad50bd4b feat: review comments 2023-05-24 20:07:31 +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
Steven Nguyen 9d13d72c71
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-23 10:40:31 -07:00
Christy Jacob 48ca2530e6 feat: add missing attribute 2023-05-23 14:46:48 +00:00
Christy Jacob 8be36088d7 chore: linter 2023-05-23 14:38:48 +00:00
Christy Jacob f0df316b4f fix: throw correct exception when project custom ID already exists 2023-05-23 14:38:33 +00:00
Khushboo Verma df17c8a3dc Add production branch as param in updateFunction 2023-05-23 16:04:38 +05:30
Damodar Lohani 5a9f83c43d validate smtp configuration 2023-05-23 05:09:17 +00:00
Matej Bačo f86284fe21 Bug fixing 2023-05-23 06:37:25 +02: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
Matej Bačo c09c8b4d25 Fix wildcard issue with OPTIONS & CORS 2023-05-22 21:27:14 +02:00
Prateek Banga 977279b679 fix: expire format for get session api 2023-05-22 18:34:51 +05:30
Matej Bačo 18105d4999 Remove repository owner 2023-05-22 15:02:55 +02:00
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
Matej Bačo 612af6edf0 Update dependencies, fix bugs 2023-05-22 13:29:35 +02:00
Matej Bačo 6e515e3cc4 Copy Khushboo's integration from feat-peach-q1-kh 2023-05-22 12:58:13 +02:00
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
Suven-p 582698bd03
Validate value of x-appwrite-id header 2023-05-18 00:41:07 +05:45
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
Christy Jacob 12afc294bd feat: add checks for domain 2023-05-13 23:35:05 +05:30
Matej Bačo c63505078d Fix bugs with new versions of utopia 2023-05-13 12:08:02 +02:00
Matej Bačo eb764871db Upgrade versions 2023-05-11 22:52:48 +02:00
Matej Bačo 998c2749cb Merge branch 'feat-db-pools-master' into feat-executor-v3 2023-05-11 21:59:49 +02:00
Matej Bačo a36bdb2797 Remove deployment conf params 2023-05-11 21:57:31 +02: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
shimon 1e29ec8d59 added bucketInternalId to file 2023-05-08 10:32:29 +03: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
Matej Bačo 6d97ca7569 Fix bugs with cards 2023-05-02 10:28:14 +02:00
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
Matej Bačo 3b2e968703 Update SEO title 2023-05-01 18:51:36 +02:00
Matej Bačo 189578a248 Fix double slashes 2023-05-01 18:50:35 +02:00
Matej Bačo 956087473e Fix OG cards 2023-05-01 18:38:22 +02:00
Matej Bačo 6885e6ea0e linter fix 2023-05-01 17:51:31 +02:00
Matej Bačo c9a39fce4f Add OG card SSR 2023-05-01 17:43:32 +02:00
Matej Bačo 287441a913 Improve 3rd variation og card design 2023-05-01 16:45:39 +02:00
Matej Bačo 70b5281a0b Improve GitHub oauth email discovery 2023-05-01 15:54:33 +02:00
Matej Bačo e84372aae2 Decreate card resolution 2023-05-01 13:54:41 +02:00
fogelito 5e4ff01568 getByType 2023-05-01 12:18:50 +03:00
Matej Bačo d71cf65300 Increase card quality, fix GH session finding 2023-04-29 13:33:38 +02:00
Matej Bačo e912df3368 Fix error 500 in card generation 2023-04-29 10:50:04 +02:00
Christy Jacob 03612a5741 feat: update paths 2023-04-29 14:10:22 +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
Matej Bačo a185d6c7f1 Formatting fix 2023-04-28 22:04:27 +02:00
Matej Bačo 2244ba4f98 Enable caching 2023-04-28 22:03:44 +02:00
Matej Bačo 985ca3843b 3rd og card variation 2023-04-28 19:46:24 +02:00
Matej Bačo d022ee6622 Fix race condition 2023-04-28 11:07:26 +02:00
Matej Bačo 8c1d89c33c Fix race condition 2023-04-28 09:30:30 +02:00
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
Matej Bačo 6c6154b3d4 Reviews, fine tuning 2023-04-27 14:34:50 +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
Damodar Lohani edbc52403a update so that current SDK don't fail 2023-04-27 09:29:39 +00:00
Matej Bačo db472b19c7 Improve employee detection 2023-04-27 10:24:53 +02:00
fogelito e631453e3b documents name changes 2023-04-27 09:59:55 +03:00
Matej Bačo 837cebcdda Fix race condition 2023-04-26 13:51:19 +02:00
Matej Bačo a7f81bd628 Fix permission issue 2023-04-26 13:39:50 +02:00
Matej Bačo 2ed495fe3b Add OG assets 2023-04-26 13:06:11 +02:00
Matej Bačo a8cd99873f Add cache, fix miss-align 2023-04-26 11:10:06 +02:00
Matej Bačo 2e421f15ab Implement 2D cloud cards 2023-04-26 10:21:10 +02: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
Matej Bačo 563f2e22f9 skew for 3d og image 2023-04-25 09:35:48 +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
Matej Bačo 5782f7b8c6 Add OG image render logic 2023-04-19 09:25:05 +02: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
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
Jake Barnby 3c6f8d2326
Skip validation for mock file upload 2023-04-12 14:53:35 +12: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
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 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 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 578d4d1619
Disallow index creation on relationship attributes 2023-03-31 18:06:50 +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
Damodar Lohani 41d22fb50b Merge remote-tracking branch 'origin' into feat-db-pools-master-sync-2 2023-03-30 08:02:31 +00: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 9468c238de
Remove conflicts 2023-03-30 13:01:58 +13:00
Vincent (Wen Yu) Ge 19d5ea03b9 Updates links for query page 2023-03-29 19:38:39 +00:00
Matej Bačo 5890647f24 Fix cold start freezes 2023-03-29 14:41:15 +02: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
Matej Bačo 5389afc80e Add build & install commands 2023-03-28 15:21:42 +02: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 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 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
Matej Bačo 3916e4c0c5 Fix usage with Proxy 2023-03-24 09:26:21 +01:00
Christy Jacob a3019f3d8c Merge branch 'feat-db-pools-sync' of https://github.com/appwrite/appwrite into feat-db-pools-fix-scheduler 2023-03-24 08:23:28 +00: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
Christy Jacob 7f493ed510 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-sync 2023-03-24 06:45:58 +00:00
Christy Jacob 5f10ff4d3b Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools-sync 2023-03-24 06:35:30 +00: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 010481bafc feat: change url for updating attributes 2023-03-23 11:25:40 +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 0643a94b12
Update signatures 2023-03-23 16:58:41 +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
fogelito a824b46df0 Update relationship 2023-03-22 17:49:08 +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
Torsten Dittmann d59b4d17bb fix: update attribute review 2023-03-20 10:13:23 +01:00
fogelito eee29940bb Some tests 2023-03-19 19:09:17 +02:00
Matej Bačo e8b11b2d14 Fix scheduler 2023-03-19 10:43:57 +01: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 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 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
Matej Bačo 75f935601e Add function entrypoint 2023-03-16 11:07:15 +01:00
fogelito 44de884ee5 convert relatedOptions to options 2023-03-16 09:31:48 +02:00
Torsten Dittmann 08d588aeb1 fix: remove unnecessary owner check 2023-03-15 11:55:21 +01:00
Matej Bačo a4b31f6472 Fix after merge 2023-03-15 09:20:25 +01:00
Matej Bačo d10c7c7775 Merge branch 'feat-db-pools-master' into feat-executor-v3-sync 2023-03-15 08:59:42 +01:00
Matej Bačo ca55de6f03 Fix build missing libraries 2023-03-15 07:08:43 +01:00
Matej Bačo 27bf18f031 Code formatting 2023-03-14 20:31:23 +01:00
Matej Bačo 72e0ccf6d6 Remove scheduleUpdatedAt 2023-03-14 19:39:40 +01:00
Matej Bačo a919421b47 Fix scheduler bugs 2023-03-14 15:10:36 +01:00
fogelito 40152fbd6c Model relationshipOptions 2023-03-14 15:18:30 +02:00
Matej Bačo c01fcb130c Merge branch 'feat-db-pools-master' into feat-db-pools-sync 2023-03-14 12:58:54 +01:00
Matej Baco ed610fcdd4 Address TODOs 2023-03-14 11:13:03 +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
Matej Baco e7351f4eec Add logs to rules 2023-03-13 13:35:34 +00:00
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
fogelito f525104963 create relationship 2023-03-12 17:06:56 +02:00
fogelito ca3efdf562 create relation 2023-03-12 16:04:18 +02:00
Damodar Lohani 07010a5192 set SMTP config from project 2023-03-12 02:14:03 +00:00
Matej Bačo 1f409b4e40 Shared variables 2023-03-11 17:06:02 +01:00
Matej Bačo 541cb010a6 Changes after dev-mode QA 2023-03-10 20:36:39 +01:00
Pranav2612000 c97a4868b1 fix: trigger account subscription event on email verification 2023-03-11 00:23:49 +05:30
Torsten Dittmann 10150aad3e feat: only owners are allowed to update attributes 2023-03-10 21:57:13 +05:30
Matej Baco 2d25514dd8 Improve 409 rule error; update console 2023-03-10 13:36:31 +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 077ad544b6 fix: database responses 2023-03-10 18:36:34 +05:30
Matej Baco 4b0d6d9826 Bug fixes after proxy QA 2023-03-10 12:20:24 +00:00
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
Matej Baco 04c7db9f7b Bug fixes for proxy rule service 2023-03-10 07:42:52 +00:00
Damodar Lohani bf4aca0d4a get template endpoint 2023-03-10 06:27:42 +00:00
Damodar Lohani 1cd0498b15 code format 2023-03-10 02:46:34 +00:00
Bhaskar Singh 31a903d144 Updated the error message for target check fails
in custom domain creation
2023-03-10 00:24:33 +05:30
shimon 4839dbbfb0 fix 2023-03-09 17:49:03 +02:00
Damodar Lohani 2352268a07 templates endponint 2023-03-09 13:44:31 +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 52d93fd4af smtp update endpoint 2023-03-09 01:59:10 +00:00
Damodar Lohani ad8ae92a6d
Merge branch '1.3.x' into feat-reset-sdk-account-model 2023-03-09 07:06:24 +05:45
Matej Bačo e4b3ba46ad functions rules auto-mark as verified 2023-03-08 20:55:59 +01:00
Matej Bačo 83370c21f7 Improve error logs 2023-03-08 20:50:51 +01:00
Matej Bačo 59f5978fa3 Implement rules 2023-03-08 19:30:01 +01: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
Matej Bačo f223e8b948 Update failed status 2023-03-06 12:16:34 +01:00
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 5df53e3e76 fix: http status codes for udpating attributes 2023-03-02 12:15:10 +05:30
Torsten Dittmann bfd23665cb fix: graphql 2023-03-01 18:13:34 +05:30
Torsten Dittmann 6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +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
Torsten Dittmann 196ecff5dc
Merge pull request #5160 from appwrite/feat-mock-cache-labels
Add offline support labels on mock endpoint for sdk generator tests
2023-02-28 13:24:52 +05:30
Matej Bačo 47f85678ff Fix options method routing 2023-02-27 13:43:20 +01:00