1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00
Commit graph

542 commits

Author SHA1 Message Date
Eldad Fux 0219c92cb0 Review 2022-01-23 18:34:18 +02:00
Bradley Schofield e79578570e Merge branch 'master' into the-executor-poc 2022-01-18 15:24:33 +00: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
Bradley Schofield e2c4272ebd Merge branch 'master' into the-executor-poc 2022-01-05 13:38:51 +00:00
Torsten Dittmann ce3a647557 fix: add missing collection prefix to cache purging 2022-01-03 13:30:03 +01:00
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 cf15c90c2a fix: saving certificates 2021-12-28 11:26:46 +01:00
Torsten Dittmann 693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
kodumbeats 3f43b426fa Prepend "collection_" to collections 2021-12-23 17:51:38 -05:00
Torsten Dittmann d1f901e7a8 feat: use arrow functions on authorization skip method 2021-12-16 12:30:43 +01:00
kodumbeats fa69a59e3c Drop collection table before deleting metadata 2021-12-15 15:16:11 -05:00
Torsten Dittmann 9d23afa263 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-indexing-realtime-console 2021-12-07 14:09:16 +01:00
Bradley Schofield 885f57438d Fix Tests 2021-12-07 10:42:33 +00:00
Bradley Schofield 1e76c03fd7 Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-12-06 14:18:50 +00:00
Matej Bačo 8f1fb9d330
Merge branch 'master' into feat-improve-error-logging 2021-12-06 14:16:39 +01:00
Torsten Dittmann e944da2f3e feat(realtime): add console channel 2021-12-06 13:03:12 +01:00
Torsten Dittmann f04cb72cfb Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-main-rebase 2021-12-01 14:19:41 +01:00
Torsten Dittmann db0a75a18a Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-refactor-ui-fixes 2021-11-24 14:56:45 +01:00
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
Bradley Schofield c348a71407 Get tests passing again 2021-11-15 02:18:53 +00:00
Bradley Schofield 6ba2c4741b Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-11-09 15:54:04 +00:00
kodumbeats 974788db83 fix(api): allow failed attributes to be deleted 2021-10-27 09:44:10 -04:00
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
kodumbeats 4a1507ba25 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-15 09:26:17 -04:00
Bradley Schofield 7649a2c677 Make new database work with the executor
+ New DB now works with executor
+ events now work with new execution model
2021-10-14 10:37:00 +01:00
SaintMalik 32e513012e doc: Fix typos 2021-10-12 19:22:41 +01:00
Bradley Schofield dd5bdda000 Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-10-11 14:59:34 +01:00
Torsten Dittmann 8685c09c13 fix functions and users 2021-10-08 10:39:37 +02:00
kodumbeats 6373c4f92d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-refactor-api-buxfixes 2021-10-07 14:40:45 -04:00
Torsten Dittmann 8db80e164d Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 12:08:24 +02:00
kodumbeats 31f1c4e1dd Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-10-05 10:14:26 -04:00
kodumbeats 481ff1e2f9 Refactor purgeDocument calls to deleteCachedDocument 2021-10-05 09:05:40 -04:00
kodumbeats 2aa94e7897 Improve attr/index lifecycle with status stuck when deletion fails 2021-10-04 20:23:15 -04:00
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
Bradley Schofield 715a8ac729 Add authentication between appwrite and the executor
+ Add authentication between appwrite and the executor
+ Add built status and build stdout/stderr to tag for later use
+ Changes to executor to implement new build stages
2021-09-22 11:03:04 +01:00
kodumbeats c9601160a6 Handle case of duplicate indexes on deleteAttribute 2021-09-20 21:22:08 -04:00
kodumbeats 51ea0aecb1 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-09-20 13:32:16 -04:00
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
Bradley Schofield da8b4bb9f9 Add build step and more function cleanup 2021-09-13 11:50:45 +01: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
Torsten Dittmann d2f425e67d fix(functions): utf-8 encode stdout and stderr 2021-09-09 13:06:00 +02:00
Bradley Schofield 66d8b0599c Merge branch 'master' into the-executor-poc 2021-09-07 12:51:25 +01:00
Damodar Lohani 9f93ceec13 missing break 2021-09-06 15:24:36 +05:45
Bradley Schofield bca326dc8d Improvements to executor
- Executor now loads runtimes from php-runtimes package
- Executor now handles timeouts correctly
- Executor can now shutdown and remove containers before shutting down itself preventing a `docker-compose stop` failure due to active network endpoints.
- Fixed a issue with JWT's not working
- Improved general executor reliability
- Tests now pass!
2021-09-06 01:37:20 +01:00
Torsten Dittmann 17d2a4bc0a
Merge pull request #1577 from TorstenDittmann/fix-functions-env-variable
fix(functions): environment variables
2021-09-03 14:06:23 +02:00
Torsten Dittmann 37c33c3c7b fix(functions): environment variables 2021-09-03 13:41:42 +02:00
kodumbeats 31977e462c Clean up indexes when attribute is deleted 2021-09-02 17:38:33 -04:00
Torsten Dittmann be1e3acfca fix(functions): properly cast cpu counts variable 2021-09-02 20:59:58 +02:00
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
Eldad A. Fux b23dae4948
Merge pull request #1552 from appwrite/feat-magic-url
Feat Magic URL
2021-09-02 10:09:55 +03: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
Torsten Dittmann c85cfb66d2 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-09-01 09:33:50 +02:00
Torsten Dittmann 98a21c475d fix(mails-worker): shorter switch case 2021-09-01 09:29:25 +02:00
Torsten Dittmann 38e1624636 fix(functions): flag execution errors as failed 2021-08-31 20:52:47 +02:00
Damodar Lohani 22ceb1dc7c create session with magic url 2021-08-30 16:29:52 +05:45
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
Bradley Schofield f5e1ce01b7 More Changes 2021-08-27 11:55:22 +01:00
Bradley Schofield 48d57aa38e aaaaa 2021-08-27 10:21:28 +01:00
Eldad Fux ad6c364820 Added missing offset and types 2021-08-27 07:37:15 +03:00
Bradley Schofield 82b7e18033 First Test 2021-08-24 10:32:27 +01:00
Damodar Lohani c81ee72c7e Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-24 15:04:07 +05:45
Eldad A. Fux 8f2e5c3563
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:40:56 +03:00
Eldad A. Fux 0b30691879
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:40:14 +03:00
Eldad A. Fux 9aefe4e360
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:39:42 +03:00
Eldad A. Fux 5de5a38ba0
Update app/workers/database.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-08-23 23:39:24 +03:00
Eldad Fux a6c62c95b0 Updated tests 2021-08-23 07:06:53 +03:00
Eldad Fux 31500cd675 Sub query support for indexes 2021-08-22 18:00:00 +03:00
Eldad Fux fa909e844d Added new delete attribute flow 2021-08-22 11:04:51 +03:00
Eldad Fux c507cd44aa Fixed format options 2021-08-22 00:48:07 +03:00
Eldad Fux 6943380118 Updated data structures for attribute 2021-08-21 07:48:28 +03:00
Damodar Lohani 0d47dea97f Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-19 11:12:49 +05:45
Eldad Fux 5811a5680a Work in progress 2021-08-19 07:05:44 +03:00
Torsten Dittmann f1b0f7639c Merge branch 'feat-265-realtime' of https://github.com/appwrite/appwrite into feat-265-realtime-usage 2021-08-17 11:05:20 +02:00
Torsten Dittmann 3efbad9659 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-16 11:10:48 +02:00
Bradley Schofield fa15b37433 Add defaults for environment variables 2021-08-16 09:19:09 +01:00
Damodar Lohani 26c4fe7009 Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-15 10:53:53 +05:45
Eldad Fux 17bbdc3a52 Updated logs screen 2021-08-14 13:13:24 +03:00
Bradley Schofield 054eadc6f6 Implement Suggestions
+ Added documentation for environment variables
+ Added changelog
+ Changed how we handle a error while removing a container that may or may not exist during execution
2021-08-13 15:16:05 +01:00
Bradley Schofield 44ac60a70a Implement Suggestions 2021-08-13 10:00:20 +01:00
Damodar Lohani 56e3a2bd6c depricate worker.php, use init.php instead 2021-08-13 14:24:46 +05:45
Bradley Schofield 5080160f09 Revert "Update Tests"
This reverts commit bd537e6992.
2021-08-13 09:34:21 +01:00
Bradley Schofield bd537e6992 Update Tests 2021-08-13 09:32:27 +01:00
Bradley Schofield eb3db0ddae Update functions.php 2021-08-11 14:24:33 +01:00