1
0
Fork 0
mirror of synced 2024-07-06 07:00:56 +12:00
Commit graph

1403 commits

Author SHA1 Message Date
Damodar Lohani e88450268b depricate name params 2021-07-22 10:57:01 +05:45
kodumbeats 97b7c863a8 Validate default value only when not null 2021-07-21 10:26:50 -04:00
kodumbeats b64202043d Renamed import due to reserved keyword conflicts 2021-07-21 10:26:08 -04:00
kodumbeats 6fc5bf0a71 Add createAttribute routes for each primitive type 2021-07-21 09:23:12 -04:00
kodumbeats 9ac2a4f94c Remove outdated comments 2021-07-21 09:22:34 -04:00
Damodar Lohani df6645c9ab depricate project name 2021-07-21 18:29:51 +05:45
Damodar Lohani e06701942c remove name from function 2021-07-21 17:43:05 +05:45
Damodar Lohani be3eda31f4 support custom id for file 2021-07-21 13:58:00 +05:45
Damodar Lohani 11bff54252 utopia database 2021-07-21 11:35:15 +05:45
Damodar Lohani 1b1877db06 update to new db 2021-07-21 11:32:01 +05:45
Damodar Lohani 119035463a more fixes on collection 2021-07-20 17:21:27 +05:45
Damodar Lohani 6511d63726 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-20 11:12:54 +05:45
Eldad A. Fux 48ad89ac27
Merge pull request #1412 from appwrite/feat-db-refactor-routes
Feat db refactor routes
2021-07-19 22:18:28 +03:00
Eldad A. Fux c1a67fc718
Merge branch 'feat-database-indexing' into fix-db-sync-with-master 2021-07-19 21:20:29 +03:00
Eldad A. Fux 285cc76212
Merge pull request #1403 from appwrite/fix-db-open-api-spec
fix-db-open-api-spec
2021-07-19 17:49:15 +03:00
Eldad A. Fux ea33609acb
Merge pull request #1396 from TorstenDittmann/feat-refactor-db-user-status
feat(refactor-db): user status
2021-07-19 13:21:40 +03:00
Damodar Lohani d8dc30b08a custom id on database 2021-07-19 15:10:53 +05:45
Damodar Lohani 3fe9277e9b custom Id on project 2021-07-19 14:26:24 +05:45
Damodar Lohani 2f222e136d executions custom id 2021-07-19 13:57:01 +05:45
Damodar Lohani 95e90efcc6 custom id in function and tag 2021-07-19 13:54:37 +05:45
Damodar Lohani d037c0df23 team and membership custom id support 2021-07-19 12:20:49 +05:45
Damodar Lohani cd0b21ec0a fix typo 2021-07-19 12:11:29 +05:45
Damodar Lohani 7c99192ced Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-19 12:06:18 +05:45
Eldad Fux bbc20dad10 Merge branch 'master' of github.com:appwrite/appwrite into fix-db-sync-with-master 2021-07-18 17:17:29 +03:00
Eldad Fux 5ec5649603 Fixed wrong paths 2021-07-18 11:19:23 +03:00
Eldad Fux 6fe19370f3 Fixed OAuth2 tests 2021-07-18 00:21:33 +03:00
Eldad Fux 318c4843ca Updated error template 2021-07-17 21:59:54 +03:00
Eldad Fux 2bf69d59f1 Update session document 2021-07-17 13:04:43 +03:00
Eldad Fux 78689f2878 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-sync-session-collection 2021-07-16 18:00:05 +03:00
kodumbeats ce742b104e Remove $ from task document 2021-07-16 10:32:20 -04:00
kodumbeats 2619157dd0 Add inline todos 2021-07-16 09:53:55 -04:00
kodumbeats f749256e03 Fix typos in changes for certificates worker 2021-07-16 09:33:30 -04:00
Eldad Fux 6471acb1e1 Fixed injection name 2021-07-16 07:40:01 +03:00
Eldad Fux b4a65c2c1a Removed TODOs, fixed comments 2021-07-16 07:39:31 +03:00
kodumbeats 0243d6c9e1 Use refactored db for certificates worker 2021-07-15 17:14:52 -04:00
Damodar Lohani 0817eea595
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-07-15 11:34:08 +05:45
kodumbeats 88146857f7 Use refactored db for tasks worker 2021-07-14 15:59:16 -04:00
Torsten Dittmann 4633d74fc7 feat(db-refactor): user status now boolean 2021-07-14 13:02:12 +02:00
kodumbeats acc4bbb052 Deletes worker no longer needed for collections 2021-07-12 12:45:30 -04:00
Torsten Dittmann e9a37e9a53
Merge pull request #1385 from TorstenDittmann/fix-broken-pdo-connection
fix(http): reset pdo connection if broken
2021-07-12 18:39:57 +02:00
Torsten Dittmann cff517a2ab adapt to review 2021-07-12 18:15:21 +02:00
Torsten Dittmann 76af58c646 fix(pdo): throw on general to parent 2021-07-12 17:27:26 +02:00
Torsten Dittmann 18d4a0def0 fix(app): remove app resource and replace with utopia 2021-07-12 11:51:58 +02:00
Torsten Dittmann f158980963
fix(database): default value for empty rules 2021-07-07 13:46:44 +02:00
Eldad A. Fux 1186c6a36f
Merge pull request #1298 from PineappleIOnic/feat-1297-add-expire-date-to-urls
Feat Add Expire Parameter to Email Verification and Password Reset URL's
2021-07-06 19:19:08 +03:00
Bradley Schofield 4e2b05b87c Update account.php 2021-07-06 13:18:55 +01:00
Eldad A. Fux 0d4c5ab01e
Merge pull request #1349 from TorstenDittmann/fix-database-int-casting
fix(database): properly cast to int
2021-07-06 13:43:46 +03:00
Bradley Schofield 1a8ace0fb0 Update account.php 2021-07-06 09:14:12 +01:00
Damodar Lohani 2f40d38a37 updates and fixes 2021-07-06 12:08:33 +05:45
kodumbeats 06c276d855 Tighten up validation 2021-07-05 16:27:20 -04:00
kodumbeats 64d1913a03 Keep search param in listCollections 2021-07-05 15:19:18 -04:00
kodumbeats 4a90076013 Cleanup code comments 2021-07-05 15:15:39 -04:00
kodumbeats 01555eb8ef Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-07-05 13:40:38 -04:00
Damodar Lohani f7ef4349d4 custom id validator 2021-07-05 17:20:15 +05:45
Damodar Lohani fb34c0683d
Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-07-05 17:11:52 +05:45
Damodar Lohani 0730cf75c4 test for custom id, and fix validator 2021-07-05 16:48:52 +05:45
Damodar Lohani 5e2f3ed9c9 custom id support in create user 2021-07-05 16:35:29 +05:45
Torsten Dittmann d9986cb205 fix(database): properly cast to int 2021-07-05 11:33:47 +02:00
Torsten Dittmann 6c8e1a3190 feat(projects): add version number 2021-07-05 09:12:59 +02:00
Eldad Fux 14909a04f2 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-04 17:14:06 +03:00
Eldad Fux f69c4e3048 Updated project init 2021-07-04 15:23:58 +03:00
Eldad Fux c3cd9637f6 Updated create collection 2021-07-04 15:05:46 +03:00
Eldad Fux 57bc8c75e0 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-07-03 09:21:07 +03:00
Eldad A. Fux f013d07df3
Merge pull request #1301 from PineappleIOnic/feat-fix-unique-keys-not-updating
Fix Unique Keys not being updated when changing a user's email address
2021-07-03 09:18:39 +03:00
kodumbeats 860a2c7616 Fix index and attribute routes for tests 2021-07-02 20:20:09 -04:00
kodumbeats 50a3493d69 Use attribute size as index length 2021-07-02 18:23:58 -04:00
kodumbeats dfa7516b15 Add missing typehint 2021-07-02 18:22:49 -04:00
kodumbeats bafde0aa29 Remove unneeded param from callback 2021-07-02 16:21:06 -04:00
kodumbeats 145203663d Pass default param where required 2021-07-02 13:29:03 -04:00
Damodar Lohani 949b2a21c3 add gravity to cache key 2021-07-02 16:31:46 +05:45
Bradley Schofield 1c0454daa9
Merge branch '0.9.x' into feat-1297-add-expire-date-to-urls 2021-07-02 11:40:58 +01:00
Bradley Schofield da9860c7c4 Revert "Merge branch 'master' into feat-1297-add-expire-date-to-urls"
This reverts commit 9472867c66, reversing
changes made to 7e8d76b66d.
2021-07-02 11:39:41 +01:00
Bradley Schofield 9472867c66 Merge branch 'master' into feat-1297-add-expire-date-to-urls 2021-07-02 11:37:29 +01:00
kodumbeats d68f7254be Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-07-01 12:51:07 -04:00
Christy Jacob fa5ac4d3dc feat: add V08 response filter and update web sdk 2021-07-01 19:06:04 +05:30
kodumbeats a912e2f20e Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-30 14:24:48 -04:00
kodumbeats 12b58b00ac
Update descriptions/examples for docs
Applied suggestions from code review

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-30 11:10:45 -04:00
Christy Jacob ebc08be20c feat: revert integer validator to numeric 2021-06-28 20:54:37 +05:30
Torsten Dittmann dd47f195a0 deps(composer): updated abuse library to 0.5.0 2021-06-28 12:20:22 +02:00
Torsten Dittmann 91250ea52b fix(users): db connection 2021-06-28 09:55:56 +02:00
Torsten Dittmann 44ba052fcb feat(db): improved connection pools 2021-06-28 09:19:33 +02:00
Eldad Fux 03ff844291 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-26 22:47:53 +03:00
Eldad Fux 862f6721e8 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-06-26 22:06:23 +03:00
Damodar Lohani 378be8363a using getGravityTypes method to get list of supported gravity 2021-06-24 12:15:52 +05:45
Eldad A. Fux 91b2a139a5
Merge pull request #1294 from PineappleIOnic/feat-get-session-by-id-endpoint
Add session by ID API Endpoint
2021-06-23 18:45:08 +03:00
kodumbeats 4c81d6b490 Remove unnecessary params from new attribute and index routes 2021-06-23 10:21:32 -04:00
Damodar Lohani 497d391412 update image library and gravity param 2021-06-23 13:59:35 +05:45
Eldad A. Fux a2c4dac366
Merge pull request #1314 from PineappleIOnic/fix-runtime-parameter
Renamed `env` param on `/v1/functions` to `runtime`
2021-06-23 10:12:24 +03:00
kodumbeats ea46b7b783 Use stricter validators for params 2021-06-22 15:34:42 -04:00
Bradley Schofield 22bc391047
Update app/controllers/api/functions.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-22 11:18:26 +01:00
Bradley Schofield c92a820c6d Renamed env param on /v1/functions to runtime 2021-06-21 15:42:39 +01:00
Bradley Schofield 1cf66b5934 Update account.php 2021-06-21 09:13:18 +01:00
Eldad Fux 83047e8784 Fixed is empty conditions 2021-06-20 16:59:36 +03:00
kodumbeats 2e0b7fe471 Support queries for listCollections 2021-06-18 15:27:16 -04:00
kodumbeats 9aad04b484 Accept default permissions from Utopia for now 2021-06-18 15:27:03 -04:00
kodumbeats b1a6302311 Use database worker to remove attributes and indexes 2021-06-18 14:27:14 -04:00
kodumbeats afd347ca6f Create attributes and indexes using database worker 2021-06-18 12:13:37 -04:00
kodumbeats c7dfb60bbc Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-17 14:24:09 -04:00
kodumbeats 3c7b7d21f5 Add reminder to filter results from listCollections 2021-06-17 14:22:43 -04:00
Eldad Fux 4c615c8fa6 Updated log method name 2021-06-17 21:21:22 +03:00
kodumbeats 160330675a Add whitelist of filters to createAttribute 2021-06-17 13:09:40 -04:00
kodumbeats 435f6879f2 Remove unused imports 2021-06-17 13:03:24 -04:00
kodumbeats a54af88a38 Address todo items for attributes and index routes 2021-06-17 11:53:06 -04:00
Bradley Schofield a56463e56e Fix Unique Keys not being update when changing a user's email address 2021-06-17 16:46:29 +01:00
Bradley Schofield 891a46d883
Merge branch '0.9.x' into feat-1297-add-expire-date-to-urls 2021-06-17 14:20:24 +01:00
Bradley Schofield c5a08350a2 Add expire param to Account Recovery and Email Verification 2021-06-17 13:44:06 +01:00
Bradley Schofield 3f386d485e
Merge branch '0.9.x' into feat-get-session-by-id-endpoint 2021-06-17 11:07:33 +01:00
Bradley Schofield 88bb46ec95 Update account.php 2021-06-17 10:41:04 +01:00
Bradley Schofield 978668cbb9 Implement changes on other endpoints 2021-06-17 10:33:57 +01:00
Bradley Schofield 40e9fa9b36 Add Christy's Suggestions 2021-06-17 10:08:01 +01:00
kodumbeats 2530341bf9 Fix updateCollection and clean up code 2021-06-16 16:36:18 -04:00
Bradley Schofield fa918f9523 Add Eldad's Suggestions 2021-06-16 14:48:30 +01:00
Bradley Schofield 320cc97ad8 Replace getCollectionFirst with getDocument
Should be faster due to redis caching
2021-06-16 12:48:33 +01:00
Bradley Schofield cdb8fb8286 Implement suggestions 2021-06-16 11:48:12 +01:00
Bradley Schofield d4c39b7b73 Add session by ID API Endpoint 2021-06-16 11:14:08 +01:00
kodumbeats 0e7c55c17c Fix tests for deleteDocument 2021-06-15 10:24:51 -04:00
kodumbeats a62c46cc44 Fix tests for update and delete document 2021-06-15 09:38:24 -04:00
kodumbeats 33d07c2ba4 Move listDocuments to new db 2021-06-14 15:55:36 -04:00
Christy Jacob 8322749c2c Merge branch 'master' of github.com:appwrite/appwrite into feat-move-deletion-to-worker 2021-06-14 20:56:40 +05:30
kodumbeats 24a5fb4867 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-14 10:40:05 -04:00
Christy Jacob a93496bc8c Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-move-deletion-to-worker 2021-06-14 11:05:08 +05:30
Christy Jacob 86b1cc1678 feat: merge commit 2021-06-14 10:58:49 +05:30
Eldad Fux 9f81790761 Updates to swagger tests 2021-06-13 18:01:56 +03:00
Eldad Fux 01ba5a0738 Returned userIDs 2021-06-12 23:44:25 +03:00
Eldad Fux b4fcbbe062 Fixed JWT missing namespace 2021-06-12 22:37:19 +03:00
Eldad Fux 7a3221168e Removed unrequired attribute 2021-06-12 21:43:12 +03:00
Eldad Fux f3ff50d686 Fixed logs time attribute 2021-06-12 21:39:59 +03:00
Eldad A. Fux a3053b2a2b
Merge branch 'feat-database-indexing' into feat-audit-abuse 2021-06-12 17:54:55 +03:00
Eldad A. Fux 264eb0ea4e
Update app/controllers/api/account.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-06-12 17:50:40 +03:00
Eldad A. Fux babf31c3a3
Update app/controllers/shared/api.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-06-12 17:50:27 +03:00
Eldad Fux 4dc225a886 Added orderType params 2021-06-12 17:33:23 +03:00
Eldad Fux fe5de87563 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-12 13:21:28 +03:00
kodumbeats 0a33325422 Sync with branch 'feat-database-indexing' for PDO and test fixes 2021-06-11 16:42:03 -04:00
Eldad Fux 5fa2a8468e Fixed test and PDO error 2021-06-11 23:39:00 +03:00
kodumbeats f7d3b726fd Remove erroneous use 2021-06-11 16:21:54 -04:00
kodumbeats e35d883c56 Test for creating collections and documents 2021-06-11 16:06:54 -04:00
kodumbeats 4f90d89def Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-11 14:34:15 -04:00
Eldad Fux 2028d334a2 Fixed old DB 2021-06-11 21:23:41 +03:00
Eldad Fux b929084b8b Updated var name 2021-06-11 21:23:31 +03:00
Eldad Fux 2cf16881f1 Replaced * with role:all 2021-06-11 21:23:16 +03:00
kodumbeats 1885a9632d Fix tests for create/delete collection 2021-06-11 14:07:05 -04:00
kodumbeats d2597db038 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-11 10:48:10 -04:00
kodumbeats 3510bc88b4 use isEmpty document method to check for empty collection 2021-06-11 10:25:52 -04:00
Torsten Dittmann 3f199e1232 refactor(workers): create abstract worker class 2021-06-11 16:20:18 +02:00
Eldad A. Fux 4df8f8aaba
Merge pull request #1260 from lohanidamodar/feat-image-crop-gravity
feat-image-crop-gravity
2021-06-11 16:51:25 +03:00
Damodar Lohani 4ea0d627f4 remove int conversion 2021-06-11 18:11:04 +05:45
Eldad Fux 2a07d311e8 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-11 15:04:15 +03:00
Eldad Fux e42eab3671 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-06-11 12:28:24 +03:00
kodumbeats 7138dbd34f Use new db for collections and documents 2021-06-10 14:19:42 -04:00
kodumbeats e9d93ce95e Throw 404 when collection not found 2021-06-10 09:15:00 -04:00