1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
Commit Graph

132 Commits

Author SHA1 Message Date
David Bomba
55fec84e1d Fixes for subscription cron where URL/REST method is not set 2023-01-18 13:24:08 +11:00
David Bomba
8b605e9340 Increase chunk size for autobill 2022-12-01 08:02:51 +11:00
David Bomba
24364c5ffb Implement chunking of auto bill data 2022-11-28 20:49:32 +11:00
David Bomba
bb4687f18d Clean up how we execute scheduled commands 2022-11-27 07:52:49 +11:00
David Bomba
5c60dab8c6 Refactor the way we execute scheduled commands 2022-11-26 14:38:09 +11:00
David Bomba
08dbbade14 Pass references instead of full models into auto bill jobs 2022-10-28 12:10:20 +11:00
David Bomba
3a8b1eb7e3 Improve date resolution in recurring invoices 2022-09-08 11:30:40 +10:00
David Bomba
db30327391 Refactor recurring invoice query 2022-09-01 16:45:50 +10:00
David Bomba
962ea9cc69 Capture sending metrics 2022-08-09 07:26:43 +10:00
David Bomba
776da3b3ca Fixes for auto billing 2022-08-07 16:47:37 +10:00
David Bomba
e63d99c2d1 Performance improvements for recurring invoices 2022-08-01 12:50:55 +10:00
David Bomba
524fad7bf4 Refactor for recurring invoices 2022-08-01 11:28:19 +10:00
David Bomba
8ac4aa56a0 Limit logging 2022-08-01 10:39:47 +10:00
David Bomba
7ac4786bff Refactor to remove dispatchSync from code path 2022-08-01 07:30:04 +10:00
Nikola Cirkovic
c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +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
3bf56af37f Fixes for timezone issues with recurring entities 2022-06-02 13:49:29 +10:00
David Bomba
14b5770a0a Set flags for recurring invoices and quote terms 2022-05-17 17:36:28 +10:00
=
d32184a3d7 Add auto bill tries into cron 2022-05-17 14:50:10 +10:00
David Bomba
7c3613455d Ledger refactor 2022-05-15 17:51:06 +10:00
David Bomba
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
4b2417f44e Fixes for a race condition affecting autobilling 2021-12-03 17:19:24 +11:00
David Bomba
f2f52e05c7 Fixes for recurring invoices 2021-10-25 21:39:02 +11:00
David Bomba
c2452ea137 Fixes for recurring invoices 2021-10-25 20:11:23 +11:00
David Bomba
491d5e9f89 Additional logging for auto bill 2021-10-05 08:17:41 +11:00
David Bomba
d562630957 Minor fixes for query sorting 2021-10-05 01:11:43 +11:00
David Bomba
263fa391d4 Logging for auto bill 2021-10-05 00:48:43 +11:00
David Bomba
c6c41f2795 Auto Bill Job 2021-10-03 21:51:42 +11:00
David Bomba
8005a1b7c7 Count auto bill items 2021-10-03 21:34:47 +11:00
David Bomba
63e6b1c26d Improve queries for recurring objects to exclusive disabled companies 2021-10-02 12:49:18 +10:00
David Bomba
13f4ce365f update crons 2021-09-17 19:32:44 +10:00
David Bomba
02de2607e0 Fixes for recurring expenses 2021-09-14 18:52:54 +10:00
David Bomba
02e8e6e000 Fixes for amounts when formatted with comma's 2021-09-07 13:57:55 +10:00
David Bomba
0f6af65f53 Fixes for auto billing 2021-09-03 19:30:44 +10:00
David Bomba
592387874e Fixes for stripe 2021-09-03 19:28:04 +10:00
David Bomba
95641177cc minor fixes 2021-09-03 12:25:41 +10:00
David Bomba
2d988be36b v5.3.4 2021-09-02 16:17:46 +10:00
David Bomba
dafff7006f Fixes for Stripe Import 2021-09-02 12:08:16 +10:00
David Bomba
8f9a318efb Fixes for auto billing 2021-09-02 09:28:27 +10:00
David Bomba
64d0d34a27 Fixes for auto billing 2021-09-02 09:26:09 +10:00
=
577eedb457 Recurring expenses cron job 2021-08-24 21:57:51 +10:00
=
4bd3f382cb Recurring Expense Cron 2021-08-24 21:24:03 +10:00
David Bomba
a11dff6fe7 Additional logging for autobill 2021-08-05 10:46:03 +10:00
David Bomba
16ee6d0f6e Minor fixes for tests 2021-07-03 13:47:15 +10:00
David Bomba
7556b68b1f Constrain recurring / reminders if the client is archived / deleted 2021-07-02 19:40:44 +10:00
David Bomba
6605dd9e83 Do no remind for archived invoices 2021-06-26 10:32:38 +10:00
David Bomba
f59807d063 Do no first archived recurring invoices 2021-06-25 10:14:45 +10:00
David Bomba
756543f132 Change query parameter when querying datetimes 2021-06-22 18:46:46 +10:00
David Bomba
12d040e163 Fixes for query 2021-06-22 11:13:01 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
95e27fd5ac Fixes for import 2021-05-26 20:01:06 +10:00
David Bomba
65ccf75375 Fixes for import 2021-05-26 19:51:04 +10:00
David Bomba
fb17dd7e0b Force stripe amount to int 2021-05-26 16:04:38 +10:00
David Bomba
93ace021c0 do not repeat recurring crons even on failure 2021-04-30 12:51:38 +10:00
David Bomba
c1b6e2043e Fixes for subscriptions 2021-04-07 21:05:09 +10:00
David Bomba
3a3ddc031c Working on subscriptions 2021-04-07 18:06:50 +10:00
David Bomba
498d8e4efc Subscription Crons 2021-04-07 13:35:16 +10:00
David Bomba
878f00b375 add additional query filter for recurring invoices 2021-03-30 09:30:41 +11:00
David Bomba
abd3a89bc9
Subscriptions (#5248)
* Fixes for converting quote to invoice

* Fixes for naming PDFs

* Refresh entity prior to sending

* Fixes for subscriptions

* Add in required use

* Fixes for notifications

* Fixes for notifications

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11:00
David Bomba
839a5c49d3 Fixes for billing subs cron 2021-03-10 11:14:05 +11:00
=
93493116ed Scaffolds for billing_subscriptions 2021-03-06 17:19:57 +11:00
=
097d9ac1b8 Padding out functionality 2021-03-06 11:47:05 +11:00
David Bomba
1599711dee Observers and policy scaffold 2021-03-05 21:18:28 +11:00
David Bomba
fb847dba69 Fixes for recurring cron 2021-01-11 08:06:32 +11:00
Benjamin Beganović
603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01: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
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
f6b53d27e6 is_disabled for recurring invoices 2020-11-01 21:29:34 +11:00
David Bomba
685b7e25c2 Fixes for queries 2020-11-01 16:18:40 +11:00
David Bomba
bc2b0f4aae Fix for recurring number collisions - use dispatchNow() 2020-10-20 11:53:54 +11:00
David Bomba
5c0776cf14 Working on Delete user bug 2020-09-28 12:56:11 +10:00
David Bomba
3c4bc4a516 Fixes for recurring scheduling 2020-09-26 09:48:42 +10:00
David Bomba
c67fee3fff Fixes for base driver 2020-09-09 20:05:10 +10:00
David Bomba
f8f8da830e Working on recurring invoices + reminders 2020-09-08 21:01:55 +10:00
David Bomba
f5eecf0eb6 Working on recurring 2020-09-08 20:34:14 +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
3d31f810c0
Set Invitations as a default include for invoices (#3362)
* Working on importing company gateways

* Fix for companyuser settings object

* Migrate client_gateway_tokens

* Working on Notificaitons

* Working on notifications

* Failsafe for user-company

* unlink files

* Set DB for jobs

* Always have a fallback for company_id

* Fixes for user model

* Formatting for MultiDB

* Working on Company Ledger Tests

* Fixes for contact request

* Set Invitations as a default include for invoices
2020-02-24 21:15:30 +11: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
9f56e5f99e Bug Fixes 2019-05-24 08:37:47 +10:00
David Bomba
2549da4e6f Working on Sending Recurring invoices 2019-05-23 15:08:31 +10:00