Commit Graph

98 Commits

Author SHA1 Message Date
David Bomba 1b999dd7d9 Updates 2024-03-13 10:36:41 +11:00
David Bomba 1de5bbfdc4 Minor fixes for currency_id logic 2024-03-12 13:07:09 +11:00
David Bomba 6b53322e95 Fixes for validation when adding clients / new users 2024-03-10 21:28:50 +11:00
David Bomba a5fd1dc5ea Improvements for validation 2024-02-17 05:57:15 +11:00
David Bomba 478dbe5c4a Improvements for validation 2024-02-17 05:46:26 +11:00
David Bomba 909db91184 Fixes for permissions 2024-02-12 20:16:35 +11:00
David Bomba 40086db271 cs fixer 2024-01-14 15:05:00 +11:00
David Bomba e54dec8762 Fixes for exports 2023-10-20 09:39:25 +11:00
David Bomba aa5f00cd33 Fixes for e-invoices 2023-09-26 09:30:08 +10:00
David Bomba 2012e0dd5e Add classifications for clients/vendors and company 2023-09-11 11:05:05 +10:00
David Bomba 67336af5c6 Fixes for document public/private setting 2023-08-20 18:44:10 +10:00
David Bomba 5a42b89d55 cs fixer 2023-03-18 18:24:56 +11:00
David Bomba 6e983cb506 update upload mime checks 2023-02-27 20:12:59 +11:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 32ee09ae1f strip tags from client and user nameS 2022-10-02 17:24:16 +11:00
David Bomba bfff515b59 Ensure documents array is an array 2022-09-06 17:36:56 +10:00
David Bomba 3e916e0f1f Fixes for tests 2022-06-24 11:55:41 +10:00
David Bomba 2e29bbce3c Laravel 9 2022-06-23 15:34:15 +10:00
David Bomba 4eed22d811 Refactor for store client request 2022-06-23 13:12:28 +10:00
David Bomba ade8b24031 Laravel 9 2022-06-23 09:24:56 +10:00
David Bomba 865bb009ad Laravel 9 2022-06-22 21:57:45 +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 ebc498a815 Type checking 2022-04-21 12:07:08 +10:00
David Bomba cfd9ed4875 Fixes for types in settings 2022-04-18 23:10:43 +10:00
David Bomba 485fea03c7 Coerce default_task_rate to float 2022-04-09 16:02:12 +10:00
David Bomba f3d1c35b7f Force integer for client id 2022-04-01 11:35:39 +11:00
David Bomba c65948d10c Fixes for client limits on hosted 2022-03-06 14:41:08 +11:00
David Bomba c1a39a6ea0 Run time form requests 2022-02-16 08:50:28 +11:00
David Bomba e844abf27d Fixes for client store request 2022-01-14 21:24:20 +11:00
theworstcomrade 2532ec7e76 Document - fix stored xss
https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde/
2021-11-19 23:39:35 +01:00
David Bomba c57422617f Custom validation rules for client countries 2021-11-01 14:09:41 +11:00
David Bomba 1356b3d7ad Minor fixes for client request validation 2021-09-13 08:42:15 +10:00
David Bomba 8484b3e024 FIxes for client validation 2021-08-13 18:45:19 +10:00
David Bomba 29006a2da0 Fixes for client - country codes 2021-07-20 15:09:02 +10:00
David Bomba aff6eb2701 Fixes for bad country codes in client request 2021-07-20 14:53:43 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 8e327d3a75 v5.1.41 2021-04-08 21:08:29 +10:00
David Bomba f80179814d fix conflicts 2021-03-22 07:22:20 +11:00
David Bomba 1b5d6d44f2 Set default time out 2021-03-22 07:21:51 +11:00
David Bomba 9e0328757a Tests for number validation across entities 2021-03-20 10:06:44 +11:00
David Bomba 4ad3e7fc8a Fix for group_settings_id being dropped in certain edge cases 2021-01-14 08:01:27 +11:00
David Bomba 4ff0108c5c fixes for validation 2021-01-13 22:52:30 +11:00
David Bomba e3efa5790f Email validation 2021-01-13 22:47:36 +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 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba 6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +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