Commit Graph

131 Commits

Author SHA1 Message Date
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
David Bomba 793247e0f7 Fixes for default timeouts 2021-03-22 21:55:09 +11:00
David Bomba c97dea08d2 Connected Gmail Account 2021-03-22 09:52:39 +11:00
= 4285b5f6fc Minor fixes for oauth login 2021-03-21 21:38:57 +11:00
= 5288893220 Small fixes for 2FA 2021-03-20 11:46:42 +11:00
= b158fb430f Small fixes for 2FA 2021-03-20 11:41:41 +11:00
David Bomba 10f7b1a309 Fixes for 2fa 2021-03-18 22:46:58 +11:00
David Bomba 0422c95e13 Cache password protection on login 2021-03-16 23:10:15 +11:00
David Bomba 6bb71dc33b Fixes for connected account 2021-03-16 22:29:16 +11:00
David Bomba 92f729c10d Catch if an OAuth user doesn't exist and attempts to login 2021-02-28 19:54:14 +11:00
Benjamin Beganović 10733418c6 Allow default company registration without company key in the URL 2021-02-17 12:13:27 +01:00
David Bomba 120d2c21ab Refactor password reset for admin users 2021-02-15 10:39:40 +11:00
= 85df91a6e8 Add redirect URI to google auth requests 2021-02-10 21:43:32 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 3bec5a4044 Refactor login routes 2020-11-13 20:09:20 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba a13b97b0cb Fixes for api docs 2020-10-10 23:07:52 +11:00
David Bomba 0e5199e052 Working on contact auth using contact key 2020-09-23 11:45:07 +10:00
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba 7feae1fd45 Add is_deleted to client_gateway_tokens table 2020-08-12 08:17:32 +10:00
David Bomba 71449392de Fix for regression 2020-08-11 20:57:45 +10:00
= 731001baf5 Refactor refresh route resolution of company_user 2020-08-08 10:32:47 +10:00
= 1be45a4e38 Wind back changes to login route 2020-08-08 09:58:10 +10:00
= 6751654216 Refactor login route 2020-08-08 09:50:32 +10:00
David Bomba b4f669ad59 Update refresh route to filter all subqueries by updated_at 2020-07-10 09:28:09 +10:00
David Bomba f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba 245980ce4b Send company with all events 2020-06-30 09:35:17 +10:00
Benjamin Beganović fae29a8dfe Logo, show more fields 2020-06-22 10:47:55 +02:00
Benjamin Beganović 01094a2b5e Merge remote-tracking branch 'upstream/v2' into v2-2805-client-signup 2020-06-22 10:27:35 +02:00
Benjamin Beganović 871d1057c7 Client registration logic 2020-06-22 10:26:48 +02:00
David Bomba dbff1ab6ab remove x-api-version and replace with x-minimum-client-version 2020-06-22 07:30:25 +10:00
David Bomba 45d21eabb4 Update last logged in for client contact 2020-06-19 07:07:54 +10:00
Benjamin Beganović 6f34e083ae wip - registration client 2020-06-18 17:09:28 +02:00
Benjamin Beganović b5a36bad14 support domain registration 2020-05-28 17:48:03 +02:00
Benjamin Beganović 41c76e55bc client register wip 2020-05-28 17:39:38 +02:00
David Bomba 84a64773a6
Adjustments for OAuth (#3707)
* Fixes for null values in custom values

* Refactor mailing

* Working on send emails from GMail API

* Fixes for tests

* Test for GMail

* Adjustments for storing oauth token
2020-05-16 20:26:16 +10:00
David Bomba d05bd7d2c1
Test for Gmail (#3706)
* Fixes for null values in custom values

* Refactor mailing

* Working on send emails from GMail API

* Fixes for tests

* Test for GMail
2020-05-16 12:04:24 +10:00
David Bomba 956c06c430
Fixes for OAuth (#3695) 2020-05-13 19:02:38 +10:00
David Bomba fb5a923639
Working on OAuth (#3693) 2020-05-13 16:33:50 +10:00
David Bomba 350b61dc3f
Working on OAuth (#3692) 2020-05-13 16:20:05 +10:00
David Bomba c3c39ffae2
Working on OAuth (#3691) 2020-05-13 15:40:55 +10:00