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

459 commits

Author SHA1 Message Date
Matej Bačo 3fe98a6f30 Code review changes 2022-02-03 11:57:04 +00:00
Matej Baco d360fd2d96 Feedback updates, preparation for session renewing 2022-02-02 15:14:17 +01:00
Matej Baco 7301923bba Added force parameter functionality 2022-02-01 17:47:08 +01:00
Matej Baco 5bb4a87280 Caching bug gix 2022-02-01 17:30:49 +01:00
Matej Baco 3aa62b439b Implemented refresh token endpoint 2022-02-01 16:54:20 +01:00
Matej Baco 89834af47d Refactored all providers, added expiry 2022-02-01 11:42:11 +01:00
Matej Baco 570cfc18a8 Implemented refresh token system + Twitch provider update 2022-01-31 21:10:12 +01:00
Christy Jacob f042c00b20 feat: add new exceptions to accounts api 2022-01-31 02:44:47 +04:00
Simon Trockel e29ac692d5 Adjust all code param lengths 2022-01-22 21:02:51 +01:00
Simon Trockel 9f2d225f29 Merge branch 'feat-926-oauth2-microsoft-tenant-config' of https://github.com/BobcatProgrammer/appwrite into feat-926-oauth2-microsoft-tenant-config 2022-01-22 19:31:47 +01:00
Simon Trockel 8233881c44 feat: Generic custom Oauth provider form 2022-01-22 19:31:40 +01:00
Torsten Dittmann d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Eldad A. Fux f5bf1a3cd6
Merge pull request #2600 from gewenyu99/doc-wrap-id-string-in-quotes
Wrap unique() in double quotes to better indicate that it's a literal…
2022-01-17 17:33:33 +02:00
Eldad Fux 8dc7d24d5a Fixed missing validation 2022-01-16 01:25:00 +02:00
Vincent Ge a102ee6f14 Wrap unique() in double quotes to better indicate that it's a literal string 2022-01-12 17:19:30 -05:00
Matej Baco e2aebdd2bc Merge branch 'feat-database-indexing' into feat-quest-filters 2022-01-04 15:29:42 +01:00
Torsten Dittmann 7230b5f6ec Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing 2022-01-03 13:44:28 +01:00
Matej Baco 69b4d074f5 Migrated all imports to new request class 2021-12-31 16:50:07 +01:00
Torsten Dittmann 49ba7d5dfd fix: users prefs default value 2021-12-28 11:48:50 +01:00
Torsten Dittmann 693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
Torsten Dittmann 8826984b1f refactor: replace disable with skip calls for authorization 2021-12-17 16:25:05 +01:00
Torsten Dittmann d1f901e7a8 feat: use arrow functions on authorization skip method 2021-12-16 12:30:43 +01:00
Torsten Dittmann af5fb8751e fix: paginatio docs on endpoints 2021-12-14 12:21:44 +01:00
Torsten Dittmann cb37a69c3e Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-controller-docs-refactor 2021-12-14 12:16:05 +01:00
Torsten Dittmann aef6c11370 fix(auth): use getRoles instead of static property 2021-12-10 18:52:33 +01:00
Torsten Dittmann adffae7cf7 docs(api): reviewed in-line docs of endpoints 2021-12-10 13:27:11 +01:00
Torsten Dittmann f04cb72cfb Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-main-rebase 2021-12-01 14:19:41 +01:00
Torsten Dittmann f11a6325ff fix(api): use constant for maximum offset range 2021-12-01 14:05:01 +01:00
Bradley Schofield 4cee817161 Merge branch 'master' into fix-improve-recovery-rate-limit 2021-11-29 09:13:35 +00:00
kodumbeats a83d99915d Align password requirements with nist guidelines 2021-11-25 15:07:54 -05:00
Torsten Dittmann f2eb6ae317 fix(ui): logs pagination 2021-11-18 11:33:42 +01:00
Torsten Dittmann ced8c9ef03 use updated audit library 2021-11-16 15:54:29 +01:00
Torsten Dittmann 19d01c17bb Revert "fix(api): add after pagination to logs endpoints"
This reverts commit 058b4dd975.
2021-11-16 14:37:33 +01:00
Torsten Dittmann 058b4dd975 fix(api): add after pagination to logs endpoints 2021-11-16 12:20:14 +01:00
Torsten Dittmann f8731e8d65 fix(api): logs limit param description 2021-11-16 12:02:11 +01:00
Torsten Dittmann d5f959454b feat(controllers): add pagination to logs endpoints 2021-11-15 10:48:32 +01:00
Bradley Schofield 24b747453f Add the ability for multiple abuse-keys 2021-11-09 10:21:24 +00:00
Bradley Schofield 5a54ae8d0a Update abuse-key for password recovery to add IP
Update abuse-key for password recovery to add IP
2021-11-08 14:54:28 +00:00
Torsten Dittmann e368053d7b fix magic url 2021-10-07 21:10:43 +02:00
Torsten Dittmann 8db80e164d Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 12:08:24 +02:00
Torsten Dittmann 492a83e336 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-search-attribute 2021-10-06 14:48:57 +02:00
kodumbeats 3d6de5da47 Throw correct response code for duplicate user 2021-10-05 12:02:54 -04:00
kodumbeats f2c678bf41 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-search-attribute 2021-10-05 11:04:09 -04:00
Torsten Dittmann 1ed41f52d3 Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-09-30 12:32:10 +02:00
Matej Baco 77793b4e01 update instead of delete, adjust code to new attribute 2021-09-21 13:18:54 +02:00
Eldad A. Fux ca39f1e617
Merge pull request #1555 from appwrite/fix-oauth-default-succss-failure-url
fix-oauth-default-succss-failure-url
2021-09-11 20:15:16 +03:00
Damodar Lohani 2adac4548a Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-09-07 11:06:12 +05:45
Damodar Lohani cf912993b4 fix default magic login handling url 2021-09-02 11:06:25 +05:45
Torsten Dittmann bcc8c0a9cd fix(magic-url): verify e-mail address on user 2021-09-01 09:29:12 +02:00
Torsten Dittmann 5bdebe55d7
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-09-01 09:23:08 +02:00
Torsten Dittmann 8346710d4f
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-09-01 09:22:51 +02:00
Damodar Lohani fe51f50b3f requested changes 2021-08-31 16:14:54 +05:45
Damodar Lohani b8466063e1
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-08-31 16:11:20 +05:45
Damodar Lohani e9e83d14c3 updates and fixes, default handler for magic login 2021-08-31 15:07:48 +05:45
Damodar Lohani 6a3f90a3a4 for endpoints that send mails, throw exception when smtp is disabled 2021-08-31 13:20:04 +05:45
Damodar Lohani ee5745d3ce throw exception if SMTP is not available 2021-08-31 13:17:58 +05:45
Damodar Lohani d67c754dad update descriptions 2021-08-31 12:58:30 +05:45
Damodar Lohani 69f66c62f3 oauth default redirect url to user's instance instead of appwrite.io 2021-08-31 12:49:17 +05:45
Damodar Lohani 45955f0c41 abuse limit by email param 2021-08-31 11:42:07 +05:45
Damodar Lohani 13ba85036b fix token type for verification 2021-08-30 17:17:05 +05:45
Damodar Lohani 56fdbf9e3e fix scope 2021-08-30 16:54:45 +05:45
Damodar Lohani 22ceb1dc7c create session with magic url 2021-08-30 16:29:52 +05:45
Damodar Lohani 6524d00b08 update audit resource 2021-08-29 17:51:33 +05:45
Damodar Lohani bb666810d9 update to use duplicate exception to check email already exists 2021-08-29 17:45:25 +05:45
Damodar Lohani 4b5db30a43
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-08-19 16:58:32 +05:45
Damodar Lohani 2a1ccafb62
Update app/controllers/api/account.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2021-08-19 16:58:26 +05:45
Damodar Lohani 0d47dea97f Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-19 11:12:49 +05:45
Damodar Lohani bc05c4d3a5 update custom id description on all services 2021-08-19 10:37:36 +05:45
Damodar Lohani 0d73ac953d count total number of sessions deleted 2021-08-17 11:08:43 +05:45
Damodar Lohani 3e0cc30bdd some comments and small fixes 2021-08-16 18:16:49 +05:45
Damodar Lohani 00a1612b24 users and sessions stats 2021-08-16 14:38:34 +05:45
Eldad Fux a7c4edba95 Updated collection structures to support fulltext search 2021-08-14 21:56:28 +03:00
Eldad Fux 6a22cc92c0 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-project-object-restructuring 2021-08-06 21:59:35 +03:00
Damodar Lohani d6f3567a15 fix account error 2021-08-06 18:15:56 +05:45
Damodar Lohani 4a4bc21755 Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-06 16:55:06 +05:45
Eldad Fux 09fb8327a5 Minor fixes 2021-08-06 13:48:50 +03:00
Damodar Lohani 475002eef8 oauth2 providers in project grouped 2021-08-06 16:20:50 +05:45
Damodar Lohani bcce7bc88e drop custom id support on sessions 2021-08-06 15:20:28 +05:45
Damodar Lohani ebf306f814 group auth limit inside auths 2021-08-06 14:19:17 +05:45
Eldad Fux c2a396d244 Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-custom-id 2021-08-05 11:46:22 +03:00
Eldad Fux 3712eca2cc Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-08-05 11:25:36 +03:00
Damodar Lohani 2030efee08 fix error 2021-08-05 10:51:38 +05:45
Damodar Lohani 3c20404e71 account endpoint custom id 2021-08-05 10:47:55 +05:45
kodumbeats 1766be331a Change findFirst to findOne 2021-08-03 16:22:03 -04:00
Eldad A. Fux 6588144db5
Merge pull request #1440 from appwrite/feat-locale-refactor
Feat locale refactor
2021-07-30 09:42:07 +03:00
Christy Jacob 15224fa678 feat(mails): default to english locale if missing translations 2021-07-30 00:16:06 +05:30
Christy Jacob 1f61177f54
Merge pull request #1422 from appwrite/feat-locale-refactor
Feat locale refactor
2021-07-28 02:38:03 +05:30
Christy Jacob 2f1474f03d feat(email-templates): move email rendering to mails worker 2021-07-28 02:01:19 +05:30
Christy Jacob 3b573745bd feat(email-templates): render email body using new templates 2021-07-27 21:33:39 +05:30
Christy Jacob 196fbeca8a feat(cta): delete the cta template and cta css classes 2021-07-27 19:55:04 +05:30
Eldad Fux 95dacecf3a Removed the tasks service 2021-07-27 17:16:12 +03:00
Christy Jacob d97a4df9db feat(cta): remove usage of cta template 2021-07-27 19:29:41 +05:30
Bradley Schofield 7974a6ba5e Update account.php 2021-07-27 12:21:26 +01:00
Bradley Schofield e0761e1737 Fix create email verification abuse-key 2021-07-27 12:15:59 +01:00
Bradley Schofield d729d54de0 Fix Create JWT abuse key 2021-07-27 12:07:39 +01:00
Christy Jacob 198c5087c7 feat: review comments 2021-07-26 12:35:08 +05:30
Eldad Fux 13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
Christy Jacob 2919e70d05 feat(template): added static method for template creation from file 2021-07-23 22:59:20 +05:30
Christy Jacob 47084b2835 feat(locale): fix broken tests 2021-07-23 20:05:21 +05:30
Christy Jacob 16b3c5c3a4 feat(locale): use new locale functions 2021-07-23 01:45:01 +05:30
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 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 6fe19370f3 Fixed OAuth2 tests 2021-07-18 00:21:33 +03:00
Eldad Fux 2bf69d59f1 Update session document 2021-07-17 13:04:43 +03:00
Eldad Fux b4a65c2c1a Removed TODOs, fixed comments 2021-07-16 07:39:31 +03:00
Torsten Dittmann 4633d74fc7 feat(db-refactor): user status now boolean 2021-07-14 13:02:12 +02:00
Torsten Dittmann 18d4a0def0 fix(app): remove app resource and replace with utopia 2021-07-12 11:51:58 +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
Bradley Schofield 1a8ace0fb0 Update account.php 2021-07-06 09:14:12 +01: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
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 57bc8c75e0 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-07-03 09:21:07 +03:00
Bradley Schofield 1c0454daa9
Merge branch '0.9.x' into feat-1297-add-expire-date-to-urls 2021-07-02 11:40:58 +01: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
Bradley Schofield 1cf66b5934 Update account.php 2021-06-21 09:13:18 +01:00
Eldad Fux 4c615c8fa6 Updated log method name 2021-06-17 21:21:22 +03: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
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