Commit Graph

218 Commits

Author SHA1 Message Date
David Bomba b7a5c055a8 Fixes for single route actions 2022-08-18 14:08:50 +10:00
David Bomba 9bf603e584 Fixes for emails - remove mime types 2022-07-27 14:57:17 +10:00
David Bomba 438562ab8f Integrate twilio 2022-07-27 11:21:12 +10:00
David Bomba 071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba 9a3a1b92f6 Fixes for send_email bulk routes 2022-07-08 09:00:36 +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 f92070e3be Inventory Management Tests 2022-06-08 20:40:26 +10:00
David Bomba feacf65160 Stubs for purchase orderS 2022-06-05 20:30:56 +10:00
David Bomba e071c3aae7 Ensure freshness of models 2022-05-27 09:51:54 +10:00
David Bomba 1973c4c214 v5.3.89 2022-05-17 21:03:07 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba 654bf7a23f Disable gateway refund options for GoCardless 2022-04-27 09:05:16 +10:00
David Bomba bdf95fcf70 Improve bulk email performance 2022-04-21 09:25:19 +10:00
= c3330b6777 Reduce queries for Invoice POST 2022-04-04 13:00:11 +10:00
David Bomba ed2952356c Approve quote 2022-03-11 08:13:27 +11:00
David Bomba b7dced76cd Transaction events 2022-03-10 11:32:04 +11:00
David Bomba f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba c7c26532c5 Allow negative invoices 2022-01-28 10:56:14 +11:00
David Bomba f3947b104a change deletePdf() to touchPdf() 2022-01-12 13:05:07 +11:00
David Bomba 239b180a21 Fixes for pdf regeneration 2022-01-10 12:47:16 +11:00
David Bomba 075fe7a5e5 Clean up logging 2021-11-09 21:59:52 +11:00
David Bomba 57e1385cbf Fixes for invitations 2021-11-09 21:15:08 +11:00
David Bomba b08cb46615 Disable reversals 2021-11-07 22:13:59 +11:00
David Bomba fa2fedcef8
Merge pull request #6514 from Mause/patch-2
(v5) Declare request body for POST /api/v1/invoices
2021-10-18 15:24:42 +11:00
Elliana May 1c00b89d52
Update $ref to FillableInvoice 2021-10-18 12:17:07 +08:00
David Bomba fb7f44615d Minor fixes 2021-10-13 15:47:56 +11:00
David Bomba 8178cd4bac Add triggered actions to update route of invoices 2021-09-27 08:27:17 +10:00
= 6c1b0c24d0 Add inline download capability 2021-09-20 21:16:28 +10:00
Elliana May 5dfa240255
Declare request body for POST /api/v1/invoices
Related to https://github.com/invoiceninja/invoiceninja/issues/5473
2021-08-26 14:15:27 +08:00
David Bomba 5f0efcffc5 Fixes for Stripe exceptions 2021-08-15 15:30:46 +10:00
David Bomba a28aa9f7ec Fixes for client portal enabled and content type 2021-07-26 08:22:29 +10:00
David Bomba 32036a8569 Fixes for PDF paths 2021-07-07 21:39:49 +10:00
David Bomba 52c0bcbc18 Inject small delay when sending emails 2021-07-07 18:43:34 +10:00
David Bomba b37d9d267e Fixes for broken invoice pdf links 2021-06-17 18:59:15 +10:00
David Bomba 805d7f24d2 Minor fixes for InvoiceController PDF 2021-06-16 21:15:32 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba f22745d131 Remove delivery not from try/catch block 2021-05-30 06:50:55 +10:00
David Bomba c52311bcde Fixes for PDF file paths 2021-05-15 12:19:36 +10:00
David Bomba 7756ca7436 Don't store PDFs 2021-05-14 21:15:11 +10:00
David Bomba de8fb374ab Fixes for S3 storage and delivery notes 2021-05-14 19:43:06 +10:00
David Bomba 85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
= 460e0afb39 Add no-cache headers to prevent aggressive browser caching of assets 2021-04-29 21:07:05 +10:00
David Bomba 7e3a9205b9 Add event listeners for Subscriptions + fix user actioning the event() 2021-04-13 09:52:17 +10:00
David Bomba 161f20fae7 Fixes for paths to s3 type storage 2021-04-06 22:36:50 +10:00
David Bomba f1f8201683 fixes for delivery note generation 2021-04-02 22:44:44 +11:00
David Bomba 878f00b375 add additional query filter for recurring invoices 2021-03-30 09:30:41 +11:00
David Bomba cb7f27462b
Client subscriptions + bug fixes (#5238)
* 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
2021-03-24 20:14:30 +11:00
= 0bf8b9c9e5 Fixes for setup flow 2021-03-13 17:45:41 +11:00
David Bomba 9888d7acb9 Improve delete pdf performance 2021-03-10 13:28:35 +11:00
= f4d1917f32 Hosted feature implementation 2021-03-07 21:14:53 +11:00
David Bomba 06bc49b0d6 Refactoring emails 2021-02-18 10:30:31 +11:00
David Bomba 292c7b8068 Invoice upload document route 2021-02-15 22:34:05 +11:00
David Bomba 7bf6d7c48a Document route for clients / company 2021-02-15 21:52:50 +11:00
David Bomba bd6e3db554 Fix for entity footer 2021-02-12 08:00:42 +11:00
David Bomba a0d0c77630 translations 2021-01-25 09:24:13 +11:00
David Bomba 05ea7f092a Fixes for ledger adjustments 2021-01-21 15:05:05 +11:00
David Bomba 92e5465679 Entity mail failure email 2021-01-20 12:59:39 +11:00
David Bomba c4bfb33dbf Add destroy() methods in all controllers 2021-01-17 15:28:03 +11:00
David Bomba 2e499adea6 Fix for task status null color value 2021-01-08 09:03:29 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović 20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
David Bomba 91f90c94e3
Merge pull request #4454 from turbo124/v5-develop
Notifications clean up.
2020-12-10 07:58:08 +11:00
Benjamin Beganović 23a64562c9 fix issue with setup & apply php-cs-fixer 2020-12-09 13:38:22 +01:00
David Bomba 7ba78cc342 Reduce notification emails to one per entity 2020-12-09 20:52:08 +11:00
David Bomba 6a03bcc546
Merge branch 'v5-develop' into v5-develop 2020-12-09 07:25:16 +11:00
Benjamin Beganović 82bbe5b389 php-cs-fixer 2020-12-08 15:04:45 +01:00
Benjamin Beganović 812824100c wrap getting file into try-catch 2020-12-08 13:10:27 +01:00
David Bomba 594dda9b65 fixes for delivery notes{ 2020-12-08 20:18:17 +11:00
David Bomba fceaab9e40 Working on invoice delete restore refactor 2020-12-03 21:46:36 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba d8bb01430f Fixes for renaming company gateway columns 2020-11-12 22:09:31 +11:00
David Bomba 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba c5643bea7b
Merge pull request #4287 from turbo124/v5-develop
Fixes for reminder templates
2020-11-10 19:32:44 +11:00
Benjamin Beganović 8adab67251 - Pass $invoice to the getInvoiceDeliveryNote() in InvoiceService
- GenerateDeliveryNote action for InvoiceService
- New delivery-note-table element in the \Services\PdfMaker\Design.php
- $item & $description variables in the HtmlEngine
2020-11-09 14:30:50 +01:00
= cd0bbbe096 Remove redundant classes 2020-11-08 21:53:47 +11:00
David Bomba 09fbc9762a Fixes for custom emails. 2020-11-05 21:14:30 +11:00
David Bomba d598aeeb03 Working on reminders 2020-11-04 19:43:20 +11:00
David Bomba c995ac5f44 Add API Documentation to repo 2020-11-04 12:27:07 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba adeda5526e Add Psalm, code cleanup! 2020-10-28 17:58:15 +11:00
David Bomba 0a02323792 Quote email engine 2020-10-28 10:02:32 +11:00
David Bomba 8d508bb1f9 Refactor pdf generation 2020-10-26 15:06:58 +11:00
= 09399b3aaa Delete invoice PDF on invoice update! 2020-09-30 19:10:02 +10:00
David Bomba 78848fff4f fixes 2020-09-21 16:27:02 +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 2f478158e9 Fixes for company gateways 2020-09-02 11:11:01 +10:00
David Bomba de24d00315 Error handling for emails 2020-08-12 12:16:44 +10:00
David Bomba 2fdf351be3 Customize bulk templates 2020-08-05 22:18:29 +10:00
David Bomba 9ed31be17e remove legacy setting option 2020-07-28 14:29:56 +10:00
David Bomba f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba 94a98f744e Triggered actions on invoice 2020-07-06 09:34:25 +10:00
David Bomba 245980ce4b Send company with all events 2020-06-30 09:35:17 +10:00
David Bomba 8ed382a0b7 Change to streaming downloads 2020-06-24 18:59:56 +10:00
David Bomba dbff1ab6ab remove x-api-version and replace with x-minimum-client-version 2020-06-22 07:30:25 +10:00
David Bomba 9e2087b73c Add sample .htaccess 2020-06-21 20:07:23 +10:00
David Bomba bf6044006d Fix for restoring invoices 2020-06-09 07:43:46 +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 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