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

2562 commits

Author SHA1 Message Date
Jake Barnby a8698b6065 Lint 2022-08-14 17:24:50 +12:00
Jake Barnby b2e659bd3f Review fixes 2022-08-14 17:21:33 +12:00
Jake Barnby fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Bradley Schofield 237f5264d9 Fix vars exception, change cachedoc usage, 2022-08-13 20:18:48 +01:00
Christy Jacob 5296e61d35 feat: address issues on accounts controller 2022-08-13 20:45:19 +05:30
shimon 630954c94e some fixes 2022-08-13 17:55:27 +03:00
Christy Jacob 8b23dcd69e fix: update constructor, remove account entity, add missing ID error 2022-08-13 20:14:04 +05:30
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 bdc8202422 Bad request for create permission on document/file 2022-08-14 02:24:28 +12:00
Jake Barnby 68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
shimon 51e3fc8cab some fixes 2022-08-13 12:59:34 +03:00
shimon e8a2e30bb5 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup 2022-08-13 10:35:54 +03:00
shimon 48b2fb0b36 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label 2022-08-13 10:34:25 +03:00
shimon cc9dad6bb8 Tidy up 2022-08-13 10:34:03 +03:00
Jake Barnby 737ebe408c Don't add create permission to documents/files if missing 2022-08-13 18:34:04 +12:00
Damodar Lohani 560bd97fcd organize metrics 2022-08-13 05:02:18 +00:00
Damodar Lohani c1c325505b organize metrics 2022-08-13 05:01:43 +00:00
Damodar Lohani 85f39ec0ef organize metrics 2022-08-13 05:00:22 +00:00
Damodar Lohani 02074a93ef remove unused import 2022-08-13 04:55:42 +00:00
Damodar Lohani d688187e23 update metrics value 2022-08-13 04:39:01 +00:00
Damodar Lohani 74a159ab99 fix key 2022-08-13 03:44:57 +00:00
Eldad Fux 3c7a7f0fa4 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-08-13 06:21:50 +03:00
Damodar Lohani be00b64b7e Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-13 03:14:28 +00:00
Steven 1abe9d4c01 Merge branch '0.16.x' into fix-datetime-attributes 2022-08-12 22:54:33 +00:00
Christy Jacob 9693c6e941 Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x 2022-08-12 21:44:36 +05:30
Bradley Schofield 83c1129ed5 Add TODO Warning 2022-08-12 17:01:25 +01:00
Bradley Schofield 930120fc4d
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-12 16:55:58 +01:00
Bradley Schofield cb87c248d5 Rebuild Specs, SDKs and start working on subqueries 2022-08-12 16:51:24 +01:00
Jake Barnby 8d4191b1a0 Lint 2022-08-13 02:46:50 +12:00
Jake Barnby 09b001e891 PR fixes 2022-08-13 02:41:57 +12:00
Bradley Schofield d86e4ac0b6 Run Linter 2022-08-12 15:15:58 +01:00
Bradley Schofield d9104ceced Update capitalisation on some names 2022-08-12 15:15:36 +01:00
Bradley Schofield 7af92b3b30 Fix Endpoint Order 2022-08-12 15:10:41 +01:00
shimon 1af95fcdaa Tidy up 2022-08-12 16:21:32 +03:00
Jake Barnby d2b9102f84 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby c104860448 Use roles validator for function execution 2022-08-13 00:23:58 +12:00
shimon 90cfac9b52 replace request param extractions 2022-08-12 14:01:12 +03:00
Jake Barnby 1d7c25b561 Single role per permissions entry 2022-08-12 22:36:59 +12:00
shimon b5f977e46d adding user to audits labels 2022-08-11 16:19:05 +03:00
Eldad A. Fux f4bbcc9fa3
Merge pull request #3619 from appwrite/fix-phone-search
Fix: User Search attribute (phone)
2022-08-11 14:20:44 +03:00
Damodar Lohani cd9efec4d2 refactor 2022-08-11 06:49:20 +00:00
Damodar Lohani 1753dbe8b0 fix formatting 2022-08-11 06:18:37 +00:00
Damodar Lohani b5f5aff626 fix response and project usage issues 2022-08-11 06:05:38 +00:00
Damodar Lohani 63371ce76e functions usage stats using route labels 2022-08-11 05:25:39 +00:00
Damodar Lohani c5993ba8b9 storage usage stats via route labels 2022-08-11 02:18:22 +00:00
Damodar Lohani e666ae2b2e fix users usage endpoint 2022-08-11 02:11:31 +00:00
Damodar Lohani 5647f957a7 users metrics via route labels 2022-08-11 01:43:02 +00:00
Damodar Lohani 73f675aebe Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-11 01:15:29 +00:00
Bradley Schofield 15fbe86124 Fix variables not being correctly used 2022-08-10 14:43:05 +01:00
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
Bradley Schofield 42e0895dad Fix Tests 2022-08-09 16:29:24 +01:00
shimon d2519c9a5b addressing comments 2022-08-09 17:38:54 +03:00
Torsten Dittmann 5db5f7217f Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime 2022-08-09 14:49:08 +02:00
Bradley Schofield 6882ffaa00 Merge branch '0.16.x' into feat-variables-api 2022-08-09 13:37:24 +01:00
Bradley Schofield d4da9d823b Add API Descriptions and use APP_LIMIT_COUNT 2022-08-09 13:11:50 +01:00
shimon 092e682591 Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
Bradley Schofield c4d453b738 Update Variables API Signature 2022-08-09 12:56:45 +01:00
fogelito db5d737235 Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
 Conflicts:
	tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +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
Jake Barnby 3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12:00
Damodar Lohani bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby 216486a4c6 Fix DB tests 2022-08-09 18:03:41 +12:00
Jake Barnby fb0168ea50 Fix erroneous whitespace 2022-08-09 14:48:39 +12:00
shimon 6e0b7cc650 leftovers 2022-08-08 18:44:11 +03:00
shimon 2d7a2bb57f leftovers 2022-08-08 18:23:45 +03: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
Jake Barnby 69a79f660f Storage permission check fixes 2022-08-08 22:58:36 +12:00
Jake Barnby 20f621d05c Databases permission check fixes 2022-08-08 22:58:28 +12:00
shimon a6a9ad8cc0 databases controller 2022-08-08 11:14:27 +03: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
shimon f4c1a5ea35 response::send 2022-08-07 14:01:00 +03:00
Jake Barnby 5e4a422495 Use helpers to process permissions 2022-08-05 18:01:25 +12:00
Jake Barnby e8af744c97 More write ref updates 2022-08-05 18:00:56 +12:00
Jake Barnby bed6eb70af Replace write refs 2022-08-05 17:23:32 +12:00
Jake Barnby 62b1eba836 Replace write refs 2022-08-05 17:23:18 +12: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
Jake Barnby 54b07a9446 Handle document/file level security in collections layer 2022-08-04 16:20:11 +12:00
Jake Barnby d9f0ece812 Remove new properties from DB level 2022-08-04 12:08:16 +12: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
Bradley Schofield f62ad19ecd Fix old function tests 2022-08-03 13:32:50 +00:00
Jake Barnby 7b9fb32fae Update role references 2022-08-03 21:52:34 +12:00
Jake Barnby dbb8e5421a Fix syntax error 2022-08-03 17:43:03 +12:00
Jake Barnby 1ab86c9331 Role reference updates 2022-08-03 16:17:49 +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
Bradley Schofield 452a8512c4 Add Tests 2022-08-02 16:11:15 +00:00
Bradley Schofield 31897bc7b5 Run Linter 2022-08-02 10:34:04 +00:00
Bradley Schofield 9d9935a625 First working draft of new UI 2022-08-02 10:05:58 +00:00
Jake Barnby ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Jake Barnby 4520114780 Refactor storage to use new permissions 2022-08-02 21:19:15 +12:00
Jake Barnby 9a182d615a Refactor databases to use new permissions 2022-08-02 21:18:49 +12:00
Damodar Lohani 51a6db995a groups at the top in hooks 2022-08-02 01:10:48 +00:00
Bradley Schofield 66fcbee0df Start working on adding UI 2022-08-01 15:13:47 +00:00
shimon cc93113934 Reference comments 2022-07-31 15:11:49 +03:00
shimon 45ad0f6bdf Reference comments 2022-07-30 22:10:30 +03:00
shimon 39d2f6b981 Reference comments 2022-07-30 21:55:36 +03:00
shimon 5511a93e9c Expires header returned to the endpoints 2022-07-28 18:24:18 +03:00
Torsten Dittmann ba65b5a58f fix duplicates 2022-07-28 14:51:47 +02:00
Torsten Dittmann a4588cc848 Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:49:28 +02:00
Torsten Dittmann e3fee55e3d Merge branch 'origin/datetime-api' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:45:15 +02:00
Torsten Dittmann 7b95c46cf5 Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api 2022-07-28 14:40:45 +02:00
Torsten Dittmann bd550f8a1e feat: ui for datetime attribute 2022-07-28 14:38:54 +02:00
fogelito ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
Matej Bačo 15b5df10a4 Fix search attribute regarding phone number 2022-07-28 09:36:08 +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
shimon d09bf306ce response changes 2022-07-26 15:50:33 +03: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
fogelito b58c04c28b Add attribute datetime 2022-07-25 11:53:41 +03: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
shimon 16ed2c1572 tidy up 2022-07-24 18:22:31 +03:00
shimon f214ead6f6 tidy up 2022-07-24 12:49:51 +03:00
Matej Bačo 61cba414bf Fix linter 2022-07-24 08:22:24 +00:00
shimon 64050337cf tidy up 2022-07-24 10:05:24 +03:00
shimon 02907f12f1 cache logic moved to api::init & api::shutdown 2022-07-23 20:42:42 +03: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 b168dde502 implementing new Utopia hooks 2022-07-22 06:00:42 +00:00
Matej Bačo 183a18f618 Implement functions CRUD operations 2022-07-20 07:18:49 +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
fogelito 97250d8193 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-07-14 16:35:25 +03:00
fogelito 0816dd15f9 remove comments 2022-07-14 16:12:44 +03:00
Torsten Dittmann 5604a6837f Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-07-14 14:14:05 +02:00
Bradley Schofield 5f0032bb7f Use 202 when resources are created asyncronously 2022-07-14 10:52:55 +01:00
fogelito 9a8ef2a30d change DatetimeValidator 2022-07-13 17:07:03 +03:00
fogelito 45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito 76b65c5dea change test validations from strings to datetime 2022-07-13 16:55:57 +03:00
Matej Bačo d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00:00
fogelito f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito 7e08575245 builds, stats 2022-07-11 18:12:41 +03: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
shimon 428adcf47f logger moved to App::shutdown 2022-07-09 21:30:01 +03:00
shimon 59627ea9ef logger moved to App::shutdown 2022-07-09 21:24:28 +03: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
shimon b2b2534dcc logger moved to App::shutdown 2022-07-07 18:06:05 +03:00
shimon a0cfc2110a logger moved to App::shutdown 2022-07-07 17:51:22 +03:00
fogelito 10ca7de6ba workers functions 2022-07-07 12:54:46 +03:00
fogelito e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
fogelito 29436c1e5f Datetime change for joined and invited 2022-07-07 10:44:28 +03: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
fogelito d7244bd9ba Tests 2022-07-06 17:47:34 +03: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
fogelito ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito acba505144 addCookie timestamp 2022-07-05 21:24:10 +03:00
fogelito 2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
Matej Bačo 9f364bb9dd Fix document date 2022-07-05 16:07:07 +00:00
fogelito 203b3058a2 providerAccessTokenExpiry 2022-07-05 16:06:55 +03:00
fogelito a9a91603d1 account expire 2022-07-05 13:59:03 +03:00
shimon 27333035c0 restore 2022-07-05 10:48:52 +03:00
shimon 0c2c030b71 restore 2022-07-05 10:46:41 +03:00
shimon 56a21b3968 small fix 2022-07-05 10:37:46 +03:00
Shimon Newman 716c62ba8f
Update app/controllers/api/avatars.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-07-05 10:10:58 +03:00
fogelito 903ca342cb Model changes 2022-07-04 13:11:38 +03:00
fogelito 8628105eef Model changes 2022-07-04 12:55:11 +03:00
shimon 7b429bdcd7 cache cleanup 2022-07-03 12:36:59 +03:00
fogelito 73a19614e1 functions api 2022-07-02 17:38:53 +03:00
fogelito cff5bab403 functions api 2022-07-02 17:25:44 +03:00
fogelito 6d46332f96 changing datetime from timestamp to datetime 2022-07-01 15:05:14 +03: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
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 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