Commit Graph

39 Commits

Author SHA1 Message Date
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 5f9784dcf8 Fixes for webhooks 2023-02-08 22:37:12 +11:00
David Bomba a2f0c5d4fe Refactor for observers 2023-02-01 15:00:45 +11:00
David Bomba 399b397ecf Refactor for observers 2023-01-31 23:53:54 +11:00
David Bomba f3e5682d11 MInor fixes 2023-01-31 21:05:01 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba ccfc2f7bfc Cleanup logging 2022-11-13 17:27:10 +11:00
David Bomba dd4d5534fb Minor fixes 2022-11-09 08:09:42 +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 aeae0a19ab Adjust delays for observers 2022-05-15 20:14:14 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba dc116013d9 Fixes for observers 2021-10-14 17:54:38 +11:00
David Bomba 21d08d2d7e Trigger model created event manually after model calculations have been performed 2021-10-10 20:56:05 +11:00
David Bomba 40a90c4ea8 Fixes for invoice observer 2021-10-07 17:34:23 +11:00
David Bomba 5ddbc0f507 Fixes for recurring crons 2021-10-02 11:10:12 +10:00
David Bomba 3d28159702 minor fixes 2021-09-20 20:10:07 +10:00
= 066666f5bc Remove redundant logging 2021-09-08 20:20:58 +10:00
= 72bbcf2bb2 Prevent duplicate events firing on save 2021-09-05 20:31:08 +10:00
David Bomba 48c5c56a4a Fixes for webhook bug 2021-07-20 08:39:04 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
= afdfddd7e9 Refactor for entity paths 2021-06-12 21:50:01 +10:00
David Bomba 7618666c4b Fixes for tests 2021-05-26 12:37:16 +10:00
David Bomba e254a9ad73 Refactor reminders 2021-05-26 10:35:39 +10:00
David Bomba f52fb31ced Remove illegal characters from pdf file names 2021-03-17 22:29:20 +11:00
David Bomba 0b8bf4fbf1 Remove invoice deletion observer 2021-02-17 00:31:00 +11:00
David Bomba 7bf6d7c48a Document route for clients / company 2021-02-15 21:52:50 +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 2f4b46e435 Refactor webhook handler 2020-11-25 11:23:39 +11:00
Benjamin Beganović 2144153e41 pass correct company 2020-11-17 13:28:13 +01:00
Benjamin Beganović 42ca352409 Fix issue with webhook handler 2020-11-17 13:23:16 +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 d236dd6ff6 Fixes for observers 2020-07-06 21:42:42 +10:00
David Bomba 4c321d41c3 Change subscriptions to webhooks 2020-07-06 21:22:36 +10:00
David Bomba b3eb2ae3b4
Fix companygatewaytransformer (#3677)
* Working on subscriptions

* Implement return type in models

* Subscription implementation

* Improvements to handling importation of large accountS

* Loggin imports

* Activate collector

* Improve memory usage of import script

* Appen Tags into emails - fix companygatewaytransformer
2020-05-06 21:49:42 +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 9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba 89d42bcab8 Create model observers 2019-04-19 19:09:55 +10:00