Compare commits

...
Author SHA1 Message Date
shimon 807ce0469c Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into refactor-move-cli-scripts
 Conflicts:
	src/Appwrite/Platform/Services/Tasks.php
2024-01-30 20:37:24 +02:00
shimon f9613e919e cleanup 2024-01-30 17:50:25 +02:00
shimon 7eae0bff3d cleanup 2024-01-30 17:47:13 +02:00
shimon 227b410252 cleanup 2024-01-30 17:43:31 +02:00
shimon ddc8d0e444 Merge branch 'main' of github.com:appwrite/appwrite into refactor-move-cli-scripts
 Conflicts:
	Dockerfile
	src/Appwrite/Platform/Services/Tasks.php
	src/Appwrite/Platform/Tasks/CalcTierStats.php
2024-01-30 17:37:31 +02:00
Christy JacobandGitHub b07bdf610a Merge pull request #7523 from appwrite/revert-rate-limit
chore: update rate limits
2024-01-30 19:33:54 +04:00
Christy Jacob 8d7705a2e3 chore: update rate limits 2024-01-30 15:28:48 +00:00
Christy JacobandGitHub 742e80c0c6 Merge pull request #7515 from appwrite/update-auth-labels
chore: add auth label to phone endpoint
2024-01-30 00:53:49 +04:00
Matej Bačo 738a696ca9 Add proejct ID abuse protection 2024-01-29 20:38:01 +00:00
Christy Jacob 99c78738f5 Merge branch 'update-auth-labels' of https://github.com/appwrite/appwrite into update-auth-labels 2024-01-29 20:25:29 +00:00
Christy Jacob c192e48c48 chore: remove return 2024-01-29 20:25:23 +00:00
Matej Bačo 7acdaa5978 PR review changes 2024-01-29 20:24:21 +00:00
Matej Bačo a755d76f52 Merge branch 'update-auth-labels' of https://github.com/appwrite/appwrite into update-auth-labels 2024-01-29 20:11:54 +00:00
Matej Bačo bc88197e0d Add more abuse keys 2024-01-29 20:11:44 +00:00
Christy Jacob 1e966d6b2e chore: rename env variable 2024-01-29 20:09:23 +00:00
Christy Jacob 77c4c5d294 Merge branch 'update-auth-labels' of https://github.com/appwrite/appwrite into update-auth-labels 2024-01-29 20:07:42 +00:00
Christy Jacob 2ff7c5ac8e chore: rename env variable 2024-01-29 20:07:17 +00:00
Matej Bačo 7db740d9ea Merge branch 'update-auth-labels' of https://github.com/appwrite/appwrite into update-auth-labels 2024-01-29 20:03:25 +00:00
Matej Bačo 0a518cd47e Fix failing tests 2024-01-29 20:03:14 +00:00
Christy Jacob dc6f9e6d59 chore: add new env variable 2024-01-29 20:01:14 +00:00
Christy Jacob 47fc6efb0d chore: update endpoint 2024-01-29 17:48:12 +00:00
Christy Jacob 0ff6e99354 chore: update auth group 2024-01-29 17:42:14 +00:00
Christy Jacob af21b44125 chore: revert abuse key 2024-01-29 17:25:56 +00:00
Christy Jacob 62246b5a2c chore: add auth label to phone endpoint 2024-01-29 17:24:10 +00:00
Christy JacobandGitHub 5ff8fd98a7 Merge pull request #7514 from appwrite/add-logs
chore: add logs
2024-01-29 20:48:03 +04:00
Christy Jacob d849aa1ed2 chore: add logs 2024-01-29 16:47:12 +00:00
Christy Jacob a3b33ab746 chore: update var_dump 2024-01-29 15:56:07 +00:00
Christy JacobandGitHub 537bbdf419 Merge pull request #7513 from appwrite/fix-membership-count
chore: add logs
2024-01-29 19:11:08 +04:00
Christy Jacob 81f6e1990a chore: add logs 2024-01-29 15:07:56 +00:00
Christy JacobandGitHub 99bf0b8ff7 Merge pull request #7511 from appwrite/fix-membership-count
fix: use atomic operations for count updates
2024-01-29 17:40:59 +04:00
Christy Jacob 94c423c429 chore: add project details to messaging worker 2024-01-29 13:27:03 +00:00
Christy Jacob 6c09d04038 fix: use atomic operations for count updates 2024-01-29 10:54:58 +00:00
Christy JacobandGitHub 5d2d74e64d Merge pull request #7499 from appwrite/feat-add-queue-threshold
Add threshold to queue failed health endpoint
2024-01-26 22:13:27 +04:00
Christy JacobandGitHub 906e227359 Merge pull request #7497 from appwrite/feat-queue-commands
Add queue management commands
2024-01-26 22:06:45 +04:00
Christy Jacob 91e625cfc2 chore: linter 2024-01-26 18:04:06 +00:00
Bradley Schofield 126c3a38de Add threshold 2024-01-26 15:55:55 +00:00
Bradley Schofield 6ceeacbe03 Run Linter 2024-01-26 15:52:58 +00:00
Bradley Schofield 186772cc15 Simplify commands, fix queue consts 2024-01-26 15:51:28 +00:00
Christy JacobandGitHub 7e444b037d Merge pull request #7482 from appwrite/feat-improve-cname-logging
Feat: CNAME validation logs
2024-01-26 19:08:26 +04:00
Christy JacobandGitHub 6d15ffa3ca Merge pull request #7466 from appwrite/feat-queue-failed-health-endpoints
Add failed queues endpoint to health
2024-01-26 17:36:52 +04:00
Christy JacobandGitHub 304b72a0c8 Merge pull request #7391 from appwrite/feat-impl-queue-retry
Add Queue Retry Command to Appwrite
2024-01-26 17:35:01 +04:00
Matej Bačo ecb48b389e FixCI/CD failures 2024-01-26 12:22:06 +00:00
Matej Bačo c0ae2e6549 PR review changes for exception publishing 2024-01-26 12:07:08 +00:00
Bradley Schofield 4c96f76762 Run Linter 2024-01-26 11:20:13 +00:00
Bradley Schofield 216a5d7001 Add queue management commands 2024-01-26 11:11:18 +00:00
Bradley Schofield 772d42cef8 Update health.php 2024-01-26 09:52:41 +00:00
Bradley Schofield e2c05fea8c Update health.php 2024-01-26 09:42:21 +00:00
Bradley Schofield 73b1837d66 Remove HealthFailedJobs Model 2024-01-26 09:41:30 +00:00
Matej Bačo 50c2ebc950 PR review changes 2024-01-25 14:56:15 +00:00
shimon b024cb5614 removed debug lines 2024-01-25 13:42:43 +02:00
47af19dd17 Update app/controllers/api/health.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-25 10:21:52 +00:00
Bradley Schofield 2b31c76918 Update DatabasesBase.php 2024-01-25 10:04:41 +00:00
Bradley Schofield 26d8278a89 Merge branch 'feat-impl-queue-retry' into feat-queue-failed-health-endpoints 2024-01-24 18:00:51 +00:00
Bradley Schofield 6997eec9dd Rename RetryJobs to QueueRetry 2024-01-24 17:54:52 +00:00
Bradley Schofield 192599d7c6 Merge branch 'main' into feat-impl-queue-retry 2024-01-24 17:54:29 +00:00
Bradley Schofield 57c019ff98 Update RetryJobs.php 2024-01-24 17:49:52 +00:00
Bradley Schofield 867bc0281c Update health.php 2024-01-24 17:48:27 +00:00
Bradley Schofield dc2107fe66 Merge branch 'feat-impl-queue-retry' into feat-queue-failed-health-endpoints 2024-01-24 17:47:11 +00:00
Bradley Schofield ab2d830cc0 Address comments 2024-01-24 17:44:29 +00:00
d3e9d03329 Update src/Appwrite/Platform/Tasks/RetryJobs.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-24 14:45:24 +00:00
351abe50d3 Update src/Appwrite/Platform/Services/Tasks.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-24 14:45:17 +00:00
Matej Bačo f4a4cfa207 PR review changes 2024-01-24 12:40:56 +00:00
Torsten DittmannandGitHub 47ea083ea4 Merge pull request #7005 from appwrite/refactor-usage-sn
Refactor usage
2024-01-24 10:00:07 +01:00
Matej Bačo 5bd106afaf Implement better cname validation logging 2024-01-23 15:40:32 +00:00
Bradley SchofieldandGitHub 448b3b0cc0 Merge branch 'main' into feat-impl-queue-retry 2024-01-22 16:51:18 +00:00
Bradley Schofield f3579b3f12 Address Christy's Comments 2024-01-22 16:50:45 +00:00
09a7fc9063 Update bin/queue-retry
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-22 13:51:20 +00:00
2a65dfcc5d Update Dockerfile
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-22 13:51:14 +00:00
shimon d220c2bdd7 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 14:48:25 +02:00
Shimon NewmanandGitHub e9a13fe93c Hamster additions
Hamster additions
2024-01-22 11:31:09 +02:00
shimon 2b865bdf97 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 11:29:11 +02:00
shimon 19b1de283b Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into hamster-additions 2024-01-22 11:25:37 +02:00
德华 刘 d04f9f41c3 chore: refactor code 2024-01-22 08:30:48 +00:00
德华 刘 ff7523d6db chore: refactor code 2024-01-22 08:26:38 +00:00
shimon 9fc1b0b71b Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 10:09:13 +02:00
shimon 0e30f6533e Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 09:54:09 +02:00
shimon c116de29e1 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 09:28:45 +02:00
Bradley Schofield 1e247bdde1 Address Christy's Comments and Update Lib 2024-01-19 13:18:37 +00:00
shimon 37316f97ff adding debug output to usage-worker 2024-01-18 18:52:20 +02:00
Bradley Schofield d3b8ce704e Add failed queue endpoint 2024-01-18 16:18:49 +00:00
shimon a0b38a5a7c Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn 2024-01-18 14:19:19 +02:00
shimon 6bd810cb3a hamster additions 2024-01-17 22:19:00 +02:00
shimon 0d106684ae hamster additions 2024-01-17 22:10:06 +02:00
e5245909e3 Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:09:17 +02:00
3f63b87ea6 Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:09:02 +02:00
c1ca623bab Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:44 +02:00
5d164e0592 Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:37 +02:00
a954cea8fc Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:29 +02:00
shimon f9d6da6672 hamster additions 2024-01-17 21:58:16 +02:00
shimon 40e17ad625 hamster additions 2024-01-17 21:53:12 +02:00
Bradley Schofield da014b0ad3 Rename retry to queue-retry 2024-01-17 15:49:50 +00:00
Christy JacobandGitHub be3e3baca0 Merge pull request #7443 from appwrite/fix-bandwidth-name
Rename usage_network_infinity to usage_bandwidth_infinity
2024-01-15 12:40:05 +04:00
Bradley Schofield 4cb48638be Rename usage_network_infinity to usage_bandwidth_infinity 2024-01-12 15:22:18 +00:00
Torsten DittmannandGitHub 78f7b1897e fix: hotfix for redirect param in custom templates (#7437)
* fix: hotfix for redirect param in custom templates
* fix: redirect param variables
* fix: variable typo
* chore: update comments for template variables
2024-01-11 21:36:05 +01:00
Christy JacobandGitHub bd920ead40 Merge pull request #7421 from appwrite/feat-update-assistant
feat: update assistant
2024-01-10 15:54:11 +04:00
loks0n 310d75b6be feat: update assistant 2024-01-10 10:17:52 +00:00
Christy JacobandGitHub a2d97b3b22 Merge pull request #7417 from appwrite/update-hamster
chore: update collection name in hamster
2024-01-09 16:52:10 +04:00
德华 刘 65c90c9475 chore: update collection name in hamster 2024-01-09 12:41:58 +00:00
Torsten DittmannandGitHub d344ba46c4 feat: account delete (#7415)
* feat: account delete

* chore: run specs

* release: console sdk

* chore: run formatter

* tests: fix project tests
2024-01-09 12:58:36 +01:00
Christy JacobandGitHub b403a13061 Merge pull request #7410 from appwrite/fix-incorrect-framework-version
Fix utopia-php/framework version
2024-01-09 12:31:13 +04:00
Eldad A. FuxandGitHub b0a8aac0b7 Merge pull request #7348 from appwrite/fix-delete-identity-event
Update the delete identity endpoints to set the params and payload
2024-01-09 07:52:08 +01:00
Steven Nguyen dea3c0416b Fix broken usage tests 2024-01-09 03:11:00 +00:00
Steven Nguyen 44182b4444 Fix incorrect response model 2024-01-09 03:10:43 +00:00
Steven Nguyen fc2a4e52e2 Update the usage test to retry since the test is flaky 2024-01-09 02:23:22 +00:00
Steven Nguyen 747779b245 Fix usage test checking wrong array key 2024-01-09 02:09:40 +00:00
Steven Nguyen a7048255e8 Fix utopia-php/framework version
The framework version needs to be 0.33.0 as a new param was added to Template->setParam()
that is used across Appwrite.
2024-01-09 01:36:07 +00:00
Eldad A. FuxandGitHub ef72e08386 Merge pull request #7271 from appwrite/feat-7223-install-without-start
Add a flag to install and upgrade commands to not start Appwrite
2024-01-08 22:09:22 +01:00
Steven Nguyen 864703fb4e Update the install/upgrade arguments to be kebab instead of camel case
Kebab case like --http-port is much more common in CLIs than --httpPort.
2024-01-08 20:56:51 +00:00
shimon 472712dbb7 update utopia-framework version 2024-01-08 19:30:27 +02:00
shimon dcc0aa6ea5 sync with main
and bump utopia-cache lib version
2024-01-08 19:21:46 +02:00
shimon deb189f44b sync with main
and bump utopia-cache lib version
2024-01-08 19:16:47 +02:00
shimon 8163eefe4d Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn 2024-01-08 19:16:10 +02:00
Torsten DittmannandGitHub 9ba2eafa83 fix: escape html in email params (#7409)
* fix: escape html in email params

* revert: phpunit stop on failure

* chore: fix linter
2024-01-08 18:08:17 +01:00
Matej Bačo fae28b468c Fix password hashing bug 2024-01-07 13:40:45 +01:00
d9c04f4fc0 Update src/Appwrite/Platform/Tasks/Retry.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2024-01-05 12:37:03 +00:00
Matej Bačo e5f0e00742 Apply password validation to all places 2024-01-05 12:31:38 +01:00
Matej Bačo 0a2be34ceb Fix PHP refference bug 2024-01-05 12:07:41 +01:00
Matej Bačo ba32170f72 Improve password validator hook 2024-01-04 16:26:15 +01:00
Bradley Schofield 4199126984 Run Linter 2024-01-04 13:04:51 +00:00
Bradley Schofield 01d76a1746 Add Queue Retry Command to Appwrite 2024-01-04 13:00:25 +00:00
Ben HumphriesandGitHub fbd277f6aa executor: pass build timeout to runtimes (#7350)
open-runtimes executor (v1/runtimes) supports passing a timeout parameter that defaults to 600 seconds.

->param('timeout', 600, new Integer(), 'Commands execution time in seconds.', true)

https://github.com/open-runtimes/executor/blob/main/app/http.php#L383

This change passes the _APP_FUNCTIONS_BUILD_TIMEOUT env var.
2024-01-04 11:46:08 +01:00
Torsten DittmannandGitHub 99c163d217 Merge pull request #7387 from appwrite/fix-app-console-hostnames-check-on-refactor-usage-sn
Fix app console hostnames check on refactor usage sn
2024-01-03 22:22:39 +01:00
Steven Nguyen 0c3ed13ad3 Fix _APP_CONSOLE_HOSTNAMES check
Ensure invalid hostnames such as empty strings are not added as a
hostname.
2024-01-03 20:39:19 +00:00
Steven Nguyen d2d36bbfae Add changes from previous console platforms variable PR
See https://github.com/appwrite/appwrite/pull/4581
2024-01-03 20:38:42 +00:00
Torsten DittmannandGitHub 80f5ded0e3 Merge pull request #7386 from appwrite/feat-add-general-tests
Add General E2E tests to CI pipeline
2024-01-03 21:36:21 +01:00
Steven Nguyen b6b5570b0b Add General E2E tests to CI pipeline 2024-01-03 19:48:31 +00:00
Torsten DittmannandGitHub 127aa3cea7 Merge pull request #7377 from appwrite/feat-console-hostnames-on-refactor-usage-sn
Add `_APP_CONSOLE_HOSTNAMES` env var to allow more hostnames to the console project
2024-01-03 17:24:52 +01:00
Torsten DittmannandSteven Nguyen 0a17e2bce9 feat: add new env variable to compsoe files 2024-01-02 19:53:37 +00:00
Torsten DittmannandSteven Nguyen a29cef2334 feat: console hostname env variable 2024-01-02 19:53:20 +00:00
shimon f14250bf2a sync with main 2024-01-02 12:24:57 +02:00
shimon 99f1543f1b Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	Dockerfile
	app/console
	app/init.php
	composer.lock
	src/Appwrite/Platform/Services/Workers.php
	src/Appwrite/Platform/Tasks/Hamster.php
2024-01-02 11:49:23 +02:00
Damodar LohaniandGitHub 3236e9eabe Merge pull request #7328 from appwrite/fix-chunk-upload-permission
Fix permission issue with chunk upload
2024-01-02 12:36:48 +05:45
Damodar LohaniandGitHub 879320e23e update comment regarding validation 2024-01-02 11:53:48 +05:45
Damodar LohaniandGitHub b2b863f09f Merge branch 'main' into fix-chunk-upload-permission 2024-01-02 11:51:09 +05:45
Damodar LohaniandGitHub d86ee91316 Merge pull request #7366 from appwrite/update-storage-compression-constants
PEA-38 compression constants
2023-12-31 17:47:40 +05:45
Damodar Lohani a2ad870084 use compression constant from utopia/storage 2023-12-31 11:46:45 +00:00
Damodar Lohani d070989f73 update utopia storage 2023-12-31 11:46:27 +00:00
Damodar Lohani c99976560d update utopia-storage 2023-12-31 11:37:22 +00:00
Eldad A. FuxandGitHub f5705df02c Merge pull request #7351 from appwrite/pea-33-improve-large-files-handling
Improve large file handling
2023-12-31 08:48:32 +01:00
Eldad A. FuxandGitHub 4f7b1748f4 Merge pull request #7276 from fanksin/patch-1
Update tr.json
2023-12-31 00:24:30 +01:00
Eldad A. FuxandGitHub 88a9fc380e Merge pull request #7359 from appwrite/chore-bump-console-3.3.15
Bump console to version 3.3.15
2023-12-29 20:28:32 +01:00
Steven Nguyen 3d1b61d20d Bump console to version 3.3.15 2023-12-29 19:27:44 +00:00
Eldad A. FuxandGitHub 4ffeb866ca Merge pull request #7358 from appwrite/chore-bump-console-3.3.14
Bump console to version 3.3.14
2023-12-29 20:18:53 +01:00
Steven Nguyen 643f5e845a Bump console to version 3.3.14 2023-12-29 19:16:57 +00:00
Damodar Lohani 1c236959ba fix algorithm attribute on file if size is above read buffer size 2023-12-29 01:49:56 +00:00
shimon bf0f1ee12c console version update + db lib version update 2023-12-28 16:27:34 +02:00
Damodar Lohani 9cb5eb0180 use constants for compression type 2023-12-28 11:42:40 +00:00
Damodar Lohani a28be2bf48 return when response is sent to prevent further execution 2023-12-28 11:32:04 +00:00
Damodar Lohani 5455db7c7f improve order 2023-12-28 11:26:45 +00:00
shimon 260b280e10 preview_output_fix 2023-12-28 11:54:21 +02:00
Eldad A. FuxandGitHub 86ce7a3004 Merge pull request #7349 from appwrite/pea-32-fix-preview-output
fix for file extension not supported
2023-12-28 10:21:11 +01:00
Damodar Lohani 83a009dcba update tests for preview 2023-12-28 02:22:05 +00:00
Damodar Lohani 94a18ede78 fix formatting 2023-12-28 01:35:10 +00:00
Damodar Lohani e8ff828039 fix for file extension not supported
- the error occured with jfif extension, which is essentially a jpeg file
2023-12-28 01:31:25 +00:00
Torsten DittmannandGitHub 0fdc28e034 Merge pull request #7280 from appwrite/fix-7190-user-identity-incorrect-user
Fix user identity attaching to wrong user
2023-12-28 01:59:58 +01:00
Torsten DittmannandGitHub d9b300051a Merge pull request #7292 from appwrite/fix-7147-user-last-activity-not-updating
Fix user last activity not updating
2023-12-28 01:59:23 +01:00
Steven Nguyen f1ba7b08ab Update the delete identity endpoints to set the params and payload
Because no payload was set, the event params (userId and identityId)
wasn't picked up automatically. This updates the endpoints so that the
payload is set, but also makes sure to set the userId and identityId
params since the identityId param's key doesn't match the key in the
payload.
2023-12-27 23:35:32 +00:00
shimon 3bde473ff0 update console ver 2023-12-27 16:45:33 +02:00
shimon 9889048429 update console ver 2023-12-26 19:11:13 +02:00
Shimon NewmanandGitHub 18ab5ca28f Merge pull request #7339 from appwrite/refactor-inf-metric-calc
Refactor inf metric calc
2023-12-26 18:37:08 +02:00
shimon 77d423e645 refactoring infinity metric calculation cli script, adding project id and after
options.
2023-12-26 18:23:07 +02:00
shimon 9382e4cec5 refactoring infinity metric calculation cli script, adding project id and after
options.
2023-12-26 18:21:01 +02:00
Shimon NewmanandGitHub d1f0fddbe7 Merge pull request #7330 from appwrite/refactor-usage-hook
usageHook tweaks
2023-12-25 11:42:13 +02:00
shimon 4a837907d1 usageHook tweaks 2023-12-25 11:32:40 +02:00
shimon b398338876 small fix 2023-12-25 10:17:58 +02:00
Damodar Lohani cbd3e85b38 fix formatting 2023-12-25 06:07:28 +00:00
Damodar Lohani a6b4ade39b update large file upload test to not include update permission 2023-12-25 06:06:18 +00:00
Damodar Lohani b6b1b396b3 update chunk upload test 2023-12-25 06:00:43 +00:00
Damodar Lohani 26ac88c32e validate create permission while updating chunk uploaded file 2023-12-25 05:54:59 +00:00
Shimon NewmanandGitHub a8af6fde8d Merge pull request #7326 from appwrite/refactor-usage-worker-sn
Refactor usage worker sn
2023-12-24 21:18:34 +02:00
shimon ddb7a403db refactor usage worker 2023-12-24 21:17:13 +02:00
shimon 80315a02dd refactor usage worker 2023-12-24 21:00:53 +02:00
shimon d1751565cf refactor usage worker 2023-12-24 20:38:15 +02:00
shimon f1e066d965 debuging usage 2023-12-24 17:06:12 +02:00
shimon 585b904b80 debuging usage 2023-12-24 16:50:20 +02:00
Christy JacobandGitHub e1ebf153cb Merge pull request #7320 from appwrite/update-hamster-script
chore: update hamster script
2023-12-22 15:08:04 +01:00
德华 刘 d3143b8ede chore: update hamster script 2023-12-22 14:07:05 +00:00
德华 刘 394f28146a chore: update hamster script 2023-12-22 14:03:46 +00:00
德华 刘 1857c0e04d chore: update hamster script 2023-12-22 14:03:07 +00:00
Christy JacobandGitHub 0ae5712bb6 Merge pull request #7319 from appwrite/update-console
chore: update console
2023-12-22 10:30:18 +01:00
德华 刘 1eb59daed1 chore: run linter 2023-12-22 09:23:56 +00:00
德华 刘 bf92ae6841 chore: update console 2023-12-22 09:19:27 +00:00
Christy JacobandGitHub 276a12e0f7 Merge pull request #7316 from appwrite/update-console
chore: update console
2023-12-21 23:06:25 +04:00
德华 刘 9ee949104f chore: update console 2023-12-21 19:05:18 +00:00
shimon 724c07914d clear unnecessary cli task 2023-12-21 20:50:26 +02:00
Christy JacobandGitHub ffa4bfd1f6 Merge pull request #7315 from appwrite/update-console
chore: update console
2023-12-21 19:57:53 +04:00
德华 刘 fac204b34e chore: update console 2023-12-21 15:57:38 +00:00
德华 刘 042c8f8f47 chore: update console 2023-12-21 15:53:29 +00:00
Christy JacobandGitHub aa9e9aa1ed Merge pull request #7314 from appwrite/update-console
Update console
2023-12-21 19:03:34 +04:00
德华 刘 6303029f8a chore: update console 2023-12-21 15:02:28 +00:00
Christy JacobandGitHub 45df2d3058 Merge pull request #7313 from appwrite/update-console
chore: update console
2023-12-21 17:14:01 +04:00
Shimon NewmanandGitHub 099308fef5 Merge pull request #7298 from appwrite/refactor-hamster-usage
combining network inbound
2023-12-21 15:05:40 +02:00
shimon ba44e06af6 metrics adjustments
after and projectId additions
2023-12-21 15:04:29 +02:00
德华 刘 a47dcac424 chore: update console 2023-12-21 12:54:35 +00:00
shimon 24d3aa499a metrics adjustments
after and projectId additions
2023-12-21 14:32:10 +02:00
shimon 4e24e3cdc2 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into refactor-hamster-usage
 Conflicts:
	src/Appwrite/Platform/Tasks/CalcTierStats.php
2023-12-21 14:25:06 +02:00
shimon eff578bb36 metrics adjustments
after and projectId additions
2023-12-21 14:07:24 +02:00
shimon 9a2f97b613 metrics adjustments
after and projectId additions
2023-12-21 13:45:57 +02:00
Christy JacobandGitHub 5cd94041dc Merge pull request #7312 from appwrite/1.4.x
Sync main with 1.4.x
2023-12-21 11:40:35 +04:00
Matej Bačo 9c510dace8 Update console 2023-12-20 13:30:15 +01:00
Matej Bačo 56a374e0af Upgrade console 2023-12-20 12:41:07 +01:00
Matej Bačo ccfd856e8e Merge branch 'refactor-usage-sn' of https://github.com/appwrite/appwrite into refactor-usage-sn 2023-12-20 12:31:56 +01:00
Matej Bačo 0529cffa4b Improve logging 2023-12-20 12:31:35 +01:00
Eldad A. FuxandGitHub 1023f24d0b Merge pull request #7310 from appwrite/fix-deletes-worker
fix deletes worker
2023-12-20 12:28:36 +01:00
Damodar Lohani bfbcecd069 fix deletes worker 2023-12-20 11:26:57 +00:00
Matej Bačo 05f8f8fb9d Fix SMS issue 2023-12-20 12:13:22 +01:00
Matej Bačo 457e47cdd7 Upgrade console 2023-12-20 11:12:16 +01:00
Matej Bačo 683fccc080 Update console 2023-12-19 21:28:51 +01:00
Matej Bačo 42246c5174 Fix console 2023-12-19 18:07:07 +01:00
Matej Bačo b3729507de Add cache to console collection 2023-12-19 18:05:39 +01:00
Matej Bačo b301a58b3e Update console 2023-12-19 14:51:03 +01:00
Matej BačoandGitHub 3abb53d3cb Merge pull request #7301 from appwrite/fix-rename-stats
rename stats collection
2023-12-18 12:06:55 +01:00
Damodar Lohani caa5c4e744 making visibility private 2023-12-18 10:20:00 +00:00
Damodar Lohani 1f558442d9 linter fix 2023-12-18 10:18:40 +00:00
Damodar Lohani 5e59d73f78 rename stats collection 2023-12-18 10:11:10 +00:00
shimon 9f1b356a79 combining network inbound
and network outbound on
hamster script
2023-12-18 11:37:54 +02:00
Torsten DittmannandGitHub 76e05983ff Merge pull request #7293 from appwrite/fix-sms-import
Fix SMS import
2023-12-16 19:12:50 +01:00
Steven Nguyen e41194ee3c Fix import to match class name
The class is SMS rather than Sms.
2023-12-16 17:42:29 +00:00
Matej Bačo 0aaab63b8c Remove var dumps 2023-12-15 23:37:31 +01:00
Matej Bačo 8c1363529e Add Hooks 2023-12-15 23:19:43 +01:00
Steven Nguyen 6d17f8e877 Fix user last activity not updating
Add back a section of code that was mistakenly removed.
2023-12-15 21:37:26 +00:00
Christy JacobandGitHub 0f0d43298e Merge pull request #7291 from appwrite/update-console
chore: update console
2023-12-15 21:58:28 +01:00
德华 刘 6b6946e39b chore: update console 2023-12-15 20:40:04 +00:00
Christy JacobandGitHub b36c98af66 Merge pull request #7274 from appwrite/refactor-usage-execution-trigger
Refactor usage execution trigger
2023-12-14 06:16:01 +01:00
德华 刘 dc89501012 chore: linter 2023-12-14 04:51:36 +00:00
德华 刘 1307f73c31 chore: refactor code 2023-12-14 04:49:16 +00:00
Christy JacobandGitHub 39d91aecf1 Merge pull request #7273 from appwrite/damodar/pea-15-refactor-maintenance-deletes-worker
PEA-15 Refactor Deletes and maintenance worker
2023-12-14 05:08:11 +01:00
Steven Nguyen 92a307c164 Fix user identity attaching to wrong user
Suppose a user has 2 accounts on Appwrite:

1. joe@example.com
2. joe@gmail.com

Prior to this PR, if joe@example.com created a Google OAuth2 session
using his joe@gmail.com email, a new joe@gmail.com identity would be
created linked to joe@example.com.

This is especially problematic because if the user tried to create a
Google OAuth2 session using joe@gmail.com, Appwrite would lookup the
user via email and find the joe@gmail.com user, but then find an
identity from joe@example.com. This mismatching user ID would then
cause an error.

This PR prevents an identity from being created if the email from the
OAuth2 provider matches another user's email.
2023-12-13 18:45:05 +00:00
Torsten Dittmann 9bc52e8900 fix: commatation in email html 2023-12-13 18:08:36 +01:00
Torsten Dittmann 06cd61e53a Merge branch 'refactor-usage-sn' of https://github.com/appwrite/appwrite into refactor-usage-sn 2023-12-13 17:47:37 +01:00
Torsten Dittmann 7645d6c34a fix: email templates 2023-12-13 17:46:14 +01:00
Serhat AksakalandGitHub e56b30e6a6 Update tr.json 2023-12-13 12:10:44 +03:00
Christy JacobandGitHub d1850fca38 Merge pull request #7275 from appwrite/revert-expired-cookie
fix: remove expired cookie
2023-12-13 10:01:59 +01:00
德华 刘 f334168f90 fix: remove expired cookie 2023-12-13 08:45:47 +00:00
Matej Bačo cc67bcba28 Add group for cloud limit check 2023-12-12 21:33:02 +01:00
shimon 41ae96ea77 change execution usage trigger 2023-12-12 21:55:01 +02:00
shimon bdf9a64771 change execution usage trigger 2023-12-12 21:21:47 +02:00
Torsten Dittmann cf87cfab3a Merge branch 'refactor-usage-sn' of https://github.com/appwrite/appwrite into refactor-usage-sn 2023-12-12 18:48:26 +01:00
Torsten Dittmann 063db1e2bf feat: add execution aggregation to project usage 2023-12-12 18:48:21 +01:00
Matej Bačo fc504e3a68 Change collections priority for pricing override 2023-12-12 12:27:04 +01:00
Damodar Lohani 7891f9e74c refactor deletes worker 2023-12-12 11:26:44 +00:00
Damodar Lohani 5512123e04 loop through projects 2023-12-12 11:26:28 +00:00
Damodar Lohani 5c3bd741b4 fix resources 2023-12-12 11:26:14 +00:00
Damodar Lohani d8fe96e300 set project resource 2023-12-12 11:08:14 +00:00
Damodar LohaniandGitHub e5fb743943 Merge pull request #7272 from appwrite/damodar/fla-127-make-maintenance-worker-aware-of-the-projects-plan 2023-12-12 10:47:52 +01:00
Damodar Lohani 9ac57e2e7a remove unused retention 2023-12-12 08:11:01 +00:00
Damodar Lohani 104b8bb366 provide retention time as queue server resource 2023-12-12 08:07:24 +00:00
Steven Nguyen 6d357d617d Add a flag to install and upgrade commands to not start Appwrite
This can be useful for cases where the developer only wants the files
to be generated and doesn't want to start Appwrite.
2023-12-11 23:37:32 +00:00
Torsten Dittmann 3d081e1aa5 fix: allow billingPlan query on teams 2023-12-11 19:48:52 +01:00
Torsten Dittmann 5e74c5bbc4 fix: typo usage 2023-12-11 17:12:43 +01:00
Torsten Dittmann 3485373cd7 chore: generate specs 2023-12-11 16:40:19 +01:00
Torsten Dittmann 7d5f926d9c Merge branch 'refactor-usage-sn' of https://github.com/appwrite/appwrite into refactor-usage-sn 2023-12-11 16:37:27 +01:00
Torsten Dittmann 2657247b50 bump: console version 2023-12-11 16:37:14 +01:00
Torsten DittmannandGitHub dc8e8a5002 Merge pull request #7270 from appwrite/feat-usage-project-breakdown
feat: usage breakdown by project
2023-12-11 16:34:06 +01:00
Torsten Dittmann 1794b1395a chore: run formatter 2023-12-11 16:33:15 +01:00
Torsten Dittmann ba75f69969 feat: usage breakdown by project 2023-12-11 16:19:08 +01:00
Torsten Dittmann b87231153e chore: bump console version number 2023-12-10 21:38:34 +01:00
Torsten Dittmann f8878ac039 chore: generate specs 2023-12-10 21:29:32 +01:00
Torsten Dittmann c37e31e6c3 fix: inconsistent timestamp generation 2023-12-10 20:58:38 +01:00
Torsten DittmannandGitHub 6925122791 Merge pull request #7266 from appwrite/feat-project-usage-custom-daterange
feat: project usage custom date range
2023-12-10 12:35:58 +01:00
Damodar LohaniandGitHub 1836e89dff Merge pull request #7251 from appwrite/feat-mail-template-override-ur 2023-12-10 11:46:25 +01:00
Torsten Dittmann 95425832ae fix: tests and response models 2023-12-10 11:03:01 +01:00
Torsten Dittmann bb934080ba feat: project usage custom date range 2023-12-10 10:26:33 +01:00
Damodar Lohani ffdc662022 fix formatting 2023-12-09 06:41:24 +00:00
Damodar LohaniandGitHub e4467521f8 Merge branch 'refactor-usage-sn' into feat-mail-template-override-ur 2023-12-09 07:36:11 +01:00
Christy JacobandGitHub e605beaff2 Merge pull request #7260 from appwrite/fix-cookie-issue
Fix cookie issue
2023-12-09 01:54:56 +01:00
Christy Jacob 4f1d8ed6f4 fix: revert files 2023-12-09 01:36:57 +01:00
Christy Jacob 951a749b50 fix: revert files 2023-12-09 01:19:36 +01:00
Christy Jacob c21a063642 fix: failing tests 2023-12-09 01:02:13 +01:00
Christy Jacob 28d00668bd fix: failing tests 2023-12-09 00:48:34 +01:00
Christy Jacob aeeb7e1d55 fix: failing tests 2023-12-09 00:36:01 +01:00
Christy Jacob 75e1779921 fix: failing tests 2023-12-09 00:29:14 +01:00
Christy Jacob 72a2a043cd fix: linter 2023-12-09 00:28:10 +01:00
Christy Jacob aa7d1a87f4 fix: failing tests 2023-12-09 00:27:35 +01:00
Christy Jacob 731e7b86a7 fix: failing tests 2023-12-09 00:17:13 +01:00
Damodar LohaniandGitHub 3b7fa3d664 Merge pull request #7262 from appwrite/feat-mail-worker-attachment-support
fix redis issue by encoding content
2023-12-08 22:44:38 +01:00
Damodar Lohani e3bab623f1 fix redis issue by encoding content 2023-12-08 21:34:39 +00:00
Damodar LohaniandGitHub a9a15e947b Merge pull request #7261 from appwrite/feat-mail-worker-attachment-support 2023-12-08 21:23:44 +01:00
Damodar Lohani f553576d0e fix linter 2023-12-08 20:06:37 +00:00
Christy Jacob 8b5783d3ff fix: update setParam 2023-12-08 21:02:07 +01:00
Damodar Lohani 386cee5137 mail support string as attachment 2023-12-08 19:57:15 +00:00
Christy Jacob ab84fa8a4d Merge branch 'fix-cookie-issue' of github.com:appwrite/appwrite into fix-cookie-issue 2023-12-08 20:39:14 +01:00
Christy Jacob 9dca3c4300 fix: linter 2023-12-08 20:38:55 +01:00
Christy JacobandGitHub 5606402fa3 Merge branch '1.4.x' into fix-cookie-issue 2023-12-08 20:37:06 +01:00
Christy Jacob 5d121c1887 fix: reset the legacy cookie 2023-12-08 20:36:22 +01:00
Christy Jacob 1e9ee66231 chore: reset old cookie 2023-12-08 20:30:04 +01:00
Christy Jacob eb61d5c25c chore: reset old cookie 2023-12-08 20:24:07 +01:00
Christy Jacob f5c2c8d8f7 chore: reset old cookie 2023-12-08 20:23:04 +01:00
Torsten DittmannandGitHub 610b9518fb Merge pull request #7258 from appwrite/feat-upgrade-console-3.2.15
feat: upgrade console to 3.2.15
2023-12-08 18:21:27 +01:00
Torsten Dittmann c1af9f4201 feat: upgrade console to 3.2.15 2023-12-08 18:09:06 +01:00
Christy JacobandGitHub c60524e11f Merge pull request #7256 from appwrite/revert-7241-update-swoole-base-image
Revert "Update appwrite base image"
2023-12-07 17:50:48 +01:00
Christy JacobandGitHub ea3b9ca0ec Revert "Update appwrite base image" 2023-12-07 17:37:15 +01:00
Damodar LohaniandGitHub 5c9199f332 fix empty body template 2023-12-06 16:16:31 +01:00
Damodar LohaniandGitHub 83d4de9f73 support maile template override 2023-12-06 14:52:13 +01:00
Torsten Dittmann 14e2488f98 chore: bump version 2023-12-05 18:20:47 +01:00
Christy JacobandGitHub aae672d3be Merge pull request #7241 from appwrite/update-swoole-base-image
Update appwrite base image
2023-12-05 15:58:32 +01:00
德华 刘 298d6ea917 fix: revert qr code quality 2023-12-05 14:41:05 +00:00
德华 刘 fa7f9be6f7 fix: update image sizes in graphQL test 2023-12-05 14:25:19 +00:00
德华 刘 1595d41490 fix: update qr code test images due to Imagemagic extension upgrade in the base image 2023-12-05 14:13:24 +00:00
德华 刘 38a3c08772 chore: update docker base image 2023-12-05 09:16:35 +00:00
Christy JacobandGitHub f2d20cc5c2 Merge pull request #7240 from appwrite/update-console
chore: update console version
2023-12-05 05:12:55 +04:00
德华 刘 f127ca651f chore: update console version 2023-12-05 00:54:52 +00:00
Torsten Dittmann 4e7b61b6c8 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into 1.4.x 2023-12-04 10:45:34 +01:00
Torsten Dittmann d79411813a bump: version 2023-12-04 10:45:18 +01:00
Torsten DittmannandGitHub 4d0242b48b Merge pull request #7238 from appwrite/bump-console
bump: console version
2023-12-04 10:26:05 +01:00
Torsten Dittmann eb87b951c6 chore: bump console version 2023-12-04 10:23:29 +01:00
Christy JacobandGitHub fa6f9acaed Merge pull request #7216 from appwrite/feat-refactor-hamster
Implement Job based hamster
2023-12-01 01:36:33 +04:00
德华 刘 65b1e1e948 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-refactor-hamster 2023-11-30 21:26:49 +00:00
Christy JacobandGitHub 62808bfb8b Merge pull request #7225 from appwrite/update-console
feat: update console
2023-12-01 01:26:15 +04:00
德华 刘 8218e95f17 chore: revert console 2023-11-30 21:26:07 +00:00
德华 刘 b6fabf80ef Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-refactor-hamster 2023-11-30 21:20:59 +00:00
德华 刘 11a9583c72 feat: update cache buster 2023-11-30 21:16:17 +00:00
德华 刘 49bb3444bf chore: add logs 2023-11-30 21:11:31 +00:00
德华 刘 e382a9d58b feat: update console 2023-11-30 20:37:59 +00:00
德华 刘 d4ff696173 chore: fix linter issues 2023-11-30 20:35:18 +00:00
德华 刘 0382b2250a chore: address review comments 2023-11-30 19:22:35 +00:00
shimon f16aa598e2 console::billing 2023-11-30 19:51:51 +02:00
shimon fce2055000 console::billing 2023-11-30 19:50:13 +02:00
德华 刘 799fe2acca chore: address review comments 2023-11-30 17:43:07 +00:00
德华 刘 f3544485e5 chore: address review comments 2023-11-30 17:41:23 +00:00
德华 刘 4b7676158e chore: address review comments 2023-11-30 16:24:11 +00:00
德华 刘 5cb818066f Merge branch 'feat-refactor-hamster' of https://github.com/appwrite/appwrite into feat-refactor-hamster 2023-11-30 16:23:05 +00:00
德华 刘 d34050a5df chore: address review comments 2023-11-30 16:22:26 +00:00
shimon 235e31e6d6 composer.lock 2023-11-30 17:02:46 +02:00
Bradley Schofield 8bec64b2a2 Update Hamster.php 2023-11-30 11:05:15 +00:00
shimon d624481193 tests fix 2023-11-30 10:22:34 +02:00
shimon c313e8347f Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	composer.lock
2023-11-30 10:21:59 +02:00
shimon 5daae1db14 tests fix 2023-11-30 10:20:14 +02:00
shimon 30d5e99a07 Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn 2023-11-30 10:18:48 +02:00
Bradley Schofield dea3e74b6a Implement Job based hamster 2023-11-28 10:19:55 +00:00
Jake BarnbyandGitHub 1a496bbf71 Merge pull request #7180 from appwrite/chore-update-sdks
Chore update sdks
2023-11-27 15:04:48 +13:00
shimon c9a4eb0a49 tests fix 2023-11-26 22:57:57 +02:00
shimon 7ee96fb118 sync against 1.4x 2023-11-26 10:36:52 +02:00
shimon 21895e3ac0 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	app/controllers/api/storage.php
	app/init.php
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Services/Tasks.php
	src/Appwrite/Usage/Calculators/TimeSeries.php
2023-11-26 10:28:17 +02:00
Torsten DittmannandGitHub 540ff6ee2e Merge pull request #7189 from appwrite/chore-upgrade-console-3.2.9
chore: upgrade console to 3.2.9
2023-11-21 12:57:32 +01:00
Torsten Dittmann 5179c4d08a chore: upgrade console to 3.2.9 2023-11-21 12:08:26 +01:00
Jake BarnbyandGitHub 6201edc65d Merge pull request #7183 from appwrite/chore-migration-enum-attribute-size
migrates enum attribute size to 255
2023-11-21 22:38:25 +13:00
prateek banga 1720acb2b4 lint fix 2023-11-21 12:32:30 +05:30
aa6a1a2e31 Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-11-21 12:24:08 +05:30
prateek banga 022f0a663e changes array search for cursorAfter query 2023-11-21 12:23:36 +05:30
prateek banga 7e625ba653 adds queries support in documentsIterator 2023-11-21 11:48:27 +05:30
Prateek BangaandGitHub 72b4c78c9f Merge branch '1.4.x' into chore-migration-enum-attribute-size 2023-11-21 11:06:05 +05:30
Christy JacobandGitHub 0dca07f6fc Merge pull request #7187 from appwrite/get-migration-stats
feat: add migration stats task
2023-11-20 20:28:31 -05:00
Christy Jacob 39df6e443a Merge branch 'get-migration-stats' of github.com:appwrite/appwrite into get-migration-stats 2023-11-20 20:26:51 -05:00
Christy Jacob 8eb8351d5f feat: add migration counts to hamster 2023-11-20 20:26:38 -05:00
9d31d8d950 Update src/Appwrite/Platform/Tasks/GetMigrationStats.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-11-20 20:10:56 -05:00
Christy Jacob f81d675609 feat: run linter 2023-11-20 20:10:24 -05:00
Christy Jacob 28c61acec6 feat: update migration task 2023-11-20 19:39:07 -05:00
Christy Jacob 9a12ab8f8a feat: add migration stats task 2023-11-20 19:36:53 -05:00
prateek banga da3798e52f review changes 2023-11-20 23:31:34 +05:30
prateek banga b2381798ab migrates enum attribute size to 255 2023-11-20 22:01:20 +05:30
Jake Barnby 8b14d96151 Merge remote-tracking branch 'origin/1.4.x' into chore-update-sdks 2023-11-21 00:17:36 +13:00
Jake Barnby 6ad4566b6b Update CLI 2023-11-21 00:15:50 +13:00
Christy JacobandGitHub a7833421ef Merge pull request #7168 from appwrite/feat-1.4.13-release-prep
Prepare 1.4.13 release
2023-11-17 17:46:35 -05:00
Steven Nguyen 37e1e3adaf Add 1.4.13 to CHANGES.md 2023-11-17 20:12:11 +00:00
Steven Nguyen a96e571258 Bump appwrite version to 1.4.13 2023-11-17 20:11:56 +00:00
Christy JacobandGitHub 91e29fb974 Merge pull request #7167 from appwrite/chore-bump-console-3.2.8
Bump console to version 3.2.8
2023-11-17 15:07:44 -05:00
Steven Nguyen 926e1f3fc8 Bump console to version 3.2.8 2023-11-17 19:34:33 +00:00
Christy JacobandGitHub 81902f0555 Merge pull request #7142 from appwrite/ci-composer-validate
Add a CI task to validate composer file and lock
2023-11-17 14:26:35 -05:00
Christy JacobandGitHub f9783ccba3 Merge pull request #7155 from appwrite/fix-error-logging
Add flag to send logs to logger
2023-11-17 14:02:18 -05:00
Khushboo Verma 695d6f4065 Renamed variables 2023-11-18 00:04:57 +05:30
Khushboo Verma 03e8a29e8d Merge branch '1.4.x' into fix-error-logging 2023-11-18 00:02:03 +05:30
Christy JacobandGitHub e16387e463 Merge pull request #7154 from appwrite/fix-rate-limit-error-on-large-uploads
Add chunkId to abuse key to prevent rate limit for SDKs
2023-11-17 13:00:27 -05:00
Khushboo VermaandGitHub a76efe7d4e Merge branch '1.4.x' into fix-rate-limit-error-on-large-uploads 2023-11-17 21:19:27 +05:30
Torsten DittmannandGitHub 0873093441 Merge pull request #7164 from appwrite/bug-add-enum-longer-length
changes enum size validation in update controller
2023-11-17 16:39:59 +01:00
Prateek BangaandGitHub 446e1c0979 Merge branch '1.4.x' into bug-add-enum-longer-length 2023-11-17 20:59:31 +05:30
Prateek Banga b68be491b9 updated description 2023-11-17 20:59:09 +05:30
Prateek Banga 9183f2a875 changes enum size validation in update controller 2023-11-17 20:56:18 +05:30
Khushboo Verma 2a2ff34e20 Merge branch '1.4.x' into fix-error-logging 2023-11-17 20:37:36 +05:30
Torsten DittmannandGitHub f0e900a3b5 Merge pull request #7163 from appwrite/bug-add-enum-longer-length
fixes test case
2023-11-17 15:54:53 +01:00
Prateek Banga 55df51fe94 Merge branch 'bug-add-enum-longer-length' of https://github.com/appwrite/appwrite into bug-add-enum-longer-length 2023-11-17 20:15:10 +05:30
Prateek Banga ab35b75c37 fix test message 2023-11-17 20:14:55 +05:30
Prateek Banga 2a54fd64ee Merge branch '1.4.x' of https://github.com/appwrite/appwrite into bug-add-enum-longer-length 2023-11-17 20:08:19 +05:30
Prateek BangaandGitHub 274ef1664b Merge branch '1.4.x' into bug-add-enum-longer-length 2023-11-17 20:08:13 +05:30
Prateek Banga 228b813994 fixes test case 2023-11-17 20:06:28 +05:30
Khushboo Verma 93f58fb876 Merge branch '1.4.x' into fix-error-logging 2023-11-17 19:30:58 +05:30
Khushboo Verma 7902defe69 Addressed PR comments 2023-11-17 19:29:57 +05:30
Torsten DittmannandGitHub 505091c9e7 Merge pull request #7162 from appwrite/bug-add-enum-longer-length
Bug add enum longer length
2023-11-17 14:57:24 +01:00
Prateek Banga 827ad84f53 fixes adding longer length enum 2023-11-17 19:09:31 +05:30
cf1c914edb Update app/controllers/general.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-11-17 18:36:03 +05:30
9329287982 Update app/controllers/general.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-11-17 18:35:51 +05:30
40ec98569e Update app/controllers/general.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-11-17 18:35:26 +05:30
Christy JacobandGitHub eeb0eed29b Merge pull request #7158 from appwrite/fix-orfaned-project-deleteion
comparison fix
2023-11-16 16:43:14 -05:00
shimon e079d4a8b5 comparison fix 2023-11-16 23:42:03 +02:00
shimon 174449ce49 comparison fix 2023-11-16 23:14:26 +02:00
Torsten DittmannandGitHub 5a715ff68c Merge pull request #7149 from appwrite/1.4.x
1.4.x
2023-11-16 20:42:41 +01:00
Khushboo Verma 18994d308a Merge branch '1.4.x' into fix-error-logging 2023-11-17 00:20:41 +05:30
Khushboo Verma 881b92eeb8 Updated error codes in health tests 2023-11-17 00:19:43 +05:30
Christy JacobandGitHub 8013d79ae0 Merge pull request #7156 from appwrite/fix-orfaned-project-deleteion
comparison fix
2023-11-16 13:40:46 -05:00
shimon 8c9a662e14 comparison fix 2023-11-16 20:33:37 +02:00
shimon dceb1858b0 comparison fix 2023-11-16 20:31:53 +02:00
Khushboo Verma c34dc4dae0 Add flag to send logs to logger 2023-11-16 23:51:09 +05:30
Khushboo Verma fccbe405db Add chunkId to abuse key to prevent rate limit for SDKs 2023-11-16 23:04:38 +05:30
Jake Barnby 02b6659b35 SDK releases 2023-11-16 21:50:39 +13:00
Christy JacobandGitHub 7cce033682 Merge branch 'main' into 1.4.x 2023-11-15 11:13:53 -08:00
Christy JacobandGitHub 8e911dc83e Merge pull request #7150 from appwrite/chore-update-version
chore: update versions and changelog
2023-11-15 11:02:01 -08:00
德华 刘 e145ad4cb4 chore: update versions and changelog 2023-11-15 18:41:57 +00:00
Christy JacobandGitHub 6826a9efe0 Merge pull request #7124 from appwrite/usage-auto-skip-fix
wrapping create stats query
2023-11-15 10:38:47 -08:00
德华 刘 37e1e25170 chore: update versions and changelog 2023-11-15 18:31:33 +00:00
Christy JacobandGitHub 90ea00398b Merge pull request #7138 from appwrite/chore-update-database
Chore update database
2023-11-15 10:28:24 -08:00
Christy JacobandGitHub 5a06c015da Merge pull request #7148 from appwrite/chore-bump-console-3.2.7
Bump console to version 3.2.7
2023-11-15 10:28:03 -08:00
Christy JacobandGitHub e36dc817fb Merge branch '1.4.x' into usage-auto-skip-fix 2023-11-15 10:27:44 -08:00
Christy JacobandGitHub bc09b50c11 Merge pull request #7095 from appwrite/feat-delete-orphaned-projects
Add commit flag to delete orphaned projects task
2023-11-15 10:12:00 -08:00
shimon 6b5e734dfa indentation small fix 2023-11-15 20:09:50 +02:00
Steven Nguyen 31d5b75034 Bump console to version 3.2.7 2023-11-15 17:23:35 +00:00
德华 刘 7efecbca8b chore: fixed indentation 2023-11-15 17:20:50 +00:00
Torsten DittmannandGitHub 7766279025 Merge pull request #7041 from krishvsoni/kvs-patch
Update README-CN.md
2023-11-15 16:19:20 +01:00
Torsten Dittmann 42a92933a8 ci: remove install before composer validate 2023-11-15 15:42:44 +01:00
Torsten Dittmann df38a8efd1 ci: validate composer file and lock 2023-11-15 13:44:37 +01:00
Torsten DittmannandGitHub 115ca23a58 Merge pull request #5174 from yatharth1706/fix-4797-verified-user-getting-email-verifications
Fix verified user getting email verifications
2023-11-15 13:35:23 +01:00
Jake BarnbyandGitHub 74604a1a60 Merge pull request #7140 from appwrite/fix-delete-installation
Fix git installation deletion
2023-11-15 19:39:36 +13:00
Khushboo Verma 2e70ed59af Fix git installation deletion 2023-11-15 11:41:42 +05:30
Jake Barnby 94931ff4ce Fix non-PSR-compliant file name 2023-11-15 16:47:49 +13:00
Jake Barnby c3015340ce Update database 2023-11-15 16:46:43 +13:00
Eldad A. FuxandGitHub f6408cd945 Merge pull request #7134 from appwrite/fix-recreate-repositories-documents
Fix patch script, make errors silent
2023-11-14 12:06:01 -05:00
Matej Bačo 1c4fea0fc3 Fix patch script, make errors silent 2023-11-14 17:45:02 +01:00
Eldad A. FuxandGitHub 29cd164448 Merge pull request #7133 from appwrite/fix-repositories-collection
Repositories recreation script
2023-11-14 11:09:38 -05:00
Matej Bačo 7e1b618769 Fix permission issues with repositories collection 2023-11-14 16:50:59 +01:00
shimon c2e5849c49 removing blank line 2023-11-14 16:49:45 +02:00
Khushboo Verma 141b864a56 Update permissions for create repository document 2023-11-14 19:49:23 +05:30
Matej Bačo 2572cb43c2 Code cleanup 2023-11-14 15:11:17 +01:00
Matej Bačo c133bccfa9 Finish recreate repos docs script 2023-11-14 15:06:58 +01:00
Matej Bačo fb6455b783 Add script to patch missing repos documents 2023-11-14 14:43:33 +01:00
Matej Bačo 4f2f76db22 Improve deletion relation with IDs 2023-11-14 14:11:54 +01:00
Torsten DittmannandGitHub 89c097eed3 Merge pull request #7131 from appwrite/fix-repository-deletion-bug
Only delete repositories linked to the particular project
2023-11-14 13:25:28 +01:00
Khushboo Verma 78eb5105e7 Update projectInternalId var 2023-11-14 17:08:09 +05:30
Khushboo Verma be85b173e7 Only delete repositories linked to the particular project 2023-11-14 16:49:16 +05:30
shimon 3d9ee8bc52 delete orphaned projects task 2023-11-13 19:28:48 +02:00
shimon 60c0f4c973 delete orphaned projects task 2023-11-13 19:27:20 +02:00
shimon dd0bf66212 delete orphaned projects task 2023-11-13 19:24:55 +02:00
Eldad A. FuxandGitHub be6b31b43f Merge pull request #7123 from appwrite/feat-health-tresholds
Implement health tresholds
2023-11-13 08:57:51 -05:00
shimon b9007a5956 wrapping create stats query
with Authorization::skip
2023-11-13 15:41:10 +02:00
Matej Bačo 967854d34a Fix grammar 2023-11-13 14:39:33 +01:00
Matej Bačo a029287e5a Implement health tresholds 2023-11-13 14:07:11 +01:00
Jake BarnbyandGitHub 5871178fc0 Merge pull request #7106 from appwrite/1.4.x
1.4.x
2023-11-13 16:45:23 +13:00
Jake BarnbyandGitHub 573a035f92 Merge pull request #7112 from appwrite/chore-update-version
Update version + cache buster
2023-11-10 13:46:11 +13:00
Jake Barnby 97757c9984 Update readmes + migrations 2023-11-10 13:25:28 +13:00
Jake Barnby 4d54e7bb36 Update version + cache buster 2023-11-10 13:09:00 +13:00
Jake BarnbyandGitHub 2d9ac9bac1 Merge pull request #7111 from appwrite/chore-update-db
Chore update db
2023-11-10 12:42:53 +13:00
Jake Barnby 17919ecfbe Update database 2023-11-10 12:11:21 +13:00
Christy JacobandGitHub 7e8778c185 Merge pull request #7104 from appwrite/chore-bump-dependencies
Chore bump dependencies
2023-11-09 08:20:36 -08:00
德华 刘 f1ea4f761e chore: fix markdown syntax 2023-11-09 16:08:20 +00:00
德华 刘 c014e40c54 chore: update changelog 2023-11-09 16:05:33 +00:00
德华 刘 f70b418c5c chore: updates for appwrite 1.4.10 2023-11-09 15:57:37 +00:00
Christy JacobandGitHub e2fa5356bc Merge branch '1.4.x' into chore-bump-dependencies 2023-11-09 07:55:12 -08:00
Christy JacobandGitHub acc49eb998 Merge pull request #7092 from appwrite/fix-null-password-history
Handle cases where password history could contain NULLs
2023-11-09 07:53:02 -08:00
Christy JacobandGitHub d33b8c2ce1 Merge branch '1.4.x' into fix-null-password-history 2023-11-09 07:44:44 -08:00
shimon 91fed7a255 editing the response models 2023-11-09 12:54:33 +02:00
Bradley SchofieldandGitHub 56310bc4fa Merge branch 'main' into fix-null-password-history 2023-11-09 10:41:17 +00:00
Steven Nguyen 5087ae61e7 Bump utopia-php/vcs and utopia-php/messaging 2023-11-09 05:51:47 +00:00
Steven NguyenandGitHub 0c264a107a Merge branch '1.4.x' into fix-4797-verified-user-getting-email-verifications 2023-11-08 17:37:43 -08:00
Christy JacobandGitHub fcf9e9c4d0 Merge pull request #7066 from appwrite/fix-vcs-documents-not-deleted
Delete linked VCS repos and comments
2023-11-08 14:28:45 -08:00
德华 刘 2bf247053d chore: address review comments 2023-11-08 21:59:29 +00:00
Eldad A. FuxandGitHub d64d56069f Merge pull request #6828 from appwrite/feat-improve-migration-validations
Improve Error Handling and Add more Validation
2023-11-08 16:03:04 -05:00
shimon d54615d376 project.php 2023-11-08 18:12:36 +02:00
Christy JacobandGitHub 780dffd973 Merge pull request #7056 from appwrite/fix-prevent-webhook-abuse
Added cURL timeout and not store response data for webhooks
2023-11-08 07:35:38 -08:00
Eldad A. FuxandGitHub 2baadb6e95 Merge pull request #7096 from appwrite/refactor-db-health
Refactor db health api
2023-11-08 09:54:10 -05:00
Bradley Schofield 54e5985940 Fix wrong operator for password history
This fixes a potential chance for nulls to be introduced into the password history array when $password is null and $passwordHistory != 0
2023-11-08 14:35:16 +00:00
shimon dd9d8010c1 db health api throws an error when ping fails 2023-11-08 15:20:50 +02:00
shimon bae9da5695 Merge remote-tracking branch 'origin/main' 2023-11-08 15:13:53 +02:00
Khushboo Verma 05ab73ee37 Update download limit to 5 MB 2023-11-08 17:12:07 +05:30
Khushboo Verma e461a4f14b Added max download limit of 1 GB 2023-11-08 16:09:17 +05:30
shimon 0f3c438976 added inf metric 2023-11-08 12:05:51 +02:00
shimon ad63a377ab added inf metric 2023-11-08 11:09:32 +02:00
Khushboo Verma 365c520267 Fixed linter error 2023-11-08 12:41:16 +05:30
Khushboo Verma 698bce2c36 Limit max redirects to 5 2023-11-08 12:32:48 +05:30
Khushboo Verma 93d3cb7bcf Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-08 11:30:00 +05:30
Christy JacobandGitHub fd7b354113 Merge pull request #7084 from appwrite/fix-proxy-create-rule-500
fix: proxy create rule 500
2023-11-07 10:49:52 -08:00
Christy JacobandGitHub 8feb01d857 Merge pull request #7085 from appwrite/fix-missing-sessionId-error
fix: missing sessionId error
2023-11-07 10:43:05 -08:00
Christy JacobandGitHub 888c7bf39c Merge pull request #7091 from appwrite/fix-missing-functionId-error
fix: missing functionId error on create execution
2023-11-07 10:41:55 -08:00
Christy JacobandGitHub 2d2400fdff Merge branch '1.4.x' into fix-missing-sessionId-error 2023-11-07 10:27:46 -08:00
Christy JacobandGitHub c079d2f978 Merge branch '1.4.x' into fix-missing-functionId-error 2023-11-07 10:27:37 -08:00
Christy JacobandGitHub f4cdd0accc Merge branch '1.4.x' into fix-proxy-create-rule-500 2023-11-07 10:27:31 -08:00
Christy JacobandGitHub 8dff9b9b49 Merge pull request #7093 from appwrite/sync-1.4.x-main
Sync 1.4.x main
2023-11-07 10:26:04 -08:00
德华 刘 9acc23049c Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.4.x-main 2023-11-07 18:12:58 +00:00
Christy JacobandGitHub f53fbc19d4 Merge branch '1.4.x' into fix-missing-functionId-error 2023-11-07 10:10:03 -08:00
Bradley Schofield d5d7440a68 Merge branch 'main' into feat-improve-migration-validations 2023-11-07 16:21:35 +00:00
Bradley Schofield 44cbfb2769 Add null check to hash 2023-11-07 16:17:14 +00:00
Christy JacobandGitHub cb512710f2 Merge pull request #7087 from appwrite/fix-4960-disabled-usage
Ensure usage endpoints don't throw 500 when usage is disabled
2023-11-07 07:34:06 -08:00
Khushboo Verma e4191f206d Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-07 17:34:10 +05:30
loks0n 7e37c973ce fix: missing functionId error on create execution 2023-11-07 10:25:33 +00:00
Eldad A. FuxandGitHub 8db73a3431 Merge pull request #7078 from appwrite/fix-optional-services
Fix optional services
2023-11-07 05:14:52 -05:00
Khushboo Verma 018800c7ae Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-07 13:02:25 +05:30
Steven Nguyen 55a73efeab Ensure usage endpoints don't throw 500 when usage is disabled 2023-11-06 21:28:45 +00:00
loks0n dfc8c919d4 fix: missing sessionId error 2023-11-06 15:06:56 +00:00
loks0n 75669b9b2e chore: better error msg 2023-11-06 14:49:33 +00:00
loks0n 4440859c05 chore: fmt 2023-11-06 14:48:54 +00:00
loks0n 61c5f371b7 chore: use base Exception 2023-11-06 14:45:56 +00:00
loks0n 8b24c44fb9 fix: proxy create rule 500 2023-11-06 14:44:00 +00:00
Jake Barnby 2292143750 Add service/all test 2023-11-06 12:34:44 +13:00
Jake Barnby 1429c82aa0 Make VCS, proxy and migrations services non-optional so they aren't toggled with enable/disable all service routes 2023-11-06 12:04:56 +13:00
KRISH SONIandGitHub e4bde92b35 Merge branch 'main' into kvs-patch 2023-11-05 20:38:36 +05:30
shimon f64d0ab8a8 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	composer.lock
	src/Appwrite/Migration/Migration.php
2023-11-05 17:03:13 +02:00
Yatharth Verma 0ecdeed329 Checkout to latest tag of console submodule 2023-11-04 13:01:05 +05:30
Christy JacobandGitHub 19e5235491 Merge pull request #7073 from appwrite/fix-health-queue-size
Fix the Health service's get X queue endpoints
2023-11-04 00:14:54 +04:00
Christy JacobandGitHub bcdac2f803 Merge pull request #7074 from appwrite/fix-delete-schedules
Fix regression from worker refactor
2023-11-04 00:11:56 +04:00
Steven Nguyen 30b8ff9166 Add pagination to listByGroup to fix infinite loop problem 2023-11-03 17:47:52 +00:00
Steven Nguyen 03da0380ea Ensure schedules for deleted projects are deleted 2023-11-03 17:47:16 +00:00
Steven Nguyen 9f7bbe4869 Fix the Health service's get X queue endpoints
Before this, the endpoints called $client->sumProcessingJobs() which
only gets the currently processing jobs, but this endpoint should return
what's currently in queue, pending to be processed. This should be
retrieved using $client->getQueueSize().
2023-11-03 16:57:30 +00:00
Christy JacobandGitHub 9fc7c1384a Merge pull request #7071 from appwrite/fix-swoole-warning
feat: fix swoole warning
2023-11-03 19:46:59 +04:00
loks0n 305c781206 feat: fix swoole warning 2023-11-03 12:18:24 +00:00
Khushboo Verma 4a3b8fb70e Change projectId to projectInternalId 2023-11-03 15:32:50 +05:30
Khushboo Verma 9be32184d6 Refactor loop 2023-11-03 14:54:51 +05:30
Christy JacobandGitHub 8e1afa11f9 Merge pull request #7070 from appwrite/feat-remove-mock-endpoints
Feat remove mock endpoints
2023-11-02 21:38:15 +04:00
Bradley Schofield 23631f8282 Update specs 2023-11-02 17:12:08 +00:00
Bradley Schofield d921c03ee1 Update mock.php 2023-11-02 17:07:16 +00:00
Bradley Schofield b15dac16c8 Revert "Remove Mock API"
This reverts commit 2d045335ff.
2023-11-02 17:05:51 +00:00
Bradley Schofield 2d045335ff Remove Mock API 2023-11-02 17:05:31 +00:00
Bradley Schofield e158d134b0 Merge branch 'main' into feat-improve-migration-validations 2023-11-02 10:48:38 +00:00
shimon 1c1028412a refactor users, project, functions usage display 2023-11-01 20:44:06 +02:00
KRISH SONIandGitHub 49e23e8916 Merge branch 'main' into kvs-patch 2023-11-01 21:05:14 +05:30
shimon 04290730b2 refactor storage, databases usage display 2023-11-01 17:20:12 +02:00
Khushboo Verma d95e4790a0 Delete VCS documents when project is deleted 2023-11-01 15:06:28 +05:30
Khushboo Verma 8798d183bd Merge branch '1.4.x' into fix-vcs-documents-not-deleted 2023-11-01 14:41:07 +05:30
Khushboo Verma 64630490a5 Delete linked VCS repos and comments on function deletion 2023-11-01 14:36:31 +05:30
Christy JacobandGitHub 281b50ba4a Merge pull request #7063 from appwrite/1.4.x
1.4.x
2023-11-01 12:32:11 +04:00
Jake Barnby 3652ab61d8 Revert "Enum tests"
This reverts commit 74450b1178.
2023-11-01 21:02:42 +13:00
Jake Barnby 74450b1178 Enum tests 2023-11-01 18:29:54 +13:00
Christy JacobandGitHub 7110836beb Merge pull request #7061 from appwrite/feat-1.4.9-release-prep
Prepare 1.4.9 release
2023-10-31 23:59:11 +04:00
Steven Nguyen 358fdb6878 Add 1.4.9 to CHANGES.md 2023-10-31 12:43:52 -07:00
Steven Nguyen 755699de8a Bump appwrite version to 1.4.9 2023-10-31 12:40:45 -07:00
Christy JacobandGitHub 311fc0f0c4 Merge pull request #7059 from appwrite/fix/function-domains-execution
Fix 400 error on function domain execution
2023-10-31 23:17:16 +04:00
Steven NguyenandGitHub 7c8a9ad4d2 Fix incorrect general_protocol_unsupported error
$requestHeaders was being referenced before it was set. This PR reverts
code back to using $swooleRequest to extract the header.
2023-10-31 18:31:36 +00:00
Steven NguyenandGitHub c4e22b1085 Fix warning when cookie is null 2023-10-31 18:25:35 +00:00
Khushboo Verma ce6d873cf4 Added cURL timeout and not store response data for webhooks 2023-10-31 15:55:11 +05:30
KRISH SONIandGitHub 1809140659 Merge branch 'main' into kvs-patch 2023-10-31 15:12:48 +05:30
Christy JacobandGitHub 9fded16d3f Merge pull request #7053 from appwrite/1.4.x
Sync main with 1.4.x
2023-10-31 12:27:08 +04:00
KRISH SONIandGitHub 42288f3070 Merge branch 'main' into kvs-patch 2023-10-30 21:08:42 +05:30
Christy JacobandGitHub 0a6ee966a2 Merge pull request #7045 from appwrite/update-project-creation-logic
chore: update project creation database allocation
2023-10-30 19:34:21 +04:00
德华 刘 744f2fbc1c chore: update project creation database allocation 2023-10-30 14:46:54 +00:00
KRISH SONIandGitHub e8110953b5 Merge branch 'main' into kvs-patch 2023-10-29 23:22:21 +05:30
KRISH SONIandGitHub 68486d4795 Update README-CN.md 2023-10-29 23:17:27 +05:30
Christy JacobandGitHub fbb82ceb81 Merge pull request #7028 from appwrite/feat-1.4.8-release-prep
Prepare 1.4.8 release
2023-10-27 23:32:00 +04:00
Steven Nguyen 4eab2a01f7 Add 1.4.8 to CHANGES.md 2023-10-27 10:31:43 -07:00
Steven Nguyen c1df289df7 Bump appwrite version to 1.4.8 2023-10-27 10:31:43 -07:00
Christy JacobandGitHub 255659f009 Merge pull request #7027 from appwrite/chore-bump-console
Bump console to version 3.2.5
2023-10-27 21:01:29 +04:00
Steven Nguyen c3b7b5af80 Fix inconsistent composer.lock
For some reason the composer.json had version 0.2.* of
utopia-php/messaging, but the composer.lock had 0.1.1.
2023-10-27 09:45:07 -07:00
Steven Nguyen 3abb74c937 Bump console to version 3.2.5 2023-10-27 09:33:21 -07:00
Christy JacobandGitHub 24824e1582 Merge pull request #7015 from appwrite/feat-delete-orphaned-projects
Feat delete orphaned projects
2023-10-27 20:21:52 +04:00
Christy JacobandGitHub 106f4cfc45 Merge pull request #6487 from appwrite/fix-unique-in-errors
Updated error message to not user magic strings
2023-10-27 20:13:16 +04:00
shimon 75484fa018 $collectionsConfig fix 2023-10-27 19:07:27 +03:00
shimon 917a4e9ab1 $collectionsConfig fix 2023-10-27 19:06:16 +03:00
Christy JacobandGitHub bcdebee598 Merge pull request #7024 from appwrite/fix-cookie-header
Fix: Cookie Header
2023-10-27 19:36:05 +04:00
Matej Bačo 9a6d5f8101 Improve var name 2023-10-27 17:25:19 +02:00
Matej Bačo 71807635b3 Move cookie-header logic to request 2023-10-27 17:23:43 +02:00
shimon 07ef5535ef dry run 2023-10-27 18:23:41 +03:00
Christy JacobandGitHub e17bb94e39 Merge pull request #6495 from appwrite/fix-mails
Fix certificate emails and add support for variables in email template subject
2023-10-27 19:17:50 +04:00
Christy JacobandGitHub 21220a2051 Merge pull request #6894 from appwrite/refactor-vcs-tests
Add VCS tests
2023-10-27 19:04:44 +04:00
德华 刘 6d237853e6 chore: revert console 2023-10-27 14:38:09 +00:00
Khushboo Verma 9164ed1045 Fixed linter errors 2023-10-27 19:43:07 +05:30
Khushboo Verma 30abfb01b7 Composer update 2023-10-27 19:40:24 +05:30
Khushboo Verma cba20d8b96 Addressed PR comments 2023-10-27 19:38:33 +05:30
Matej Bačo b2d385944a Add function domain cookie test 2023-10-27 15:33:26 +02:00
Khushboo Verma bb7278dd12 Merge branch 'refactor-vcs-tests' of github.com:appwrite/appwrite into refactor-vcs-tests 2023-10-27 18:14:47 +05:30
Khushboo Verma 36fcc6c293 Resolve merge conflicts 2023-10-27 18:13:50 +05:30
Matej Bačo 0a1a2af218 Connect VCS base to VCS test 2023-10-27 12:57:26 +02:00
Matej Bačo 84559b8f56 Improve cookie test 2023-10-27 12:01:37 +02:00
Christy JacobandGitHub 3700751592 Merge pull request #7016 from appwrite/main
Sync 1.4.x with main
2023-10-27 13:35:54 +04:00
德华 刘 2ee505b3f8 chore: update composer 2023-10-27 09:35:36 +00:00
Matej Bačo 740d9def8e Linter fix 2023-10-27 10:33:08 +02:00
Matej Bačo 94ff3baa9c Fix cookie headers 2023-10-27 10:26:46 +02:00
Steven Nguyen 7c1ab91ebc Add support for variables in email template subject 2023-10-26 16:58:31 -07:00
Steven Nguyen fc4fa977a0 Update emails from certificate worker to match pattern of other emails
Since the certificate worker is sending a job to the mails worker just
like the controllers, it should prepare the email in the same way by
localizing and then sending the inner template for the mail worker to
apply the layout and final variables.

This commit also fixes a problem with a missing subject.
2023-10-26 16:56:44 -07:00
Jake BarnbyandGitHub cb03ad1a15 Merge pull request #7003 from appwrite/feat-query-metadata
Feat query metadata
2023-10-27 12:52:34 +13:00
Steven Nguyen 836ce852ed Refactor email templates
Update the mails worker to only be responsible for building the final
email using the base (layout) template and the user, team, project, and
redirect variables.

It is the responsibility of the controller to perform localization and
determine whether a custom or default email template should be used.
If the default one is used, it has to be rendered using the hello,
footer, thanks, and signature variables so that it matches the custom
template. Then, it can be sent to the worker.
2023-10-26 16:47:14 -07:00
Steven Nguyen 3206cee36f Leave user placeholder in default email template
This matches up with the default template and gives the developer an
idea about the available variables and how to use them.
2023-10-26 16:23:58 -07:00
Steven Nguyen 70a3820009 Remove unused mail vars 2023-10-26 16:23:58 -07:00
Christy JacobandGitHub ab760ba46b Merge pull request #7017 from appwrite/chore-remove-install-analytics
Remove install analytics
2023-10-27 01:09:51 +04:00
Christy JacobandGitHub 3caa49a547 Merge pull request #6938 from appwrite/fix-gitpod-composer-install
gitpod: fix composer usage
2023-10-27 00:39:32 +04:00
Torsten Dittmann c81b4576b4 chore: remove install analytics 2023-10-26 22:25:35 +02:00
Christy JacobandGitHub 4becf5138d Merge pull request #7011 from krishvsoni/kvs-patch
added docs url
2023-10-27 00:25:17 +04:00
Christy JacobandGitHub 16fe42bca9 Merge pull request #6980 from appwrite/feat-support-selfdb
Fix database override
2023-10-27 00:21:59 +04:00
Christy JacobandGitHub d16e3f2f56 Merge branch '1.4.x' into feat-support-selfdb 2023-10-27 00:19:02 +04:00
shimon 45a0954b24 dry run 2023-10-26 21:12:43 +03:00
shimon fc348b2055 dry run 2023-10-26 21:12:13 +03:00
shimon 7e6378b23b dry run 2023-10-26 20:56:32 +03:00
shimon 0f43aa6872 dry run 2023-10-26 20:53:36 +03:00
Christy JacobandGitHub 2b939a57d0 Merge pull request #6198 from appwrite/chhore-parallelize-tests
chore: test parallel executions
2023-10-26 21:28:43 +04:00
德华 刘 c8788e2a13 chore: update CI 2023-10-26 16:43:50 +00:00
德华 刘 09912592cf chore: update CI 2023-10-26 16:27:57 +00:00
德华 刘 c9c688c592 chore: update CI 2023-10-26 16:26:13 +00:00
德华 刘 5d634384c8 chore: update CI 2023-10-26 16:24:14 +00:00
德华 刘 a4c59b838a chore: remove commented files 2023-10-26 16:15:52 +00:00
Matej Bačo c3a80dcebc Fix GraphQL function test 2023-10-26 16:50:35 +02:00
shimon 831122679f creating script 2023-10-26 17:45:23 +03:00
Christy JacobandGitHub 1d9b94ee4d Merge branch 'main' into chhore-parallelize-tests 2023-10-26 14:31:21 +04:00
Jake BarnbyandGitHub 8628e94d0c Merge pull request #7013 from appwrite/chore-updates-deps
Update database to include listCollections fix
2023-10-26 22:49:55 +13:00
Jake Barnby 89236955fb Fix setting metadata 2023-10-26 22:28:23 +13:00
Jake Barnby 995c404f35 Update db 2023-10-26 21:24:30 +13:00
Jake Barnby 2d897889c9 Merge remote-tracking branch 'origin/main' into chore-updates-deps 2023-10-26 21:22:41 +13:00
KRISH SONIandGitHub 822596b2c9 Merge branch 'main' into kvs-patch 2023-10-25 23:56:54 +05:30
KRISH SONIandGitHub 191235ecaf added docs url 2023-10-25 23:24:26 +05:30
Torsten DittmannandGitHub 2910e87c7a Merge pull request #7009 from appwrite/fix-worker-permissions-reset
fix: worker database authorization reset
2023-10-25 19:51:20 +02:00
Torsten Dittmann 404ad8653d fix: worker permissions reset 2023-10-25 19:23:55 +02:00
shimon 6527a506af composer json 2023-10-25 17:27:15 +03:00
shimon a42577b1aa composer json 2023-10-25 17:14:10 +03:00
shimon 5e17cde10f usage test 2023-10-25 15:57:03 +03:00
shimon 19fe1c3fa5 migration ver 2023-10-25 15:08:01 +03:00
shimon 4c6976488c clean up 2023-10-25 15:06:54 +03:00
Christy JacobandGitHub fa0d9139c1 Merge pull request #7007 from appwrite/chore-bump-console
chore: bump console version
2023-10-25 15:36:34 +04:00
Torsten Dittmann f9a3ae1421 chore: bump console version 2023-10-25 13:35:14 +02:00
Christy JacobandGitHub db52e047c6 Merge pull request #7006 from appwrite/fix-http-status-code
Updated the error code for unsupported protocol
2023-10-25 14:56:45 +04:00
Khushboo Verma 17de0d1ea7 Updated the error code for unsupported protocol 2023-10-25 15:55:46 +05:30
shimon b775c53666 clean up 2023-10-25 13:16:25 +03:00
shimon c11b3ff522 workers start hook 2023-10-25 12:46:45 +03:00
shimon 14ac780180 workers start hook 2023-10-25 12:10:30 +03:00
shimon ef347f65b8 usage workers 2023-10-25 11:41:42 +03:00
shimon b7675df9b9 usage workers 2023-10-25 11:38:44 +03:00
shimon 8736a01814 CHANGES.md
migrations::V20
2023-10-25 11:25:31 +03:00
shimon b80bfb0a3c usage sync 2023-10-25 11:00:21 +03:00
shimon 9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
Jake Barnby 5732171a2a Merge remote-tracking branch 'origin/1.4.x' into feat-query-metadata
# Conflicts:
#	app/init.php
#	composer.json
#	composer.lock
2023-10-25 18:21:16 +13:00
Jake BarnbyandGitHub 7d10174193 Merge pull request #7002 from appwrite/chore-updates-deps
Update dependencies
2023-10-25 14:32:08 +13:00
Jake Barnby 8db372a7d3 Update dependencies 2023-10-25 13:55:32 +13:00
Torsten DittmannandGitHub 5069aef6ac Merge pull request #6998 from appwrite/feat-realtime-error-handling
feat: realtime error handling
2023-10-24 16:12:21 +02:00
Torsten Dittmann fbcbd0d430 feat: realtime error handling 2023-10-24 14:32:22 +02:00
Christy JacobandGitHub 3a53dce467 Merge pull request #6994 from appwrite/1.4.x
Update main with 1.4.x
2023-10-24 01:11:13 +04:00
Christy JacobandGitHub 3e2b6c4344 Merge pull request #6990 from appwrite/feat-1.4.7-release-prep
Prepare 1.4.7 release
2023-10-24 00:49:44 +04:00
Steven Nguyen 84ea81f56d Add 1.4.7 to CHANGES.md 2023-10-23 13:36:29 -07:00
Steven Nguyen 3addf76a2a Bump appwrite version to 1.4.7 2023-10-23 13:36:29 -07:00
Christy JacobandGitHub ce8c7e1527 Merge pull request #6988 from appwrite/fix-functions-worker
Fix missing body in async function execution
2023-10-23 23:40:58 +04:00
Torsten DittmannandGitHub 342deb4989 Merge pull request #6465 from appwrite/fix-docs-links
Fix docs links CONTRIBUTING.md
2023-10-23 19:24:43 +02:00
shimon 0411f9f530 fix function-worker body param typo 2023-10-23 16:33:26 +03:00
Khushboo Verma ad4db114bc Updated composer.lock 2023-10-23 15:23:52 +05:30
Khushboo Verma c0460289b7 Remove unused value from docker-compose 2023-10-23 15:19:23 +05:30
Khushboo Verma a09c4281c8 Revert "Remove unused value from docker-compose"
This reverts commit c7435e7e78.
2023-10-23 15:18:48 +05:30
Khushboo Verma c7435e7e78 Remove unused value from docker-compose 2023-10-23 15:16:42 +05:30
Khushboo Verma 2cf8639b68 Resolve merge conflicts 2023-10-23 15:06:01 +05:30
Khushboo Verma 97c1099961 Refactor code and add more assertions 2023-10-23 15:03:24 +05:30
shimon fc34d2ff7e Merge remote-tracking branch 'origin/main' 2023-10-23 11:47:30 +03:00
Christy JacobandGitHub 45c44bb51c Merge pull request #6986 from appwrite/fix-db-mod
fix mod condition
2023-10-23 12:41:05 +04:00
Christy JacobandGitHub 14f35589b3 Merge branch 'main' into fix-db-mod 2023-10-23 12:40:05 +04:00
德华 刘 3dee8d6ecd fix: update incorrect method call 2023-10-23 08:34:57 +00:00
808f682fa7 Update app/controllers/api/projects.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-10-23 11:25:31 +03:00
shimon 2ef8490691 fix mod condition 2023-10-23 11:22:28 +03:00
shimon b09a254d3c fix mod condition 2023-10-23 10:46:15 +03:00
shimon 76e2b39c1a Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/controllers/api/projects.php
2023-10-23 01:08:04 +03:00
Christy JacobandGitHub e2eccaca8b Merge pull request #6985 from appwrite/fix-db-mod
Fix db mod
2023-10-23 02:07:15 +04:00
shimon a841734d50 fix mod condition 2023-10-23 01:05:10 +03:00
Christy JacobandGitHub 765391cd7c Merge branch 'main' into feat-support-selfdb 2023-10-23 01:56:54 +04:00
shimon ac231914d4 fix mod condition 2023-10-23 00:55:57 +03:00
shimon 453ce03881 fix mod condition 2023-10-23 00:47:48 +03:00
Christy JacobandGitHub d1deef43c5 Merge pull request #6984 from appwrite/fix-db-mod
fix mod condition
2023-10-23 01:11:05 +04:00
shimon 0d5127d90b fix mod condition 2023-10-23 00:08:55 +03:00
Christy JacobandGitHub bb46e3869c Merge pull request #6851 from appwrite/feat-sm-db
update projects database
2023-10-22 22:35:54 +04:00
德华 刘 00d2a5ffcd chore: update create projects endpoints 2023-10-22 18:33:15 +00:00
德华 刘 79612bd80f Merge branch 'main' of https://github.com/appwrite/appwrite into feat-sm-db 2023-10-22 18:30:14 +00:00
德华 刘 c0f099e176 chore: update test file 2023-10-22 15:28:39 +00:00
德华 刘 42ce9d881a Merge branch 'main' of https://github.com/appwrite/appwrite into chhore-parallelize-tests 2023-10-22 15:16:40 +00:00
Matej Bačo 1787e57448 Fix database override 2023-10-22 16:18:47 +02:00
Christy JacobandGitHub fc35e0f6ff Merge pull request #6954 from appwrite/1.4.x
Merge 1.4.x to main
2023-10-20 17:36:56 +04:00
Christy JacobandGitHub 3001cac2ba Merge pull request #6967 from appwrite/cl-1.4.x
Cl 1.4.x
2023-10-20 17:03:16 +04:00
Christy Jacob f533ab9324 feat: add swoole hooks 2023-10-20 17:00:45 +04:00
Christy Jacob b9e5d0c890 feat: add swoole hooks 2023-10-20 16:59:07 +04:00
Christy Jacob ce14e05d1d chore: sync with 1.4.x 2023-10-20 16:58:15 +04:00
Christy Jacob df35c79bc2 chore: remove var_dumps 2023-10-20 16:56:34 +04:00
Christy Jacob 3acb68f364 Merge branch 'cl-1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-10-20 16:55:52 +04:00
Christy Jacob 15347cce4b chore: update CI 2023-10-20 16:55:29 +04:00
Christy JacobandGitHub 4e0cc1b297 Merge pull request #6966 from appwrite/fix-mails-worker
fix: mails worker using TLS
2023-10-20 16:52:57 +04:00
Torsten Dittmann d19baafc59 chore: fix linting 2023-10-20 14:43:48 +02:00
Torsten Dittmann 4f77510b0a fix: only apply hook flags to mails worker 2023-10-20 14:42:22 +02:00
Torsten Dittmann 1f97aaf591 fix: disable swoole tcp hook for mails worker 2023-10-20 14:40:59 +02:00
shimon 7f42fbfe71 debug 2023-10-19 23:11:30 +03:00
shimon 04676d9737 debug 2023-10-19 22:57:59 +03:00
shimon c159032e93 email template path 2023-10-19 22:49:53 +03:00
shimon 416e5cc88c Merge branch '1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-10-19 21:00:21 +03:00
Christy JacobandGitHub 8e44f350e5 Merge pull request #6960 from appwrite/fix-email-tmeplate-path
email template path
2023-10-19 21:59:04 +04:00
shimon dd47ef4fd9 email template path 2023-10-19 20:57:24 +03:00
德华 刘 b0b9bd3268 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into chhore-parallelize-tests 2023-10-19 17:10:15 +00:00
德华 刘 9f3561aaa3 chore: cleanup ci file 2023-10-19 17:09:49 +00:00
shimon aa9b057632 Merge branch '1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-10-19 19:42:03 +03:00
Christy JacobandGitHub 21b9716bb2 Merge pull request #6959 from appwrite/chore-update-backup-timings
chore: update backup timings
2023-10-19 20:40:43 +04:00
Christy JacobandGitHub a8ee31f9ae Merge pull request #6958 from appwrite/fix-events-queue-proxy
Fix events queue
2023-10-19 20:32:42 +04:00
德华 刘 de8b9638d5 chore: update backup timings 2023-10-19 16:07:54 +00:00
shimon 8048766d28 queues fixes 2023-10-19 18:28:01 +03:00
Christy JacobandGitHub 5403df059f Merge pull request #6952 from appwrite/feat-upgrade-executor
Feat: Upgrade executor
2023-10-19 17:18:29 +04:00
Christy JacobandGitHub 6b853a532a Merge pull request #6953 from appwrite/fix-logger-ver
hard coding utopia logger to 0.3.1
2023-10-19 16:44:49 +04:00
Christy Jacob c89bace5e4 chore: revert logger version 2023-10-19 12:25:10 +00:00
shimon 23926e9530 hard coding utopia logger to 0.3.1 2023-10-19 14:01:06 +03:00
shimon aa32b419a8 hard coding utopia logger to 0.3.1 2023-10-19 13:50:32 +03:00
Matej Bačo 20c37db8fc Upgrade executor 2023-10-19 11:54:56 +02:00
Christy JacobandGitHub 8d9f0180a1 Merge pull request #6948 from appwrite/feat-1.4.6-release-prep
Prepare 1.4.6 release
2023-10-19 05:41:21 -04:00
Christy JacobandGitHub 01e842782f Merge branch '1.4.x' into feat-1.4.6-release-prep 2023-10-19 05:28:02 -04:00
Christy JacobandGitHub 4b08729131 Update app/init.php 2023-10-19 05:27:52 -04:00
Christy Jacob 18dc8749d5 chore: update health API 2023-10-19 09:25:38 +00:00
Christy JacobandGitHub e2be9ea180 Merge pull request #6949 from appwrite/feat-api-db-timeout
API DB timeout
2023-10-19 05:17:00 -04:00
Christy JacobandGitHub a46b3d088c Merge branch '1.4.x' into feat-api-db-timeout 2023-10-19 05:15:44 -04:00
Jake Barnby bd3be15d07 Fix options test 2023-10-19 21:23:54 +13:00
Jake Barnby 9cb2e834a6 Update db 2023-10-19 20:41:06 +13:00
Jake Barnby 03b6d65669 Add timeout on vcs project DBs 2023-10-19 17:21:11 +13:00
Jake Barnby b5cdbb50c7 Use fixed message 2023-10-19 17:12:05 +13:00
Jake Barnby 354211950f Add timeout test 2023-10-19 17:06:57 +13:00
Jake Barnby b6b8fe7d51 Allow overriding timeout per request in dev mode 2023-10-19 16:19:40 +13:00
Jake Barnby b17e24f645 Use const for timeout 2023-10-19 15:45:32 +13:00
Jake Barnby 389d367fca Set hard timeouts for API dbs 2023-10-19 15:32:45 +13:00
Jake Barnby db3fa21468 Update database 2023-10-19 14:26:44 +13:00
Steven Nguyen 238608a559 Generate 1.4.x docs examples 2023-10-18 17:42:27 -07:00
Steven Nguyen 6d040beb36 Update specs for 1.4.6
$ diff old.json new.json
4c4
<     "version": "1.4.5",
---
>     "version": "1.4.6",
8132c8132
<     "/health/queue/databases": {
---
>     "/health/queue/databases/{databaseId}": {
8164c8164,8175
<         "security": [{ "Project": [], "Key": [] }]
---
>         "security": [{ "Project": [], "Key": [] }],
>         "parameters": [
>           {
>             "name": "databaseId",
>             "description": "Database for which to check the queue size",
>             "required": false,
>             "type": "string",
>             "x-example": "[DATABASE_ID]",
>             "default": "database_db_main",
>             "in": "path"
>           }
>         ]
2023-10-18 17:42:27 -07:00
Steven Nguyen 1d7c9d84d2 Fix get database queue endpoint params
A path param cannot be optional so change it to a query param.
2023-10-18 17:42:27 -07:00
Steven Nguyen ef82d525a4 Add 1.4.6 changes to CHANGES.md 2023-10-18 16:08:28 -07:00
Steven Nguyen 435b20df77 Bump appwrite version to 1.4.6 2023-10-18 16:07:47 -07:00
Eldad A. FuxandGitHub f80f7c8d9b Merge pull request #6947 from appwrite/chore-bump-console
Bump console to version 3.2.3
2023-10-18 18:56:03 -04:00
Steven Nguyen 9bc6b124c0 Bump console to version 3.2.3 2023-10-18 15:51:13 -07:00
Eldad A. FuxandGitHub 251ae23a80 Merge pull request #6928 from appwrite/refactor-workers-sn
Refactor workers
2023-10-18 18:46:45 -04:00
Christy Jacob 6141d02e16 Merge branch 'refactor-workers-sn' of https://github.com/appwrite/appwrite into chhore-parallelize-tests 2023-10-18 21:49:43 +00:00
Christy Jacob 67541d4a1d chore: review comments 2023-10-18 21:35:15 +00:00
Christy JacobandGitHub 20985c7ee4 Merge pull request #6946 from appwrite/remove-resque
chore: remove resque library and update health check endpoints
2023-10-18 16:59:44 -04:00
Christy Jacob 6d55b20fac chore: update health tests 2023-10-18 20:18:15 +00:00
Christy JacobandGitHub be5ed9b282 Merge pull request #6934 from appwrite/feat-delegate-deletes
Delegate custom deletes
2023-10-18 16:13:08 -04:00
Christy Jacob 3d7cd91176 chore: fix injections 2023-10-18 19:54:56 +00:00
Christy Jacob be26e4b729 chore: remove resque library and update health check endpoints 2023-10-18 19:44:06 +00:00
Christy JacobandGitHub f822f86517 Merge branch '1.4.x' into refactor-workers-sn 2023-10-18 15:26:45 -04:00
Christy Jacob 80086e9edc chore: fix composer dependencies 2023-10-18 19:26:35 +00:00
Vincent (Wen Yu) Ge 175879a352 remove package lock 2023-10-18 19:25:00 +00:00
Vincent (Wen Yu) Ge 397bdd50f4 Try even older commit for package-lock.json 2023-10-18 19:24:11 +00:00
Vincent (Wen Yu) Ge 413209d990 Fix checking out the wrong commit to revert package.json 2023-10-18 19:21:28 +00:00
Vincent (Wen Yu) Ge 3a80d58353 Revert package json changes 2023-10-18 19:14:57 +00:00
Christy Jacob 74e3f3f7d2 fix: remove unused variable 2023-10-18 19:08:21 +00:00
Christy Jacob 133cb62b4e fix: update injection name 2023-10-18 19:07:17 +00:00
Christy Jacob 4724d729fb Merge branch 'refactor-workers-sn' of https://github.com/appwrite/appwrite into feat-delegate-deletes 2023-10-18 18:59:51 +00:00
Christy JacobandGitHub eed70454ce Merge pull request #6940 from appwrite/remove-obsolete-tasks
chore: cleanup obsolete CLI tasks
2023-10-18 14:59:41 -04:00
Christy Jacob 066dd6393d Merge branch 'refactor-workers-sn' of https://github.com/appwrite/appwrite into feat-delegate-deletes 2023-10-18 18:57:16 +00:00
Christy Jacob 72d0865ad8 chore: use deletes worker for deleting audit logs 2023-10-18 18:54:20 +00:00
Christy Jacob 688f2e5a56 Merge branch 'refactor-workers-sn' of github.com:appwrite/appwrite into remove-obsolete-tasks 2023-10-18 22:19:52 +04:00
shimon 8a52dc3485 some fixes 2023-10-18 20:21:39 +03:00
Christy Jacob 20415c6daf fix: webhook tests 2023-10-18 21:09:23 +04:00
Christy Jacob 2e3d17e7b1 fix: webhook tests 2023-10-18 21:06:59 +04:00
Christy Jacob 699ac7f7f5 fix: review comments 2023-10-18 20:53:11 +04:00
Christy Jacob 050cb28d4f fix: incorrect events 2023-10-18 20:30:47 +04:00
Christy Jacob 5f9059e221 chore: run linter 2023-10-18 19:50:40 +04:00
Christy Jacob 2a201a9d1c chore: fix flaky tests 2023-10-18 19:42:23 +04:00
Khushboo Verma eac911a006 Remove VCS repo id from env variables 2023-10-18 13:27:29 +05:30
Khushboo Verma 979054e5ca Merge branch 'main' into refactor-vcs-tests 2023-10-18 13:25:40 +05:30
Khushboo Verma 2914a4d1c5 Add test for createRepo endpoint 2023-10-18 13:24:32 +05:30
Jake Barnby bb0744842d Set metadata for all database instantiations 2023-10-18 16:21:10 +13:00
Christy Jacob a0be115815 chore: re-order tests 2023-10-18 03:07:41 +04:00
Christy Jacob c501dc61dc chore: re-order tests 2023-10-18 02:58:29 +04:00
Christy Jacob 33ec5b3d7b chore: re-order tests 2023-10-18 02:36:50 +04:00
Christy Jacob 39820b5a0f chore: update docker compose config 2023-10-18 01:56:54 +04:00
Christy Jacob 67642f9f91 chore: update docker compose config 2023-10-18 01:56:05 +04:00
Christy Jacob 011df60c0d feat: remove old worker class 2023-10-18 01:17:02 +04:00
Christy Jacob eeb6a5065b chore: update composer 2023-10-18 00:11:52 +04:00
Steven NguyenandGitHub 9fbf10f9f5 Merge branch 'main' into fix-docs-links 2023-10-17 13:08:03 -07:00
Christy Jacob 6a53d8e0d5 chore: update composer 2023-10-18 00:02:45 +04:00
Christy JacobandGitHub 2bad00a2fd Merge pull request #6936 from appwrite/feat-dart-3.1
Feat: Dart 3.1 support
2023-10-17 15:53:17 -04:00
Christy Jacob b8367c2b9f chore: update composer 2023-10-17 23:51:16 +04:00
Christy Jacob c3af1e4513 chore: revert composer 2023-10-17 23:49:50 +04:00
Christy Jacob 8afc29c5ed chore: cleanup obsolete CLI tasks 2023-10-17 23:49:10 +04:00
Christy Jacob d1ea0c2244 chore: cleanup obsolete CLI tasks 2023-10-17 23:38:03 +04:00
Christy Jacob 685a953705 Merge branch 'refactor-workers-sn' of github.com:appwrite/appwrite into remove-obsolete-tasks 2023-10-17 23:30:44 +04:00
Christy Jacob 617ded14aa chore: cleanup obsolete CLI tasks 2023-10-17 23:30:11 +04:00
Christy Jacob 7806cf1b55 chore: cleanup obsolete CLI tasks 2023-10-17 23:29:25 +04:00
shimon 593e5ab316 some fixes 2023-10-17 22:08:01 +03:00
shimon 1036cb406d some fixes 2023-10-17 21:32:38 +03:00
Matej Bačo 8b6d050b0d Fix failing event tests 2023-10-17 18:23:10 +02:00
shimon 59052b4fd1 some fixes 2023-10-17 18:12:43 +03:00
shimon b42a9e94e2 some fixes 2023-10-17 18:12:24 +03:00
shimon 3d5930c104 some fixes 2023-10-17 16:55:08 +03:00
Torsten DittmannandGitHub 80574838a4 gitpod: fix composer usage 2023-10-17 15:19:29 +02:00
Christy Jacob 022952e2ee chore: revert console 2023-10-17 08:36:41 +00:00
Christy Jacob 20468782e5 chore: revert console 2023-10-17 08:35:22 +00:00
Jake Barnby 64d582a43a Update for package changes 2023-10-17 21:31:00 +13:00
Matej Bačo 97ea29bba2 Add dart 3.1 support 2023-10-17 10:18:29 +02:00
shimon 09f829e482 updating gitmodules 2023-10-17 11:00:14 +03:00
shimon 6d98b38e23 addressing some comments 2023-10-17 07:29:37 +03:00
shimon d7b7dfef25 addressing some comments 2023-10-17 07:28:51 +03:00
shimon 56f565bf30 addressing some comments 2023-10-17 07:23:33 +03:00
shimon e8dbd043ec addressing some comments 2023-10-17 07:02:54 +03:00
Jake Barnby 62ce68f1b5 Update packages 2023-10-17 16:48:26 +13:00
shimon 55dfb0b034 Merge remote-tracking branch 'origin/refactor-workers-sn' into refactor-workers-sn 2023-10-17 06:44:53 +03:00
shimon 9a6d88a819 addressing some comments 2023-10-17 06:44:36 +03:00
Jake Barnby dbfe5e45aa Delegate custom deletes 2023-10-17 12:18:51 +13:00
e565557eb2 Update app/worker.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-10-16 20:13:39 +03:00
shimon 0e2cf14e12 minor fix 2023-10-16 18:17:13 +03:00
shimon a8f5886474 minor fix 2023-10-16 18:17:02 +03:00
710ac707e3 Update src/Appwrite/Event/Audit.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-10-16 18:11:29 +03:00
shimon 039df4abb3 revert changes 2023-10-16 18:04:27 +03:00
shimon 5dc55110b4 small fixes 2023-10-16 17:34:55 +03:00
shimon e660a6f4a3 small fixes 2023-10-16 17:09:51 +03:00
shimon 2451d9fef1 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-workers-sn
 Conflicts:
	src/Appwrite/Platform/Workers/Deletes.php
2023-10-16 17:06:59 +03:00
shimon 2fcda9fc11 Merge branch 'cl-1.4.x' of github.com:appwrite/appwrite into refactor-workers-sn 2023-10-16 17:03:43 +03:00
shimon 0e2c1c1f2d small fixes 2023-10-16 16:20:41 +03:00
Christy JacobandGitHub ee39971eee Merge pull request #6930 from appwrite/main
Merge main into 1.4.x
2023-10-16 07:09:08 -04:00
Bradley Schofield 23a1da58fb Update Status Codes 2023-10-16 11:57:17 +01:00
shimon 0c776e0a44 comparing $workersCount via worker.php vs init php 2023-10-16 11:04:44 +03:00
shimon 94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
Yatharth Verma 1489f77499 fix changes suggested by steven and also fixed some bugs came after merging with 1.4.x 2023-10-14 12:45:29 +05:30
Yatharth Verma 96f389cee5 merge 1.4.x changes to my branch 2023-10-14 11:57:40 +05:30
Yatharth Verma b420c570bc Reverted to last commit before merging main 2023-10-14 11:51:27 +05:30
Steven NguyenandGitHub 5956c4c247 Merge branch 'main' into fix-unique-in-errors 2023-10-13 12:03:23 -07:00
Bradley Schofield 5274f1234b Merge branch 'main' into feat-improve-migration-validations 2023-10-13 16:23:25 +01:00
Bradley Schofield d4b53e5014 Run Linter 2023-10-13 16:23:20 +01:00
Torsten DittmannandGitHub fce18647d2 Merge pull request #6434 from appwrite/fix-specs
chore: fix spec links
2023-10-13 16:12:19 +02:00
Torsten Dittmann 7bae8ac374 revert: console change 2023-10-13 16:10:27 +02:00
Torsten Dittmann f5d0ebeb75 docs: fix broken links 2023-10-13 15:59:28 +02:00
Torsten Dittmann c0c4cffba2 fix: relative links to absolute v2 2023-10-13 15:43:44 +02:00
Torsten Dittmann 3778939605 fix: relative links to absolute 2023-10-13 15:43:23 +02:00
Torsten Dittmann 8e12a07267 Merge branch 'main' of https://github.com/appwrite/appwrite into fix-specs 2023-10-13 15:42:09 +02:00
Khushboo Verma fe7aa60a11 Updated composer.json 2023-10-13 18:55:33 +05:30
Khushboo Verma f18d33a0d6 Resolved merge conflicts 2023-10-13 18:54:14 +05:30
Khushboo Verma 66ec7f2e1d VCS tests 2023-10-13 18:50:58 +05:30
Torsten DittmannandGitHub ce0024d97a Merge pull request #5290 from DH-555/patch-4
Fix: spanish translations (emails)
2023-10-13 13:36:28 +02:00
Torsten DittmannandGitHub ecd073fb02 Merge pull request #6898 from appwrite/fix-6879-fix-project-delete
Update teamInternalId when updating project team
2023-10-13 13:35:47 +02:00
Torsten DittmannandGitHub 35891503ef Merge pull request #6897 from appwrite/fix-6895-realtime-deletes
Fix realtime deletes
2023-10-13 12:49:49 +02:00
Christy Jacob d8714ec3fa fix: rename domains collection to rules in hamster script 2023-10-13 12:54:10 +04:00
Christy Jacob b3d8998735 chore: update hamster script 2023-10-13 12:29:03 +04:00
Steven Nguyen 3f2f6ab43a Ensure permissions are updated when a project moves orgs
Since the following collections also have permissions set to the team,
the team should be updated for consistency:

- installations
- repositories
- vcsComments
2023-10-12 17:34:53 -07:00
Steven Nguyen 3bb22c38cc Update teamInternalId when updating project team
This is important because when an organization is deleted, projects are
fetched by the teamInternalId and if the teamInternalId is not updated
when the project team is updated, the project will be deleted if the
previous organization is deleted.
2023-10-12 17:03:45 -07:00
Steven Nguyen 2d2af20547 Fix realtime deletes
The realtime collection only exists in the console project so iterating
over every project leads to the not found error.

In addition, the deleteForProjectIds() doesn't include the console
project so the realtime records were not being cleaned up properly.
2023-10-12 22:49:55 +00:00
Khushboo Verma 615bd5148e Test for create and update function using VCS 2023-10-13 03:11:31 +05:30
Khushboo Verma bb75036efe WIP: Mocked GitHub installation 2023-10-13 01:45:27 +05:30
shimon 66c57c9a4f Merge remote-tracking branch 'origin/refactor-workers' into refactor-workers 2023-10-12 16:34:31 +03:00
shimon 4088941f70 sync with main 2023-10-12 16:34:13 +03:00
Jake BarnbyandGitHub 4e988dd1fa Merge pull request #6888 from appwrite/feat-db-per-process
Feat db per worker
2023-10-12 21:36:12 +13:00
Jake Barnby 48bc369149 Hardcode default queue for db worker only 2023-10-12 21:32:33 +13:00
Jake Barnby 204912cb98 Update compose phtml 2023-10-12 20:59:40 +13:00
Jake Barnby 8c92170cb6 Add missing workers num 2023-10-12 20:22:26 +13:00
Jake Barnby dc580c3d0d Change name 2023-10-12 20:15:16 +13:00
Jake Barnby 34e7af806a Fix typo 2023-10-12 20:10:44 +13:00
Jake Barnby 855fe5b893 Remove redundant postfix 2023-10-12 19:12:26 +13:00
Jake Barnby e2a8369712 Add docblock for env vars 2023-10-12 19:11:08 +13:00
Jake Barnby effdeb4bc2 Fix env vars 2023-10-12 19:10:45 +13:00
Jake Barnby 6a05d9606e Remove default number postfix 2023-10-12 18:55:01 +13:00
Jake Barnby 1ac3372239 Set queue name per worker 2023-10-12 17:55:30 +13:00
Jake Barnby 0ebb256b16 Revert formatting 2023-10-12 15:31:58 +13:00
Jake Barnby 096a529618 Revert "Merge branch 'feat-db-per-process' of github.com:appwrite/appwrite into feat-db-per-process"
This reverts commit 6f42305484, reversing
changes made to 69abd222e8.
2023-10-12 15:30:01 +13:00
Jake Barnby 6f42305484 Merge branch 'feat-db-per-process' of github.com:appwrite/appwrite into feat-db-per-process
# Conflicts:
#	bin/worker-databases
#	src/Appwrite/Event/Database.php
#	src/Appwrite/Platform/Workers/Databases.php
2023-10-12 15:28:52 +13:00
Jake Barnby 69abd222e8 Simplify 2023-10-12 15:26:01 +13:00
Jake Barnby 7a78f49eb9 Allow multiprocess for db queue 2023-10-12 15:23:16 +13:00
Jake Barnby 662233b026 Set the queue name based on project DB 2023-10-12 15:21:11 +13:00
Jake Barnby c0c6197cff Remove static queue set for database worker 2023-10-12 15:19:42 +13:00
Jake Barnby d7b87d7bae Add env var for db queues 2023-10-12 15:19:17 +13:00
Jake Barnby 5d845208d9 Simplify 2023-10-12 15:02:53 +13:00
Vincent (Wen Yu) Ge 291654bee9 Rename ID -> Keys for attribute and index for consistency 2023-10-11 19:29:04 +00:00
Christy Jacob 31aeb5887a Merge branch 'main' of https://github.com/appwrite/appwrite into cl-1.4.x 2023-10-11 15:50:38 +00:00
Christy JacobandGitHub f656002a03 Merge pull request #6885 from appwrite/hamster-fix
hamster script fix
2023-10-11 11:13:43 -04:00
shimon 5748418247 sync with main 2023-10-11 18:09:27 +03:00
shimon 1c8b38502a sync with main 2023-10-11 17:07:06 +03:00
Torsten DittmannandGitHub 9cf9337223 Merge pull request #6884 from appwrite/feat-console-3-2-2
chore: upgrade console to 3.2.2 on cloud
2023-10-11 15:08:01 +02:00
shimon 2cd4514086 sync with main 2023-10-11 16:03:15 +03:00
Torsten Dittmann 92adaee1cb chore: upgrade console to 3.2.2 on cloud 2023-10-11 14:57:11 +02:00
shimon 893b1d0ba7 Merge branch 'main' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.gitmodules
	app/controllers/api/functions.php
	app/controllers/api/health.php
	app/init.php
	app/views/install/compose.phtml
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Workers/Builds.php
	src/Appwrite/Platform/Workers/Deletes.php
	src/Appwrite/Platform/Workers/Functions.php
	src/Executor/Executor.php
2023-10-11 12:08:13 +03:00
Christy JacobandGitHub 32c8e84770 Merge pull request #6509 from appwrite/fix-add-hacktoberfest-contributing-guidelines
Added Hacktoberfest Contributing Guidelines
2023-10-11 04:36:52 -04:00
Jake Barnby d238d79e29 Allow multiprocess for db queue 2023-10-11 21:28:29 +13:00
Jake Barnby 365630ff39 Set the queue name based on project DB 2023-10-11 17:21:40 +13:00
Jake Barnby ca5b7f5b16 Add dynamic queue setting for database worker 2023-10-11 16:52:58 +13:00
Jake Barnby 2cf0ed1d69 Remove static queue set for database worker 2023-10-11 16:51:43 +13:00
Jake Barnby 747a16c4ba Add env var for db queues 2023-10-11 16:50:21 +13:00
Khushboo Verma dbd6dbcb5b WIP: Progress with VCS tests 2023-10-11 02:56:15 +05:30
Steven NguyenandGitHub d3603765f4 Merge branch 'main' into fix-add-hacktoberfest-contributing-guidelines 2023-10-10 13:11:50 -07:00
Khushboo Verma 1f97bb39b3 WIP: VCS tests 2023-10-11 01:31:22 +05:30
haimantika mitraandGitHub dbf3f636fc Update HACKTOBERFEST.md 2023-10-11 00:50:05 +05:30
haimantika mitraandGitHub d70042b066 Update HACKTOBERFEST.md 2023-10-11 00:45:00 +05:30
42da578193 Update HACKTOBERFEST.md
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-10-11 00:42:26 +05:30
Torsten DittmannandGitHub 2016310907 Merge pull request #6345 from appwrite/1.4.x
1.4.x
2023-10-10 20:11:46 +02:00
shimon 002fc19d60 tests fix 2023-10-10 21:02:24 +03:00
Haimantika mitra e10bf167b9 Added all requested changes 2023-10-10 23:32:24 +05:30
Eldad A. FuxandGitHub 6f39c1ddc9 Merge branch 'main' into 1.4.x 2023-10-10 19:34:43 +02:00
haimantika mitraandGitHub a362728861 delete old file 2023-10-10 22:30:21 +05:30
Torsten DittmannandGitHub 920d2b2db3 Merge branch 'cl-1.4.x' into 1.4.x 2023-10-10 11:59:24 +02:00
Torsten DittmannandGitHub 8dce3d5862 Merge pull request #6870 from appwrite/feat-1.4.5-release
Prepare 1.4.5 release
2023-10-10 11:15:44 +02:00
Torsten DittmannandGitHub 4cd0c501da Merge pull request #6868 from appwrite/feat-bump-console
Bump console to 3.2.1
2023-10-10 11:14:18 +02:00
Steven Nguyen 9d3972f43f Bump API specs 2023-10-09 16:52:11 -07:00
Steven Nguyen 071920fb30 Bump version to 1.4.5 2023-10-09 16:39:46 -07:00
Steven Nguyen 501153532c Update CHANGES.md for 1.4.5 2023-10-09 16:39:14 -07:00
Steven Nguyen 2620328810 Bump APP_CACHE_BUSTER to make sure browsers fetch the new console 2023-10-09 16:38:54 -07:00
Steven Nguyen 81a6512cce Bump console to 3.2.1 2023-10-09 16:19:59 -07:00
haimantika mitraandGitHub 0c0c41ce87 Made style changes 2023-10-09 22:50:22 +05:30
haimantika mitraandGitHub d43e4f20aa Made requested changes 2023-10-09 22:47:02 +05:30
16d76c2e87 Update Hacktoberfest_Contribution_Guideline.md
Co-authored-by: Vincent (Wen Yu) Ge <vincent@appwrite.io>
2023-10-09 22:41:00 +05:30
Eldad A. FuxandGitHub 970461c509 Merge pull request #6490 from appwrite/fix-6442-executor-restart
Ensure openruntimes-executor restarts after a server reboot
2023-10-09 17:27:15 +02:00
shimon e2989afda8 queueForBuilds fix via functions controller 2023-10-09 13:28:06 +03:00
shimon 24e09d3d8e queueForBuilds fix via functions controller 2023-10-09 13:16:05 +03:00
Khushboo Verma bd2999037d WIP: Add VCS tests 2023-10-09 15:15:36 +05:30
Jake BarnbyandGitHub 72b4950168 Merge pull request #6469 from appwrite/fix-migration-response-model
Fix missing array flag on migration errors response model rule
2023-10-09 11:29:31 +13:00
shimon 31466c44d8 update projects database 2023-10-08 16:44:14 +03:00
Bradley Schofield 9cb1cf418c Improve Error Handling and Add more Validation 2023-10-06 17:02:01 +01:00
Christy JacobandGitHub 030f9629a6 Merge pull request #6496 from appwrite/fix-readme-cn
Update logo in README-CN.md
2023-10-06 08:55:17 -04:00
Steven Nguyen 623b2f97da Ensure openruntimes-executor restarts after a server reboot
Every other service restarts automatically after a server reboot so
the openruntimes-executor should too. Otherwise, function executions
will fail as the executor is unavailable.
2023-10-05 14:25:50 -07:00
Haimantika mitra 0cecdf2937 Added Hacktoberfest Contributing Guidelines 2023-10-06 01:40:30 +05:30
Eldad A. FuxandGitHub 2019552a47 Merge pull request #6476 from appwrite/fix-upgrade-executor
Fix: Upgrade executor
2023-10-05 21:56:48 +03:00
DavidandGitHub 82bde7f7e9 Merge branch 'main' into patch-4 2023-10-05 17:43:27 +02:00
shimon 948f36a023 sync with 1.4 2023-10-05 16:15:39 +03:00
Christy JacobandGitHub 2c5e4a7d28 Merge pull request #6499 from appwrite/chore-add-db-override
chore: add database overrides
2023-10-05 02:06:52 -04:00
Christy Jacob 32ba34cba5 chore: add database overrides 2023-10-05 05:58:52 +00:00
Christy Jacob adbbb6dc20 chore: add database overrides 2023-10-05 05:53:49 +00:00
Steven NguyenandGitHub c5408393c8 Update logo in README-CN.md 2023-10-04 17:26:02 -07:00
Vincent (Wen Yu) Ge e5c828fbbd Attribute keys must be unique and can't use unique() 2023-10-04 13:56:18 +00:00
Vincent (Wen Yu) Ge c12999dc74 Remove extra ` tags 2023-10-04 13:52:19 +00:00
Vincent (Wen Yu) Ge a2c9c8b82e Updated error message to not user magic strings 2023-10-04 13:49:45 +00:00
Eldad A. FuxandGitHub 8a4302ffe6 Merge pull request #6454 from appwrite/hacktoberfest-update
Update with hacktoberfest instructions.
2023-10-04 14:42:53 +03:00
shimon a643a8c907 sync with 1.4 2023-10-04 13:43:21 +03:00
Matej Bačo b6ce679b93 Merge branch '1.4.x' into cl-1.4.x 2023-10-04 10:46:38 +02:00
Eldad A. FuxandGitHub e2831ed8d2 Merge pull request #6478 from appwrite/fix-realtime-logs
Fix: realtime logs
2023-10-04 11:45:58 +03:00
shimon 7f1507f810 sync with 1.4 2023-10-04 11:20:32 +03:00
Matej Bačo 891960a977 Fix realtime logs container name 2023-10-04 10:16:02 +02:00
Matej Bačo 0f3ce658c2 Upgrade executor 2023-10-04 09:10:50 +02:00
Jake Barnby b8cfac90e2 Update specs 2023-10-04 15:13:43 +13:00
Jake Barnby d1502029d1 Fix missing array flag on migration errors response model rule 2023-10-04 15:05:42 +13:00
Vincent (Wen Yu) GeandGitHub 9b0a2fdc73 Fix docs links CONTRIBUTING.md 2023-10-03 15:10:09 -04:00
4a43c84b29 Update CONTRIBUTING.md
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-10-03 15:02:17 -04:00
shimon e3668a4d06 sync with 1.4 2023-10-03 21:56:36 +03:00
shimon 429dabaaee sync with 1.4 2023-10-03 19:50:48 +03:00
shimon ce82a9efa9 remove usage executions from shared api 2023-10-03 17:41:11 +03:00
Vincent (Wen Yu) GeandGitHub 897e975b49 Update with hacktoberfest instructions. 2023-10-03 10:36:27 -04:00
shimon 3b00e396d5 sync with main 2023-10-03 15:15:13 +03:00
shimon 6d60b0bd8c sync with 1.4 2023-10-03 11:40:34 +03:00
Christy Jacob ff3c25d352 chore: update database 2023-10-02 22:23:35 +00:00
Christy JacobandGitHub 74f9ec4907 Merge pull request #6446 from appwrite/chore-update-database
chore: update database
2023-10-02 18:02:43 -04:00
Christy Jacob 29ad61d461 chore: update database 2023-10-02 22:01:42 +00:00
Christy JacobandGitHub 58165e9389 Merge pull request #6445 from appwrite/chore-patch-prevent-db-creates
chore: remove DB creates
2023-10-02 17:38:19 -04:00
Christy Jacob b456c9df2c chore: remove DB creates 2023-10-02 21:32:05 +00:00
shimon 2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
Torsten Dittmann 7b5ee34b68 fix: more links 2023-10-02 14:32:43 +02:00
Torsten Dittmann 71775c76b1 fix: specs relative links 2023-10-02 14:26:54 +02:00
Torsten Dittmann e0dcf3f8b1 fix: relative links 2023-10-02 13:51:24 +02:00
Torsten Dittmann 4b03d6a361 fix: http links with https 2023-10-02 13:47:35 +02:00
Torsten Dittmann f230419614 chore: fix spec links 2023-10-02 13:42:44 +02:00
Torsten DittmannandGitHub 514a5c37fd Merge pull request #6253 from appwrite/feat-package-json
feat: package json
2023-10-02 13:42:20 +02:00
shimon 9995ccfd51 composer 2023-10-02 09:48:06 +03:00
shimon 75d8741eaa sync against master 2023-10-01 21:30:52 +03:00
shimon b1da87f970 migrations worker 2023-10-01 21:06:25 +03:00
shimon b02d51c794 migrations worker 2023-10-01 20:39:26 +03:00
shimon 47d27096db deletes & databases workers 2023-10-01 11:04:12 +03:00
Christy JacobandGitHub 1492c8bfb1 Merge pull request #6370 from appwrite/patch-sync-exec-timeout
Patch: Sync executions timeout
2023-09-30 16:53:52 -04:00
Matej Bačo 1502bfef74 Increase timeout 2023-09-30 17:24:09 +02:00
Matej Bačo 78dd0ca439 Merge branch 'cl-1.4.x' into patch-sync-exec-timeout 2023-09-30 16:02:33 +02:00
Christy JacobandGitHub 43de260b33 Merge pull request #6366 from appwrite/1.4.x
Update cl-1.4.x
2023-09-30 10:02:15 -04:00
Matej Bačo 515fec2858 Linter fix 2023-09-30 11:57:15 +02:00
Matej Bačo d9f2f1c37b Introduce execution sync timeout 2023-09-30 11:54:54 +02:00
Torsten DittmannandGitHub c0f44537cd Merge pull request #6365 from appwrite/chore-merge-main 2023-09-29 21:39:06 +02:00
Steven Nguyen 785304b034 Merge branch 'main' into chore-merge-main 2023-09-29 12:36:04 -07:00
Torsten DittmannandGitHub c02f5fedbc Merge pull request #6354 from appwrite/feat-bump-console 2023-09-29 21:19:04 +02:00
Torsten DittmannandGitHub 2da7cc6e69 Merge pull request #6164 from appwrite/fix-skip-non-ascii-chars-image 2023-09-29 21:18:12 +02:00
Steven Nguyen 9d47237da9 Merge branch '1.4.x' into fix-skip-non-ascii-chars-image 2023-09-29 11:07:31 -07:00
Steven Nguyen e95b4460b4 Bump console to the latest version 2023-09-29 11:06:07 -07:00
Torsten DittmannandGitHub 4205614b74 Merge pull request #6363 from appwrite/fix-avatar-tests
Fix avatars tests
2023-09-29 20:04:37 +02:00
Steven Nguyen f2feecf84e Fix avatars tests
Because the tests referenced images on the appwrite.io website, but the
appwrite.io website changed, the tests broke. This updates the tests to
reference valid images/URLs.

In addition, the favicon test was changed to use github.com because
appwrite.io has an SVG favicon which the avatars API does not support.
2023-09-29 10:25:22 -07:00
Torsten DittmannandGitHub edf06962ec Merge pull request #6350 from appwrite/update-references
chore: update references
2023-09-29 17:52:19 +02:00
Bradley Schofield 1136dc9e64 Add Test and don't stop on special char 2023-09-29 16:27:59 +01:00
Bradley Schofield 615d61d962 Merge branch '1.4.x' into fix-skip-non-ascii-chars-image 2023-09-29 09:21:17 +01:00
Christy Jacob c27d5cb721 chore: revert composer.lock 2023-09-28 22:29:49 +00:00
Christy Jacob cf4cf6c1af Merge branch '1.4.x' of https://github.com/appwrite/appwrite into cl-1.4.x 2023-09-28 22:26:25 +00:00
Christy Jacob d600ae1f74 chore: revert composer.lock 2023-09-28 22:25:53 +00:00
Christy Jacob a65c1c1ee5 chore: fix merge conflict 2023-09-28 22:22:44 +00:00
Christy JacobandGitHub 583f8dbc54 Merge pull request #6349 from appwrite/fix-empty-fulltext-search
Fix empty fulltext search
2023-09-28 15:42:07 -04:00
Christy JacobandGitHub 49155a97d4 Merge pull request #6356 from appwrite/fix-logo
chore: update banner
2023-09-28 15:20:29 -04:00
Christy Jacob fee8e7b136 chore: update banner 2023-09-28 19:05:48 +00:00
Christy Jacob edad80e84f chore: update banner 2023-09-28 18:58:56 +00:00
Christy JacobandGitHub d3e27be2d3 Merge pull request #6353 from appwrite/chore-changes-initials-fix
Update CHANGES.md to add fix for avatar initials
2023-09-28 14:47:59 -04:00
shimon 9cf83151cd certificates worker 2023-09-28 20:37:07 +03:00
Steven Nguyen c85cf65e8f Update CHANGES.md to add fix for avatar initials 2023-09-28 09:33:20 -07:00
Christy JacobandGitHub e640235704 Merge pull request #6352 from appwrite/fix-logo
chore: update logo
2023-09-28 12:07:53 -04:00
Christy Jacob 05f583ae64 chore: update logo 2023-09-28 16:07:39 +00:00
Christy Jacob 9aad825c1c chore: revert composer 2023-09-28 16:02:51 +00:00
Christy Jacob 7460114bab chore: update logo 2023-09-28 15:52:14 +00:00
Christy Jacob 64291676f0 chore: update logo 2023-09-28 15:31:18 +00:00
Christy Jacob a1802d968e chore: update references for dart and flutter 2023-09-28 13:01:54 +00:00
Christy Jacob 6314778e05 chore: update references 2023-09-28 13:00:51 +00:00
Christy Jacob 1423ad1a1c chore: update references 2023-09-28 12:56:27 +00:00
shimon a10246a9bd build && audit && usage workers 2023-09-28 13:45:15 +03:00
Jake Barnby aa1cf053f7 Add test ensuring no 500 on bad serach 2023-09-28 18:58:29 +13:00
Jake Barnby 4491975f78 Update database 2023-09-28 18:41:58 +13:00
Christy JacobandGitHub 6211a58b2b Merge pull request #6348 from appwrite/chore-generate-specs
Generate 1.4.x and latest specs
2023-09-27 20:13:57 -04:00
Steven Nguyen faf69a7a4e Generate 1.4.x and latest specs 2023-09-27 16:42:04 -07:00
Christy Jacob ac844d33ef Merge branch '1.4.x' of https://github.com/appwrite/appwrite into cl-1.4.x 2023-09-27 23:25:48 +00:00
Christy JacobandGitHub 4f88ba8b88 Merge pull request #6347 from appwrite/chore-prep-for-1.4
Chore prep for 1.4
2023-09-27 18:59:16 -04:00
Christy JacobandGitHub df3eef3471 Merge pull request #6346 from appwrite/chore-add-health-endpoints
Chore add health endpoints
2023-09-27 18:44:06 -04:00
Christy Jacob 9fa93e0449 chore: review comments 2023-09-27 22:13:03 +00:00
Christy Jacob 70988f5f7e chore: update changelog 2023-09-27 21:52:12 +00:00
Christy Jacob 9adeac5f2c chore: update changelog 2023-09-27 21:51:56 +00:00
Christy Jacob d4a8137e63 chore: update changelog 2023-09-27 21:50:07 +00:00
Christy Jacob c93780cb27 chore: generate new specs 2023-09-27 21:37:34 +00:00
Christy Jacob 0c2cd174a5 chore: prep for 1.4.4 2023-09-27 21:28:28 +00:00
Matej BačoandChristy Jacob d625b9abc8 Remvoe unnessessary comments 2023-09-27 21:25:12 +00:00
Matej BačoandChristy Jacob 2d578dddac Remove double test 2023-09-27 21:25:04 +00:00
Matej BačoandChristy Jacob e58bf7f695 Rename audits back to logs 2023-09-27 21:24:56 +00:00
Matej BačoandChristy Jacob 5120152369 Add all worker health endpoints 2023-09-27 21:24:41 +00:00
Christy JacobandGitHub 50600d6f2a Merge pull request #6343 from appwrite/master
Merge master into 1.4.x
2023-09-27 17:20:32 -04:00
Christy JacobandGitHub 540116502f Merge pull request #6342 from appwrite/feat-bump-assistant
Bump appwrite-assistant to prevent it from crashing w/o open ai key
2023-09-27 17:17:04 -04:00
Christy JacobandGitHub d0f2a101a7 Merge pull request #6332 from appwrite/fix-long-running-functions
Fix execution call timeout
2023-09-27 17:16:30 -04:00
Christy JacobandGitHub 9ec6597464 Merge pull request #6344 from appwrite/chore-bump-composer
Bump composer to fix migration bug
2023-09-27 17:14:57 -04:00
Eldad A. FuxandGitHub c659c5978f Merge pull request #6277 from appwrite/feat/avatar-colors
Update avatar font and default colors
2023-09-27 21:35:32 +03:00
Steven Nguyen 376cfc9d6a Bump composer to fix migration bug 2023-09-27 11:18:03 -07:00
Steven Nguyen 43f491c5bf Bump appwrite-assistant to prevent it from crashing w/o open ai key 2023-09-27 10:46:48 -07:00
shimon dcf0107a79 sync with master 2023-09-27 20:10:21 +03:00
shimon c4bd6e008e Merge branch 'master' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.env
	app/cli.php
	app/config/collections.php
	app/console
	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
	app/init.php
	app/worker.php
	app/workers/audits.php
	app/workers/builds.php
	app/workers/certificates.php
	app/workers/databases.php
	app/workers/deletes.php
	app/workers/functions.php
	app/workers/mails.php
	bin/worker-usage
	composer.json
	composer.lock
	docker-compose.yml
	src/Appwrite/Event/Delete.php
	src/Appwrite/Event/Mail.php
	src/Appwrite/Platform/Tasks/Maintenance.php
2023-09-27 18:51:17 +03:00
Eldad A. FuxandGitHub 59a850d8b8 Merge pull request #5926 from Dksie09/sentence-case
converted desc to sentence case
2023-09-27 18:16:40 +03:00
Vincent (Wen Yu) GeandGitHub 86f0e6008c Merge branch 'master' into sentence-case 2023-09-27 11:11:58 -04:00
Matej Bačo 872531dc95 Fix execution call timeout 2023-09-26 10:06:22 +02:00
Steven Nguyen 4a0c77a8df Update avatar font and default colors 2023-09-25 15:55:15 -07:00
Christy Jacob 79d7bd8379 chore: linter 2023-09-26 00:10:17 +04:00
Christy Jacob 39dc153a22 chore: remove comments 2023-09-26 00:05:01 +04:00
Christy Jacob 2273cb50b4 Merge branch '1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-09-26 00:02:19 +04:00
Christy Jacob 2856d6db84 Merge branch 'cl-1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-09-26 00:02:09 +04:00
Christy Jacob d4debddc46 chore: update hamster script 2023-09-26 00:01:42 +04:00
Christy Jacob d1d523e1dc chore: update hamster script 2023-09-26 00:01:34 +04:00
Christy JacobandGitHub 650677195c Merge pull request #6319 from appwrite/feat-health-queues
Feat: New health endpoints
2023-09-25 09:54:27 -04:00
Christy JacobandGitHub 6a28499f1b Merge pull request #6329 from appwrite/patch-oauth-flows-1.4.x
Patch: Disable console protection
2023-09-25 09:34:43 -04:00
Christy JacobandGitHub ad83a34857 Merge pull request #6317 from appwrite/feat-event-json-parsing
Feat: Parse event body
2023-09-25 09:34:23 -04:00
Matej Bačo 9f244f976e Remvoe unnessessary comments 2023-09-25 15:32:51 +02:00
Christy JacobandGitHub 0b19b62f39 Merge pull request #6326 from appwrite/fix-max-function-body
Fix: Execution body limit
2023-09-25 09:31:48 -04:00
Matej Bačo 420d2a9c36 @Meldiron Disable console endpoint protection 2023-09-25 15:05:51 +02:00
Matej Bačo c35f05f495 Increase max body size 2023-09-25 11:12:41 +02:00
Matej Bačo a6aa38f1d8 Fix test 2023-09-25 09:55:55 +02:00
Matej Bačo 303c8a16ca Fix test 2023-09-24 14:38:33 +02:00
Matej Bačo b4c5ef2d17 Remove double test 2023-09-24 14:36:47 +02:00
Matej Bačo 725897c896 Rename audits back to logs 2023-09-24 14:36:20 +02:00
Matej Bačo fee30e0239 Remove unnessessary test code 2023-09-24 14:34:27 +02:00
Matej Bačo 24204bce54 Add all worker health endpoints 2023-09-24 14:07:37 +02:00
Matej Bačo 310517fd29 Auto-parse event bodies + test 2023-09-24 13:19:31 +02:00
Torsten DittmannandGitHub c273e3d8e1 Merge pull request #6229 from btme0011/fix-6212-Issue-With-Linkedin-OAuth 2023-09-24 01:57:58 +02:00
Torsten DittmannandGitHub 614e91b60a Merge pull request #6260 from appwrite/fix-delete-project-domains 2023-09-24 01:54:28 +02:00
Yatharth VermaandYatharth Verma 5771ad35ed fix test cases 2023-09-22 22:56:58 +05:30
Yatharth VermaandYatharth Verma 56a3b3df99 Add test cases 2023-09-22 22:56:58 +05:30
Yatharth Verma 6b47999120 fix conflicts 2023-09-22 22:56:07 +05:30
Yatharth Verma f07f246f8d fix conflicts 2023-09-22 22:53:41 +05:30
Christy JacobandGitHub 9dde039adf Merge pull request #6290 from appwrite/fix-deployment-delete
Fix deployment delete
2023-09-22 11:37:50 -04:00
Christy JacobandGitHub e35b07bf0a Merge pull request #6268 from appwrite/fix-download-deployment-desc
Add Description for Download Deployment
2023-09-22 06:24:48 -04:00
Steven Nguyen d731d2b619 Remove legacy comment 2023-09-21 15:35:40 -07:00
Steven Nguyen bb70860b92 Fix deployment and build files deletion on function delete
Make sure deployment and build paths exist before deleting fiels.
2023-09-21 14:55:08 -07:00
Matej Bačo 3e41578d61 Merge branch '1.4.x' into cl-1.4.x 2023-09-21 16:36:09 +02:00
Christy JacobandGitHub deb58a60b7 Merge pull request #6302 from appwrite/fix-migrations
Fix: migrations
2023-09-21 10:35:39 -04:00
Matej Bačo cebfc5a22d Fix migrations 2023-09-21 16:09:51 +02:00
Christy Jacob c7e6efc050 chore: update backups schedule 2023-09-21 10:23:55 +00:00
Christy JacobandGitHub 707aa4850e Merge pull request #6300 from appwrite/fix-publish-cicd
Fix: Publish CI/CD script
2023-09-21 05:44:39 -04:00
Matej Bačo 6cfd970055 Merge branch 'cl-1.4.x' into fix-publish-cicd 2023-09-21 11:21:17 +02:00
Christy JacobandGitHub 864092d81c Merge pull request #6272 from appwrite/feat-router-protection
Feat: router protection
2023-09-21 05:13:34 -04:00
Christy JacobandGitHub f78b520f12 Merge pull request #6269 from appwrite/feat-https-function-domains
Feat: Function domains force https
2023-09-21 05:11:06 -04:00
Matej Bačo 66f06cb779 Update publish.yml 2023-09-21 11:10:03 +02:00
Matej Bačo c8d57c0f6f Fix: Publish CI/CD script 2023-09-21 11:07:07 +02:00
Christy JacobandGitHub 4a6cc0adb0 Merge pull request #6273 from appwrite/fix-large-builds
Fix: Large builds
2023-09-21 05:04:00 -04:00
Matej Bačo 8184754b1f Update compose.phtml 2023-09-21 10:37:35 +02:00
Matej Bačo 91e3f37443 Upgrade executor 2023-09-21 10:31:44 +02:00
Matej Bačo 4984b01ef4 Merge branch '1.4.x' into feat-https-function-domains 2023-09-21 10:10:07 +02:00
Matej Bačo 70a2a75038 Merge branch '1.4.x' into feat-router-protection 2023-09-21 10:09:57 +02:00
Matej Bačo 69fc962f50 Merge branch '1.4.x' into fix-large-builds 2023-09-21 10:09:24 +02:00
Christy JacobandGitHub 5b45acf67a Merge pull request #6299 from appwrite/master
Sync 1.4.x with master
2023-09-21 03:58:43 -04:00
Christy JacobandGitHub eea7851e05 Merge pull request #6270 from appwrite/fix-build-race-condition
Fix: build race condition
2023-09-21 03:09:28 -04:00
Christy JacobandGitHub 62d37015cc Merge pull request #6271 from appwrite/fix-wrong-device-type
Fix: wrong device type
2023-09-21 03:09:02 -04:00
Steven Nguyen 9ca82b7662 Fix missing resourceInternalId on deployments 2023-09-20 19:26:23 -07:00
Steven Nguyen c5e059c118 Fix delete function deployment
Prior to this, deleting a VCS deployment would fail because the
deployment path for VCS deployments are empty. Because an error gets
thrown, the delete function would stop and not delete the build files.

This change updates the worker to only delete the storage files if the
path is set.
2023-09-20 18:58:11 -07:00
Matej Bačo 4c18f9f0e7 Document router protection env var 2023-09-19 09:39:28 +02:00
Matej Bačo 8926d24a0d One more env var rename 2023-09-19 09:35:32 +02:00
Matej Bačo d87dbad768 PR review changes 2023-09-19 09:31:57 +02:00
Matej Bačo 007d6953bf PR review changes 2023-09-19 09:21:11 +02:00
Khushboo Verma 6a32bb14d7 Throw error if repo size is larger than allowed limit 2023-09-18 23:39:22 +05:30
Christy JacobandGitHub ddb73eb4f6 Merge pull request #6257 from appwrite/cl-1.4.x
Cl 1.4.x
2023-09-18 12:00:24 -04:00
Christy Jacob a199679101 chore: update ci scripts 2023-09-18 11:50:23 -04:00
Christy Jacob e8011074ec Merge branch 'master' of github.com:appwrite/appwrite into cl-1.4.x 2023-09-18 11:25:50 -04:00
Matej Bačo 1669ead4e0 Transfer for Git deploys to prevent memory issues 2023-09-18 13:55:32 +02:00
Matej Bačo 544f35ef2f env var disabled by default router protection 2023-09-18 13:24:43 +02:00
Matej Bačo 6afba0b9c9 Linter fix 2023-09-18 13:22:06 +02:00
Matej Bačo a1049bd2d5 Implement router protection 2023-09-18 13:18:58 +02:00
Matej Bačo d3f83c2466 Linter fix 2023-09-18 12:41:25 +02:00
Matej Bačo dc1d9fa635 Fix wrong device type 2023-09-18 12:39:19 +02:00
Matej Bačo 94117ed471 Fix build race condition 2023-09-18 12:33:05 +02:00
Matej Bačo 6a7950aa34 Add function domains force https 2023-09-18 12:27:47 +02:00
Bradley Schofield 30b7b9dfae Regenerate Specs 2023-09-18 09:53:40 +01:00
Bradley Schofield 2eb62953ca Add Description for Download Deployment 2023-09-18 09:50:46 +01:00
Steven Nguyen 68b2706797 Fix project deletion
The project deletion failed because old code for deleting domain was
still present. By removing the old code and replacing it with the new
delete rule code, the project deletion is now working.
2023-09-15 17:04:56 -07:00
Jake BarnbyandGitHub 9ba609c46e Merge pull request #6238 from appwrite/1.4.x
1.4.x
2023-09-15 18:49:55 -04:00
Jake BarnbyandGitHub 6770b9920a Merge pull request #6258 from appwrite/chore-update-console
Update console
2023-09-15 17:02:07 -04:00
Jake Barnby 67ad657802 Update console 2023-09-15 16:56:11 -04:00
Christy Jacob 0e228b9c96 Merge branch '1.4.x' of github.com:appwrite/appwrite into cl-1.4.x 2023-09-15 14:29:14 -04:00
Jake BarnbyandGitHub 72663ba0a5 Merge pull request #6242 from appwrite/chore-update-appwrite-version
Chore update appwrite version
2023-09-15 13:07:19 -04:00
Jake Barnby ff7b102550 Merge remote-tracking branch 'origin/1.4.x' into chore-update-appwrite-version 2023-09-15 12:21:42 -04:00
Jake Barnby e53c5771ab Update changelog for console 2023-09-15 12:21:19 -04:00
Jake BarnbyandGitHub 7f8f32dcd5 Merge pull request #6255 from appwrite/chore-update-console
Chore update console
2023-09-15 12:10:25 -04:00
Jake Barnby 5b23a1c086 Update console 2023-09-15 12:04:19 -04:00
Torsten Dittmann c1b0ef206b chore: remove unused props from package.json 2023-09-15 14:20:46 +02:00
Torsten Dittmann c58f5a4522 chore: add package.json 2023-09-15 14:17:10 +02:00
Christy Jacob 538c258117 chore: update ci 2023-09-15 06:01:17 +00:00
Christy Jacob d31a2721c8 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into cl-1.4.x 2023-09-15 05:58:59 +00:00
Christy Jacob 341fdb3721 chore: update changelog 2023-09-15 05:50:16 +00:00
Christy JacobandGitHub 4d14d0eb72 Merge pull request #6246 from appwrite/fix-schedules-task
fix: add try catch block in the schedules task
2023-09-15 01:47:59 -04:00
Christy Jacob bede0d43d4 fix: add try catch block in the schedules task 2023-09-15 05:24:00 +00:00
Christy Jacob e50a586364 chore: review commens 2023-09-14 23:08:03 +00:00
66526edbe7 Update CHANGES.md
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-09-14 16:08:07 -04:00
Christy Jacob 27b58fdf1e chore: increase cache buster 2023-09-14 20:06:10 +00:00
Christy Jacob 3f00ebbf5d chore: update changelog 2023-09-14 20:00:25 +00:00
Christy Jacob 5b76886375 chore: update changelog 2023-09-14 19:59:43 +00:00
Christy Jacob 38d610610c chore: update changelog 2023-09-14 19:58:52 +00:00
Christy Jacob 1e6b37f980 chore: update appwrite version 2023-09-14 19:53:32 +00:00
Christy JacobandGitHub f8d4d04d2d Merge pull request #5971 from appwrite/chore-cleanup-dockerfile
Chore cleanup dockerfile
2023-09-14 15:50:21 -04:00
Christy JacobandGitHub ac0238a336 Merge pull request #6241 from appwrite/chore-bump-sdk-versions
Chore bump sdk versions
2023-09-14 15:49:49 -04:00
Christy JacobandGitHub 27ae4bf26c Merge pull request #6240 from appwrite/chore-upgrade-migration-library
chore: update dependencies
2023-09-14 15:47:21 -04:00
Jake Barnby 316cd4f8f8 Bump CLI, Swift, Apple SDK versions 2023-09-14 15:11:40 -04:00
Christy Jacob 0f902d4d2e chore: update dependencies 2023-09-14 18:18:18 +00:00
Christy Jacob 50405f838e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into chore-cleanup-dockerfile 2023-09-14 18:07:53 +00:00
Christy JacobandGitHub 6afeed8cf1 Merge pull request #6235 from appwrite/fix-6234-fix-function-timeout
Fix function timeout
2023-09-14 13:53:37 -04:00
Christy JacobandGitHub 6dd627601d Merge pull request #6230 from appwrite/feat-bun-support
Feat: Bun support
2023-09-14 11:42:48 -04:00
Christy Jacob 629e0879ff chore: update composer 2023-09-14 15:22:44 +00:00
Christy Jacob 2ea8dbff29 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-bun-support 2023-09-14 15:21:31 +00:00
Christy JacobandGitHub 0e7a75d63c Merge pull request #6227 from appwrite/fix-storage-git-deploys
Fix: Git deploys with S3
2023-09-14 11:04:13 -04:00
Akhil Anand 5ba6491dd5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-14 13:16:45 +05:30
Akhil AnandandGitHub 01ecfc51ea Merge branch 'appwrite:master' into fix-6212-Issue-With-Linkedin-OAuth 2023-09-14 13:09:44 +05:30
Steven Nguyen 15f54c0dba Fix the _APP_FUNCTIONS_MAINTENANCE_INTERVAL variable
* Clarify the description and make it match the other maintenance
  variables.
* Fix the introduction since it was introduced in 1.4.0 and not 1.2.0.
* Fix the default value because it was 1 hour in the previous versions
  and a number that is too low will conflict with a function's timeout.
2023-09-13 16:23:14 -07:00
Christy JacobandGitHub 549e0b476a Merge pull request #6156 from appwrite/refactor-cache-key
cache key reformat
2023-09-13 18:04:18 -04:00
Jake BarnbyandGitHub 274a55911f Merge pull request #6232 from appwrite/fix-internal-id-insertion
fixes manual internal id insertion
2023-09-13 16:38:45 -04:00
Prateek Banga 15dd6863dd removes comments 2023-09-14 01:07:30 +05:30
Prateek Banga f8c9c2f39b fixes manual internal id insertion 2023-09-14 00:48:50 +05:30
Matej Bačo 0690b00c30 Add Bun auto detection 2023-09-13 21:08:49 +02:00
Matej Bačo 408bef06e8 Upgrade VCS lib 2023-09-13 21:08:12 +02:00
Matej Bačo 8728171728 Add Bun support 2023-09-13 19:29:58 +02:00
Akhil Anand 2aa788d7d5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-13 21:31:26 +05:30
Matej Bačo 8b7147965e Fix git deploys with S3 storage 2023-09-13 14:45:19 +02:00
shimon c30fa277d3 linter fix 2023-09-13 10:24:36 +03:00
shimon eddb269513 Merge branch 'master' of github.com:appwrite/appwrite into refactor-cache-key 2023-09-13 10:24:00 +03:00
Jake BarnbyandGitHub 6be6a96267 Merge pull request #6219 from byawitz/fix-functions-event
Extracting function event validator to its own class.
2023-09-12 22:37:05 -04:00
Jake BarnbyandGitHub ec8c3b6bb8 Merge pull request #6222 from appwrite/fix-6177-user-accessed-at
Don't update User Accessed At for Users and Teams APIs
2023-09-12 16:56:28 -04:00
Steven Nguyen 6b0c24a9d6 Update user creation from teams and users services to not set accessedAt
accessedAt should only be updated when a user performs some sort of
action. Creating a user via the users API or by adding them to a team
is an action done by someone else, not the user themselves. As such,
the accessedAt timestamp shouldn't update.
2023-09-12 12:05:11 -07:00
shimon 922f0a5c84 Merge branch 'master' of github.com:appwrite/appwrite into refactor-cache-key
 Conflicts:
	app/controllers/shared/api.php
2023-09-12 10:44:34 +03:00
Binyamin Yawitz b37c2658ec Adding the functions.* test for the base event 2023-09-11 23:56:30 -04:00
Binyamin Yawitz 5cb03da001 Extracting function event validator to its own class. 2023-09-11 23:24:11 -04:00
Christy JacobandGitHub c6003e86a1 Merge pull request #6199 from appwrite/fix-missing-openssl-key
Add _APP_OPENSSL_KEY_V1 to the compose file
2023-09-11 14:35:01 -04:00
Christy JacobandGitHub 60f66fe826 Merge pull request #6215 from appwrite/fix-v2-vars
Fix: V2 functions env vars
2023-09-11 12:07:50 -04:00
Matej Bačo 93e2a4fb8d Add v2 old vars support 2023-09-11 12:22:16 +02:00
Christy Jacob ab5fa96668 chore: update ci file 2023-09-09 02:39:51 +00:00
Christy Jacob 8a28c9ddbc chore: update ci file 2023-09-09 02:29:50 +00:00
Christy Jacob 85fcddcead chore: update ci file 2023-09-09 02:20:25 +00:00
Christy Jacob ff4816a436 chore: update ci file 2023-09-09 02:17:21 +00:00
Christy Jacob 1c9dfb903d chore: update ci file 2023-09-09 01:58:37 +00:00
Christy Jacob 238089409a chore: update ci file 2023-09-09 01:39:01 +00:00
Christy Jacob e70d5beb0d chore: update ci file 2023-09-09 01:29:56 +00:00
Christy Jacob e390cf0d70 chore: update CI file 2023-09-09 00:11:14 +00:00
Christy Jacob 29e056c71b chore: update CI file 2023-09-09 00:00:06 +00:00
Christy Jacob 0a2874458b chore: update CI file 2023-09-08 23:54:27 +00:00
Christy Jacob 0ddf036bd5 chore: update CI file 2023-09-08 23:44:19 +00:00
Christy Jacob 29d0820b10 chore: update CI file 2023-09-08 23:41:16 +00:00
Christy Jacob 889942ee76 chore: update CI file 2023-09-08 23:37:41 +00:00
Christy Jacob 01aaa6b337 chore: update CI file 2023-09-08 23:34:23 +00:00
Christy Jacob eaf94aa670 chore: update CI file 2023-09-08 23:31:04 +00:00
Christy Jacob 1a93aa4085 chore: update CI file 2023-09-08 23:24:16 +00:00
Christy Jacob 0f67c1151f chore: update CI file 2023-09-08 23:18:26 +00:00
Christy Jacob 10f6cc7b0b chore: update CI file 2023-09-08 23:12:11 +00:00
Christy Jacob 733b7ed612 chore: update CI file 2023-09-08 22:57:25 +00:00
Christy Jacob 1415727f10 chore: update CI file 2023-09-08 22:53:50 +00:00
Christy Jacob ebb4bc7e6b chore: update CI file 2023-09-08 22:39:11 +00:00
Christy Jacob 21357bfe7b chore: update CI file 2023-09-08 22:32:54 +00:00
Christy Jacob 5cb14fbec5 feat: test upload artifact 2023-09-08 22:11:40 +00:00
Christy Jacob 5793a11480 feat: test upload artifact 2023-09-08 22:10:56 +00:00
Christy Jacob 2ed6327c1e feat: test upload artifact 2023-09-08 22:03:32 +00:00
Christy Jacob cf030457e0 feat: test upload artifact 2023-09-08 21:55:28 +00:00
Christy Jacob 27f77759ed feat: test upload artifact 2023-09-08 21:48:31 +00:00
Christy Jacob dec4f4722b feat: test upload artifact 2023-09-08 21:43:18 +00:00
Christy Jacob 8bd822d171 feat: test upload artifact 2023-09-08 21:35:01 +00:00
Christy Jacob 13c6666883 feat: test upload artifact 2023-09-08 21:29:11 +00:00
Christy Jacob fa99c4584e feat: test upload artifact 2023-09-08 20:07:13 +00:00
Christy Jacob 2aad9e622b feat: trigger ci 2023-09-08 19:16:25 +00:00
Christy Jacob 22c8781047 feat: test upload artifact 2023-09-08 19:11:57 +00:00
Christy Jacob 57e146be2b feat: test upload artifact 2023-09-08 19:11:00 +00:00
Steven Nguyen d18788ffde Add _APP_OPENSSL_KEY_V1 to the compose file
The appwrite-schedules container fetches functions and needs the
openssl key to decrypt function variables. Without this, the variables
may end up being false.
2023-09-08 12:08:18 -07:00
Christy Jacob 1e07fa96a3 feat: test upload artifact 2023-09-08 19:06:10 +00:00
Christy Jacob 2eae37d802 feat: test upload artifact 2023-09-08 19:03:55 +00:00
Christy Jacob addc88ccdc chore: test parallel executions 2023-09-08 18:49:02 +00:00
Christy JacobandGitHub 5717fbe282 Merge pull request #6187 from appwrite/1.4.x
1.4.x
2023-09-07 21:14:41 -04:00
Christy Jacob e1bc5b0a55 chore: update flutter changelog 2023-09-07 21:08:23 -04:00
Jake BarnbyandGitHub 7f4e5f0111 Merge pull request #6188 from appwrite/feat-mock-enums
Feat mock enums
2023-09-07 19:52:38 -04:00
Christy JacobandGitHub 3c9f8530f9 Merge pull request #6099 from appwrite/chore-update-sdks
Chore update sdks
2023-09-07 19:42:45 -04:00
Christy Jacob d21fa8a26e chore: update changelog order 2023-09-07 19:38:02 -04:00
Christy Jacob 2d180c3594 chore: remove leftovers 2023-09-07 19:35:16 -04:00
Christy JacobandGitHub 789fc92a54 Merge pull request #6179 from appwrite/chore-update-changelog
Chore update changelog
2023-09-07 19:33:21 -04:00
Christy JacobandGitHub 30a67c612c Merge pull request #6185 from appwrite/fix-6184-worker-builds-volumes
Remove duplicated volumes section
2023-09-07 19:26:09 -04:00
Jake Barnby d4f6b99ee2 Fix mock enum endpoint 2023-09-07 19:25:42 -04:00
Steven Nguyen 2e6abe7d75 Remove duplicated volumes section 2023-09-07 15:58:41 -07:00
Christy Jacob da854f36dc chore: update changelog for dart and flutter 2023-09-07 18:33:23 -04:00
Christy Jacob 3d267bb4d9 chore: remove leftovers 2023-09-07 17:38:29 -04:00
Jake Barnby fa01f5d67f Merge remote-tracking branch 'origin/master' into feat-mock-enums 2023-09-07 17:24:44 -04:00
Jake Barnby cf92936fcc Add mock endpoint with whitelist param 2023-09-07 17:21:06 -04:00
Christy Jacob 1e3639bf6d Merge branch 'master' of github.com:appwrite/appwrite into chore-update-sdks 2023-09-07 17:18:42 -04:00
Christy Jacob acffd56ca9 chore: address review comments 2023-09-07 17:15:12 -04:00
Christy JacobandGitHub 4dd9d542e7 Merge pull request #6135 from appwrite/1.4.x
1.4.x
2023-09-07 16:55:51 -04:00
Christy Jacob a1d05695fa feat: update changelog 2023-09-07 16:36:48 -04:00
Christy Jacob c6530eff3b Merge branch '1.4.x' of github.com:appwrite/appwrite into 1.4.x 2023-09-07 13:41:26 -04:00
Christy Jacob d891d98952 chore: update console 2023-09-07 13:41:16 -04:00
Christy JacobandGitHub ccb7924d85 Merge pull request #6172 from appwrite/fix-guests-missing-global
Fix guests missing global scope
2023-09-07 12:33:55 -04:00
Christy JacobandGitHub c6f6ec07b7 Merge pull request #6169 from appwrite/fix-redeploys
Fix: Function redeploys
2023-09-07 12:10:04 -04:00
Christy JacobandGitHub 9f717e7c57 Merge pull request #6168 from appwrite/fix-function-trigger
Fix function trigger
2023-09-07 12:00:54 -04:00
Jake Barnby 410072882d Fix guests missing global scope 2023-09-07 12:00:53 -04:00
Matej Bačo 418c8e3764 Fix redeploys 2023-09-07 11:33:42 +02:00
Matej Bačo 062bf7c25e Merge branch '1.4.x' into fix-function-trigger 2023-09-07 09:25:52 +02:00
Matej Bačo 1e990ce12f linter fix 2023-09-07 09:24:04 +02:00
Christy Jacob eb3c237301 Merge branch 'master' of github.com:appwrite/appwrite into 1.4.x 2023-09-07 02:11:43 -04:00
Christy Jacob a1e3d7ba97 chore: generate specs 2023-09-07 02:10:15 -04:00
Christy Jacob 9c01e94d8a chore: generate specs 2023-09-07 02:09:53 -04:00
Christy JacobandGitHub e27f705179 Merge pull request #6167 from appwrite/fix-migration-issues
fix: migration issues
2023-09-07 02:06:48 -04:00
Christy Jacob defe0f2e9f fix: enable ci trigger 2023-09-07 02:04:36 -04:00
Christy Jacob 713eb68c8a fix: test failures 2023-09-07 01:18:06 -04:00
Christy Jacob d80dc19cd6 Merge branch 'fix-migration-issues' of github.com:appwrite/appwrite into fix-migration-issues 2023-09-07 00:58:29 -04:00
Christy Jacob 47427972bf fix: test failures 2023-09-07 00:57:23 -04:00
b9675f736b Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 23:32:49 -04:00
Christy Jacob 438e7b66d1 chore: only fetch required runtimes 2023-09-06 23:32:42 +00:00
Steven NguyenandGitHub 9e21c5f58d Fix function trigger
Functions created by schedule or event should have the respective trigger.
2023-09-06 16:31:16 -07:00
Christy Jacob 329889e317 chore: add runtime versions variable 2023-09-06 23:15:15 +00:00
Christy Jacob 4b31411a5f fix: remove public scope from app role 2023-09-06 23:04:44 +00:00
Christy Jacob 732a2b4a98 chore: linter 2023-09-06 22:10:43 +00:00
Christy Jacob 4250a634d3 Merge branch 'fix-migration-issues' of https://github.com/appwrite/appwrite into fix-migration-issues 2023-09-06 22:08:55 +00:00
Christy Jacob c439202d3c chore: review comments 2023-09-06 22:08:26 +00:00
d96a6d7883 Apply suggestions from code review
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 18:06:31 -04:00
Christy Jacob 1a0054890d chore: bug fix with scopes 2023-09-06 22:02:14 +00:00
Christy Jacob a1aa51aa2f chore: downgrade database versiong 2023-09-06 21:14:03 +00:00
Christy Jacob 26d8eb60ac chore: update changelog 2023-09-06 20:15:33 +00:00
Christy Jacob ec9ecb6cd4 chore: linter 2023-09-06 20:08:07 +00:00
Christy Jacob 430ec73a98 fix: incorrect attribute name 2023-09-06 20:01:43 +00:00
Christy Jacob aac46cd5fe fix: migration issues 2023-09-06 19:59:42 +00:00
Christy Jacob 5cfabc7a12 fix: migrations fix and update changelog 2023-09-06 19:25:07 +00:00
Christy Jacob 90eed32311 fix: add check for localhost domain 2023-09-06 18:39:53 +00:00
Christy Jacob 11f2ee8a1c feat: prep for 1.4.2 2023-09-06 18:22:04 +00:00
Christy JacobandGitHub c05092b612 Merge pull request #6161 from appwrite/chore-regenerate-lock-file
Update composer.lock
2023-09-06 14:10:13 -04:00
Christy JacobandGitHub 67698cce88 Merge pull request #6155 from appwrite/fix-unknown-domains
Fix: Untrusted custom domains + auto-ssl
2023-09-06 14:09:17 -04:00
Christy JacobandGitHub 12b03f3fb0 Merge pull request #6162 from appwrite/fix-webhook-secret-validation
Fix webhook secret validation and executor path validation
2023-09-06 13:59:13 -04:00
3bc085ea3f Update app/controllers/api/vcs.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-09-06 13:57:46 -04:00
Christy JacobandGitHub 4ea0541623 Merge pull request #6150 from appwrite/fix-global-vars
Fix: Global variables
2023-09-06 13:51:13 -04:00
Christy JacobandGitHub 8dfd41c31d Merge pull request #6116 from appwrite/fix-migrations-worker
Fix migrations worker
2023-09-06 13:17:42 -04:00
Khushboo Verma 39a4447103 Update webhook secret check 2023-09-06 22:34:03 +05:30
Matej Bačo ed588a6475 linter fix 2023-09-06 18:45:22 +02:00
Christy JacobandGitHub db763b180c Merge pull request #6142 from appwrite/fix-v2-functions
Fix: v2 functions
2023-09-06 12:43:51 -04:00
Matej Bačo 6964477429 Increase labels maximum limit 2023-09-06 18:15:03 +02:00
Bradley Schofield 8e0e131824 Remove Special Chars from Initials 2023-09-06 09:54:59 +01:00
Matej Bačo 0d4957009f Fix bug with autossl generator 2023-09-06 10:42:01 +02:00
Matej Bačo adb4c72a9c Fix project internal ID 2023-09-06 10:31:40 +02:00
Matej Bačo 0d6abda431 Fix autossl domain query 2023-09-06 10:27:21 +02:00
Matej Bačo 1268427c5f Upgrade OPR versions 2023-09-06 10:26:27 +02:00
Khushboo Verma 0fbe9d6ce9 Revert allowing empty string in path 2023-09-06 13:46:01 +05:30
Bradley Schofield 9568cc1b01 Update composer.lock 2023-09-06 09:14:07 +01:00
Matej Bačo 6594d64c12 Fix indentation 2023-09-06 10:13:56 +02:00
Matej Bačo a782636e13 Add safety defaults to funcions worker 2023-09-06 10:10:03 +02:00
Matej Bačo 933f9631d5 Fix v2 endpoint description 2023-09-06 10:00:04 +02:00
Matej Bačo 9060aa1ba7 Remove unnessessary cache clear 2023-09-06 09:53:02 +02:00
Khushboo Verma af4be4051f Skip validation if webhook secret is empty 2023-09-06 13:12:27 +05:30
Matej Bačo cafe792879 Fix API returning html 2023-09-06 09:34:02 +02:00
Christy JacobandGitHub 7b448527a6 Merge pull request #6157 from appwrite/feat-migrations-team-fix
Make URL optional for Create Membership API and Serverside Requests
2023-09-06 00:23:54 -04:00
Christy JacobandGitHub 8e204f7105 Merge pull request #6153 from appwrite/fix-ai-assistant
Fix: AI Assistant
2023-09-06 00:08:27 -04:00
Christy JacobandGitHub 30713f58f9 Merge pull request #6146 from appwrite/fix-create-function-request-filter
Fix create execution request filter from previous SDK version
2023-09-05 23:50:08 -04:00
Christy JacobandGitHub 557513c3ee Merge pull request #6160 from appwrite/fix-restore-executor-hostname
Change executor hostname back to appwrite-executor
2023-09-05 19:46:30 -04:00
Steven Nguyen 970c586c76 Change executor hostname back to appwrite-executor 2023-09-05 16:43:59 -07:00
Christy JacobandGitHub 53b1c87c6e Merge pull request #6141 from appwrite/fix-overwrite-executor-variable
Fix _APP_EXECUTOR_HOST for upgrades
2023-09-05 19:35:31 -04:00
Christy JacobandGitHub 167af9f370 Merge pull request #6145 from appwrite/feat-6136-improve-router_domain_not_configured-error
Update the error message for router_domain_not_configured
2023-09-05 19:25:38 -04:00
shimon f246d4d6e5 removed $route->setIsActive(false);
from cache output
2023-09-05 21:21:24 +03:00
Steven Nguyen d4f6c5f491 Update the error message for router_domain_not_configured
Explicitly list the environment variables that need to be configured to
make it clear what needs to be done.
2023-09-05 11:18:15 -07:00
Bradley Schofield 8357d20be7 Make URL optional for API and Serverside Requests 2023-09-05 19:13:47 +01:00
shimon a46879f1cb cache key reformat 2023-09-05 18:29:11 +03:00
Matej Bačo cda58d2256 Re-add automatic ssl generation 2023-09-05 17:09:54 +02:00
Matej Bačo f4ada97d1a Allow any hostname, and serve API+Console by default 2023-09-05 17:02:07 +02:00
Matej Bačo ac62641f5a Add assistant scole to console member 2023-09-05 15:55:13 +02:00
Matej Bačo 9a1d13f9db Add v2 function test 2023-09-05 15:47:59 +02:00
Matej Bačo 8e509efcec Add global env var test 2023-09-05 13:55:02 +02:00
Matej Bačo 79726dbfb6 Fix formatting 2023-09-05 13:16:20 +02:00
Matej Bačo 268bfca928 Fix differences between compose files 2023-09-05 12:28:08 +02:00
Matej Bačo 5538c47b3f Improve installation exception when missconfigured 2023-09-05 12:14:43 +02:00
Matej Bačo 1b9236ba3f Improve VCS error when creating repository 2023-09-05 11:48:23 +02:00
Matej Bačo 1a6530fb57 Fix project variables 2023-09-05 10:21:36 +02:00
Christy JacobandGitHub 3c649ba56d Merge pull request #6148 from appwrite/fix-6126-scheduled-functions
Add required params for scheduled functions
2023-09-04 21:57:19 -04:00
Christy JacobandGitHub 5c1d29d683 Merge pull request #6133 from appwrite/fix-git-not-found
Fix Not Found error when deploying function from git
2023-09-04 20:34:23 -04:00
Steven Nguyen 4c90b6bb1c Add required params for scheduled functions 2023-09-04 17:02:17 -07:00
Steven Nguyen 65e2e79457 Fix create execution request filter from previous SDK version
When an older SDK executes a function without passing any data, the
data param is unset/null so we need to make sure to handle that case.
2023-09-04 16:10:49 -07:00
Christy JacobandGitHub 4e00f61519 Merge pull request #6144 from appwrite/fix-cache-migration
Override forEachDocument() to skip the cache collection
2023-09-04 18:03:47 -04:00
Steven Nguyen ceb1188e8a Override forEachDocument() to skip the cache collection
Skip the cache collection because:

1. There may be * in the $id of the document which causes problems
   when paginating with a cursor.
1. Nothing was done to the cache collection so we don't need to process
   it.
2023-09-04 13:25:27 -07:00
Steven Nguyen 3c7c44adda Fix _APP_EXECUTOR_HOST for upgrades
As of 1.4.0, the hostname of the executor should be executor rather than
appwrite-executor. The problem is our install command always uses the
existing installation's variable values as the default for the upgrade.
This means the _APP_EXECUTOR_HOST will retain it's old value.

This PR Adds an overwrite key to variables.php to allow overwriting the
variable value regardless of whatever was in the previous installation.
2023-09-04 11:06:43 -07:00
Matej Bačo 7588a9c4ec Make v2 functions work again 2023-09-04 19:53:25 +02:00
Christy JacobandGitHub 22745e0418 Merge pull request #6125 from appwrite/fix-functions-backwards-compatibility
Fix CLI backwards compatibility
2023-09-04 12:28:03 -04:00
Steven Nguyen c7929572f3 Fix builds migration 2023-09-04 09:04:15 -07:00
Steven Nguyen 605ee2f7c5 Update create deployment default commands
Default to function commands only if commands weren't supplied.
2023-09-04 09:04:15 -07:00
Christy JacobandGitHub a1c278e34e Merge pull request #6134 from appwrite/fix-create-phone-session-abuse-key
Fix create phone session abuse key
2023-09-03 17:41:54 -04:00
Steven 62065a1c33 Fix create phone session abuse key
Create phone session doesn't have anything to do with email. The key
name should be email just for clarity (even though, technically, it
doesn't matter).
2023-09-03 21:37:02 +00:00
Steven 397d6350cd Fix Not Found error when deploying function from git 2023-09-03 21:25:32 +00:00
Steven Nguyen 87b0851092 Fix executions migrations 2023-09-02 19:13:15 -07:00
Steven Nguyen 9aeb15c337 Fix variables migration
Set new resourceType attribute to function since all variables were
function variables.
2023-09-02 18:35:26 -07:00
Steven Nguyen f317d33fc7 Skip migrating domains without project because it would throw an error 2023-09-02 18:06:50 -07:00
Steven Nguyen 03c2a16306 Fix update migrations for functions and deployments
- Create additional attributes for the deployments collection.
- Set the commands attribute for the functions and deployments based on
  runtime.
2023-09-02 17:29:38 -07:00
Steven Nguyen a609759951 Make runtime optional when updating a function
This is important for backwards compatibility since it wasn't possible
to update a function runtime in previous versions and it was never
included in the request.
2023-09-02 16:37:40 -07:00
Jake Barnby 07fc59b5f3 Add migrations worker 2023-09-01 19:17:37 -04:00
Christy Jacob f4cba83072 chore: update default env variables 2023-09-01 18:46:49 -04:00
Christy Jacob fad4bfcb1c chore: move env variable to dockerfile 2023-09-01 17:18:52 -04:00
Christy Jacob b3807e6e22 chore: move env variable to dockerfile 2023-09-01 17:17:58 -04:00
Christy Jacob 036b565f8f chore: add missing env variable 2023-09-01 17:09:15 -04:00
Christy Jacob 31a7cca906 chore: add missing env variable 2023-09-01 17:08:51 -04:00
Christy Jacob 3fd77bdda7 chore: revert composer.lock 2023-09-01 15:29:30 -04:00
Christy Jacob 61c054c20b chore: update deps 2023-09-01 15:25:16 -04:00
Christy Jacob 03073d50fc Merge branch '1.4.x' of github.com:appwrite/appwrite into chore-cleanup-dockerfile 2023-09-01 15:24:02 -04:00
Jake BarnbyandGitHub f47aa91ff1 Merge pull request #6109 from appwrite/fix-1.4-bugs
Fix events not triggering functions and path not a string bugs
2023-09-01 15:15:55 -04:00
Jake BarnbyandGitHub 017cd75071 Merge pull request #6102 from appwrite/fix-file-security-check
Fix fileSecurity check
2023-09-01 15:11:03 -04:00
Jake BarnbyandGitHub 1dc2c08e15 Merge pull request #6095 from appwrite/fix-function-schedule-migration
Update migration script to not remove schedule from functions
2023-09-01 15:06:37 -04:00
Christy Jacob aebbafcb0f Merge branch '1.4.x' of github.com:appwrite/appwrite into chore-update-sdks 2023-09-01 13:25:42 -04:00
Christy Jacob dcdfeed391 Merge branch 'master' of github.com:appwrite/appwrite into chore-update-sdks 2023-09-01 13:25:27 -04:00
Christy Jacob 717daf1853 chore: update chnagelog 2023-09-01 12:53:20 -04:00
Khushboo Verma 7013bc94a6 Fix events triggering functions and path not a string bugs 2023-09-01 21:15:53 +05:30
Torsten DittmannandGitHub 1b2cda81d0 Merge pull request #6101 from appwrite/fix-remove-route-setisactive
Remove route setIsActive() call
2023-09-01 10:13:37 +02:00
Steven Nguyen 9bc6011876 Fix fileSecurity check
Because of the `getAttributes()` call, `$fileSecurity` was always true
which lead to invalid permission check. This resulted in files being
deleted when a user had delete permissions on the file even though
they didn't on the bucket.
2023-08-31 20:28:13 -07:00
Steven Nguyen 073172d84b Remove route setIsActive() call
The method has been removed since it's no longer necessary.
2023-08-31 19:18:13 -07:00
Christy JacobandGitHub 891099c7c3 Merge pull request #6100 from appwrite/chore-generate-specs
chore: generate specs
2023-09-01 06:05:41 +04:00
Christy Jacob 7f42ca2b7b chore: generate specs 2023-08-31 21:52:28 -04:00
Christy Jacob bf4444b045 chore: update sdks for apwrite 1.4.1 2023-08-31 18:08:24 -04:00
Jake BarnbyandGitHub 36698d180c Merge pull request #6097 from appwrite/feat-6094-case-insensitive-confirm
Make install confirmation case insensitive
2023-08-31 15:30:14 -04:00
Steven Nguyen dcc676a0c9 Make install confirmation case insensitive
When a previous installation is found during installation/upgrade, the
user is prompted to confirm whether they want to overwrite it. We
originally only accepted 'Y', but this PR changes it to accept 'y' as
well to reduce friction.
2023-08-31 12:25:42 -07:00
Christy JacobandGitHub caf53bb783 Merge pull request #6096 from appwrite/feat-github-cache-trigger
Update the trigger for the cleanup actions cache workflow
2023-08-31 20:34:45 +04:00
Steven Nguyen a6e9fbfa8d Update the trigger for the cleanup actions cache workflow
Workflow should trigger on pull_request.closed, not all pull_request.
2023-08-31 09:26:42 -07:00
Christy JacobandGitHub 69e5e7f2da Merge pull request #6080 from appwrite/feat-github-cache
Create a GH workflow to cleanup the GH cache
2023-08-31 20:02:06 +04:00
Steven Nguyen c8d6ac0267 Update migration script to not remove schedule from functions 2023-08-31 08:40:53 -07:00
Steven Nguyen 8a0bf3ad46 Create a GH workflow to cleanup the GH cache
The GitHub actions cache is helpful to speed up CI jobs. Once a branch
is closed, we don't need the cacche anymore so we should delete it so
the disk space can be reclaimed.

This workflow was copied from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries.
2023-08-30 16:56:27 -07:00
Christy Jacob 06c0b189f0 feat: add version to dockerfile 2023-08-13 14:21:06 +00:00
Christy Jacob b0f5a0e677 feat: add version to dockerfile 2023-08-13 14:20:29 +00:00
Christy Jacob d9307724db feat: add missing variable to docker compose 2023-08-13 13:34:51 +00:00
Christy Jacob 31191c0be8 chore: cleanup dockerfile 2023-08-11 23:49:10 +00:00
Christy Jacob 96354098f1 chore: cleanup dockerfile 2023-08-11 23:45:05 +00:00
Christy Jacob 8368ff0ffe chore: cleanup dockerfile 2023-08-11 23:43:55 +00:00
Dakshi 16a2135d4a updated based on review 2023-08-02 02:19:20 +05:30
Dakshi 12228ccef4 converted desc to sentence case 2023-08-01 20:56:48 +05:30
shimon 1fd7f0c5d7 SSl task 2023-07-18 10:54:11 +03:00
shimon d28a235b4d $projectInternalId rollback to false 2023-07-17 16:31:19 +03:00
DavidandGitHub 3a42dca19e Update es.json
Fixed suggested changes by Matej
2023-07-17 13:44:04 +02:00
shimon d1d1392bb3 small adjustments 2023-07-12 11:12:56 +03:00
shimon 58aa29a4ae cli 2023-07-11 18:47:38 +03:00
shimon e950945170 users addition 2023-07-11 18:46:21 +03:00
1358d6c455 Update src/Appwrite/Platform/Workers/Audits.php
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2023-07-10 11:13:35 +03:00
shimon 5366d90ff2 users addition 2023-07-10 11:07:54 +03:00
shimon 89f0146c45 users addition 2023-07-10 11:03:59 +03:00
shimon 785c00ae5c functions/builds/deletes worker 2023-06-12 13:04:47 +03:00
shimon 57bc7d0584 functions/builds/deletes worker 2023-06-11 17:08:48 +03:00
shimon fd4f86b1c1 functions/builds/deletes worker 2023-06-11 13:29:04 +03:00
shimon 62c619434e functions/builds/deletes worker 2023-06-05 19:13:00 +03:00
shimon d820d93ac7 databases worker 2023-06-04 19:25:56 +03:00
shimon 0d2987620c refactor workers 2023-06-04 11:19:49 +03:00
shimon 6e7c160249 changing event signature 2023-06-02 06:54:34 +03:00
shimon 73f3f0aee6 Messaging 2023-05-30 16:19:44 +03:00
shimon 478e83a4bf Messaging 2023-05-30 11:53:52 +03:00
shimon 06ca9ce815 Messaging 2023-05-29 19:32:33 +03:00
shimon 5a22d17459 Mails 2023-05-29 18:03:09 +03:00
shimon f1466c05cf refactor workers 2023-05-29 16:58:45 +03:00
shimon 543efd6032 re-working worker flow 2023-05-23 16:43:34 +03:00
shimon 98dc1db878 re-working worker flow 2023-05-23 16:43:03 +03: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
DavidandGitHub 536bcf28b5 Corrected spanish translations (emails)
Some translations to spanish had some misspellings and redaction issues. Fixed that.
2023-03-28 21:05:38 +02:00
Bradley Schofield c0daed3644 Refactor names and cleanup code 2022-12-20 16:11:30 +00:00
Bradley Schofield 0b17a737fe Fix Functions Worker 2022-12-20 15:42:04 +00:00
Bradley Schofield 1cd84aacc7 Update Event.php 2022-12-20 13:06:57 +00:00
Bradley Schofield 740bae6a99 Update console 2022-12-20 13:01:39 +00:00
Bradley Schofield 284ce42177 Merge branch 'feat-db-pools' into refactor-schedulers-workers 2022-12-20 13:01:27 +00:00
Bradley Schofield e577c04fae Update Maintenance.php 2022-12-20 12:49:33 +00:00
Bradley Schofield b0c8e8980d Continue removing resque 2022-12-20 12:48:55 +00:00
Bradley Schofield 886a1a2abb Port Deletes and Builds worker 2022-12-20 12:22:58 +00:00
Bradley Schofield f2e8a619da Merge branch 'refactor-scheduler-messaging' into refactor-schedulers-workers 2022-12-20 11:24:58 +00:00
Bradley Schofield 6f3a057608 Merge branch 'refactor-scheduler-emails' into refactor-schedulers-workers 2022-12-20 11:24:26 +00:00
Bradley Schofield 11bd518b6a Merge branch 'refactor-scheduler-database' into refactor-schedulers-workers 2022-12-20 11:23:26 +00:00
Bradley Schofield 3e66d1a549 Rename certificate queue 2022-12-20 11:21:07 +00:00
Bradley Schofield 169386d0b3 Merge branch 'refactor-sceduler-certificates' into refactor-schedulers-workers 2022-12-20 11:20:52 +00:00
Bradley Schofield d52fa1169a Merge Audits 2022-12-20 11:11:36 +00:00
Bradley Schofield a09e23d0b9 Start work on porting webhooks 2022-12-20 11:07:49 +00:00
Bradley Schofield ab7c04074c Update Phone.php 2022-12-17 21:23:15 +00:00
Bradley Schofield 50f82a276f Run Linter 2022-12-17 20:46:34 +00:00
Bradley Schofield a8595eaca2 Port Messages worker to Utopia queue system 2022-12-17 20:45:58 +00:00
Bradley Schofield 2e49666ee6 Port Mail Worker from resque to Utopia Queue 2022-12-17 19:19:41 +00:00
Bradley Schofield e4ad14c794 Run Linter 2022-12-13 15:56:36 +00:00
Bradley Schofield 02271c5329 Remove debug force true 2022-12-13 15:54:37 +00:00
Bradley Schofield 6e6a6d5518 Migrate Database worker to Utopia Queue system 2022-12-13 15:54:01 +00:00
Bradley Schofield b7d7a71994 Run Linter 2022-12-13 11:18:38 +00:00
Bradley Schofield 21afa43127 Port Certificates to new Queue system 2022-12-13 11:16:12 +00:00
Bradley Schofield 85268cbae2 Run Linter 2022-12-06 15:15:16 +00:00
Bradley Schofield 84f1a15a4c Refactor Audit Worker to use Utopia Queue system 2022-12-06 15:06:40 +00:00
494 changed files with 66731 additions and 10870 deletions
+7 -7
View File
@@ -4,12 +4,15 @@ _APP_WORKER_PER_CORE=6
_APP_CONSOLE_WHITELIST_ROOT=disabled
_APP_CONSOLE_WHITELIST_EMAILS=
_APP_CONSOLE_WHITELIST_IPS=
_APP_CONSOLE_HOSTNAMES=localhost,appwrite.io,*.appwrite.io
_APP_SYSTEM_EMAIL_NAME=Appwrite
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=security@appwrite.io
_APP_SYSTEM_RESPONSE_FORMAT=
_APP_OPTIONS_ABUSE=disabled
_APP_OPTIONS_ROUTER_PROTECTION=disabled
_APP_OPTIONS_FORCE_HTTPS=disabled
_APP_OPTIONS_FUNCTIONS_FORCE_HTTPS=disabled
_APP_OPENSSL_KEY_V1=your-secret-key
_APP_DOMAIN=localhost
_APP_DOMAIN_FUNCTIONS=functions.localhost
@@ -48,10 +51,6 @@ _APP_STORAGE_WASABI_BUCKET=
_APP_STORAGE_ANTIVIRUS=disabled
_APP_STORAGE_ANTIVIRUS_HOST=clamav
_APP_STORAGE_ANTIVIRUS_PORT=3310
_APP_INFLUXDB_HOST=influxdb
_APP_INFLUXDB_PORT=8086
_APP_STATSD_HOST=telegraf
_APP_STATSD_PORT=8125
_APP_SMTP_HOST=maildev
_APP_SMTP_PORT=1025
_APP_SMTP_SECURE=
@@ -59,6 +58,7 @@ _APP_SMTP_USERNAME=
_APP_SMTP_PASSWORD=
_APP_SMS_PROVIDER=sms://username:password@mock
_APP_SMS_FROM=+123456789
_APP_SMS_PROJECTS_DENY_LIST=
_APP_STORAGE_LIMIT=30000000
_APP_STORAGE_PREVIEW_LIMIT=20000000
_APP_FUNCTIONS_SIZE_LIMIT=30000000
@@ -71,13 +71,13 @@ _APP_FUNCTIONS_MAINTENANCE_INTERVAL=600
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
_APP_EXECUTOR_SECRET=your-secret-key
_APP_EXECUTOR_HOST=http://proxy/v1
_APP_FUNCTIONS_RUNTIMES=
_APP_FUNCTIONS_RUNTIMES=php-8.0,node-18.0,python-3.9,ruby-3.1
_APP_MAINTENANCE_INTERVAL=86400
_APP_MAINTENANCE_RETENTION_CACHE=2592000
_APP_MAINTENANCE_RETENTION_EXECUTION=1209600
_APP_MAINTENANCE_RETENTION_ABUSE=86400
_APP_MAINTENANCE_RETENTION_AUDIT=1209600
_APP_USAGE_AGGREGATION_INTERVAL=5
_APP_USAGE_AGGREGATION_INTERVAL=60000
_APP_MAINTENANCE_RETENTION_USAGE_HOURLY=8640000
_APP_MAINTENANCE_RETENTION_SCHEDULES=86400
_APP_USAGE_STATS=enabled
@@ -89,7 +89,7 @@ _APP_GRAPHQL_MAX_DEPTH=3
_APP_DOCKER_HUB_USERNAME=
_APP_DOCKER_HUB_PASSWORD=
_APP_VCS_GITHUB_APP_NAME=
_APP_VCS_GITHUB_PRIVATE_KEY=""
_APP_VCS_GITHUB_PRIVATE_KEY=disabled
_APP_VCS_GITHUB_APP_ID=
_APP_VCS_GITHUB_CLIENT_ID=
_APP_VCS_GITHUB_CLIENT_SECRET=
+39
View File
@@ -0,0 +1,39 @@
name: Cleanup Cache
on:
pull_request:
types:
- closed
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Cleanup
run: |
gh extension install actions/gh-actions-cache
REPO=${{ github.repository }}
BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
while true
do
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )
if [ -z "$cacheKeysForPR" ]
then
break
fi
## Setting this to not fail the workflow while deleting cache keys.
set +e
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+4
View File
@@ -18,6 +18,10 @@ jobs:
- run: git checkout HEAD^2
- name: Validate composer.json and composer.lock
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer validate"
- name: Run Linter
run: |
docker run --rm -v $PWD:/app composer sh -c \
+2 -3
View File
@@ -1,9 +1,9 @@
name: "Build and Publish"
name: "Build and Publish Appwrite Images for Cloud"
on:
push:
tags:
- appwrite-*
- cl-*
jobs:
build-publish:
@@ -16,7 +16,6 @@ jobs:
with:
fetch-depth: 2
submodules: recursive
ref: feat-db-pools-master
- name: Login to Docker Hub
uses: docker/login-action@v2
+128 -42
View File
@@ -4,57 +4,143 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
IMAGE: appwrite-dev
CACHE_KEY: appwrite-dev-${{ github.event.pull_request.head.sha }}
on: [pull_request]
jobs:
tests:
name: Unit & E2E
setup:
name: Setup & Build Appwrite Image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Appwrite
uses: docker/build-push-action@v3
with:
context: .
push: false
tags: ${{ env.IMAGE }}
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
build-args: |
DEBUG=false
TESTING=true
VERSION=dev
- name: Cache Docker Image
uses: actions/cache@v3
with:
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
unit_test:
name: Unit Test
runs-on: ubuntu-latest
needs: setup
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# Fetch submodules
submodules: recursive
- name: checkout
uses: actions/checkout@v2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Load Cache
uses: actions/cache@v3
with:
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
# This is a separate action that sets up buildx runner
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Load and Start Appwrite
run: |
docker load --input /tmp/${{ env.IMAGE }}.tar
docker compose up -d
sleep 10
- name: Build Appwrite
uses: docker/build-push-action@v3
with:
context: .
push: false
tags: appwrite-dev
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
DEBUG=false
TESTING=true
VERSION=dev
- name: Doctor
run: docker compose exec -T appwrite doctor
- name: Start Appwrite
run: |
docker compose up -d
sleep 30
- name: Environment Variables
run: docker compose exec -T appwrite vars
- name: Doctor
run: |
docker compose logs appwrite
docker compose exec -T appwrite doctor
- name: Run Unit Tests
run: docker compose exec appwrite test /usr/src/code/tests/unit
- name: Environment Variables
run: docker compose exec -T appwrite vars
e2e_general_test:
name: E2E General Test
runs-on: ubuntu-latest
needs: setup
steps:
- name: checkout
uses: actions/checkout@v3
- name: Run Tests
run: docker compose exec -T appwrite test --debug
- name: Load Cache
uses: actions/cache@v3
with:
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
- name: Load and Start Appwrite
run: |
docker load --input /tmp/${{ env.IMAGE }}.tar
docker compose up -d
sleep 10
- name: Run General Tests
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/General --debug
e2e_service_test:
name: E2E Service Test
runs-on: ubuntu-latest
needs: setup
strategy:
fail-fast: false
matrix:
service:
[
Account,
Avatars,
Console,
Databases,
Functions,
GraphQL,
Health,
Locale,
Projects,
Realtime,
Storage,
Teams,
Users,
Webhooks,
VCS,
]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Load Cache
uses: actions/cache@v3
with:
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
- name: Load and Start Appwrite
run: |
docker load --input /tmp/${{ env.IMAGE }}.tar
docker compose up -d
sleep 10
- name: Run ${{matrix.service}} Tests
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
+1 -1
View File
@@ -1,4 +1,4 @@
[submodule "app/console"]
path = app/console
url = https://github.com/appwrite/console
branch = 3.0.2
branch = 3.2.16
+1 -1
View File
@@ -8,7 +8,7 @@ tasks:
command: |
docker run --rm --interactive --tty \
--volume $PWD:/app \
composer update \
composer install \
--ignore-platform-reqs \
--optimize-autoloader \
--no-plugins \
+205
View File
@@ -1,3 +1,208 @@
# Version 1.4.14
## Changes
- New usage metrics collection flow [#7005](https://github.com/appwrite/appwrite/pull/7005)
- Deprecated influxdb, telegraf containers and removed all of their occurrences from the code.
- Removed _APP_INFLUXDB_HOST, _APP_INFLUXDB_PORT, _APP_STATSD_HOST, _APP_STATSD_PORT env variables.
- Removed usage labels dependency.
- Dropped type attribute from stats collection.
- Usage metrics are processed via new usage worker.
- updated Metric names.
# Version 1.4.13
## Notable changes
* Change enum size validation in update controller [#7164](https://github.com/appwrite/appwrite/pull/7164)
* Bump console to version 3.2.8 in [#7167](https://github.com/appwrite/appwrite/pull/7167)
## Bug fixes
* Fix error after adding bigger enum [#7162](https://github.com/appwrite/appwrite/pull/7162)
* Add chunkId to abuse key to prevent rate limit for SDKs [#7154](https://github.com/appwrite/appwrite/pull/7154)
## Miscellaneous
* Fix enum test case [#7163](https://github.com/appwrite/appwrite/pull/7163)
* Add flag to send logs to logger [#7155](https://github.com/appwrite/appwrite/pull/7155)
* Add a CI task to validate composer file and lock [#7142](https://github.com/appwrite/appwrite/pull/7142)
# Version 1.4.12
## Miscellaneous
* Bump console to version 3.2.7 [#7148](https://github.com/appwrite/appwrite/pull/7148)
* Chore update database to 0.45.2 [#7138](https://github.com/appwrite/appwrite/pull/7138)
* Implement queue thresholds for the health API [#7123](https://github.com/appwrite/appwrite/pull/7123)
* Add Authorization::skip to the usage worker [#7124](https://github.com/appwrite/appwrite/pull/7124)
## Bug fixes
* fix: use queueForDeletes in git installation delete endpoint [#7140](https://github.com/appwrite/appwrite/pull/7140)
* fix: patch script, make errors silent [#7134](https://github.com/appwrite/appwrite/pull/7134)
* fix: repositories recreation script [#7133](https://github.com/appwrite/appwrite/pull/7133)
* fix: Only delete repositories linked to the particular project [#7131](https://github.com/appwrite/appwrite/pull/7131)
# Version 1.4.11
## Miscellaneous
* Update database by @abnegate in [#7111](https://github.com/appwrite/appwrite/pull/7111)
# Version 1.4.10
## Bug fixes
* Handle cases where password history could contain NULLs [#7092](https://github.com/appwrite/appwrite/pull/7092)
* Missing functionId error on create execution [#7091](https://github.com/appwrite/appwrite/pull/7091)
* Ensure usage endpoints don't throw 500 when usage is disabled [#7087](https://github.com/appwrite/appwrite/pull/7087)
* Missing sessionId error when deleting all user sessions [#7085](https://github.com/appwrite/appwrite/pull/7085)
* Domain validation in Create Proxy rule results in 500 error [#7084](https://github.com/appwrite/appwrite/pull/7084)
* Fix optional services [#7078](https://github.com/appwrite/appwrite/pull/7078)
* Fix regression from worker refactor [#7074](https://github.com/appwrite/appwrite/pull/7074)
* Use getQueueSize() in the Health service's get X queue endpoints [#7073](https://github.com/appwrite/appwrite/pull/7073)
* Delete linked VCS repos and comments [#7066](https://github.com/appwrite/appwrite/pull/7066)
# Version 1.4.9
## Bug fixes
* Fix 400 error on function domain execution in [#7059](https://github.com/appwrite/appwrite/pull/7059)
# Version 1.4.8
## Notable changes
* Fix certificate emails and add support for variables in email template subject in [#6495](https://github.com/appwrite/appwrite/)pull/6495
* Bump console to version 3.2.5 in [#7027](https://github.com/appwrite/appwrite/pull/7027)
* Bump utopia database and storage versions in [#7002](https://github.com/appwrite/appwrite/pull/7002)
## Bug fixes
* Fixes cookie headers not being passed properly by router in [#7024](https://github.com/appwrite/appwrite/pull/7024)
* Fix permission problem in deletes worker in [#7013](https://github.com/appwrite/appwrite/pull/7013)
## Miscellaneous
* Improve error handling in the realtime service in [#6998](https://github.com/appwrite/appwrite/pull/6998)
* Update the error code for unsupported protocol in [#7006](https://github.com/appwrite/appwrite/pull/7006)
* Improve CI tests by executing them in parallel in [#6198](https://github.com/appwrite/appwrite/pull/6198)
* Update README.md to add links to orchestration tools in [#7011](https://github.com/appwrite/appwrite/pull/7011)
* Update gitpod setup to install instead of update dependencies in [#6938](https://github.com/appwrite/appwrite/pull/6938)
* Remove analytics from install script in [#7017](https://github.com/appwrite/appwrite/pull/7017)
* Improve database logging in [#7003](https://github.com/appwrite/appwrite/pull/7003)
* Add VCS tests in [#6894](https://github.com/appwrite/appwrite/pull/6894)
* Improve error messages in [#6487](https://github.com/appwrite/appwrite/pull/6487)
* Add command to delete orphaned projects in [#7015](https://github.com/appwrite/appwrite/pull/7015)
# Version 1.4.7
## Fixes
- Fix missing body in async function execution in [#6988](https://github.com/appwrite/appwrite/pull/6988)
# Version 1.4.6
## Changes
- Bump console to version 3.2.3 in [#6947](https://github.com/appwrite/appwrite/pull/6947)
- New health endpoints in [#6319](https://github.com/appwrite/appwrite/pull/6319)
- 30 second sync executions timeout in [#6370](https://github.com/appwrite/appwrite/pull/6370)
- Feat db per worker in [#6888](https://github.com/appwrite/appwrite/pull/6888)
- Feat: Dart 3.1 support in [#6936](https://github.com/appwrite/appwrite/pull/6936)
- chore: remove resque library and update health check endpoints in [#6946](https://github.com/appwrite/appwrite/pull/6946)
- Refactor workers in [#6928](https://github.com/appwrite/appwrite/pull/6928)
## Fixes
- Fix realtime deletes in [#6897](https://github.com/appwrite/appwrite/pull/6897)
- Update teamInternalId when updating project team in [#6898](https://github.com/appwrite/appwrite/pull/6898)
- Fix: spanish translations (emails) in [#5290](https://github.com/appwrite/appwrite/pull/5290)
- chore: fix spec links in [#6434](https://github.com/appwrite/appwrite/pull/6434)
- Delegate custom deletes in [#6934](https://github.com/appwrite/appwrite/pull/6934)
# Version 1.4.5
## Changes
- Bump console to version 3.2.1 in [#6868](https://github.com/appwrite/appwrite/pull/6868)
## Fixes
- Fix realtime logs in [#6478](https://github.com/appwrite/appwrite/pull/6478)
- Fix "File not found" error in executor in [#6476](https://github.com/appwrite/appwrite/pull/6476)
- Fix missing array flag on migration errors response model rule in [#6469](https://github.com/appwrite/appwrite/pull/6469)
- Ensure openruntimes-executor restarts after a server reboot in [#6490](https://github.com/appwrite/appwrite/pull/6490)
# Version 1.4.4
## Features
- Feat: Function domains force https in [#6269](https://github.com/appwrite/appwrite/pull/6269)
- Feat: router protection in [#6272](https://github.com/appwrite/appwrite/pull/6272)
- Feat: Parse event body in [#6317](https://github.com/appwrite/appwrite/pull/6317)
## Fixes
- Fix: wrong device type in [#6271](https://github.com/appwrite/appwrite/pull/6271)
- Fix: build race condition in [#6270](https://github.com/appwrite/appwrite/pull/6270)
- Fix: Large builds in [#6273](https://github.com/appwrite/appwrite/pull/6273)
- Fix: migrations in [#6302](https://github.com/appwrite/appwrite/pull/6302)
- Add Description for Download Deployment in [#6268](https://github.com/appwrite/appwrite/pull/6268)
- Fix deployment delete in [#6290](https://github.com/appwrite/appwrite/pull/6290)
- Fix project deletion in [#6260](https://github.com/appwrite/appwrite/pull/6260)
- fix-6212-Issue-With-Linkedin-OAuth in [#6229](https://github.com/appwrite/appwrite/pull/6229)
- Fix: Execution body limit in [#6326](https://github.com/appwrite/appwrite/pull/6326)
- Patch: Disable console protection in [#6329](https://github.com/appwrite/appwrite/pull/6329)
- converted desc to sentence case in [#5926](https://github.com/appwrite/appwrite/pull/5926)
- Update avatar font and default colors in [#6277](https://github.com/appwrite/appwrite/pull/6277)
- Bump composer to fix migration bug in [#6344](https://github.com/appwrite/appwrite/pull/6344)
- Fix execution call timeout in [#6332](https://github.com/appwrite/appwrite/pull/6332)
- Bump appwrite-assistant to prevent it from crashing w/o open ai key in [#6342](https://github.com/appwrite/appwrite/pull/6342)
- Remove Special Chars from Initials [#6164](https://github.com/appwrite/appwrite/pull/6164)
# Version 1.4.3
## Features
- Support for the all new bun runtime [#6230](https://github.com/appwrite/appwrite/pull/6230)
- Stripe function templates [Console #540](https://github.com/appwrite/console/pull/540)
## Fixes
- Fix missing _APP_OPENSSL_KEY_V1 in the compose file [#6199](https://github.com/appwrite/appwrite/pull/6199)
- Fix V2 functions env vars [#6215](https://github.com/appwrite/appwrite/pull/6215)
- Fix Don't update User Accessed At for Users and Teams APIs [#6222](https://github.com/appwrite/appwrite/pull/6222)
- Fix Git deploys with S3 [#6227](https://github.com/appwrite/appwrite/pull/6227)
- Fix manual internal id insertion [#6232](https://github.com/appwrite/appwrite/pull/6232)
- Fix function timeout [#6235](https://github.com/appwrite/appwrite/pull/6235)
- Fix collections with datetime attributes migration [#17](https://github.com/utopia-php/migration/pull/17)
- Fix not all user data being migrated [#17](https://github.com/utopia-php/migration/pull/17)
- Fix team memberships migration [#16](https://github.com/utopia-php/migration/pull/16)
- Fix events validation on create/update webhooks [#6219](https://github.com/appwrite/appwrite/pull/6219)
- Fix schedules task [#6246](https://github.com/appwrite/appwrite/pull/6246)
- Fix missing keys when updating document via relationship [Database #320](https://github.com/utopia-php/database/pull/320)
- Fix Discord template [Console #538](https://github.com/appwrite/console/pull/538)
- Fix form var is url not text [Console #539](https://github.com/appwrite/console/pull/539)
- Fix incorrect link to migration docs for self-hosted to cloud [Console #543](https://github.com/appwrite/console/pull/543)
- Fix can't disable smtp [Console #548](https://github.com/appwrite/console/pull/548)
- Fix create function cover for case where VCS is not enabled [Console #544](https://github.com/appwrite/console/pull/544)
- Fix users list not re-rendering [Console #537](https://github.com/appwrite/console/pull/537)
- Fix create attribute modal null when selecting same time twice [Console #549](https://github.com/appwrite/console/pull/549)
- Fix runtime versions in templates [Console #546](https://github.com/appwrite/console/pull/546)
# Version 1.4.2
## Fixes
- Fix create phone session abuse key [#6134](https://github.com/appwrite/appwrite/pull/6134)
- Fix CLI backwards compatibility [#6125](https://github.com/appwrite/appwrite/pull/6125)
- Fix Not Found error when deploying function from git [#6133](https://github.com/appwrite/appwrite/pull/6133)
- Fix _APP_EXECUTOR_HOST for upgrades [#6141](https://github.com/appwrite/appwrite/pull/6141)
- Fix create execution request filter from previous SDK version [#6146](https://github.com/appwrite/appwrite/pull/6146)
- Fix migrations worker [#6116](https://github.com/appwrite/appwrite/pull/6116)
- Fix: Global variables by [#6150](https://github.com/appwrite/appwrite/pull/6150)
- Fix webhook secret validation and executor path validation [#6162](https://github.com/appwrite/appwrite/pull/6162)
- Fix: Untrusted custom domains + auto-ssl [#6155](https://github.com/appwrite/appwrite/pull/6155)
- Fix: AI Assistant [#6153](https://github.com/appwrite/appwrite/pull/6153)
## Changes
- Add required params for scheduled functions [#6148](https://github.com/appwrite/appwrite/pull/6148)
- Update the error message for router_domain_not_configured [#6145](https://github.com/appwrite/appwrite/pull/6145)
- Override forEachDocument() to skip the cache collection [#6144](https://github.com/appwrite/appwrite/pull/6144)
- Support for v2 functions [#6142](https://github.com/appwrite/appwrite/pull/6142)
- Change executor hostname back to appwrite-executor [#6160](https://github.com/appwrite/appwrite/pull/6160)
- Make URL optional for Create Membership API and Serverside Requests [#6157](https://github.com/appwrite/appwrite/pull/6157)
# Version 1.4.1
## Features
+7 -5
View File
@@ -2,6 +2,11 @@
We would ❤️ you to contribute to Appwrite and help make it better! We want contributing to Appwrite to be fun, enjoyable, and educational for anyone and everyone. All contributions are welcome, including issues, and new docs, as well as updates and tweaks, blog posts, workshops, and more.
## Here for Hacktoberfest?
If you're here to contribute during Hacktoberfest, we're so happy to see you here. Appwrite has been a long-time participant of Hacktoberfest and we welcome you, whatever your experience level. This year, we're **only taking contributions for issues tagged** `hacktoberfest`, so we can focus our resources to support your contributions.
You can [find issues using this query](https://github.com/search?q=org%3Aappwrite+is%3Aopen+type%3Aissue+label%3Ahacktoberfest&type=issues).
## How to Start?
If you are worried or dont know where to start, check out the next section that explains what kind of help we could use and where you can get involved. You can send your questions to [@appwrite](https://twitter.com/appwrite) on Twitter or to anyone from the [Appwrite team on Discord](https://appwrite.io/discord). You can also submit an issue, and a maintainer can guide you!
@@ -84,7 +89,7 @@ $ git push origin [name_of_your_new_branch]
To set up a working **development environment**, just fork the project git repository and install the backend and frontend dependencies using the proper package manager and create run the docker-compose stack.
> If you just want to install Appwrite for day-to-day use and not as a contributor, you can reference the [installation guide](https://github.com/appwrite/appwrite#installation), the [getting started guide](https://appwrite.io/docs/getting-started-for-web), or the main [README](README.md) file.
> If you just want to install Appwrite for day-to-day use and not as a contributor, you can reference the [installation guide](https://github.com/appwrite/appwrite#installation), the [getting started guide](https://appwrite.io/docs/quick-starts), or the main [README](README.md) file.
```bash
git clone git@github.com:[YOUR_FORK_HERE]/appwrite.git
@@ -201,12 +206,10 @@ Appwrite's current structure is a combination of both [Monolithic](https://en.wi
│ ├── Network
│ ├── OpenSSL
│ ├── Promises
│ ├── Resque
│ ├── Specification
│ ├── Task
│ ├── Template
│ ├── URL
│ ├── Usage
│ └── Utopia
└── tests # End to end & unit tests
├── e2e
@@ -246,7 +249,6 @@ Appwrite stack is a combination of a variety of open-source technologies and too
- Imagemagick - for manipulating and managing image media files.
- Webp - for better compression of images on supporting clients.
- SMTP - for sending email messages and alerts.
- Resque - for managing data queues and scheduled tasks over a Redis server.
## Package Managers
@@ -451,7 +453,7 @@ From time to time, our team will add tutorials that will help contributors find
- [Adding Support for a New OAuth2 Provider](./docs/tutorials/add-oauth2-provider.md)
- [Appwrite Environment Variables](./docs/tutorials/add-environment-variable.md)
- [Running in Production](https://appwrite.io/docs/production)
- [Running in Production](https://appwrite.io/docs/advanced/self-hosting/production)
- [Adding Storage Adapter](./docs/tutorials/add-storage-adapter.md)
## Other Ways to Help
+8 -103
View File
@@ -37,99 +37,8 @@ ARG VERSION=dev
ARG DEBUG=false
ENV DEBUG=$DEBUG
ENV DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
ENV DOCKER_COMPOSE_VERSION=v2.5.0
ENV _APP_SERVER=swoole \
_APP_ENV=production \
_APP_LOCALE=en \
_APP_WORKER_PER_CORE= \
_APP_DOMAIN=localhost \
_APP_DOMAIN_FUNCTIONS=functions.localhost \
_APP_DOMAIN_TARGET=localhost \
_APP_HOME=https://appwrite.io \
_APP_EDITION=community \
_APP_CONSOLE_WHITELIST_ROOT=enabled \
_APP_CONSOLE_WHITELIST_EMAILS= \
_APP_CONSOLE_WHITELIST_IPS= \
_APP_SYSTEM_EMAIL_NAME= \
_APP_SYSTEM_EMAIL_ADDRESS= \
_APP_SYSTEM_RESPONSE_FORMAT= \
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS= \
_APP_OPTIONS_ABUSE=enabled \
_APP_OPTIONS_FORCE_HTTPS=disabled \
_APP_OPENSSL_KEY_V1=your-secret-key \
_APP_STORAGE_LIMIT=10000000 \
_APP_STORAGE_ANTIVIRUS=enabled \
_APP_STORAGE_ANTIVIRUS_HOST=clamav \
_APP_STORAGE_ANTIVIRUS_PORT=3310 \
_APP_STORAGE_DEVICE=Local \
_APP_STORAGE_S3_ACCESS_KEY= \
_APP_STORAGE_S3_SECRET= \
_APP_STORAGE_S3_REGION= \
_APP_STORAGE_S3_BUCKET= \
_APP_STORAGE_DO_SPACES_ACCESS_KEY= \
_APP_STORAGE_DO_SPACES_SECRET= \
_APP_STORAGE_DO_SPACES_REGION= \
_APP_STORAGE_DO_SPACES_BUCKET= \
_APP_STORAGE_BACKBLAZE_ACCESS_KEY= \
_APP_STORAGE_BACKBLAZE_SECRET= \
_APP_STORAGE_BACKBLAZE_REGION= \
_APP_STORAGE_BACKBLAZE_BUCKET= \
_APP_STORAGE_LINODE_ACCESS_KEY= \
_APP_STORAGE_LINODE_SECRET= \
_APP_STORAGE_LINODE_REGION= \
_APP_STORAGE_LINODE_BUCKET= \
_APP_STORAGE_WASABI_ACCESS_KEY= \
_APP_STORAGE_WASABI_SECRET= \
_APP_STORAGE_WASABI_REGION= \
_APP_STORAGE_WASABI_BUCKET= \
_APP_REDIS_HOST=redis \
_APP_REDIS_PORT=6379 \
_APP_DB_HOST=mariadb \
_APP_DB_PORT=3306 \
_APP_DB_USER=root \
_APP_DB_PASS=password \
_APP_DB_SCHEMA=appwrite \
_APP_INFLUXDB_HOST=influxdb \
_APP_INFLUXDB_PORT=8086 \
_APP_STATSD_HOST=telegraf \
_APP_STATSD_PORT=8125 \
_APP_SMTP_HOST= \
_APP_SMTP_PORT= \
_APP_SMTP_SECURE= \
_APP_SMTP_USERNAME= \
_APP_SMTP_PASSWORD= \
_APP_SMS_PROVIDER= \
_APP_SMS_FROM= \
_APP_FUNCTIONS_SIZE_LIMIT=30000000 \
_APP_FUNCTIONS_TIMEOUT=900 \
_APP_FUNCTIONS_CONTAINERS=10 \
_APP_FUNCTIONS_CPUS=1 \
_APP_FUNCTIONS_MEMORY=128 \
_APP_FUNCTIONS_MEMORY_SWAP=128 \
_APP_EXECUTOR_SECRET=a-random-secret \
_APP_EXECUTOR_HOST=http://appwrite-executor/v1 \
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes \
_APP_SETUP=self-hosted \
_APP_VERSION=$VERSION \
_APP_USAGE_STATS=enabled \
_APP_USAGE_AGGREGATION_INTERVAL=30 \
# 14 Days = 1209600 s
_APP_MAINTENANCE_RETENTION_EXECUTION=1209600 \
_APP_MAINTENANCE_RETENTION_AUDIT=1209600 \
# 1 Day = 86400 s
_APP_MAINTENANCE_RETENTION_ABUSE=86400 \
_APP_MAINTENANCE_RETENTION_USAGE_HOURLY=8640000 \
_APP_MAINTENANCE_INTERVAL=86400 \
_APP_LOGGING_PROVIDER= \
_APP_LOGGING_CONFIG= \
_APP_VCS_GITHUB_APP_NAME= \
_APP_VCS_GITHUB_PRIVATE_KEY= \
_APP_VCS_GITHUB_APP_ID= \
_APP_VCS_GITHUB_CLIENT_ID= \
_APP_VCS_GITHUB_CLIENT_SECRET= \
_APP_VCS_GITHUB_WEBHOOK_SECRET=
ENV _APP_VERSION=$VERSION \
_APP_HOME=https://appwrite.io
RUN \
if [ "$DEBUG" == "true" ]; then \
@@ -165,7 +74,6 @@ RUN mkdir -p /storage/uploads && \
# Executables
RUN chmod +x /usr/local/bin/doctor && \
chmod +x /usr/local/bin/maintenance && \
chmod +x /usr/local/bin/usage && \
chmod +x /usr/local/bin/install && \
chmod +x /usr/local/bin/upgrade && \
chmod +x /usr/local/bin/migrate && \
@@ -176,6 +84,10 @@ RUN chmod +x /usr/local/bin/doctor && \
chmod +x /usr/local/bin/ssl && \
chmod +x /usr/local/bin/test && \
chmod +x /usr/local/bin/vars && \
chmod +x /usr/local/bin/queue-retry && \
chmod +x /usr/local/bin/queue-count-failed && \
chmod +x /usr/local/bin/queue-count-processing && \
chmod +x /usr/local/bin/queue-count-success && \
chmod +x /usr/local/bin/worker-audits && \
chmod +x /usr/local/bin/worker-certificates && \
chmod +x /usr/local/bin/worker-databases && \
@@ -185,16 +97,9 @@ RUN chmod +x /usr/local/bin/doctor && \
chmod +x /usr/local/bin/worker-mails && \
chmod +x /usr/local/bin/worker-messaging && \
chmod +x /usr/local/bin/worker-webhooks && \
chmod +x /usr/local/bin/worker-migrations
chmod +x /usr/local/bin/worker-migrations && \
chmod +x /usr/local/bin/worker-usage
# Cloud Executabless
RUN chmod +x /usr/local/bin/hamster && \
chmod +x /usr/local/bin/volume-sync && \
chmod +x /usr/local/bin/patch-delete-schedule-updated-at-attribute && \
chmod +x /usr/local/bin/patch-delete-project-collections && \
chmod +x /usr/local/bin/clear-card-cache && \
chmod +x /usr/local/bin/calc-users-stats && \
chmod +x /usr/local/bin/calc-tier-stats
# Letsencrypt Permissions
RUN mkdir -p /etc/letsencrypt/live/ && chmod -Rf 755 /etc/letsencrypt/live/
+57
View File
@@ -0,0 +1,57 @@
# Appwrite hacktoberfest contribution
Welcome to the Appwrite Hacktoberfest contribution! We appreciate your interest in contributing to our open-source project. Please read this carefully to understand how to get started and make your contributions count.
## Familiarize with the project
Before you start contributing, familiarize yourself with our project by reading the [main README](https://github.com/appwrite/appwrite/blob/main/README.md).
## Code of conduct
Please ensure that you always follow our [Code of Conduct](https://github.com/appwrite/awesome-appwrite/blob/master/CODE_OF_CONDUCT.md). We aim to maintain a respectful and inclusive community.
## Contributing guide
Please review our [Contributing Guide](https://github.com/appwrite/appwrite/blob/main/CONTRIBUTING.md) before contributing. It will help you learn about the architecture, instructions on how to update code, run tests, and submit a PR.
## Hacktoberfest contribution guidelines
To participate in Hacktoberfest with Appwrite, follow these guidelines:
1. **Valid issues**: To make your contribution count, please look for issues labeled with `hacktoberfest`. Only issues labeled with `hacktoberfest` will count as a valid contribution.
2. **Wait for issue assignment**: After you have identified an issue to work on, please wait for it to be assigned to you by our team. We assign issues on a first-come, first-serve basis.
3. **Knowing about labels**: We do not have the `hacktoberfest` label in our repositories, but we use it on specific issues. For your pull request to be valid, our team will review and add the `hacktoberfest-accepted` label once it meets the criteria.
4. **Discuss new issues**: If you're interested in finding and adding new issues for Hacktoberfest, please discuss it with the team on our [Discord server](https://appwrite.io/discord) in the `#hacktoberfest` channel.
5. **Be patient with pull request reviews**: PR reviews may take up to 15 days due to the volume of contributions. However, we also host PR review parties every week where you can add your PRs for instant review.
6. **Regular updates**: If you've been assigned an issue, it's essential to share updates every 3 days. Failure to do so may result in being unassigned from the issue.
## Getting started
1. Fork the Appwrite repository you'd like to contribute to.
2. Clone your forked repository to your local machine.
```bash
git clone https://github.com/your-username/repository-name.git
```
3. Create a new branch for your contribution.
```bash
git checkout -b TYPE-ISSUE_ID-DESCRIPTION
```
4. Make your changes, commit them, and push them to your forked repository.
```bash
git commit -m "Add your commit message here"
git push origin TYPE-ISSUE_ID-DESCRIPTION
```
5. Create a Pull Request (PR) from your forked repository to the Appwrite repository. Be sure to reference the issue you are addressing in your PR description.
Thank you for contributing to Appwrite, and we look forward to your Hacktoberfest contributions! If you have any questions or need assistance, feel free to ask on our Discord server or in the issue discussion. Happy hacking!
+11 -11
View File
@@ -2,7 +2,7 @@
<br />
<p align="center">
<a href="https://appwrite.io" target="_blank"><img width="260" height="39" src="https://appwrite.io/images/appwrite.svg" alt="Appwrite Logo"></a>
<a href="https://appwrite.io" target="_blank"><img src="./public/images/banner.png" alt="Appwrite Logo"></a>
<br />
<br />
<b>适用于[Flutter/Vue/Angular/React/iOS/Android/* 等等平台 *]的完整后端服务</b>
@@ -55,7 +55,7 @@ Appwrite 可以提供给开发者用户验证,外部授权,用户数据读
## 安装
Appwrite 的容器化服务器只需要一行指令就可以运行。您可以使用 docker-compose 在本地主机上运行 Appwrite,也可以在任何其他容器化工具(如 Kubernetes、Docker Swarm 或 Rancher)上运行 Appwrite。
Appwrite 的容器化服务器只需要一行指令就可以运行。您可以使用 docker-compose 在本地主机上运行 Appwrite,也可以在任何其他容器化工具(如 [Kubernetes](https://kubernetes.io/docs/home/)、[Docker Swarm](https://docs.docker.com/engine/swarm/) 或 [Rancher](https://rancher.com/docs/))上运行 Appwrite。
启动 Appwrite 服务器的最简单方法是运行我们的 docker-compose 文件。在运行安装命令之前,请确保您的机器上安装了 [Docker](https://dockerdocs.cn/get-docker/index.html)
@@ -66,7 +66,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
### Windows
@@ -78,7 +78,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
#### PowerShell
@@ -88,7 +88,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。
@@ -113,14 +113,14 @@ docker run -it --rm `
### 软件服务
* [**帐户**](https://appwrite.io/docs/client/account) -管理当前用户的帐户和登录方式。跟踪和管理用户 Session,登录设备,登录方法和查看相关记录。
* [**帐户**](https://appwrite.io/docs/references/cloud/client-web/account) -管理当前用户的帐户和登录方式。跟踪和管理用户 Session,登录设备,登录方法和查看相关记录。
* [**用户**](https://appwrite.io/docs/server/users) - 在以管理员模式登录时管理和列出所有用户。
* [**团队**](https://appwrite.io/docs/client/teams) - 管理用户分组。邀请成员,管理团队中的用户权限和用户角色。
* [**数据库**](https://appwrite.io/docs/client/databases) - 管理数据库文档和文档集。用检索界面来对文档和文档集进行读取,创建,更新,和删除。
* [**贮存**](https://appwrite.io/docs/client/storage) - 管理文件的阅读、创建、删除和预览。设置文件的预览来满足程序的个性化需求。所有文件都由 ClamAV 扫描并安全存储和加密。
* [**团队**](https://appwrite.io/docs/references/cloud/client-web/teams) - 管理用户分组。邀请成员,管理团队中的用户权限和用户角色。
* [**数据库**](https://appwrite.io/docs/references/cloud/client-web/databases) - 管理数据库文档和文档集。用检索界面来对文档和文档集进行读取,创建,更新,和删除。
* [**贮存**](https://appwrite.io/docs/references/cloud/client-web/storage) - 管理文件的阅读、创建、删除和预览。设置文件的预览来满足程序的个性化需求。所有文件都由 ClamAV 扫描并安全存储和加密。
* [**云函数**](https://appwrite.io/docs/server/functions) - 在安全,隔离的环境中运行自定义代码。这些代码可以被事件,CRON,或者手动操作触发。
* [**语言适配**](https://appwrite.io/docs/client/locale) - 根据用户所在的的国家和地区做出合适的语言适配。
* [**头像**](https://appwrite.io/docs/client/avatars) -管理用户头像、国家旗帜、浏览器图标、信用卡符号,和生成二维码。
* [**语言适配**](https://appwrite.io/docs/references/cloud/client-web/locale) - 根据用户所在的的国家和地区做出合适的语言适配。
* [**头像**](https://appwrite.io/docs/references/cloud/client-web/avatars) -管理用户头像、国家旗帜、浏览器图标、信用卡符号,和生成二维码。
如需完整的 API 界面文档,请访问 [https://appwrite.io/docs](https://appwrite.io/docs)。如需更多教程、新闻和公告,请订阅我们的 [博客](https://medium.com/appwrite-io) 和 加入我们的[Discord 社区](https://discord.gg/GSeTUeA)。
### 开发套件
+12 -11
View File
@@ -2,7 +2,8 @@
<br />
<p align="center">
<a href="https://appwrite.io" target="_blank"><img width="260" height="39" src="https://appwrite.io/images/appwrite.svg" alt="Appwrite Logo"></a>
<a href="https://appwrite.io" target="_blank"><img src="./public/images/banner.png" alt="Appwrite Logo"></a>
<br />
<br />
<b>Appwrite is a backend platform for developing Web, Mobile, and Flutter applications. Built with the open source community and optimized for developer experience in the coding languages you love.</b>
<br />
@@ -64,7 +65,7 @@ Table of Contents:
## Installation
Appwrite is designed to run in a containerized environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool, such as Kubernetes, Docker Swarm, or Rancher.
Appwrite is designed to run in a containerized environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool, such as [Kubernetes](https://kubernetes.io/docs/home/), [Docker Swarm](https://docs.docker.com/engine/swarm/), or [Rancher](https://rancher.com/docs/).
The easiest way to start running your Appwrite server is by running our docker-compose file. Before running the installation command, make sure you have [Docker](https://www.docker.com/products/docker-desktop) installed on your machine:
@@ -75,7 +76,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
### Windows
@@ -87,7 +88,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
#### PowerShell
@@ -97,7 +98,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
appwrite/appwrite:1.4.1
appwrite/appwrite:1.4.13
```
Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation.
@@ -150,15 +151,15 @@ Getting started with Appwrite is as easy as creating a new project, choosing you
### Services
- [**Account**](https://appwrite.io/docs/client/account) - Manage current user authentication and account. Track and manage the user sessions, devices, sign-in methods, and security logs.
- [**Account**](https://appwrite.io/docs/references/cloud/client-web/account) - Manage current user authentication and account. Track and manage the user sessions, devices, sign-in methods, and security logs.
- [**Users**](https://appwrite.io/docs/server/users) - Manage and list all project users when building backend integrations with Server SDKs.
- [**Teams**](https://appwrite.io/docs/client/teams) - Manage and group users in teams. Manage memberships, invites, and user roles within a team.
- [**Databases**](https://appwrite.io/docs/client/databases) - Manage databases, collections, and documents. Read, create, update, and delete documents and filter lists of document collections using advanced filters.
- [**Storage**](https://appwrite.io/docs/client/storage) - Manage storage files. Read, create, delete, and preview files. Manipulate the preview of your files to perfectly fit your app. All files are scanned by ClamAV and stored in a secure and encrypted way.
- [**Teams**](https://appwrite.io/docs/references/cloud/client-web/teams) - Manage and group users in teams. Manage memberships, invites, and user roles within a team.
- [**Databases**](https://appwrite.io/docs/references/cloud/client-web/databases) - Manage databases, collections, and documents. Read, create, update, and delete documents and filter lists of document collections using advanced filters.
- [**Storage**](https://appwrite.io/docs/references/cloud/client-web/storage) - Manage storage files. Read, create, delete, and preview files. Manipulate the preview of your files to perfectly fit your app. All files are scanned by ClamAV and stored in a secure and encrypted way.
- [**Functions**](https://appwrite.io/docs/server/functions) - Customize your Appwrite server by executing your custom code in a secure, isolated environment. You can trigger your code on any Appwrite system event either manually or using a CRON schedule.
- [**Realtime**](https://appwrite.io/docs/realtime) - Listen to real-time events for any of your Appwrite services including users, storage, functions, databases, and more.
- [**Locale**](https://appwrite.io/docs/client/locale) - Track your user's location and manage your app locale-based data.
- [**Avatars**](https://appwrite.io/docs/client/avatars) - Manage your users' avatars, countries' flags, browser icons, and credit card symbols. Generate QR codes from links or plaintext strings.
- [**Locale**](https://appwrite.io/docs/references/cloud/client-web/locale) - Track your user's location and manage your app locale-based data.
- [**Avatars**](https://appwrite.io/docs/references/cloud/client-web/avatars) - Manage your users' avatars, countries' flags, browser icons, and credit card symbols. Generate QR codes from links or plaintext strings.
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcements check out our [blog](https://medium.com/appwrite-io) and [Discord Server](https://discord.gg/GSeTUeA).
Binary file not shown.
Binary file not shown.
+28 -32
View File
@@ -3,7 +3,10 @@
require_once __DIR__ . '/init.php';
require_once __DIR__ . '/controllers/general.php';
use Appwrite\Event\Delete;
use Appwrite\Event\Certificate;
use Appwrite\Event\Func;
use Appwrite\Event\Hamster;
use Appwrite\Platform\Appwrite;
use Utopia\CLI\CLI;
use Utopia\Database\Validator\Authorization;
@@ -17,6 +20,7 @@ use Utopia\Database\Database;
use Utopia\Database\Document;
use Utopia\Logger\Log;
use Utopia\Pools\Group;
use Utopia\Queue\Connection;
use Utopia\Registry\Registry;
Authorization::disable();
@@ -58,7 +62,11 @@ CLI::setResource('dbForConsole', function ($pools, $cache) {
->getResource();
$dbForConsole = new Database($dbAdapter, $cache);
$dbForConsole->setNamespace('_console');
$dbForConsole
->setNamespace('_console')
->setMetadata('host', \gethostname())
->setMetadata('project', 'console');
// Ensure tables exist
$collections = Config::getParam('collections', [])['console'];
@@ -86,7 +94,7 @@ CLI::setResource('dbForConsole', function ($pools, $cache) {
CLI::setResource('getProjectDB', function (Group $pools, Database $dbForConsole, $cache) {
$databases = []; // TODO: @Meldiron This should probably be responsibility of utopia-php/pools
$getProjectDB = function (Document $project) use ($pools, $dbForConsole, $cache, &$databases) {
return function (Document $project) use ($pools, $dbForConsole, $cache, &$databases) {
if ($project->isEmpty() || $project->getId() === 'console') {
return $dbForConsole;
}
@@ -108,42 +116,30 @@ CLI::setResource('getProjectDB', function (Group $pools, Database $dbForConsole,
$databases[$databaseName] = $database;
$database->setNamespace('_' . $project->getInternalId());
$database
->setNamespace('_' . $project->getInternalId())
->setMetadata('host', \gethostname())
->setMetadata('project', $project->getId());
return $database;
};
return $getProjectDB;
}, ['pools', 'dbForConsole', 'cache']);
CLI::setResource('influxdb', function (Registry $register) {
$client = $register->get('influxdb'); /** @var InfluxDB\Client $client */
$attempts = 0;
$max = 10;
$sleep = 1;
do { // check if telegraf database is ready
try {
$attempts++;
$database = $client->selectDB('telegraf');
if (in_array('telegraf', $client->listDatabases())) {
break; // leave the do-while if successful
}
} catch (\Throwable $th) {
Console::warning("InfluxDB not ready. Retrying connection ({$attempts})...");
if ($attempts >= $max) {
throw new \Exception('InfluxDB database not ready yet');
}
sleep($sleep);
}
} while ($attempts < $max);
return $database;
}, ['register']);
CLI::setResource('queueForFunctions', function (Group $pools) {
return new Func($pools->get('queue')->pop()->getResource());
CLI::setResource('queue', function (Group $pools) {
return $pools->get('queue')->pop()->getResource();
}, ['pools']);
CLI::setResource('queueForFunctions', function (Connection $queue) {
return new Func($queue);
}, ['queue']);
CLI::setResource('queueForHamster', function (Connection $queue) {
return new Hamster($queue);
}, ['queue']);
CLI::setResource('queueForDeletes', function (Connection $queue) {
return new Delete($queue);
}, ['queue']);
CLI::setResource('queueForCertificates', function (Connection $queue) {
return new Certificate($queue);
}, ['queue']);
CLI::setResource('logError', function (Registry $register) {
return function (Throwable $error, string $namespace, string $action) use ($register) {
$logger = $register->get('logger');
+73 -73
View File
@@ -18,6 +18,63 @@ $auth = Config::getParam('auth', []);
*/
$commonCollections = [
'cache' => [
'$collection' => Database::METADATA,
'$id' => 'cache',
'name' => 'Cache',
'attributes' => [
[
'$id' => 'resource',
'type' => Database::VAR_STRING,
'format' => '',
'size' => 255,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => 'accessedAt',
'type' => Database::VAR_DATETIME,
'format' => '',
'size' => 0,
'signed' => false,
'required' => false,
'default' => null,
'array' => false,
'filters' => ['datetime'],
],
[
'$id' => 'signature',
'type' => Database::VAR_STRING,
'format' => '',
'size' => 255,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
],
'indexes' => [
[
'$id' => '_key_accessedAt',
'type' => Database::INDEX_KEY,
'attributes' => ['accessedAt'],
'lengths' => [],
'orders' => [],
],
[
'$id' => '_key_resource',
'type' => Database::INDEX_KEY,
'attributes' => ['resource'],
'lengths' => [],
'orders' => [],
],
],
],
'users' => [
'$collection' => ID::custom(Database::METADATA),
'$id' => ID::custom('users'),
@@ -1270,10 +1327,10 @@ $commonCollections = [
]
],
'stats' => [
'stats_v2' => [
'$collection' => ID::custom(Database::METADATA),
'$id' => ID::custom('stats'),
'name' => 'Stats',
'$id' => ID::custom('stats_v2'),
'name' => 'stats_v2',
'attributes' => [
[
'$id' => ID::custom('metric'),
@@ -1302,7 +1359,7 @@ $commonCollections = [
'type' => Database::VAR_INTEGER,
'format' => '',
'size' => 8,
'signed' => false,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
@@ -1330,17 +1387,6 @@ $commonCollections = [
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('type'),
'type' => Database::VAR_INTEGER,
'format' => '',
'size' => 1,
'signed' => false,
'required' => true,
'default' => 0, // 0 -> count, 1 -> sum
'array' => false,
'filters' => [],
],
],
'indexes' => [
[
@@ -1359,7 +1405,7 @@ $commonCollections = [
],
[
'$id' => ID::custom('_key_metric_period_time'),
'type' => Database::INDEX_KEY,
'type' => Database::INDEX_UNIQUE,
'attributes' => ['metric', 'period', 'time'],
'lengths' => [],
'orders' => [Database::ORDER_DESC],
@@ -1944,6 +1990,17 @@ $projectCollections = array_merge([
'array' => false,
'filters' => ['subQueryVariables'],
],
[
'$id' => ID::custom('varsProject'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => 16384,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => ['subQueryProjectVariables'],
],
[
'$id' => ID::custom('events'),
'type' => Database::VAR_STRING,
@@ -2872,63 +2929,6 @@ $projectCollections = array_merge([
],
],
'cache' => [
'$collection' => Database::METADATA,
'$id' => 'cache',
'name' => 'Cache',
'attributes' => [
[
'$id' => 'resource',
'type' => Database::VAR_STRING,
'format' => '',
'size' => 255,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => 'accessedAt',
'type' => Database::VAR_DATETIME,
'format' => '',
'size' => 0,
'signed' => false,
'required' => false,
'default' => null,
'array' => false,
'filters' => ['datetime'],
],
[
'$id' => 'signature',
'type' => Database::VAR_STRING,
'format' => '',
'size' => 255,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
],
'indexes' => [
[
'$id' => '_key_accessedAt',
'type' => Database::INDEX_KEY,
'attributes' => ['accessedAt'],
'lengths' => [],
'orders' => [],
],
[
'$id' => '_key_resource',
'type' => Database::INDEX_KEY,
'attributes' => ['resource'],
'lengths' => [],
'orders' => [],
],
],
],
'variables' => [
'$collection' => Database::METADATA,
'$id' => 'variables',
+55 -9
View File
@@ -86,7 +86,7 @@ return [
Exception::GENERAL_PROTOCOL_UNSUPPORTED => [
'name' => Exception::GENERAL_PROTOCOL_UNSUPPORTED,
'description' => 'The request cannot be fulfilled with the current protocol. Please check the value of the _APP_OPTIONS_FORCE_HTTPS environment variable.',
'code' => 500,
'code' => 426,
],
Exception::GENERAL_CODES_DISABLED => [
'name' => Exception::GENERAL_CODES_DISABLED,
@@ -209,6 +209,7 @@ return [
'name' => Exception::USER_AUTH_METHOD_UNSUPPORTED,
'description' => 'The requested authentication method is either disabled or unsupported. Please check the supported authentication methods in the Appwrite console.',
'code' => 501,
'publish' => false,
],
Exception::USER_PHONE_ALREADY_EXISTS => [
'name' => Exception::USER_PHONE_ALREADY_EXISTS,
@@ -240,6 +241,16 @@ return [
'description' => 'OAuth2 provider returned some error.',
'code' => 424,
],
Exception::USER_EMAIL_ALREADY_VERIFIED => [
'name' => Exception::USER_EMAIL_ALREADY_VERIFIED,
'description' => 'User email is already verified',
'code' => 409,
],
Exception::USER_PHONE_ALREADY_VERIFIED => [
'name' => Exception::USER_PHONE_ALREADY_VERIFIED,
'description' => 'User phone is already verified',
'code' => 409
],
/** Teams */
Exception::TEAM_NOT_FOUND => [
@@ -355,7 +366,7 @@ return [
],
Exception::STORAGE_BUCKET_ALREADY_EXISTS => [
'name' => Exception::STORAGE_BUCKET_ALREADY_EXISTS,
'description' => 'A storage bucket with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'A storage bucket with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.',
'code' => 409,
],
Exception::STORAGE_BUCKET_NOT_FOUND => [
@@ -460,12 +471,16 @@ return [
'description' => 'Database not found',
'code' => 404
],
Exception::DATABASE_ALREADY_EXISTS => [
'name' => Exception::DATABASE_ALREADY_EXISTS,
'description' => 'Database already exists',
'code' => 409
],
Exception::DATABASE_TIMEOUT => [
'name' => Exception::DATABASE_TIMEOUT,
'description' => 'Database timed out. Try adjusting your queries or adding an index.',
'code' => 408
],
/** Collections */
Exception::COLLECTION_NOT_FOUND => [
@@ -475,7 +490,7 @@ return [
],
Exception::COLLECTION_ALREADY_EXISTS => [
'name' => Exception::COLLECTION_ALREADY_EXISTS,
'description' => 'A collection with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'A collection with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.',
'code' => 409,
],
Exception::COLLECTION_LIMIT_EXCEEDED => [
@@ -507,7 +522,7 @@ return [
],
Exception::DOCUMENT_ALREADY_EXISTS => [
'name' => Exception::DOCUMENT_ALREADY_EXISTS,
'description' => 'Document with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.',
'code' => 409,
],
Exception::DOCUMENT_UPDATE_CONFLICT => [
@@ -549,7 +564,7 @@ return [
],
Exception::ATTRIBUTE_ALREADY_EXISTS => [
'name' => Exception::ATTRIBUTE_ALREADY_EXISTS,
'description' => 'Attribute with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'Attribute with the requested key already exists. Attribute keys must be unique, try again with a different key.',
'code' => 409,
],
Exception::ATTRIBUTE_LIMIT_EXCEEDED => [
@@ -581,7 +596,7 @@ return [
],
Exception::INDEX_ALREADY_EXISTS => [
'name' => Exception::INDEX_ALREADY_EXISTS,
'description' => 'Index with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'Index with the requested key already exists. Try again with a different key.',
'code' => 409,
],
Exception::INDEX_INVALID => [
@@ -598,7 +613,7 @@ return [
],
Exception::PROJECT_ALREADY_EXISTS => [
'name' => Exception::PROJECT_ALREADY_EXISTS,
'description' => 'Project with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.',
'description' => 'Project with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.',
'code' => 409,
],
Exception::PROJECT_UNKNOWN => [
@@ -643,7 +658,7 @@ return [
],
Exception::ROUTER_DOMAIN_NOT_CONFIGURED => [
'name' => Exception::ROUTER_DOMAIN_NOT_CONFIGURED,
'description' => 'Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.',
'description' => '_APP_DOMAIN, _APP_DOMAIN_TARGET, and _APP_DOMAIN_FUNCTIONS environment variables have not been configured. Please configure the domain environment variables before accessing the Appwrite Console via any IP address or hostname other than localhost. This value could be an IP like 203.0.113.0 or a hostname like example.com.',
'code' => 500,
],
Exception::RULE_RESOURCE_NOT_FOUND => [
@@ -665,6 +680,7 @@ return [
'name' => Exception::RULE_VERIFICATION_FAILED,
'description' => 'Domain verification failed. Please check if your DNS records are correct and try again.',
'code' => 401,
'publish' => true
],
Exception::PROJECT_SMTP_CONFIG_INVALID => [
'name' => Exception::PROJECT_SMTP_CONFIG_INVALID,
@@ -728,4 +744,34 @@ return [
'description' => 'Migration is already in progress. You can check the status of the migration in your Appwrite Console\'s "Settings" > "Migrations".',
'code' => 409,
],
/** Realtime */
Exception::REALTIME_MESSAGE_FORMAT_INVALID => [
'name' => Exception::REALTIME_MESSAGE_FORMAT_INVALID,
'description' => 'Message format is not valid.',
'code' => 1003,
],
Exception::REALTIME_POLICY_VIOLATION => [
'name' => Exception::REALTIME_POLICY_VIOLATION,
'description' => 'Policy violation.',
'code' => 1008,
],
Exception::REALTIME_TOO_MANY_MESSAGES => [
'name' => Exception::REALTIME_TOO_MANY_MESSAGES,
'description' => 'Too many messages.',
'code' => 1013,
],
Exception::MIGRATION_PROVIDER_ERROR => [
'name' => Exception::MIGRATION_PROVIDER_ERROR,
'description' => 'An error occurred on the provider\'s side. Please try again later.',
'code' => 400,
],
/** Health */
Exception::QUEUE_SIZE_EXCEEDED => [
'name' => Exception::QUEUE_SIZE_EXCEEDED,
'description' => 'Queue size threshold hit.',
'code' => 503,
'publish' => false
],
];
@@ -1,15 +1,9 @@
<p>{{hello}}</p>
<br>
<p>{{hello}},</p>
<p>{{body}}</p>
<a href="{{redirect}}" target="_blank">{{redirect}}</a>
<p><a href="{{redirect}}" target="_blank">{{redirect}}</a></p>
<p>{{footer}}</p>
<br>
<p>{{thanks}}</p>
<p>{{signature}}</p>
<p style="margin-bottom: 32px">
{{thanks}},
<br/>
{{signature}}
</p>
+19 -19
View File
@@ -2,31 +2,31 @@
"settings.inspire": "\"El arte de ser sabio es el arte de saber qué pasar por alto\"",
"settings.locale": "es",
"settings.direction": "ltr",
"emails.sender": "Equipo %s",
"emails.sender": "El equipo de %s",
"emails.verification.subject": "Verificación de cuenta",
"emails.verification.hello": "Hola {{user}}",
"emails.verification.body": "Haz clic en este enlace para verificar tu correo.",
"emails.verification.hello": "Hola, {{name}}",
"emails.verification.body": "Haz clic en este enlace para verificar tu correo:",
"emails.verification.footer": "Si no has solicitado verificar este correo, puedes ignorar este mensaje.",
"emails.verification.thanks": "Gracias",
"emails.verification.signature": "Equipo de {{project}}",
"emails.verification.thanks": "Gracias.",
"emails.verification.signature": "El equipo de {{project}}.",
"emails.magicSession.subject": "Inicio de sesión",
"emails.magicSession.hello": "Hola,",
"emails.magicSession.body": "Haz clic en este enlace para iniciar sesión.",
"emails.magicSession.footer": "Si no has solicitado ingresar usando este correo, puedes ignorar este mensaje.",
"emails.magicSession.thanks": "Gracias",
"emails.magicSession.signature": "Equipo de {{project}}",
"emails.magicSession.hello": "Hola",
"emails.magicSession.body": "Haz clic en este enlace para iniciar sesión:",
"emails.magicSession.footer": "Si no has solicitado iniciar sesión usando este correo, puedes ignorar este mensaje.",
"emails.magicSession.thanks": "Gracias.",
"emails.magicSession.signature": "El equipo de {{project}}",
"emails.recovery.subject": "Restablecer contraseña",
"emails.recovery.hello": "Hola {{user}}",
"emails.recovery.body": "Haz clic en este enlace para restablecer la contraseña de {{project}}.",
"emails.recovery.hello": "Hola, {{name}}",
"emails.recovery.body": "Haz clic en este enlace para restablecer la contraseña de {{project}}:",
"emails.recovery.footer": "Si no has solicitado restablecer la contraseña, puedes ignorar este mensaje.",
"emails.recovery.thanks": "Gracias",
"emails.recovery.signature": "Equipo de {{project}}",
"emails.recovery.thanks": "Gracias.",
"emails.recovery.signature": "El equipo de {{project}}",
"emails.invitation.subject": "Invitación al equipo %s en %s",
"emails.invitation.hello": "Hola",
"emails.invitation.body": "Este correo ha sido enviado a petición de {{owner}} quien quiere invitarte a formar parte del equipo {{team}} en {{project}}.",
"emails.invitation.footer": "Si no estas interesado, puedes ignorar este mensaje.",
"emails.invitation.thanks": "Gracias",
"emails.invitation.signature": "Equipo de {{project}}",
"emails.invitation.body": "Este correo ha sido enviado a petición de {{owner}} quién quiere invitarte a formar parte del equipo {{team}} en {{project}}.",
"emails.invitation.footer": "Si no estás interesado, puedes ignorar este mensaje.",
"emails.invitation.thanks": "Gracias.",
"emails.invitation.signature": "El equipo de {{project}}",
"locale.country.unknown": "Desconocido",
"countries.af": "Afganistán",
"countries.ao": "Angola",
@@ -229,4 +229,4 @@
"continents.na": "América del Norte",
"continents.oc": "Oceanía",
"continents.sa": "América del Sur"
}
}
+31 -25
View File
@@ -3,30 +3,36 @@
"settings.locale": "tr",
"settings.direction": "ltr",
"emails.sender": "%s Takımı",
"emails.verification.subject": "",
"emails.verification.hello": "",
"emails.verification.body": "",
"emails.verification.footer": "",
"emails.verification.thanks": "",
"emails.verification.signature": "",
"emails.magicSession.subject": "",
"emails.magicSession.hello": "",
"emails.magicSession.body": "",
"emails.magicSession.footer": "",
"emails.magicSession.thanks": "",
"emails.magicSession.signature": "",
"emails.recovery.subject": "",
"emails.recovery.hello": "",
"emails.recovery.body": "",
"emails.recovery.footer": "",
"emails.recovery.thanks": "",
"emails.recovery.signature": "",
"emails.invitation.subject": "",
"emails.invitation.hello": "",
"emails.invitation.body": "",
"emails.invitation.footer": "",
"emails.invitation.thanks": "",
"emails.invitation.signature": "",
"emails.verification.subject": "Hesabını Doğrula",
"emails.verification.hello": "Merhaba {{user}}",
"emails.verification.body": "Eposta adresini doğrulamak için bu bağlantıyı kullanın.",
"emails.verification.footer": "Eğer bu eposta adresini doğrulamak isteyen siz değilseniz devam etmeyin.",
"emails.verification.thanks": "Teşekkürler",
"emails.verification.signature": "{{project}} takımı",
"emails.magicSession.subject": "Giriş",
"emails.magicSession.hello": "Merhaba,",
"emails.magicSession.body": "Giriş yapmak için tıklayın.",
"emails.magicSession.footer": "Eğer bu eposta adresini kullanarak giriş yapmak istemediyseniz devam etmeyin.",
"emails.magicSession.thanks": "Teşekkürler",
"emails.magicSession.signature": "{{project}} takımı",
"emails.recovery.subject": "Şifremi Sıfırla",
"emails.recovery.hello": "Merhaba {{user}}",
"emails.recovery.body": "{{project}} şifrenizi sıfırlamak için bu bağlantıyı kullanın.",
"emails.recovery.footer": "Eğer şifre sıfırlama talebinde bulunmadıysanız devam etmeyin.",
"emails.recovery.thanks": "Teşekkürler",
"emails.recovery.signature": "{{project}} takımı",
"emails.invitation.subject": "%s üzerinde %s Takımına Davet",
"emails.invitation.hello": "Merhaba",
"emails.invitation.body": "Bu epostayı aldınız, çünkü {{owner}} sizi {{project}} üzerinde {{team}} takımının üyesi olmaya davet etti.",
"emails.invitation.footer": "Eğer ilgilenmiyorsanız devam etmeyin.",
"emails.invitation.thanks": "Teşekkürler",
"emails.invitation.signature": "{{project}} takımı",
"emails.certificate.subject": "%s için sertifika hatası",
"emails.certificate.hello": "Merhaba",
"emails.certificate.body": "Alan adınız '{{domain}}' için sertifika oluşturulamadı. Deneme sayısı {{attempt}} ve hata sebebi: {{error}}",
"emails.certificate.footer": "Geçmiş sertifikanız ilk denemeden sonra 30 gün daha geçerli kalacaktır. Bu konuyu araştırmanızı öneriyoruz, aksi taktirde alan adınız SSL sertifikasız kalacaktır.",
"emails.certificate.thanks": "Teşekkürler",
"emails.certificate.signature": "{{project}} takımı",
"locale.country.unknown": "Bilinmeyen",
"countries.af": "Afganistan",
"countries.ao": "Angola",
@@ -229,4 +235,4 @@
"continents.na": "Kuzey Amerika",
"continents.oc": "Okyanusya",
"continents.sa": "Güney Amerika"
}
}
+21 -21
View File
@@ -8,14 +8,14 @@ return [
APP_PLATFORM_CLIENT => [
'key' => APP_PLATFORM_CLIENT,
'name' => 'Client',
'description' => 'Client libraries for integrating with Appwrite to build client-based applications and websites. Read the [getting started for web](/docs/getting-started-for-web) or [getting started for Flutter](/docs/getting-started-for-flutter) tutorials to start building your first application.',
'description' => 'Client libraries for integrating with Appwrite to build client-based applications and websites. Read the [getting started for web](https://appwrite.io/docs/getting-started-for-web) or [getting started for Flutter](https://appwrite.io/docs/getting-started-for-flutter) tutorials to start building your first application.',
'enabled' => true,
'beta' => false,
'sdks' => [
[
'key' => 'web',
'name' => 'Web',
'version' => '12.0.0',
'version' => '13.0.1',
'url' => 'https://github.com/appwrite/sdk-for-web',
'package' => 'https://www.npmjs.com/package/appwrite',
'enabled' => true,
@@ -63,7 +63,7 @@ return [
[
'key' => 'flutter',
'name' => 'Flutter',
'version' => '10.0.0',
'version' => '11.0.1',
'url' => 'https://github.com/appwrite/sdk-for-flutter',
'package' => 'https://pub.dev/packages/appwrite',
'enabled' => true,
@@ -81,7 +81,7 @@ return [
[
'key' => 'apple',
'name' => 'Apple',
'version' => '3.0.0',
'version' => '4.0.2',
'url' => 'https://github.com/appwrite/sdk-for-apple',
'package' => 'https://github.com/appwrite/sdk-for-apple',
'enabled' => true,
@@ -116,7 +116,7 @@ return [
[
'key' => 'android',
'name' => 'Android',
'version' => '3.0.0',
'version' => '4.0.1',
'url' => 'https://github.com/appwrite/sdk-for-android',
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android',
'enabled' => true,
@@ -185,7 +185,7 @@ return [
[
'key' => 'web',
'name' => 'Console',
'version' => '0.3.0',
'version' => '0.5.0',
'url' => 'https://github.com/appwrite/sdk-for-console',
'package' => '',
'enabled' => true,
@@ -195,15 +195,15 @@ return [
'family' => APP_PLATFORM_CONSOLE,
'prism' => 'javascript',
'source' => \realpath(__DIR__ . '/../sdks/console-web'),
'gitUrl' => 'git@github.com:appwrite/sdk-for-console.git',
'gitBranch' => 'dev',
'gitUrl' => 'https://github.com/appwrite/sdk-for-console.git',
'gitBranch' => 'main',
'gitRepoName' => 'sdk-for-console',
'gitUserName' => 'appwrite',
],
[
'key' => 'cli',
'name' => 'Command Line',
'version' => '3.0.0',
'version' => '4.2.0',
'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli',
'enabled' => true,
@@ -224,14 +224,14 @@ return [
APP_PLATFORM_SERVER => [
'key' => APP_PLATFORM_SERVER,
'name' => 'Server',
'description' => 'Libraries for integrating with Appwrite to build server side integrations. Read the [getting started for server](/docs/getting-started-for-server) tutorial to start building your first server integration.',
'description' => 'Libraries for integrating with Appwrite to build server side integrations. Read the [getting started for server](https://appwrite.io/docs/getting-started-for-server) tutorial to start building your first server integration.',
'enabled' => true,
'beta' => false,
'sdks' => [
[
'key' => 'nodejs',
'name' => 'Node.js',
'version' => '10.0.0',
'version' => '11.1.0',
'url' => 'https://github.com/appwrite/sdk-for-node',
'package' => 'https://www.npmjs.com/package/node-appwrite',
'enabled' => true,
@@ -249,7 +249,7 @@ return [
[
'key' => 'deno',
'name' => 'Deno',
'version' => '8.0.0',
'version' => '9.1.0',
'url' => 'https://github.com/appwrite/sdk-for-deno',
'package' => 'https://deno.land/x/appwrite',
'enabled' => true,
@@ -267,7 +267,7 @@ return [
[
'key' => 'php',
'name' => 'PHP',
'version' => '9.0.0',
'version' => '10.1.0',
'url' => 'https://github.com/appwrite/sdk-for-php',
'package' => 'https://packagist.org/packages/appwrite/appwrite',
'enabled' => true,
@@ -285,7 +285,7 @@ return [
[
'key' => 'python',
'name' => 'Python',
'version' => '3.0.0',
'version' => '4.1.0',
'url' => 'https://github.com/appwrite/sdk-for-python',
'package' => 'https://pypi.org/project/appwrite/',
'enabled' => true,
@@ -303,7 +303,7 @@ return [
[
'key' => 'ruby',
'name' => 'Ruby',
'version' => '9.0.0',
'version' => '10.1.0',
'url' => 'https://github.com/appwrite/sdk-for-ruby',
'package' => 'https://rubygems.org/gems/appwrite',
'enabled' => true,
@@ -321,7 +321,7 @@ return [
[
'key' => 'go',
'name' => 'Go',
'version' => '2.0.0',
'version' => '3.1.0',
'url' => 'https://github.com/appwrite/sdk-for-go',
'package' => '',
'enabled' => false,
@@ -339,7 +339,7 @@ return [
[
'key' => 'java',
'name' => 'Java',
'version' => '2.0.0',
'version' => '3.1.0',
'url' => 'https://github.com/appwrite/sdk-for-java',
'package' => '',
'enabled' => false,
@@ -357,7 +357,7 @@ return [
[
'key' => 'dotnet',
'name' => '.NET',
'version' => '0.5.0',
'version' => '0.7.0',
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
'package' => 'https://www.nuget.org/packages/Appwrite',
'enabled' => true,
@@ -375,7 +375,7 @@ return [
[
'key' => 'dart',
'name' => 'Dart',
'version' => '9.0.0',
'version' => '10.1.0',
'url' => 'https://github.com/appwrite/sdk-for-dart',
'package' => 'https://pub.dev/packages/dart_appwrite',
'enabled' => true,
@@ -393,7 +393,7 @@ return [
[
'key' => 'kotlin',
'name' => 'Kotlin',
'version' => '3.0.0',
'version' => '4.1.0',
'url' => 'https://github.com/appwrite/sdk-for-kotlin',
'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin',
'enabled' => true,
@@ -415,7 +415,7 @@ return [
[
'key' => 'swift',
'name' => 'Swift',
'version' => '3.0.0',
'version' => '4.1.0',
'url' => 'https://github.com/appwrite/sdk-for-swift',
'package' => 'https://github.com/appwrite/sdk-for-swift',
'enabled' => true,
+2 -1
View File
@@ -21,6 +21,7 @@ $member = [
'avatars.read',
'execution.read',
'execution.write',
'assistant.read',
];
$admins = [
@@ -59,13 +60,13 @@ $admins = [
'migrations.write',
'vcs.read',
'vcs.write',
'assistant.read',
];
return [
Auth::USER_ROLE_GUESTS => [
'label' => 'Guests',
'scopes' => [
'global',
'public',
'home',
'console',
+16
View File
@@ -0,0 +1,16 @@
<?php
/**
* List of Appwrite Cloud Functions supported runtimes
*/
use Utopia\App;
use Appwrite\Runtimes\Runtimes;
$runtimes = new Runtimes('v2');
$allowList = empty(App::getEnv('_APP_FUNCTIONS_RUNTIMES')) ? [] : \explode(',', App::getEnv('_APP_FUNCTIONS_RUNTIMES'));
$runtimes = $runtimes->getAll(true, $allowList);
return $runtimes;
+3 -3
View File
@@ -170,7 +170,7 @@ return [
'docs' => false,
'docsUrl' => '',
'tests' => false,
'optional' => true,
'optional' => false,
'icon' => '',
],
'functions' => [
@@ -196,7 +196,7 @@ return [
'docs' => true,
'docsUrl' => 'https://appwrite.io/docs/proxy',
'tests' => false,
'optional' => true,
'optional' => false,
'icon' => '/images/services/proxy.png',
],
'mock' => [
@@ -248,7 +248,7 @@ return [
'docs' => true,
'docsUrl' => 'https://appwrite.io/docs/migrations',
'tests' => true,
'optional' => true,
'optional' => false,
'icon' => '/images/services/migrations.png',
],
];
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More