1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00
Commit graph

713 commits

Author SHA1 Message Date
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
Damodar Lohani 4de4e87c49 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-19 13:19:54 +05:45
Damodar Lohani 99fd943f3c Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-19 12:26:16 +05:45
Torsten Dittmann d1f901e7a8 feat: use arrow functions on authorization skip method 2021-12-16 12:30:43 +01:00
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 2f582f6e18 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-14 11:30:52 +05:45
Damodar Lohani 8279a2e208 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-08 14:29:27 +05:45
Damodar Lohani f5e48033ec Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-08 14:24:05 +05:45
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
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
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
Damodar Lohani 84fd0345cd fix file deletes - use external db 2021-11-19 15:43:00 +05:45
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
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 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
Damodar Lohani 4dc278a2bf Merge branch 'feat-storage-buckets' into feat-sb-delete 2021-10-17 12:03:35 +05:45
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
Damodar Lohani d603e7e2ce Merge branch 'feat-storage-buckets' into feat-sb-delete 2021-09-23 13:13:32 +05:45
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
Bradley Schofield 80fef728b4 Implement UNIX Exit Code suggestion 2021-08-11 14:23:37 +01:00
Bradley Schofield 1a8bed396a Fix env variable bug 2021-08-11 13:44:31 +01:00
Eldad A. Fux 2fbc434e25
Merge pull request #1475 from appwrite/feat-delete-attribute-index-tests
feat(refactor-db): tests for attribute and index deletion
2021-08-10 21:49:40 +03:00
Eldad A. Fux 328071a8e6
Merge pull request #1457 from appwrite/feat-depricate-usage-worker
feat-depricate-usage-worker
2021-08-09 08:18:40 +03:00
kodumbeats 4c08097e92 Use system for naming worker constants 2021-08-08 19:42:08 -04:00
Damodar Lohani 35394e5849 Merge branch 'feat-database-indexing' into feat-depricate-usage-worker 2021-08-08 12:18:31 +05:45
Damodar Lohani fa46f14092 refactor the class 2021-08-08 12:16:20 +05:45
Damodar Lohani ffe9c99157 new statsd class and implementation 2021-08-08 11:21:08 +05:45
Eldad Fux 9ad1917072 Permission fix 2021-08-07 15:49:36 +03:00
Eldad Fux 3712eca2cc Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-08-05 11:25:36 +03:00
Bradley Schofield 4c451c0835 Add Suggestions 2021-08-04 11:19:20 +01:00
kodumbeats 1b0a59d14a Use new format param for attributes 2021-08-03 16:22:12 -04:00
kodumbeats 1766be331a Change findFirst to findOne 2021-08-03 16:22:03 -04:00
Bradley Schofield 232bf01b27 Merge branch 'master' into orchestration-api-test 2021-08-03 11:18:31 +01:00
Bradley Schofield 9676f34d93 Add suggestions 2021-08-03 11:17:22 +01:00
Damodar Lohani 23caa62550 remove unused params 2021-08-02 15:14:53 +05:45
Damodar Lohani bc4fede216 refactor usage update and fix functions worker 2021-08-02 12:41:12 +05:45
Damodar Lohani ab841925ff drop usage worker 2021-08-02 11:58:42 +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
Eldad A. Fux 6588144db5
Merge pull request #1440 from appwrite/feat-locale-refactor
Feat locale refactor
2021-07-30 09:42:07 +03:00
Damodar Lohani 5aa6e6fda7 remove unnecessary functions 2021-07-30 12:07:02 +05:45
Christy Jacob 15224fa678 feat(mails): default to english locale if missing translations 2021-07-30 00:16:06 +05:30
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
Christy Jacob 1f61177f54
Merge pull request #1422 from appwrite/feat-locale-refactor
Feat locale refactor
2021-07-28 02:38:03 +05:30
Christy Jacob 2f1474f03d feat(email-templates): move email rendering to mails worker 2021-07-28 02:01:19 +05:30
Eldad Fux 95dacecf3a Removed the tasks service 2021-07-27 17:16:12 +03:00
kodumbeats 717799776a Use parent class method to get consoleDB 2021-07-26 12:37:29 -04:00
kodumbeats 9b5f8fb525 Merge remote-tracking branch 'origin/feat-database-indexing' into refactor-workers-no-db-pools 2021-07-26 12:26:26 -04:00
Eldad A. Fux f81227cad0
Merge pull request #1413 from appwrite/fix-retry-init-db-connection
fix(refactor-db): retry initial database connection on failure
2021-07-26 19:17:24 +03:00
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
Eldad Fux f909b9da1c Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-25 14:11:23 +03:00
Bradley Schofield 01f375b17d Merge branch 'master' into orchestration-api-test 2021-07-23 10:28:32 +01:00
Bradley Schofield a4875cfd22 Fix Native Labels 2021-07-23 10:05:59 +01:00
Bradley Schofield b5ab777cad Implement new native filters 2021-07-23 09:48:51 +01:00
Bradley Schofield e0ab558f90 Update functions.php 2021-07-22 14:54:23 +01:00
Bradley Schofield 4d2f5428a2 Update to use protected container class 2021-07-22 14:53:30 +01:00
Bradley Schofield a9e7b617c0 First Iteration 2021-07-22 13:49:52 +01:00
Bradley Schofield 70d4c4d7be Update functions.php 2021-07-22 11:46:05 +01:00
Bradley Schofield ca3d677596 Make untarring the code file a blocking task 2021-07-22 11:08:08 +01: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 fb3f4a2d2d Merge branch 'feat-storage-buckets' into feat-sb-delete 2021-07-20 11:45:37 +05:45
Eldad A. Fux 48ad89ac27
Merge pull request #1412 from appwrite/feat-db-refactor-routes
Feat db refactor routes
2021-07-19 22:18:28 +03:00
kodumbeats 8dab66d455 Require correct dependencies in database worker 2021-07-19 14:48:03 -04:00
kodumbeats f56e2fede9 Harmonize syntax for db connections 2021-07-19 12:47:02 -04:00
kodumbeats d8dee84be1 Obtain db connection without coroutine 2021-07-19 12:46:34 -04:00
Eldad Fux bbc20dad10 Merge branch 'master' of github.com:appwrite/appwrite into fix-db-sync-with-master 2021-07-18 17:17:29 +03:00
Damodar Lohani a3fb635168 wip 2021-07-18 12:48:48 +05:45
Eldad Fux 78689f2878 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-sync-session-collection 2021-07-16 18:00:05 +03:00
kodumbeats c04e2ba924 Remove $ from projectId attribute 2021-07-16 09:49:54 -04:00
Eldad Fux b4a65c2c1a Removed TODOs, fixed comments 2021-07-16 07:39:31 +03:00
kodumbeats 0243d6c9e1 Use refactored db for certificates worker 2021-07-15 17:14:52 -04:00
kodumbeats 88146857f7 Use refactored db for tasks worker 2021-07-14 15:59:16 -04:00
kodumbeats 30483610f8 Add missing typehint 2021-07-14 15:09:48 -04:00
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
Torsten Dittmann 882686952e adapt to review 2021-07-13 17:18:02 +02: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
Torsten Dittmann 1bc3d61619 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-07-12 09:53:27 +02:00
Matej Baco 24f85cdc78 Added " to wrap environment name 2021-07-10 20:07:03 +02:00
Torsten Dittmann a83c22f8f2 Merge branch 'feat-265-realtime' of https://github.com/appwrite/appwrite into feat-265-realtime-usage 2021-07-07 16:58:06 +02:00
Torsten Dittmann e03ba70291 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-07-07 10:19:52 +02:00
kodumbeats 01555eb8ef Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-07-05 13:40:38 -04:00
Eldad A. Fux ae8583f3a2
Merge pull request #1322 from appwrite/fix-functions-worker
Fix functions worker
2021-07-05 11:10:35 +03:00
Eldad Fux 14909a04f2 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-04 17:14:06 +03:00
kodumbeats e9561a68dc Get db and cache from pool via coroutine 2021-07-02 13:29:39 -04:00
kodumbeats 145203663d Pass default param where required 2021-07-02 13:29:03 -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
kodumbeats 1454dec6ad Define defaults for getAttribute 2021-06-30 14:33:25 -04:00
kodumbeats a912e2f20e Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-30 14:24:48 -04:00
Torsten Dittmann eaa3644f0f remove Realtime event class 2021-06-30 13:36:58 +02:00
Torsten Dittmann a2d0c910c1 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-29 13:34:35 +02:00
Torsten Dittmann dd47f195a0 deps(composer): updated abuse library to 0.5.0 2021-06-28 12:20:22 +02:00
Torsten Dittmann 49fa26b18c fix model for connections 2021-06-28 09:56:03 +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
Eldad Fux 862f6721e8 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-06-26 22:06:23 +03:00
Torsten Dittmann e4be09ff19 fix audit 2021-06-23 23:31:58 +02:00
Christy Jacob fdd389a17a feat: remove var_dump() 2021-06-24 01:55:27 +05:30
Christy Jacob d5a7b58c48 feat: pass empty string instead of null in functions worker 2021-06-24 01:52:43 +05:30
Torsten Dittmann c778f47195 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-23 17:12:48 +02:00
Eldad A. Fux a2c4dac366
Merge pull request #1314 from PineappleIOnic/fix-runtime-parameter
Renamed `env` param on `/v1/functions` to `runtime`
2021-06-23 10:12:24 +03:00
Bradley Schofield aa1e713b75 Fix tests 2021-06-22 16:56:05 +01:00
Eldad Fux 4a0b9e5e89 Removed duplicated cli command 2021-06-20 16:16:01 +03:00
kodumbeats 5bcb51ab5b Clean up unused code 2021-06-18 15:17:39 -04:00
kodumbeats b1a6302311 Use database worker to remove attributes and indexes 2021-06-18 14:27:14 -04:00
kodumbeats 47d74a64be Add assertions to confirm index was created successfully 2021-06-18 13:18:27 -04:00
kodumbeats afd347ca6f Create attributes and indexes using database worker 2021-06-18 12:13:37 -04:00
kodumbeats 707f49b83f Set up database worker 2021-06-17 17:58:35 -04:00
kodumbeats b32a0e72a9 Add getters for dbForInternal and dbForExternal 2021-06-17 15:30:28 -04:00
kodumbeats e278b06e06 Organize used libraries 2021-06-17 15:30:03 -04:00
kodumbeats 90b280a014 Outline database resque worker 2021-06-17 14:22:06 -04:00
Torsten Dittmann 554d3c3557 feat(maintenance): add realtime usage stats 2021-06-16 11:35:37 +02:00
Torsten Dittmann 620980b316
Update webhooks.php 2021-06-15 08:44:06 +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
Eldad Fux 579a24cf73 Updated sort method before cleanup 2021-06-14 22:18:43 +03:00
Torsten Dittmann 346b04b94b sync with 0.9.x 2021-06-14 16:54:16 +02:00
Torsten Dittmann 3d896af4bb Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-14 16:52:48 +02: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 86b1cc1678 feat: merge commit 2021-06-14 10:58:49 +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 A. Fux 6fa0fc6ac9
Update app/workers/audits.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-06-12 17:50:35 +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
Torsten Dittmann 2dcf3c2c19 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-11 12:34:08 +02:00
Torsten Dittmann 21ac8c1104 fix(usage): undefined function id 2021-06-10 13:12:45 +02:00
Damodar Lohani 12e01f8092 integrate abuse and audit 2021-06-07 11:02:29 +05:45
Eldad Fux d77226e8f9 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-03 23:19:04 +03:00
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
Eldad Fux abd0bba8a4 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-27 01:31:29 +03:00
Torsten Dittmann 787931b45b Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-05-20 09:46:49 +02:00
Eldad Fux 63a92a768a Fixed functions webhooks trigger 2021-05-17 18:52:22 +03:00
Eldad Fux a8cc398c85 Updated functions trigger 2021-05-17 14:32:37 +03:00
Eldad Fux af470a3f1a Cleanups 2021-05-17 12:54:04 +03:00
Eldad Fux 79bf99372e Removed DB connection 2021-05-17 12:49:17 +03:00
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