1
0
Fork 0
mirror of synced 2024-07-09 08:27:01 +12:00
Commit graph

2889 commits

Author SHA1 Message Date
Damodar Lohani e169d3b019 fix usage stats on dashboard 2022-06-23 08:58:47 +00:00
Damodar Lohani 1a034d45f6 alias 2022-06-23 08:50:11 +00:00
Matej Bačo 3f8ab486c2 Lock createdAt 2022-06-23 08:17:02 +00:00
Vincent (Wen Yu) Ge 9c68e68125 Database Layers API docs updated 2022-06-22 16:28:09 +00:00
Matej Bačo 336127da55 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-22 14:22:46 +00:00
Matej Bačo 72278b4f0f More database UI bug fixes 2022-06-22 13:30:35 +00:00
Matej Bačo f069719ef3 Code cleanup 2022-06-22 13:08:15 +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
Matej Bačo c7087e7ac0 Removed TODOs 2022-06-22 09:46:37 +00:00
Matej Bačo b682ffdfa3 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-22 09:26:15 +00: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 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 e553ba2d07 fix: account phone internal ids 2022-06-20 23:38:45 +02:00
Torsten Dittmann ef15ea8318 fix: method to generate new webhook signature 2022-06-20 20:35:33 +02:00
gepd d1505917a3
committed suggested changes
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
2022-06-20 12:18:00 -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 48177e8d03 docs: update new phone docs 2022-06-20 16:47:49 +02:00
Matej Bačo 43f6fda8b6 WIP: Allow internal indexes 2022-06-20 14:22:27 +00: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 0023af43d8 Merge branch 'feat-phone-authentication' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 15:06:19 +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 af817ec616
Merge pull request #3379 from appwrite/feat-phone-authentication-ui
feat: add ui for phone authentication
2022-06-20 14:34:33 +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 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
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
fogelito ddbe1edf6d Adding Internal Ids Projects, Webhooks, Keys, domains, Platforms 2022-06-16 10:50:52 +03:00
fogelito 44e3851f5e Adding Internal Ids to Database Api 2022-06-15 15:57:06 +03:00
Torsten Dittmann bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Matej Bačo 6758e78cf1 Introduce APP_LIMIT_ARRAY_ELEMENT_SIZE 2022-06-15 12:07:14 +00:00
fogelito 0d1b1ddef6 Adding Account + teams + users Internal Ids to colleactions 2022-06-14 20:15:22 +03:00
Torsten Dittmann 1eb91bc91e feat: add ui for phone authentication 2022-06-14 17:41:58 +02:00
Matej Bačo 697bb569ef Fix tests 2022-06-14 11:38:47 +00:00
Matej Bačo 0aaa5779ab Linter fixes 2022-06-14 11:08:54 +00:00
Matej Bačo f0cd4437d8 Rebuilds, improve tests 2022-06-14 10:40:51 +00:00
Matej Bačo 64ee483665 Implemented hashhing import API endpoints, fixed SCrypt 2022-06-14 09:05:46 +00:00
Torsten Dittmann 1f91e5328a fix: controller title for email session 2022-06-14 10:30:35 +02:00
Torsten Dittmann 8d465c67c2 feat: account sessions for emails 2022-06-14 10:17:50 +02:00
Torsten Dittmann 286f174f34 fix: docs 2022-06-14 09:27:27 +02:00
Matej Bačo 6f76fb3613 WIP: Separate hashing endpoints 2022-06-13 15:11:31 +00:00
Matej Bačo 001e69ab80 Merge remote-tracking branch 'origin/0.15.x' into feat-password-hash-algos 2022-06-13 12:53:40 +00:00
Matej Bačo bdaf9bcdb8 Removed hashhing algo from endpoints except import 2022-06-13 12:53:28 +00: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
Matej Bačo 7cb40f3c77 Fix order of params 2022-06-10 08:03:25 +00:00
Matej Bačo 0d94e4c9ce Merge branch 'master' into feat-password-hash-algos 2022-06-10 08:03:09 +00:00
gepd d96b077d22
remove null as param is already nullable
Co-authored-by: Everly Precia Suresh <77877486+everly-gif@users.noreply.github.com>
2022-06-09 15:32:34 -04: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
Torsten Dittmann 369c851532
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-09 21:11:49 +02:00
gepd be53bae82b
Merge branch 'appwrite:master' into feat-empty-payload 2022-06-08 20:50:04 -04:00
gepd 2e05afe35a
Make param optional from utopia 2022-06-08 20:49:27 -04:00
Torsten Dittmann e444ba6886 style: fix linter errors 2022-06-08 16:18:28 +02:00
Torsten Dittmann 70c98b0cfc feat: messaging worker 2022-06-08 15:57:34 +02: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
fogelito f2c545db64 removing some duplication on collections.php
adding var hint for $user
2022-06-08 12:20:23 +03:00
Torsten Dittmann 8ce669da6f feat: initial phone authentication 2022-06-08 11:00:38 +02:00
shimon 64ba33f3aa Small fix 2022-06-08 10:19:50 +03:00
gepd 3cf26d19bc
make data optional 2022-06-07 21:08:11 -04:00
shimon 54f6556204 sign webhook flow 2022-06-07 18:11:07 +03:00
fogelito 5310e2cf7c add userInternalId to sesseions , tokens , members + index for each attribute 2022-06-07 12:37:09 +03:00
gepd a107f592cf
Merge branch 'master' into feat-empty-payload 2022-06-06 18:57:14 -04:00
gepd 8f831b2be3
Allows to update permissions without payload 2022-06-06 18:27:05 -04:00
Jake Barnby 254a075d7d Update JWT creation abuse limits 2022-06-07 08:57:37 +12:00
Torsten Dittmann 94b2db96c2 chore: run formatter 2022-06-03 11:12:19 +02: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
Torsten Dittmann 3d297e825f
Merge pull request #3296 from stnguyen90/fix-2955-add-team-member-toast
Update success, loading, and error message for add team member
2022-06-01 16:24:45 +02:00
Torsten Dittmann f1322175da
Merge pull request #3270 from stnguyen90/feat-3269-skip-service-check-for-server
Update service checks to ignore server app users
2022-06-01 16:23:27 +02:00
Shimon Newman 2bad41082b
Update projects.php 2022-06-01 17:23:05 +03:00
Shimon Newman ad986fe852
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-01 17:14:26 +03:00
Shimon Newman 363c073839
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-06-01 16:39:00 +03:00
shimon cd5e6f2542 small fix 2022-06-01 15:36:04 +03:00
shimon 2d7bc4fb16 small fix 2022-06-01 14:31:03 +03:00
shimon 0c435b9c3b Merge remote-tracking branch 'origin/feat-expire-key' into feat-expire-key
# Conflicts:
#	app/controllers/api/projects.php
2022-06-01 13:11:24 +03:00
shimon e782e4744f small fix 2022-06-01 13:09:53 +03:00
Shimon Newman c31055f144
Update app/controllers/api/projects.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-01 12:55:35 +03:00
shimon 1a28c3a909 api keys, validation and test 2022-06-01 09:38:11 +03: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 4a87e73a45 Update success, loading, and error message for add team member
Remove text indicating invitations since no emails are sent when adding
a user via the Admin console.
2022-05-31 22:00:37 -07:00
Steven ec1c4fd5c3 Bypass SMTP host check for admins adding team members
Since no email is sent when adding team members for admins, there shouldn't
be any need to check the SMTP host.
2022-05-31 20:50:19 -07:00
Steven Nguyen f645c2ce53 Update service checks to ignore server app users 2022-05-31 20:42:41 -07:00
Torsten Dittmann 540738101f fix: error type 2022-06-01 00:09:23 +02:00
shimon 8bca5cd13e api keys 2022-05-31 18:41:12 +03:00
Everly Precia Suresh c61dd1e261 remove unecessary semi colons 2022-05-31 14:24:01 +00:00
Everly Precia Suresh 95615416a6 formate function.php 2022-05-31 13:50:27 +00:00
Everly Precia Suresh 61c8cf5ccd Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 13:48:05 +00:00
Torsten Dittmann fd58c57163
Merge pull request #3280 from appwrite/refactor-accounts
Refactor `account.php`
2022-05-31 15:47:39 +02:00
Everly Precia Suresh 1be5593d9d Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 13:40:43 +00:00
Torsten Dittmann 957ba08817
Merge pull request #3282 from appwrite/refactor-database
refactor `database.php`
2022-05-31 15:33:14 +02:00
Everly Precia Suresh f1938f5151
update refactor
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-05-31 18:04:20 +05:30
Everly Precia Suresh 94e225411f update refacror 2022-05-31 12:33:13 +00: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 63092dd1fa
Merge pull request #3214 from appwrite/refactor-functions
Refactor `functions.php`
2022-05-31 13:51:54 +02:00
Everly Precia Suresh f039fb36fc format newly added changes 2022-05-31 11:35:59 +00:00
Everly Precia Suresh 746dc72439 fix merge conflicts 2022-05-31 11:32:46 +00:00
Torsten Dittmann 60ffee2c5e
Merge pull request #3287 from appwrite/refactor-general
Refactor `general.php`
2022-05-31 13:15:56 +02:00
Everly Precia Suresh e80ab77cab update refactor with changes 2022-05-31 11:11:55 +00:00
Everly Precia Suresh f8fc5ca16c
remove ?
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-05-31 16:33:16 +05:30
Everly Precia Suresh 13f26a20d6 add string|array type to 2022-05-31 10:51:47 +00:00
Torsten Dittmann 103709eb8f
Merge pull request #3286 from appwrite/refactor-mock
Refactor `mock.php`
2022-05-31 12:29:06 +02:00
Torsten Dittmann 26b975597b
Merge pull request #3288 from appwrite/refactor-home
Refactor `home.php`
2022-05-31 11:21:27 +02:00
Torsten Dittmann ce84dd1377
Merge pull request #3290 from appwrite/refactor-api
Refactor `api.php`
2022-05-31 11:04:39 +02:00
Torsten Dittmann 0fdd785ba9
Merge branch 'master' into refactor-functions 2022-05-31 10:54:03 +02:00
Torsten Dittmann 40724a5863
Merge pull request #3289 from appwrite/refactor-console
Refactor `console.php`
2022-05-31 10:53:17 +02:00
Torsten Dittmann 648644848a
Merge branch 'master' into refactor-mock 2022-05-31 10:37:55 +02:00
Torsten Dittmann ff3292041f
Merge branch 'master' into refactor-database 2022-05-31 10:33:46 +02:00
Torsten Dittmann 61cf313d67
Merge branch 'master' into refactor-general 2022-05-31 10:33:12 +02:00
Torsten Dittmann 5bcaa5540f
Merge branch 'master' into refactor-home 2022-05-31 10:32:45 +02:00
Torsten Dittmann 016b5f540b
Merge branch 'master' into refactor-console 2022-05-31 09:49:51 +02:00
Torsten Dittmann 32928641a6
Merge branch 'master' into refactor-api 2022-05-31 09:45:59 +02:00
Torsten Dittmann ca94367df6
Merge branch 'master' into refactor-web 2022-05-31 09:44:05 +02:00
Everly Precia Suresh 1fd7359fbb fix linter issues in app directory 2022-05-30 17:41:25 +00:00
Everly Precia Suresh 6bd7342d0e improve naming 2022-05-27 10:36:06 +00:00
Everly Precia Suresh e6941e76a1 change param type from bool to string 2022-05-27 10:01:00 +00:00
Everly Precia Suresh f9cfb5478e refactor general.php 2022-05-26 14:46:08 +00:00
Everly Precia Suresh 3c6bbb532f refactor mock.php 2022-05-26 14:02:31 +00:00
Everly Precia Suresh 05c9c47ff9 refactor home.php 2022-05-26 13:37:37 +00:00
Everly Precia Suresh 820589f5a2 refactor console.php 2022-05-26 13:23:49 +00:00
Everly Precia Suresh d1e829f49a change type to array 2022-05-26 12:41:19 +00:00
Everly Precia Suresh e845b2f3a6 refactor-api 2022-05-26 11:51:08 +00:00
Everly Precia Suresh 7f0ecf59d0 refactor web.php 2022-05-26 11:31:47 +00:00
Everly Precia Suresh a2d243664b remove cname tests 2022-05-26 11:21:04 +00:00
Everly Precia Suresh 6ceef6a573 update refactor 2022-05-25 16:53:10 +00:00
Everly Precia Suresh 425d81256b rename audit to EventAudit 2022-05-25 13:49:32 +00:00
Everly Precia Suresh 8f624e115b refactor users.php 2022-05-25 13:36:25 +00:00
Everly Precia Suresh fc6c546c88 refactor database 2022-05-25 12:10:10 +00:00
Everly Precia Suresh eb6b8d408a update refactor 2022-05-24 15:04:28 +00:00
Everly Precia Suresh 07bf57b161 update refactor 2022-05-24 14:57:12 +00:00
Everly Precia Suresh e2bd17d253 update refactor 2022-05-24 14:28:27 +00:00
Everly Precia Suresh 35e762453b pull latest 2022-05-24 14:04:55 +00:00
Everly Precia Suresh 107513c4c8 refactor func 2022-05-24 13:56:57 +00:00
Everly Precia Suresh 60a73c74a5 fix multi-line params in controllers 2022-05-23 16:42:27 +00:00
Everly Precia Suresh 7316e1c1ae fix multi-line params in account.php 2022-05-23 16:34:03 +00:00
Everly Precia Suresh 19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Everly Precia Suresh 722822dc31 refactor account.php 2022-05-18 16:14:21 +00:00
Torsten Dittmann e63834b722
Merge pull request #3237 from appwrite/fix-main-domain
Fix: Main Domain
2022-05-18 15:25:52 +02:00
Matej Bačo d8db5e5839 Ignore localhost as main domain 2022-05-18 08:31:54 +00:00
Christy Jacob 5463e62a6e feat: remove redundant order attributes validation 2022-05-18 04:36:24 +04:00
Matej Bačo 9bf7d9bda4 Added backwards compatibility (response&request) 2022-05-17 07:56:28 +00:00
Torsten Dittmann ec1bfa0209 Merge branch 'feat-account-update-status' of https://github.com/appwrite/appwrite into feat-account-update-status 2022-05-16 12:34:20 +02:00
Torsten Dittmann 0aa8aad2a9 fix: remove wrongly placed remove 2022-05-16 12:34:14 +02:00