1
0
Fork 0
mirror of synced 2024-07-02 21:20:58 +12:00
Commit graph

388 commits

Author SHA1 Message Date
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
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
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 Fux 5fa2a8468e Fixed test and PDO error 2021-06-11 23:39:00 +03:00
Eldad Fux 2cf16881f1 Replaced * with role:all 2021-06-11 21:23:16 +03:00
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
Damodar Lohani 12e01f8092 integrate abuse and audit 2021-06-07 11:02:29 +05:45
Eldad Fux f1d75dc805 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-03 23:19:35 +03:00
Eldad Fux d77226e8f9 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-03 23:19:04 +03:00
Christy Jacob b954e148b5 feat: review comments 2021-06-03 19:01:00 +05:30
Christy Jacob 26c46a2278 fix: ignore email case when creating account 2021-06-03 18:33:51 +05:30
Christy Jacob ec4d4d56a1 fix: ignore email case when creating account 2021-06-03 18:28:40 +05:30
Eldad Fux da3d4546ad Update mail style 2021-05-30 23:38:40 +03:00
Eldad A. Fux 29114f8299
Merge pull request #1208 from appwrite/feat-1176-pass-session-to-function
feat: pass session to cloud function in oauth create sessions
2021-05-28 22:21:51 +03:00
Christy Jacob f4538f0c6b feat: indentation 2021-05-28 12:32:39 +05:30
Christy Jacob faa7c3e708 feat: pass session to cloud function in oauth create sessions 2021-05-28 12:26:11 +05:30
Damodar Lohani 59338afb40 fixes deleteSession API removes browser's cookieFallback #1193 2021-05-28 12:12:14 +05:45
Eldad Fux 26d0d5d3dc Implemented search 2021-05-27 13:09:14 +03:00
Eldad Fux abd0bba8a4 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-27 01:31:29 +03:00
Torsten Dittmann d118b09d90 fix(account): add anon sessiom id 2021-05-20 15:41:55 +02:00
Eldad Fux ed751160de Fixed missing JWT model 2021-05-20 11:52:19 +03:00
Eldad Fux fe617a48a2 Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-15 04:20:12 +03:00
Eldad A. Fux 5c4ee95d23
Merge branch '0.8.x' into feat-update-team-membership-password 2021-05-13 17:40:35 +03:00
Eldad Fux f7f54c0d2f Leverage auth limit for god feature 2021-05-12 14:35:46 +03:00
Eldad Fux c5a2a93f96 Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-god-user 2021-05-12 14:14:15 +03:00
Eldad Fux 0a3c198e00 Removed boolean check on DB operation 2021-05-09 23:34:32 +03:00
Eldad Fux c173d4a2e3 More cometics 2021-05-09 21:37:47 +03:00
Eldad Fux dc57a41f36 Fixed account tests 2021-05-09 02:10:13 +03:00
Eldad Fux e70de897d6 Work in progress account/teams/users 2021-05-07 01:31:05 +03:00
Christy Jacob 80328f1dc7 feat: review comments 2021-05-06 18:51:36 +05:30
Christy Jacob eaac52b9b7 feat: allow external users to update password without oldPassword 2021-05-05 00:22:46 +05:30
Eldad A. Fux 8e4a87ea04
Merge pull request #1102 from TorstenDittmann/feat-prefs-response-model
feat: preferences response model
2021-04-29 20:59:41 +03:00
Eldad Fux 1a4e813e45 Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-god-user 2021-04-23 23:33:04 +03:00
Eldad A. Fux ba49f4d367
Merge branch '0.8.x' into feat-auth-limits 2021-04-23 09:34:16 +03:00
Torsten Dittmann 5668579021 fix: improve error message on anon login 2021-04-21 16:54:05 +02:00
Torsten Dittmann cc34719768 feat: preferences response model 2021-04-21 15:37:51 +02:00
Eldad Fux c8a5d05a3e Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-auth-limits 2021-04-19 14:19:57 +03:00
Eldad Fux ce8b3686d8 Replaced sdk.security with sdk.auth 2021-04-16 10:22:17 +03:00
Eldad Fux 7a0ff7699a Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-jwt-support-for-sdks 2021-04-16 10:20:12 +03:00
Torsten Dittmann 3829b4b8da Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-auth-limits 2021-04-14 12:36:40 +02:00
Eldad Fux 994dd3164f Merge branch 'dev' of github.com:appwrite/appwrite into 0.8.x 2021-04-14 12:02:17 +03:00
Eldad Fux d9528ef1ce Update anon login limits and tests 2021-04-03 11:56:32 +03:00
Eldad Fux f070eb0a3a Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-auth-limits 2021-04-03 10:16:46 +03:00
kodumbeats d4b107bf1d
Merge branch '0.8.x' into refactor-event-payload-to-data 2021-03-29 15:32:14 -04:00
kodumbeats 9f8e7358d4 Refactor event $payload to $eventData 2021-03-29 14:00:10 -04:00
Torsten Dittmann ceeb30fd4f adapt to anon login 2021-03-29 11:16:56 +02:00
Torsten Dittmann 078a07d6b8 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into refactor-user-tokens 2021-03-29 11:07:18 +02:00
Eldad Fux 0f67c500a2 Fixed missing API scope 2021-03-29 01:56:05 +03:00
Eldad Fux 8ea83b24c3 Added new JWT as SDK auth method 2021-03-29 00:22:12 +03:00
kodumbeats 07140bda5a Replace utopia libs with native validators 2021-03-24 13:47:43 -04:00
Torsten Dittmann 74853da211 Merge branch 'feat-anon-login' of https://github.com/TorstenDittmann/appwrite into feat-anon-login 2021-03-23 09:39:03 +01:00
Torsten Dittmann b9017549c2 remove env variable in favor of #947 2021-03-23 09:38:56 +01:00
Eldad A. Fux 7899211076
Merge branch '0.8.x' into feat-anon-login 2021-03-17 23:08:59 +02:00
Eldad Fux 99207d5376 Merge branch 'master' of github.com:appwrite/appwrite into 0.7.x 2021-03-13 00:25:11 +02:00
kodumbeats 5eaced933d Use uppercase countryCode as index for $countries assoc array 2021-03-08 14:58:16 -05:00
Eldad Fux 30b04baca8 Added response types 2021-03-05 07:30:34 +02:00
Eldad Fux 538ffb0b24 Fixed type 2021-03-01 23:04:53 +02:00
Eldad Fux e7466a91cc Added e2e tests 2021-02-28 23:22:03 +02:00
Eldad Fux b09afd1921 Updated API 2021-02-28 20:36:13 +02:00
Torsten Dittmann e829f8f7bc add env var and console prevention 2021-02-23 23:43:05 +01:00
Eldad Fux db898d9f9c Fixed count method 2021-02-23 14:52:14 +02:00
Eldad Fux c10500c882 Added an option for a console god user 2021-02-23 13:29:12 +02:00
Torsten Dittmann 8bc484dfca fix leftovers 2021-02-19 14:59:36 +01:00
Torsten Dittmann d4bd9c0d06 decouple user session from tokens 2021-02-19 13:12:47 +01:00
Torsten Dittmann 312ab65794 decouple oauth2 from user to tokens 2021-02-19 11:02:02 +01:00
Torsten Dittmann 2c1247d667 change sdk method name 2021-02-18 15:52:27 +01:00
Torsten Dittmann d1ae8aa15c adapt to review 2021-02-17 09:47:07 +01:00
Torsten Dittmann 1387fb50f1 add tests for oauth2 2021-02-16 16:51:08 +01:00
Torsten Dittmann c9b46d93dc fix comment 2021-02-16 15:16:09 +01:00
Torsten Dittmann 9d18916504 create new endpoint 2021-02-16 14:46:30 +01:00
Eldad Fux 51390c2a95 Fixed tests 2021-02-15 10:16:23 +02:00
Eldad Fux 764abc22ae Abstracted useragaent parsing stuff 2021-02-14 19:28:54 +02:00
Eldad A. Fux 3507d28355
Merge pull request #869 from appwrite/fix-no-type-when-no-content
Fix no type when no content
2021-02-04 14:44:53 +02:00
Eldad Fux c175d505a6 Hide JWT from docs 2021-02-03 01:25:52 +02:00
Eldad Fux e704cc82b5 Remove content type when no content 2021-02-02 08:02:35 +02:00
Torsten Dittmann a965268826 Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-migration-v06 2021-01-15 15:11:17 +01:00
Eldad Fux 89a5cf94b3 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2021-01-15 08:24:43 +02:00
Torsten Dittmann c51caac494 refactor(collections): enfore camel case 2021-01-14 13:04:16 +01:00
Eldad Fux 8117235551 Updated user default status 2021-01-10 13:55:59 +02:00
Eldad Fux bb52478bc3 Changed JWT expiry to max 15 minutes 2020-12-28 23:23:09 +02:00
Eldad Fux e4e0c23968 Added tests 2020-12-28 22:31:55 +02:00
Eldad Fux f6d30fa1fb Added a new JWT endpoint 2020-12-28 19:03:27 +02:00
Eldad Fux 9c712acd5e Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2020-12-28 14:11:50 +02:00
Eldad Fux 54f753f2a7 Checking if user is blocked before session creation 2020-12-27 13:57:42 +02:00
Eldad Fux d74ccd1dbe Fixed missing injections 2020-12-26 20:11:18 +02:00
Eldad Fux fbe7263a5a Updated account controller 2020-12-26 16:31:53 +02:00
Christy Jacob d8a0e9bd14 feat: updated new Linkedin scopes 2020-12-24 18:04:55 +05:30
Eldad Fux e3c58361d9 Merged all system events 2020-12-07 00:14:57 +02:00
Eldad Fux 362f84e51b Added missing user ID to both session and token models 2020-11-26 08:12:24 +02:00
Eldad Fux 374e504923 Added more tests 2020-11-23 17:04:02 +02:00
Eldad Fux c3d398d2e3 Added missing response attributes 2020-11-20 23:02:26 +02:00
Eldad Fux e9c1e8e0b1 Added new tests 2020-11-20 14:35:16 +02:00
Eldad Fux ea0f51a4da Added new webhook events 2020-11-18 21:38:31 +02:00
Eldad Fux d3e14e3b62 Updated response models 2020-11-13 00:50:53 +02:00
Eldad Fux 0ff73596b3 Added new models for missing routes 2020-11-12 13:54:16 +02:00
Eldad Fux afd20d96f8 Updated routes lables 2020-11-11 23:02:24 +02:00
Eldad Fux 54f5d4d909 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2020-10-31 16:57:38 +02:00
Eldad Fux 1e1e1a431f Minor cleanups 2020-10-31 10:42:41 +02:00
Eldad Fux e81fb88736 First commit 2020-10-30 21:53:27 +02:00
Eldad Fux 752c6b4ecb Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-coding-standards 2020-10-30 00:42:46 +02:00
Eldad Fux 07b79c3103 Updated docs 2020-10-29 15:50:49 +02:00
Eldad Fux 0450604d27 Added external swoole lib and extended response class 2020-10-29 15:07:56 +02:00
Eldad Fux b8b77822c2 Updated controllers folder 2020-10-27 21:46:15 +02:00
Eldad Fux 8c890119be Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2020-10-27 02:26:09 +02:00
Eldad Fux 528ff82be9 Updated coding standards 2020-10-27 02:11:24 +02:00
Eldad Fux 9c6138308c Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2020-10-27 01:51:38 +02:00
Eldad Fux 08a831c141 Fixed validation test 2020-10-25 11:27:07 +02:00
Eldad Fux a5ac18ec27 Updated docs and comments 2020-10-25 08:15:36 +02:00
hack3r-0m e102c9d990 replaced old Reader method to new 2020-10-24 11:39:57 +00:00
Eldad Fux 79c0368b58 First commit 2020-10-17 20:49:09 +03:00
Eldad Fux ca95ee803e Test preloading of all validators 2020-09-10 17:40:14 +03:00
Eldad Fux e399b13639 [BUG] case sensitive country flag code
Fixes #526
2020-09-09 23:29:39 +03:00
Eldad Fux 77667be404 Changes all name attributes length to max
of 128 chars
2020-09-08 00:28:40 +03:00
Eldad Fux 60c5487c06 Updated SDKs 2020-07-14 19:29:49 +03:00
Eldad Fux 633b3bcb15 Fixed preloading 2020-07-07 23:40:08 +03:00
Eldad Fux b0e8dfc583 Tests fixed? 2020-07-06 00:54:41 +03:00
Eldad Fux 969441bf47 Fixed queues var names 2020-07-05 17:19:59 +03:00
Eldad Fux 498fb207f6 Added new request methods 2020-07-03 18:14:51 +03:00
Eldad Fux e0443b1a48 Fixed OAuth2 tests 2020-07-03 10:55:12 +03:00
Eldad Fux 934ae8beac Fixed domain validation 2020-07-03 00:48:02 +03:00
Eldad Fux d6e85bc39e Removed namespace 2020-07-02 23:33:25 +03:00
Eldad Fux 66e2e29066 Load GEODB on init 2020-07-02 23:24:14 +03:00
Eldad Fux 521f206f09 Updated request methods 2020-07-02 20:37:24 +03:00
Eldad Fux 3b4c77029c Merge branch 'remove-globals' of github.com:appwrite/appwrite into swoole 2020-07-01 10:04:03 +03:00
Eldad Fux f5af0e701c Fixed cookie vars 2020-07-01 09:35:57 +03:00
Eldad Fux fd90a57ece Fixed tests 2020-07-01 00:38:06 +03:00
Eldad Fux 22867f9a8d Updated resources 2020-06-30 21:08:02 +03:00
Eldad Fux 6824cf560f Added env vars and new request methods 2020-06-30 14:09:28 +03:00
Eldad Fux 1c9bf4d0ab Refactored all config files and added new ones 2020-06-30 08:27:52 +03:00
Eldad Fux 3e808d3bf4 Removed global vars 2020-06-30 00:43:34 +03:00
Eldad Fux b2c5cdf054 Merge branch 'remove-globals' of github.com:appwrite/appwrite into swoole 2020-06-29 09:22:23 +03:00
Eldad Fux 0804526ee4 Merge branch 'master' of github.com:appwrite/appwrite into swoole 2020-06-28 23:56:11 +03:00
Eldad Fux 0caff20e80 Removed more global vars 2020-06-28 23:45:36 +03:00
Eldad Fux 655aecd29d Cleaned up globals 2020-06-28 22:28:18 +03:00
Eldad Fux 4f7d5aa132 Merge branch 'master' of github.com:appwrite/appwrite into remove-globals 2020-06-28 22:07:18 +03:00
Eldad A. Fux c64cf7f160
Merge branch 'master' into deprecated-first-and-last 2020-06-28 21:53:16 +03:00
Eldad Fux 00e3632c59 Upgraded FW 2020-06-28 20:31:21 +03:00
Eldad Fux 19a17f4568 Merge branch 'master' of github.com:appwrite/appwrite into remove-globals 2020-06-28 20:00:53 +03:00
Eldad Fux 3a67ccb522 Accept appwrite self hosted instances 2020-06-28 10:59:52 +03:00
Eldad Fux 0ff3fda3ac Fix for Missing redirect error on redirect from OAuth when using the self-hosted instance success URL #454 2020-06-28 00:37:55 +03:00
Eldad Fux efc8fd12dc Merge branch 'master' of github.com:appwrite/appwrite into deprecated-first-and-last 2020-06-26 17:43:21 +03:00
Eldad Fux 7c2969b967 Removed first and last from internal functions 2020-06-26 17:41:13 +03:00
Eldad Fux e088140ff5 Use utopia to get env vars 2020-06-26 15:40:24 +03:00
Eldad Fux ab77d9efae Expirements 2020-06-26 15:27:58 +03:00
Eldad Fux e8f22ac1d7 Merge branch 'master' of github.com:appwrite/appwrite into response-refactor 2020-06-25 23:11:16 +03:00
Eldad Fux ff6078fd7e Unified include calls 2020-06-25 22:53:36 +03:00
Eldad Fux 539ea96ca0 Adding group support, upgraded FW 2020-06-25 21:32:12 +03:00
Eldad Fux c7366c7453 Updated coding standards 2020-06-24 23:59:04 +03:00
Eldad Fux 33e9c486c8 JSON output -> dynamic output 2020-06-23 21:53:48 +03:00
Eldad Fux 2f1e25fc09 Updated naming conventions 2020-06-23 18:01:20 +03:00
Eldad Fux 29c8954b21 Fixed tests 2020-06-22 22:06:57 +03:00
Eldad Fux fff951c8fb Fixed tests 2020-06-22 21:38:14 +03:00
Eldad Fux e6a4020fd1 Set user roles at app init 2020-06-22 19:31:59 +03:00
Eldad Fux 32f917c78a Updated namespace structure 2020-06-22 15:17:14 +03:00
Eldad Fux 9d6f5df541 Merge branch 'master' of github.com:appwrite/appwrite into response-refactor 2020-06-21 15:57:11 +03:00
Eldad Fux 8c33a729bc Same for app directory 2020-06-20 14:20:49 +03:00
Eldad Fux 8e1eda173a Added scopes param 2020-06-16 22:37:46 +03:00
Eldad A. Fux 70caed07a5
Merge pull request #402 from TorstenDittmann/master
Add responsive and customizable email templates
2020-06-14 23:33:01 +03:00
Torsten Dittmann 9ec49b90b3 add event property to mail worker 2020-06-14 01:06:05 +02:00
Torsten Dittmann 9aa9008f82 add mail background worker 2020-06-14 00:38:46 +02:00
Torsten Dittmann 06c61ec917 add placeholders for colors 2020-06-12 20:21:58 +02:00
Torsten Dittmann 8a4227bcb7 add responsive email templates 2020-06-12 01:20:32 +02:00
Eldad Fux 81ef66a29a Work in progress 2020-06-05 12:53:06 +03:00
Eldad Fux e71a0f4be5 Updated docs 2020-05-31 01:24:05 +03:00
Eldad Fux 7296db0d06 Added UI adjutments for Apple unique secret key 2020-05-29 15:02:53 +03:00
Eldad Fux 19b343a795 Updated docs 2020-05-28 14:34:42 +03:00
Eldad Fux 11a3d3de58 Added default OAuth handler a unique scheme 2020-05-17 14:11:43 +03:00
Eldad Fux 3572c67938 Updated OAuth2 default URLs 2020-05-16 14:45:22 +03:00
Eldad Fux 13e316bc53 Updated default OAuth2 URLs 2020-05-16 14:42:55 +03:00
Eldad Fux 2664e7d921 Merge branch 'master' of github.com:appwrite/appwrite into 0.6 2020-04-15 16:44:08 +03:00
Eldad Fux ed268340da Updated methods labels 2020-04-10 21:59:14 +03:00
Eldad Fux 586341b323 Added URL parsing lib 2020-04-08 16:38:36 +03:00
Eldad Fux 79560d5c7e Added no caching on get oauth requests 2020-04-08 14:21:41 +03:00
Eldad Fux 0c2e3d510a Merge branch '0.6' of github.com:appwrite/appwrite into 0.6 2020-03-28 18:17:30 +03:00
Eldad Fux 4548622386 Added config manager 2020-03-28 15:42:16 +03:00
Eldad Fux 7b1dd6b2c3 Updated all the REST API query params to be in camelCase 2020-03-25 22:19:19 +02:00
Eldad Fux 8d3465e29f Added a vendor namespace to all local libs 2020-03-24 19:56:32 +02:00
Eldad Fux 4f11e171db Fixed document not being unique 2020-03-21 23:10:06 +02:00
Eldad Fux d15394ad68 Fixed missing email verification attribute 2020-03-21 14:35:46 +02:00
Eldad Fux 6fa9f1fed2 Disabled cookie fallback when domain is verified 2020-03-17 13:36:13 +02:00
Eldad Fux d8bc3f03e8 Added protocol var and cookie fallback 2020-02-27 11:17:09 +02:00
Eldad Fux 46cfa9ee92 Updated $uid to $id 2020-02-17 09:16:11 +02:00
Eldad Fux f433db17d0 Updated naming from OAuth to OAuth2 2020-02-16 13:41:03 +02:00
Eldad Fux b3d15d09e8 Added location response to storage resources 2020-02-16 08:25:48 +02:00
Eldad Fux ae6999aee3 Updated session ID 2020-02-15 20:34:16 +02:00
Eldad Fux cf4d4c30d0 Updated docs 2020-02-12 12:38:12 +02:00
Eldad Fux dc2a71ed11 Added more account logs 2020-02-12 00:24:30 +02:00