Commit Graph

1047 Commits

Author SHA1 Message Date
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](https://github.com/utopia-php/framework/commit/9d37326851f65f354344cfe2e3c1a282d5231025)
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