Commit Graph

59 Commits

Author SHA1 Message Date
David Bomba 0d96e989f5 Refactor for document / file validation 2025-04-26 10:15:23 +10:00
David Bomba 780dda4957 Updated copyright doc blocks 2025-02-17 11:11:38 +11: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 90fdfedacb Static analysis cleanup 2023-07-25 20:04:04 +10:00
David Bomba 5a42b89d55 cs fixer 2023-03-18 18:24:56 +11:00
David Bomba b582f489c4 Merge branch 'v5-develop' into email_refactor 2023-03-08 16:18:15 +11:00
David Bomba ff8be6ab31 Fixes for client settings cast 2023-03-06 20:15:14 +11:00
David Bomba c11654a7d2 Minor fixes 2023-03-06 20:14:59 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11: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 0d5ee8269d Fixes for client tests 2022-04-18 21:02:06 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10: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 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 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 4b4921703a
Fixes for blank client settings and force strings for custom_fields (#3096)
* fix for blank client settings

* Force all custom fields to strings
2019-11-26 20:11:22 +11:00
David Bomba 03d0babd26 Remove show_currency_symbol 2019-10-07 17:37:46 +11:00
David Bomba ba8638d965 Fixes 2019-10-02 18:50:54 +10:00
David Bomba 86a099587d Refactor for settings to force types 2019-09-19 15:50:05 +10:00
David Bomba 89cc4170d6 Fixes 2019-09-18 22:43:37 +10:00
David Bomba e329c24879 Fixes for tests 2019-09-11 12:01:49 +10:00
David Bomba 1f624e28bc Refactor Group level settings 2019-09-10 12:30:43 +10:00
David Bomba db7043abd9 Working on Groups 2019-09-09 21:24:22 +10:00
David Bomba 5f7a0b96d7 Tests tests and more tests 2019-09-09 21:05:53 +10:00
David Bomba 8a90d46287 Working on payment methods 2019-09-09 12:19:19 +10:00
David Bomba 0856fc2dfd Working on gateway payment flow 2019-09-08 22:13:55 +10:00
David Bomba 0b0f0759f1 Working on Gateways 2019-09-08 20:39:13 +10:00
David Bomba 10272a1eeb Working on PDF generation with mocked Invoice Data. - Finishing saving to file location 2019-08-29 22:47:45 +10:00
David Bomba e5b60195d8 Working on Formatting data in client timezone 2019-08-28 11:13:10 +10:00
David Bomba d02e62e46f Padding out Company Gateways - Default gateways per company and per client 2019-08-22 11:58:42 +10:00
David Bomba 6c80df9835 remove invoice_email_list from settings 2019-05-31 11:10:05 +10:00
David Bomba efe81ffc64 Working on client numbering 2019-05-28 15:55:50 +10:00
David Bomba c236925e6d Fix Invoice Create routes 2019-05-16 08:26:21 +10:00
David Bomba 924d5b5f7b Working on tests for Mark as Paid (invoice) 2019-05-14 14:05:05 +10:00
David Bomba 9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba c35f9fbe04 recurring invoices 2019-05-03 08:29:04 +10:00
David Bomba b276cc729f Tests for generates numbers 2019-04-30 22:30:47 +10:00
David Bomba defbae832b Working on Generates Number 2019-04-30 16:02:39 +10:00
David Bomba 19a5c7119b Test for Number generation: 2019-04-29 22:14:11 +10:00
David Bomba 76d625d723 Working on client, quote, invoice number generator 2019-04-29 15:50:08 +10:00
David Bomba 50a43720d1 Create settings getter on Client Model 2019-04-29 10:54:26 +10:00
David Bomba 2a032ab253 Refactor default client settings 2019-04-29 08:40:38 +10:00
David Bomba e0da0c14a8 User event-listener pairs 2019-04-25 20:21:07 +10:00
David Bomba d8f5d10b58 Fixes for tests 2019-04-24 20:01:40 +10:00
David Bomba 56d4a98707 Trying to fix chrome for laravel dusk - travis 2019-04-24 11:49:41 +10:00