1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
Commit Graph

462 Commits

Author SHA1 Message Date
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
David Bomba
43626c92a2 Tests for PDF mime 2021-01-13 10:12:01 +11:00
David Bomba
13e9197ae5 Tests for task sorting 2021-01-05 15:41:43 +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
03b76d8479 Fixes for tests 2020-11-24 08:53:51 +11:00
David Bomba
78ba574236 minor fixes for tests 2020-11-19 09:38:36 +11:00
=
3a7a35c845 Fixes for import 2020-11-07 21:13:04 +11:00
David Bomba
14b13a30f5 Fixes for tests 2020-11-04 18:50:27 +11:00
David Bomba
64b703513d Refactor company gateway schema for required fields 2020-11-04 08:26:28 +11:00
David Bomba
f911d17a6b Fix for migration 2020-11-01 20:41:49 +11:00
David Bomba
74701e8b70 Test cleanup 2020-10-31 16:45:10 +11:00
David Bomba
afcbb870bf Fixes for migration 2020-10-31 11:46:00 +11:00
David Bomba
a18b1b431e working on migration for vendors, expenses, tasks 2020-10-31 08:13:02 +11:00
David Bomba
8f53424017 Fixes 2020-10-27 06:10:04 +11:00
David Bomba
901f7c4117 Working on credit payments 2020-10-15 14:35:35 +11:00
David Bomba
c44e8330a5 Fixes for tests 2020-10-15 13:07:48 +11:00
David Bomba
b7292a0432 Update email validation 2020-10-13 08:27:42 +11:00
David Bomba
c8770f09ca Refactor for determining gateway fees 2020-10-12 15:10:34 +11:00
David Bomba
d2d6262941 Testing Autobill 2020-10-08 14:31:02 +11:00
David Bomba
70a575386c Fixes for designs in migration: 2020-10-07 10:16:57 +11:00
David Bomba
4db72d11e1 Actions for recurring invoices 2020-09-24 10:57:44 +10:00
David Bomba
ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10:00
David Bomba
766343d8b9 Recurring dates 2020-09-14 22:13:15 +10:00
David Bomba
bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba
9c7dc24bd2 Recurring Dates 2020-09-13 20:20:11 +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
d57f0f9236 Refactoring client payments 2020-08-26 10:53:11 +10:00
David Bomba
79e0fa56e2 Convert currency string to float 2020-08-26 10:47:50 +10:00
David Bomba
ab5dc13662 Inject custom translations when needed 2020-08-11 11:03:49 +10:00
David Bomba
d05c6ec975 Inject custom translations 2020-08-11 10:48:05 +10:00
David Bomba
13cf06b0cd Test for new shop routes" 2020-08-05 12:21:26 +10:00
David Bomba
46bb38a20c Adjust client factories to allow contacts to be created by default 2020-07-28 18:28:29 +10:00
David Bomba
e67c7995d9 fixes for invitations 2020-07-23 16:13:12 +10:00
David Bomba
ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba
8420a4bac1 Remove redundant properties from account table and transformer 2020-07-21 09:00:59 +10:00
David Bomba
3aca9e701b Adjustments for account transformer 2020-07-21 07:51:09 +10:00
David Bomba
f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba
83fc30f7e7 Working on fees and limits 2020-07-07 22:33:11 +10:00
David Bomba
2120d9844b Fixes for fillable properties 2020-06-28 20:38:41 +10:00
David Bomba
5bcbab3e0a Fixes for tests 2020-06-27 15:14:06 +10:00
David Bomba
2fadadf5d4 Change document->path to ->url 2020-06-22 15:52:20 +10:00
David Bomba
13f2481bcd Fixes for testS 2020-06-12 07:56:25 +10:00
David Bomba
c339c25d9c
Bulk actions for Payment Terms (#3752)
* Fixes for tests

* payment terms policies and repo

* Bulk actions for payment terms

* Fixes for documentation

* working on payment failure mailer
2020-05-26 18:20:50 +10:00
David Bomba
970c9bb87d
Payment Terms (#3737)
* Fixes for converting a quote to invoice

* Fixes for deleting an invoice

* Payment Terms CRUD

* Payment Terms

* Push PaymentTerms back into the DB

* Payment Terms

* Payment Terms

* Create api docs for payment terms
2020-05-23 13:28:24 +10:00
David Bomba
d5ae025df0
Logging for self updater (#3725)
* fixes for tests

* Fixes for tests:

* Fixes for tests

* Add logging to self updater
2020-05-20 08:49:58 +10:00
David Bomba
644fea5ac3
Fixes for tests (#3722) 2020-05-19 23:11:24 +10:00
David Bomba
d9d2e21f93
Subscriptions (#3682)
* 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

* Quote actions

* Send Quotes

* Fixes for seg faults!

* Minor fixes

* Fixes for client contact scopes
2020-05-09 08:35:49 +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
280e42d366
Hosted platform rules (#3650)
* Filter properties which can be saved on free accounts

* Self Updater

* Fixes for tests

* Refactor for settings

* Working on feature permissions - Settings Saver

* Fixes for events on self-updater

* Working on Self Updater

* Working on free /pro settings saver

* Implement free/pro/enterprise saving for settings

* Update company request

* Implement settings saver for hosted platform for clients and group level settings

* Implement quotas for hosted version

* Validation rules for hosted platform"
2020-04-21 15:16:45 +10:00
David Bomba
aa690578e3
Implement Currency Conversion library. (#3643)
* Fixes for testS

* Fixes for migration

* Fixes for migratin

* Query performance improvements

* Check Data Script

* Currency Conversion API

* Implement currency conversion

* Currency Conversions
2020-04-19 20:29:58 +10:00
David Bomba
e5a230e0c7
Performance improvements (#3634)
* Adjustments for tests

* Implement handling of temp downloading resources

* Refactor paths

* Refactors for file paths

* Refactor paths

* Add in S3 adapter

* Refactor company Documment URL

* Refactor for entity pdf performance

* Refactors for invoice generation

* Enhancements for emails invoices

* Emails

* Fixes for client portal queries
2020-04-16 18:41:25 +10:00
David Bomba
74a6c4f2ee
Reminders (#3630)
* Performance improvements moving from str_replace to strtr

* Remove legacy docs

* Clean up credit transformer

* Working on invoice emails

* Clean up for invoice designs

* Tests for light and dark theme emails

* Working on reminder scheduling

* Reminder Job Class

* Fixes for github actions

* PHP CS

* Test for reminders

* Test for reminders
2020-04-15 10:30:52 +10:00
David Bomba
563d41c83a
Email Settings (#3615)
* Working on advanced email settings

* working on document storage

* Email Documents if they exist

* UBL invoices

* UBL Invoices

* Fixes for tests
2020-04-10 15:07:36 +10:00
David Bomba
afee58f746
Google Analytics (#3610)
* Working on google analytics

* google analytics implementation
2020-04-09 22:04:26 +10:00
David Bomba
213df6451f
Invoice Cancellation (#3605)
* Ensure release build sets correct file and directory permissions

* Invoice Cancellation

* Invoice Cancellations
2020-04-08 23:31:22 +10:00
David Bomba
7d41759468
Version bump, fixes for queue:work on setup. (#3603)
* Fixes for scheduler and queues

* Version Bump
2020-04-08 20:55:28 +10:00
David Bomba
2fd3229efd
Implementation of Invoice Reversal (#3602)
* Version bump 0.0.2

* code cleanup

* Working on reversing an invoice

* Working on reversing an invoice

* Working on refunding invoice

* Reversing invoices

* Test for invoice reversals

* Invoice Reversal
2020-04-08 20:48:31 +10:00
David Bomba
8cffccb3bc
Fixes for composer 2 (#3593)
* Add privacy link to setup page

* Italics

* Tests for invoice actions

* Fixes for autoloading
2020-04-06 22:32:27 +10:00
David Bomba
6d7b7ca9a3
Invoice Deletion - Ledger (#3590)
* Fixes when implementing

* php_cs

* Clean up

* Clean up

* Working on adjusting ledger when an invoice is deleted
2020-04-04 21:32:42 +11:00
David Bomba
eba0c19824
Fixes for Migration (#3572)
* Remove \Log::, fixes for tests, and fixes for migration

* Debugging migration

* Fixes for Migration
2020-04-01 19:54:22 +11:00
David Bomba
84e572de07
Fixes for designs" (#3557)
* fixes for tests

* Working on Invoice Designs
2020-03-28 15:29:52 +11:00
David Bomba
9cb7996a2e
Performance improvements for PDF rendering (#3556)
* Performance improvements for PDF generation

* CS Fixer

* Performance improvements for PDF generate

* Fixes for tests
2020-03-28 14:45:11 +11:00
David Bomba
6a7079b0be
Implement Github actions (#3547)
* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Force /setup if system requirements are not met

* Update .env.ci

* Update phpunit.yml

* Minor changes for github actions"

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* cs-fixer

* cs-fixer

* Fixes for github actions

* db ports github actions

* Refactor the template engine
2020-03-26 14:23:57 +11:00
David Bomba
cdc3ef12c2
Include Horizon (#3519)
* Fixes for white label

* Include Laravel Horizon

* Add Account ID to user table AND ensure a user cannot create an invoice across companies

* restart horison after an update

* Fixes for app setup

* Minor fixes

* Fixes for client routes

* Fixes for tests

* minor fixes
2020-03-24 20:15:30 +11:00
David Bomba
43e57d0117
Fixes for self-update (#3514)
* minor fix for payment notifications

* styleci

* Limit Self updating to self hosters only
:

* Fixes for designs

* Minor fixes for self-update
2020-03-21 16:37:30 +11:00
David Bomba
4c23d43138
Working on Setup workflow (#3509)
* Refactor designs to remove whitespace

* enable dummy data for templating

* Insert faker data into templates

* Fixes for user deletion

* Documentation on User controller:

* Working on app setup

* Files for app setup

* Working on Setup

* Final fixes for setup controller

* Fixes for setup

* Fixes for first install

* Minor fixes
2020-03-18 20:40:15 +11:00
David Bomba
0e12b63c95
Design Changes (#3504)
* Fixes for tests

* Working on PDF tables

* Fixes for null values in designs

* Refactoring entity variables for PDF

* Fixes for pdf variables

* Minor fixes for designs

* Working on variable replacement for tables

* Refactoring designs

* Refactoring designs

* Refactoring design implementation

* Working on refactoring designs

* Serve tailwind locally

* Design changes
2020-03-16 21:12:10 +11:00
Benjamin Beganović
fbf9f39cc6
Remove 'documents' when company is deleted (#3462)
* Remove 'documents' when company is deleted

* Fix Codacy warnings
2020-03-10 07:05:23 +11:00
David Bomba
7d39969a3b
Preview Route (#3456)
* Remove backup column from schema

* Add slack webhooks to company user table

* Preview route

* remove json column from company gateway

* fixes for testS

* Fixes for typos
2020-03-09 20:38:15 +11:00
David Bomba
4f9c596d3a
Fixes for setting entity defaults. (#3446)
* Create route for invoice/credit/quote PDF download

* Fixes for tests

* Fixes for settings entity defaults
2020-03-07 09:48:03 +11:00
David Bomba
f0176b6e37
Fixes for quote transformer (#3434)
* remove jobs table

* Working on notifications

* Working on notifications

* Fix for pdf_variables

* Fixes for notification

* Fixes for viewing invoice with NO company custom_fields

* Fixes for company settings object creation

* Working on group settings

* Fixes for storing the correct currency_id on client creation

* Fix for invoicetransformer

* fix for store client

* Update PaymentAppliedValidAmount.php (#38)

* update company schema descriptions

* Update PaymentAppliedValidAmount.php

Co-authored-by: David Bomba <turbo124@gmail.com>

* Cast invoice designs to the Hashes

* Fixes for setting invoice/credit/design_ids to hashed

* Fixes for quote transformer

Co-authored-by: michael-hampton <michaelhamptondesign@yahoo.com>
2020-03-06 22:10:59 +11:00
David Bomba
280271718b
Migration improvements: (#3428)
- Refactored exceptions
- Changed failed.blade.php
- Removed report() method from exceptions
- Added new force flag for MigrationController.php
2020-03-06 07:30:32 +11:00
Benjamin Beganović
40af77d324
(V2) Improve validation & error handling (#3414)
* wip - migration transfer

* (WIP) Response refactor:
- Catching exceptions at top level
- Tests refactor

* wip

* Wrappign migration validator:
- Migration dropped to queue
- New validator messages
- New exception messages

* Fixes for tests
2020-03-04 09:44:42 +11:00
David Bomba
0061da2600
Update Company User Route (#3398)
* Working on CompanyUser route

* CompanyUser update route

* tests for updating a company user
2020-02-28 23:11:56 +11:00
David Bomba
b2f4e51b55
V2 (#3385)
* Fixes for payment number

* Fixes for tests
2020-02-26 21:46:35 +11:00
David Bomba
f20b0f7720
Fixes for company tokens. (#3375)
* Testing Company Ledger

* Fixes for company ledger

* Fixes for company ledger

* Company ledger testS

* Fixes for user / client / contacts transformers

* Fixes for tests

* Fixes for tokens
2020-02-26 14:26:07 +11:00
Benjamin Beganović
786b54e57b
Fixes for ImportTest & StartMigration refactor (#3373) 2020-02-26 09:36:11 +11: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
Benjamin Beganović
c97d664d31
Fixes for ImportTest (#3361)
* Fixes for tests (wip)

* Fix for tests

* Remove logging
2020-02-22 17:36:53 +11:00
David Bomba
c1d3fd12a8
Import (#3360)
* Fixes for test data

* Fixes for tests

* Remove legacy vue components

* Add routing number to client gateway tokens

* working on important documents and company gateways

* Import fixes
2020-02-22 13:25:49 +11:00
David Bomba
9e9cd37b87
Modifications to Designs (#3353)
* Working on Quotes

* Naming refactor for Quotes

* Quote Actions

* Quote Pdfs

* Quote PDFs

* Refunds in Stripe

* Fixes tests

* Company Ledger work
2020-02-20 07:44:12 +11:00
Benjamin Beganović
96a250edac
Importing documents (#3348)
* Importing documents

* Add polymorphic types

* Update documentable namespace & tests
2020-02-19 07:53:12 +11:00
David Bomba
79c57aa8da
Fixes for payments (#3276)
* More tests for refunds

* Tests for refunds

* Improve test speeds

* Fixes for tests

* Adjust the way we update products

* Adjustments for payments

* Fixes for payments
2020-02-02 07:45:23 +11:00
Benjamin Beganović
61b3385102
Various tests fixes & client contacts importing (#3259)
* Fix testClientNotArchived() returns null

* Fix testClientRestored() test

* Fix risky/incomplete tests

* Importing client contacts
2020-01-29 13:43:38 +11:00
David Bomba
45cc67075d
Include contacts in sample migration files. (#3260)
* add types to transformers

* minor fixes for test data creator

* Working on refunds

* Update migration files to include client contacts

* Working on refunds

* Working on refunds

* Working on refunds

* Refund Tests

* Working on refund tests
2020-01-29 13:03:47 +11:00
Benjamin Beganović
401d859f7a
Refactor file uploads to support multiple disks (#3257) 2020-01-29 11:12:52 +11:00
Benjamin Beganović
01c47d7c5d (Sync) beganovich:v2 to invoiceninja:v2 (#3254)
* Add more checks to invoice test

* Uploading migration file & test

* Comment redundant tests

* Improve tests with smaller sample files. (#3250)

* Reduce migration file size to improve test velocity

* minor fixes

* remove xhprof ext

* Tests for templates

* Remove commented tests

* Fix invoices testing & importing

* Sending e-mail when migration fails

* Uploading & storing the migration file
- Added Swagger notation
- Added MigrationTest.php method

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-28 07:56:48 +11:00
David Bomba
a72e1faa84
Improve tests with smaller sample files. (#3250)
* Reduce migration file size to improve test velocity

* minor fixes

* remove xhprof ext

* Tests for templates
2020-01-27 18:49:04 +11:00