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
Eldad A. Fux
6588144db5
Merge pull request #1440 from appwrite/feat-locale-refactor
...
Feat locale refactor
2021-07-30 09:42:07 +03:00
Christy Jacob
15224fa678
feat(mails): default to english locale if missing translations
2021-07-30 00:16:06 +05:30
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
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
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