Commit Graph

372 Commits

Author SHA1 Message Date
David Bomba 5735dd7c15 Apple OAuth 2022-07-13 16:31:48 +10:00
David Bomba 8b03e9bee1 Apple OAuth 2022-07-13 16:29:45 +10:00
David Bomba 9c68aebd1a Apple OAuth 2022-07-13 16:27:19 +10:00
David Bomba c7b5148e64 Apple OAuth 2022-07-13 16:23:11 +10:00
David Bomba b487ac8c0c Apple OAuth 2022-07-13 16:19:27 +10:00
David Bomba 577751cf6f Apple OAuth 2022-07-13 16:17:54 +10:00
David Bomba e96db5eb40 Apple OAuth 2022-07-13 16:16:49 +10:00
David Bomba fa91a755c7 Apple OAuth 2022-07-13 16:14:46 +10:00
David Bomba 469a3f053e Apple OAuth 2022-07-13 16:05:52 +10:00
David Bomba b135168dde Apple OAuth 2022-07-13 16:03:51 +10:00
David Bomba 49eb1bac9e Apple OAuth 2022-07-13 16:03:24 +10:00
David Bomba 2301409f16 Apple OAuth 2022-07-13 16:01:06 +10:00
David Bomba 33e68ba9d5 Apple OAuth 2022-07-13 16:00:41 +10:00
David Bomba 9925214b31 Apple OAuth 2022-07-13 15:55:15 +10:00
David Bomba dfd0670dba Apple OAuth 2022-07-13 15:47:12 +10:00
David Bomba 0ae322798d Apple OAuth 2022-07-11 18:48:24 +10:00
Nikola Cirkovic c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +10:00
David Bomba 94f224cf2e Reduce scopes for microsoft email 2022-06-24 20:41:18 +10:00
David Bomba 93ebf3a767 Response handling with microsoft 2022-06-22 20:55:14 +10:00
David Bomba 3141a33ced Appropriately refresh sending tokens 2022-06-22 19:15:31 +10:00
David Bomba 7515d0e689 checks for access token property 2022-06-22 11:47:14 +10:00
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba d9ca212f81 FIxes for microsoft oauth 2022-06-17 16:46:33 +10:00
David Bomba 98bc3e8125 Change id for microsoft from sub to oid 2022-06-17 16:20:35 +10:00
David Bomba 59ee228820 Handle personal o365 accounts 2022-06-17 16:14:52 +10:00
David Bomba 174b3af863 Handle personal o365 accounts 2022-06-17 15:59:47 +10:00
David Bomba 89f0740703 Handle personal o365 accounts 2022-06-17 15:53:44 +10:00
David Bomba 9e75ebb317 Handle personal o365 accounts 2022-06-17 15:51:37 +10:00
David Bomba 3d7a65fea0 OAuth o365 permissions 2022-06-17 15:42:14 +10:00
David Bomba 913b202743 Refactor logincontroller for oauth providers 2022-06-17 15:09:35 +10:00
David Bomba c5f4b31023 Microsoft oauth + signup 2022-06-17 12:52:08 +10:00
David Bomba 8e7dc5fca4 Microsoft oauth 2022-06-17 11:48:17 +10:00
David Bomba 041156fa89 Updates for vendor portal 2022-06-14 22:54:31 +10:00
David Bomba 063d600bbd Vendor Portal - Purchase Orders 2022-06-14 22:18:20 +10:00
Nikola Cirkovic 117a4e4028 INA-12 | add apple to the login, refactor of microsoft login. 2022-06-11 05:31:32 +02:00
Nikola Cirkovic 469461f490 INA-12 | Handle microsoft login 2022-06-11 04:07:56 +02:00
David Bomba d8b37a08ab Improve handling of missing tokens on login 2022-05-20 09:11:57 +10:00
David Bomba 4198d203e2 clean up for login controller 2022-05-20 08:56:51 +10:00
David Bomba 964563dce4 Fixes for login refactory 2022-05-06 09:29:45 +10:00
David Bomba b6350d323f Fixes for login controller 2022-05-05 10:14:28 +10:00
David Bomba 0ae42195b2 Handle edge case where removed user tries to log into the system 2022-05-04 08:39:54 +10:00
David Bomba 352a1fc1c0 Handle edge case where removed user tries to log into the system 2022-05-04 08:35:36 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba a41468816e Fixes for client contact country on registration 2022-03-23 23:11:41 +11:00
David Bomba 154f029a84 Fixes for contact registration 2022-03-23 23:07:33 +11:00
David Bomba 2949925e41 Fixes for login controller 2022-03-23 20:17:36 +11:00
David Bomba bf0cf1bbae Fixes for permissions 2022-03-23 19:54:30 +11:00
David Bomba bd24a10409 minor fixes 2022-03-23 15:51:32 +11:00
David Bomba 15a85da085 Fixes around oauth google login 2022-03-23 10:29:07 +11:00
David Bomba 3ac72b27cf Fixes for contact registration 2022-03-19 21:21:36 +11:00
David Bomba 00e070bd1b TruthSource in Login 2022-03-14 11:02:00 +11:00
David Bomba 3e039538b6 v5.3.68 2022-03-13 21:40:29 +11:00
David Bomba 2b95f2a0d4 Fixes for resolving correct company user 2022-03-13 19:48:57 +11:00
David Bomba d6aaa0f7ac Fixes for customer translations for contact register page 2022-03-13 09:03:58 +11:00
David Bomba b73dc67692 Forward to correct login location - contacts 2022-03-03 11:51:44 +11:00
David Bomba 83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba 75ae473ef2 Forward to correct location if modules are disabled 2022-02-21 20:31:02 +11:00
David Bomba 1888ac2426 Fixes for negative credits 2022-01-25 13:43:44 +11:00
David Bomba 2b80d3572a Fixes for logging in duplicate contact email addresses 2022-01-18 11:24:40 +11:00
David Bomba a6799c070e Minor Fixes 2022-01-17 21:22:10 +11:00
David Bomba 4829b762dd Fixes for plain design 2021-12-18 20:30:53 +11:00
David Bomba ab114e2587 Fixes for company_key 2021-12-14 20:33:41 +11:00
David Bomba c6a42b2a90 minor fixes for contact registration 2021-12-13 15:22:16 +11:00
David Bomba 97451c8edf Fixes for client authentication 2021-12-12 21:39:12 +11:00
David Bomba b56167da39 Fixes for duplicate quote approved notification 2021-12-11 21:12:48 +11:00
David Bomba 65493c47a5 Change batch() to ->queue() 2021-12-11 20:49:29 +11:00
David Bomba 107ec59ebe Login Controller cleanup 2021-12-11 20:29:03 +11:00
David Bomba 307e32e54d Clean up 2021-12-10 15:39:07 +11:00
David Bomba 1186eaa823 Fixes for client password reset 2021-12-10 14:00:22 +11:00
David Bomba ac194665de fixes for password reset for admin 2021-12-10 13:10:02 +11:00
David Bomba d2a929b975 Refactor client portal authentication 2021-12-09 21:50:29 +11:00
David Bomba de0bebcd2c refactor 2021-12-09 16:34:23 +11:00
David Bomba cd41ce4ceb Login contacts using their ID - allows us to login contacts with the same email address 2021-12-08 08:45:24 +11:00
David Bomba 651346fb89 Fixes for contact login 2021-12-07 22:46:29 +11:00
David Bomba 5fdb5a61dc Fixes for contact login 2021-12-07 22:46:05 +11:00
David Bomba 8aeabb7e1f Performance improvements for Client Portal 2021-12-07 22:34:50 +11:00
David Bomba 66eb99951e Fixes for resolving companies and accounts for contact reset 2021-12-02 09:00:40 +11:00
David Bomba 2eeaea61a5 Minor fixes 2021-12-01 21:29:48 +11:00
David Bomba 68a41768ac Minor fixes for wepay 2021-11-16 10:35:04 +11:00
David Bomba 293367cd16 Minor fixes for contact login 2021-11-15 10:29:33 +11:00
David Bomba ecdd73fbcc Minor Fixes 2021-11-06 16:05:56 +11:00
David Bomba e67fea2c33 Fixes for Company Switcher 2021-10-24 20:33:23 +11:00
David Bomba 3d319f1b1d Minor fixes for Contact login 2021-10-24 20:17:57 +11:00
David Bomba 2bc8146f7c Fixes for contact authentication + viewed entity notifications 2021-10-23 10:06:30 +11:00
David Bomba 0444c96a47 Subscription calculations 2021-10-21 21:44:18 +11:00
Benjamin Beganović fd3ea350a2 Show company logo on password reset page 2021-10-07 13:23:45 +02:00
David Bomba 6bab442cc6 Fixes for company tokens on login 2021-09-05 09:01:17 +10:00
David Bomba 0ba7d27a7e Fixes for client portal login with custom domains 2021-09-04 11:27:18 +10:00
David Bomba 0dc4d9567c Fixes for client portal login with custom domains 2021-09-04 11:09:34 +10:00
= 5c609f91f1 Fixes for client portal login 2021-09-01 17:36:36 +10:00
= f2756799d1 minor fixes 2021-09-01 17:01:39 +10:00
David Bomba 8bcfeffb11 Remove redundant doc blocks 2021-08-25 12:15:47 +10:00
David Bomba 6d8ac6aa35 Minor fixes 2021-07-29 13:37:23 +10:00
David Bomba b91af0dc69 Client Contact password reset links 2021-07-29 12:19:56 +10:00
David Bomba bcc286e537 Handle base64 encoded passwords 2021-07-19 10:57:13 +10:00
David Bomba 108512068e Form validation for contact password reset 2021-07-09 07:57:31 +10:00
David Bomba 19bd957256 Dont forget to SET the user after OAuth SignUp 2021-07-08 12:51:17 +10:00
David Bomba a1b7a795e0 Fixes for contact login logo for custom domains 2021-07-07 12:54:59 +10:00
David Bomba 58547faf3e Fixes for client portal page 2021-07-04 20:53:32 +10:00
Benjamin Beganović e9d2d7d7f2 Show logo on the login screen if account whitelabel or official subdomain 2021-07-01 18:29:32 +02:00
David Bomba 28e3defc83 Fixes for dissociated default_company 2021-06-24 18:42:45 +10:00
David Bomba 293b12e348 Fixes for login where the user is not attached to an account 2021-06-22 21:14:08 +10:00
David Bomba 1b303f9559 Fixes for subscription service 2021-06-21 20:53:34 +10:00
David Bomba 1c052a7431 change user login event 2021-06-20 20:35:26 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 1397c9ab1c Fixes logic for hosted login 2021-06-14 17:04:15 +10:00
David Bomba 4675cc92b5 Inject delays in emails to allow enough time for attachment resources to upload when using S3 type storage 2021-06-10 19:01:30 +10:00
David Bomba af68794823 Resolve access token from refresh token - gmail 2021-06-10 18:35:58 +10:00
David Bomba 4ef26723c1 Gmail offline_access 2021-06-10 17:38:07 +10:00
David Bomba 8a89973d7c Gmail offline_access 2021-06-10 17:17:02 +10:00
David Bomba d1e92060bd Fixes for scopes 2021-06-10 16:57:18 +10:00
David Bomba 185986e819 Fix for missing method property 2021-06-10 15:06:28 +10:00
David Bomba 9c8618ac34 Oauth 2021-06-10 14:05:49 +10:00
David Bomba 5d04ab724b Fixes for login 2021-06-08 18:42:37 +10:00
David Bomba 968f512aec Fixes for orphan users with no tokens 2021-06-08 18:30:54 +10:00
= 8703bcc5f6 Fixes for .register bug 2021-06-05 20:59:53 +10:00
Benjamin Beganović 23e23918b4 Show register link on the login page 2021-06-01 14:06:47 +02:00
David Bomba 1ddf220448 Fixes for gmail oauth 2021-06-01 19:57:05 +10:00
David Bomba 0e210e6635 Minor fixes 2021-06-01 17:24:51 +10:00
David Bomba b581a749f2 Minor fixes 2021-06-01 16:06:00 +10:00
David Bomba 1d4f982245 Gmail Oauth 2021-06-01 15:24:47 +10:00
David Bomba ee6c0468b2 Minor fixes 2021-06-01 10:24:20 +10:00
David Bomba cd594914b7 fixes for password reset screen 2021-06-01 09:02:30 +10:00
David Bomba c125dca154 Fixes for client portal login/auth/register pages 2021-05-27 09:14:21 +10:00
David Bomba e76567f337 Fixes for creating an account using OAuth 2021-05-26 16:14:47 +10:00
David Bomba 0e61a6f491 Fixes for random subdomain generator 2021-05-24 19:39:21 +10:00
David Bomba 10a0812ead Refactor for login flow 2021-05-24 07:23:30 +10:00
David Bomba 3b7bf352a7 Fixes for trait inclusion 2021-05-23 18:59:09 +10:00
David Bomba 9d21b4fd57 Refactor LoginController 2021-05-23 18:43:50 +10:00
David Bomba c5a24fd9d9 Fixes for OAuth using logging in over user/pass combinations 2021-05-23 07:57:53 +10:00
David Bomba 601d795ace Fixes for reset password 2021-05-22 14:45:09 +10:00
David Bomba 264477a2de Fixes for reset password 2021-05-22 14:31:48 +10:00
David Bomba 49b3cab7d7 Refactor system logger to enable multidb 2021-05-19 11:12:55 +10:00
David Bomba 52c3d63349 Refactor system logger to enable multidb 2021-05-19 11:12:23 +10:00
David Bomba 777c2dd24a Reorder middleware to allow route model binding to be delayed 2021-05-13 22:41:32 +10:00
David Bomba 8a582f7800 Fixes for reset password 2021-05-13 20:18:30 +10:00
= daff65de01 Working on password reset throttling 2021-05-13 19:13:51 +10:00
David Bomba e4fabfbf2d Export data 2021-05-13 16:01:12 +10:00
David Bomba ac77100981 New login notification 2021-05-12 16:31:02 +10:00
David Bomba f60b9c30eb Add new login notification 2021-05-12 16:18:32 +10:00
David Bomba 3b01190bc2 Return error when the user isn't attached to a company 2021-05-11 14:57:36 +10:00
David Bomba 991fa7079e Fixes for password protection 2021-05-05 16:44:31 +10:00
David Bomba b9fece424f Minor fixes for password protection cache 2021-05-05 15:56:54 +10:00
= 7d01858b3a Current_company=true 2021-04-29 21:36:34 +10:00
= bdbcacb872 Add current_company filter on refresh route 2021-04-29 21:29:10 +10:00
David Bomba deb55dd6c8 Add in constrained queries 2021-04-29 11:31:04 +10:00
David Bomba 61828d412a Customize the login return request 2021-04-29 08:44:40 +10:00
David Bomba 810ed113c7 Invoice / Quote / Credit created notification 2021-04-28 10:02:31 +10:00
David Bomba 5700da5323 Fixes for password protection 2021-03-22 22:18:57 +11:00
David Bomba 5d28271df9 Fixes for default timeouts 2021-03-22 22:12:12 +11:00