Commit graph

5550 commits

Author SHA1 Message Date
Vincent (Wen Yu) Ge
07a7a710ee Improve error and copy in params/models 2023-08-22 20:11:33 +00:00
Jake Barnby
87b72e4d0d
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-1.4-request-response-filters 2023-08-22 16:01:19 -04:00
Jake Barnby
00dd77e930
Fix exception condition 2023-08-22 14:14:57 -04:00
Jake Barnby
c3682362e9
Merge remote-tracking branch 'origin/feat-git-integration' into feat-1.4-request-response-filters
# Conflicts:
#	app/controllers/api/proxy.php
2023-08-22 13:37:44 -04:00
Jake Barnby
c929fe113e
Fix colliding ID overrides 2023-08-22 13:11:32 -04:00
prateek banga
ab89abfc89 lint fix 2023-08-22 22:16:09 +05:30
prateek banga
78385a59c6 adds remaining provider controllers 2023-08-22 22:15:31 +05:30
Matej Bačo
eea43e17bd Fix function request filter 2023-08-22 15:16:07 +02:00
prateek banga
9f19bec7a7 lint fix 2023-08-22 18:21:30 +05:30
Matej Bačo
e345ef071a Allow custom deployment entrypoint 2023-08-22 11:47:10 +02:00
Matej Bačo
7c1a387a37 Improve commands quality 2023-08-22 10:16:17 +02:00
Jake Barnby
b48a64d1ad
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
# Conflicts:
#	app/controllers/api/functions.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-22 00:59:36 -04:00
Vincent (Wen Yu) Ge
caf6bcae95 Remove mention of environment variables in docs 2023-08-22 04:16:41 +00:00
Jake Barnby
6c67172fd7
Fix missing ID 2023-08-21 23:45:32 -04:00
Jake Barnby
942705b5f3
Fix database upgrade 2023-08-21 23:25:55 -04:00
Eldad A. Fux
8e46bdf7cb
Merge branch 'feat-git-integration' into feat-usage-rollback 2023-08-21 22:46:09 +03:00
Matej Bačo
fedac9592b Fix id null schedule bug 2023-08-21 19:43:03 +02:00
prateek banga
4406c7bd55 adds messaging worker and send an email controller 2023-08-21 22:15:15 +05:30
Matej Bačo
7c184498bb Fix GitHub app auth and migrations 2023-08-21 15:16:02 +02:00
Bradley Schofield
b7d053f60d
Update migrations.php 2023-08-21 13:42:02 +01:00
Khushboo Verma
d5968f3f2a Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-21 17:03:40 +05:30
shimon
1969ea9d16 rolling back usage flow 2023-08-21 13:50:45 +03:00
shimon
722a7ce8c9 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-usage-rollback 2023-08-21 13:50:34 +03:00
prateek banga
a6d613542b adds messaging api controlle for mailgun provider 2023-08-21 16:14:50 +05:30
Bradley Schofield
9d88017e1f
Add Download Deployment Function 2023-08-21 11:21:18 +01:00
shimon
7ba42b0d6c rolling back usage flow 2023-08-21 11:53:00 +03:00
prateek banga
fe8b8d3dc6 fix lint 2023-08-21 14:14:06 +05:30
prateek banga
5e3065c30a merge resolve conflicts 2023-08-21 14:07:18 +05:30
shimon
3cca907465 rolling back usage flow 2023-08-21 11:10:23 +03:00
shimon
99a43dec8c rolling back usage flow 2023-08-21 10:34:34 +03:00
shimon
f261ef8b70 rolling back usage flow 2023-08-21 10:31:12 +03:00
shimon
e86286e7e3 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-usage-rollback
 Conflicts:
	composer.lock
2023-08-20 18:07:57 +03:00
shimon
83ffea68d1 rolling back usage flow 2023-08-20 16:53:26 +03:00
shimon
8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03:00
Khushboo Verma
e83f0f7b56 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-20 15:13:13 +05:30
Khushboo Verma
afbadf9322 Add search attribute to redeploy endpoint 2023-08-20 15:13:05 +05:30
Matej Bačo
60d24e0072 Downgrade assistant 2023-08-20 11:42:17 +02:00
Matej Bačo
20a2d3755e Add vars for Console 2023-08-20 10:10:42 +02:00
Matej Bačo
efe3793679 PR review changes, fix node test 2023-08-19 20:26:47 +02:00
Khushboo Verma
78a224be14 Fix deployment creation on branch creation 2023-08-19 18:24:43 +05:30
Khushboo Verma
3305e300b1 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-19 18:21:40 +05:30
Khushboo Verma
1284449765 Fixed GitHub comments 2023-08-19 18:21:27 +05:30
Matej Bačo
5de7c24ee8 Fix more function tests 2023-08-19 13:37:45 +02:00
Jake Barnby
9b2226b243
Fix manual and VCS redeploys 2023-08-19 02:15:47 -04:00
prateek banga
36a5d1e245 adds remaining controllers for target in account and users 2023-08-18 23:28:12 +05:30
Jake Barnby
1e3fd5291e
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks 2023-08-18 13:25:21 -04:00
Jake Barnby
a848322687
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
# 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
#	composer.json
#	composer.lock
2023-08-18 13:23:35 -04:00
Bradley Schofield
0ebd6d43d5
Merge branch 'feat-git-integration' into feat-git-integration-migrations 2023-08-18 11:18:58 +01:00
Khushboo Verma
c1b7b6cd0d Update limits 2023-08-18 12:44:13 +05:30
Khushboo Verma
76c3eb5c65 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-18 12:26:11 +05:30
Khushboo Verma
00f6785818 Addressed PR comments 2023-08-18 12:25:44 +05:30
Jake Barnby
a3895b041a
Apply suggestions from code review 2023-08-17 21:48:21 -04:00
Jake Barnby
a77ff0a9b0
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
# 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-08-17 19:54:25 -04:00
Jake Barnby
a88f90dd90
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
# 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
#	composer.lock
2023-08-17 19:51:36 -04:00
Jake Barnby
92c39470be
Merge pull request #5800 from appwrite/fix-team-update-membership
Update method name for `updateMembershipRoles`
2023-08-17 19:43:56 -04:00
Jake Barnby
861ed521a0
Merge branch '1.4.x' into fix-team-update-membership
# Conflicts:
#	app/config/specs/open-api3-1.4.x-client.json
#	app/config/specs/open-api3-1.4.x-console.json
#	app/config/specs/open-api3-1.4.x-server.json
#	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-1.4.x-client.json
#	app/config/specs/swagger2-1.4.x-console.json
#	app/config/specs/swagger2-1.4.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
2023-08-17 17:51:24 -04:00
Jake Barnby
3c3326260a
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
# Conflicts:
#	composer.lock
2023-08-17 17:39:26 -04:00
Jake Barnby
07c985ebc3
Fix missing params from redeploy event 2023-08-17 17:37:52 -04:00
prateek banga
f73b3bf272 deletes user cache document 2023-08-18 01:07:42 +05:30
Bradley Schofield
e8056834aa
Run Formatter 2023-08-17 15:55:28 +01:00
Bradley Schofield
6577fc17a9
Remove ./vendor import and add missing envvars 2023-08-17 15:54:19 +01:00
Khushboo Verma
4285d99f08 Added exception for repo creation + small fixes 2023-08-17 19:24:57 +05:30
prateek banga
27df545fb7 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into fix-5404-update-document-without-relation-permission 2023-08-17 19:15:33 +05:30
prateek banga
860e9958c7 lint fix 2023-08-17 19:04:41 +05:30
prateek banga
c83e4db23d lint fix 2023-08-17 19:02:07 +05:30
prateek banga
07b7a9db0f adds controller for creating a user target 2023-08-17 17:24:45 +05:30
Jake Barnby
414d85be8e
Update mode checks 2023-08-16 17:58:25 -04:00
Jake Barnby
b6ffb385a7
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-16 15:55:19 -04:00
Bradley Schofield
47b10fa82b
Implement IAM Custom Roles 2023-08-16 18:17:20 +01:00
Bradley Schofield
a0cd65b94b
Fix Migrations Stability 2023-08-16 16:01:56 +01:00
prateek banga
e53f189b3b lint fix 2023-08-16 20:17:36 +05:30
prateek banga
c7dec3762b Adds getTarget and list targets controller to user and account 2023-08-16 20:13:38 +05:30
prateek banga
92e587769a resolve merge conflicts 2023-08-16 15:16:45 +05:30
Matej Bačo
3a6f10fa62 Fix failing tests 2023-08-16 08:19:42 +02:00
Jake Barnby
8820d422be
Update app/controllers/api/databases.php 2023-08-14 20:45:05 -04:00
Jake Barnby
4ddb0ce6a7
Merge remote-tracking branch 'upstream/cl-1.4.x' into feat-add-encrypt-param 2023-08-14 19:37:37 -04:00
Jake Barnby
c00c5119b2
Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums 2023-08-14 19:33:56 -04:00
prateek banga
8e1ef812d3 resolve merge conflicts 2023-08-14 21:59:24 +05:30
Damodar Lohani
9d15f70db5 Merge remote-tracking branch 'origin/cl-1.4.x' into feat-framework-router-v2 2023-08-13 00:45:11 +00:00
Matej Bačo
ec82fec59f Re-enable assistant 2023-08-12 21:08:44 +02:00
Matej Bačo
c24e2786fb Even more PR review changes 2023-08-11 18:52:13 +02:00
Matej Bačo
f0125ac3bb PR review changes 2023-08-11 18:44:05 +02:00
Matej Bačo
897d299ae6 PR review changes, fixes from QA 2023-08-11 15:34:57 +02:00
prateek banga
971ebbc686 fix test cases 2023-08-11 16:17:31 +05:30
Matej Bačo
1bd96228bf Fix file responses from router 2023-08-11 11:19:05 +02:00
Matej Bačo
5032fd7d08 Fix AI endpoints 2023-08-11 09:52:08 +02:00
Jake Barnby
16cb495a41
Lint 2023-08-10 21:31:31 -04:00
Jake Barnby
6cd0e328d9
Review fixes 2023-08-10 16:44:38 -04:00
Bishwajeet Parhi
d0755a587f Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums 2023-08-10 22:31:53 +05:30
Khushboo Verma
dfd686436a Fix fetch commit details condition 2023-08-10 17:52:10 +05:30
prateek banga
8cefc54ca3 merge resolve conflicts 2023-08-10 17:22:15 +05:30
Matej Bačo
2a94dacdd1 Fix deployment issues from QA server 2023-08-10 02:31:49 +02:00
Matej Bačo
b9c52d8583 QA after merge fix 2023-08-10 01:44:00 +02:00
Matej Bačo
899bc38069 Merge branch 'cl-1.4.x' into feat-git-integration 2023-08-10 01:12:09 +02:00
Matej Bačo
75e66e675b Move oauth secret to identity 2023-08-10 01:02:13 +02:00
Bradley Schofield
d001f14249
Add Service Account Role Assignment 2023-08-09 23:46:23 +01:00
Matej Bačo
3ed4a65828 Fix VCS after lib upgrade 2023-08-09 23:00:04 +02:00
Matej Bačo
a2a50d066b More deployment changes 2023-08-09 20:00:25 +02:00
Khushboo Verma
ced6eed6fa Add urls in deployment details 2023-08-09 23:05:23 +05:30
Bradley Schofield
fead8eb47a
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-implement-migrations 2023-08-09 18:08:40 +01:00
Bradley Schofield
0d58d20635
Update Migration Lib 2023-08-09 18:08:10 +01:00
Steven Nguyen
09254aeae0
Add description for the delete account identity's identityId param 2023-08-09 09:25:29 -07:00
Steven Nguyen
5801a2cc39
Merge branch 'cl-1.4.x' into feat-user-identities-cl-1.4.x 2023-08-09 09:01:29 -07:00
Khushboo Verma
a63a668601 Add additional deployment info 2023-08-09 21:23:58 +05:30
Bradley Schofield
1135060681
Start work on identities implementation 2023-08-09 16:18:17 +01:00
Christy Jacob
7d60e4272d Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into feat-implement-migrations 2023-08-09 13:59:44 +00:00
Khushboo Verma
e267349a88 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-09 16:33:49 +05:30
Khushboo Verma
056b7120a6 Add additional information to deployments 2023-08-09 16:24:46 +05:30
Matej Bačo
9d0eda68d6 Upgrade after conflict 2023-08-09 12:35:04 +02:00
Matej Bačo
93735ac4a7 Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration 2023-08-09 12:30:45 +02:00
Matej Bačo
a60b54f434 Use identities table 2023-08-09 11:52:34 +02:00
Khushboo Verma
c6cdc0c37c Fix broken functions flow 2023-08-09 13:16:17 +05:30
Eldad A. Fux
6ce3045f89
Merge pull request #5921 from appwrite/feat-user-identities-git-integration
Separate OAuth2 info from Sessions into Identities
2023-08-09 10:18:43 +03:00
Jake Barnby
d2ef51551d
Merge branch 'cl-1.4.x' into feat-add-encrypt-param 2023-08-08 23:06:14 -04:00
prateek banga
4d03610755 resolve merge conflicts 2023-08-09 03:23:45 +05:30
Christy Jacob
c009a12a25 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into 1.4.x 2023-08-08 20:51:31 +00:00
Jake Barnby
b196914638
Fix console/API key checks 2023-08-08 15:46:01 -04:00
Bradley Schofield
47ebf77ff0 Continue work on OAuth Firebase last stage 2023-08-08 20:28:38 +01:00
prateek banga
51ceb5d74a prohibit select queries in list attributes and remove static method 2023-08-09 00:12:53 +05:30
Christy Jacob
82a206d808 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data 2023-08-08 16:48:59 +00:00
Steven Nguyen
f3fa7922d4
Merge branch 'cl-1.4.x' into feat-user-identities-cl-1.4.x 2023-08-08 08:34:01 -07:00
Bradley Schofield
f0477a7f2b Move collections and update redirect sig 2023-08-08 14:36:44 +01:00
Matej Bačo
26aa37ccf0 Linter fix 2023-08-08 11:46:43 +02:00
Matej Bačo
2b96fb6c6f Allow editing runtime 2023-08-08 11:28:25 +02:00
Bishwajeet Parhi
b3e962ba05 Merge branch 'master' into feat-whitelist-enums 2023-08-08 11:35:36 +05:30
Bishwajeet Parhi
2f3e14932a fix: Tests 2023-08-08 11:34:02 +05:30
Bishwajeet Parhi
c3ebdc46e2 Merge branch 'master' into feat-add-encrypt-param 2023-08-08 11:04:28 +05:30
prateek banga
385f76d7f2 lint fix 2023-08-08 04:42:00 +05:30
prateek banga
60236b3af6 refactor according to review comments 2023-08-08 04:40:07 +05:30
prateek banga
7e185cd799 moved formatting logic to relationship attribute model 2023-08-08 03:34:13 +05:30
Steven Nguyen
073b9963d2
Merge branch 'feat-git-integration' into feat-user-identities-git-integration 2023-08-07 14:46:00 -07:00
prateek banga
52e800cc59 refactor according to review feedback 2023-08-08 02:56:20 +05:30
Khushboo Verma
d19769415f Throw exception from createRepo 2023-08-07 21:09:51 +05:30
Matej Bačo
11068696c9 QA changes 2023-08-07 17:37:36 +02:00
Bradley Schofield
91c82f0d7d Merge remote-tracking branch 'origin/cl-1.4.x' into feat-implement-migrations 2023-08-07 16:09:28 +01:00
prateek banga
0630f56dd5 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-query-support-attributes-indexes 2023-08-07 20:35:55 +05:30
Eldad A. Fux
90e89aa02e
Merge pull request #5934 from appwrite/feat-appwrite-assistant
Feat appwrite assistant
2023-08-07 17:56:22 +03:00
Eldad A. Fux
4b7cd5c372
Merge pull request #5715 from appwrite/fix-phone-abuse-param
fix: abuse label for creating phone session
2023-08-07 15:16:40 +03:00
Bradley Schofield
f27345fb92 Update SDK 2023-08-07 11:56:42 +01:00
prateek banga
9057a50a10 rename provider param in config 2023-08-07 15:54:00 +05:30
Damodar Lohani
a6109a0341 Merge remote-tracking branch 'origin/1.4.x' into feat-framework-router-v2 2023-08-07 08:42:04 +00:00
Matej Bačo
d5fd3a28f9 More QA fixes 2023-08-06 15:11:30 +02:00
Matej Bačo
345df3f2ca More QA fixes 2023-08-06 12:30:38 +02:00
Matej Bačo
e60456cfda QA after merge with 1.4 2023-08-06 10:51:53 +02:00
Matej Bačo
906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Matej Bačo
eb63ec9b10 Support failure url on vcs 2023-08-05 20:53:42 +02:00
Matej Bačo
8a9f3f1b54 Update build to use 1 logs attribute 2023-08-05 16:50:28 +02:00
Eldad A. Fux
a56f91b054
Merge branch 'master' into feat-5542-validate-x-appwrite-id-header-for-CreateFile 2023-08-05 06:36:21 +03:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen
cb7abdb906
Remove identity status
Until we have a clearer picture of why we need it, it would be best to
remove it since it's easier to add it later than to remove it after it's
released.
2023-08-04 15:07:36 -07:00
Steven Nguyen
bcd44432d1
Don't set password when oauth2 creates a user
Setting a password can cause problems with other APIs that expect the
password to be null. In addition, it doesn't match the implementation
for the other APIs that create a user without a password (Create Magic
URL Session, Create Phone Session, Create Anonymous Session, etc).
2023-08-04 15:07:36 -07:00
Steven Nguyen
27e212553d
Separate OAuth2 info from Sessions into Identities
This allows us to retain the OAuth2 info even if the session is
deleted. This also provides a foundation for allowing multiple emails,
phone numbers, etc, not from an OAuth2 provider.
2023-08-04 15:07:36 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Bradley Schofield
8f5d79e668 Move to new branch 2023-08-04 17:21:41 +01:00
Bishwajeet Parhi
5f1a515f00 Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums 2023-08-04 19:20:44 +05:30
Damodar Lohani
767a3caef8 remove unused injection 2023-08-04 13:17:23 +00:00
Damodar Lohani
cd18853fed add abuse labels 2023-08-04 13:16:57 +00:00
Damodar Lohani
64321cfb0b remove authorization 2023-08-04 13:08:59 +00:00
Safwan Parkar
451f4bee19 Fixed an incorrect test for team deletion
This commit contains changes in 3 places.

- First I changed the placement of an informative comment in the DELETE TEAM controller, and moved it outside of the loop. I did this when Steven pointed out that the behaviour I describe in the comment is for the whole loop.

- The second change is the removal of my first test. I was facing quite a few issues with creating users in the test, and ended up using the CREATE TEAM MEMBERSHIP to perform 2 actions at once -> create a new user if one doesn't exist with the provided email, and create a membership for the user. Before this approach, I had quite a bit of code that didn't work, and it seems like I removed some things that weren't supposed to be removed, and didn't change variable names where necessary. Anyway, I figured that the problem has something to do with the user being created on the client side, so I moved the test to the server side.

- The new test I implemented does the same thing as my previous failed test, but in more detailed and distinct steps. The test first creates 5 new users inside of a loop, and pushes each new user's ID to an array called 'new_users' if the response is as expected. Then a new team is created. The next step is to create memberships for all 5 users. If all these steps pass, the new team that was just created, is deleted, and we check to make sure the new users have 0 team memberships each.

Formatter and linter showed no errors. Tests were successful on localhost.
2023-08-04 15:40:42 +04:00
Matej Bačo
8bc933ab91 Fix template issues 2023-08-04 10:56:46 +02:00
Damodar Lohani
49085be4e4 fix formatting 2023-08-04 02:17:02 +00:00
Damodar Lohani
45afea9175 moved assistant endpoint to console, and add env support 2023-08-04 01:42:22 +00:00
Safwan Parkar
d142620c5e invalidate cached document of user
- cache caused stale data in memberships
2023-08-03 22:08:27 +04:00
Safwan Parkar
a14d89eb3c remove error-causing condition 2023-08-03 21:39:18 +04:00
prateek banga
ea57a303d0 lint fixes 2023-08-03 17:39:13 +05:30
prateek banga
f797c2574a resolve merge conflicts with 1.4.x 2023-08-03 17:38:22 +05:30
prateek banga
1d558fa5f5 Add select queries support to list indexes and list attributes endpoint 2023-08-03 17:34:28 +05:30
Damodar Lohani
2a7ec490af setup appwrite assistant for test 2023-08-03 10:29:36 +00:00
prateek banga
f8ae04f3b9 resolve merge conflicts with 1.4.x branch 2023-08-03 15:25:48 +05:30
Steven Nguyen
b8e22151f6
Remove identity status
Until we have a clearer picture of why we need it, it would be best to
remove it since it's easier to add it later than to remove it after it's
released.
2023-08-02 15:37:22 -07:00
Steven Nguyen
b9c2b9322f
Don't set password when oauth2 creates a user
Setting a password can cause problems with other APIs that expect the
password to be null. In addition, it doesn't match the implementation
for the other APIs that create a user without a password (Create Magic
URL Session, Create Phone Session, Create Anonymous Session, etc).
2023-08-02 15:36:06 -07:00
Steven Nguyen
a235024268
Separate OAuth2 info from Sessions into Identities
This allows us to retain the OAuth2 info even if the session is
deleted. This also provides a foundation for allowing multiple emails,
phone numbers, etc, not from an OAuth2 provider.
2023-08-02 15:36:06 -07:00
Safwan Parkar
2bc2061f09 fix showing of stale team memberships 2023-08-02 18:44:43 +04:00
Safwan Parkar
c5233d9ece removed unnecessary code 2023-08-02 12:18:21 +04:00
Dakshi
16a2135d4a updated based on review 2023-08-02 02:19:20 +05:30
Eldad A. Fux
05a316bf48
Merge pull request #5895 from appwrite/feat-2591-improve-oauth2-error-handling
Improve OAuth2 error handling
2023-08-01 22:55:58 +03:00
Safwan Parkar
a45c62ab24 run composer scripts 2023-08-01 23:24:46 +04:00
Safwan Parkar
0fe59d457b fixed stale team memberships on user 2023-08-01 22:57:59 +04:00
prateek banga
40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
Dakshi
12228ccef4 converted desc to sentence case 2023-08-01 20:56:48 +05:30
Khushboo Verma
5b9f71afe5 Add try-catch to listRepositories 2023-08-01 14:10:16 +05:30
Jake Barnby
ff83751450
Allow privileged user/app user/admin mode access to all resources when disabled 2023-07-31 14:24:21 -04:00
Steven Nguyen
eb7526601d
Delete duplicate 'Update Email Verification' endpoint 2023-07-31 11:00:30 -07:00
prateek banga
409376ef16 refactors checkPermission to throw exception when a change is found in updateDocument 2023-07-31 14:03:11 +05:30
Matej Bačo
ac2ca267d7 Address more PR reviews 2023-07-31 08:47:47 +02:00
Damodar Lohani
18407ce6ff remove failing alias and alias tests 2023-07-31 05:53:27 +00:00
Matej Bačo
c7605b85e0 Remove vcs prefix 2023-07-30 21:10:25 +02:00
Matej Bačo
57a4d5ad66 Upgrade console, formatting 2023-07-30 15:30:30 +02:00
Matej Bačo
6cea5a12bb Improve performance of listRepositores 2023-07-30 15:24:10 +02:00
Matej Bačo
280b2fc994 Rename repositories and installation IDs 2023-07-30 11:51:13 +02:00
Damodar Lohani
fa8fab184b fix remove duplicate endpoints 2023-07-30 09:23:12 +00:00
Matej Bačo
96338954d2 Better runtime detection 2023-07-30 10:30:47 +02:00
Matej Bačo
a718f09f74 Update execution model, add detection to repository 2023-07-30 09:17:23 +02:00
Matej Bačo
2e177873c0 Update execution response model 2023-07-29 18:20:20 +02:00
Matej Bačo
22f638e6aa rename vcsRepos to vcsRepositories 2023-07-29 18:04:43 +02:00
Matej Bačo
e6d1a3424f Fix github state 2023-07-29 18:03:18 +02:00
prateek banga
f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
Jake Barnby
aa94310259
Fix missing admin mode checks for collections 2023-07-28 11:37:14 -04:00
Matej Bačo
f13d70d5be Rename env vars 2023-07-28 10:53:07 +02:00
Matej Bačo
37c0cc122a More PR review changes 2023-07-28 10:27:16 +02:00
Matej Bačo
1bd226ab81 Merge branch 'feat-git-integration' of https://github.com/appwrite/appwrite into feat-git-integration 2023-07-28 09:56:12 +02:00
Matej Bačo
ce98b04348 Address PR reviews 2023-07-28 09:56:07 +02:00
Khushboo Verma
460e07dab0 Moved detection endpoint near listRepos 2023-07-28 13:21:53 +05:30
Khushboo Verma
2c291d53b9 Renamed variables, addressed PR comments 2023-07-28 13:10:19 +05:30
Eldad A. Fux
be4660a4a0
Merge pull request #5884 from appwrite/fix-oauth-endpoint
Remove the OAuth2 Callback endpoints from api group
2023-07-28 10:09:29 +03:00
Steven Nguyen
2621c08c4a
Update OAuth2 params
1. Make code optional so we can show the error via redirect
2. Capture error and error_description params from the OAuth2 provider
2023-07-27 17:19:49 -07:00
Steven Nguyen
a7c9e4bb7e
Improve OAuth2 Error Handling
Update the OAuth2 class to throw an exception if an API call to the
OAuth2 provider fails and update the endpoint to redirect to the
failure url with the information from the OAuth2 provider.
2023-07-27 17:19:49 -07:00
prateek banga
27e0ec339a fix more lint issues 2023-07-27 02:59:06 +05:30
prateek banga
6247e524b6 fix lint issues 2023-07-27 02:27:31 +05:30
prateek banga
e631f393fc fix lint issues and remove sleep from test 2023-07-27 02:23:20 +05:30
Steven Nguyen
611524476b
Merge branch 'master' into feat-master-to-1.4.x 2023-07-26 13:33:49 -07:00
Prateek Banga
5c5a8a9115 format issues 2023-07-27 02:03:17 +05:30
Prateek Banga
54ea98afb5 updated logic to skip checking permission if no change in new document 2023-07-27 02:03:10 +05:30
Prateek Banga
0fc0255a38 Skipping checking permission of relations that are not being updated 2023-07-27 02:02:34 +05:30
prateek banga
301af0d3fe fixes lint issues and adds status in list attributes query support 2023-07-27 01:24:47 +05:30
Prateek Banga
98a226dae9 adds collection and database calls for better error messages 2023-07-27 01:20:16 +05:30
Prateek Banga
a6abc7c4e8 add support of queries in list indexes 2023-07-27 01:19:48 +05:30
Prateek Banga
165268cb71 remove unnecessary db call 2023-07-27 01:17:19 +05:30
Prateek Banga
a842d7eeae fix queries param description 2023-07-27 01:17:10 +05:30
Prateek Banga
ead77d6cad Add support for queries in List attributes endpoint 2023-07-27 01:16:34 +05:30
Steven Nguyen
25016b4cc0
Remove the OAuth2 Callback endpoints from api group
Prevent missing project ID error.
2023-07-26 11:32:28 -07:00
Khushboo Verma
c449aa0a68 Remove functions from installation response model 2023-07-26 15:15:45 +05:30
Bishwajeet Parhi
f160c55ecb Chore: remove encrypt param on update Atrribute and tests as well 2023-07-26 11:25:25 +05:30
Bishwajeet Parhi
a15551368f Merge branch 'master' into feat-add-encrypt-param 2023-07-26 11:20:06 +05:30
Prateek Banga
f7c02d9308 removes extra db call and uses document find method 2023-07-24 23:41:49 +05:30
Matej Bačo
743c214a66 PR review changes 2023-07-24 15:12:36 +02:00
Khushboo Verma
8655d71a67 Minor fixes 2023-07-24 15:41:30 +05:30
Prateek Banga
7d412b4741 adds get db call and get collection call 2023-07-24 12:02:28 +05:30
Matej Bačo
e5adc5772c Add support for all runtime start commands 2023-07-24 08:23:23 +02:00
Khushboo Verma
9484994c4c
Update app/controllers/api/vcs.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-24 02:09:16 +05:30
shimon
ef12b75013 Merge branch 'master' of github.com:appwrite/appwrite into refactor-cache-poc
 Conflicts:
	app/init.php
2023-07-22 17:09:49 +03:00
shimon
bed88baa6c added bucketId to cache::deleteByResource 2023-07-22 17:08:28 +03:00
Matej Bačo
7e386b885c Upgrade console, reword commands into 1 param 2023-07-21 13:52:14 +02:00
Prateek Banga
d569c17764 Merge branch 'master' of https://github.com/appwrite/appwrite into change-use-find-instead-iterating-index-array 2023-07-21 00:49:15 +05:30
Khushboo Verma
e86382ce55 Add vcsState to user collection 2023-07-20 23:38:33 +05:30
Christy Jacob
882698d6e4 chore: update specs 2023-07-20 17:41:28 +04:00
Christy Jacob
c26194e189 Merge branch '1.4.x' of github.com:appwrite/appwrite into disallow-personal-data 2023-07-20 17:19:18 +04:00
Christy Jacob
6cdc8a97b7 chore: update tests 2023-07-20 17:12:41 +04:00
Christy Jacob
0feaf41fcb Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools 2023-07-20 11:53:36 +00:00
Prateek Banga
b700336d45 fix get index route to use find 2023-07-20 14:52:05 +05:30
Steven Nguyen
9908a9021f
Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-19 22:49:51 -07:00
Steven Nguyen
187f3dc6ff
Update get logs APIs to return userId from data
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-19 22:49:51 -07:00
Steven Nguyen
2befa60350
Track a user's last activity
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.

To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
Eldad A. Fux
66fee90af9
Merge pull request #5199 from appwrite/feat-custom-smtp
[FEAT] Custom SMTP and Template support
2023-07-20 07:09:11 +03:00
Christy Jacob
4c8608b49c chore: update naming conventions 2023-07-20 02:24:32 +04:00
Christy Jacob
e493551f8a Merge branch '1.4.x' of github.com:appwrite/appwrite into disallow-personal-data 2023-07-20 01:44:25 +04:00
Christy Jacob
257776a54e fix: failing tests 2023-07-20 01:34:27 +04:00
Torsten Dittmann
28fb6a0c16 fix: generate specs 2023-07-19 15:08:32 +02:00
Torsten Dittmann
978007ca98 fix: run formatter 2023-07-19 14:43:23 +02:00
Torsten Dittmann
500cfdb4c9 fix: remove hotp support for now 2023-07-19 14:40:59 +02:00
Prateek Banga
8328dac86b lint issues 2023-07-19 14:08:02 +05:30
Prateek Banga
131e9658a5 change to use findOne instead of iterating index array 2023-07-19 14:04:35 +05:30
Damodar Lohani
4fd5c72f34 Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
Damodar Lohani
8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Damodar Lohani
14f8cc57af
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:37 +05:45
Damodar Lohani
ff6dd0990d
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:29 +05:45
Eldad A. Fux
9fafd39fef
Merge pull request #5211 from Pranav2612000/fix-5095-trigger-email-subscription-on-email-verification
fix: trigger account subscription event on email verification
2023-07-19 00:24:33 +03:00
Eldad A. Fux
7a2c789c6b
Merge pull request #5745 from vaibhavagarwal220/fix-5220-handle-null-name
fixed null $name error for anonymous user
2023-07-19 00:21:09 +03:00
Eldad A. Fux
b2b1b6e2e4
Merge pull request #5562 from fanatic75/fix-4846-added-expiry-value-to-account-sessions
fix expire field in list account sessions api
2023-07-19 00:17:53 +03:00
Eldad A. Fux
50f258b6db
Merge pull request #5740 from appwrite/fix-create-phone-verification
Fix phone verification secret in events & payload
2023-07-18 23:18:16 +03:00
Eldad A. Fux
9cdf124a81
Merge pull request #5739 from appwrite/fix-anonymous-user
Fix anonymous user
2023-07-18 23:07:52 +03:00
Eldad A. Fux
bee246956c
Merge pull request #5808 from jaivix/fix-5768-pull-request-to-return-team-id-conflict-error
fixed team creation response if teamId already exists
2023-07-18 23:00:31 +03:00
Eldad A. Fux
6f499cfa26
Merge pull request #5567 from fanatic75/fix-4982-expire-sessions-format-for-multiple-api
fixed expire format for phone session, anonymous session, oauth session
2023-07-18 22:57:10 +03:00
Eldad A. Fux
d4ed77b5e8
Merge pull request #5568 from fanatic75/fix-5429-expire-format-fix-for-get-session
fix: expire format for get session api
2023-07-18 22:56:47 +03:00
Eldad A. Fux
3a17f30374
Merge pull request #5566 from fanatic75/fix-5428-fixed-expire-format-for-magic-url-sessions
fix: expire format in magic url sessions
2023-07-18 22:56:35 +03:00
Bishwajeet Parhi
3c15359447 Merge branch 'master' into feat-whitelist-enums 2023-07-18 21:22:48 +05:30
Eldad A. Fux
6bf6bc7dc3
Merge pull request #5743 from appwrite/feature-restrict-project-id-chars
Restrict characters for project ID
2023-07-18 18:06:01 +03:00
Bishwajeet Parhi
8f851aaa53 chore: refactor avatar, flags, credit-cards and update spec 2023-07-18 20:00:19 +05:30
Torsten Dittmann
74308b445e
Merge pull request #5587 from appwrite/feat-user-labels
Add a new labels attribute to the Users collection
2023-07-18 14:59:18 +02:00
Damodar Lohani
8d106a39b0 null safe 2023-07-18 07:05:09 +00:00
jaivik
6380004678
Merge branch 'appwrite:master' into fix-5768-pull-request-to-return-team-id-conflict-error 2023-07-18 10:35:52 +05:30
Eldad A. Fux
11c9066c4d
Merge pull request #5402 from appwrite/fix-chunked-upload
content-range end should be 1 less than file size
2023-07-18 06:55:05 +03:00
Steven Nguyen
fce230dca8
Fix team delete
Ensure all memberships are deleted and the cached users are
invalidated so that the nested memberships will refresh.
2023-07-17 17:21:16 -07:00
Khushboo Verma
3fafefb2c2 Fixed automatic activation of manual deployments 2023-07-14 14:01:31 +05:30
Matej Bačo
cd4e85519c Update console version, fix docs. 2023-07-13 13:42:04 +02:00
jaivix
4db919b42d linting and wording updates based on stnguyen90 feedback 2023-07-13 00:33:38 +05:30
Steven Nguyen
ca6e9a7f1e
Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-12 10:56:24 -07:00
Steven Nguyen
300d916621
Update get logs APIs to return userId from data
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-12 10:27:57 -07:00
Matej Bačo
f236b6539e Add auto-verify logic to createRule 2023-07-12 12:55:33 +02:00
Christy Jacob
e0aa3db21e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data 2023-07-11 19:36:37 +00:00
Bishwajeet Parhi
07df99c817 update description 2023-07-11 19:16:22 +05:30
Damodar Lohani
0cff44b909 update description 2023-07-11 06:41:30 +00:00
Damodar Lohani
1207fb3cb1
Update teams.php 2023-07-11 11:56:42 +05:45
loks0n
074e974481 chore: include secret instead of encoded 2023-07-10 11:14:23 +01:00
Christy Jacob
982373c915 feat: update error in Exception constructor 2023-07-10 08:04:27 +00:00
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
jaivix
a6671a5caa fixed team creation response if teamId already exists 2023-07-09 16:50:09 +05:30
Bishwajeet Parhi
f71fdfb0b9 chore: add encrypt param on update string attr + unit tests 2023-07-08 20:58:41 +05:30
Prateek Banga
f24cf729c3 fixed relationship update bug in two way type 2023-07-07 23:50:06 +05:30
loks0n
7cee36ac5a feat: poc oauth2 ssr 2023-07-06 21:10:52 +01:00
loks0n
f384fc01f8 feat: return encodedSecret in session body 2023-07-06 16:20:56 +01:00
Bishwajeet Parhi
96f1284cbf Merge remote-tracking branch 'upstream/master' into feat-add-encrypt-param 2023-07-06 19:52:50 +05:30
Steven Nguyen
8258d70b78
Update user's search attribute using database filter
Using a database filter is the cleanest approach because it ensures
the logic is applied whenever the user is updated regardless of
whichever endpoint was used.
2023-07-05 12:17:47 -07:00
Matej Bačo
f4da8079e2 Improve VCS indexes 2023-07-01 08:46:21 +02:00
Matej Bačo
3a8f4e5039 Fix failing builds 2023-06-28 13:31:35 +02:00
Matej Bačo
c6e491f2ed Support for external contributors 2023-06-28 10:48:10 +02:00
Matej Bačo
ed5e31a4b3 Disable unauthorized deployments from VCS 2023-06-26 18:47:59 +02:00
Matej Bačo
e6e69b64d3 Rework comment / check creation 2023-06-26 12:26:58 +02:00
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
Torsten Dittmann
1f46d03e8c feat: initial mfa implementation 2023-06-22 15:35:49 +02:00
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
4c68e396c1 feat: update backup time 2023-06-15 14:35:21 +00: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
shimon
57bc7d0584 functions/builds/deletes worker 2023-06-11 17:08:48 +03:00
shimon
fd4f86b1c1 functions/builds/deletes worker 2023-06-11 13:29:04 +03:00
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
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
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
Matej Bačo
966210d58c Update installation model 2023-06-06 09:50:52 +02:00
Damodar Lohani
f373d30a45 formatting 2023-06-05 07:11:53 +00:00
shimon
d820d93ac7 databases worker 2023-06-04 19:25:56 +03: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
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
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
shimon
a6768bdc32 saving file output to cache instead of decoding data to json 2023-05-31 14:41:56 +03: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
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
Bishwajeet Parhi
69504bfaac add encrypt param 2023-05-30 12:30:10 +05:30
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
shimon
f1466c05cf refactor workers 2023-05-29 16:58:45 +03: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
shimon
432ee72071 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	app/cli.php
	app/console
	app/controllers/api/account.php
	app/controllers/api/functions.php
	app/controllers/api/teams.php
	app/controllers/shared/api.php
	app/init.php
	app/worker.php
	app/workers/builds.php
	app/workers/certificates.php
	app/workers/deletes.php
	app/workers/functions.php
	app/workers/mails.php
	src/Appwrite/Event/Event.php
	src/Appwrite/Event/Mail.php
2023-05-22 18:41:24 +03: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
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
6885e6ea0e linter fix 2023-05-01 17:51:31 +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
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
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
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
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
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
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
Matej Bačo
bf3340a3c6 Add body & headers to sync response 2023-02-27 13:43:10 +01:00
Matej Bačo
69aa59a1d6 Add more log details to execution 2023-02-27 11:24:21 +01:00
Matej Bačo
d7c5d8bb46 Remove response body & headers 2023-02-27 11:20:37 +01:00
Torsten Dittmann
fb3a7bc0e9 fix: update attribute endpoints params 2023-02-27 13:15:11 +05:30
Torsten Dittmann
ec7e28b3e7 fix: databases update attributes events 2023-02-26 21:14:22 +05:30
Torsten Dittmann
740e1956b5 revert: style changes 2023-02-26 18:07:44 +05:30
Torsten Dittmann
8ae974e6dd feat: database update attribute endpoints 2023-02-26 18:03:18 +05:30
Damodar Lohani
dd9eab65c8
Merge branch 'master' into feat-reset-sdk-account-model 2023-02-26 10:46:07 +05:45
Torsten Dittmann
8b7dd6eaa6
Merge pull request #5083 from singhbhaskar/fix-5070-session-create-event-doesnt-show-in-Appwrite-Console-user-activity-for-OAuth-Sessions
Adding missing audits.userId to routes
2023-02-24 15:29:21 +05:30
Torsten Dittmann
dacb713450
Merge branch 'master' into fix-4982-email-session-expire-string-formattz 2023-02-24 15:23:33 +05:30
Matej Bačo
464f88634c Add function logging toggle 2023-02-24 10:24:20 +01:00
Steven Nguyen
c5ebcbab2b
Add offline support labels on endpoints 2023-02-23 14:47:45 -08:00
Matej Bačo
068acef0f6 Add unique url generator 2023-02-22 16:07:34 +01:00
Christy Jacob
10b7503d62 feat: support case insensitive emails 2023-02-22 17:09:22 +05:30
Matej Bačo
0cf6a50c3c Code cleanup 2023-02-21 11:31:55 +01:00
Matej Bačo
8dec7e6040 Fix custom ID support 2023-02-21 11:30:16 +01:00
Damodar Lohani
6b6f9edbd6
Merge branch '1.3.x' into feat-13x-master-sync 2023-02-21 07:38:46 +05:45
Matej Bačo
2c5367f779 Update specs, add url to functions 2023-02-20 14:11:29 +01:00
Damodar Lohani
104d99e636 fix default value error 2023-02-20 07:08:27 +00:00
Jake Barnby
6635ebf27f
Remove indexed attribute query requirement 2023-02-20 19:29:25 +13:00
Damodar Lohani
81add700c6 fix error 2023-02-20 04:01:08 +00:00
Damodar Lohani
c990f686dd Merge remote-tracking branch 'origin/1.3.x' into feat-password-dictionary 2023-02-20 03:56:48 +00:00
Damodar Lohani
4948aedfb5 Merge remote-tracking branch 'origin/master' into 1.3.x 2023-02-20 03:51:54 +00:00
Damodar Lohani
9f3e815167
Merge branch 'feat-password-history' into feat-password-dictionary 2023-02-20 07:56:17 +05:45
Damodar Lohani
4e1a4b961c update attribute errors 2023-02-20 01:51:56 +00:00
Damodar Lohani
7e055c585d formatting fix 2023-02-20 01:37:33 +00:00
Damodar Lohani
452ee5c086 update dictonary validator 2023-02-20 01:34:05 +00:00
Eldad A. Fux
6696373d28
Merge pull request #4974 from appwrite/lohanidamodar-patch-3
Oauth2 check if provider is enabled
2023-02-19 08:53:41 +02:00
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Matej Bačo
04e734f8af Console UI update 2023-02-15 15:50:18 +01:00
Matej Bačo
f6ae0a05fa Stream response support 2023-02-15 09:36:20 +01:00
Damodar Lohani
2d702b62b2 switch SDK response model from account to user 2023-02-15 00:10:54 +00:00
Matej Bačo
d2ffa3e7c6 Fix cold-start bug 2023-02-14 11:35:49 +00:00
Matej Bačo
20bc1ab00e Merge remote-tracking branch 'origin/feat-db-pools' into feat-executor-v3 2023-02-14 11:16:28 +00:00
Matej Bačo
e4d784c871 Add new V3 parameters 2023-02-14 11:01:38 +00:00
Damodar Lohani
3215e8d8df Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-14 04:54:02 +00:00
Damodar Lohani
71d2c45a92 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-14 04:35:19 +00: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
shimon
794f566fae addressing comments 2023-02-06 16:03:45 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
Bhaskar Singh
e9d53cbc46 Adding missing audits.userId to routes 2023-02-05 12:32:56 +05:30
Matej Bačo
75c7d94633 Implement Open Runtimes v3 support 2023-02-02 19:21:00 +00:00
shimon
1ac935077b addressing comments 2023-02-02 20:16:01 +02:00
shimon
abdd5f016a addressing comments 2023-02-02 13:55:23 +02:00
Damodar Lohani
daa121262b fix boolean param 2023-01-30 06:06:52 +00:00
Damodar Lohani
91abc2b079 fix SDK method 2023-01-30 06:06:05 +00:00
Damodar Lohani
2070cccd54 update description 2023-01-30 06:05:32 +00:00
munyoudoum
ff5c5c7138 fix(api/account): formatTz for expire property in POST email sessions 2023-01-30 00:32:05 +07:00
Damodar Lohani
31b4c73b16
use variable 2023-01-29 15:30:39 +05:45
Christy Jacob
e5a6db6133
Merge pull request #4890 from appwrite/doc-clarify-permission
Update permission and ID param descriptions for grammar and clarity.
2023-01-28 04:15:20 +05:30
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
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
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
Damodar Lohani
e70408094a Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-25 10:38:29 +00:00
Christy Jacob
4ea82fb2d0
Merge pull request #4795 from appwrite/fix-compression-logic
feat: use constants in switch case
2023-01-23 17:50:33 +05:30
shimon
213c4392a1 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-internalId-collections-db-pools 2023-01-22 17:21:21 +02:00
Vincent (Wen Yu) Ge
b25dc38a63 clarify custom ID vs unique ID 2023-01-20 22:22:16 +00:00
Steven
e14f4404e0
Merge branch 'master' into feat-4803-flutter-web-platform-type 2023-01-20 12:04:58 -08:00
Christy Jacob
4142ffdb70 feat: update account codes 2023-01-19 17:26:41 +05:30
Christy Jacob
30690f6bc4
Merge pull request #4885 from appwrite/revert-4844-feat-build-size
Revert "Feat: Build output size"
2023-01-19 15:04:35 +05:30
Damodar Lohani
1466e7b770
Update app/controllers/api/teams.php
Co-authored-by: Vincent (Wen Yu) Ge <vincent@appwrite.io>
2023-01-18 09:33:47 +05:45
Bradley Schofield
4cc135e8e2
Merge branch 'master' into fix-test-warnings 2023-01-17 10:16: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
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
fe472e5b36 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-password-history 2023-01-16 05:04:13 +00:00
shimon
a852672bff Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2023-01-15 17:18:32 +02:00
shimon
a0554ca91e usage test 2023-01-15 12:25:03 +02:00
Vincent (Wen Yu) Ge
45aea5b941 Update branch with master 2023-01-13 14:53:54 -05:00
Vincent (Wen Yu) Ge
92a384e31c Fix descriptions for ID and regen 1.2.x specs 2023-01-13 14:27:08 -05: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
Damodar Lohani
afaa64b54b fix invitation after merge 2023-01-13 06:05:16 +00:00
Damodar Lohani
3146ec363d
Merge branch 'master' into feat-team-invite-improvements 2023-01-13 11:39:20 +05:45
shimon
9a2f734d3a compose.lock 2023-01-12 18:06:20 +02:00
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
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
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
Christy Jacob
837bad59a4 feat: add tests 2023-01-11 18:10:49 +05:30
Christy Jacob
71150ced1a feat: add tests 2023-01-11 18:05:07 +05:30
Christy Jacob
2bc85e4708 feat: linter fixes 2023-01-11 17:12:29 +05:30
Christy Jacob
9f9daf900a feat: review comments 2023-01-11 17:11:33 +05:30
Christy Jacob
e3a2135515 feat: linter fixes 2023-01-10 20:18:45 +05:30
Christy Jacob
59adaff541 feat: linter fixes 2023-01-10 14:23:08 +05:30
Damodar Lohani
d2ca803753 add provider enabled check in the redirect 2023-01-10 04:52:21 +00:00
Christy Jacob
3f992b316e feat: add code to account creation endpoint 2023-01-09 22:52:15 +05:30
Christy Jacob
b751af6db9 feat: add code to account creation endpoint 2023-01-09 22:46:02 +05:30
Christy Jacob
78a057ebf9 feat: add code to account creation endpoint 2023-01-09 22:39:58 +05:30
Damodar Lohani
b06ce91297 fix formatting 2023-01-09 11:11:55 +00:00
Damodar Lohani
8d40220114 remove var dumps 2023-01-09 11:10:50 +00:00
Damodar Lohani
11b3739360 fix when either email or phone were empty 2023-01-09 11:10:02 +00:00
Damodar Lohani
a2642ecc67 send phone invite only if email is empty 2023-01-09 10:59:28 +00:00
Damodar Lohani
b238a1ef2d fix format 2023-01-09 10:44:28 +00:00
Damodar Lohani
87c7e76a16
Oauth2 check if provider is enabled 2023-01-09 16:20:03 +05:45
Damodar Lohani
34b2280207 fix format 2023-01-09 09:18:13 +00:00
Damodar Lohani
8f351ad7b2 set email and phone attribute once user found 2023-01-09 09:17:39 +00:00
Damodar Lohani
bc7b98821a fix error 2023-01-09 08:56:18 +00:00
Damodar Lohani
32b8a1edfe fix param order in action 2023-01-09 08:44:02 +00:00
Damodar Lohani
29ef377b60 refactor privileged/app user check 2023-01-09 08:29:33 +00:00
Damodar Lohani
63a981591d fix error and param order 2023-01-09 08:25:15 +00:00
Damodar Lohani
a812bfb686 format fix 2023-01-09 05:55:07 +00:00
Damodar Lohani
2e154c06bc different test and messaging integration as well 2023-01-09 05:46:02 +00:00
Matej Bačo
ccc9432219 Merge branch 'master' into fix-1.2.x-conflicts 2022-12-27 08:29:10 +01:00
Damodar Lohani
a0a08b3588 fix make password optional 2022-12-27 07:13:39 +00: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
a9078cded5 rename resource 2022-12-26 09:24:51 +00:00
Damodar Lohani
abde948b43 fix typo 2022-12-26 06:03:43 +00:00
Damodar Lohani
276032b3f7 error fix 2022-12-26 05:55:02 +00:00
Damodar Lohani
574ffa4d4b check dictionary is enabled before checking password 2022-12-26 05:52:49 +00:00
Damodar Lohani
e9710bdb76 formatting fix 2022-12-26 05:47:20 +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
shimon
e533f8f067 minor adjustments 2022-12-25 19:07:03 +02:00
shimon
0ac5e293b6 add internalId to collections 2022-12-25 14:13:52 +02:00
shimon
586c7fac7c add internalId to collections 2022-12-25 14:07:54 +02:00
shimon
f3dcd6a79f add internalId to collections 2022-12-25 13:06:25 +02:00
shimon
a8fe99def0 add internalId to collections 2022-12-25 12:17:49 +02:00
Damodar Lohani
2603f91a6a use password history on account create and update password 2022-12-23 07:19:35 +00:00
shimon
b89e04f561 add internalId to collections 2022-12-22 19:18:54 +02:00
shimon
20f9b0c655 refactor usage worker 2022-12-22 15:02:41 +02:00
Jake Barnby
27b1ae912a
Merge remote-tracking branch 'origin/fix-max-session-method' into feat-graphql-support 2022-12-22 21:11:35 +13:00
Jake Barnby
43c850bd9b
Deduplicate SDK method name 2022-12-22 21:03:06 +13:00
shimon
5e394fed5d refactor usage worker 2022-12-21 21:03:09 +02:00
shimon
c02ef7b340 adding build.storage usage 2022-12-21 11:22:29 +02:00
fogelito
b301a64dc4 clean up some use classes not in use 2022-12-21 10:02:22 +02:00
shimon
c6b3fb39b1 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats
 Conflicts:
	app/console
	app/workers/builds.php
	docker-compose.yml
	src/Appwrite/Usage/Stats.php
2022-12-21 09:58:22 +02:00
Jake Barnby
524a6db72d
Hide get method from SDKs 2022-12-21 20:45:34 +13:00
Vincent (Wen Yu) Ge
8239113b95 Grammarly check 2022-12-20 21:43:55 +00:00
Vincent (Wen Yu) Ge
37fc5114ab Update permission param descriptions for grammar and clarity. 2022-12-20 21:39:41 +00:00
Bradley Schofield
c0daed3644 Refactor names and cleanup code 2022-12-20 16:11:30 +00:00
Bradley Schofield
284ce42177 Merge branch 'feat-db-pools' into refactor-schedulers-workers 2022-12-20 13:01:27 +00:00
Christy Jacob
ff9bccf1ff
Revert "Feat: Build output size" 2022-12-20 18:26:56 +05:30
Bradley Schofield
b0c8e8980d Continue removing resque 2022-12-20 12:48:55 +00:00
Bradley Schofield
886a1a2abb Port Deletes and Builds worker 2022-12-20 12:22:58 +00:00
Bradley Schofield
3e66d1a549 Rename certificate queue 2022-12-20 11:21:07 +00:00
Christy Jacob
cb0a927e34
Merge pull request #4050 from geisterfurz007/fix-3916-empty-payload-returned-as-object
fix: empty payload returned as list
2022-12-20 13:37:24 +05:30
Christy Jacob
6b31edfdef
Merge pull request #4506 from karniv00l/user-not-found-exception
Fix User not found exception
2022-12-20 13:25:35 +05:30
shimon
18f192ed65 benchmarks 2022-12-19 10:25:49 +02:00
Jake Barnby
56a903577f
Remove docs false 2022-12-19 20:51:34 +13:00
Jake Barnby
11ef344216
Remove get method from SDKs 2022-12-19 19:07:04 +13:00
Damodar Lohani
5b1c54c440 fix suggestions 2022-12-19 05:07:41 +00:00
Damodar Lohani
95791c85ff
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-12-19 10:49:18 +05:45
Damodar Lohani
30ece2d36a validator for password history 2022-12-18 09:08:51 +00:00
Damodar Lohani
f7dd37a9d1 format fix 2022-12-18 08:54:53 +00:00
Damodar Lohani
d098c8c698 use array slice 2022-12-18 08:47:02 +00:00
Damodar Lohani
3f26e66d26 not add random password to history 2022-12-18 08:35:12 +00:00
Damodar Lohani
15f52b933b fix excaping 2022-12-18 08:34:57 +00:00
Damodar Lohani
ba77b35f05
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-12-18 14:05:55 +05:45
Matej Bačo
8f363eae7a Fix bugs 2022-12-18 08:35:16 +01:00
Damodar Lohani
4abc30eed1 refactor: fix formatting issues 2022-12-18 06:31:14 +00:00
Damodar Lohani
6612e6edf0 fix: password verify 2022-12-18 06:28:19 +00:00
Damodar Lohani
0eae73e7b8 fix: password comparison 2022-12-18 06:27:41 +00:00
Damodar Lohani
51ad9c6479 fix: get history limit before adding password to history 2022-12-18 04:38:27 +00:00
Damodar Lohani
0b1b7b8170 feat: check history limit 2022-12-16 10:47:08 +00:00
Damodar Lohani
cfd5a91c43 feat: project endpoint to set password history limit 2022-12-16 10:37:49 +00:00
Damodar Lohani
61e03eeedf add new password to the history 2022-12-16 10:29:20 +00:00
Damodar Lohani
8e7b89ec03 feat: check password history 2022-12-16 10:22:39 +00:00
Damodar Lohani
12302d5b3d refactor: remove empty param 2022-12-16 06:34:03 +00:00
Damodar Lohani
b7d17e82da fix: membership invite email 2022-12-16 06:15:23 +00:00
Damodar Lohani
495da1bfd4 fix: template path 2022-12-16 06:11:12 +00:00
shimon
7601c9047b e2e tests 2022-12-15 11:45:43 +02:00
Damodar Lohani
5d195659bd refactor: mails refactor 2022-12-15 09:22:05 +00:00
shimon
285bfe9fd7 e2e tests 2022-12-15 09:56:06 +02:00
Jake Barnby
d107b92748
Remove debug flags on production instead of abuse enabled 2022-12-15 13:44:23 +13:00
Jake Barnby
64b74d4100
Add alias route to allow for multiple SDK method names 2022-12-15 13:36:47 +13:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
shimon
961c408885 metric negative / positive values in worker 2022-12-14 09:34:04 +02:00
Damodar Lohani
5741a960c7 refactor: use refactored maile event and worker 2022-12-14 06:35:04 +00:00
Bradley Schofield
21afa43127 Port Certificates to new Queue system 2022-12-13 11:16:12 +00:00
Jake Barnby
ff33068906
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support 2022-12-13 21:37:21 +13:00
shimon
141d55bd36 build+functions worker 2022-12-13 09:35:05 +02:00
Jake Barnby
5e9eccacd1
Allow create deployment from explorer 2022-12-13 19:49:20 +13:00
Jake Barnby
aa7e326ce9
Allow file uploads from explorer 2022-12-13 15:43:29 +13:00
shimon
d80bd75b6d usage cleanup 2022-12-12 09:54:53 +02:00
Damodar Lohani
c60a3a66a0 feat: session limit separate default and max value 2022-12-12 05:07:18 +00:00
shimon
3242bd9b2a Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2022-12-11 20:07:20 +02:00
shimon
52c2cefdb5 users usage 2022-12-11 11:06:19 +02:00
shimon
ba04f845da databases usage 2022-12-11 11:00:00 +02:00
Damodar Lohani
e0be09ded6 refactor: use session group for session limit 2022-12-11 08:33:52 +00:00
Damodar Lohani
65bacc6983 fix: naming and use constant 2022-12-11 07:13:11 +00:00
Damodar Lohani
f070f0974a session limit check on shutdown 2022-12-09 11:33:26 +00:00
shimon
4c6b6d00e8 functions api usage 2022-12-07 19:56:38 +02:00
shimon
5d63d2f199 functions api usage 2022-12-07 19:01:25 +02:00
Christy Jacob
69d5a25c62 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-12-07 15:39:44 +04:00
shimon
c9b6b3bf8b storage api usage 2022-12-07 12:48:18 +02:00
Damodar Lohani
27d7f4f083 fix (projects): session limits
Set max session limits to 100 and default session limits to 10
2022-12-06 10:52:17 +00:00
Damodar Lohani
1da3f7770f feat (projects): auth session limit
Add endpoint on project to set max number of sessions for project users.
2022-12-06 10:45:04 +00:00
Jake Barnby
b6723b7c83
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-12-06 20:38:09 +13:00
shimon
d3bc4da15c Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2022-12-04 10:35:56 +02:00
Christy Jacob
77d4627d42 feat: use constants in switch case 2022-11-26 19:45:29 +04:00
Jake Barnby
f44a642998
Get from env in param call 2022-11-25 17:27:19 +13:00
Jake Barnby
cefd5660b9
Merge remote-tracking branch 'origin/master' into fix-region-parameter
# Conflicts:
#	CHANGES.md
2022-11-25 10:42:27 +13:00
Jake Barnby
de38fed306
Fix empty check 2022-11-25 10:29:22 +13:00
Matej Bačo
8b71e318c2 Fix tests bug 2022-11-24 11:55:49 +00:00
Matej Bačo
efe093ce3c
Fix unsaved changes in team inv 2022-11-24 12:35:26 +01:00
Jake Barnby
bb01a6d817
Get default region param from env 2022-11-24 11:23:59 +13:00
Christy Jacob
f239296059 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-11-23 19:05:19 +00:00
Steven Nguyen
01556184c7
Fix the default oauth paths to match the route 2022-11-23 09:57:49 -08:00
Torsten Dittmann
b819381bed
Merge branch 'master' into fix-623-locale-api-unknown-continent 2022-11-23 18:52:39 +01:00
Torsten Dittmann
991d8749b2
Merge pull request #4757 from gepd/null-failure
bug fix: failure status shoudn't be nulled
2022-11-23 18:51:02 +01:00
Torsten Dittmann
2e9087285d
Merge branch 'master' into fix-function-status-missing 2022-11-23 18:47:15 +01:00
Eldad Fux
95e835a902 Deprecated Usage stats 2022-11-23 19:08:42 +02:00
Damodar Lohani
1a00e3829a
fix hourly stats 2022-11-23 13:40:51 +05:45
Jake Barnby
bd0139ef3b
Make region optional with default of 'default' 2022-11-23 18:16:57 +13:00
Alex Patterson
ad1587872b remove dup line 2022-11-22 18:49:31 -05:00
gepd
64ba896738
bug fix: failure status shoudn't be nulled 2022-11-22 17:05:04 -03:00
Matej Bačo
d2362aeab0 Improve performance 2022-11-21 11:43:20 +00:00
Matej Bačo
831960245f Permission bug fix 2022-11-21 11:20:52 +00:00
Matej Bačo
0ee49e7895 Fix missing execution status 2022-11-21 09:38:36 +00:00
Matej Baco
91de1cbcf3 Fix bug 2022-11-18 15:22:46 +01:00
Matej Baco
5ec548cc06 Fix more failing tests 2022-11-18 14:13:33 +01:00
Matej Baco
26ea9d675a Linter fix 2022-11-18 08:13:22 +01:00
Matej Baco
418a432d6c Merge branch 'feat-db-pools' into fix-init-retry 2022-11-18 08:10:11 +01:00
Christy Jacob
b30571dcd0 chore: update submodule 2022-11-18 00:43:12 +05:30
Christy Jacob
373e230ab0 fix: issues with usage 2022-11-18 00:28:57 +05:30
Christy Jacob
71bb70dec4 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-add-console 2022-11-17 23:27:26 +05:30
Christy Jacob
c4a5c73717 feat: use new storage library 2022-11-17 23:13:59 +05:30
Christy Jacob
e0c363e8e5 feat: add new console 2022-11-17 22:51:55 +05:30
Christy Jacob
080abbbb79 Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console 2022-11-17 20:26:10 +05:30
Christy Jacob
878021b9a3 feat: disable auth on console project 2022-11-17 18:20:17 +05:30
Jake Barnby
163cbc5052
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.json
#	composer.lock
2022-11-17 21:41:56 +13:00
Christy Jacob
b989a35b62 feat: add todos 2022-11-17 08:04:05 +00:00
Christy Jacob
4f31fb5dc8 feat: linter 2022-11-17 07:46:00 +00:00
Christy Jacob
4271e34b39 feat: review comments 2022-11-17 07:44:54 +00:00
Christy Jacob
261830c122 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-support-dsn 2022-11-17 06:43:49 +00:00
Matej Baco
2220222f48 Merge branch 'feat-db-pools' into fix-init-retry 2022-11-16 20:43:31 +01:00
Matej Baco
762d52bca8 Fix failing tests 2022-11-16 20:39:35 +01:00
Christy Jacob
a233a30d28
Merge pull request #4691 from appwrite/feat-schedules-deletions
Deleted functions
2022-11-16 20:49:14 +05:30
shimon
c67852a7fb Deleted functions
schedules clean up
2022-11-16 14:51:43 +02:00
Matej Baco
3e325afb61 Revert unnessessary changes 2022-11-16 13:44:14 +01:00
Matej Baco
44875e2d18 QA review changes 2022-11-16 11:33:11 +01:00
shimon
6b88f66d14 removed pools injection in functions controller 2022-11-16 10:46:47 +02:00
shimon
4e3bcd6cd0 Authorization::skip added 2022-11-16 10:41:57 +02:00
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	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/init.php
#	app/tasks/sdks.php
#	composer.lock
#	docker-compose.yml
2022-11-16 19:37:35 +13:00
Jake Barnby
dd6c5c056f
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CHANGES.md
2022-11-16 19:31:40 +13:00
Christy Jacob
8b0a78bb36 fix: function events and linter 2022-11-16 11:00:57 +05:30
Christy Jacob
4a92db4dc3 feat: check async execution 2022-11-16 09:47:46 +05:30
Matej Baco
6bf370a058 QA bug fixes 2022-11-15 19:43:40 +01:00
Matej Baco
44a82de09b Refactor func event triggering 2022-11-15 19:13:17 +01:00
Torsten Dittmann
912636b54c Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 18:22:49 +01:00
Matej Baco
eb47894970 Merge branch 'refactor-scheduler' into refactor-functions-worker 2022-11-15 17:37:04 +01:00
shimon
0d79f19dcd addressing some comments 2022-11-15 18:14:52 +02:00
shimon
8bcf349c38 addressing some comments 2022-11-15 18:03:42 +02:00
shimon
ee0950449a Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-15 17:17:58 +02:00
shimon
18618b8e8b cancel cache via avatar::initials 2022-11-15 17:17:35 +02:00
Torsten Dittmann
ef1e5a9674 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 15:36:25 +01:00
shimon
390fbc52eb minor changes 2022-11-15 16:33:43 +02:00
Christy Jacob
98fbe18ac4 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into refactor-scheduler 2022-11-15 12:13:44 +00:00
Bradley Schofield
a51288da57 Update projects.php 2022-11-15 10:25:34 +00:00
Bradley Schofield
64b725a6f7 Update Defaults 2022-11-15 10:19:35 +00:00
Torsten Dittmann
aea13bad72 Merge branch 'chore-prepare-1-1-0' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-14 22:54:23 +01:00
Christy Jacob
3ae1d9b8e6 feat: run linter 2022-11-15 00:17:44 +05:30
Christy Jacob
d7d41b4b6b feat: move project endpoint to another service 2022-11-14 23:52:04 +05:30
Bradley Schofield
3c71164741 Merge branch '1.1.x' into feat-implement-session-length-api 2022-11-14 15:30:38 +00:00
Bradley Schofield
a14ab321bf
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 15:18:40 +00:00
Torsten Dittmann
310ff90d22 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-14 15:57:40 +01:00
Torsten Dittmann
465dad522e fix: remove unnecessary files 2022-11-14 15:31:24 +01:00
Bradley Schofield
a19e668d79 Update storage.php 2022-11-14 13:11:43 +00:00
Bradley Schofield
c76057fd37
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 09:54:49 +00:00
Bradley Schofield
36d4719a3b
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 09:54:40 +00:00
Bradley Schofield
0b883df5ec Fix Tests 2022-11-14 09:42:18 +00:00
Bradley Schofield
cdb4c60c3c Run Linter 2022-11-14 09:33:49 +00:00
Bradley Schofield
66b805829c Move authDuration into auths attribute in project 2022-11-14 09:30:45 +00:00
Bradley Schofield
f6b7e0392b Give auth duration it's own endpoint 2022-11-14 09:15:55 +00:00
shimon
180262d166 Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-11 13:18:33 +02:00
shimon
745ae7a4c8 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-scheduler 2022-11-10 20:07:32 +02:00
shimon
aef565c8ff addressing comments 2022-11-10 18:40:12 +02:00
shimon
f9671ee855 enabling file permissions
via cache preview
2022-11-10 12:08:01 +02:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
shimon
1761b77d0f function worker 2022-11-09 19:01:43 +02:00
Bradley Schofield
a0ab934328 Fix another null warning 2022-11-09 13:23:14 +00:00
Bradley Schofield
29c30a361b Fix null warnings
- Fixed Avatars isset operator
- Added isset operator to openSSL data in files
- dns_get_record does not throw errors, instead it logs a warning and returns false. Altered code accordingly. PHP Bug Report: https://bugs.php.net/bug.php?id=73149
-
2022-11-09 11:45:15 +00:00
shimon
9d641b985a tidy up 2022-11-08 16:00:39 +02:00
Matej Bačo
940eee0562 Merge remote-tracking branch 'origin/feat-decouple-executor' into feat-db-pools-opr 2022-11-08 12:39:25 +00:00
Matej Bačo
d275fa0111 Fix tests 2022-11-08 12:34:14 +00:00
Torsten Dittmann
4befb19c35 feat: add databases and buckets to projects usage 2022-11-08 13:09:18 +01:00
Matej Bačo
a52ff7372a Add Open Runtimes Executor 2022-11-08 08:49:45 +00:00
shimon
3a651adea5 replacing offset with pagination 2022-11-07 17:42:08 +02:00
shimon
711d8061a6 replacing offset with pagination 2022-11-07 17:30:22 +02:00
Christy Jacob
f5484d4548 feat: update mariadb images 2022-11-07 19:54:50 +05:30
Bradley Schofield
842185e45d Update projects.php 2022-11-07 11:58:57 +00:00
shimon
6f9dcae858 queue 2022-11-07 12:37:07 +02:00
shimon
ef7b53fbc7 queue 2022-11-06 23:41:33 +02:00
shimon
ed505fba7c queue 2022-11-06 15:10:26 +02:00
Bradley Schofield
4dfafd1169 Merge branch 'master' into feat-implement-session-length-api 2022-11-04 16:11:38 +00:00
Bradley Schofield
e1f9a8e0ce Clean up a couple things and fix tests 2022-11-04 14:48:29 +00:00
Bradley Schofield
4cfc3b3a7f Update authDuration fallback value 2022-11-04 10:12:02 +00:00
Bradley Schofield
94676a6c16 Alter sessionVerify to remove expire 2022-11-04 09:50:59 +00:00
Jake Barnby
a47bfe71bf
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	composer.json
#	composer.lock
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-04 21:32:57 +13:00
Eldad Fux
1ff53bc82a Merge branch 'master' of https://github.com/appwrite/appwrite into feat-fixes-for-pools 2022-11-04 07:26:35 +02:00
shimon
bc631d926e ticker 2022-11-04 07:12:08 +02:00
Eldad Fux
f6ae1fedd2 Fixed broken call 2022-11-03 22:24:03 +02:00
Eldad A. Fux
44ca7d9459
Merge pull request #4631 from appwrite/feat-fix-account-naming
Updated titles on account routes
2022-11-03 18:19:41 +02:00
Eldad Fux
103469928e Updated routes 2022-11-03 17:24:32 +02:00
Bradley Schofield
4b8287c097 Remove 'expire' from sessions 2022-11-03 15:03:39 +00:00
Christy Jacob
8e99c44c59 Merge branch 'master' of github.com:appwrite/appwrite into sync-1.2.x 2022-11-02 20:39:20 +05:30
Damodar Lohani
b66f932b3b Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-11-02 08:43:12 +00:00
Jake Barnby
0827d59f21
Merge remote-tracking branch 'origin/1.1.x' into fix-missing-deployment-attributes
# Conflicts:
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-02 13:33:10 +13:00
Vincent (Wen Yu) Ge
a8a23fb8eb Merge branch 'master' into doc-unique-id 2022-11-01 17:53:48 +00:00
Christy Jacob
b2d884e329 Merge branch 'master' of github.com:appwrite/appwrite into 1.1.x 2022-11-01 22:21:19 +05:30
Bradley Schofield
cddacfbb78 Handle Eldad's Comments 2022-11-01 14:43:18 +00:00
Bradley Schofield
5dc8a2dee0 Add Tests and fix bugs 2022-11-01 11:15:45 +00:00
Jake Barnby
8a4fd3307d
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.json
#	composer.lock
2022-11-01 11:38:23 +13:00
geisterfurz007
e891424c17 fix: empty payload deleting single user session 2022-10-31 21:01:49 +01:00
Bradley Schofield
d34359fd49 Implement Variable Session Duration 2022-10-31 14:54:15 +00:00
Christy Jacob
aff7c59097 feat: update database library 2022-10-31 12:02:51 +00:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Damodar Lohani
4086ba93ad Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-10-31 06:36:26 +00:00
Jake Barnby
049e3a2646
Add missing status, buildStdout, buildStderr to getDeployment 2022-10-31 18:11:55 +13:00
Christy Jacob
269266127d feat: update db library 2022-10-28 14:30:31 +05:30
Jake Barnby
db49e962f4
Use abuse status instead of dev/prod for graphql abuse check 2022-10-28 20:12:11 +13:00
Jake Barnby
89b4d0026a
Move shutdown hook to graphql controller 2022-10-28 10:04:31 +13:00
Jake Barnby
e632731c4e
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support 2022-10-27 12:24:57 +13:00
Torsten Dittmann
eb31bfb78e
Merge pull request #4418 from appwrite/feat-deployment-buildtime
Add build time to deployments
2022-10-26 18:42:53 +02:00
Christy Jacob
9165da14b7 feat: add support for the new DSN class 2022-10-26 12:16:22 +05:30
Christy Jacob
2d6a00e56f Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-db-pools 2022-10-25 19:26:23 +05:30
Christy Jacob
503bd53a47 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-mysql-test 2022-10-25 13:48:59 +00:00
Jake Barnby
2f444ead34
Revert "Review revert unrelated change"
This reverts commit bf064fa5c9.
2022-10-25 18:31:51 +13:00
Jake Barnby
e3b5919e40
Review doc fixes 2022-10-25 15:53:15 +13:00
Jake Barnby
bf064fa5c9
Review revert unrelated change 2022-10-25 15:44:19 +13:00
Torsten Dittmann
461c12c7fe
Merge pull request #3701 from appwrite/feat-oauth-improvements
Feat: OAuth improvements
2022-10-24 17:57:40 +02:00
Vincent (Wen Yu) Ge
9a1f54baf1
Merge branch 'master' into doc-unique-id 2022-10-21 17:43:52 -04:00
Damodar Lohani
dfa35e0a0b fix periods on usage endpoints 2022-10-21 05:45:25 +00:00
Eldad Fux
27c4e24fa5 Unused classes 2022-10-21 08:41:17 +03:00
Eldad Fux
54469e9b4d Unused classes 2022-10-21 08:41:12 +03:00
Damodar Lohani
a7e1e5f25f fix period 2022-10-21 01:40:33 +00:00
Eldad Fux
e5c62c6730 Fixed usage of DSN database 2022-10-19 16:55:58 +03:00
Eldad Fux
d51c379514 Fixed linter errors 2022-10-19 11:35:30 +03:00
Jake Barnby
a2b1941a47
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	composer.json
#	composer.lock
#	docs/references/teams/list-teams.md
2022-10-19 13:17:56 +13:00
Eldad Fux
4fe5c0dd1d Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-18 17:29:21 +03:00
Christy Jacob
6bfb76b620 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-18 07:57:34 +00:00
Eldad Fux
65e004f145 Fixed health API and add new test endpoints 2022-10-17 14:43:57 +03:00
Damodar Lohani
f78cb09694 Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-17 06:55:01 +00:00
Jake Barnby
cecc6dada2
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# 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/init.php
#	composer.json
#	composer.lock
2022-10-17 12:04:13 +13:00
Eldad Fux
fe29e58f22 Fixed doctor health checks 2022-10-16 20:48:53 +03:00
Eldad Fux
224d526c84 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-16 12:24:53 +03:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Eldad Fux
d5849c39f3 Removed unused namespaces 2022-10-15 21:57:55 +03:00
Eldad Fux
0506dbb30e Adapted HTTP API 2022-10-15 17:14:17 +03:00
Piotr Rogowski
833e3f8ce1
Fix User not found exception 2022-10-14 18:17:00 +02:00
Damodar Lohani
be3743e227 fix renamed function 2022-10-14 11:24:37 +00:00
Damodar Lohani
f86a5b5fcd fix renamed methods 2022-10-14 11:12:59 +00:00
Torsten Dittmann
d0aedf33ba
Merge pull request #4058 from appwrite/fix-deprecate-team-deletion-with-project
Deprecate team deletion with project
2022-10-14 11:19:27 +02:00
Jake Barnby
a99ade13c0
Don't flatten batch results 2022-10-14 14:33:42 +13:00
Jake Barnby
742fc98cfc
Controller cleanup 2022-10-14 14:32:16 +13:00
Jake Barnby
44e4f1e05b
Make param errors consistent 2022-10-14 13:18:08 +13:00
Jake Barnby
e4673aaa50
Fix requests using x-sdk-graphql header 2022-10-13 17:33:55 +13:00
Jake Barnby
4e60db0598
Use upstream raw payload function 2022-10-13 16:56:12 +13:00
Jake Barnby
143c53cb20
Always set 200 status code to match spec 2022-10-13 14:52:08 +13:00
Jake Barnby
5debe2c13c
Alias + name fixes 2022-10-12 20:20:44 +13:00
Jake Barnby
b6621f5e87
Restructure schema building 2022-10-12 14:04:11 +13:00
Jake Barnby
bf194c30e9
Review updates 2022-10-11 13:38:06 +13:00
Jake Barnby
fd8d4f4a1b
Add type property to hash algorithms to allow resolving union type implementation 2022-10-11 12:27:03 +13:00
Bradley Schofield
380a45f987 Add build time to deployment 2022-10-10 16:24:40 +01:00
Jake Barnby
575b882b30
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	.github/workflows/tests.yml
#	composer.lock
2022-10-10 18:41:40 +13:00
Eldad A. Fux
0733909d04 Merge pull request #4346 from appwrite/master
Sync 1.1.x
2022-10-10 07:27:26 +03:00
Damodar Lohani
9b2db20b3b fix backfill 2022-10-09 06:33:14 +00:00
Damodar Lohani
22b00c019d update usage period on get for databases 2022-10-09 06:30:26 +00:00
Eldad Fux
a229eac2cc Renamed DatabasePool to Pools 2022-10-08 08:51:58 +03:00
Eldad Fux
c23c5c686c Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-08 08:48:06 +03:00
Eldad Fux
5af7dc943f Renamed DatabasePool to Pools 2022-10-08 08:42:53 +03:00
Akshay Rana
da9133ae85 fixed: wrong error message show on adding duplicate number to a user 2022-10-04 23:48:15 +05:30
Vincent (Wen Yu) Ge
4cee87273c
Merge branch 'master' into doc-unique-id 2022-10-04 10:51:38 -04:00
Christy Jacob
12b1ecfcf9 feat: mysql support 2022-10-04 17:04:42 +05:30
Vincent (Wen Yu) Ge
ae2100244f Update unique() to be ID.unique() 2022-10-03 20:22:28 +00:00
Matej Bačo
3da4b01f4e Deprecate team deletion with project 2022-10-03 08:06:48 +00:00
Torsten Dittmann
e5271dbda9
Merge branch '1.0.x' into fix-function-vars-null 2022-09-30 14:29:22 +02:00
Torsten Dittmann
0c1222f0f5 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.0.x 2022-09-30 14:23:06 +02:00
Torsten Dittmann
fbbb150e86 Revert "Merge pull request #4041 from appwrite/revert-3789-feat-app-region"
This reverts commit 2117fa53f0, reversing
changes made to c634d12ef4.
2022-09-30 14:22:11 +02:00
Torsten Dittmann
e0b9f57d85
Revert "Feat app region" 2022-09-30 12:32:58 +02:00
Torsten Dittmann
637a97c4de Merge branch '1.0.x' of https://github.com/appwrite/appwrite into fix-function-vars-null 2022-09-30 12:06:32 +02:00
Torsten Dittmann
6c1e2ae537
Merge branch '1.0.x' into fix-boolean-attribute-default-value 2022-09-30 11:56:31 +02:00
Torsten Dittmann
65b4c9f931 fix: default value for optional function vars 2022-09-30 11:52:35 +02:00
Torsten Dittmann
b1197d581a
Merge pull request #3908 from appwrite/fix-function-schedule-loops
Fix schedule loop triggering
2022-09-30 11:45:11 +02:00
Torsten Dittmann
d45464c6c8 fix: boolean attribute default value 2022-09-30 11:27:19 +02:00
Bradley Schofield
eeb6ee0821 Update functions.php 2022-09-29 09:42:46 +01:00
Jake Barnby
471f12b8ba
Only apply max depth and complexity in production to allow introspection 2022-09-29 17:46:01 +13:00
Jake Barnby
69d42fc980
Fix create scrypt user route param defaults types 2022-09-29 16:52:57 +13:00
Christy Jacob
3b802e9ba6 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-09-27 20:59:50 +05:30
Eldad A. Fux
b575df867e
Merge pull request #3789 from appwrite/feat-app-region
Feat app region
2022-09-25 15:04:56 +03:00
Matej Bačo
46c91899e7
Merge branch '0.16.x' into feat-improve-sms-e2e-tests 2022-09-23 08:23:29 +02:00
Christy Jacob
54d14a5151
Merge pull request #3883 from appwrite/fix-get-membership-response
Fix: Get Membership response
2022-09-23 11:42:33 +05:30
Matej Bačo
0159079608 Fix schedule loop triggering 2022-09-23 06:12:17 +00:00
Jake Barnby
a3b75a374b
Update variables and defaults 2022-09-23 15:55:10 +12:00
Christy Jacob
7abb426e3f fix: hash phone auth code 2022-09-23 03:55:17 +05:30
Christy Jacob
ba0be549e3
Merge pull request #3881 from appwrite/fix-null-required-param
Fix: Null required ID params
2022-09-23 00:37:17 +05:30
Jake Barnby
f7e5ccf296
Merge remote-tracking branch 'origin/fix-team-get-membership-model' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
2022-09-22 20:12:17 +12:00
Jake Barnby
398c3eec29
Fix SDK response model for get team membership 2022-09-22 19:26:54 +12:00
Jake Barnby
144e723431
Update error handling 2022-09-21 18:36:43 +12:00
Damodar Lohani
3166be9da0 remove region from update 2022-09-21 02:01:59 +00:00
Jake Barnby
e9f75d32a1
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	Dockerfile
#	app/config/errors.php
#	app/config/roles.php
#	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/controllers/api/graphql.php
#	app/controllers/shared/api.php
#	app/init.php
#	composer.lock
#	docker-compose.yml
#	src/Appwrite/Extend/Exception.php
#	src/Appwrite/Migration/Migration.php
2022-09-20 15:43:09 +12:00
Damodar Lohani
e80e65946b Merge branch 'master' of https://github.com/appwrite/appwrite into feat-app-region 2022-09-19 12:01:56 +00:00
Matej Bačo
89afad1a32 Replace nulls with empty strings 2022-09-19 11:58:41 +00:00
Matej Bačo
c42bf2d8da Fix documentation response model 2022-09-19 11:43:21 +00:00
Matej Bačo
a983e792d8 Refactor required param values 2022-09-19 10:05:42 +00:00
Matej Bačo
6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Steven Nguyen
00a4929301 Fix date format for usage APIs 2022-09-15 23:48:09 +00:00
Torsten Dittmann
3df89e65ca
Merge pull request #3816 from appwrite/feat-consistent-parent-id
Update document model
2022-09-14 10:25:36 +02:00
Torsten Dittmann
90af882aa6
Merge pull request #3825 from appwrite/update-team-membership
feat: rename getMemberships to listMemberships
2022-09-14 10:23:13 +02:00
Torsten Dittmann
1043cc4fc1
Merge pull request #3809 from appwrite/fix-function-scheduling
Fix functon scheduling loop logic, and double-loop prevention
2022-09-14 10:20:27 +02:00
Jake Barnby
5d6fff860e
Merge remote-tracking branch 'origin/0.16.x' into fix-datetime-attr-ui 2022-09-14 18:35:21 +12:00
Steven Nguyen
3da21ff2fc Update document model
1. Rename document.$collection to document.$collectionId
2. Add document.$databaseId
2022-09-14 00:53:37 +00:00
Christy Jacob
98c8896588 feat: update get* endpoints to list* endpoints in locale API 2022-09-14 03:48:02 +05:30
Christy Jacob
626e4b1b8a feat: update getSessions to listSessions in users and accounts API 2022-09-14 03:43:04 +05:30
Christy Jacob
937674a373 feat: update getLogs to listLogs in users and account API 2022-09-14 02:35:03 +05:30
Christy Jacob
183bb2e92d feat: update getMemberships to listMemberships in Users API 2022-09-14 02:28:28 +05:30
Christy Jacob
105e5fe71c feat: rename getMemberships to listMemberships 2022-09-14 01:44:56 +05:30
Matej Bačo
20bbbfc493 Merge remote-tracking branch 'origin/0.16.x' into fix-function-scheduling 2022-09-13 20:14:42 +00:00
Christy Jacob
554be364d6
Merge pull request #3755 from appwrite/feat-audits-label-desc-decoupling
audit event decoupling
2022-09-13 22:56:02 +04:00
Christy Jacob
efbe21d433 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into matej-qa-3 2022-09-13 18:21:44 +00:00
shimon
1d382cc542 small fix 2022-09-13 10:42:42 +03:00
shimon
b86f7689ec Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling 2022-09-13 10:29:16 +03:00
Matej Bačo
ec5a0b8cde Remove queries from listVariables; add enabled to createFunction 2022-09-12 09:02:14 +00:00
Matej Bačo
a315f43039 Fix functon scheduling loop logic, and double-loop prevention 2022-09-11 12:20:26 +00:00
Eldad A. Fux
0124d2c121
Merge pull request #3800 from appwrite/update-avatars-api
feat: update default avatars color
2022-09-11 14:58:21 +03:00
Matej Bačo
8b864324de Merge remote-tracking branch 'origin/0.16.x' into fix-datetime-attr-ui 2022-09-11 07:34:44 +00:00
Christy Jacob
cb50220b60 feat: rename time attribute to duration 2022-09-09 16:02:04 +04:00
Christy Jacob
98724c2acd feat: update default avatars color 2022-09-09 15:09:04 +04:00
Matej Bačo
b41aaefc7e Implement 'enabled' attribute for functions 2022-09-09 08:49:18 +00:00
Matej Bačo
fd6a3ed30c Fix listVariables returing all variables 2022-09-09 08:05:33 +00:00
Eldad A. Fux
0a9a84e357
Merge pull request #3793 from appwrite/fix-datetime-type
Fix $createdAt and $updatedAt so they are datetime instead of string
2022-09-09 07:21:23 +03:00
Damodar Lohani
aa2a6d7f11 region in spec 2022-09-09 01:22:04 +00:00
Steven Nguyen
256f83b7ea Fix and so they are datetime instead of string 2022-09-08 22:18:36 +00:00
shimon
342c4a3253 audits.resource label update 2022-09-08 16:06:16 +03:00
shimon
5652e2d94f audits.resource label update 2022-09-08 15:16:54 +03:00
shimon
834e4e03e3 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling
 Conflicts:
	app/controllers/api/storage.php
2022-09-08 15:13:22 +03:00
Damodar Lohani
ed81ff1263 regions using config instead 2022-09-08 07:19:14 +00:00
Damodar Lohani
f46327d206 description 2022-09-08 06:25:54 +00:00
Damodar Lohani
cf1c9452c1 region in UI 2022-09-08 06:24:58 +00:00
Jake Barnby
15939bb155
Merge remote-tracking branch 'origin/0.16.x' into fix-storage-audit-resources 2022-09-08 17:24:00 +12:00
Damodar Lohani
119344031a region on endpoint 2022-09-08 05:04:16 +00:00
Eldad A. Fux
30e18d43a2
Merge pull request #3781 from appwrite/fix-async-default-value
Update createExecution param default value
2022-09-07 21:39:46 +03:00
Eldad Fux
c442a5bce2 Fix linter test 2022-09-07 14:23:57 +03:00
Eldad Fux
c22c28bc67 Fixed indentation 2022-09-07 14:14:53 +03:00
Eldad Fux
01fb4045bd Sync with 0.16 2022-09-07 14:11:10 +03:00
Eldad Fux
1f17fb34e4 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into fix-response-syntax 2022-09-07 14:07:40 +03:00
Eldad Fux
0895a25615 Fixed response syntax with new FW version 2022-09-07 14:02:36 +03:00
Matej Bačo
e9c29a4812 Update createExecution param default value 2022-09-07 08:24:49 +00:00
Jake Barnby
9665ec09e7
Make storage audit resources consistent with other resources 2022-09-07 20:22:25 +12:00
Jake Barnby
4590c464ef
Use write const 2022-09-06 21:17:25 +12:00
Matej Bačo
39434c3fec Fix datetime attribute default 2022-09-06 09:07:39 +00:00
Jake Barnby
27af4e3b7c
Merge remote-tracking branch 'origin/0.16.x' into fix-write-permission-not-allowed
# Conflicts:
#	composer.lock
2022-09-06 12:28:57 +12:00
Bradley Schofield
9e0e2f8e77 Add Tests
+ Added Tests
+ Remove unneeded rand variable
2022-09-05 11:21:04 +01:00
Bradley Schofield
37530d30df Remove color param and fix bug 2022-09-05 10:36:01 +01:00
Bradley Schofield
ea51786192 Modify profile images to suit new theme 2022-09-05 10:24:56 +01:00
shimon
1362902082 audit event name reformation 2022-09-05 11:00:08 +03:00
Jake Barnby
e55faff0a1
Fix tests 2022-09-05 19:51:33 +12:00
Jake Barnby
5c08e066aa
Fix allowed permissions for documents/files 2022-09-05 13:41:01 +12:00
Christy Jacob
ccabbc4fdf feat: update datetime descriptions 2022-09-05 01:41:26 +04:00
Christy Jacob
6df57b7975 feat: update descriptions 2022-09-05 01:33:52 +04:00
shimon
db715f3e7d decouple audits log from events 2022-09-04 13:31:38 +03:00
shimon
5d16c39d5f account labels 2022-09-04 11:13:44 +03:00
shimon
8e1dc84a48 account labels 2022-09-04 10:32:56 +03:00
Jake Barnby
1896193718
Fix missed optional updates 2022-09-03 12:44:33 +12:00
Jake Barnby
f4f178d3bf
Merge remote-tracking branch 'origin/rc-qa-matej' into fix-rc-qa 2022-09-03 11:44:14 +12:00
Matej Bačo
ae2826ad1f Bug fixes 2022-09-02 14:19:36 +00:00
Jake Barnby
ddcb68c944
Make document/file security optional for create collection/bucket 2022-09-02 15:39:54 +12:00
Matej Bačo
c3d04848f4 Mark permissions optional param 2022-09-01 13:14:15 +00:00
Matej Bačo
a85a471d3b Merge remote-tracking branch 'origin/0.16.x' into fix-ui-with-queries-v2 2022-08-31 13:33:18 +00:00
Damodar Lohani
8fe365d66e Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support 2022-08-31 13:21:45 +00:00
Matej Bačo
dccb9b7291 Merge remote-tracking branch 'origin/0.16.x' into fix-ui-with-queries-v2 2022-08-31 12:38:40 +00:00
Christy Jacob
0438e830b0
Merge pull request #3634 from appwrite/feat-variables-api
Implement Function Variable API
2022-08-31 14:37:30 +02:00
Matej Bačo
d5997d92c3 Updated all UI components for new queries V2. introduced queries to listProjects 2022-08-31 12:30:16 +00:00
Damodar Lohani
7b5cee8da9 fix description to use markdown for links 2022-08-31 10:24:13 +00:00
Damodar Lohani
d647bdaf9e update compression attribute description 2022-08-31 09:55:55 +00:00
Christy Jacob
5a58312b53
Merge pull request #3741 from appwrite/refactor-guest-rate-limits
Refactor guest rate limits
2022-08-31 10:41:23 +02:00
Matej Bačo
0897cd0fe4
Merge branch '0.16.x' into feat-variables-api 2022-08-31 09:37:47 +02:00
Matej Bačo
3fc2e70007 updateVariable 'key' param marked as required 2022-08-31 07:33:43 +00:00
Jake Barnby
ce28dd8201
Use route method in abuse key for guest writes 2022-08-31 15:58:32 +12:00
Damodar Lohani
594b66c18a fix missing break 2022-08-31 02:59:51 +00:00
Damodar Lohani
bc7ec3854f linter fix 2022-08-31 02:56:44 +00:00
Damodar Lohani
63f95c0a5c Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support 2022-08-31 02:55:26 +00:00
Jake Barnby
190d9684f0
Use consts for rate limit count + period 2022-08-31 11:34:17 +12:00
Jake Barnby
1d4866c5b5
Use IP + User ID as abuse key for create routes 2022-08-31 11:33:19 +12:00
Jake Barnby
b9148d380b
Fix only variables can passed by reference errors 2022-08-31 11:31:43 +12:00
Christy Jacob
fe8295c2ec Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-30 17:35:46 +00:00
Damodar Lohani
2d1741504a compression on update bucket endpoint 2022-08-30 13:50:38 +00:00
Damodar Lohani
5fa7d34757 zstd compression support on endpoints 2022-08-30 13:46:55 +00:00
Christy Jacob
7591f68970
Merge pull request #3702 from appwrite/feat-list-endpoints-queries
Feat: List endpoint queries
2022-08-30 14:56:09 +02:00
Damodar Lohani
6c04550558 compression attribute on create bucket endpoint 2022-08-30 12:55:26 +00:00
Matej Bačo
1e95346205 PR review changes 2022-08-30 12:30:52 +00:00
Matej Bačo
63c02677a0
PR review changes 2022-08-30 13:55:23 +02:00
Christy Jacob
3da3e2100c
Merge pull request #3727 from appwrite/feat-allow-guest-writes
Allow guest write scope for document, file and execution
2022-08-30 13:28:51 +02:00
Christy Jacob
177354407a
Merge pull request #3689 from appwrite/feat-list-users-queries 2022-08-30 13:19:56 +04:00
Matej Bačo
2b3dc48bf1 PR review changes 2022-08-30 08:21:34 +00:00
Matej Bačo
2534e9ad8f Remove unnessessary internal queries 2022-08-30 08:20:54 +00:00
Matej Bačo
087b7df52a Failure tests for variables 2022-08-30 07:53:16 +00:00
Matej Bačo
677121edca
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:29:30 +02:00
Matej Bačo
471cac8187
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:29:20 +02:00
Matej Bačo
ce334b9518
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:29:09 +02:00
Matej Bačo
8620b1f3a0
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:48 +02:00
Matej Bačo
e5a63a5078
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:37 +02:00
Matej Bačo
8ec8843a09
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:27 +02:00
Matej Bačo
6cf3cdcadb
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:20 +02:00
Matej Bačo
4b50fe3f15
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:09 +02:00
Matej Bačo
ce5c8d6817
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:28:01 +02:00
Matej Bačo
3e2a7e2941
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:27:54 +02:00
Matej Bačo
883207240c
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2022-08-30 09:27:44 +02:00
Jake Barnby
938f8394e0
Add abuse limits for create/update/delete document/file 2022-08-30 00:49:01 +12:00
Matej Bačo
ad0e856e1b Merge branch 'feat-variables-api' into feat-list-endpoints-queries 2022-08-29 10:28:25 +00:00
Matej Bačo
cdbfe4ae10 Variabe name bug fix 2022-08-29 10:27:56 +00:00
Matej Bačo
79eb351381 Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-29 10:08:44 +00:00
Matej Bačo
99b95cfb74 Fix bug after merge conflict 2022-08-29 10:05:11 +00:00
Matej Bačo
951ed70fb0 Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-29 08:56:14 +00:00
Matej Bačo
889eaff418 Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-29 08:52:28 +00:00
Matej Bačo
6b5a0cbd4f Fix bug after merge comflict 2022-08-29 08:49:00 +00:00
Jake Barnby
ccfd104545
Allow guest write scope for document, file and execution 2022-08-29 17:53:37 +12:00
Jake Barnby
44970cc628 Sync master 2022-08-28 11:01:46 +12:00
Christy Jacob
f6e7d00b1e Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-list-users-queries 2022-08-27 20:21:51 +00:00
Christy Jacob
25d9c8e501 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-27 20:03:15 +00:00
Jake Barnby
a16cd37f1a Remove filter_var usage 2022-08-27 15:19:51 +12:00
Jake Barnby
c531213a5f Doc updates 2022-08-27 15:19:00 +12:00
Jake Barnby
82bea82d94 Update passwordUpdate check 2022-08-27 15:17:48 +12:00
Matej Bačo
dca0b211f6 Implement queries into list variables 2022-08-26 13:38:39 +00:00
Matej Bačo
3b7ac045d7 Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-26 07:51:54 +00:00
Matej Bačo
7f0507473d Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-26 07:47:42 +00:00
Matej Bačo
281eb2fafe Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-26 07:40:35 +00:00
Jake Barnby
a679f2f767 Improve permission parameter descriptions 2022-08-26 16:37:06 +12:00
Jake Barnby
57048400dc Merge branch 'refactor-permissions-inc-console-fix' of github.com:appwrite/appwrite into refactor-permissions-inc-console-fix 2022-08-26 15:01:39 +12:00
Jake Barnby
593c62116c Review fixes 2022-08-26 15:01:16 +12:00
Jake Barnby
f945ab79ec
Apply suggestions from code review
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2022-08-26 14:52:25 +12:00
Jake Barnby
8307b2148f Remove redundant auth exceptions catches 2022-08-26 14:23:23 +12:00
Steven
60a4563908 Fix usage tests 2022-08-25 22:15:11 +00:00
Matej Bačo
78f65401e8 Attempt to fix usage tests 2022-08-25 14:56:15 +00:00
Jake Barnby
b12fc12caa Fix usage for datetime attributes 2022-08-25 23:49:45 +12:00
Jake Barnby
9ccffe9af2 Inherit permissions after role checks to ensure users can update document permissions created by server with other users roles 2022-08-25 23:46:56 +12:00
Jake Barnby
e6e126dff4 Catch AuthorzationExceptions from database to throw 401 instead of 500 2022-08-25 23:30:26 +12:00
Matej Bačo
bc73b7bbf0 Fix bugs after merge 2022-08-25 10:28:13 +00:00
Matej Bačo
e44efb43d1 Fix exception params 2022-08-25 10:13:36 +00:00
Matej Bačo
9d440552bd Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-25 10:02:27 +00:00
Matej Bačo
c85363f355 Fix bugs after merge 2022-08-25 09:59:28 +00:00
Matej Bačo
6a22768c9c Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-25 09:35:06 +00:00
Matej Bačo
f15f8e7bf0 Linter fix 2022-08-25 09:34:36 +00:00
Matej Baco
8513bb2dbe Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-25 11:14:42 +02:00
Matej Baco
fd1068a600 Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries 2022-08-25 10:56:06 +02:00
Jake Barnby
7159f9c187 Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
# 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
#	src/Appwrite/Usage/Calculators/Database.php
2022-08-25 20:53:52 +12:00
Matej Baco
c6e614d896 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-25 10:38:43 +02:00
fogelito
064d538023 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-08-25 11:14:48 +03:00
fogelito
c30189f903 Vincent Changes Apply 2022-08-25 11:14:27 +03:00
Shmuel Fogel
c04734048f
Update app/controllers/api/databases.php
Co-authored-by: Vincent (Wen Yu) Ge <wenyu1999@hotmail.com>
2022-08-25 11:05:01 +03:00
Jake Barnby
e7298b13b0 Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# 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/workers/builds.php
#	src/Appwrite/Stats/Usage.php
#	src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:26:30 +12:00
Jake Barnby
625608804e Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# 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/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/workers/builds.php
#	src/Appwrite/Stats/Usage.php
#	src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Jake Barnby
3149a298a7 Aggregate before role checks 2022-08-25 15:51:21 +12:00
Jake Barnby
002b30d110 Fix missing check for existing validity on listFiles 2022-08-25 13:05:31 +12:00
Jake Barnby
b434dfb6b8 Fix missing check for existing validity on listDocuments 2022-08-25 13:04:47 +12:00
Steven
fc38771d69 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-24 18:52:39 +00:00
Matej Bačo
65d09705ac Simplify class name 2022-08-24 18:25:15 +00:00
Christy Jacob
9cfefe58bf feat: refactoring classes 2022-08-24 20:52:54 +05:30
Matej Bačo
cb6a186c5d PR review changes 2022-08-24 15:07:18 +00:00
Christy Jacob
85bfdd8f54 feat: refactoring classes 2022-08-24 20:26:41 +05:30
Matej Bačo
b765ad603d Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-24 14:12:41 +00:00
Matej Bačo
4b01ff3f51 Use new query methods 2022-08-24 14:10:56 +00:00
Jake Barnby
d4b270e527 Better storage permission checks 2022-08-25 01:24:54 +12:00
Jake Barnby
0d3c1cba9a Better database permission checks 2022-08-25 01:24:19 +12:00
Matej Bačo
bd7395cb44 Bug fixing, upgrade tests to new syntax 2022-08-24 09:22:13 +00:00
Christy Jacob
d3308a4d42 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-08-24 14:40:06 +05:30
Jake Barnby
dabaa49f8d Remove redundant extra permissions checks for document read/update/delete 2022-08-24 20:50:05 +12:00
Jake Barnby
ea4b177b83 Fix team permissions 2022-08-24 20:26:47 +12:00
Matej Bačo
01a57d91ad Fix listDocument queries validation 2022-08-23 16:33:08 +00:00
Matej Bačo
7fb74027d4 Upgrade listDocuments queries 2022-08-23 15:18:59 +00:00
Matej Bačo
531d57feff Upgrade listMemberships queries 2022-08-23 13:16:46 +00:00
Matej Bačo
2d82eed4be Linter fix 2022-08-23 13:10:27 +00:00
Matej Bačo
b1348dbdd8 Upgrade account logs queries 2022-08-23 13:06:59 +00:00
Matej Bačo
36903d6358 Upgrade document&collection&database logs queries 2022-08-23 13:03:38 +00:00
Matej Bačo
79560c13e6 Upgrade teamListLogs queries 2022-08-23 12:50:52 +00:00
Matej Bačo
e068bcdbc1 Upgrade listCollections queries 2022-08-23 12:30:28 +00:00
Matej Bačo
94acd32d69 Upgrade listDatabases queries 2022-08-23 09:40:17 +00:00
Matej Bačo
17e41eee1d Upgrade listExecutions queries 2022-08-23 09:26:34 +00:00
Matej Bačo
a92f96bf80 Upgrade listDeployments queries 2022-08-23 09:12:48 +00:00
Matej Bačo
1eee0baa28 Upgrade listFunctions queries 2022-08-23 09:02:06 +00:00
Matej Bačo
6c971f6ece Upgrade listTeams queries 2022-08-23 08:56:28 +00:00
Matej Bačo
d1f6cb31d6 Upgrade listFiles queries 2022-08-23 08:49:39 +00:00
Matej Bačo
6fcd3757fe Upgrade listBuckets queries 2022-08-23 08:37:55 +00:00
Matej Bačo
e780c90dd6 Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries 2022-08-23 08:10:13 +00:00
Jake Barnby
00441885d2 Remove fallback setting for missing permissions 2022-08-23 13:42:53 +12:00
Jake Barnby
e989735e89 Remove permissions processor 2022-08-23 13:42:25 +12:00
Steven
66ff297103 Refactor Queries Validation 2022-08-22 19:16:20 +00:00
Jake Barnby
8841f8fe76 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-22 21:13:29 +12:00
Jake Barnby
eb1476b28b Apply validator updates to OpenAPI3 2022-08-22 14:27:17 +12:00
Damodar Lohani
77958b465e update database usage params label 2022-08-21 02:10:21 +00:00
Damodar Lohani
6af467398b update usage labels 2022-08-21 02:04:52 +00:00
Damodar Lohani
c5a8e470c5 update usage labels to match audits labels pattern 2022-08-21 02:03:19 +00:00
Damodar Lohani
2205ecd9c6 null safety checks 2022-08-20 11:20:31 +00:00
Steven
e70eb61717 Fix bug with list documents and new queries 2022-08-20 00:47:10 +00:00
Steven
2bde7aa02b Fix databases tests 2022-08-20 00:15:18 +00:00
Steven
3890dea35b Add additional Validators for Queries 2022-08-19 23:20:22 +00:00
Steven
a5bc07c9e4 Merge branch 'feat-list-users-queries' into feat-list-user-logs-queries 2022-08-19 22:00:54 +00:00
Steven
c1cdad5566 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-19 14:50:50 +00:00
Matej Bačo
926d1c6459 Fix incorrect endpoint information 2022-08-19 14:14:39 +00:00
Bradley Schofield
0d81918685 Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-19 11:25:39 +01:00
Christy Jacob
74a5bd2556 feat: update default values 2022-08-19 09:54:26 +00:00
Matej Bačo
30c157c23e Linter fix, update tests 2022-08-19 09:43:03 +00:00
Christy Jacob
2a750eaa73 Merge branch 'refactor-permissions-inc-console-fix' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-19 09:32:22 +00:00
Matej Bačo
61ab41bf86 Implement status of oauth providers, and refactor response models 2022-08-19 09:21:51 +00:00
Christy Jacob
278afd77c0 Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-19 09:20:08 +00:00
Jake Barnby
e4392bdbfb Merge fixes
(cherry picked from commit 24875e352d)
2022-08-19 17:12:20 +12:00
Jake Barnby
24875e352d Merge fixes 2022-08-19 17:05:39 +12:00
Jake Barnby
cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby
5f990ecb6d Fix imports 2022-08-19 16:28:40 +12:00
Jake Barnby
7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# 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/controllers/api/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Jake Barnby
9819088563 Lint 2022-08-19 16:05:00 +12:00
Jake Barnby
66539bbe3a Review updates for role helper usage 2022-08-19 16:04:33 +12:00
Steven
27f69e3c09 Consolidate List User Logs API params
Replace limit and offset params with a single queries param since the
Queries V2 change now allows for different types of queries.
2022-08-19 00:09:34 +00:00
Steven
f0d66985f7 Consolidate List Users API params
Replace search, limit, offset, cursor, cursorDirection, and orderType
params with a single queries param since the Queries V2 change now
allows for different types of queries.
2022-08-18 19:30:39 +00:00
Damodar Lohani
db9faebcc9
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-18 16:04:19 +05:45
Damodar Lohani
3e43424129 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-18 00:49:31 +00:00
Damodar Lohani
4d482ebb81 fix accounts PR 2022-08-18 00:31:56 +00:00
shimon
d1aa3fea4f sync with 0.16 2022-08-17 18:03:53 +03:00
shimon
a2af9fef2d sync with 0.16 2022-08-17 17:57:56 +03:00
shimon
9fc2e4c3a5 sync with 0.16 2022-08-17 17:29:22 +03:00
shimon
cc9a166146 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/storage.php
	app/controllers/shared/api.php
2022-08-17 17:08:54 +03:00
Damodar Lohani
d4f02402bd Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 10:38:16 +00:00
Damodar Lohani
0d97580361 fix usage params in execution 2022-08-17 10:13:50 +00:00
shimon
e94c7eba83 more audit labels on users new routes 2022-08-17 13:01:16 +03:00
Damodar Lohani
a1e6f7bdf4 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 09:34:40 +00:00
shimon
835ef0ffc1 small fix 2022-08-17 12:25:47 +03:00
shimon
9c68cff317 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	composer.json
	composer.lock
2022-08-17 11:16:09 +03:00
shimon
88f6a67802 sync with 0.16 2022-08-17 10:36:38 +03:00
shimon
cc887beae9 sync with 0.16 2022-08-17 10:32:42 +03:00
shimon
2dc8fba40a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/account.php
	app/controllers/api/users.php
	composer.json
	composer.lock
2022-08-17 10:05:37 +03:00
Damodar Lohani
3bc0aa8dca fix merge issues 2022-08-17 02:35:55 +00:00
Damodar Lohani
80dfa85c82 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 00:45:07 +00:00
Christy Jacob
4b0c707fd3 Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime 2022-08-16 20:37:05 +00:00
Eldad A. Fux
69a4f51d58
Merge pull request #3656 from appwrite/feat-functions-console-logs
Functions Console Logs Capture
2022-08-16 23:23:53 +03:00
Matej Bačo
7a1dfbfb8d Fix passwordUpdate time for non-pass users 2022-08-16 15:56:54 +00:00
shimon
7ad7d1807e fill gaps from merge 2022-08-16 17:56:05 +03:00
shimon
5d284b8c27 fill gaps from merge 2022-08-16 16:20:35 +03:00
Matej Bačo
2814a6f680 Linter fix 2022-08-16 13:03:38 +00:00
Matej Bačo
3088535806 Added phone number to UsersAPI createUser + tests 2022-08-16 13:02:28 +00:00
Jake Barnby
b09aaabd14 Fix teams exception 2022-08-17 00:14:22 +12:00
Matej Bačo
1e96f8c3d9 Revert changes regarding AccountAPI createAccount 2022-08-16 12:05:46 +00:00
shimon
de42895096 fill gaps from merge 2022-08-16 14:27:50 +03:00
Jake Barnby
e3ec275a51 Cleaner permission checks 2022-08-16 23:26:38 +12:00
shimon
beaad6c49d fill gaps from merge 2022-08-16 13:19:38 +03:00
shimon
923a741c5a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/account.php
	app/controllers/api/functions.php
	app/controllers/api/users.php
2022-08-16 12:47:51 +03:00
Jake Barnby
1aa36b6b2c Simplify permission checks 2022-08-16 21:08:14 +12:00
Jake Barnby
326220762e Exception fixes 2022-08-16 21:07:30 +12:00
shimon
8f8f033d1a fill gaps from merge 2022-08-16 12:00:28 +03:00
Jake Barnby
5d84d6d43f Lint 2022-08-16 20:33:06 +12:00
Jake Barnby
bbf7f8d8c3 Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	src/Appwrite/Extend/Exception.php
2022-08-16 20:30:00 +12:00
Jake Barnby
fb34ecfa7d Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/api/storage.php
#	app/controllers/api/teams.php
#	app/controllers/api/users.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
Christy Jacob
5b7b39a300
Revert "Fix Endpoint Order" 2022-08-16 12:29:03 +05:30
Jake Barnby
f672269a8c Handle aggregates per resource type at the controller level 2022-08-16 17:54:44 +12:00
Damodar Lohani
34fd6763e1
Update app/controllers/api/account.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-16 11:14:55 +05:45
Damodar Lohani
4fb743e934 fix lint errors 2022-08-16 05:23:51 +00:00
Damodar Lohani
94d9bb8a18 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-functions-console-logs 2022-08-16 04:42:03 +00:00
Damodar Lohani
078b1ec377 updating to use if condition 2022-08-16 04:34:49 +00:00
shimon
9770f10a8c fill gaps from merge 2022-08-15 20:33:44 +03:00
shimon
f091774afd fill gaps from merge 2022-08-15 20:04:23 +03:00
shimon
590c1467bc Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/account.php
	app/controllers/api/functions.php
	app/controllers/api/users.php
2022-08-15 18:19:59 +03:00
shimon
f12ccfa02a prefix removed from storage audits label 2022-08-15 16:59:58 +03:00
shimon
df0bdeb8a3 some fixes 2022-08-15 16:55:11 +03:00
Jake Barnby
bf2fa212aa Fix setting defaults 2022-08-16 01:16:20 +12:00
Jake Barnby
28e7934aeb Update document/file validator allowed permissions 2022-08-16 01:02:02 +12:00
Jake Barnby
b53f185ec6 Remove permissions processor 2022-08-16 00:56:19 +12:00
shimon
67d12d3120 some fixes 2022-08-15 15:16:32 +03:00
Jake Barnby
77a28a2de7 Don't use ID helper with existing ID's 2022-08-15 23:24:31 +12:00
Jake Barnby
813e9135c6 Review fixes 2022-08-15 22:11:17 +12:00
shimon
0dc485d8d7 some fixes 2022-08-15 12:05:41 +03:00
Eldad A. Fux
72e524963c
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-15 11:30:58 +03:00
Christy Jacob
7723c633a0 feat: fix tests 2022-08-15 13:24:54 +05:30
Jake Barnby
33970276b2 Self review 2022-08-15 19:20:10 +12:00
Christy Jacob
509f9083c9 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-reorder-endpoints-2 2022-08-15 12:43:24 +05:30
Jake Barnby
66f518b531 Fix team membership delete 2022-08-15 18:04:00 +12:00
Damodar Lohani
c0d05132df fix usage metric typo in database 2022-08-15 05:50:36 +00:00
Damodar Lohani
a5aa20ac5c Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-15 05:35:14 +00:00
shimon
5e476a2e5a some fixes 2022-08-15 07:29:44 +03:00
Jake Barnby
cb4a256d5f Merge remote-tracking branch 'origin/feat-ui-datetime' into refactor-permissions-inc-queries-update-datetime-fixes
# 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
#	composer.lock
#	public/dist/scripts/app-all.js
#	public/dist/scripts/app-dep.js
#	public/dist/scripts/app.js
#	public/dist/styles/default-ltr.css
#	public/dist/styles/default-rtl.css
#	public/scripts/dependencies/appwrite.js
2022-08-15 12:05:52 +12:00
shimon
c0d8337417 some fixes 2022-08-14 23:45:05 +03:00
shimon
104e6564f7 some fixes 2022-08-14 23:06:21 +03:00
shimon
cabe989555 some fixes 2022-08-14 22:42:20 +03:00
shimon
1109004727 some fixes 2022-08-14 22:27:43 +03:00
Eldad Fux
95181546b4 Adpated tests 2022-08-14 21:09:24 +03:00
shimon
857803e362 some fixes 2022-08-14 21:02:38 +03:00
Eldad Fux
98e2564330 Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param 2022-08-14 20:22:52 +03:00
Eldad Fux
bd77354926 Fixed test 2022-08-14 20:22:01 +03:00
Eldad A. Fux
340cfb0104
Update app/controllers/api/users.php 2022-08-14 20:01:32 +03:00
Eldad Fux
22c38a484f Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param 2022-08-14 19:43:53 +03:00
Eldad Fux
7d83f9d644 Removed import path 2022-08-14 19:29:07 +03:00
Eldad Fux
98fc8669e1 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-password-hash-algos 2022-08-14 19:23:30 +03:00
Eldad Fux
2ed9199bf1 Added the ability to create a user with a phone number 2022-08-14 18:10:12 +03:00
shimon
ab27e0a74d some fixes 2022-08-14 18:01:34 +03:00
Jake Barnby
613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Eldad Fux
b36c24c508 Decouple Auth code from SMS provider adapter 2022-08-14 17:19:58 +03:00
Eldad Fux
25f176875d Changed provider name from phone to sms 2022-08-14 16:43:41 +03:00
Eldad A. Fux
d641fbb635
Merge pull request #3588 from appwrite/feat-simplify-exceptions
Simplify Exception Creation
2022-08-14 15:27:52 +03:00
Jake Barnby
9c260164ef Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-14 23:46:34 +12:00
Damodar Lohani
5120158bdb Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-14 11:39:41 +00:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Christy Jacob
26634cdf0b feat: linter fix 2022-08-14 15:52:19 +05:30
Christy Jacob
bb4693ddfc feat: update email session endpoint 2022-08-14 15:41:21 +05:30
Damodar Lohani
d9745b3477 fix execution list UI 2022-08-14 09:23:41 +00:00
Christy Jacob
979768fc9f Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-reorder-endpoints-2 2022-08-14 14:42:14 +05:30
Christy Jacob
70d2ebf55b feat: tests 2022-08-14 14:25:59 +05:30
Damodar Lohani
3ce8565513 hide execution stdout and stderr on client side response 2022-08-14 08:54:11 +00:00
Damodar Lohani
734454ee85 hiding stdout and stderr on client execution response 2022-08-14 08:44:17 +00:00
Christy Jacob
ebb9af1eb2 feat: re-order functions endpoint 2022-08-14 13:56:11 +05:30
Christy Jacob
8e24dbe22f feat: update exception class 2022-08-14 13:35:11 +05:30
Christy Jacob
cfab9221f2 feat: exceptions on more files 2022-08-14 12:32:41 +05:30
Christy Jacob
a5bc0a61ca feat: exceptions on more files 2022-08-14 12:26:12 +05:30
Steven
610ec1a6a4 Update database query syntax 2022-08-14 05:44:55 +00:00
Jake Barnby
a8698b6065 Lint 2022-08-14 17:24:50 +12:00
Jake Barnby
b2e659bd3f Review fixes 2022-08-14 17:21:33 +12:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Bradley Schofield
237f5264d9 Fix vars exception, change cachedoc usage, 2022-08-13 20:18:48 +01:00
Christy Jacob
5296e61d35 feat: address issues on accounts controller 2022-08-13 20:45:19 +05:30
shimon
630954c94e some fixes 2022-08-13 17:55:27 +03:00
Christy Jacob
8b23dcd69e fix: update constructor, remove account entity, add missing ID error 2022-08-13 20:14:04 +05:30
Jake Barnby
ed712fb196 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/controllers/general.php
#	composer.lock
2022-08-14 02:31:06 +12:00
Jake Barnby
bdc8202422 Bad request for create permission on document/file 2022-08-14 02:24:28 +12:00
Jake Barnby
68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
shimon
51e3fc8cab some fixes 2022-08-13 12:59:34 +03:00
Eldad A. Fux
a91584853c
Merge pull request #3558 from appwrite/fix-teams-roles-no-owner
Fix teams roles no owner
2022-08-13 12:37:11 +03:00
Christy Jacob
d2bf8b25de feat: update db pools 2022-08-13 13:27:04 +05:30
shimon
e8a2e30bb5 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup 2022-08-13 10:35:54 +03:00
shimon
48b2fb0b36 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label 2022-08-13 10:34:25 +03:00
shimon
cc9dad6bb8 Tidy up 2022-08-13 10:34:03 +03:00
Jake Barnby
737ebe408c Don't add create permission to documents/files if missing 2022-08-13 18:34:04 +12:00
Damodar Lohani
560bd97fcd organize metrics 2022-08-13 05:02:18 +00:00
Damodar Lohani
c1c325505b organize metrics 2022-08-13 05:01:43 +00:00
Damodar Lohani
85f39ec0ef organize metrics 2022-08-13 05:00:22 +00:00
Damodar Lohani
02074a93ef remove unused import 2022-08-13 04:55:42 +00:00
Damodar Lohani
d688187e23 update metrics value 2022-08-13 04:39:01 +00:00
Damodar Lohani
74a159ab99 fix key 2022-08-13 03:44:57 +00:00
Eldad Fux
3c7a7f0fa4 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-08-13 06:21:50 +03:00
Damodar Lohani
be00b64b7e Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-13 03:14:28 +00:00
Steven
1abe9d4c01 Merge branch '0.16.x' into fix-datetime-attributes 2022-08-12 22:54:33 +00:00
Christy Jacob
9693c6e941 Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x 2022-08-12 21:44:36 +05:30
Christy Jacob
4521907b83 feat: refactor workers 2022-08-12 21:39:45 +05:30
Bradley Schofield
83c1129ed5 Add TODO Warning 2022-08-12 17:01:25 +01:00
Bradley Schofield
930120fc4d
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-12 16:55:58 +01:00
Bradley Schofield
cb87c248d5 Rebuild Specs, SDKs and start working on subqueries 2022-08-12 16:51:24 +01:00
Jake Barnby
8d4191b1a0 Lint 2022-08-13 02:46:50 +12:00
Jake Barnby
09b001e891 PR fixes 2022-08-13 02:41:57 +12:00
Bradley Schofield
d86e4ac0b6 Run Linter 2022-08-12 15:15:58 +01:00
Bradley Schofield
d9104ceced Update capitalisation on some names 2022-08-12 15:15:36 +01:00
Bradley Schofield
7af92b3b30 Fix Endpoint Order 2022-08-12 15:10:41 +01:00
shimon
1af95fcdaa Tidy up 2022-08-12 16:21:32 +03:00
Jake Barnby
d2b9102f84 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby
c104860448 Use roles validator for function execution 2022-08-13 00:23:58 +12:00
shimon
90cfac9b52 replace request param extractions 2022-08-12 14:01:12 +03:00
Jake Barnby
1d7c25b561 Single role per permissions entry 2022-08-12 22:36:59 +12:00
shimon
b5f977e46d adding user to audits labels 2022-08-11 16:19:05 +03:00
Eldad A. Fux
f4bbcc9fa3
Merge pull request #3619 from appwrite/fix-phone-search
Fix: User Search attribute (phone)
2022-08-11 14:20:44 +03:00
Damodar Lohani
cd9efec4d2 refactor 2022-08-11 06:49:20 +00:00
Damodar Lohani
1753dbe8b0 fix formatting 2022-08-11 06:18:37 +00:00
Damodar Lohani
b5f5aff626 fix response and project usage issues 2022-08-11 06:05:38 +00:00
Damodar Lohani
63371ce76e functions usage stats using route labels 2022-08-11 05:25:39 +00:00
Damodar Lohani
c5993ba8b9 storage usage stats via route labels 2022-08-11 02:18:22 +00:00
Damodar Lohani
e666ae2b2e fix users usage endpoint 2022-08-11 02:11:31 +00:00
Damodar Lohani
5647f957a7 users metrics via route labels 2022-08-11 01:43:02 +00:00
Damodar Lohani
73f675aebe Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-11 01:15:29 +00:00
Bradley Schofield
15fbe86124 Fix variables not being correctly used 2022-08-10 14:43:05 +01:00
shimon
5a15d29a22 sync with 0.16.x 2022-08-10 12:22:55 +03:00
shimon
d31c23d25a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/databases.php
2022-08-10 12:18:05 +03:00
Damodar Lohani
cb369dd326 update account routes usage labels 2022-08-10 08:45:10 +00:00
Damodar Lohani
391d1127ca update container to accept new response format 2022-08-10 07:19:07 +00:00
Damodar Lohani
8aa7486e71 database usage stats working via labels 2022-08-10 02:33:46 +00:00
Damodar Lohani
ebf3d813cb refactor database usage to labels 2022-08-10 02:18:18 +00:00
Damodar Lohani
16fe9e241a Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-10 01:49:27 +00:00
Bradley Schofield
42e0895dad Fix Tests 2022-08-09 16:29:24 +01:00
shimon
d2519c9a5b addressing comments 2022-08-09 17:38:54 +03:00
Torsten Dittmann
5db5f7217f Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime 2022-08-09 14:49:08 +02:00
Bradley Schofield
6882ffaa00 Merge branch '0.16.x' into feat-variables-api 2022-08-09 13:37:24 +01:00
Bradley Schofield
d4da9d823b Add API Descriptions and use APP_LIMIT_COUNT 2022-08-09 13:11:50 +01:00
shimon
092e682591 Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
Bradley Schofield
c4d453b738 Update Variables API Signature 2022-08-09 12:56:45 +01:00
fogelito
db5d737235 Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
 Conflicts:
	tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Christy Jacob
6a6c7d4b90
Merge pull request #3547 from appwrite/fix-update-status-codes
Use 202 when resources are created asyncronously
2022-08-09 14:42:40 +05:30
Jake Barnby
3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12:00
Damodar Lohani
bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby
216486a4c6 Fix DB tests 2022-08-09 18:03:41 +12:00
Jake Barnby
fb0168ea50 Fix erroneous whitespace 2022-08-09 14:48:39 +12:00
shimon
6e0b7cc650 leftovers 2022-08-08 18:44:11 +03:00
shimon
2d7a2bb57f leftovers 2022-08-08 18:23:45 +03:00
shimon
62ef532801 leftovers 2022-08-08 17:32:54 +03:00
Bradley Schofield
43660d9c8f Merge branch 'master' into feat-simplify-exceptions 2022-08-08 15:03:01 +01:00
shimon
89f164bdd7 resource namespace 2022-08-08 15:19:41 +03:00
Jake Barnby
69a79f660f Storage permission check fixes 2022-08-08 22:58:36 +12:00
Jake Barnby
20f621d05c Databases permission check fixes 2022-08-08 22:58:28 +12:00
shimon
a6a9ad8cc0 databases controller 2022-08-08 11:14:27 +03:00
shimon
e9ef94e8af account controller 2022-08-07 18:49:30 +03:00
shimon
c8196c41d4 api::payload 2022-08-07 18:09:37 +03:00
shimon
ec39ff267c api::parseLabel 2022-08-07 17:30:47 +03:00
shimon
f4c1a5ea35 response::send 2022-08-07 14:01:00 +03:00
Christy Jacob
c96f1e76e2 feat: add new attributes for API Keys 2022-08-05 15:50:48 +05:30
Jake Barnby
5e4a422495 Use helpers to process permissions 2022-08-05 18:01:25 +12:00
Jake Barnby
e8af744c97 More write ref updates 2022-08-05 18:00:56 +12:00
Jake Barnby
bed6eb70af Replace write refs 2022-08-05 17:23:32 +12:00
Jake Barnby
62b1eba836 Replace write refs 2022-08-05 17:23:18 +12:00
Damodar Lohani
34794d2554 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-04 06:03:39 +00:00
Jake Barnby
54b07a9446 Handle document/file level security in collections layer 2022-08-04 16:20:11 +12:00
Jake Barnby
d9f0ece812 Remove new properties from DB level 2022-08-04 12:08:16 +12:00
Eldad A. Fux
8e49b8365c
Merge pull request #3590 from iifawzi/fix-3583-fixing-create-team-membership-to-return-added-name-email
Fixing #3583 - create team membership to return added person name and…
2022-08-04 00:07:29 +03:00
Bradley Schofield
f62ad19ecd Fix old function tests 2022-08-03 13:32:50 +00:00
Jake Barnby
7b9fb32fae Update role references 2022-08-03 21:52:34 +12:00
Jake Barnby
dbb8e5421a Fix syntax error 2022-08-03 17:43:03 +12:00
Jake Barnby
1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Eldad A. Fux
a9cfb06ee9
Merge pull request #3586 from appwrite/feat-hooks-implementation
implementing new Utopia hooks
2022-08-03 07:17:44 +03:00
Christy Jacob
561e7b43e1 feat: review comments 2022-08-03 00:26:45 +05:30
Bradley Schofield
452a8512c4 Add Tests 2022-08-02 16:11:15 +00:00
Bradley Schofield
31897bc7b5 Run Linter 2022-08-02 10:34:04 +00:00
Bradley Schofield
9d9935a625 First working draft of new UI 2022-08-02 10:05:58 +00:00
Jake Barnby
ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Jake Barnby
4520114780 Refactor storage to use new permissions 2022-08-02 21:19:15 +12:00
Jake Barnby
9a182d615a Refactor databases to use new permissions 2022-08-02 21:18:49 +12:00
Damodar Lohani
51a6db995a groups at the top in hooks 2022-08-02 01:10:48 +00:00
Bradley Schofield
66fcbee0df Start working on adding UI 2022-08-01 15:13:47 +00:00
shimon
cc93113934 Reference comments 2022-07-31 15:11:49 +03:00
shimon
45ad0f6bdf Reference comments 2022-07-30 22:10:30 +03:00
shimon
39d2f6b981 Reference comments 2022-07-30 21:55:36 +03:00
shimon
5511a93e9c Expires header returned to the endpoints 2022-07-28 18:24:18 +03:00
Torsten Dittmann
ba65b5a58f fix duplicates 2022-07-28 14:51:47 +02:00
Torsten Dittmann
a4588cc848 Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:49:28 +02:00
Torsten Dittmann
e3fee55e3d Merge branch 'origin/datetime-api' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:45:15 +02:00
Torsten Dittmann
7b95c46cf5 Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:40:45 +02:00
Torsten Dittmann
bd550f8a1e feat: ui for datetime attribute 2022-07-28 14:38:54 +02:00
fogelito
ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
Matej Bačo
15b5df10a4 Fix search attribute regarding phone number 2022-07-28 09:36:08 +00:00
Damodar Lohani
f555568d50
Update app/controllers/api/functions.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-07-28 12:40:14 +05:45
Bradley Schofield
467d8b2cd2 Fix linting errors 2022-07-27 14:50:13 +01:00
Bradley Schofield
e3a3ca4c0d Translate more errors
+ Fixed an issue where some errors that should use 401 uses 400 error codes

+ Updated error messages and tests for multiple exceptions
2022-07-27 14:47:35 +01:00
Jake Barnby
d92328dbb4 Merge remote-tracking branch 'origin/master' into fix-teams-roles-no-owner 2022-07-27 19:57:06 +12:00
Steven
723c6f5436 Fix incorrect databases links 2022-07-26 23:16:47 +00:00
Bradley Schofield
3c808ca895 Fix problem with Exception class 2022-07-26 15:56:59 +01:00
Bradley Schofield
96c6c0ff00 Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
shimon
d09bf306ce response changes 2022-07-26 15:50:33 +03:00
Matej Bačo
ef3496d55b Bug fixing afte merge 2022-07-25 12:37:29 +00:00
Matej Bačo
dbccf39a9f Merge branch 'master' into feat-password-hash-algos 2022-07-25 12:37:07 +00:00
fogelito
b58c04c28b Add attribute datetime 2022-07-25 11:53:41 +03:00
Fawzi E. Abdulfattah
3f09575740
get the invitee info from the db
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-07-25 06:09:35 +02:00
shimon
16ed2c1572 tidy up 2022-07-24 18:22:31 +03:00
shimon
f214ead6f6 tidy up 2022-07-24 12:49:51 +03:00
Matej Bačo
61cba414bf Fix linter 2022-07-24 08:22:24 +00:00
shimon
64050337cf tidy up 2022-07-24 10:05:24 +03:00
shimon
02907f12f1 cache logic moved to api::init & api::shutdown 2022-07-23 20:42:42 +03:00
Fawzi E. Abdulfattah
9f45bce55f Fixing #3583 - create team membership to return added person name and email
Signed-off-by: Fawzi E. Abdulfattah <iifawzie@gmail.com>
2022-07-23 01:51:58 +02:00
Bradley Schofield
40022decb4 Start working on simplifying exceptions 2022-07-22 15:38:06 +01:00
Damodar Lohani
b168dde502 implementing new Utopia hooks 2022-07-22 06:00:42 +00:00
Jake Barnby
24d0d84bd1 JSON decode packed query 2022-07-22 16:09:23 +12:00
Jake Barnby
427b25dfb7 Unpack query if request is coming from an SDK 2022-07-22 11:38:28 +12:00
Jake Barnby
f8649a1a8d Add graphql sdk method type 2022-07-21 16:37:34 +12:00
Matej Bačo
183a18f618 Implement functions CRUD operations 2022-07-20 07:18:49 +00:00
Jake Barnby
8320fc0686 Use labels parameters to add extra methods to spec 2022-07-20 01:28:47 +12:00
Jake Barnby
2d0bc9c193 Add get tests 2022-07-19 14:11:58 +12:00
Damodar Lohani
1ca9e7ab3e Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-07-19 01:53:06 +00:00
Jake Barnby
37c832134b Encode get query params for test 2022-07-19 13:41:31 +12:00
Jake Barnby
d3565b673e Add get route test 2022-07-19 13:31:14 +12:00
Jake Barnby
4cf5797827 Expose upload as seperate endpoint for SDKs 2022-07-19 13:30:01 +12:00
Jake Barnby
ca62d67d37 Merge remote-tracking branch 'origin/master' into feat-graphql-support 2022-07-19 11:55:29 +12:00
Bradley Schofield
74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Bradley Schofield
35c546782f Change more status codes to 202 2022-07-18 10:43:51 +01:00
Jake Barnby
9333efd3c3 Format 2022-07-18 21:41:11 +12:00
Jake Barnby
e3bed0c636 Test fixes 2022-07-18 21:38:13 +12:00
Bradley Schofield
88064cdbaf Merge branch 'master' into fix-update-status-codes 2022-07-18 10:37:07 +01:00
Jake Barnby
41dfd84543 Ensure user creating team with custom roles is always owner as well 2022-07-18 20:57:00 +12:00
Jake Barnby
f37bddbc6d Ensure user creating team with custom roles is always owner as well 2022-07-18 20:55:59 +12:00
Jake Barnby
b8bd81e232 Add back fullBody params for testing 2022-07-18 19:31:07 +12:00
Jake Barnby
3530d3dfe0 Update env defaults 2022-07-18 19:29:37 +12:00
Jake Barnby
b3600ae576 Remove redundant param parameters 2022-07-18 14:53:06 +12:00
Damodar Lohani
f9d62599a4 fix get usage on Functions 2022-07-17 10:43:10 +00:00
Damodar Lohani
dbd941f464 fix param 2022-07-17 10:39:44 +00:00
Damodar Lohani
ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Ishan Vyas
af167a58a8
Fix SDK response type for get & update database call
Signed-off-by: Ishan Vyas <isvyas@gmail.com>
2022-07-17 12:44:37 +05:30
Christy Jacob
641c4f1bde feat: update naming convention 2022-07-16 11:08:36 +05:30
Christy Jacob
42f0bddd60 feat: merge and fix conflicts 2022-07-15 13:54:27 +04:00
fogelito
97250d8193 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-07-14 16:35:25 +03:00
fogelito
0816dd15f9 remove comments 2022-07-14 16:12:44 +03:00
Torsten Dittmann
5604a6837f Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-07-14 14:14:05 +02:00
Bradley Schofield
5f0032bb7f Use 202 when resources are created asyncronously 2022-07-14 10:52:55 +01:00
Jake Barnby
0b7b5496f3 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-07-14 20:13:41 +12:00
Jake Barnby
221e7b59c4 Add abuse test 2022-07-14 20:11:39 +12:00
Jake Barnby
4f5c7ddada Add invalid query exception 2022-07-14 15:57:51 +12:00
Jake Barnby
4ee7f80433 Add too many queries exception 2022-07-14 15:57:34 +12:00
Jake Barnby
ded46774bc Add max batch size env var 2022-07-14 15:56:02 +12:00
Christy Jacob
662800cc67 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-07-14 03:42:26 +04:00
fogelito
9a8ef2a30d change DatetimeValidator 2022-07-13 17:07:03 +03:00
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito
76b65c5dea change test validations from strings to datetime 2022-07-13 16:55:57 +03:00
Jake Barnby
3896cd3d39 No content responses 2022-07-14 01:34:25 +12:00
Jake Barnby
4ca6750309 Cleanup controller 2022-07-13 23:21:02 +12:00
Jake Barnby
a656699fa7 Code cleanup 2022-07-13 21:34:56 +12:00
Matej Bačo
d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00:00
Jake Barnby
83dfbf377d Fix database delete query 2022-07-13 19:38:44 +12:00
Jake Barnby
ac8e47ac2d Lint 2022-07-13 17:21:41 +12:00
Jake Barnby
4732127777 Fix parameters 2022-07-13 17:06:48 +12:00
Jake Barnby
eeed6d6038 Remove redundant variable 2022-07-13 16:41:40 +12:00
Jake Barnby
9909493bfc Support query batching 2022-07-13 15:49:59 +12:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
Jake Barnby
ace6badfed Doc updates 2022-07-12 17:06:11 +12:00
Jake Barnby
7259f21cf1 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.lock
2022-07-12 09:18:58 +12:00
fogelito
7e08575245 builds, stats 2022-07-11 18:12:41 +03:00
Torsten Dittmann
648b6f2038
Merge pull request #3532 from appwrite/fix-permission-array-lengths
Fix: Permissions validator max-length
2022-07-11 13:16:55 +02:00
Torsten Dittmann
5d7e7a48ad
Merge pull request #3509 from stnguyen90/fix-3508-hardcoded-db-schema
Fix hardcoded appwrite database schema
2022-07-11 12:16:04 +02:00
Torsten Dittmann
bddd477bd7
Merge pull request #3511 from appwrite/fix-attribute-dbid
Fix attribute databaseId
2022-07-11 12:13:35 +02:00
Matej Bačo
aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
shimon
428adcf47f logger moved to App::shutdown 2022-07-09 21:30:01 +03:00
shimon
59627ea9ef logger moved to App::shutdown 2022-07-09 21:24:28 +03:00
Christy Jacob
43ec31e393 feat: restructuring db pools 2022-07-09 17:41:14 +04:00
Jake Barnby
da71aec774 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
2022-07-08 17:50:16 +12:00
Jake Barnby
5b3c4921d6 Add schema group shutdown hook to set dirty flag in register 2022-07-08 17:43:20 +12:00
Steven
3666d0ab73 Add alias for POST /v1/account/sessions/email
Add /v1/account/sessions as an alias for POST /v1/account/sessions/email
for backwards compatibility.
2022-07-07 22:23:52 +00:00
shimon
b2b2534dcc logger moved to App::shutdown 2022-07-07 18:06:05 +03:00
shimon
a0cfc2110a logger moved to App::shutdown 2022-07-07 17:51:22 +03:00
fogelito
10ca7de6ba workers functions 2022-07-07 12:54:46 +03:00
fogelito
e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
Jake Barnby
ae32d89a0f Formatting 2022-07-07 19:55:07 +12:00
fogelito
29436c1e5f Datetime change for joined and invited 2022-07-07 10:44:28 +03:00
Jake Barnby
b5e8273839 Fix custom entity id properties 2022-07-07 19:39:42 +12:00
Jake Barnby
8762bcba90 Abstract upload functionality 2022-07-07 18:13:12 +12:00
Jake Barnby
380dbb32e9 Handle file uploads 2022-07-07 16:53:09 +12:00
Jake Barnby
d13afe0b2e Fix get deployment response type 2022-07-07 16:51:37 +12:00
Jake Barnby
32399ff52c Fix get deployment response type 2022-07-07 16:49:44 +12:00
Steven
8a0f2010a2 Fix hardcoded appwrite database schema 2022-07-06 17:04:29 +00:00
fogelito
d7244bd9ba Tests 2022-07-06 17:47:34 +03:00
Torsten Dittmann
9bdd1087ba
Merge pull request #3500 from appwrite/fix-internal-dates-update
Fix: createdAt bug after updating document
2022-07-06 12:54:50 +02:00
Jake Barnby
67807f8c6f WIP input file handling 2022-07-06 20:56:58 +12:00
Jake Barnby
937240f244 Fix attribute databaseId 2022-07-06 17:13:29 +12:00
Jake Barnby
8bbe5abd72 Fix attribute databaseId 2022-07-06 17:11:26 +12:00
Steven Nguyen
ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00:00
Jake Barnby
bc098d73fa Databases API fixes 2022-07-06 15:50:27 +12:00
Jake Barnby
58ffde5326 Fix doubled shutdown calls firing events twice 2022-07-06 15:27:00 +12:00
fogelito
ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito
acba505144 addCookie timestamp 2022-07-05 21:24:10 +03:00
fogelito
2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
Matej Bačo
9f364bb9dd Fix document date 2022-07-05 16:07:07 +00:00
fogelito
203b3058a2 providerAccessTokenExpiry 2022-07-05 16:06:55 +03:00
fogelito
a9a91603d1 account expire 2022-07-05 13:59:03 +03:00
shimon
27333035c0 restore 2022-07-05 10:48:52 +03:00
shimon
0c2c030b71 restore 2022-07-05 10:46:41 +03:00
shimon
56a21b3968 small fix 2022-07-05 10:37:46 +03:00
Shimon Newman
716c62ba8f
Update app/controllers/api/avatars.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-07-05 10:10:58 +03:00
fogelito
903ca342cb Model changes 2022-07-04 13:11:38 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
shimon
7b429bdcd7 cache cleanup 2022-07-03 12:36:59 +03:00
fogelito
73a19614e1 functions api 2022-07-02 17:38:53 +03:00
fogelito
cff5bab403 functions api 2022-07-02 17:25:44 +03:00
Christy Jacob
8d5dd605d8 feat: refactor DatabasePool class 2022-07-01 14:18:33 +02:00
fogelito
6d46332f96 changing datetime from timestamp to datetime 2022-07-01 15:05:14 +03:00
Christy Jacob
373295b498 feat: add new projectDB resource 2022-06-30 17:38:47 +02:00
Jake Barnby
9d134a949f Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/general.php
#	app/init.php
#	composer.json
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
2022-07-01 00:05:44 +12:00
Christy Jacob
1c1a635d5a feat: rename db to consoleDB 2022-06-30 13:01:29 +02:00
Christy Jacob
9fdaa92bd1 feat: trigger sms for createVerification 2022-06-29 01:04:08 +02:00
Torsten Dittmann
f438d4695d
Merge pull request #3405 from appwrite/fix-internal-indexes
Feat: Allow internal indexes
2022-06-28 14:21:27 +02:00
Torsten Dittmann
e83cf382fd fix: all sdks and specs 2022-06-28 13:21:28 +02:00
Jake Barnby
d019937e4f Merge remote-tracking branch 'origin/fix-role-clobbering' into feat-graphql-support
# Conflicts:
#	composer.lock
2022-06-27 14:52:39 +12:00
Vincent (Wen Yu) Ge
9ceef4c096
Merge branch '0.15.x' into database-layer-docs 2022-06-24 12:39:06 -04:00
Matej Bačo
5a10a9494f
Update SCrypt tests 2022-06-24 14:30:39 +02:00
Torsten Dittmann
ef1daf8f1c Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-24 14:15:42 +02:00
Torsten Dittmann
0f0654d49e
Merge pull request #3346 from gepd/feat-empty-payload
Allows to update permissions without payload
2022-06-24 14:09:01 +02:00
Christy Jacob
43f834c0bd feat: add new errors for phone auth 2022-06-24 12:49:00 +02:00
Damodar Lohani
2750e60768
fix for ruby and go SDK as file params seems to be string 2022-06-24 15:24:44 +05:45
Damodar Lohani
dfbb9b2b3b
fix-response-model-for-database-list 2022-06-24 12:51:21 +05:45
Torsten Dittmann
cf7d10046c
Merge pull request #3421 from appwrite/fix-createdat-lock
Fix: Lock $createdAt
2022-06-23 13:09:36 +02:00
Matej Bačo
c19a2484c3 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-23 09:22:54 +00:00
Torsten Dittmann
3f1b906de0
Merge pull request #3422 from appwrite/feat-database-layer-alias
Add alias to Database Layer
2022-06-23 11:00:32 +02:00
Damodar Lohani
e169d3b019 fix usage stats on dashboard 2022-06-23 08:58:47 +00:00
Christy Jacob
bab788111a Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-06-23 10:51:13 +02:00
Damodar Lohani
1a034d45f6 alias 2022-06-23 08:50:11 +00:00
Christy Jacob
69f1798758 feat: add db-pools 2022-06-23 10:50:00 +02:00
Matej Bačo
3f8ab486c2 Lock createdAt 2022-06-23 08:17:02 +00:00
Vincent (Wen Yu) Ge
9c68e68125 Database Layers API docs updated 2022-06-22 16:28:09 +00:00
Matej Bačo
336127da55 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-22 14:22:46 +00:00
Matej Bačo
72278b4f0f More database UI bug fixes 2022-06-22 13:30:35 +00:00
Matej Bačo
f069719ef3 Code cleanup 2022-06-22 13:08:15 +00:00
Matej Bačo
a049b13741 Fix database UI names 2022-06-22 13:03:55 +00:00
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Matej Bačo
c7087e7ac0 Removed TODOs 2022-06-22 09:46:37 +00:00
Matej Bačo
b682ffdfa3 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-22 09:26:15 +00:00
Torsten Dittmann
9d7b6927d6 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-increase-array-element-length 2022-06-22 11:10:03 +02:00
Matej Bačo
bd9cb92035 Fix tests 2022-06-22 08:00:12 +00:00
Jake Barnby
5ea41a0253 Print with debug flags if not production 2022-06-22 16:44:58 +12:00
Matej Bačo
d9a88515bc Merge remote-tracking branch 'origin/0.15.x' into feat-password-hash-algos 2022-06-21 14:03:19 +00:00
Matej Bačo
a5836ecc60 PR review changes 2022-06-21 13:59:52 +00:00
Torsten Dittmann
e553ba2d07 fix: account phone internal ids 2022-06-20 23:38:45 +02:00
Torsten Dittmann
ef15ea8318 fix: method to generate new webhook signature 2022-06-20 20:35:33 +02:00
gepd
d1505917a3
committed suggested changes
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
2022-06-20 12:18:00 -04:00
Torsten Dittmann
e6edcb5459
Merge pull request #3357 from appwrite/feat-phone-authentication
feat: phone authentication
2022-06-20 18:12:36 +02:00
Torsten Dittmann
48177e8d03 docs: update new phone docs 2022-06-20 16:47:49 +02:00
Matej Bačo
43f6fda8b6 WIP: Allow internal indexes 2022-06-20 14:22:27 +00:00
Torsten Dittmann
511898afc9 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into origin/feat-internal-id 2022-06-20 15:34:27 +02:00
Torsten Dittmann
0023af43d8 Merge branch 'feat-phone-authentication' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 15:06:19 +02:00
Torsten Dittmann
d0ad879f4a Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 15:01:17 +02:00
Torsten Dittmann
af817ec616
Merge pull request #3379 from appwrite/feat-phone-authentication-ui
feat: add ui for phone authentication
2022-06-20 14:34:33 +02:00
Torsten Dittmann
6dd41b52c3 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 13:38:39 +02:00
Torsten Dittmann
50e50fa94b feat: use internal ids for database indexes and attributes 2022-06-20 13:21:36 +02:00
Torsten Dittmann
fbfb871edf
Merge pull request #3401 from appwrite/feat-internal-ids-projects
feat: internal ids for projects
2022-06-20 12:06:22 +02:00
Jake Barnby
09c89ecd12 Test updates 2022-06-20 13:15:02 +12:00
Jake Barnby
e865f77a6b Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	app/config/errors.php
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/init.php
#	composer.json
#	composer.lock
2022-06-20 11:15:22 +12:00
Torsten Dittmann
5a4a9e0739 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into origin/feat-internal-id 2022-06-19 11:43:58 +02:00
Matej Baco
62ec121a5e Improved docs 2022-06-17 11:25:28 +02:00
Matej Bačo
0aaee54a63 Fix snake_case 2022-06-16 09:21:35 +00:00
fogelito
ddbe1edf6d Adding Internal Ids Projects, Webhooks, Keys, domains, Platforms 2022-06-16 10:50:52 +03:00
fogelito
44e3851f5e Adding Internal Ids to Database Api 2022-06-15 15:57:06 +03:00
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Matej Bačo
6758e78cf1 Introduce APP_LIMIT_ARRAY_ELEMENT_SIZE 2022-06-15 12:07:14 +00:00
fogelito
0d1b1ddef6 Adding Account + teams + users Internal Ids to colleactions 2022-06-14 20:15:22 +03:00
Torsten Dittmann
1eb91bc91e feat: add ui for phone authentication 2022-06-14 17:41:58 +02:00
Christy Jacob
039d9f0ead feat: inital commit for multiple db pools 2022-06-14 16:57:57 +02:00
Matej Bačo
697bb569ef Fix tests 2022-06-14 11:38:47 +00:00
Matej Bačo
0aaa5779ab Linter fixes 2022-06-14 11:08:54 +00:00
Matej Bačo
f0cd4437d8 Rebuilds, improve tests 2022-06-14 10:40:51 +00:00
Matej Bačo
64ee483665 Implemented hashhing import API endpoints, fixed SCrypt 2022-06-14 09:05:46 +00:00
Torsten Dittmann
1f91e5328a fix: controller title for email session 2022-06-14 10:30:35 +02:00
Torsten Dittmann
8d465c67c2 feat: account sessions for emails 2022-06-14 10:17:50 +02:00
Torsten Dittmann
286f174f34 fix: docs 2022-06-14 09:27:27 +02:00
Matej Bačo
6f76fb3613 WIP: Separate hashing endpoints 2022-06-13 15:11:31 +00:00
Matej Bačo
001e69ab80 Merge remote-tracking branch 'origin/0.15.x' into feat-password-hash-algos 2022-06-13 12:53:40 +00:00
Matej Bačo
bdaf9bcdb8 Removed hashhing algo from endpoints except import 2022-06-13 12:53:28 +00:00
Torsten Dittmann
68264a0fe0 fix: tests and adaption to review 2022-06-13 14:43:17 +02:00
Torsten Dittmann
73a00438ae Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-13 14:29:29 +02:00
Matej Bačo
7cb40f3c77 Fix order of params 2022-06-10 08:03:25 +00:00
Matej Bačo
0d94e4c9ce Merge branch 'master' into feat-password-hash-algos 2022-06-10 08:03:09 +00:00
gepd
d96b077d22
remove null as param is already nullable
Co-authored-by: Everly Precia Suresh <77877486+everly-gif@users.noreply.github.com>
2022-06-09 15:32:34 -04:00
Torsten Dittmann
5ae6305eb4
Merge pull request #3345 from appwrite/feat-increase-jwt-abuse-limit
Feat increase jwt abuse limit
2022-06-09 21:15:58 +02:00
Torsten Dittmann
369c851532
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-09 21:11:49 +02:00
gepd
be53bae82b
Merge branch 'appwrite:master' into feat-empty-payload 2022-06-08 20:50:04 -04:00
gepd
2e05afe35a
Make param optional from utopia 2022-06-08 20:49:27 -04:00
Torsten Dittmann
e444ba6886 style: fix linter errors 2022-06-08 16:18:28 +02:00
Torsten Dittmann
70c98b0cfc feat: messaging worker 2022-06-08 15:57:34 +02:00
Torsten Dittmann
dc25883685 feat: add update and verification method for account and users 2022-06-08 14:50:31 +02:00
shimon
40016f48c1 linter fix 2022-06-08 12:21:20 +03:00
fogelito
f2c545db64 removing some duplication on collections.php
adding var hint for $user
2022-06-08 12:20:23 +03:00
Torsten Dittmann
8ce669da6f feat: initial phone authentication 2022-06-08 11:00:38 +02:00
shimon
64ba33f3aa Small fix 2022-06-08 10:19:50 +03:00
gepd
3cf26d19bc
make data optional 2022-06-07 21:08:11 -04:00
shimon
54f6556204 sign webhook flow 2022-06-07 18:11:07 +03:00
fogelito
5310e2cf7c add userInternalId to sesseions , tokens , members + index for each attribute 2022-06-07 12:37:09 +03:00
gepd
a107f592cf
Merge branch 'master' into feat-empty-payload 2022-06-06 18:57:14 -04:00
gepd
8f831b2be3
Allows to update permissions without payload 2022-06-06 18:27:05 -04:00
Jake Barnby
254a075d7d Update JWT creation abuse limits 2022-06-07 08:57:37 +12:00
Torsten Dittmann
94b2db96c2 chore: run formatter 2022-06-03 11:12:19 +02:00
Torsten Dittmann
153ac5c60d Merge branch '0.15.x' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-02 11:53:41 +02:00
Torsten Dittmann
3d297e825f
Merge pull request #3296 from stnguyen90/fix-2955-add-team-member-toast
Update success, loading, and error message for add team member
2022-06-01 16:24:45 +02:00
Shimon Newman
2bad41082b
Update projects.php 2022-06-01 17:23:05 +03:00
Shimon Newman
ad986fe852
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-01 17:14:26 +03:00
Shimon Newman
363c073839
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-01 16:39:00 +03:00
shimon
cd5e6f2542 small fix 2022-06-01 15:36:04 +03:00
shimon
2d7bc4fb16 small fix 2022-06-01 14:31:03 +03:00
shimon
0c435b9c3b Merge remote-tracking branch 'origin/feat-expire-key' into feat-expire-key
# Conflicts:
#	app/controllers/api/projects.php
2022-06-01 13:11:24 +03:00
shimon
e782e4744f small fix 2022-06-01 13:09:53 +03:00
Shimon Newman
c31055f144
Update app/controllers/api/projects.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-01 12:55:35 +03:00
shimon
d39e6a842c Merge branch 'master' of github.com:appwrite/appwrite into feat-expire-key
 Conflicts:
	app/controllers/general.php
2022-06-01 09:34:34 +03:00
Steven
4a87e73a45 Update success, loading, and error message for add team member
Remove text indicating invitations since no emails are sent when adding
a user via the Admin console.
2022-05-31 22:00:37 -07:00
Steven
ec1c4fd5c3 Bypass SMTP host check for admins adding team members
Since no email is sent when adding team members for admins, there shouldn't
be any need to check the SMTP host.
2022-05-31 20:50:19 -07:00
shimon
8bca5cd13e api keys 2022-05-31 18:41:12 +03:00
Everly Precia Suresh
c61dd1e261 remove unecessary semi colons 2022-05-31 14:24:01 +00:00
Everly Precia Suresh
95615416a6 formate function.php 2022-05-31 13:50:27 +00:00
Everly Precia Suresh
61c8cf5ccd Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 13:48:05 +00:00
Torsten Dittmann
fd58c57163
Merge pull request #3280 from appwrite/refactor-accounts
Refactor `account.php`
2022-05-31 15:47:39 +02:00
Everly Precia Suresh
1be5593d9d Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 13:40:43 +00:00
Torsten Dittmann
957ba08817
Merge pull request #3282 from appwrite/refactor-database
refactor `database.php`
2022-05-31 15:33:14 +02:00
Everly Precia Suresh
f1938f5151
update refactor
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-05-31 18:04:20 +05:30
Everly Precia Suresh
94e225411f update refacror 2022-05-31 12:33:13 +00:00
Everly Precia Suresh
318df0d3f3 Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 11:55:30 +00:00
Everly Precia Suresh
746dc72439 fix merge conflicts 2022-05-31 11:32:46 +00:00
Everly Precia Suresh
e80ab77cab update refactor with changes 2022-05-31 11:11:55 +00:00
Everly Precia Suresh
f8fc5ca16c
remove ?
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-05-31 16:33:16 +05:30
Everly Precia Suresh
13f26a20d6 add string|array type to 2022-05-31 10:51:47 +00:00
Torsten Dittmann
0fdd785ba9
Merge branch 'master' into refactor-functions 2022-05-31 10:54:03 +02:00
Torsten Dittmann
ff3292041f
Merge branch 'master' into refactor-database 2022-05-31 10:33:46 +02:00
Everly Precia Suresh
1fd7359fbb fix linter issues in app directory 2022-05-30 17:41:25 +00:00
Everly Precia Suresh
d1e829f49a change type to array 2022-05-26 12:41:19 +00:00
Everly Precia Suresh
a2d243664b remove cname tests 2022-05-26 11:21:04 +00:00
Everly Precia Suresh
6ceef6a573 update refactor 2022-05-25 16:53:10 +00:00
Everly Precia Suresh
425d81256b rename audit to EventAudit 2022-05-25 13:49:32 +00:00
Everly Precia Suresh
8f624e115b refactor users.php 2022-05-25 13:36:25 +00:00
Everly Precia Suresh
fc6c546c88 refactor database 2022-05-25 12:10:10 +00:00
Everly Precia Suresh
eb6b8d408a update refactor 2022-05-24 15:04:28 +00:00
Everly Precia Suresh
07bf57b161 update refactor 2022-05-24 14:57:12 +00:00
Everly Precia Suresh
e2bd17d253 update refactor 2022-05-24 14:28:27 +00:00
Everly Precia Suresh
35e762453b pull latest 2022-05-24 14:04:55 +00:00
Everly Precia Suresh
107513c4c8 refactor func 2022-05-24 13:56:57 +00:00
Everly Precia Suresh
60a73c74a5 fix multi-line params in controllers 2022-05-23 16:42:27 +00:00
Everly Precia Suresh
7316e1c1ae fix multi-line params in account.php 2022-05-23 16:34:03 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Everly Precia Suresh
722822dc31 refactor account.php 2022-05-18 16:14:21 +00:00
Christy Jacob
5463e62a6e feat: remove redundant order attributes validation 2022-05-18 04:36:24 +04:00
Torsten Dittmann
ec1bfa0209 Merge branch 'feat-account-update-status' of https://github.com/appwrite/appwrite into feat-account-update-status 2022-05-16 12:34:20 +02:00
Torsten Dittmann
0aa8aad2a9 fix: remove wrongly placed remove 2022-05-16 12:34:14 +02:00