1
0
Fork 0
mirror of synced 2024-07-07 23:46:11 +12:00
Commit graph

1637 commits

Author SHA1 Message Date
Jake Barnby 4a0042f3d6 Add avatars service tests 2022-07-04 18:16:32 +12:00
Jake Barnby c22ffc1dfe Add locale service tests 2022-07-04 18:16:16 +12:00
Jake Barnby ac10ed31ac Split function tests 2022-07-04 18:16:06 +12:00
Jake Barnby 7b547456fe Add graphql functions server tests 2022-07-04 16:14:37 +12:00
Jake Barnby 4ba33daf46 WIP storage service tests 2022-07-01 18:58:15 +12:00
Jake Barnby fb53acbf2a Database test fixes 2022-07-01 18:58:03 +12:00
Jake Barnby bdd65ed448 User test updates for 0.15 2022-07-01 12:02:59 +12:00
Jake Barnby 845e32e5e1 Account phone test updates for 0.15 2022-07-01 11:54:18 +12:00
Jake Barnby 1d797dacc6 Fix account tests for 0.15 2022-07-01 11:37:46 +12:00
Jake Barnby 7c8cc39d07 Update database queries for 0.15 2022-07-01 10:44:41 +12: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
Jake Barnby b61764693f WIP database service tests 2022-07-01 00:00:00 +12:00
Jake Barnby ee9e204410 Add teams service tests 2022-06-30 22:48:15 +12:00
Jake Barnby fead0f89b9 Remove redundant tests 2022-06-30 21:27:06 +12:00
Jake Barnby 2b3ba0370b Add users service tests 2022-06-30 21:26:46 +12:00
Jake Barnby 61913f9e46 Add account service tests 2022-06-30 21:26:23 +12:00
Jake Barnby 65f82b47fe Add extra account and user queries 2022-06-30 21:25:16 +12:00
Jake Barnby be0fd7d1f4 Explicit visibility for route keys + add extras for account and user 2022-06-30 21:24:40 +12:00
Jake Barnby f85169452a Add session ID to scope user state 2022-06-30 21:23:38 +12: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
Jake Barnby b09e5aac8a Test fixes 2022-06-27 18:46:01 +12:00
Jake Barnby d019937e4f Merge remote-tracking branch 'origin/fix-role-clobbering' into feat-graphql-support
# Conflicts:
#	composer.lock
2022-06-27 14:52:39 +12:00
Jake Barnby 4367d1bafc Fix collection test syntax 2022-06-27 14:21:58 +12: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
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 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
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
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 aa86c26d18 tests: fix tests 2022-06-20 15:31:18 +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 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 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 52a857274d Revert "updating unit tests"
This reverts commit ddc6adedbc.
2022-06-20 09:51:35 +02:00
Torsten Dittmann 4b3a90bb54 Revert "fix: workers"
This reverts commit c89b62a7b4.
2022-06-20 09:37:00 +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
fogelito 2438fd3666 move debugs 2022-06-19 18:46:37 +03:00
fogelito f637114a1a move debugs 2022-06-19 18:45:35 +03:00
fogelito ddc6adedbc updating unit tests 2022-06-19 18:08:57 +03:00
Torsten Dittmann c89b62a7b4 fix: workers 2022-06-19 12:54:47 +02:00
Torsten Dittmann 5a4a9e0739 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into origin/feat-internal-id 2022-06-19 11:43:58 +02:00
Torsten Dittmann bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
fogelito fce6f152e8 Test Index Limit Comment 2022-06-15 10:47:46 +03:00
Christy Jacob b56fb8f6f4 fix: linter issues 2022-06-14 20:00:02 +02:00
fogelito 0d1b1ddef6 Adding Account + teams + users Internal Ids to colleactions 2022-06-14 20:15:22 +03:00
Christy Jacob cdff6cc2ec feat: add DSN 2022-06-14 17:10:09 +02:00
Torsten Dittmann 8d465c67c2 feat: account sessions for emails 2022-06-14 10:17:50 +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 5ae6305eb4
Merge pull request #3345 from appwrite/feat-increase-jwt-abuse-limit
Feat increase jwt abuse limit
2022-06-09 21:15:58 +02:00
shimon 6c7a6dcd8b null on default tests 2022-06-09 18:15:34 +03:00
Jake Barnby c0cf93494c Remove var dump 2022-06-09 11:23:06 +12:00
Jake Barnby c368c5cae3 Fix ratelimit remaining header test casing 2022-06-09 11:17:15 +12:00
Torsten Dittmann dc25883685 feat: add update and verification method for account and users 2022-06-08 14:50:31 +02:00
shimon 40016f48c1 linter fix 2022-06-08 12:21:20 +03:00
Torsten Dittmann 8ce669da6f feat: initial phone authentication 2022-06-08 11:00:38 +02:00
Shimon Newman 41ccb6a72b
Update tests/e2e/Services/Webhooks/WebhooksBase.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-08 11:03:07 +03:00
shimon dea03f5396 Small fix 2022-06-08 10:20:54 +03:00
shimon 64ba33f3aa Small fix 2022-06-08 10:19:50 +03:00
shimon 71c7a48075 sign webhook flow 2022-06-07 19:02:39 +03:00
shimon 54f6556204 sign webhook flow 2022-06-07 18:11:07 +03:00
Jake Barnby 742b49723f Check for ratelimit remaining in create jwt test 2022-06-07 09:53:09 +12:00
Torsten Dittmann 94b2db96c2 chore: run formatter 2022-06-03 11:12:19 +02:00
Torsten Dittmann 372939c727 Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-03 11:09:14 +02:00
Everly Precia Suresh 8d0581e401 fix linting issues in client.php 2022-06-02 12:49:01 +00:00
Everly Precia Suresh e95be7d922 fix linting issues AccountBase.php 2022-06-02 12:47:07 +00:00
Everly Precia Suresh 5a5c11ac16 fix linting issues 2022-06-02 12:19:02 +00:00
Everly Precia Suresh 69607b4ade fix linitng issues in WebhooksCustomServerTest.php 2022-06-02 12:14:58 +00:00
Torsten Dittmann 153ac5c60d Merge branch '0.15.x' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-02 11:53:41 +02:00
shimon d39e6a842c Merge branch 'master' of github.com:appwrite/appwrite into feat-expire-key
 Conflicts:
	app/controllers/general.php
2022-06-01 09:34:34 +03:00
shimon 8013276515 api keys, validation and test 2022-06-01 09:26:55 +03:00
Steven Nguyen f645c2ce53 Update service checks to ignore server app users 2022-05-31 20:42:41 -07:00
shimon 8bca5cd13e api keys 2022-05-31 18:41:12 +03:00
Everly Precia Suresh 318df0d3f3 Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 11:55:30 +00:00
Torsten Dittmann f839903497 tests: fix timeout tests 2022-05-31 12:30:30 +02:00