Commit Graph

80 Commits

Author SHA1 Message Date
David Bomba 26d520c9c2 Static analysis 2023-08-04 17:12:21 +10:00
David Bomba dd61b41919 Updates for silent migrations 2023-07-10 12:55:21 +10:00
David Bomba f394982488 Change response logic for migrations 2023-06-08 09:37:21 +10:00
David Bomba 328b3a3113 Updates for API docs 2023-02-10 20:21:10 +11:00
David Bomba f6e440af80 Add purge purchase orders to company deletes 2023-02-05 15:22:44 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba f6549f43ad Updates for API Docs 2023-01-22 09:28:50 +11:00
David Bomba 986ed9016a Updates for translations for Stripe 2022-12-02 06:59:16 +11:00
David Bomba 4ea0d03b5c Update validation rules for subscriptions 2022-11-24 14:33:18 +11:00
David Bomba 1ef260cb14 Purge company transactions/integrations 2022-11-23 22:28:22 +11:00
David Bomba d93bac1b09 Improve efficiency of queries relying on Country 2022-07-28 10:58:13 +10:00
David Bomba 93c782fcc5 Merge branch 'v5-develop' into l9 2022-07-21 14:22:45 +10:00
David Bomba 97eb8d2aad Force delete activities on purge data 2022-07-21 08:28:34 +10:00
David Bomba e337abe819 Patches from v5-dev 2022-07-20 10:56:02 +10:00
David Bomba c1352e700d Fixes for purging company data 2022-07-19 09:39:54 +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 92e2c7c614 Clean up 2022-02-19 16:11:30 +11:00
David Bomba 66843e6397 Set locale for migrated companies 2022-01-05 17:12:10 +11:00
David Bomba 4b728c3dd9 Reset all counters to 1 after company purge 2021-10-20 10:52:51 +11:00
David Bomba 9c1f82f632 Minor fixes for migration 2021-10-06 09:51:03 +11:00
David Bomba e63d9828f1 Implement future migration refactor for v4 when we upgrade to L6 2021-09-29 21:06:42 +10:00
David Bomba 74b4ef5b13 Fixes for translations in emails 2021-08-25 20:53:13 +10:00
David Bomba ad0b2b8ec3 Prevent ninja company from being deleted 2021-07-11 10:16:27 +10:00
David Bomba 0ef1a83300 Additional catches for company importing 2021-06-29 08:42:59 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 7808b4c30d Fixes for created_at dates in migration 2021-05-10 09:52:58 +10:00
David Bomba f7257e4335 Migration emails 2021-05-04 12:40:28 +10:00
David Bomba d68f96fb98 Minor fixes for migrations 2021-05-03 11:46:46 +10:00
David Bomba 003303a83b Output results on exec() 2021-04-29 13:15:39 +10:00
David Bomba 9388e75f77 Fixes for purge company data 2021-04-21 07:35:54 +10:00
David Bomba 2735efedd2 Remove BaseMailerJob 2021-02-19 07:57:10 +11:00
David Bomba e0758e587f Add logging for migrations 2021-01-28 13:53:40 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
= 7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
David Bomba 1210a81a09 Minor changes to migration 2020-11-30 09:58:31 +11:00
David Bomba d7dd592d18 Fixes for migration file location 2020-11-30 08:28:12 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 0991dbf8d7 Fixes for migrations 2020-11-23 14:51:49 +11:00
David Bomba 4b1aabbac7 Fixes for migration 2020-11-23 12:46:16 +11:00
David Bomba 388c0e8467 Add withTrashed() for queries in migration 2020-11-23 08:25:29 +11:00
Benjamin Beganović d503f1ee58 Refactor accepting new migrations:
- Remove {company} parameter from /migration/start
- Refactor logic for startMigration
2020-11-11 18:26:17 +01:00
David Bomba 6a54bb8c45 Fixes for migrations Vendor Contacts 2020-10-31 16:35:05 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba 1264486bb9 Working on recurring migration 2020-10-06 08:46:47 +11:00
David Bomba aeeb099d40 Fixes for mailers 2020-09-14 15:14:37 +10: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 36c54d8cc3 Working on fees 2020-08-28 11:06:46 +10:00
David Bomba 0d9df1f290 Fixes for incorrect name spacing of validation rules 2020-08-24 08:20:57 +10:00
David Bomba 7b2e60a0d5 Add amount column to history table 2020-08-19 12:44:25 +10:00