1
0
Fork 0
mirror of synced 2024-07-09 00:16:13 +12:00
Commit graph

459 commits

Author SHA1 Message Date
Matej Bačo 6cea5a12bb Improve performance of listRepositores 2023-07-30 15:24:10 +02:00
Matej Bačo c3cef56e39 Bug fixing after QA 2023-07-30 15:12:55 +02:00
Matej Bačo 6fb72db7c4 Rename exception 2023-07-29 18:03:13 +02:00
Matej Bačo 37c0cc122a More PR review changes 2023-07-28 10:27:16 +02:00
Matej Bačo ce98b04348 Address PR reviews 2023-07-28 09:56:07 +02:00
Matej Bačo e5adc5772c Add support for all runtime start commands 2023-07-24 08:23:23 +02:00
loks0n 611fbf6b32 feat: X domain console cookie 2023-07-21 11:08:34 +01: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
Damodar Lohani 8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Matej Bačo b72b2ffc8c Improve error page 2023-07-11 10:53:40 +02: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
Torsten Dittmann 1f46d03e8c feat: initial mfa implementation 2023-06-22 15:35:49 +02:00
Matej Bačo 97581d5836 Add database to log 2023-06-15 13:21:18 +02:00
Matej Bačo e4c79d5d09 Fix https 2023-06-07 11:02:41 +02:00
Matej Bačo 2e11d85033 Fix localhost https 2023-06-07 10:56:14 +02:00
Matej Bačo 6c81b3e3f8 Fix proxy internal http communication 2023-06-07 10:52:16 +02:00
Steven Nguyen f7f14695f0
Don't default to console project
Defaulting to the console project leads to misleading error messages.
For example, you can get a CORS error saying you haven't configured
a platform yet, but the actual error is missing project ID.
2023-06-05 09:06:29 -07:00
Torsten Dittmann a664363525 fix: trailing wildcards 2023-06-02 15:20:58 +02:00
Torsten Dittmann 55ba25ad83 fix: trailing wildcards 2023-06-02 13:18:34 +02:00
Jake Barnby fad53d3e89
Fix visibility
(cherry picked from commit b092405b04)
(cherry picked from commit 3dd67cb17f)
2023-05-30 19:00:50 +12:00
Jake Barnby 3dd67cb17f
Fix visibility
(cherry picked from commit b092405b04)
2023-05-30 18:29:13 +12: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
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
Bradley Schofield c0daed3644 Refactor names and cleanup code 2022-12-20 16:11:30 +00:00
Bradley Schofield 3e66d1a549 Rename certificate queue 2022-12-20 11:21:07 +00:00
fogelito 8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
Bradley Schofield 21afa43127 Port Certificates to new Queue system 2022-12-13 11:16:12 +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 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
Matej Bačo 9bf7d9bda4 Added backwards compatibility (response&request) 2022-05-17 07:56:28 +00:00
Torsten Dittmann e69a22042c
Merge pull request #3113 from appwrite/feat-new-event-model
feat: new event model
2022-05-12 19:53:51 +02:00
Torsten Dittmann 32b55a901a
Merge pull request #2981 from appwrite/feat-https-redirect-exception
Feat: HTTPs Redirection Exception
2022-05-12 19:04:59 +02:00
Torsten Dittmann b82010c167
Merge pull request #3124 from appwrite/fix-wildcard-hostname-new
Feat: Wildcard hostname
2022-05-12 18:35:42 +02:00
Torsten Dittmann 086a242904 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-05-12 16:01:01 +02:00
Matej Bačo 3efb904151 Prevent unnecessary SSL jobs 2022-05-12 10:56:25 +00:00
Torsten Dittmann 784844b03e Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-05-11 19:04:31 +02:00
Matej Bačo 8bb3418f7c Merge remote-tracking branch 'origin/0.14.x' into feat-certificate-refactor 2022-05-11 14:12:38 +00:00
Matej Bačo 17b2ab86d8 Merge remote-tracking branch 'origin/0.14.x' into fix-wildcard-hostname-new 2022-05-03 07:59:11 +00:00
Torsten Dittmann 840f7419dc Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-04-26 13:15:00 +02:00
Matej Bačo 4c82810d61 PR review changes 2022-04-25 09:12:43 +00:00
Matej Bačo 4846a2e1dd Add const usage 2022-04-25 09:04:08 +00:00
Matej Bačo 8fcb2b4058 Hostname-related features&fixes 2022-04-20 09:31:17 +00:00
Matej Bačo 369d438bc9 Merge branch 'master' into feat-https-redirect-exception 2022-04-20 08:53:09 +00:00
Torsten Dittmann 87b8fc3c41 feat: event classes for different cases 2022-04-13 14:39:31 +02:00
Matej Bačo 752079c874 Refactored SSL genration 2022-04-10 09:38:22 +00:00
Matej Bačo 4110709874 PR review changes 2022-04-05 16:57:22 +00:00
Matej Bačo 4b7a34e05b PR review changes 2022-04-04 08:15:41 +00:00
Matej Bačo 36eb37b36f Improved SSL generation 2022-03-29 10:17:56 +00:00
Matej Bačo 45e9040fa5 Disallow HTTP communication if required 2022-03-21 14:23:56 +00:00
Christy Jacob 0feb4a1008 feat: added comment about rethrowing PDO exception 2022-03-19 02:58:54 +04:00
Christy Jacob 137ec1631b feat: added comment about rethrowing PDO exception 2022-03-19 02:57:50 +04:00
Christy Jacob 1aa0be51bd
Merge pull request #2964 from appwrite/fix-double-event-log
Fix PDOException double event log
2022-03-18 23:47:49 +04:00
Bradley Schofield 5a6c419194 Move PDO throw to above logger 2022-03-18 12:18:32 +00:00
Bradley Schofield 8c984a555f Add a 'detailedTrace' extra for the logger library 2022-03-18 10:05:38 +00:00
Christy Jacob 5958bdd2dc feat: print correct error messages 2022-03-01 20:16:42 +04:00