Torsten Dittmann
8ec435ed1f
sync: changes
2022-04-17 22:34:32 +02:00
Andrey
e37d1be6a6
* Move default host value from code to env variables
...
* Add validation for host value
2022-04-13 18:15:25 +02:00
Torsten Dittmann
87b8fc3c41
feat: event classes for different cases
2022-04-13 14:39:31 +02:00
Andrey
ade4024593
Added configurable host for Executor service:
...
* Add `_APP_EXECUTOR_HOST` env variable.
* Use `_APP_EXECUTOR_HOST` (or fallback to default) as host value to Executor service.
2022-04-11 20:45:47 +02:00
Matej Bačo
933f3372fe
Prevent certificate deletion for main domain
2022-03-30 13:31:46 +00:00
Matej Bačo
8fe5a47a35
Skip certificate deletion if its already used by other project
2022-03-23 15:05:50 +00:00
Matej Bačo
2bc6d7c41b
Delete certificate document alongside certificate directory
2022-03-23 14:54:25 +00:00
Everly Precia Suresh
c407c83615
Update deletes.php
2022-03-18 22:56:12 +05:30
Everly Precia Suresh
51ea3b2cbc
Update deletes.php
2022-03-18 22:17:09 +05:30
Everly Precia Suresh
46c3da70a9
add support for linode
2022-03-18 16:03:04 +00:00
Matej Bačo
14c67c2b54
Merge branch '0.13.x' into fix-rename-sum
2022-03-01 13:27:37 +01:00
Jake Barnby
15bfd6f801
Fix delete collection using wrong ID
2022-03-01 21:45:37 +13:00
Matej Bačo
0dec387f85
Merge branch 'feat-functions-refactor' into fix-rename-sum
2022-02-28 19:50:54 +01:00
Christy Jacob
37c6fd75d8
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor
2022-02-28 20:18:48 +04:00
Matej Baco
1f89a6fd26
Simplified storage providers ENV vars
2022-02-28 13:07:38 +01:00
Matej Bačo
70efbf1fb9
Updated UI
2022-02-28 09:25:38 +00:00
Matej Baco
56bf7a51df
Refactored 'sum' to 'total'
2022-02-27 10:57:09 +01:00
Bradley Schofield
b1acc028c9
Implement various suggestions
...
+ Fix Docblocks
+ Remove unused variable from deleteRuntime in executor
+ Added build status explanation to description
+ Sync composer.phtml to composer.json
2022-02-24 14:18:46 +00:00
Christy Jacob
cf2fee5b6f
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor
2022-02-23 16:25:31 +04:00
Damodar Lohani
740a7e7293
fix deletes worker
2022-02-23 11:52:33 +00:00
Damodar Lohani
5eb6eeb6b8
fix deletes worker
2022-02-18 01:36:25 +00:00
Damodar Lohani
91a307490f
refcator storage usage in worker
2022-02-17 14:58:39 +05:45
Damodar Lohani
53f7301ade
Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-func-storage-sync
2022-02-17 14:11:24 +05:45
Christy Jacob
0b9e8454d0
Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-decouple-database
2022-02-15 17:44:00 +04:00
Christy Jacob
19c9ee4dc6
feat: Remove builds param from delete endpoint
2022-02-15 04:58:12 +04:00
Christy Jacob
d0abbd9fc3
feat: disable authorization in deletes worker
2022-02-13 14:16:15 +04:00
Christy Jacob
0276d94ef1
feat: add remaninig endpoints
2022-02-13 02:34:16 +04:00
Matej Baco
9a1fb0f0f2
Updated letter case of DOSpaces
2022-02-08 16:40:56 +01:00
Christy Jacob
6ab1095280
feat: catch docker remove errors elegantly
2022-02-06 14:00:44 +04:00
Christy Jacob
6610bf9873
feat: add executor class
2022-02-04 05:29:40 +04:00
Christy Jacob
c239240cbc
feat: remove database dependencies from the delete function endpoint
2022-02-03 01:36:21 +04:00
Christy Jacob
803e4ccbaf
feat: remove database dependencies from the delete deployment endpoint
2022-02-02 23:38:47 +04:00
Christy Jacob
7d82c1006a
feat: fix tests
2022-02-01 03:44:55 +04:00
Christy Jacob
0de8ff6d41
feat: merge conflicts
2022-01-31 18:43:11 +04:00
Christy Jacob
f3dfec8e75
feat: fix tests
2022-01-29 04:52:06 +04:00
Christy Jacob
220a166434
feat: fix tests
2022-01-29 04:00:25 +04:00
Christy Jacob
f4616a6832
feat: added deleteDeployment to deletes worker
2022-01-28 05:32:56 +04:00
Christy Jacob
09de5ed256
feat: delete deployment deletion to the worker
2022-01-28 05:29:20 +04:00
Christy Jacob
5125adc16b
feat: use coroutines for deleting within the executor
2022-01-28 05:21:11 +04:00
Christy Jacob
dbcf479cd9
feat: remove curl request from DELETE /function
2022-01-28 04:26:19 +04:00
Christy Jacob
608eff458c
feat: refactor
2022-01-28 04:25:28 +04:00
Christy Jacob
80b99ea146
feat: added build mount to deletes worker
2022-01-28 04:17:59 +04:00
Christy Jacob
1d5b6b7fd9
feat: delete built files in deletes worker
2022-01-28 04:02:44 +04:00
Christy Jacob
a82562c16e
feat: add deploymentId property to builds collection
2022-01-28 03:36:30 +04:00
Damodar Lohani
5c9b8a56c7
fix deletepath call
2022-01-27 16:05:08 +05:45
Damodar Lohani
02aaa71c96
fix delete worker
2022-01-26 18:39:18 +05:45
Damodar Lohani
0d51236f98
Merge branch 'master' into fix-cache
2022-01-26 13:53:18 +05:45
Christy Jacob
a93e8f3b0b
feat: update deletes,usage and functions worker
2022-01-25 03:19:01 +04:00
Christy Jacob
6238fcc46a
fix: reset user attrbites and do not delete user
2022-01-16 05:02:13 +04:00
Christy Jacob
161bb1ec75
fix: delete user and sessions when deleting a user
2022-01-16 03:24:38 +04:00
Damodar Lohani
6a735ad232
Merge branch 'feat-large-file' into feat-s3-integration
2022-01-06 15:33:44 +05:45
Damodar Lohani
ba82839128
Merge branch 'master' into feat-storage-buckets
2022-01-06 13:11:23 +05:45
Torsten Dittmann
5d44e6ee78
fix: delete audit logs for collections and documents
2022-01-03 11:29:15 +01:00
Matej Baco
1c18ddc1bb
Merge branch 'feat-database-indexing' into feat-improve-error-logging
2021-12-31 14:40:14 +01:00
Torsten Dittmann
a40c91cec5
fix: deletes worker
2021-12-30 12:21:06 +01:00
Torsten Dittmann
693b8c7185
fix: replace internal and external database with project database
2021-12-27 13:45:23 +01:00
Damodar Lohani
4de4e87c49
Merge branch 'feat-large-file' into feat-s3-integration
2021-12-19 13:19:54 +05:45
Damodar Lohani
3f9ba67853
Merge branch 'feat-database-indexing' into feat-storage-buckets
2021-12-16 11:47:51 +05:45
kodumbeats
fa69a59e3c
Drop collection table before deleting metadata
2021-12-15 15:16:11 -05:00
Damodar Lohani
028a62d3d3
fix deletes worker
2021-11-26 10:50:31 +05:45
Damodar Lohani
ec9d4599c4
Merge branch 'feat-storage-buckets' into feat-s3-integration
2021-11-25 13:38:40 +05:45
Damodar Lohani
8728668e21
Merge branch 'feat-database-indexing' into feat-storage-buckets
2021-11-25 13:33:55 +05:45
Damodar Lohani
fc6c6a16e9
fix deletes
2021-11-25 13:31:02 +05:45
Damodar Lohani
6598aa0f1e
fix deletes
2021-11-25 11:11:07 +05:45
Damodar Lohani
7508e9f631
update deletes to account for different storage device
2021-11-25 10:44:38 +05:45
Damodar Lohani
c8c34d765d
fix collection name
2021-11-25 10:36:48 +05:45
Matej Baco
49e9baf383
Code review updates
2021-11-24 10:38:32 +01:00
Torsten Dittmann
7e3df6fc96
refactor(workers): remove db exceptions from deletes
2021-11-23 17:11:52 +01:00
Matej Baco
56402c78fe
Implemented logging for HTTP, Realtime, Workers
2021-11-23 15:24:25 +01:00
Torsten Dittmann
38499e0a5d
fix(deletes): add realtime logs and improve code
2021-11-19 17:46:10 +01:00
Damodar Lohani
84fd0345cd
fix file deletes - use external db
2021-11-19 15:43:00 +05:45
Damodar Lohani
411db5c3f0
delete constant
2021-11-07 11:39:28 +05:45
Damodar Lohani
1677a80046
Merge branch 'feat-storage-buckets' into feat-sb-delete
2021-10-28 11:39:29 +05:45
kodumbeats
549db83086
Test webhooks for deleting attributes and indexes
2021-10-25 21:14:30 -04:00
kodumbeats
c3627cac24
Define delete types as constants
2021-10-25 20:14:55 -04:00
Damodar Lohani
4dc278a2bf
Merge branch 'feat-storage-buckets' into feat-sb-delete
2021-10-17 12:03:35 +05:45
Torsten Dittmann
80e0df8a69
fix realtime
2021-09-30 13:18:50 +02:00
Torsten Dittmann
1ed41f52d3
Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor
2021-09-30 12:32:10 +02:00
Damodar Lohani
d603e7e2ce
Merge branch 'feat-storage-buckets' into feat-sb-delete
2021-09-23 13:13:32 +05:45
kodumbeats
20d4264de4
Merge remote-tracking branch 'origin/feat-database-indexing' into feat-delete-collection-attributes-indexes
2021-09-19 11:52:22 -04:00
kodumbeats
cb7c810207
Drop collection table in deletes worker
2021-09-19 11:49:24 -04:00
kodumbeats
bfdf6de15f
Delete collection document from internal collections table
2021-09-15 14:02:18 -04:00
kodumbeats
8cde715d04
Use correct constant when deleting usage stats
2021-09-15 11:28:40 -04:00
kodumbeats
b4ad95747a
Merge remote-tracking branch 'origin/feat-database-indexing' into feat-delete-collection-attributes-indexes
2021-09-12 09:07:46 -04:00
Torsten Dittmann
9ff5fb91ac
fix(app): minor bugs
2021-09-09 16:24:57 +02:00
Damodar Lohani
9f93ceec13
missing break
2021-09-06 15:24:36 +05:45
kodumbeats
84e9881a6a
Delete from attribute/index tables on deleteCollection
2021-09-02 12:45:03 -04:00
Torsten Dittmann
9bc3412649
Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-09-02 09:44:36 +02:00
Damodar Lohani
3a29d6a565
fix deletes, remove 15m period after refactor
2021-09-02 12:16:03 +05:45
Damodar Lohani
d779b98365
Merge branch 'feat-usage-daemon' into feat-usage-deletes
2021-09-02 12:15:11 +05:45
Torsten Dittmann
68bb12ad3e
style worker code
2021-09-01 11:13:23 +02:00
Torsten Dittmann
424e153b80
refactor(workers): refactor the workers
2021-09-01 11:09:04 +02:00
Damodar Lohani
4ae224d518
Merge branch 'feat-database-indexing' into feat-usage-daemon
2021-08-30 13:08:20 +05:45
Damodar Lohani
d009b8ab89
delete older usage stats
2021-08-27 17:22:52 +05:45
Eldad Fux
ad6c364820
Added missing offset and types
2021-08-27 07:37:15 +03:00
Damodar Lohani
56e3a2bd6c
depricate worker.php, use init.php instead
2021-08-13 14:24:46 +05:45
Damodar Lohani
4b13c4d608
Update app/workers/deletes.php
...
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-01 11:09:10 +05:45
Damodar Lohani
5aa6e6fda7
remove unnecessary functions
2021-07-30 12:07:02 +05:45
Damodar Lohani
893b0626a2
fix deleting path
2021-07-28 15:59:47 +05:45
Damodar Lohani
a6d79059c6
fix delete
2021-07-28 15:57:15 +05:45
Damodar Lohani
474cbfb198
reuse existing delete const
2021-07-28 15:54:29 +05:45
Damodar Lohani
1cac46e160
update to reuse
2021-07-28 15:52:29 +05:45
Damodar Lohani
5d14dcfa9d
delete storage bucket
2021-07-28 15:51:06 +05:45
Damodar Lohani
f9df66b925
Merge branch 'feat-storage-buckets' into feat-sb-delete
2021-07-28 15:33:10 +05:45
kodumbeats
51449841bf
Refactor db methods to worker class instead of worker script
2021-07-25 19:14:19 -04:00
kodumbeats
03288ffbfa
Refactor database methods to parent worker script
2021-07-25 18:20:31 -04:00
kodumbeats
4242ba75f5
Remove unneeded continue statements
2021-07-21 15:14:18 -04:00
kodumbeats
1b051d32fe
Attempt to reconnect deletes worker to db
2021-07-20 15:13:00 -04:00
Damodar Lohani
a3fb635168
wip
2021-07-18 12:48:48 +05:45
kodumbeats
3d2888ac70
Remove unused functions
2021-07-13 15:24:52 -04:00
kodumbeats
2db245a607
Use new db for deletes worker
2021-07-13 14:44:45 -04:00
kodumbeats
0af70aae30
Handle deleting functions with new db
2021-07-13 12:10:42 -04:00
kodumbeats
b58e773568
Handle deleting execution logs with new db
2021-07-13 12:10:20 -04:00
kodumbeats
4062715613
Handle deleting team memberships with new db
2021-07-13 12:08:52 -04:00
kodumbeats
adb26c5356
Use Utopia authorization validator
2021-07-13 09:41:15 -04:00
kodumbeats
f869e69123
Delete user documents from new db
2021-07-12 17:57:37 -04:00
kodumbeats
acc4bbb052
Deletes worker no longer needed for collections
2021-07-12 12:45:30 -04:00
kodumbeats
d68f7254be
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-db-refactor-routes
2021-07-01 12:51:07 -04:00
Torsten Dittmann
81cf991695
Merge branch 'feat-265-realtime' of https://github.com/appwrite/appwrite into feat-265-realtime-usage
2021-07-01 10:46:24 +02:00
Torsten Dittmann
dd47f195a0
deps(composer): updated abuse library to 0.5.0
2021-06-28 12:20:22 +02:00
Torsten Dittmann
44ba052fcb
feat(db): improved connection pools
2021-06-28 09:19:33 +02:00
Eldad Fux
03ff844291
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing
2021-06-26 22:47:53 +03:00
Torsten Dittmann
554d3c3557
feat(maintenance): add realtime usage stats
2021-06-16 11:35:37 +02:00
Eldad A. Fux
b115672e0f
Merge pull request #1137 from appwrite/feat-move-deletion-to-worker
...
feat(teams): move membership deletion task to deletes worker
2021-06-14 23:15:41 +03:00
Christy Jacob
a93496bc8c
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-move-deletion-to-worker
2021-06-14 11:05:08 +05:30
Christy Jacob
412d7c8735
feat: removed log
2021-06-14 10:45:41 +05:30
Christy Jacob
09a90a5631
feat: fix deletes workker bug
2021-06-14 10:41:48 +05:30
Eldad A. Fux
a3053b2a2b
Merge branch 'feat-database-indexing' into feat-audit-abuse
2021-06-12 17:54:55 +03:00
Eldad A. Fux
5be8e2fc0c
Update app/workers/deletes.php
...
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-06-12 17:50:45 +03:00
Eldad Fux
f2b5956f30
Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing
2021-06-12 13:08:48 +03:00
Eldad Fux
034a01af10
Updated deletes worker
2021-06-12 13:07:26 +03:00
Torsten Dittmann
665d57106e
feat(server): database connection pools
2021-06-11 18:09:46 +02:00
Torsten Dittmann
3f199e1232
refactor(workers): create abstract worker class
2021-06-11 16:20:18 +02:00
Damodar Lohani
12e01f8092
integrate abuse and audit
2021-06-07 11:02:29 +05:45
Christy Jacob
404e1ace91
fix(teams): added unit test
2021-05-31 10:26:06 +05:30
Christy Jacob
b7efefa40f
fix(teams): added comment
2021-05-29 13:02:26 +05:30
Christy Jacob
a6db680641
fix(teams): removed unused import
2021-05-29 02:29:15 +05:30
Christy Jacob
b0e74b6d7b
fix(teams): incorrect membership count in teams
2021-05-29 02:25:22 +05:30
Christy Jacob
5a469ab362
fix(memberships): logic for decremmenting membership count
2021-05-29 01:51:56 +05:30
Christy Jacob
c9075278e1
feat: some test code
2021-05-13 19:12:52 +05:30
Christy Jacob
08f606d29b
feat: remove unused import
2021-05-11 23:31:00 +05:30
Christy Jacob
5e6cc855c9
feat: remove logs
2021-05-11 23:29:20 +05:30
Christy Jacob
6836e3c91d
feat: move membership deletion to deletes worker
2021-05-11 23:25:38 +05:30
Torsten Dittmann
8bc484dfca
fix leftovers
2021-02-19 14:59:36 +01:00
Torsten Dittmann
078b5360d3
adds traversal check to deleteion
2021-02-05 12:18:12 +01:00
Torsten Dittmann
f97c87a3e9
adds certificates to deletes worker
2021-02-05 11:57:43 +01:00
Torsten Dittmann
9e9fb6414d
add certificates to deletion worker
2021-02-05 10:05:26 +01:00
Damodar Lohani
d4c7ab045a
Switching to utopia-php/storage
2021-01-22 14:13:33 +05:45
Christy Jacob
04f14816d7
feat: add filter to delete execution logs older than
2021-01-20 20:58:52 +05:30
Eldad Fux
0ee954bfeb
Cleaning workers
2021-01-15 08:02:48 +02:00