1
0
Fork 0
mirror of synced 2024-07-05 22:51:24 +12:00
Commit graph

2970 commits

Author SHA1 Message Date
shimon 5a15d29a22 sync with 0.16.x 2022-08-10 12:22:55 +03: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
Damodar Lohani cb369dd326 update account routes usage labels 2022-08-10 08:45:10 +00:00
Damodar Lohani 391d1127ca update container to accept new response format 2022-08-10 07:19:07 +00:00
Damodar Lohani 8aa7486e71 database usage stats working via labels 2022-08-10 02:33:46 +00:00
Damodar Lohani ebf3d813cb refactor database usage to labels 2022-08-10 02:18:18 +00:00
Damodar Lohani 16fe9e241a Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-10 01:49:27 +00:00
shimon d2519c9a5b addressing comments 2022-08-09 17:38:54 +03:00
Christy Jacob 6a6c7d4b90
Merge pull request #3547 from appwrite/fix-update-status-codes
Use 202 when resources are created asyncronously
2022-08-09 14:42:40 +05:30
shimon eb9ca5d7e3 leftovers 2022-08-09 09:49:55 +03:00
Damodar Lohani bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
shimon 9eb1c3a731 leftovers 2022-08-08 18:44:45 +03:00
shimon 6e0b7cc650 leftovers 2022-08-08 18:44:11 +03:00
shimon 2d7a2bb57f leftovers 2022-08-08 18:23:45 +03:00
shimon 8a79748b6d leftovers 2022-08-08 17:48:51 +03:00
Bradley Schofield bf050ece0f Fix Exceptions 2022-08-08 15:44:07 +01:00
shimon 62ef532801 leftovers 2022-08-08 17:32:54 +03:00
Bradley Schofield 43660d9c8f Merge branch 'master' into feat-simplify-exceptions 2022-08-08 15:03:01 +01:00
shimon 89f164bdd7 resource namespace 2022-08-08 15:19:41 +03:00
shimon a6a9ad8cc0 databases controller 2022-08-08 11:14:27 +03:00
Damodar Lohani 1b1ba985a9 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-08 02:18:49 +00:00
shimon e9ef94e8af account controller 2022-08-07 18:49:30 +03:00
shimon c8196c41d4 api::payload 2022-08-07 18:09:37 +03:00
shimon ec39ff267c api::parseLabel 2022-08-07 17:30:47 +03:00
Eldad A. Fux 73817a311b
Merge pull request #3638 from appwrite/refactor-mock-download-response
Consistent response for mock download
2022-08-04 14:29:04 +03: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
Eldad A. Fux 8e49b8365c
Merge pull request #3590 from iifawzi/fix-3583-fixing-create-team-membership-to-return-added-name-email
Fixing #3583 - create team membership to return added person name and…
2022-08-04 00:07:29 +03:00
Jake Barnby 9872c019b2 Consistent response for mock download 2022-08-03 17:03:34 +12:00
Eldad A. Fux a9cfb06ee9
Merge pull request #3586 from appwrite/feat-hooks-implementation
implementing new Utopia hooks
2022-08-03 07:17:44 +03:00
Damodar Lohani 51a6db995a groups at the top in hooks 2022-08-02 01:10:48 +00:00
Matej Bačo 15b5df10a4 Fix search attribute regarding phone number 2022-07-28 09:36:08 +00:00
Damodar Lohani 13bcb062b2 ordering 2022-07-28 07:06:39 +00:00
Damodar Lohani f555568d50
Update app/controllers/api/functions.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-07-28 12:40:14 +05:45
Bradley Schofield 467d8b2cd2 Fix linting errors 2022-07-27 14:50:13 +01:00
Bradley Schofield e3a3ca4c0d Translate more errors
+ Fixed an issue where some errors that should use 401 uses 400 error codes

+ Updated error messages and tests for multiple exceptions
2022-07-27 14:47:35 +01:00
Steven 723c6f5436 Fix incorrect databases links 2022-07-26 23:16:47 +00:00
Bradley Schofield 3c808ca895 Fix problem with Exception class 2022-07-26 15:56:59 +01:00
Bradley Schofield 96c6c0ff00 Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
Bradley Schofield 4da9273b28 Move default message and code handling into exception 2022-07-25 23:54:08 +01:00
Matej Bačo ef3496d55b Bug fixing afte merge 2022-07-25 12:37:29 +00:00
Matej Bačo dbccf39a9f Merge branch 'master' into feat-password-hash-algos 2022-07-25 12:37:07 +00:00
Fawzi E. Abdulfattah 3f09575740
get the invitee info from the db
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-07-25 06:09:35 +02: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 40022decb4 Start working on simplifying exceptions 2022-07-22 15:38:06 +01:00
Damodar Lohani 70a7446ad4 fix group 2022-07-22 06:42:49 +00:00
Damodar Lohani b168dde502 implementing new Utopia hooks 2022-07-22 06:00:42 +00:00
Damodar Lohani 1ca9e7ab3e Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-07-19 01:53:06 +00:00
Bradley Schofield 74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Bradley Schofield 35c546782f Change more status codes to 202 2022-07-18 10:43:51 +01:00
Bradley Schofield 88064cdbaf Merge branch 'master' into fix-update-status-codes 2022-07-18 10:37:07 +01:00
Damodar Lohani f9d62599a4 fix get usage on Functions 2022-07-17 10:43:10 +00:00
Damodar Lohani dbd941f464 fix param 2022-07-17 10:39:44 +00:00
Damodar Lohani ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Ishan Vyas af167a58a8
Fix SDK response type for get & update database call
Signed-off-by: Ishan Vyas <isvyas@gmail.com>
2022-07-17 12:44:37 +05:30
Bradley Schofield 5f0032bb7f Use 202 when resources are created asyncronously 2022-07-14 10:52:55 +01:00
Matej Bačo d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00: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 5d7e7a48ad
Merge pull request #3509 from stnguyen90/fix-3508-hardcoded-db-schema
Fix hardcoded appwrite database schema
2022-07-11 12:16:04 +02:00
Torsten Dittmann bddd477bd7
Merge pull request #3511 from appwrite/fix-attribute-dbid
Fix attribute databaseId
2022-07-11 12:13:35 +02:00
Matej Bačo aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +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
Jake Barnby d13afe0b2e Fix get deployment response type 2022-07-07 16:51:37 +12:00
Steven 8a0f2010a2 Fix hardcoded appwrite database schema 2022-07-06 17:04:29 +00:00
Torsten Dittmann 9bdd1087ba
Merge pull request #3500 from appwrite/fix-internal-dates-update
Fix: createdAt bug after updating document
2022-07-06 12:54:50 +02:00
Jake Barnby 937240f244 Fix attribute databaseId 2022-07-06 17:13:29 +12:00
Steven Nguyen ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00:00
Matej Bačo 9f364bb9dd Fix document date 2022-07-05 16:07:07 +00:00
Christy Jacob 9fdaa92bd1 feat: trigger sms for createVerification 2022-06-29 01:04:08 +02: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
Torsten Dittmann e83cf382fd fix: all sdks and specs 2022-06-28 13:21:28 +02:00
Torsten Dittmann 5a2d6c0b3e feat: 0.15.x response filters 2022-06-28 11:15:27 +02:00
Vincent (Wen Yu) Ge 9ceef4c096
Merge branch '0.15.x' into database-layer-docs 2022-06-24 12:39:06 -04:00
Matej Bačo 5a10a9494f
Update SCrypt tests 2022-06-24 14:30:39 +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
Christy Jacob 43f834c0bd feat: add new errors for phone auth 2022-06-24 12:49:00 +02:00
Damodar Lohani 2750e60768
fix for ruby and go SDK as file params seems to be string 2022-06-24 15:24:44 +05:45
Damodar Lohani dfbb9b2b3b
fix-response-model-for-database-list 2022-06-24 12:51:21 +05:45
Torsten Dittmann cf7d10046c
Merge pull request #3421 from appwrite/fix-createdat-lock
Fix: Lock $createdAt
2022-06-23 13:09:36 +02:00
Matej Bačo c19a2484c3 Merge remote-tracking branch 'origin/0.15.x' into fix-internal-indexes 2022-06-23 09:22:54 +00:00
Torsten Dittmann 3f1b906de0
Merge pull request #3422 from appwrite/feat-database-layer-alias
Add alias to Database Layer
2022-06-23 11:00:32 +02:00
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