Commit Graph

51 Commits

Author SHA1 Message Date
David Bomba cf023a100e Refactor for update entities, remove 'documents' validation 2025-04-26 10:40:59 +10:00
David Bomba 0d96e989f5 Refactor for document / file validation 2025-04-26 10:15:23 +10:00
David Bomba 8b7d64e1ca Update fillables for location_id 2025-02-21 13:48:00 +11:00
David Bomba 780dda4957 Updated copyright doc blocks 2025-02-17 11:11:38 +11:00
David Bomba 8e588016df Fixes for validation 2024-12-07 09:43:09 +11:00
David Bomba 53648f2392 additional validation rules for custom surcharges 2024-12-07 09:32:52 +11:00
David Bomba 552d596eae Style fixes 2024-11-20 11:15:49 +11:00
David Bomba 9b94a88180 Fixes for spacing in notes section 2024-10-08 14:20:05 +11:00
David Bomba 036aca49a4 Rollback for new payment flow 2024-08-22 16:45:06 +10:00
David Bomba bb6075e6ef Alignment for invoice/quote requests 2024-07-30 17:00:54 +10:00
David Bomba 72aadc0c16 php-cs-fixer 2024-06-14 17:09:44 +10:00
David Bomba 40b1601352 Updates for ro xml format 2024-05-13 18:08:01 +10:00
David Bomba ccf8b57f30 validation rules for max amounts 2024-05-06 11:48:44 +10:00
David Bomba 6e5fb456c1 Run tests for adjustment amount within validaiton 2024-05-06 11:42:14 +10:00
David Bomba 67c80ecdd9 Improvements for quote validation 2024-04-15 09:14:11 +10:00
David Bomba f65567a637 Update copyright 2024-04-12 14:15:41 +10:00
David Bomba 08eb30785d Add .env var for extensions 2024-03-19 10:46:57 +11:00
David Bomba a5fd1dc5ea Improvements for validation 2024-02-17 05:57:15 +11:00
David Bomba 40086db271 cs fixer 2024-01-14 15:05:00 +11:00
David Bomba b250ba613c v5.7.60 2023-12-11 22:42:50 +11:00
David Bomba b735119cdf clean up requests 2023-12-05 08:57:43 +11:00
David Bomba 91d39aab82 Static Analysis Cleanup 2023-08-08 20:39:46 +10:00
David Bomba 6bbf3dface Updates for exchange rate validation 2023-07-16 20:34:31 +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 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 023de23a45 Update validation rules 2022-11-05 15:13:08 +11:00
David Bomba 3e916e0f1f Fixes for tests 2022-06-24 11:55:41 +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 ff33cc5fca Fixes for casts 2022-02-27 17:49:49 +11:00
David Bomba 17482da60f Add validation rules for discounts 2021-11-21 21:19:24 +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 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba f067290462 Update rules for updating an entity 2021-03-27 06:43:52 +11:00
David Bomba 451e4e1bbe Ensure better unique rules 2021-03-20 09:51:52 +11:00
David Bomba 95e5b89641 fixes for validation of line_items 2021-01-14 08:16:07 +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 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
David Bomba 7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba 07e8ded6a7 Fixes for credit/quote update request 2020-08-14 13:35:58 +10:00
David Bomba 1415434d34 tests 2020-08-13 16:15:46 +10:00
David Bomba 08d196e6c0 Fixes for tests 2020-06-26 08:29:24 +10:00
David Bomba 74a6c4f2ee
Reminders (#3630)
* Performance improvements moving from str_replace to strtr

* Remove legacy docs

* Clean up credit transformer

* Working on invoice emails

* Clean up for invoice designs

* Tests for light and dark theme emails

* Working on reminder scheduling

* Reminder Job Class

* Fixes for github actions

* PHP CS

* Test for reminders

* Test for reminders
2020-04-15 10:30:52 +10:00
David Bomba 43e57d0117
Fixes for self-update (#3514)
* minor fix for payment notifications

* styleci

* Limit Self updating to self hosters only
:

* Fixes for designs

* Minor fixes for self-update
2020-03-21 16:37:30 +11:00
David Bomba 7d39969a3b
Preview Route (#3456)
* Remove backup column from schema

* Add slack webhooks to company user table

* Preview route

* remove json column from company gateway

* fixes for testS

* Fixes for typos
2020-03-09 20:38:15 +11:00
David Bomba a8c15ef1c9
Version checking (#3451)
* Ensure NINJA_ENVIRONMENT variable is present  in .env file

* Implement version checking in app

* Remove password protection from check version route
2020-03-08 09:15:11 +11:00
David Bomba 1ac2a73b2a
Update CORS fields (#3371)
* Working on invoice invitations

* Credit invitations

* Update CORS
2020-02-25 19:33:53 +11:00