1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
Commit Graph

450 Commits

Author SHA1 Message Date
David Bomba
7a96a4a208 Fixes for tests 2023-04-03 08:22:07 +10:00
David Bomba
96d65fe041 Fixes for tests 2023-04-03 08:03:56 +10:00
David Bomba
bd7722f6f0 Refactor for taxes 2023-04-03 07:48:59 +10:00
David Bomba
cc1ba530d2 Update for conflicts 2023-04-03 07:21:09 +10:00
David Bomba
fec69f98e2 Working on tax all settings 2023-03-31 15:25:30 +11:00
David Bomba
90e1d8d228 US Tax tests 2023-03-31 15:12:00 +11:00
David Bomba
00c7fd7d37 Tests for calculating invoice taxes 2023-03-29 20:49:40 +11:00
David Bomba
ebdf25e1a8 Use travel to move timezones 2023-03-29 18:14:28 +11:00
David Bomba
f5cdf07d78 Tests for calculating recurring next send dates 2023-03-29 17:53:49 +11:00
David Bomba
aa91604814 Fixes for eu taxes 2023-03-29 14:42:08 +11:00
David Bomba
d471604862 Refactor for tax structure 2023-03-29 14:23:06 +11:00
David Bomba
1ab8097d44 Refactor for tax structure 2023-03-29 13:13:50 +11:00
David Bomba
d52d2f1f37 Refactor for taxes 2023-03-27 07:46:26 +11:00
David Bomba
40f53e3dde Refactor for taxes 2023-03-25 09:26:27 +11:00
David Bomba
680277f062 Fixes for auto calculating taxes 2023-03-24 18:58:59 +11:00
David Bomba
aa51299a10 Working on auto tax calculations 2023-03-24 18:02:34 +11:00
David Bomba
49b3182639 Tests for taxes 2023-03-24 16:43:09 +11:00
David Bomba
bba25f1033 Taxes - sum 2023-03-24 13:57:36 +11:00
David Bomba
b5a4fc9865 Working on taxes 2023-03-24 13:56:26 +11:00
David Bomba
66772e3897 calculate taxes 2023-03-24 07:40:44 +11:00
David Bomba
08940bdaa9 Tests for taxes 2023-03-19 20:32:33 +11:00
David Bomba
c9fab675c8 Tests for taxes 2023-03-19 20:30:28 +11:00
David Bomba
3f19376e85 Working on global taxes 2023-03-19 20:10:20 +11:00
David Bomba
12d3e35019 Global Tax Rules 2023-03-19 16:14:04 +11:00
David Bomba
b24be423e8 Global Tax Module 2023-03-19 15:09:50 +11:00
David Bomba
3286ff52ee Tests for dynamic payment type test 2023-03-10 17:38:30 +11:00
David Bomba
949ea3d523 Add excludable permissions for client view list 2023-02-20 19:52:50 +11:00
David Bomba
4364b4369e Additional permissions levels when we want to filtered and intersect permissions 2023-02-20 18:46:26 +11:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
46bda415c2 Attach links instead of files for attachments that are greater than 3mb in size 2023-02-03 09:56:58 +11:00
David Bomba
da245c073a Refactor for permissions to include Edit permissions when testing view permissions 2023-01-31 22:21:23 +11:00
David Bomba
57596ef26f Clean up for Base controller and enhanced permission filers 2023-01-25 12:58:24 +11:00
David Bomba
a0ac9df5fd Improve rate limiting when using send with gmail 2023-01-25 11:28:23 +11:00
David Bomba
a992c40c13 Fixes for permissions 2023-01-25 09:31:57 +11:00
David Bomba
3312e7ce12 Update permissions logic 2023-01-23 11:01:27 +11:00
David Bomba
f217ea2441 Tests for permissions 2023-01-23 08:32:41 +11:00
David Bomba
9ee5c2bace Tests for permissions 2023-01-23 08:29:39 +11:00
David Bomba
5e012aa520 Setup permissions for Bank Transactions 2023-01-23 08:25:43 +11:00
David Bomba
ce3bf784ca Tests for refactoring entity file names and formatting entity numbers for file names 2023-01-22 09:45:46 +11:00
David Bomba
c1563c571d Permissions tests 2023-01-21 16:52:24 +11:00
David Bomba
bc402ec30c Fixes for tests 2023-01-18 18:56:15 +11:00
David Bomba
d708d054f2 Improve how tests function under parallel testing 2023-01-18 17:35:43 +11:00
David Bomba
f46aa87d38 Fixes for tests 2023-01-17 22:45:32 +11:00
David Bomba
cf9ffb05d5 Tests for calculating date ranges 2023-01-14 18:47:14 +11:00
David Bomba
0497089e27 Fixes for pro rata calculations where discounts are involved 2023-01-12 21:31:46 +11:00
David Bomba
d97f17ea39 Fixes for tests 2023-01-02 17:55:57 +11:00
David Bomba
02899b931e Fixes for tests 2022-12-21 22:20:54 +11:00
David Bomba
b1454d11ab Minor fixeS 2022-12-21 12:27:47 +11:00
David Bomba
1d6b7d3b55 Late fee tests 2022-11-17 17:38:27 +11:00
David Bomba
ce47e30aa2 Merge branch 'v5-develop' into yodlee 2022-10-24 08:43:02 +11:00
David Bomba
b72222c3c7 Fixes for formatting of quantity column 2022-10-19 09:17:32 +11:00
David Bomba
0a2cb6f88d Merge branch 'v5-develop' into yodlee 2022-10-06 20:55:44 +11:00
David Bomba
e951a44737 Fixes for generating counters 2022-10-02 12:24:49 +11:00
David Bomba
3aa0df508e Refactor bank transactions 2022-09-21 13:21:52 +10:00
David Bomba
384ce1fa8d Use transaction when marking an invoice as paid 2022-08-29 18:15:50 +10:00
=
b5f61d22a7 Tests for credit balance 2022-08-22 10:27:11 +10:00
David Bomba
e716bb5a02 Fixes for showing fees in both the product and tax tables 2022-08-19 08:41:50 +10:00
David Bomba
f014ced0d5 Fixes for tax floats with precision greater than 2 2022-08-16 08:02:48 +10:00
David Bomba
89b6bc5ae4 Fixes for generated number tests 2022-08-10 14:10:05 +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
David Bomba
4eed22d811 Refactor for store client request 2022-06-23 13:12:28 +10:00
David Bomba
ade8b24031 Laravel 9 2022-06-23 09:24:56 +10:00
Shift
4f7a8f9752
Set return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
2022-06-21 10:00:57 +00:00
Shift
06d910a53b
Use Faker methods
Accessing Faker properties was deprecated in Faker 1.14.
2022-06-21 09:59:36 +00: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
e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba
d7084785fe fixes for jobs breaking with massive payloads 2022-05-12 13:57:41 +10:00
David Bomba
25aadf9202 Email blacklists 2022-04-30 11:55:39 +10:00
David Bomba
8cfdbbe3ed Add blacklist rules 2022-04-29 08:47:19 +10:00
David Bomba
0d5ee8269d Fixes for client tests 2022-04-18 21:02:06 +10:00
David Bomba
15b18dfc8f Entity translations 2022-04-06 10:38:01 +10:00
David Bomba
81825cc063 Fixes for tests 2022-03-25 17:57:53 +11:00
David Bomba
4a3bd027ad Convert shared quote/invoice counters 2022-03-25 17:16:26 +11:00
David Bomba
3ada7f9997 Convert shared quote/invoice counters 2022-03-25 17:12:49 +11:00
David Bomba
0ab1153e4d Fixes for languages 2022-02-26 14:53:51 +11:00
David Bomba
980fcb789f Improve quantity resolution 2022-02-26 14:04:05 +11:00
David Bomba
9cb26120ec Disable autocomplete on expiry date of wepay credit cards 2022-02-12 07:35:08 +11:00
David Bomba
8acf738197 Fixes for tests 2022-02-04 15:06:02 +11:00
David Bomba
84843f465f Fixes for tests 2022-02-04 13:50:07 +11:00
David Bomba
19a7f7911a Fixes for tests 2022-01-30 11:34:40 +11:00
David Bomba
4fededc59a Charting 2022-01-21 12:25:13 +11:00
David Bomba
38031ec7a3 Fixes for chart tests 2022-01-21 12:00:32 +11:00
David Bomba
c60045da58 Fixes for client_id queries on client list 2022-01-21 10:37:39 +11:00
David Bomba
11b0698d99 v5.3.49 2022-01-21 10:10:18 +11:00
David Bomba
e98264707a Charts for react 2022-01-20 20:09:08 +11:00
David Bomba
0a8f44b284 Tests for zero decimals 2021-12-21 20:30:44 +11:00
David Bomba
995b16d7e3 Stripe Zero Decimal CUrrencies 2021-12-21 20:27:51 +11:00
David Bomba
c76cb3eb7c Delay events slightly to prevent race conditions 2021-12-17 18:57:26 +11:00
David Bomba
cda41fbd46 Tests for redis vs database performance 2021-12-17 18:04:34 +11:00
David Bomba
4b2417f44e Fixes for a race condition affecting autobilling 2021-12-03 17:19:24 +11:00
David Bomba
2eeaea61a5 Minor fixes 2021-12-01 21:29:48 +11:00
David Bomba
750f05ad8b Ensure at least one contact has send_email set 2021-11-15 21:46:58 +11:00
Benjamin Beganović
74b5afba96 Licence update 2021-11-09 19:59:44 +01:00
Benjamin Beganović
9b383b525b Filter images 2021-11-09 17:30:17 +01:00
David Bomba
b656fc0e30 Fixes for tests 2021-10-31 22:44:03 +11:00
Benjamin Beganović
dda391bb3a Resolving fonts 2021-10-27 14:51:43 +02:00
David Bomba
e22967f10d Performance improvements removing unpaid gateway fees 2021-10-25 07:25:14 +11:00
David Bomba
0444c96a47 Subscription calculations 2021-10-21 21:44:18 +11:00
David Bomba
9f79b4b519 Working on tests for subscriptions 2021-10-21 15:51:36 +11:00
David Bomba
3de5665d94 Subscription calculations test' 2021-10-21 15:08:46 +11:00
David Bomba
dfa773d6b9 ProRata Refunds 2021-10-21 13:03:41 +11:00
David Bomba
bcf34a6e62 Refactor Refunds 2021-10-21 12:40:59 +11:00
David Bomba
17507fd258 Tests for pro rata refunds 2021-10-21 11:26:19 +11:00
David Bomba
68a8715c6d Fixes for tests 2021-10-17 14:21:13 +11:00
David Bomba
0cfe5bc39a Refactor invitations 2021-10-14 16:25:09 +11:00
David Bomba
3b8ef9ccd9 Minor fixes for credit - paid - to - dates 2021-10-12 15:49:05 +11:00
David Bomba
026d3e17a7 Additional currencieS 2021-09-23 22:07:07 +10:00
David Bomba
dc790559e9 Merge branch 'v5-develop' into recurring_expenses 2021-09-15 10:16:24 +10:00
David Bomba
618027dcd8 Add gross line and subtotals 2021-09-15 10:00:29 +10:00
David Bomba
33c05b1ad0 Add exclusive taxes to line items 2021-09-15 09:02:25 +10:00
David Bomba
02de2607e0 Fixes for recurring expenses 2021-09-14 18:52:54 +10:00
David Bomba
4ca034c9f6 Fixes for import correcting amounts 2021-08-30 07:53:51 +10:00
=
577eedb457 Recurring expenses cron job 2021-08-24 21:57:51 +10:00
=
f07905a0bc Minor fixes 2021-08-18 22:12:10 +10:00
Benjamin Beganović
8c8be024a3 Tests for number_format used in Mollie 2021-08-03 14:36:18 +02:00
David Bomba
d82491d163 Email user when another user is added into the system 2021-07-19 14:17:58 +10:00
David Bomba
a4c1829257 Fixes for shared counterS 2021-07-16 23:33:53 +10:00
David Bomba
da177661ec Fixes for subscriptions 2021-07-15 21:00:24 +10:00
David Bomba
a6146ee468 Tests for settings 2021-07-15 09:23:38 +10:00
David Bomba
bfd6cf876b Fixes for tests 2021-07-14 10:31:07 +10:00
David Bomba
ad0b2b8ec3 Prevent ninja company from being deleted 2021-07-11 10:16:27 +10:00
David Bomba
6edfa0a966 Fixes for User model 2021-07-10 18:59:55 +10:00
David Bomba
b15041f60b Fixes for portal domain 2021-07-07 13:19:19 +10:00
David Bomba
82b423442f Token Billing with PayFast. 2021-07-06 20:02:47 +10:00
David Bomba
bb0dea0c13 Fixes for tess 2021-07-03 14:37:06 +10:00
David Bomba
16ee6d0f6e Minor fixes for tests 2021-07-03 13:47:15 +10:00
David Bomba
73a5839f16 Minor fixes for tests 2021-07-02 20:20:46 +10:00
David Bomba
651e72da6b Lean Mock Data Trait 2021-07-02 10:06:26 +10:00
David Bomba
84dd24c070 Tests for credit balances 2021-07-02 09:48:11 +10:00
=
2b6f0870b3 Tests for clean up S3 orphans 2021-06-13 20:09:52 +10:00
David Bomba
f3b52b0a22 Fixes for tests 2021-05-28 19:57:56 +10:00
David Bomba
87ddad6670 Working on PDF generator flags 2021-05-09 21:30:31 +10:00
David Bomba
4a3384e382 More tests for counters 2021-05-03 11:06:12 +10:00
David Bomba
1292098b65 More tests for generated numbers 2021-05-03 09:44:03 +10:00
David Bomba
1856ed061b Test for resetting the date 2021-04-22 10:10:20 +10:00
David Bomba
7cef74350d Fix for accounting error when deleting a refunded payment 2021-04-22 09:35:31 +10:00
=
fc223e3432 Fixes for invoice status 2021-04-21 22:27:08 +10:00
David Bomba
7b4b3e3f5e tests 2021-04-21 20:46:24 +10:00
David Bomba
d91e8c438e Working on Pro Rata Refunds 2021-04-10 14:53:16 +10:00
David Bomba
62401555cd Working on pro rata refunds 2021-04-10 14:07:08 +10:00
David Bomba
1696c63ba4 fixes for endless recursion 2021-04-10 12:01:36 +10:00
David Bomba
d9047b413a Disable product price updating if currencies do not match 2021-04-06 07:36:20 +10:00
David Bomba
d7bf927549 Set exchange rates on invoices 2021-03-29 13:14:55 +11:00
=
fa5830f37b Test for date ranges 2021-02-28 15:32:08 +11:00
David Bomba
e668e7fd5a Fixes for Quotes not attaching to emails 2021-02-28 13:12:55 +11:00
=
5f14cc0c5d Working on task range overlap 2021-02-27 21:08:39 +11:00
David Bomba
0a1b4b26b9 Fixes for tests 2021-02-10 15:10:05 +11:00
=
7c3a6766c0 FIxes for Zero taxes 2021-02-06 11:18:42 +11:00
David Bomba
81e17d9cdc fixes for tests 2021-02-04 07:46:18 +11:00
David Bomba
b2b464fb9e Check PhantomJS response is valid PDF 2021-01-13 10:25:33 +11:00