Commit Graph

71 Commits

Author SHA1 Message Date
David Bomba 33585c65c4 php cs fixes 2023-10-26 13:57:44 +11:00
David Bomba 487ca15749 Updates for twig templates 2023-09-25 13:19:08 +10:00
David Bomba 2a40658222 Fixes for partial validation 2023-09-25 07:34:10 +10:00
David Bomba 18d0a39386 Fixes for reminders with partial due dates 2023-09-24 14:54:24 +10:00
David Bomba 91d39aab82 Static Analysis Cleanup 2023-08-08 20:39:46 +10:00
David Bomba 69786492e0 Minor update 2023-07-31 18:22:34 +10:00
David Bomba 6bbf3dface Updates for exchange rate validation 2023-07-16 20:34:31 +10:00
David Bomba f82b21343c Disallow updates to cancelled invoices 2023-07-14 14:27:32 +10:00
David Bomba 9f335c982c Minor fixes for translations 2023-06-08 09:01:54 +10:00
David Bomba edd8269c08 Fixes for e-invoices 2023-04-28 20:16:54 +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 023de23a45 Update validation rules 2022-11-05 15:13:08 +11:00
David Bomba 9b6bfbf96c merge v5-dev 2022-07-17 20:38:00 +10:00
David Bomba 00eb180afc minor fixes 2022-07-17 15:26:35 +10: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 7df60f5f27 ACH updates 2022-05-18 12:59:24 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba bdcf902c6c Add projects to recurring invoices 2022-03-10 08:52:33 +11:00
David Bomba f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba 7423be043d Transaction events 2022-03-09 20:32:46 +11:00
David Bomba ff33cc5fca Fixes for casts 2022-02-27 17:49:49 +11:00
David Bomba c7c26532c5 Allow negative invoices 2022-01-28 10:56:14 +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 73bcaae3f6 Allow invoice balances to change - but do no allow them to go negative 2021-04-28 11:18:27 +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 13420a93b9 Fixes for validation 2021-01-08 21:19:26 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
David Bomba 3ad3d0a418 Fix for editting invoice where number in pending state 2020-12-18 07:14:46 +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 cb24a89d00 Fixes for carbon date handling on entities 2020-08-14 22:50:05 +10:00
David Bomba 7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba b113859690 Work on validation for unique invoice numbers 2020-08-12 20:11:13 +10:00
David Bomba 6510536234 Fixes for view_link in emails 2020-07-29 12:13:12 +10:00
David Bomba ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba 8186b98e3c Clean up for lock invoices 2020-07-22 09:58:41 +10:00
David Bomba 8688625931 Validation for locked invoices 2020-07-22 09:54:39 +10:00
David Bomba 7468813cd8 Working on Authorize payment flow 2020-06-16 10:21:40 +10: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 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