Commit Graph

36 Commits

Author SHA1 Message Date
David Bomba 6210e20e9b Additional checks for auth guards 2025-04-06 18:20:55 +10:00
David Bomba 780dda4957 Updated copyright doc blocks 2025-02-17 11:11:38 +11:00
David Bomba 6b126cffbc Refactor contact login 2024-11-28 09:07:05 +11:00
David Bomba 52e4931b68 Invalidate sessions if DB cannot be set 2024-07-01 08:40:57 +10:00
David Bomba f65567a637 Update copyright 2024-04-12 14:15:41 +10:00
David Bomba 40086db271 cs fixer 2024-01-14 15:05:00 +11:00
David Bomba 074634ea5c Updates for app domain and app urls 2023-11-24 10:23:40 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 68fe664ad6 Return early when deleting non existent filename 2022-08-04 09:29:30 +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 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10: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 47d6715fb8 Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2021-12-07 22:14:49 +11:00
David Bomba 49ecf295a8 Performance improvements for client portal 2021-12-07 22:14:46 +11:00
David Bomba 66eb99951e Fixes for resolving companies and accounts for contact reset 2021-12-02 09:00:40 +11:00
David Bomba 18bb84f2a1 Fixes for client portal 2021-11-21 21:08:21 +11:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba aac53155fc Fixes for CORS 2021-06-02 13:31:53 +10:00
David Bomba 4c0c770c56 Fixes for CORS 2021-06-02 13:14:40 +10:00
David Bomba c125dca154 Fixes for client portal login/auth/register pages 2021-05-27 09:14:21 +10:00
David Bomba f9347fc652 fixes for factories 2021-05-16 19:44:44 +10:00
David Bomba e59f00d390 Fixes for domains 2021-05-15 14:38:32 +10:00
David Bomba 364f7addb6 Fixes for subdomain resolution for MultiDB 2021-05-15 14:00:29 +10:00
David Bomba d7d76ae6ea MultiDB domain resolution for client portals 2021-05-15 13:31:41 +10:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11: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 3514491300 Changing error structure, regression fixes for shop/client route 2020-08-12 08:59:28 +10:00
David Bomba 3ec996ee5d
Invoice Designer (#3283)
* Working self-updater package

* Fixes for travis

* Working on invoice designs

* Working on invoice builder

* Tests for invoice design

* Working on invoice designs

* Minor fixes

* Minor fixes for randomdataseeder
2020-02-05 15:06:03 +11:00
David Bomba 957ac9f5d8
Fix for password protected authorization (#3198)
* Remove unnecessary save() on invoice

* Update copyright

* Working on Credit Repository

* Implement credits as a paymentable entity

* Add credit_id to transformer

* fix rules for update payment

* Fix random deleted_at keys in transformers

* Fix for password_protect check
2020-01-07 11:13:47 +11:00
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba d34b129474 fix error formatting 2019-09-24 08:37:38 +10:00
David Bomba bbabe4836b Fix DB search 2019-09-23 22:19:37 +10:00
David Bomba 1e1be26980 Invitation routing 2019-09-23 15:59:01 +10:00
David Bomba feff6a1c76 Refactoring how we set the DB in the request cycle 2019-07-12 15:03:30 +10:00