1
0
Fork 0
mirror of synced 2024-08-02 12:01:37 +12:00
Commit graph

3361 commits

Author SHA1 Message Date
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
fogelito
9b85a89e71 Projects tests 2022-08-15 20:37:26 +03: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
Bradley Schofield
e1cc6bc624 Start work on response filters for 0.16 2022-08-15 16:09:09 +01:00
shimon
f64c82a8cb addressing comments 2022-08-15 17:03:03 +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
shimon
edecd8dc22 some fixes 2022-08-15 13:52:20 +03: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
Damodar Lohani
246d9b94b7
null safety 2022-08-15 13:27:02 +05:45
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
shimon
d132202662 some fixes 2022-08-13 20:29:33 +03:00
shimon
af56db4048 some fixes 2022-08-13 18:36:44 +03: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
Jake Barnby
a44e9f2c09 Add bucket/file permissions comps 2022-08-13 21:02:32 +12:00
Jake Barnby
0cd1b232ed Fix hidden forms 2022-08-13 21:01:33 +12:00
Christy Jacob
3ded17badf fix: linter 2022-08-13 13:40:39 +05:30
shimon
45c46c1794 sync with 0.16 2022-08-13 11:02:00 +03:00
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
3c8acac758 Show permission block for documents if document security is enabled 2022-08-13 18:34:47 +12:00
Jake Barnby
737ebe408c Don't add create permission to documents/files if missing 2022-08-13 18:34:04 +12:00
Jake Barnby
c66a1991d8 Make permissions matrix reusable 2022-08-13 18:33:11 +12:00
Damodar Lohani
792d657a4f formatting fixes 2022-08-13 05:10:34 +00: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
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
e86aab5e88 ident 2022-08-11 16:47:53 +03: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
shimon
6a4fee641d clean 2022-08-11 12:04:05 +03:00
shimon
2d8abac0e3 clean 2022-08-11 11:47:18 +03:00
Damodar Lohani
f0827fef38 formatting issues 2022-08-11 07:02:40 +00: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
d05e1fdfb3 enable ignoring stats on admin requests 2022-08-11 06:16:10 +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
Christy Jacob
cd5f3f2f2b feat: update mock endpoint spec 2022-08-11 00:00:59 +05:30
Christy Jacob
b4e944e9ba feat: run linter 2022-08-10 19:19:58 +05:30
Christy Jacob
741824ef87 feat: move server list to app resource 2022-08-10 19:15:04 +05:30
Bradley Schofield
15fbe86124 Fix variables not being correctly used 2022-08-10 14:43:05 +01:00
Christy Jacob
9fe28e830a feat: add platform to sdk generation script 2022-08-10 18:30:57 +05:30
Christy Jacob
4f218ea6d3 feat: add new mock endpoint for sdk generator tests 2022-08-10 18:22:12 +05:30
shimon
ac827f6861 cache ver updated 2022-08-10 13:13:05 +03: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
shimon
f9b8a0a661 disabling route from cache 2022-08-10 10:08:48 +03: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
shimon
a261dcd171 init from master 2022-08-09 16:43:37 +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
shimon
a937cde7a3 init 2022-08-09 14:57:33 +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
Christy Jacob
21a3037bdf feat: review comments 2022-08-09 14:22:30 +05:30
Jake Barnby
3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12:00
shimon
eb9ca5d7e3 leftovers 2022-08-09 09:49:55 +03:00
Damodar Lohani
bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Christy Jacob
f26f2d9e9b feat: review comments 2022-08-09 11:43:34 +05:30
Christy Jacob
410597eca7 feat: review comments 2022-08-09 11:35:25 +05:30
Jake Barnby
216486a4c6 Fix DB tests 2022-08-09 18:03:41 +12:00
Christy Jacob
8cae6bb627 feat: review comments 2022-08-09 11:26:53 +05:30
Christy Jacob
7e470d2cb5 feat: review comments 2022-08-09 10:54:17 +05:30
Jake Barnby
fb0168ea50 Fix erroneous whitespace 2022-08-09 14:48:39 +12:00
Christy Jacob
4bced29ec9 feat: review comments 2022-08-09 01:36:36 +05:30
Christy Jacob
82e39ccf52 feat: review comments 2022-08-09 01:12:13 +05:30
shimon
9eb1c3a731 leftovers 2022-08-08 18:44:45 +03:00
shimon
6e0b7cc650 leftovers 2022-08-08 18:44:11 +03:00
shimon
2d7a2bb57f leftovers 2022-08-08 18:23:45 +03:00
shimon
8a79748b6d leftovers 2022-08-08 17:48:51 +03:00
Bradley Schofield
bf050ece0f Fix Exceptions 2022-08-08 15:44:07 +01: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
Damodar Lohani
1b1ba985a9 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-08 02:18:49 +00: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
1dc9f5e842 feat: add new attributes for API Keys 2022-08-05 17:38:04 +05:30
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
Eldad A. Fux
73817a311b
Merge pull request #3638 from appwrite/refactor-mock-download-response
Consistent response for mock download
2022-08-04 14:29:04 +03: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
9872c019b2 Consistent response for mock download 2022-08-03 17:03:34 +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
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
1d38b2ce6a Reference comments 2022-07-31 13:20:56 +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
13bcb062b2 ordering 2022-07-28 07:06:39 +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
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
ae80607248 response changes 2022-07-26 16:13:12 +03:00
shimon
d09bf306ce response changes 2022-07-26 15:50:33 +03:00
Bradley Schofield
4da9273b28 Move default message and code handling into exception 2022-07-25 23:54:08 +01: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
966765dac7 tidy up 2022-07-24 18:25:33 +03: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
70a7446ad4 fix group 2022-07-22 06:42:49 +00:00
Damodar Lohani
b168dde502 implementing new Utopia hooks 2022-07-22 06:00:42 +00:00
Matej Bačo
183a18f618 Implement functions CRUD operations 2022-07-20 07:18:49 +00:00
fogelito
169fb4d6f4 audit + abuse datetime changes 2022-07-19 17:52:06 +03: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
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
Bradley Schofield
88064cdbaf Merge branch 'master' into fix-update-status-codes 2022-07-18 10:37:07 +01: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
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
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
Matej Bačo
d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03: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
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
9968bebed2 logger moved to App::shutdown 2022-07-07 21:35:27 +03:00
shimon
eeca43014a logger moved to App::shutdown 2022-07-07 18:45:24 +03: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
fogelito
29436c1e5f Datetime change for joined and invited 2022-07-07 10:44:28 +03:00
Jake Barnby
d13afe0b2e Fix get deployment response type 2022-07-07 16:51:37 +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
937240f244 Fix attribute databaseId 2022-07-06 17:13:29 +12:00
Steven Nguyen
ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00: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