1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00
Commit graph

1980 commits

Author SHA1 Message Date
Matej Bačo 281eb2fafe Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-26 07:40:35 +00:00
Steven 60a4563908 Fix usage tests 2022-08-25 22:15:11 +00:00
Matej Bačo 6dcfbe2e17 Fix tests 2022-08-25 11:33:34 +00:00
Jake Barnby a373297a6b Add storage tests for all roles and permission levels 2022-08-25 23:29:23 +12:00
Matej Bačo 9d440552bd Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-25 10:02:27 +00:00
Matej Bačo c85363f355 Fix bugs after merge 2022-08-25 09:59:28 +00:00
Matej Baco 8513bb2dbe Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-25 11:14:42 +02:00
Matej Baco fd1068a600 Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries 2022-08-25 10:56:06 +02:00
Matej Baco c6e614d896 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-25 10:38:43 +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
Steven fc38771d69 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-24 18:52:39 +00:00
Matej Bačo b765ad603d Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-24 14:12:41 +00:00
Jake Barnby e0a1f4b8fe Database test updates 2022-08-25 01:32:52 +12:00
Matej Bačo 25590cc210 Add list queries test for databases 2022-08-24 12:43:07 +00:00
Matej Bačo c3372e4a1f Fix linter 2022-08-24 11:57:00 +00:00
Matej Bačo 22f05b4cf8 Include new tests, fix existing 2022-08-24 11:55:43 +00:00
Matej Bačo 4645fcd0c8 Fix tests 2022-08-24 10:31:47 +00:00
Matej Bačo bd7395cb44 Bug fixing, upgrade tests to new syntax 2022-08-24 09:22:13 +00:00
Matej Bačo 11c8fccd88 PR review changes 2022-08-23 15:01:57 +00:00
Steven 66ff297103 Refactor Queries Validation 2022-08-22 19:16:20 +00:00
Steven 146cb6a0d8 Fix list user logs tests 2022-08-19 23:31:02 +00:00
Steven 3890dea35b Add additional Validators for Queries 2022-08-19 23:20:22 +00:00
Steven a5bc07c9e4 Merge branch 'feat-list-users-queries' into feat-list-user-logs-queries 2022-08-19 22:00:54 +00:00
Steven f03510ef6b Fix test after merge 2022-08-19 21:09:50 +00:00
Steven c1cdad5566 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-19 14:50:50 +00: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
Matej Bačo 30c157c23e Linter fix, update tests 2022-08-19 09:43:03 +00: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
Jake Barnby 66539bbe3a Review updates for role helper usage 2022-08-19 16:04:33 +12:00
Steven 27f69e3c09 Consolidate List User Logs API params
Replace limit and offset params with a single queries param since the
Queries V2 change now allows for different types of queries.
2022-08-19 00:09:34 +00:00
Steven f0d66985f7 Consolidate List Users API params
Replace search, limit, offset, cursor, cursorDirection, and orderType
params with a single queries param since the Queries V2 change now
allows for different types of queries.
2022-08-18 19:30:39 +00:00
Damodar Lohani 7c2ecaec4b correct function status 2022-08-18 05:13:30 +00:00
Damodar Lohani e63e79d3f9 linter fix 2022-08-18 01:50:55 +00:00
Damodar Lohani acd5dfc23f update functions test 2022-08-18 01:49:41 +00: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
Damodar Lohani b28d3ce302 fix usage test 2022-08-18 00:36:25 +00:00
fogelito c21b563614 Merge branch 'refactor-permissions-inc-console-fix' of github.com:appwrite/appwrite into datetime-jake-tz
 Conflicts:
	app/controllers/general.php
	composer.json
	composer.lock
2022-08-17 21:04:23 +03:00
Damodar Lohani fca655a48d function usage test 2022-08-17 10:36:30 +00: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
shimon 1e404e379b sync with 0.16 2022-08-17 10:59:23 +03:00
shimon 2dc8fba40a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/account.php
	app/controllers/api/users.php
	composer.json
	composer.lock
2022-08-17 10:05:37 +03:00
Damodar Lohani 80dfa85c82 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 00:45:07 +00: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
Matej Bačo 4e7c976608 Fix node runtime test 2022-08-16 14:58:42 +00:00
Matej Bačo 7d9f973c62 Fix escaping, write tests for stdout/stderr, upgrade runtimes to V2 2022-08-16 14:49:08 +00:00
Matej Bačo 2814a6f680 Linter fix 2022-08-16 13:03:38 +00:00
Matej Bačo 3088535806 Added phone number to UsersAPI createUser + tests 2022-08-16 13:02:28 +00:00
Matej Bačo 1e96f8c3d9 Revert changes regarding AccountAPI createAccount 2022-08-16 12:05:46 +00:00
Jake Barnby 63977da7ee Lint 2022-08-16 23:39:57 +12:00
Jake Barnby 24af94c569 Fix tests 2022-08-16 23:29:11 +12:00
shimon de42895096 fill gaps from merge 2022-08-16 14:27:50 +03:00
Jake Barnby fb34ecfa7d Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/api/storage.php
#	app/controllers/api/teams.php
#	app/controllers/api/users.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
Christy Jacob 5b7b39a300
Revert "Fix Endpoint Order" 2022-08-16 12:29:03 +05:30
fogelito f52d28e75f Auth tests 2022-08-15 22:18:37 +03:00
fogelito 9c82a842b6 tests for database + account 2022-08-15 19:08:17 +03:00
shimon 67d12d3120 some fixes 2022-08-15 15:16:32 +03:00
Jake Barnby 564f5dbf64 Find replace fix 2022-08-15 23:40:41 +12: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
Jake Barnby 33970276b2 Self review 2022-08-15 19:20:10 +12:00
Christy Jacob 794f07c3b0 feat: accounts test 2022-08-15 12:13:09 +05:30
Damodar Lohani 5472898759 fix naming 2022-08-15 00:50:51 +00:00
shimon cabe989555 some fixes 2022-08-14 22:42:20 +03:00
Eldad Fux 9b897629ba Fixed code generator 2022-08-14 21:57:23 +03:00
shimon 6fd01a6721 some fixes 2022-08-14 21:39:44 +03:00
Eldad Fux fbd5835bd9 Fixed test 2022-08-14 21:33:52 +03:00
Eldad Fux 95181546b4 Adpated tests 2022-08-14 21:09:24 +03:00
Eldad Fux bd77354926 Fixed test 2022-08-14 20:22:01 +03:00
Eldad Fux be36b31c4e Added missing test for new codeGenerator 2022-08-14 19:53:55 +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
Eldad Fux 7d83f9d644 Removed import path 2022-08-14 19:29:07 +03:00
Eldad Fux 98fc8669e1 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-password-hash-algos 2022-08-14 19:23:30 +03:00
Jake Barnby 613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Eldad Fux b36c24c508 Decouple Auth code from SMS provider adapter 2022-08-14 17:19:58 +03: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 e75dace600 fix storage usage test to match response 2022-08-14 11:19:24 +00:00
Damodar Lohani cf86481d31 fix test to use updated response model 2022-08-14 11:16:54 +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
Jake Barnby 2ca2f4e135 Update audits 2022-08-14 03:17:18 +12:00
Jake Barnby 70758927cd Test fixes 2022-08-14 02:55:15 +12: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
Jake Barnby 68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
Eldad A. Fux a91584853c
Merge pull request #3558 from appwrite/fix-teams-roles-no-owner
Fix teams roles no owner
2022-08-13 12:37:11 +03:00
Eldad A. Fux ba239de8be
Merge branch '0.16.x' into fix-unit-tests 2022-08-13 12:28:33 +03:00
Damodar Lohani 74a159ab99 fix key 2022-08-13 03:44:57 +00: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 9693c6e941 Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x 2022-08-12 21:44:36 +05:30
Jake Barnby 8d4191b1a0 Lint 2022-08-13 02:46:50 +12:00
Jake Barnby 09b001e891 PR fixes 2022-08-13 02:41:57 +12:00
Jake Barnby d2b9102f84 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby 5c6cb2a422 Test fixes 2022-08-13 00:49:57 +12:00
Jake Barnby c104860448 Use roles validator for function execution 2022-08-13 00:23:58 +12:00
Jake Barnby 1d7c25b561 Single role per permissions entry 2022-08-12 22:36:59 +12:00
Damodar Lohani b5f5aff626 fix response and project usage issues 2022-08-11 06:05:38 +00:00
Damodar Lohani 73f675aebe Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-11 01:15:29 +00:00
Bradley Schofield c566f1e7c9 Fix Tests 2: Electric Boogaloo 2022-08-10 10:32:48 +01:00
shimon d31c23d25a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/databases.php
2022-08-10 12:18:05 +03:00
Jake Barnby 25e893f712 Revert sdk-generator to master 2022-08-10 18:02:23 +12:00
Bradley Schofield 42e0895dad Fix Tests 2022-08-09 16:29:24 +01:00
Bradley Schofield 6882ffaa00 Merge branch '0.16.x' into feat-variables-api 2022-08-09 13:37:24 +01:00
fogelito db5d737235 Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
 Conflicts:
	tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Jake Barnby a61fd030ff Fix storage tests 2022-08-09 19:11:30 +12:00
Damodar Lohani cf369a9f12 rename test 2022-08-09 07:04:59 +00:00
Jake Barnby 3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12:00
Damodar Lohani bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby 216486a4c6 Fix DB tests 2022-08-09 18:03:41 +12:00
Jake Barnby fa61dada55 Fix erroneous whitespace 2022-08-09 14:48:56 +12:00
Jake Barnby cb7bafbdc0 Storage test fixes 2022-08-08 23:00:15 +12:00
Jake Barnby 8317b167ce Databases test fixes 2022-08-08 23:00:03 +12:00
Damodar Lohani ff794dc215 commenting out functions stat test as it seems to be inconsistent 2022-08-08 02:20:18 +00:00
Jake Barnby e8af744c97 More write ref updates 2022-08-05 18:00:56 +12:00
Jake Barnby 62b1eba836 Replace write refs 2022-08-05 17:23:18 +12:00
Damodar Lohani 34794d2554 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-04 06:03:39 +00:00
Jake Barnby d9f0ece812 Remove new properties from DB level 2022-08-04 12:08:16 +12:00
Bradley Schofield 2650706be1 Run Linter 2022-08-03 13:35:11 +00:00
Bradley Schofield f62ad19ecd Fix old function tests 2022-08-03 13:32:50 +00:00
Jake Barnby 1f0b55bfed Update execute permission refs 2022-08-03 22:11:39 +12:00
Jake Barnby 7b9fb32fae Update role references 2022-08-03 21:52:34 +12:00
Bradley Schofield 67fa3f728c Run Linter 2022-08-03 10:13:34 +01:00
Jake Barnby 1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Bradley Schofield 452a8512c4 Add Tests 2022-08-02 16:11:15 +00:00
Jake Barnby ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Jake Barnby 4520114780 Refactor storage to use new permissions 2022-08-02 21:19:15 +12:00
Jake Barnby 9a182d615a Refactor databases to use new permissions 2022-08-02 21:18:49 +12:00
fogelito 3df0ba27fd testPersistantCreatedAt 2022-08-01 17:00:57 +03:00
Torsten Dittmann 6db2ce2a40 fix: datetime structure validator 2022-08-01 13:43:30 +02:00
Torsten Dittmann bf9533007b tests: fix unit tests 2022-08-01 12:22:04 +02:00
fogelito 13474985dc tests need to fix error 500 on line 2096 2022-07-31 16:06:50 +03:00
fogelito 468692f5e4 some more tests 2022-07-31 15:32:41 +03:00
fogelito d6760bfbee fix tests $created and datetime queries 2022-07-31 13:07:15 +03:00
fogelito a587547e2c queries tests for datetime and more 2022-07-28 18:24:17 +03:00
fogelito ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
Damodar Lohani e922c9bc72 make tests dependent 2022-07-28 09:01:03 +00:00
Damodar Lohani a0df8e7989 make test dependent 2022-07-28 07:28:00 +00:00
Damodar Lohani 62e1f8e96d fix missing semi-colon 2022-07-27 08:31:59 +00:00
Damodar Lohani 04eeb28c62 refactor to back 2022-07-27 08:28:23 +00:00
Damodar Lohani 85256f545c remove teardown 2022-07-27 08:14:31 +00:00
Damodar Lohani e9bbcc9135 create project only once 2022-07-27 08:14:16 +00:00
Damodar Lohani c823ca7ac6 make dependent to create only one project 2022-07-27 08:13:20 +00:00
Damodar Lohani f85497a421 function test 2022-07-27 08:05:50 +00:00
Jake Barnby 1e95279fc0 Fix role checks 2022-07-27 20:01:37 +12:00
Matej Bačo 4bc645074a Fix linter 2022-07-25 12:43:17 +00:00
Matej Bačo dbccf39a9f Merge branch 'master' into feat-password-hash-algos 2022-07-25 12:37:07 +00:00
fogelito 3cc23c8e5b Add attribute datetime 2022-07-25 12:18:08 +03:00
fogelito 95fc47048a Add attribute datetime 2022-07-25 12:09:51 +03:00
fogelito b58c04c28b Add attribute datetime 2022-07-25 11:53:41 +03:00
Fawzi E. Abdulfattah 9f45bce55f Fixing #3583 - create team membership to return added person name and email
Signed-off-by: Fawzi E. Abdulfattah <iifawzie@gmail.com>
2022-07-23 01:51:58 +02:00
Bradley Schofield 3623d41fd3 Update RealtimeCustomClientTest.php 2022-07-20 14:25:05 +01:00
Bradley Schofield ac184a6fe3 Fix realtime and webhook tests 2022-07-20 13:43:18 +01:00
Bradley Schofield 4d729b9d39 Update Tests for Functions 2022-07-20 13:01:18 +01:00
Damodar Lohani dea9aef965 convert execution/compute time to integer in test 2022-07-20 10:25:48 +00:00
fogelito 169fb4d6f4 audit + abuse datetime changes 2022-07-19 17:52:06 +03:00
Damodar Lohani 3d5c8b0053 fix naming of keys 2022-07-19 01:55:35 +00:00
Bradley Schofield 74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Jake Barnby 2b8e992646 Add roles to create team test 2022-07-18 21:26:58 +12:00
Damodar Lohani ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Damodar Lohani 9fe6c0a3c0 functions test 2022-07-17 09:33:24 +00: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
fogelito bded3da5df Fix comments 2022-07-14 17:56:50 +03:00
fogelito 1b74473421 remove comments 2022-07-14 16:51:47 +03:00
fogelito 97250d8193 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-07-14 16:35:25 +03:00
fogelito 0816dd15f9 remove comments 2022-07-14 16:12:44 +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 30054d177b web hook test for joined 2022-07-13 19:28:03 +03:00
fogelito 45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito 76b65c5dea change test validations from strings to datetime 2022-07-13 16:55:57 +03:00
fogelito 7ab26e5b0d change test validations from strings to datetime 2022-07-13 15:51:27 +03:00
fogelito fc39281bdb change test validations from strings to datetime 2022-07-12 21:12:35 +03:00
fogelito 2a9983032d change test validations from strings to datetime 2022-07-12 20:51:00 +03:00
fogelito f676a0bf9e change test validations from strings to datetime 2022-07-12 19:44:58 +03:00
fogelito f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
Torsten Dittmann 648b6f2038
Merge pull request #3532 from appwrite/fix-permission-array-lengths
Fix: Permissions validator max-length
2022-07-11 13:16:55 +02:00
Torsten Dittmann f53b5121af
Merge pull request #3519 from appwrite/feat-improve-dates-tests
Implemented updateDocument date tests
2022-07-11 12:12:12 +02:00
Matej Bačo aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
Damodar Lohani 1c5e84324b functions test 2022-07-10 02:12:49 +00:00
Matej Bačo 8fa227f3da New date test 2022-07-08 09:38:49 +00:00
Matej Bačo 76921ced71 Implemented updateDocument date tests 2022-07-08 09:36:19 +00:00
Steven 3666d0ab73 Add alias for POST /v1/account/sessions/email
Add /v1/account/sessions as an alias for POST /v1/account/sessions/email
for backwards compatibility.
2022-07-07 22:23:52 +00:00
fogelito e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
fogelito 05f8352837 test fix 2022-07-07 11:07:42 +03:00
fogelito 29436c1e5f Datetime change for joined and invited 2022-07-07 10:44:28 +03:00
fogelito b01f4ed802 Unit Tests 2022-07-06 18:07:50 +03:00
fogelito d7244bd9ba Tests 2022-07-06 17:47:34 +03:00
Torsten Dittmann a02800695a
Merge pull request #3506 from appwrite/fix-realtime-manual-authentication
fix: realtime authentication on console
2022-07-06 13:50:22 +02:00
Torsten Dittmann 806a67b1b0 fix: realtime authentication on console 2022-07-06 12:53:30 +02:00
Damodar Lohani 5d3c5a151f error checking and increase wait time 2022-07-06 05:16:25 +00:00
Steven Nguyen ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00:00
Damodar Lohani 4422613248 update tests with less waiting time 2022-07-06 01:56:47 +00:00
fogelito ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito e034b4a331 unit auth 2022-07-05 19:57:19 +03:00
fogelito 2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
Damodar Lohani c5b0a40279 fix linter errors 2022-07-05 07:11:27 +00:00
Damodar Lohani e4144f2c64 remove dump 2022-07-05 07:05:06 +00:00
Damodar Lohani ee6abd45db databases tests 2022-07-05 06:53:57 +00:00
fogelito 903ca342cb Model changes 2022-07-04 13:11:38 +03:00
fogelito 8628105eef Model changes 2022-07-04 12:55:11 +03:00
Damodar Lohani f4d74c4935 namespace 2022-07-04 09:31:14 +00:00
Damodar Lohani 9486a6b2a3 storage usage tests 2022-07-04 09:00:07 +00:00
Damodar Lohani 14dda66c03 more work on tests 2022-07-03 13:10:26 +00:00
Damodar Lohani c6553aef3d linter fixes 2022-07-03 12:11:43 +00:00
Damodar Lohani d5e8b23577 more tests 2022-07-03 02:42:13 +00:00
Damodar Lohani 69a036b2b7 fix linter 2022-07-03 01:09:11 +00:00
fogelito e07e5b5cf8 changing datetime from timestamp to datetime 2022-07-01 15:01:14 +03:00
Damodar Lohani 1c1442a4fc linters fix 2022-06-30 09:40:27 +00:00
Damodar Lohani 477bc95a00 fixed test 2022-06-30 09:37:59 +00:00
Damodar Lohani 02f45abcb9 initial e2e test for usage stats 2022-06-30 09:33:40 +00:00
Damodar Lohani 7a58814c61 WIP 2022-06-30 04:27:11 +00:00
Torsten Dittmann f438d4695d
Merge pull request #3405 from appwrite/fix-internal-indexes
Feat: Allow internal indexes
2022-06-28 14:21:27 +02:00
Matej Bačo d8f0e5eb17 Implement tests 2022-06-28 10:53:16 +00:00
Torsten Dittmann 904baec1b9 chore: update composer 2022-06-27 22:08:23 +02:00
Matej Baco 77941bcf73 Fix scrypt ext 2022-06-24 16:10:28 +02:00
Torsten Dittmann 5c12350248 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-migration-0-15-x 2022-06-24 15:36:28 +02:00
Matej Bačo 5a10a9494f
Update SCrypt tests 2022-06-24 14:30:39 +02:00
Torsten Dittmann 4593fc9ef2 tests: fix tests from master 2022-06-24 14:18:10 +02:00
Torsten Dittmann ef1daf8f1c Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-24 14:15:42 +02:00
Torsten Dittmann 0f0654d49e
Merge pull request #3346 from gepd/feat-empty-payload
Allows to update permissions without payload
2022-06-24 14:09:01 +02:00
Torsten Dittmann d26baf1f57 fix: migration and add more tests 2022-06-23 10:18:23 +02:00
Matej Bačo 3f8ab486c2 Lock createdAt 2022-06-23 08:17:02 +00:00
gepd 020e08143e
fix linter 2022-06-22 20:45:33 -04:00
gepd addfae2f46
fix tests 2022-06-22 19:38:56 -04:00
Torsten Dittmann 604c7e4992 fix: database layer migration 2022-06-22 15:52:21 +02:00
Torsten Dittmann 7e3040076b Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-migration-0-15-x 2022-06-22 12:52:27 +02: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 8e3aef135d Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-migration-0-15-x 2022-06-22 11:27:28 +02:00
Torsten Dittmann 9d7b6927d6 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-increase-array-element-length 2022-06-22 11:10:03 +02:00
Matej Bačo bd9cb92035 Fix tests 2022-06-22 08:00:12 +00:00
Matej Bačo 9e11941aae Added query length tests 2022-06-22 07:47:02 +00:00
Torsten Dittmann 84ed87d7c3 tests: add test for migration 2022-06-21 20:21:36 +02:00
Matej Bačo d9a88515bc Merge remote-tracking branch 'origin/0.15.x' into feat-password-hash-algos 2022-06-21 14:03:19 +00:00
Matej Bačo a5836ecc60 PR review changes 2022-06-21 13:59:52 +00:00
gepd 6cc6928ce9
simplified test 2022-06-20 22:11:47 -04:00
gepd c2ce37e6f3
added read and write permissions 2022-06-20 20:41:12 -04:00
gepd 9dab76f357
get $id from response 2022-06-20 19:32:24 -04:00
gepd 5067a4640b
Remove $data argument 2022-06-20 19:04:40 -04:00
gepd bfe3cdecc5
create collection and attribute 2022-06-20 18:33:26 -04:00
gepd dab6f97a31
remove dependency 2022-06-20 18:24:51 -04:00
gepd 43ed2591d0
added empty array as default 2022-06-20 16:28:45 -04:00
gepd 52757ef89f
updated test 2022-06-20 15:53:41 -04:00
gepd 0bade37a26
updated test 2022-06-20 15:15:49 -04:00
Torsten Dittmann ef15ea8318 fix: method to generate new webhook signature 2022-06-20 20:35:33 +02:00
gepd 7cb19a725f
fixed minor typo 2022-06-20 14:24:49 -04:00
gepd ca455b380e
Fixed linting errors 2022-06-20 14:03:15 -04:00
gepd 7b60a36eea
added test to update permissions with empty payload 2022-06-20 13:49:34 -04:00