1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 23:22:52 +01:00
Commit Graph

87 Commits

Author SHA1 Message Date
David Bomba
aee6fe6dc9 Fixes for tests 2024-06-18 14:52:20 +10:00
David Bomba
7623246424 Add limiting exception 2024-06-18 11:33:56 +10:00
David Bomba
24a662f920 Rate limit new payments 2024-06-18 11:24:55 +10:00
David Bomba
c163f3c1a4 Static Analysis 2024-06-17 20:38:33 +10:00
David Bomba
bbb2f0b02b Fixes for validation on store payment prop 2024-04-24 16:39:54 +10:00
David Bomba
f5f972ad6a Fixes for tests 2024-03-21 09:12:45 +11:00
David Bomba
ba4cd4508b Fixes for restoring deleted user 2024-03-21 08:01:13 +11:00
David Bomba
8274ba0a3d Fixes for validation 2024-03-20 22:10:06 +11:00
David Bomba
a871e319ea Fixes for attempting to pass a negative value for a applied amount 2024-03-20 17:17:23 +11:00
David Bomba
f7340d6114 PHP CS Fixer 2023-11-26 18:41:42 +11:00
David Bomba
7de0cd99f1 Fixes for tests 2023-11-07 17:39:56 +11:00
David Bomba
bf2f7f5585 Minor fixes for static analysis 2023-09-27 16:04:29 +10:00
David Bomba
7973d7c882 Fixes for refunds with credits present 2023-09-27 14:12:03 +10:00
David Bomba
f5dfb69776 Tests for payments 2023-09-17 19:24:15 +10:00
David Bomba
21862adbae Fixes for tess 2023-09-17 19:11:04 +10:00
David Bomba
25739a912e Updated filters 2023-09-06 08:47:48 +10:00
David Bomba
edabb8858a Remove references to without events 2023-08-21 15:25:46 +10:00
David Bomba
8bddb49e6c Fixes for payment tests 2023-03-11 14:26:13 +11:00
David Bomba
010f324b4c Fixes for tests 2023-02-23 06:22:20 +11:00
David Bomba
75efdfeb0a Payment Filters 2023-02-21 10:44:54 +11:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
4364f0d168 Clean up for createsingleaccount 2023-01-19 12:16:51 +11:00
David Bomba
fe24cc5eb6 Clean up all filters and add back test: 2023-01-19 11:24:40 +11:00
David Bomba
49ac6a3d50 Fixes for tests 2022-12-01 12:00:53 +11:00
David Bomba
7b073d033a Fixes for Zoho Import 2022-12-01 08:49:59 +11:00
David Bomba
f7bd931c0c Fixes for payment tests 2022-12-01 08:24:45 +11:00
David Bomba
6d7ddc3beb Minor fixes for Stripe ACH Verifications 2022-10-01 10:29:15 +10:00
David Bomba
384ce1fa8d Use transaction when marking an invoice as paid 2022-08-29 18:15:50 +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
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
8a6eea8350 Fixes for regression - incorrect type setting in ClientSettings 2022-04-22 22:01:32 +10:00
David Bomba
a07c66f044 Fixes for tests 2022-02-27 11:50:18 +11:00
David Bomba
f962afa657 Fixes for tests 2022-02-27 08:11:42 +11:00
David Bomba
83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba
b1a2403e35 Fixes for duplicate payment numbers" 2021-12-10 21:50:46 +11:00
David Bomba
68a8715c6d Fixes for tests 2021-10-17 14:21:13 +11:00
David Bomba
7cef74350d Fix for accounting error when deleting a refunded payment 2021-04-22 09:35:31 +10:00
David Bomba
a9233ba62f Tests for number validation across entities 2021-03-20 10:10:45 +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
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
e7a1e4c4db Working on activities 2020-11-03 16:44:50 +11:00
David Bomba
9717424ce1 Payment Tests 2020-11-03 08:18:02 +11:00
David Bomba
c8e2d94b3f Fixes for tests + remove swoole 2020-10-22 21:14:14 +11:00
David Bomba
3fa336946f Fixes for Laravel 8 2020-10-01 21:34:05 +10:00
David Bomba
bae82b56c1 Add license 2020-09-14 21:11:46 +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
5b59efa437 Fixes for payments with credits 2020-08-04 15:09:07 +10:00
David Bomba
c2211bf2f0 FIxes for tests 2020-06-22 13:07:58 +10:00