1
0
Fork 0
mirror of synced 2024-08-03 04:21:46 +12:00
Commit graph

1114 commits

Author SHA1 Message Date
Damodar Lohani
5649bc8060 load password dictionary as array 2022-12-26 10:22:38 +00:00
Damodar Lohani
a9078cded5 rename resource 2022-12-26 09:24:51 +00:00
Damodar Lohani
50a5329b30
Update app/init.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-12-26 15:04:06 +05:45
Damodar Lohani
1ff8ce2382 check against passwords dictionary 2022-12-26 05:24:26 +00:00
Damodar Lohani
5d61ff5fab password dictionary 2022-12-23 07:19:11 +00:00
Jake Barnby
4699d78112
Remove redundant import 2022-12-22 19:15:02 +13:00
Damodar Lohani
cfd5a91c43 feat: project endpoint to set password history limit 2022-12-16 10:37:49 +00:00
shimon
86638e0079 e2e tests 2022-12-15 19:00:05 +02:00
Jake Barnby
d107b92748
Remove debug flags on production instead of abuse enabled 2022-12-15 13:44:23 +13:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
shimon
06aee565a8 addressing comments 2022-12-13 13:46:53 +02: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
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
308a9afe22 usage cleanup 2022-12-11 20:07:05 +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
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
b71bba2a9c updates 2022-12-04 19:06:23 +02: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
f239296059 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-11-23 19:05:19 +00:00
Torsten Dittmann
b382031ae7 chore: release 1.1.1 2022-11-23 18:43:48 +01:00
Eldad Fux
95e835a902 Deprecated Usage stats 2022-11-23 19:08:42 +02:00
Christy Jacob
c7f2785b45 feat: update worker counts 2022-11-22 21:07:04 +05:30
Matej Bačo
ced481f78c Linter, library upgrade 2022-11-22 07:57:44 +00:00
Matej Bačo
f055adc05f Fix pool sharing logic 2022-11-22 07:17:56 +00:00
Matej Bačo
dd99ab7b00 Fix session expiration 2022-11-21 14:24:52 +00:00
Christy Jacob
948936dcff
Merge pull request #4697 from appwrite/fix-init-retry
Fix: Failing errors
2022-11-18 19:53:43 +05:30
Matej Baco
a13c671a2b PR review changes 2022-11-18 15:20:05 +01:00
Christy Jacob
1057ab4e42
Merge pull request #4716 from appwrite/fix-env-vars
Fix env vars
2022-11-18 15:20:08 +05:30
Matej Baco
792286c955 Merge branch 'feat-db-pools' into fix-init-retry 2022-11-18 09:51:53 +01:00
Matej Baco
0075956c6c Introduce ENV to disable console invites, fix outdated code after merge 2022-11-18 09:51:28 +01:00
Jake Barnby
35740fe65b
Increase pool instance count to account for CLI 2022-11-18 21:07:57 +13:00
Christy Jacob
fc0b8730a9 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-11-18 07:56:43 +00:00
Matej Baco
418a432d6c Merge branch 'feat-db-pools' into fix-init-retry 2022-11-18 08:10:11 +01: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
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
6c43b44441 feat: use new storage library 2022-11-17 23:16:49 +05:30
Christy Jacob
c4a5c73717 feat: use new storage library 2022-11-17 23:13:59 +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
Torsten Dittmann
36cc6d8621 chore: prepare 1.1.1 release 2022-11-17 14:38:49 +01:00
Christy Jacob
878021b9a3 feat: disable auth on console project 2022-11-17 18:20:17 +05:30
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
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
999dfe5d63 feat: review comments 2022-11-17 07:06:13 +00:00
Christy Jacob
836ab62285 feat: review comments 2022-11-17 07:02:51 +00:00
Christy Jacob
d830f5c262 feat: review comments 2022-11-17 07:01:11 +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
Christy Jacob
d75831380b feat: review comments 2022-11-17 06:36:41 +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
Matej Baco
e37f70246e PR review changes 2022-11-16 14:34:11 +01:00
shimon
c67852a7fb Deleted functions
schedules clean up
2022-11-16 14:51:43 +02:00
Matej Baco
83639ea6f8 Merge branch 'feat-db-pools' into refactor-functions-worker 2022-11-16 12:29:42 +01:00
Christy Jacob
cf4be51094 feat: review comments 2022-11-16 10:43:26 +00: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
Jake Barnby
87bc593570
Pull calculation into pools callback 2022-11-16 20:18:59 +13: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
860f077787
Use separate registry entry for worker pools 2022-11-16 12:50:37 +13:00
Matej Baco
44a82de09b Refactor func event triggering 2022-11-15 19:13:17 +01:00
Matej Baco
eb47894970 Merge branch 'refactor-scheduler' into refactor-functions-worker 2022-11-15 17:37:04 +01:00
shimon
8bcf349c38 addressing some comments 2022-11-15 18:03:42 +02:00
Jake Barnby
dc6c8d9b9a
Use 500 code for pool too small exception 2022-11-15 22:16:25 +13:00
Jake Barnby
c4be0260c3
Update env default max connections 2022-11-15 20:36:04 +13:00
Jake Barnby
af391b8f7a
Update default pool size name 2022-11-15 20:30:01 +13:00
Jake Barnby
7de2f69f38
Revert "Use buffered queries"
This reverts commit 1c24421a95.
2022-11-15 19:43:04 +13:00
Jake Barnby
1c24421a95
Use buffered queries 2022-11-15 15:45:53 +13: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
Torsten Dittmann
825738ced9 chore: prepare 1.1.x 2022-11-14 22:42:48 +01:00
Bradley Schofield
3c71164741 Merge branch '1.1.x' into feat-implement-session-length-api 2022-11-14 15:30:38 +00:00
Torsten Dittmann
465dad522e fix: remove unnecessary files 2022-11-14 15:31:24 +01:00
Bradley Schofield
0b883df5ec Fix Tests 2022-11-14 09:42:18 +00:00
Bradley Schofield
66b805829c Move authDuration into auths attribute in project 2022-11-14 09:30:45 +00:00
Jake Barnby
702bb413dc
Merge remote-tracking branch 'origin/feat-mysql-test' into feat-realtime-dbpools
# Conflicts:
#	.env
#	app/config/variables.php
#	app/init.php
#	app/realtime.php
#	composer.lock
2022-11-14 11:21:58 +13:00
Jake Barnby
ee69a306a9
Merge remote-tracking branch 'origin/fix-realtime-connections' into feat-cloud-jake 2022-11-10 13:26:19 +13:00
shimon
1761b77d0f function worker 2022-11-09 19:01:43 +02:00
Jake Barnby
fafbe71b24
Accept a size parameter when creating db/redis pools 2022-11-09 16:21:27 +13:00
Jake Barnby
e1d80c2b93
Add get worker pool size function 2022-11-09 16:19:01 +13: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
Eldad Fux
c28edaaa96 Enabled 64 connections 2022-11-03 18:30:55 +02:00
Eldad Fux
be8c145e84 Fix for linter 2022-11-03 18:26:31 +02:00
Eldad Fux
9bba91fcb8 Update pools library version 2022-11-03 18:07:53 +02:00
Eldad Fux
de610855fe Updates 2022-11-03 17:19:55 +02:00
Bradley Schofield
cddacfbb78 Handle Eldad's Comments 2022-11-01 14:43:18 +00:00
Bradley Schofield
d34359fd49 Implement Variable Session Duration 2022-10-31 14:54:15 +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
Eldad Fux
766c19b165 Removed logs 2022-10-29 17:04:35 +03:00
Eldad Fux
5eb39b1ccd No need to delegate DB errors 2022-10-29 16:59:03 +03:00
Eldad Fux
8e492a9797 Tests 2022-10-28 17:45:16 +03:00
Christy Jacob
269266127d feat: update db library 2022-10-28 14:30:31 +05:30
Christy Jacob
9165da14b7 feat: add support for the new DSN class 2022-10-26 12:16:22 +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
2d6974da82
Fix empty examples 2022-10-21 15:28:06 +13:00
Eldad Fux
e113253e35 Fixed tests 2022-10-19 17:13:38 +03:00
Eldad Fux
e5c62c6730 Fixed usage of DSN database 2022-10-19 16:55:58 +03:00
Eldad Fux
159fd5fc59 Change URLURL to AppwriteURL 2022-10-19 15:41:38 +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
1632ae61eb Fixing CLI tasks 2022-10-17 19:43:51 +03:00
Eldad Fux
65e004f145 Fixed health API and add new test endpoints 2022-10-17 14:43:57 +03:00
Jake Barnby
fb5d2fc25c
Abstract setting params to init 2022-10-17 13:27:15 +13:00
Jake Barnby
fb68ed377e
Fix imports 2022-10-17 12:13:35 +13: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
f6449687b5 Create connections only on fill method 2022-10-17 01:49:53 +03:00
Eldad Fux
fe29e58f22 Fixed doctor health checks 2022-10-16 20:48:53 +03:00
Eldad Fux
f2068a10e4 Added support for cache sharding, and fallback connections 2022-10-16 14:42:00 +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
95a9ded28f Adjusted compose files and tests 2022-10-15 21:17:03 +03:00
Eldad Fux
0506dbb30e Adapted HTTP API 2022-10-15 17:14:17 +03:00
Eldad Fux
daecc1aa76 Init new connection pool, removed old extensions 2022-10-15 11:52:50 +03:00
Damodar Lohani
be3743e227 fix renamed function 2022-10-14 11:24:37 +00:00
Jake Barnby
d163217d1f
Remove Appwrite URL dependency from resolvers 2022-10-14 18:04:23 +13:00
Jake Barnby
a2b532ed22
Set dirty property instead of in registry from shutdown 2022-10-13 12:59:32 +13:00
Torsten Dittmann
bc66efa1a5 chore: prepare 1.0.3 2022-10-12 12:03:55 +02:00
Jake Barnby
b6621f5e87
Restructure schema building 2022-10-12 14:04:11 +13:00
Eldad Fux
fc8c40c62f Removed unused hostnames 2022-10-10 19:34:57 +03: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
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13: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
26b1a94d22 Renamed DatabasePool to Pools 2022-10-08 08:43:02 +03:00
Christy Jacob
12b1ecfcf9 feat: mysql support 2022-10-04 17:04:42 +05:30
Jake Barnby
2fbc40e966
Merge fixes 2022-10-03 13:42:53 +13:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13: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
757a3f8651 chore: prepare 1.0.2 2022-09-30 12:27:26 +02:00
Christy Jacob
3b802e9ba6 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-09-27 20:59:50 +05:30
Jake Barnby
63a4853563
Fix list complexity calculations 2022-09-23 15:53:25 +12: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
6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Torsten Dittmann
95d322dc36 feat: prepare 1.0.1 release 2022-09-14 21:03:00 +02:00
Torsten Dittmann
78cd9ea71a chore: prepare 1.0.0 release 2022-09-14 11:00:13 +02:00
Damodar Lohani
ed81ff1263 regions using config instead 2022-09-08 07:19:14 +00:00
Matej Bačo
ae2826ad1f Bug fixes 2022-09-02 14:19:36 +00:00
Matej Bačo
432bfe96ac New version preparation 2022-09-01 04:41:50 +00:00
Christy Jacob
e5a9195e66
Merge pull request #3736 from appwrite/refactor-cache-date
Refactor cache date
2022-08-31 19:00:36 +02: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