1
0
Fork 0
mirror of synced 2024-08-04 04:52:03 +12:00
Commit graph

351 commits

Author SHA1 Message Date
Steven Nguyen
1d7c25354a Update response filters for usage 2022-09-12 22:15:13 +00:00
Steven Nguyen
79b57cf696 Update response filters for list models 2022-09-12 19:07:08 +00:00
Torsten Dittmann
22038daa0e chore: remove old broken migrations 2022-09-12 16:20:53 +02:00
Steven Nguyen
71206a9886 Update V15 response filter and add tests 2022-09-10 01:00:20 +00:00
Steven Nguyen
668ebe4f41 Update V15 request filters for storage, teams, and users 2022-09-09 17:56:13 +00:00
Jake Barnby
7132e3a7f6
Assign member role for all of a users confirmed team memberships 2022-09-09 11:58:54 +12:00
Steven Nguyen
ddd15921a3 Update V15 request filters
Request filters are in place for the following services:
* account
* databases
* functions
* projects
2022-09-08 23:55:29 +00:00
Christy Jacob
687ba70f77
Merge pull request #3745 from appwrite/feat-release-preps
Feat: Release preparations
2022-09-01 14:00:11 +02:00
Matej Bačo
0ce1e5fa51 Update realtime tests for new confirmation check 2022-09-01 09:15:09 +00:00
Matej Bačo
3bb836a101 Update tests to support new confirmation check 2022-09-01 09:09:38 +00:00
Matej Bačo
ebdef8afa7 Linter fix 2022-09-01 05:26:49 +00:00
Matej Bačo
2386381d03 Fix tests 2022-09-01 05:26:16 +00:00
Christy Jacob
fe8295c2ec Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-30 17:35:46 +00:00
Christy Jacob
7591f68970
Merge pull request #3702 from appwrite/feat-list-endpoints-queries
Feat: List endpoint queries
2022-08-30 14:56:09 +02:00
Matej Bačo
b8f6393df6 PR review changes 2022-08-30 08:57:10 +00:00
Matej Bačo
889eaff418 Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-29 08:52:28 +00:00
Christy Jacob
f6e7d00b1e Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-list-users-queries 2022-08-27 20:21:51 +00:00
Christy Jacob
8cacf91e09 feat: fix stats test namespace 2022-08-27 20:08:03 +00:00
Jake Barnby
55450a5ebc Add missing toString calls 2022-08-27 16:06:38 +12:00
Jake Barnby
790276fced Review test updates 2022-08-27 15:16:37 +12: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
Matej Bačo
4645fcd0c8 Fix tests 2022-08-24 10:31:47 +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
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
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
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
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
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
fogelito
f52d28e75f Auth tests 2022-08-15 22:18:37 +03:00
Jake Barnby
33970276b2 Self review 2022-08-15 19:20:10 +12:00
Eldad Fux
9b897629ba Fixed code generator 2022-08-14 21:57:23 +03:00
Eldad Fux
fbd5835bd9 Fixed test 2022-08-14 21:33:52 +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
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
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
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +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
Jake Barnby
09b001e891 PR fixes 2022-08-13 02:41:57 +12:00
Damodar Lohani
cf369a9f12 rename test 2022-08-09 07:04:59 +00:00
Damodar Lohani
bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby
cb7bafbdc0 Storage test fixes 2022-08-08 23:00:15 +12:00
Jake Barnby
62b1eba836 Replace write refs 2022-08-05 17:23:18 +12:00
Jake Barnby
7b9fb32fae Update role references 2022-08-03 21:52:34 +12:00
Jake Barnby
1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Jake Barnby
ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Torsten Dittmann
bf9533007b tests: fix unit tests 2022-08-01 12:22:04 +02: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
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
Jake Barnby
a656699fa7 Code cleanup 2022-07-13 21:34:56 +12:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
Jake Barnby
10a5c24a63 Format and lint 2022-07-12 09:52:00 +12:00
fogelito
b01f4ed802 Unit Tests 2022-07-06 18:07:50 +03:00
fogelito
e034b4a331 unit auth 2022-07-05 19:57:19 +03:00
Jake Barnby
9d134a949f Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/general.php
#	app/init.php
#	composer.json
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
2022-07-01 00:05:44 +12:00
Matej Baco
77941bcf73 Fix scrypt ext 2022-06-24 16:10:28 +02:00
Matej Bačo
5a10a9494f
Update SCrypt tests 2022-06-24 14:30:39 +02:00
Torsten Dittmann
d26baf1f57 fix: migration and add more tests 2022-06-23 10:18:23 +02: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
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
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
Jake Barnby
e865f77a6b Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	app/config/errors.php
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/init.php
#	composer.json
#	composer.lock
2022-06-20 11:15:22 +12:00
Matej Baco
62ec121a5e Improved docs 2022-06-17 11:25:28 +02:00
Matej Bačo
0aaee54a63 Fix snake_case 2022-06-16 09:21:35 +00:00
Christy Jacob
b56fb8f6f4 fix: linter issues 2022-06-14 20:00:02 +02:00
Christy Jacob
cdff6cc2ec feat: add DSN 2022-06-14 17:10:09 +02:00
Matej Bačo
0aaa5779ab Linter fixes 2022-06-14 11:08:54 +00:00
Matej Bačo
64ee483665 Implemented hashhing import API endpoints, fixed SCrypt 2022-06-14 09:05:46 +00:00
Matej Bačo
0d94e4c9ce Merge branch 'master' into feat-password-hash-algos 2022-06-10 08:03:09 +00:00
Torsten Dittmann
dc25883685 feat: add update and verification method for account and users 2022-06-08 14:50:31 +02:00
Torsten Dittmann
8ce669da6f feat: initial phone authentication 2022-06-08 11:00:38 +02:00
Everly Precia Suresh
a64b3365a6 Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-30 17:42:50 +00:00
Bradley Schofield
3ae1f63679 Remove duplicate tests 2022-05-30 14:50:12 +00:00
Bradley Schofield
1602c06285 Update CNAME test domains 2022-05-30 14:45:13 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Torsten Dittmann
3199baa14f tests: add more variety to migration tests 2022-05-19 14:21:21 +02:00
Torsten Dittmann
33486ee2eb tests: fix naming in migration 2022-05-19 14:18:55 +02:00
Torsten Dittmann
0a559a3562 tests: add more migration tests 2022-05-19 14:17:18 +02:00
Torsten Dittmann
03723c0f90 tests: remove unused event 2022-05-12 19:24:54 +02:00
Torsten Dittmann
07369cbfd2 feat: migration for 0.14 2022-05-08 16:31:50 +02:00
Torsten Dittmann
95317d87b8 fix: event validator 2022-05-08 16:31:32 +02:00
Matej Bačo
deb1c95c47 Implemented SHA 2022-05-06 14:35:08 +00:00
Matej Bačo
521eb439b0 Code cleanup 2022-05-05 11:53:27 +00:00
Matej Bačo
55c8caf0cc Algo2 hash, adding pr review changes 2022-05-04 14:37:37 +00:00
Matej Bačo
bc1b62f7da Merge branch 'master' into feat-password-hash-algos 2022-05-04 13:33:32 +00:00