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
Christy Jacob
6836e3c91d
feat: move membership deletion to deletes worker
2021-05-11 23:25:38 +05:30
Eldad Fux
0a3c198e00
Removed boolean check on DB operation
2021-05-09 23:34:32 +03:00
Eldad Fux
f24ae683e6
Migrated functions worker
2021-05-05 00:45:41 +03:00
Torsten Dittmann
3d4c3741a2
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-05-04 17:21:10 +02:00
Eldad Fux
7272ca857e
Fixed missing default values
2021-04-30 18:09:15 +03:00
Torsten Dittmann
6a196716b3
fix: adapt to review
2021-04-29 17:08:59 +02:00
Torsten Dittmann
3a9b6e2e76
tests: debug travis
2021-04-26 16:57:21 +02:00
Torsten Dittmann
25b03c90f8
feat: introduce appwrite/php-runtimes
2021-04-21 13:02:54 +02:00
Torsten Dittmann
3b989cf6a7
fix: anonymous account tests
2021-04-16 18:50:16 +02:00
Torsten Dittmann
2f7f8ab03d
test: disabling coroutine in functions worker
2021-04-16 17:53:36 +02:00
Torsten Dittmann
b7833a862b
fix: disable co-routine hooks
2021-04-14 17:56:15 +02:00
Torsten Dittmann
74908f4965
fix: disable co-routine hooks
2021-04-14 17:55:08 +02:00
Torsten Dittmann
32587f9d80
tests: disable test
2021-04-14 17:09:36 +02:00
Torsten Dittmann
d97e1674aa
tests: fix
2021-04-14 15:07:26 +02:00
Torsten Dittmann
e021b8795a
fix: enable coroutine in functions worker
2021-04-14 12:40:55 +02:00
Torsten Dittmann
2e3d4fb616
Revert "Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime"
...
This reverts commit 137aa98e19
, reversing
changes made to c5ad66839d
.
2021-04-13 09:10:07 +02:00
Torsten Dittmann
69bd907729
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-04-12 09:42:46 +02:00
Torsten Dittmann
9dc206051f
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-upgrade-php-version
2021-04-10 16:25:04 +02:00
Eldad A. Fux
19e9582df2
Merge branch '0.7.x' into feat-upgrade-php-version
2021-04-05 14:56:45 +03:00
Torsten Dittmann
137aa98e19
Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-04-01 16:01:31 +02:00
kodumbeats
de47622d03
Remove sleep and pass expected vars to logs
2021-04-01 09:31:30 -04:00
Torsten Dittmann
c5ad66839d
add usage stats for realtime
2021-04-01 12:59:11 +02:00
kodumbeats
28dece1adf
Investigate latency of exec
2021-03-31 15:41:35 -04:00
kodumbeats
1f4529d4e4
Start execution and get status code
2021-03-31 10:58:04 -04:00
kodumbeats
af6b90ba83
Testing if the exec must be started
2021-03-30 20:49:23 -04:00
kodumbeats
967d661a59
Pass Content-Length header
2021-03-30 18:13:44 -04:00
kodumbeats
c8f9bbc34b
Outline calls to docker socket
2021-03-30 16:36:07 -04:00
kodumbeats
456793ebd8
Added space for styling and consistency
2021-03-30 07:42:58 -04:00
kodumbeats
d4b107bf1d
Merge branch '0.8.x' into refactor-event-payload-to-data
2021-03-29 15:32:14 -04:00
kodumbeats
9f8e7358d4
Refactor event $payload to $eventData
2021-03-29 14:00:10 -04:00
Torsten Dittmann
078a07d6b8
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into refactor-user-tokens
2021-03-29 11:07:18 +02:00
Eldad Fux
7a400afb5b
Merge branch 'master' of github.com:appwrite/appwrite into 0.8.x
2021-03-27 01:36:41 +03:00
Torsten Dittmann
9cdb7f73a2
add null safety to usage worker
2021-03-25 16:58:11 +01:00
Torsten Dittmann
ccf151c36b
fix usage worker without functions args
2021-03-25 16:53:02 +01:00
Torsten Dittmann
d5a3879ede
clean up realtime even trigger in functions worker
2021-03-25 16:41:56 +01:00
Torsten Dittmann
373b2dfc13
add realtime event to functions worker
2021-03-24 17:53:44 +01:00
Torsten Dittmann
8922db85e2
add permission to event payload
2021-03-24 17:44:37 +01:00
Torsten Dittmann
24a5536164
add permission to event payload
2021-03-24 17:39:22 +01:00
Torsten Dittmann
ed9c8f53cc
fix execute method name for worker rework
2021-03-24 15:22:29 +01:00
Torsten Dittmann
410fdecfb4
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-03-24 15:21:19 +01:00
kodumbeats
2f90b5a343
Refactor EVENT_PAYLOAD to EVENT_DATA
2021-03-24 09:36:36 -04:00
Torsten Dittmann
6b5718f32f
create seperate init for workers
2021-03-24 13:13:59 +01:00
Torsten Dittmann
288d7d3701
Merge branch 'dev' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-03-24 12:11:45 +01:00
kodumbeats
d6fc03ca63
Throw error only on nonzero exit code
2021-03-22 08:44:13 -04:00
kodumbeats
90833683fa
Update env names for consistency
2021-03-19 11:46:03 -04:00
Torsten Dittmann
900a642255
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime
2021-03-19 11:48:49 +01:00
kodumbeats
132baa3e9b
Pass projectId to function as env var
2021-03-18 07:46:48 -04:00
kodumbeats
daeed74473
Merge branch '0.8.x' into feat-962-pass-data-to-function-execution
2021-03-18 07:14:16 -04:00
kodumbeats
c04396b254
Pass userId to function
2021-03-12 14:01:58 -05:00
kodumbeats
731c87d740
Add functions.executions.update
2021-03-12 13:28:29 -05:00
kodumbeats
da8984f66e
Pass userId and JWT to function as env vars
2021-03-10 11:58:46 -05:00
Eldad Fux
de17d0d1d3
Test worker wrapers
2021-03-10 10:08:17 +02:00
kodumbeats
59984fa6c0
Pass custom function $data to execution
2021-03-09 14:58:03 -05:00
Eldad Fux
dde5a761f9
Updated dependencies
2021-02-21 23:37:22 +02:00
Eldad A. Fux
0237768ebf
Merge branch '0.7.x' into feat-upgrade-php-version
2021-02-21 23:29:37 +02:00
Torsten Dittmann
8bc484dfca
fix leftovers
2021-02-19 14:59:36 +01:00
Eldad Fux
05d5d28623
First commit
2021-02-18 18:48:11 +02:00
Damodar Lohani
077932e1ad
disabling functions cpus and memory limit when environment is empty
2021-02-09 14:45:24 +05:45
Eldad A. Fux
133235d4a6
Merge pull request #881 from TorstenDittmann/feat-delete-certificates
...
Delete certificate files with worker
2021-02-08 14:33:18 +02:00
Eldad Fux
c8b6a18939
Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-upgrade-php-version
2021-02-06 00:19:15 +02: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
Eldad A. Fux
f8e8f54a13
Merge pull request #873 from appwrite/feat-docker-login-from-fucntions
...
Feat docker login from fucntions
2021-02-04 19:52:21 +02:00
Torsten Dittmann
76eb74b182
adapt ssl issuing for swoole
2021-02-02 15:48:07 +01:00
Eldad Fux
be07db5671
Fixed login command
2021-02-02 10:16:08 +02:00
Eldad Fux
8cdb184636
First Attempt
2021-02-02 09:26:11 +02:00
Eldad Fux
8c7cedc240
Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-upgrade-php-version
2021-01-30 11:58:58 +02:00
Torsten Dittmann
f77c708c72
adjust settings to work dart env in travis and low budget
2021-01-27 19:35:36 +01:00
Torsten Dittmann
d184e0eae8
Merge branch '0.7.x' into feat-dart-env
2021-01-27 19:26:49 +01:00
Torsten Dittmann
91e2cae2bc
fix(cloud-functions): set memory swap to 256m
2021-01-27 13:28:42 +01:00
Eldad Fux
f3677c60e0
Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-function-schedule
2021-01-26 22:36:31 +02:00
Eldad Fux
fdd413a4b3
Removed not working co-runs
2021-01-26 21:16:03 +02:00
Torsten Dittmann
596c72bb85
Merge remote-tracking branch 'upstream/0.7.x' into feat-dart-env
2021-01-24 15:52:29 +01:00
Damodar Lohani
d4c7ab045a
Switching to utopia-php/storage
2021-01-22 14:13:33 +05:45
Torsten Dittmann
e64f0f3c5e
fix(functions): fix worker commands for windows
2021-01-21 10:02:06 +01:00
Christy Jacob
04f14816d7
feat: add filter to delete execution logs older than
2021-01-20 20:58:52 +05:30
Eldad Fux
d908606509
Minor patch
2021-01-20 06:49:00 +02:00
Eldad Fux
4e565fbb20
Updated functions worker log
2021-01-19 09:23:31 +02:00
Eldad Fux
f16113dbb3
Some minor fixes
2021-01-17 02:07:43 +02:00
Eldad Fux
47f5e871ba
Added scheduling
2021-01-17 01:38:13 +02:00
Eldad Fux
8373be65d0
Fix for swoole error
2021-01-15 19:19:48 +02:00
Eldad Fux
0ee954bfeb
Cleaning workers
2021-01-15 08:02:48 +02:00
Eldad Fux
17c90846e1
Fixed syntax bug in functions service
2021-01-15 07:30:49 +02:00
Damodar Lohani
379ce3abce
refactoring with suggested updates
2021-01-13 12:10:43 +05:45
Damodar Lohani
1cbca0a6a6
disable functions stats collection if usage stats disabled
2021-01-13 11:42:15 +05:45
Eldad A. Fux
7c7d5ce0e2
Merge pull request #796 from appwrite/feat-speedup-tests
...
Feat speedup tests
2021-01-02 21:15:24 +02:00
Eldad Fux
73e08974e4
Build function locally on dev mode
2021-01-02 01:48:10 +02:00
Eldad A. Fux
d6df6b9fdc
Merge pull request #788 from appwrite/feat-execute-functions-from-client
...
Enabled client endpoints for CF
2021-01-01 10:37:48 +02:00
Eldad A. Fux
de70f71114
Merge pull request #766 from christyjacob4/feat-na-maintenance-task
...
feat: starter for maintenance task
2020-12-30 15:42:04 +02:00
Eldad Fux
df96ba2af7
Deleted non-relevant comments
2020-12-30 13:07:14 +02:00
Eldad Fux
d0fd81ce91
Fixed container deletion
2020-12-30 12:44:33 +02:00
Eldad Fux
bddb720f59
Removed log, force old function deletion
2020-12-30 09:26:52 +02:00
Christy Jacob
e28c4feb97
feat: review comments
2020-12-30 00:50:19 +05:30
Eldad A. Fux
8fa19a7a9d
Merge branch '0.7.x' into feat-na-maintenance-task
2020-12-29 16:46:27 +02:00
Christy Jacob
dce89663b0
patch: review comments
2020-12-27 23:27:35 +05:30
Christy Jacob
e088a9e648
patch: review comments
2020-12-27 23:18:14 +05:30
Christy Jacob
5e686183c6
Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-maintenance-task
2020-12-24 20:10:03 +05:30
Christy Jacob
ec21e74813
feat: address review comments
2020-12-24 19:49:09 +05:30
Christy Jacob
1fe931410d
feat: address review comments
2020-12-24 19:46:31 +05:30
Christy Jacob
c714ada6ff
patch: added delete for project Ids by group
2020-12-22 19:34:09 +05:30
Christy Jacob
b40b586342
patch: review comments and some fixes
2020-12-21 23:45:52 +05:30
Christy Jacob
2085c16f91
patch: added logs for maintenance task
2020-12-21 20:16:31 +05:30
Christy Jacob
4049f6470d
patch: added logs for maintenance task
2020-12-19 13:38:03 +05:30
Christy Jacob
9a05fedb6a
patch: deletes worker for abuse logs
2020-12-18 19:38:28 +05:30
Christy Jacob
62885aa13a
patch: deletes worker refactoring
2020-12-18 19:35:20 +05:30
Christy Jacob
1ecbf8bc5d
patch: refactor delete worker invocation
2020-12-18 17:58:08 +05:30
Christy Jacob
e3a6c899c3
patch: delete based on collection
2020-12-18 16:38:58 +05:30
Christy Jacob
c6a105db7e
patch: review comments
2020-12-18 16:18:00 +05:30
Christy Jacob
f395c2e92c
feat: added notifiers for delete abuse and audit logs
2020-12-17 20:45:47 +05:30
Eldad Fux
f6c8630a1d
Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions
2020-12-17 00:08:47 +02:00
Christy Jacob
f10caa28ba
feat: added maintenance worker for deleting execution logs
2020-12-15 19:08:41 +05:30
Christy Jacob
4f997d3770
feat: publish delete events to resque
2020-12-15 02:56:37 +05:30
Eldad Fux
47769cefae
Added new env vars
2020-12-14 20:04:57 +02:00
Eldad Fux
c10817859d
Minimized all direct API filters
2020-12-13 01:22:55 +02:00
Eldad Fux
5986d61a47
Fixed functions errors
2020-12-12 16:24:53 +02:00