1
0
Fork 0
mirror of synced 2024-08-18 11:41:33 +12:00
Commit graph

385 commits

Author SHA1 Message Date
Jake Barnby
3dd67cb17f
Fix visibility
(cherry picked from commit b092405b04)
2023-05-30 18:29:13 +12:00
Damodar Lohani
7419867078 new locale codes endpoint 2023-04-17 02:10:17 +00:00
Matej Bačo
27bf18f031 Code formatting 2023-03-14 20:31:23 +01:00
Matej Baco
e7351f4eec Add logs to rules 2023-03-13 13:35:34 +00:00
Matej Bačo
541cb010a6 Changes after dev-mode QA 2023-03-10 20:36:39 +01: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
Matej Baco
4b0d6d9826 Bug fixes after proxy QA 2023-03-10 12:20:24 +00:00
Matej Baco
04c7db9f7b Bug fixes for proxy rule service 2023-03-10 07:42:52 +00:00
Matej Bačo
59f5978fa3 Implement rules 2023-03-08 19:30:01 +01:00
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
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Matej Bačo
47f85678ff Fix options method routing 2023-02-27 13:43:20 +01:00
Matej Bačo
18021b6fbd Allow localhost hostname 2023-02-24 12:19:38 +01:00
Matej Bačo
249a2e1699 Fix query params 2023-02-24 12:18:22 +01:00
Matej Bačo
068acef0f6 Add unique url generator 2023-02-22 16:07:34 +01:00
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
Matej Bačo
60028250a2 Fix url parsing 2023-02-19 13:01:50 +01:00
Matej Bačo
47dbf4c8f6 Fix wildcard bugs 2023-02-19 12:04:12 +01: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
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
Matej Bačo
11580a8a69 Update router for V3 2023-02-14 14:58:13 +01:00
Matej Bačo
eea635fe4b Basic implementation for Open Runtimes V2 2023-02-09 15:27:11 +01:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02: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
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02: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
b71bba2a9c updates 2022-12-04 19:06:23 +02:00
Eldad Fux
db345fae41 WIP 2022-11-24 09:53:52 +02:00
Jake Barnby
4a61718cff
Enable HSTS for all HTTPS requests 2022-11-21 16:49:45 +13:00
Jake Barnby
5a84a37a9e
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-11-18 12:41:48 +13:00
Torsten Dittmann
8d3903cd37 fix: remove layout 2022-11-17 13:37:59 +01:00
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
Torsten Dittmann
1b533daeaa fix: remove manifest endpoint 2022-11-15 16:30:53 +01:00
Jake Barnby
03f85c3b74
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
#	composer.json
#	composer.lock
#	src/Appwrite/Utopia/Response/Model/Provider.php
2022-11-01 11:07:51 +13:00
Steven Nguyen
719aa67afa
Remove PDO rethrow
The PDOException was rethrown in general.php so that it could be caught
in the catch block of http.php. However, [a change in
utopia-php/framework](9d37326851)
caused the exception to be masked as an Exception rather than the
underlying PDOException. As such, the `$th instanceof PDOException` in
http.php is always false and `$db = null` is never executed. Since these
snippets of code aren't doing anything or adding value, they should be
removed.

In addition, the `$db = null` may have been added to ensure the
connection was added back to the pool and/or reset if needed, but it
seems like that's not a problem anymore.
2022-10-25 10:05:52 -07:00
Jake Barnby
61e5014ff0
Add sdk graphql header to allowed headers list 2022-10-19 13:01:39 +13:00
Steven Nguyen
eca5aa3c2b Fix version matching for 0.15.X request & response 2022-09-13 20:42:50 +00:00
Bradley Schofield
8bc570b0a5 Merge branch '0.16.x' into feat-response-filters-0.16.x 2022-09-05 13:42:46 +01:00
Matej Bačo
c7780c5fe6 Update allowed headers with new SDK headers 2022-09-05 08:08:24 +00:00
Christy Jacob
7952dac85e feat: linter fixes 2022-08-20 07:41:07 +00:00
Christy Jacob
ca25d329ae feat: update date time calculation 2022-08-19 20:22:38 +05:30
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
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
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
fogelito
c21b563614 Merge branch 'refactor-permissions-inc-console-fix' of github.com:appwrite/appwrite into datetime-jake-tz
 Conflicts:
	app/controllers/general.php
	composer.json
	composer.lock
2022-08-17 21:04:23 +03:00
Bradley Schofield
80ff661aeb Continue working on response filters 2022-08-17 14:08:09 +01: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
fogelito
9b85a89e71 Projects tests 2022-08-15 20:37:26 +03:00
Bradley Schofield
e1cc6bc624 Start work on response filters for 0.16 2022-08-15 16:09:09 +01:00
Jake Barnby
33970276b2 Self review 2022-08-15 19:20:10 +12: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
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
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
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
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
Steven
1abe9d4c01 Merge branch '0.16.x' into fix-datetime-attributes 2022-08-12 22:54:33 +00:00
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
Christy Jacob
9fe28e830a feat: add platform to sdk generation script 2022-08-10 18:30:57 +05:30
Christy Jacob
21a3037bdf feat: review comments 2022-08-09 14:22:30 +05:30
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
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
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
Bradley Schofield
bf050ece0f Fix Exceptions 2022-08-08 15:44:07 +01: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
7b9fb32fae Update role references 2022-08-03 21:52:34 +12: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
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito
ae4cb685c0 expire 2022-07-05 21:55:20 +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
Torsten Dittmann
5a2d6c0b3e feat: 0.15.x response filters 2022-06-28 11:15:27 +02:00
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02: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
shimon
2d7bc4fb16 small fix 2022-06-01 14:31:03 +03:00
shimon
e782e4744f small fix 2022-06-01 13:09:53 +03:00
shimon
1a28c3a909 api keys, validation and test 2022-06-01 09:38:11 +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
shimon
8013276515 api keys, validation and test 2022-06-01 09:26:55 +03:00
Steven Nguyen
f645c2ce53 Update service checks to ignore server app users 2022-05-31 20:42:41 -07:00
Torsten Dittmann
540738101f fix: error type 2022-06-01 00:09:23 +02:00
shimon
8bca5cd13e api keys 2022-05-31 18:41:12 +03:00
Everly Precia Suresh
f039fb36fc format newly added changes 2022-05-31 11:35:59 +00:00
Everly Precia Suresh
746dc72439 fix merge conflicts 2022-05-31 11:32:46 +00:00
Everly Precia Suresh
6bd7342d0e improve naming 2022-05-27 10:36:06 +00:00
Everly Precia Suresh
f9cfb5478e refactor general.php 2022-05-26 14:46:08 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Matej Bačo
d8db5e5839 Ignore localhost as main domain 2022-05-18 08:31:54 +00:00