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

412 commits

Author SHA1 Message Date
Steven Nguyen
01f77fa993 Ensure empty datetimes are 0 in 0.15 response
Because empty datetimes are invalid, strtotime returned false so the
response was false rather than 0.
2022-09-20 02:48:40 +00:00
Torsten Dittmann
d0c3f52ab6 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-migration-1.0.0 2022-09-14 10:20:42 +02:00
Torsten Dittmann
f97280d071 tests: remove unnecessary import 2022-09-14 10:17:50 +02:00
Torsten Dittmann
f388f3801a Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-migration-1.0.0 2022-09-14 09:28:25 +02:00
Jake Barnby
ce42915ce5
Fix messaging channels subscription count tests 2022-09-14 18:10:42 +12:00
Jake Barnby
696c4bfde3
Merge remote-tracking branch 'origin/0.16.x' into feat-grant-verified-dimension 2022-09-14 17:31:23 +12:00
Steven Nguyen
041066520f Fix some sdk methods for V15 request filter 2022-09-13 21:28:23 +00:00
Steven Nguyen
2da7da0558 Remove response parse of log $createdAt and $updatedAt 2022-09-13 21:18:13 +00:00
Steven Nguyen
717abccd10 Fix V15 response format for functions and executions 2022-09-13 20:43:46 +00:00
Jake Barnby
53e6a3e312
Add verified/unverified role tests 2022-09-14 00:45:57 +12:00
Steven Nguyen
7f0d4e6c36 Merge branch '0.16.x' into feat-response-filters-0.16.x 2022-09-12 22:21:52 +00:00
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
Matej Bačo
79c5683574 Add SCryptModified logic 2022-05-02 15:00:17 +00:00
Matej Bačo
3f3858f0b3 TODO added 2022-05-01 14:14:16 +00:00
Matej Bačo
5b680d28d0 Abstract class, more tests, PHPass algo 2022-05-01 14:13:59 +00:00
Torsten Dittmann
d85c341875 fix: events config 2022-04-20 15:34:55 +02:00
Torsten Dittmann
7790d72c0c fix: realtime, tests and webhooks 2022-04-18 18:21:45 +02:00
Jake Barnby
47642f63ff
Fix API schema build arg types 2022-04-08 19:04:15 +12:00
Jake Barnby
48c610348e
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/controllers/api/projects.php
#	app/controllers/api/users.php
#	app/controllers/general.php
#	app/http.php
#	app/init.php
#	composer.lock
#	src/Appwrite/Utopia/Response.php
2022-04-05 16:44:38 +12:00
Torsten Dittmann
2f9b9445dd sync with devices 2022-04-04 08:30:07 +02:00
Torsten Dittmann
6de577191b feat: event model parsing 2022-03-29 11:30:57 +03:00
Christy Jacob
c91abb5d60 feat: remove irrelevant migration tests 2022-03-02 04:05:35 +04:00
Christy Jacob
cf2fee5b6f Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor 2022-02-23 16:25:31 +04:00
Torsten Dittmann
721c857dbc test: disable migration test for now 2022-02-22 09:55:49 +01:00
Christy Jacob
4ad47061dd Merge branch 'master' of github.com:appwrite/appwrite into feat-functions-refactor 2022-02-18 13:38:54 +04:00
Torsten Dittmann
79c79cd96e fix: url scheme validation 2022-02-16 16:16:37 +01:00
Matej Baco
4ff32612c8 Fixing tests 2022-02-04 16:25:54 +01:00
Christy Jacob
7d82c1006a feat: fix tests 2022-02-01 03:44:55 +04:00
Torsten Dittmann
6f6a7eb6f8 feat: add migration to populate search fields 2022-01-19 12:59:58 +01:00
Torsten Dittmann
d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Matej Baco
592ab3ab00 WIP: Request filters refactor (into HTTP.php) 2021-12-30 17:17:01 +01:00
Torsten Dittmann
166c906d51 fix: collection level permissions 2021-12-16 19:12:06 +01:00
Torsten Dittmann
aef6c11370 fix(auth): use getRoles instead of static property 2021-12-10 18:52:33 +01:00
Torsten Dittmann
f04cb72cfb Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-main-rebase 2021-12-01 14:19:41 +01:00
Torsten Dittmann
ac796048d8 replace old collections file 2021-12-01 12:48:23 +01:00
Christy Jacob
7d613c181a
Merge pull request #2202 from saintmalik/doc-fix-typos
doc: Fix typos
2021-11-28 15:52:10 +04:00
kodumbeats
61ffe18d2b Update password validator tests 2021-11-25 17:31:18 -05:00
Christy Jacob
8141043946 Merge branch 'master' into feat-graphql-support 2021-11-16 11:09:21 +04:00
Torsten Dittmann
1fd4e6c3c8 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing 2021-10-25 16:01:07 +02:00
Torsten Dittmann
142e623cd1 tests(unit): migration type 2021-10-15 18:55:39 +02:00
Torsten Dittmann
b44cfb5d2b fix(tests): class name collision 2021-10-15 18:31:24 +02:00
Torsten Dittmann
441156da7c chore(release): prepare 0.11.0 release 2021-10-15 18:11:20 +02:00
SaintMalik
32e513012e doc: Fix typos 2021-10-12 19:22:41 +01:00
Torsten Dittmann
f09742175c fix auth tests 2021-10-07 22:24:09 +02:00
Torsten Dittmann
746b9c651e fix auth tests 2021-10-07 21:27:23 +02:00
Torsten Dittmann
4829b488f5 fix auth tests 2021-10-07 21:19:58 +02:00
Torsten Dittmann
a585a9090a fix realtime with db refactor 2021-10-07 17:35:17 +02:00
Torsten Dittmann
1ed41f52d3 Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-09-30 12:32:10 +02:00
Torsten Dittmann
978f15c1c1 extend tests 2021-09-03 18:05:50 +02:00
Torsten Dittmann
1f7bad1560 add test 2021-09-03 17:59:02 +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