1
0
Fork 0
mirror of synced 2024-08-19 12:11:55 +12:00
Commit graph

3679 commits

Author SHA1 Message Date
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
prateek banga
1720acb2b4 lint fix 2023-11-21 12:32:30 +05:30
Prateek Banga
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 Banga
72b4c78c9f
Merge branch '1.4.x' into chore-migration-enum-attribute-size 2023-11-21 11:06:05 +05:30
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
Christy Jacob
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
Steven Nguyen
a96e571258 Bump appwrite version to 1.4.13 2023-11-17 20:11:56 +00:00
Khushboo Verma
695d6f4065 Renamed variables 2023-11-18 00:04:57 +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
shimon
e079d4a8b5 comparison fix 2023-11-16 23:42:03 +02:00
shimon
174449ce49 comparison fix 2023-11-16 23:14:26 +02:00
Khushboo Verma
18994d308a Merge branch '1.4.x' into fix-error-logging 2023-11-17 00:20:41 +05:30
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
Jake Barnby
02b6659b35
SDK releases 2023-11-16 21:50:39 +13:00
Christy Jacob
8e911dc83e
Merge pull request #7150 from appwrite/chore-update-version
chore: update versions and changelog
2023-11-15 11:02:01 -08:00
Christy Jacob
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 Jacob
90ea00398b
Merge pull request #7138 from appwrite/chore-update-database
Chore update database
2023-11-15 10:28:24 -08:00
Christy Jacob
e36dc817fb
Merge branch '1.4.x' into usage-auto-skip-fix 2023-11-15 10:27:44 -08:00
Christy Jacob
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
德华 刘
7efecbca8b chore: fixed indentation 2023-11-15 17:20:50 +00:00
Torsten Dittmann
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 Barnby
94931ff4ce
Fix non-PSR-compliant file name 2023-11-15 16:47:49 +13:00
Matej Bačo
1c4fea0fc3 Fix patch script, make errors silent 2023-11-14 17:45:02 +01:00
shimon
c2e5849c49 removing blank line 2023-11-14 16:49:45 +02: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
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
shimon
b9007a5956 wrapping create stats query
with Authorization::skip
2023-11-13 15:41:10 +02:00
Jake Barnby
97757c9984
Update readmes + migrations 2023-11-10 13:25:28 +13: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 Jacob
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 Schofield
56310bc4fa
Merge branch 'main' into fix-null-password-history 2023-11-09 10:41:17 +00:00
Steven Nguyen
0c264a107a
Merge branch '1.4.x' into fix-4797-verified-user-getting-email-verifications 2023-11-08 17:37:43 -08:00
Christy Jacob
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
shimon
d54615d376 project.php 2023-11-08 18:12:36 +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
Bradley Schofield
44cbfb2769 Add null check to hash 2023-11-07 16:17:14 +00:00
Khushboo Verma
018800c7ae Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-07 13:02:25 +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
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
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
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
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
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
Steven Nguyen
755699de8a
Bump appwrite version to 1.4.9 2023-10-31 12:40:45 -07:00
Steven Nguyen
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
Steven Nguyen
c1df289df7
Bump appwrite version to 1.4.8 2023-10-27 10:31:43 -07:00
Christy Jacob
24824e1582
Merge pull request #7015 from appwrite/feat-delete-orphaned-projects
Feat delete orphaned projects
2023-10-27 20:21:52 +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 Jacob
bcdebee598
Merge pull request #7024 from appwrite/fix-cookie-header
Fix: Cookie Header
2023-10-27 19:36:05 +04: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
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
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
70a3820009
Remove unused mail vars 2023-10-26 16:23:58 -07:00
Torsten Dittmann
c81b4576b4 chore: remove install analytics 2023-10-26 22:25:35 +02: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
shimon
831122679f creating script 2023-10-26 17:45:23 +03:00
shimon
a42577b1aa composer json 2023-10-25 17:14:10 +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
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
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
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
Torsten Dittmann
fbcbd0d430 feat: realtime error handling 2023-10-24 14:32:22 +02:00
Christy Jacob
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
3addf76a2a Bump appwrite version to 1.4.7 2023-10-23 13:36:29 -07:00
shimon
0411f9f530 fix function-worker body param typo 2023-10-23 16:33:26 +03: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
dd47ef4fd9 email template path 2023-10-19 20:57:24 +03:00
Christy Jacob
01e842782f
Merge branch '1.4.x' into feat-1.4.6-release-prep 2023-10-19 05:28:02 -04:00
Jake Barnby
389d367fca
Set hard timeouts for API dbs 2023-10-19 15:32:45 +13:00
Steven Nguyen
435b20df77
Bump appwrite version to 1.4.6 2023-10-18 16:07:47 -07:00
Christy Jacob
be26e4b729 chore: remove resque library and update health check endpoints 2023-10-18 19:44:06 +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 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
050cb28d4f fix: incorrect events 2023-10-18 20:30:47 +04:00
Christy Jacob
33ec5b3d7b chore: re-order tests 2023-10-18 02:36:50 +04:00
Christy Jacob
011df60c0d feat: remove old worker class 2023-10-18 01:17:02 +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
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
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
shimon
0e2cf14e12 minor fix 2023-10-16 18:17:13 +03:00
Shimon Newman
710ac707e3
Update src/Appwrite/Event/Audit.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-10-16 18:11:29 +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
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
Yatharth Verma
96f389cee5 merge 1.4.x changes to my branch 2023-10-14 11:57:40 +05:30
Bradley Schofield
5274f1234b Merge branch 'main' into feat-improve-migration-validations 2023-10-13 16:23:25 +01:00
Torsten Dittmann
c0c4cffba2 fix: relative links to absolute v2 2023-10-13 15:43:44 +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
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