1
0
Fork 0
mirror of synced 2024-09-03 11:21:25 +12:00
Commit graph

1214 commits

Author SHA1 Message Date
Matej Bačo
7e386b885c Upgrade console, reword commands into 1 param 2023-07-21 13:52:14 +02:00
Khushboo Verma
e86382ce55 Add vcsState to user collection 2023-07-20 23:38:33 +05:30
Christy Jacob
0feaf41fcb Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools 2023-07-20 11:53:36 +00:00
Christy Jacob
b11fb72a52
Merge pull request #5842 from appwrite/fix-delete-schedules
Ensure deletes worker iterates over all schedules
2023-07-20 11:24:09 +04:00
Eldad A. Fux
5b2dab2b10
Merge pull request #5833 from appwrite/fix-deletes-worker-internal-ids
Ensure deletes worker deletes resources using internal id
2023-07-20 09:34:51 +03:00
Steven Nguyen
58fa7546c1
Update Appwrite to save internal id as audit user id
It's important to use userInternalId so that if a user is recreated
with the same ID, lookups for the user will not return the data
of the old deleted user.

We will still store userId in data so that it can be pulled out and
returned for the log API calls.
2023-07-19 22:49:51 -07:00
Damodar Lohani
8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Steven
c7492ee35e Fix a bug where the delete worker wasn't iterating over schedules 2023-07-19 01:32:11 +00:00
Christy Jacob
05f314e88c fix: delete schedule document if project is deleted as well 2023-07-18 10:10:56 +00:00
Damodar Lohani
d493be0efb fix empty SMTP check 2023-07-18 07:08:02 +00:00
Steven Nguyen
308c92f203
Ensure resources are deleted using their internal Id
This is necessary because a resource can be re-created with
the same id. If we don't use the internal id, the newer
recreated resource can be deleted.
2023-07-17 17:21:16 -07:00
Steven Nguyen
fce230dca8
Fix team delete
Ensure all memberships are deleted and the cached users are
invalidated so that the nested memberships will refresh.
2023-07-17 17:21:16 -07:00
Steven Nguyen
f5a3a8f339
Update Appwrite to save internal id as audit user id
It's important to use userInternalId so that if a user is recreated
with the same ID, lookups for the user will not return the data
of the old deleted user.

We will still store userId in data so that it can be pulled out and
returned for the log API calls.
2023-07-12 10:24:42 -07:00
shimon
d282dbf787 usage collections fix 2023-07-12 16:02:42 +03:00
Damodar Lohani
c656d8571a fix missing injection 2023-07-12 07:23:04 +00:00
Matej Bačo
b72b2ffc8c Improve error page 2023-07-11 10:53:40 +02:00
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
Matej Bačo
3a8f4e5039 Fix failing builds 2023-06-28 13:31:35 +02:00
Matej Bačo
fb1cc1a0cc Cold-start improvements 2023-06-26 10:11:13 +02:00
Matej Bačo
20e3eb78fb Use internal IDs in delete worker 2023-06-23 13:52:19 +02:00
Matej Bačo
cc06a4bdaa log streaming, locking GH comments, execution headers, locale header, redeploy logic 2023-06-22 12:59:41 +02:00
Khushboo Verma
399847d7ea WIP: Build from template 2023-06-20 12:42:33 +05:30
Khushboo Verma
860b4fb1c0 WIP: Build from template 2023-06-17 17:43:02 +05:30
Matej Bačo
5237e24739 VCS integration edge cases fix 2023-06-17 12:07:30 +02:00
Khushboo Verma
ab232803d7 Add connect to VCS to createFunction as well 2023-06-16 19:14:36 +05:30
Matej Bačo
53deb68985 Improve performance of listRepositories 2023-06-16 11:07:47 +02:00
Jake Barnby
9903897373
Fix audits 2023-06-15 17:29:23 +12:00
Jake Barnby
0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Jake Barnby
ab2cd297f9
Fix imports 2023-06-15 13:45:10 +12:00
Jake Barnby
44e7a822b1
Single catch with type check 2023-06-15 13:25:25 +12:00
Jake Barnby
1604b339dd
Merge remote-tracking branch 'origin/1.4.x' into add-error-attribute
# Conflicts:
#	CHANGES.md
#	app/workers/databases.php
#	composer.json
#	composer.lock
2023-06-15 12:26:29 +12:00
Matej Bačo
c933f8b4c2 Finish log streaming 2023-06-14 10:57:30 +02:00
shimon
6093262f21 cache deletion bug fix 2023-06-13 18:04:11 +03:00
shimon
9d75e65ba9 cache deletion bug fix 2023-06-13 17:03:33 +03:00
shimon
a4e055e21b cache deletion bug fix 2023-06-13 15:03:22 +03:00
Matej Bačo
2c97d73f4b WIP Stream logs 2023-06-13 13:13:02 +02:00
shimon
8645757f28 cache deletion bug fix 2023-06-13 13:41:54 +03:00
shimon
41d207e862 cache deletion bug fix 2023-06-13 11:15:38 +03:00
Matej Bačo
039bfbaf06 WIP: Log streaming 2023-06-13 08:26:36 +02:00
Christy Jacob
df96a5de90 feat: add try catch to deletes worker 2023-06-13 00:14:49 +05:30
Christy Jacob
eccde7b1f9 feat: update log messages 2023-06-12 21:10:07 +05:30
Christy Jacob
56aa30fd52 feat: use static array for console db 2023-06-12 20:55:01 +05:30
Christy Jacob
651c826de1 feat: update log messages 2023-06-12 20:19:08 +05:30
Christy Jacob
7a4898fadd chore: add logs to deletes worker 2023-06-12 19:01:43 +05:30
Matej Bačo
6522d86fa9 Update installation, certificate & repository response models 2023-06-08 17:24:27 +02:00
Matej Bačo
5e221e285f Update naming convention, add new VCS endpoints, support silent mode and rootDirectory 2023-06-07 17:50:32 +02:00
Matej Bačo
04f3d81ab8 Fix failing executions 2023-06-07 10:43:17 +02:00
Matej Bačo
5f87ef3074 Fix executor missing runtime 2023-06-06 15:47:25 +02:00
Christy Jacob
b68f601240
Merge pull request #5620 from appwrite/fix-system-performance
Fix system performance
2023-06-02 18:00:50 +05:30
Christy Jacob
36f1791a92 chore: linter 2023-06-02 17:59:20 +05:30
Christy Jacob
23e6c1adf6 feat: remove unused orderBy, skip executing recursive functions 2023-06-02 17:19:00 +05:30
Matej Bačo
5d2d14df6e Fix bugs with comment, improve git checks logic 2023-05-29 13:51:03 +02:00
Matej Bačo
fb02e12db2 Add state to comment, webhook bug fixing 2023-05-28 13:39:48 +02:00
Matej Bačo
bf5855d101 Fix bugs after merge 2023-05-28 10:02:23 +02:00
Matej Bačo
4ec8f69da6 Improve logging 2023-05-27 13:56:26 +02:00
Matej Bačo
f504e7dbb5 Add cache support to VCS 2023-05-26 10:44:08 +02:00
Matej Bačo
f53d75205b Implement branches endpoint, rename some attributes, update response models 2023-05-26 00:29:08 +02:00
Matej Bačo
3614cb384a Fix error logging 2023-05-24 21:07:41 +02:00
Matej Bačo
0244154017 Apply new structure of logs 2023-05-24 20:14:58 +02:00
Matej Bačo
b81e9ffd47 Fix format 2023-05-24 18:32:03 +02:00
Matej Bačo
1762c4f491 Improve logs 2023-05-24 18:29:23 +02:00
Matej Bačo
f86284fe21 Bug fixing 2023-05-23 06:37:25 +02:00
Matej Bačo
c09c8b4d25 Fix wildcard issue with OPTIONS & CORS 2023-05-22 21:27:14 +02:00
Matej Bačo
18105d4999 Remove repository owner 2023-05-22 15:02:55 +02:00
Matej Bačo
612af6edf0 Update dependencies, fix bugs 2023-05-22 13:29:35 +02:00
Matej Bačo
6e515e3cc4 Copy Khushboo's integration from feat-peach-q1-kh 2023-05-22 12:58:13 +02:00
Matej Bačo
eb764871db Upgrade versions 2023-05-11 22:52:48 +02:00
Matej Bačo
998c2749cb Merge branch 'feat-db-pools-master' into feat-executor-v3 2023-05-11 21:59:49 +02:00
shimon
13a4000312 fixed typo 2023-05-08 13:45:53 +03:00
shimon
1e29ec8d59 added bucketInternalId to file 2023-05-08 10:32:29 +03:00
Damodar Lohani
b1bbc9dfbd Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-28 07:11:17 +00:00
Torsten Dittmann
b2c8e182a5
Merge pull request #5442 from appwrite/fix-project-deletion-leftovers
fix: project deletion leftovers
2023-04-27 20:19:09 +02:00
Torsten Dittmann
7529f02bd6 fix: also delete webhooks on project deletion 2023-04-27 17:41:14 +02:00
Torsten Dittmann
31e65d954b fix: deletes worker for projects 2023-04-27 17:37:14 +02:00
Christy Jacob
1c4dc6a424
Merge pull request #3696 from appwrite/fix-event-multi-execution
Fix: event multi-execution
2023-04-25 17:31:45 +04:00
Damodar Lohani
d394715b56 Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-13 01:35:56 +00:00
Jake Barnby
7fe14ca10b
Merge remote-tracking branch 'origin/master' into sync-master
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/console
#	app/controllers/api/storage.php
#	composer.lock
2023-04-12 00:50:31 +12:00
Torsten Dittmann
700abb3e47 fix: deletes worker deleting projects with console team 2023-04-11 13:49:45 +02:00
Steven
577ba9b0ec
Fix email-base.tpl path in certificates worker 2023-04-06 13:48:52 -07:00
Jake Barnby
d44f69df09
Delete collection relationships from deletes worker 2023-04-06 15:40:39 +12:00
Jake Barnby
dd2f980539
Fix worker warning 2023-03-31 23:15:48 +13:00
Jake Barnby
bf4e2df45b
Allow 'unique()' for nested document IDs 2023-03-31 17:33:21 +13:00
fogelito
05d7badd60 Delete related on 2 way 2023-03-30 20:36:24 +03:00
Jake Barnby
4de45bf9a7
Delete related cache on finally 2023-03-30 13:28:06 +13:00
Jake Barnby
a7a3d85bcb
Clear related collection cache 2023-03-30 13:24:44 +13:00
Jake Barnby
9468c238de
Remove conflicts 2023-03-30 13:01:58 +13:00
fogelito
e2d3c95fa6 add relations into attributes collection 2023-03-29 23:37:22 +03:00
fogelito
5aff6969db add relations into attributes collection 2023-03-29 23:31:49 +03:00
Matej Bačo
5890647f24 Fix cold start freezes 2023-03-29 14:41:15 +02:00
Matej Bačo
5389afc80e Add build & install commands 2023-03-28 15:21:42 +02:00
Jake Barnby
07c383e17a
Review updates 2023-03-25 16:36:20 +13:00
Matej Bačo
964428944a Rename vars 2023-03-24 09:27:01 +01:00
Christy Jacob
a3019f3d8c Merge branch 'feat-db-pools-sync' of https://github.com/appwrite/appwrite into feat-db-pools-fix-scheduler 2023-03-24 08:23:28 +00:00
Christy Jacob
7f493ed510 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-sync 2023-03-24 06:45:58 +00:00
Christy Jacob
5f10ff4d3b Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools-sync 2023-03-24 06:35:30 +00:00
Jake Barnby
b6cfe43681
Clean up 2023-03-24 16:46:02 +13:00
Jake Barnby
f9f7af8759
Worker fix 2023-03-23 17:20:08 +13:00
fogelito
34467de87d Update relationship get Attribute 2023-03-22 18:44:12 +02:00
shimon
a299a59538 bug fix 2023-03-22 18:32:44 +02:00
Shmuel Fogel
f7c9e9c650
Update app/workers/databases.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-03-20 11:23:01 +02:00
fogelito
eee29940bb Some tests 2023-03-19 19:09:17 +02:00
Matej Bačo
e8b11b2d14 Fix scheduler 2023-03-19 10:43:57 +01:00
fogelito
44de884ee5 convert relatedOptions to options 2023-03-16 09:31:48 +02:00
Matej Bačo
a4b31f6472 Fix after merge 2023-03-15 09:20:25 +01:00
Matej Bačo
d10c7c7775 Merge branch 'feat-db-pools-master' into feat-executor-v3-sync 2023-03-15 08:59:42 +01:00
Matej Bačo
ca55de6f03 Fix build missing libraries 2023-03-15 07:08:43 +01:00
Matej Bačo
27bf18f031 Code formatting 2023-03-14 20:31:23 +01:00
Matej Bačo
72e0ccf6d6 Remove scheduleUpdatedAt 2023-03-14 19:39:40 +01:00
Matej Bačo
a919421b47 Fix scheduler bugs 2023-03-14 15:10:36 +01:00
fogelito
40152fbd6c Model relationshipOptions 2023-03-14 15:18:30 +02:00
Matej Bačo
c01fcb130c Merge branch 'feat-db-pools-master' into feat-db-pools-sync 2023-03-14 12:58:54 +01:00
Matej Baco
ed610fcdd4 Address TODOs 2023-03-14 11:13:03 +00:00
fogelito
adcbb08374 deleteRelationship worker 2023-03-13 17:32:51 +02:00
fogelito
341830b3d7 deleteRelationship worker 2023-03-13 17:19:24 +02:00
Matej Baco
e7351f4eec Add logs to rules 2023-03-13 13:35:34 +00:00
fogelito
b1cc4ada4c relationType 2023-03-13 12:11:38 +02:00
fogelito
f5f51c4fc9 Worker $relatedCollection 2023-03-13 11:46:03 +02:00
fogelito
5fc3f5bc3a Worker 2023-03-13 11:34:41 +02:00
Damodar Lohani
20ff1b41a9 use custom smtp config 2023-03-13 01:35:30 +00:00
Matej Bačo
1f409b4e40 Shared variables 2023-03-11 17:06:02 +01:00
Matej Bačo
541cb010a6 Changes after dev-mode QA 2023-03-10 20:36:39 +01:00
Matej Baco
4b0d6d9826 Bug fixes after proxy QA 2023-03-10 12:20:24 +00:00
Matej Baco
04c7db9f7b Bug fixes for proxy rule service 2023-03-10 07:42:52 +00:00
shimon
4839dbbfb0 fix 2023-03-09 17:49:03 +02:00
shimon
294e0e7469 Updates 2023-03-09 14:14:40 +02:00
Matej Bačo
83370c21f7 Improve error logs 2023-03-08 20:50:51 +01:00
Matej Bačo
59f5978fa3 Implement rules 2023-03-08 19:30:01 +01:00
Matej Bačo
f223e8b948 Update failed status 2023-03-06 12:16:34 +01:00
Matej Bačo
056ea0820e QA bug fixing 2023-03-05 09:12:01 +01:00
Matej Bačo
69aa59a1d6 Add more log details to execution 2023-02-27 11:24:21 +01:00
Matej Bačo
d7c5d8bb46 Remove response body & headers 2023-02-27 11:20:37 +01:00
Matej Bačo
464f88634c Add function logging toggle 2023-02-24 10:24:20 +01:00
Matej Bačo
068acef0f6 Add unique url generator 2023-02-22 16:07:34 +01:00
Matej Bačo
3ebef8bd6c Fix functions worker 2023-02-20 11:45:50 +01:00
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Matej Bačo
f6ae0a05fa Stream response support 2023-02-15 09:36:20 +01:00
Jake Barnby
b3e29c6086
Fix audit 2023-02-15 17:39:15 +13:00
shimon
074d7dad32 test fix 2023-02-14 21:07:13 +02:00
Matej Bačo
d2ffa3e7c6 Fix cold-start bug 2023-02-14 11:35:49 +00:00
Matej Bačo
20bc1ab00e Merge remote-tracking branch 'origin/feat-db-pools' into feat-executor-v3 2023-02-14 11:16:28 +00:00
Matej Bačo
e4d784c871 Add new V3 parameters 2023-02-14 11:01:38 +00:00
Damodar Lohani
3215e8d8df Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-14 04:54:02 +00:00
Damodar Lohani
71d2c45a92 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-14 04:35:19 +00:00
Jake Barnby
f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
shimon
794f566fae addressing comments 2023-02-06 16:03:45 +02:00
shimon
53a3223172 addressing comments 2023-02-06 14:54:37 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
Matej Bačo
75c7d94633 Implement Open Runtimes v3 support 2023-02-02 19:21:00 +00:00
shimon
1ac935077b addressing comments 2023-02-02 20:16:01 +02:00