1
0
Fork 0
mirror of synced 2024-08-02 12:01:37 +12:00
Commit graph

938 commits

Author SHA1 Message Date
Torsten Dittmann
983f885b3f fix: builds worker buildTime 2022-10-31 12:47:41 +01:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Damodar Lohani
982a449143 Merge remote-tracking branch 'origin/feat-db-pools' into feat-usage-refactor-fo-db-pools 2022-10-31 06:49:37 +00:00
Damodar Lohani
4086ba93ad Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-10-31 06:36:26 +00:00
Damodar Lohani
a0a0ef2386 update docblock comments and naming 2022-10-28 08:40:04 +00:00
Torsten Dittmann
eb31bfb78e
Merge pull request #4418 from appwrite/feat-deployment-buildtime
Add build time to deployments
2022-10-26 18:42:53 +02:00
Christy Jacob
9165da14b7 feat: add support for the new DSN class 2022-10-26 12:16:22 +05:30
Damodar Lohani
c8b5301267 update maintenance to delete only hourly metrics older than 3 months 2022-10-23 07:29:13 +00:00
Damodar Lohani
3ed3ef9d71 rename variable 2022-10-23 04:46:23 +00:00
Bradley Schofield
60e924b62b Run Linter 2022-10-19 02:50:48 +01:00
Bradley Schofield
fe4028f588 Add tests and add buildTime to worker 2022-10-19 02:43:40 +01:00
Eldad Fux
8437aa894d Removed unused imports 2022-10-16 01:51:11 +03:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Steven Nguyen
5542e5b04c Only delete collection data for correct db
Ensure attributes, indexes, and audit for correct database is deleted.
2022-10-11 22:51:10 +00:00
Jake Barnby
702710aab1
Fix import 2022-10-10 16:20:46 +13:00
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13:00
Jake Barnby
2fbc40e966
Merge fixes 2022-10-03 13:42:53 +13:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13:00
Torsten Dittmann
637a97c4de Merge branch '1.0.x' of https://github.com/appwrite/appwrite into fix-function-vars-null 2022-09-30 12:06:32 +02:00
Torsten Dittmann
d511c2d2ad
Merge pull request #3858 from appwrite/fix-certificate-fail-mail
Fix: Certificate -> Mail worker communication
2022-09-30 11:54:31 +02:00
Torsten Dittmann
65b4c9f931 fix: default value for optional function vars 2022-09-30 11:52:35 +02:00
Christy Jacob
3b802e9ba6 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-09-27 20:59:50 +05:30
Matej Bačo
46c91899e7
Merge branch '0.16.x' into feat-improve-sms-e2e-tests 2022-09-23 08:23:29 +02:00
Christy Jacob
c38f451c78
Merge pull request #3862 from Faizan-Pasha/master
Fixed the bug #3859
2022-09-23 11:38:39 +05:30
Matej Bačo
96134f2a5e Remove todo 2022-09-20 08:29:34 +00:00
Matej Bačo
89afad1a32 Replace nulls with empty strings 2022-09-19 11:58:41 +00:00
Matej Bačo
e31c7f7740 Improve delete worker for functions 2022-09-19 11:53:34 +00:00
Matej Bačo
6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Faizan Pasha
ffe525c5cc Removed unused import 2022-09-17 06:02:11 +05:30
Faizan Pasha
12b6e671b0 Fixed the bug #3859 2022-09-17 05:58:14 +05:30
Matej Baco
81ddc99f7b Improve mail events code quality 2022-09-16 11:54:59 +02:00
Matej Bačo
20bbbfc493 Merge remote-tracking branch 'origin/0.16.x' into fix-function-scheduling 2022-09-13 20:14:42 +00:00
shimon
b86f7689ec Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling 2022-09-13 10:29:16 +03:00
Matej Bačo
a315f43039 Fix functon scheduling loop logic, and double-loop prevention 2022-09-11 12:20:26 +00:00
Eldad A. Fux
07d65a3232
Merge pull request #3782 from appwrite/fix-rc-certificates
Fix certificate worker and retries
2022-09-11 15:11:34 +03:00
Christy Jacob
cb50220b60 feat: rename time attribute to duration 2022-09-09 16:02:04 +04:00
Matej Bačo
e23752d4f3 Improve certbot communication 2022-09-07 10:44:57 +00:00
Matej Bačo
e2444734fd Fix certificate worker and retries 2022-09-07 08:58:35 +00:00
shimon
f63c740917 decouple audits log from events 2022-09-04 11:45:53 +03:00
Matej Bačo
ae2826ad1f Bug fixes 2022-09-02 14:19:36 +00:00
shimon
f7da33a873 Merge branch '0.16.x' of github.com:appwrite/appwrite into refactor-cache-date 2022-08-31 16:09:42 +03:00
shimon
dab844308b dateTime bug fix in the deletes worker
dateTime small fix
2022-08-31 16:07:27 +03:00
shimon
69066cfc5e timestamp -> datetime on file cache 2022-08-30 15:44:37 +03:00
Matej Bačo
1e95346205 PR review changes 2022-08-30 12:30:52 +00:00
Matej Bačo
3b7ac045d7 Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-26 07:51:54 +00:00
Matej Bačo
78f65401e8 Attempt to fix usage tests 2022-08-25 14:56:15 +00:00
Matej Baco
8513bb2dbe Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-25 11:14:42 +02:00
Jake Barnby
625608804e Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/workers/builds.php
#	src/Appwrite/Stats/Usage.php
#	src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Matej Bačo
4b01ff3f51 Use new query methods 2022-08-24 14:10:56 +00:00
Christy Jacob
d3308a4d42 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-08-24 14:40:06 +05:30
Bradley Schofield
d4ba9441b6 Run Linter 2022-08-19 11:26:09 +01:00
Bradley Schofield
0d81918685 Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-19 11:25:39 +01:00
Jake Barnby
cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby
7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Damodar Lohani
3e43424129 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-18 00:49:31 +00:00
shimon
9fc2e4c3a5 sync with 0.16 2022-08-17 17:29:22 +03:00
Damodar Lohani
a1e6f7bdf4 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 09:34:40 +00:00
shimon
9c68cff317 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	composer.json
	composer.lock
2022-08-17 11:16:09 +03:00
Eldad A. Fux
69a4f51d58
Merge pull request #3656 from appwrite/feat-functions-console-logs
Functions Console Logs Capture
2022-08-16 23:23:53 +03:00
Damodar Lohani
94d9bb8a18 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-functions-console-logs 2022-08-16 04:42:03 +00:00
Jake Barnby
77a28a2de7 Don't use ID helper with existing ID's 2022-08-15 23:24:31 +12:00
shimon
0dc485d8d7 some fixes 2022-08-15 12:05:41 +03:00
Eldad Fux
22c38a484f Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param 2022-08-14 19:43:53 +03:00
Jake Barnby
613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Eldad Fux
25f176875d Changed provider name from phone to sms 2022-08-14 16:43:41 +03:00
Jake Barnby
9c260164ef Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-14 23:46:34 +12:00
Damodar Lohani
5120158bdb Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-14 11:39:41 +00:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Steven
610ec1a6a4 Update database query syntax 2022-08-14 05:44:55 +00:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Bradley Schofield
237f5264d9 Fix vars exception, change cachedoc usage, 2022-08-13 20:18:48 +01:00
shimon
d132202662 some fixes 2022-08-13 20:29:33 +03:00
Jake Barnby
ed712fb196 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/controllers/general.php
#	composer.lock
2022-08-14 02:31:06 +12:00
Christy Jacob
d2bf8b25de feat: update db pools 2022-08-13 13:27:04 +05:30
shimon
e8a2e30bb5 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup 2022-08-13 10:35:54 +03:00
Eldad Fux
3c7a7f0fa4 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-08-13 06:21:50 +03:00
Steven
1abe9d4c01 Merge branch '0.16.x' into fix-datetime-attributes 2022-08-12 22:54:33 +00:00
Christy Jacob
4521907b83 feat: refactor workers 2022-08-12 21:39:45 +05:30
Bradley Schofield
cb87c248d5 Rebuild Specs, SDKs and start working on subqueries 2022-08-12 16:51:24 +01:00
Damodar Lohani
cd9efec4d2 refactor 2022-08-11 06:49:20 +00:00
Damodar Lohani
63371ce76e functions usage stats using route labels 2022-08-11 05:25:39 +00:00
Bradley Schofield
15fbe86124 Fix variables not being correctly used 2022-08-10 14:43:05 +01:00
Bradley Schofield
c566f1e7c9 Fix Tests 2: Electric Boogaloo 2022-08-10 10:32:48 +01:00
Damodar Lohani
391d1127ca update container to accept new response format 2022-08-10 07:19:07 +00:00
shimon
092e682591 Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
fogelito
82a240998b Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-attributes
 Conflicts:
	composer.lock
	src/Appwrite/Stats/Usage.php
2022-08-09 14:20:26 +03:00
Damodar Lohani
bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby
ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
shimon
cc93113934 Reference comments 2022-07-31 15:11:49 +03:00
Shimon Newman
feadcb24df
Update app/workers/deletes.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-07-30 21:17:01 +03:00
shimon
d09bf306ce response changes 2022-07-26 15:50:33 +03:00
shimon
509057f84c tidy up 2022-07-24 10:12:15 +03:00
shimon
02907f12f1 cache logic moved to api::init & api::shutdown 2022-07-23 20:42:42 +03:00
Damodar Lohani
d121ebe078
remove unused parameter 2022-07-22 14:24:33 +05:45
fogelito
169fb4d6f4 audit + abuse datetime changes 2022-07-19 17:52:06 +03:00
Damodar Lohani
e405e35736 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-07-17 08:48:19 +00:00
Christy Jacob
8d46af0dc2 feat: remove var_dump 2022-07-16 11:34:41 +05:30
Christy Jacob
42f0bddd60 feat: merge and fix conflicts 2022-07-15 13:54:27 +04:00
fogelito
bded3da5df Fix comments 2022-07-14 17:56:50 +03:00
Torsten Dittmann
5604a6837f Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-07-14 14:14:05 +02:00
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
Aditya Oberai
f63c1c95fe Create Vonage phone auth adapter 2022-07-12 15:45:22 +00:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito
7e08575245 builds, stats 2022-07-11 18:12:41 +03:00
shimon
59627ea9ef logger moved to App::shutdown 2022-07-09 21:24:28 +03:00
Dineshkumar
817524de4b Renamed Msg91Flow to Msg91 2022-07-09 19:34:57 +05:30
Dineshkumar
5eab0d47e4
renamed msg91-flow as msg91 2022-07-07 20:57:48 +05:30
shimon
0249966741 logger moved to App::shutdown 2022-07-07 18:16:03 +03:00
Dineshkumar
7a486e1158
Added Msg91 Flow Adapter 2022-07-07 16:40:29 +05:30
fogelito
10ca7de6ba workers functions 2022-07-07 12:54:46 +03:00
fogelito
e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
fogelito
2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
shimon
0c2c030b71 restore 2022-07-05 10:46:41 +03:00
shimon
56a21b3968 small fix 2022-07-05 10:37:46 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
shimon
7b429bdcd7 cache cleanup 2022-07-03 12:36:59 +03:00
fogelito
73a19614e1 functions api 2022-07-02 17:38:53 +03:00
fogelito
d405f74c54 worker change for time 2022-07-02 09:01:54 +03:00
Damodar Lohani
01016b0444 collect function builds and total compute time 2022-06-29 06:48:40 +00:00
Damodar Lohani
6a90c7c653 stats on build 2022-06-29 06:30:24 +00:00
Christy Jacob
cb381bd3a3 feat: fix messaging worker 2022-06-28 15:40:59 +02:00
Christy Jacob
f6c7fdb8ed feat: fix messaging worker 2022-06-28 15:32:59 +02:00
Matej Bačo
11a0cc5658 Fix audit delete bug 2022-06-28 09:23:46 +00:00
Matej Bačo
a049b13741 Fix database UI names 2022-06-22 13:03:55 +00:00
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Torsten Dittmann
e6edcb5459
Merge pull request #3357 from appwrite/feat-phone-authentication
feat: phone authentication
2022-06-20 18:12:36 +02:00
Torsten Dittmann
511898afc9 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into origin/feat-internal-id 2022-06-20 15:34:27 +02:00
Torsten Dittmann
d0ad879f4a Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 15:01:17 +02:00
Torsten Dittmann
400f5c4b48 feat: use DSN for phone provider 2022-06-20 14:22:35 +02:00
Torsten Dittmann
6dd41b52c3 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 13:38:39 +02:00
Torsten Dittmann
50e50fa94b feat: use internal ids for database indexes and attributes 2022-06-20 13:21:36 +02:00
Torsten Dittmann
fbfb871edf
Merge pull request #3401 from appwrite/feat-internal-ids-projects
feat: internal ids for projects
2022-06-20 12:06:22 +02:00
Torsten Dittmann
3aa49f773a fix: all of the workers 2022-06-20 11:22:53 +02:00
Torsten Dittmann
4b3a90bb54 Revert "fix: workers"
This reverts commit c89b62a7b4.
2022-06-20 09:37:00 +02:00
Torsten Dittmann
c89b62a7b4 fix: workers 2022-06-19 12:54:47 +02:00
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Torsten Dittmann
68264a0fe0 fix: tests and adaption to review 2022-06-13 14:43:17 +02:00
Torsten Dittmann
73a00438ae Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-13 14:29:29 +02:00
Torsten Dittmann
70c98b0cfc feat: messaging worker 2022-06-08 15:57:34 +02:00
shimon
64ba33f3aa Small fix 2022-06-08 10:19:50 +03:00
shimon
54f6556204 sign webhook flow 2022-06-07 18:11:07 +03:00
Torsten Dittmann
4327ff912f feat: remove expired sessions with maintenance task 2022-06-02 12:20:03 +02:00
Everly Precia Suresh
746dc72439 fix merge conflicts 2022-05-31 11:32:46 +00:00
Everly Precia Suresh
1fd7359fbb fix linter issues in app directory 2022-05-30 17:41:25 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Christy Jacob
287c32cbbe fix: empty build logs 2022-05-20 03:43:35 +04:00
Everly Precia Suresh
5372c3e359 fix merge conflicts + update version 2022-05-19 09:55:10 +00:00
Torsten Dittmann
eaecea05f9 fix: leftovers 2022-05-18 16:47:44 +02:00
Torsten Dittmann
bef1a902ee fix: scheduled functions execution 2022-05-18 16:31:29 +02:00