Commit Graph

170 Commits

Author SHA1 Message Date
David Bomba 4f5d5ef189 Fixes for authorization in bulk action routes 2023-10-30 16:26:43 +11:00
David Bomba 33585c65c4 php cs fixes 2023-10-26 13:57:44 +11:00
David Bomba 52cdf610c7 Working on the template action 2023-10-06 21:07:31 +11:00
David Bomba 487ca15749 Updates for twig templates 2023-09-25 13:19:08 +10:00
David Bomba 2a40658222 Fixes for partial validation 2023-09-25 07:34:10 +10:00
David Bomba 18d0a39386 Fixes for reminders with partial due dates 2023-09-24 14:54:24 +10:00
David Bomba dc63ead58c Add validation for is_public across entities 2023-08-20 14:36:22 +10:00
David Bomba 07d71b43fe Tests for document.is_public validation 2023-08-20 14:05:26 +10:00
David Bomba f3b1e93873 Set public/private for documents 2023-08-16 00:23:18 +10:00
David Bomba eec0920d1d Allow xml files to be uploads 2023-08-15 22:50:47 +10:00
David Bomba 91d39aab82 Static Analysis Cleanup 2023-08-08 20:39:46 +10:00
David Bomba 69786492e0 Minor update 2023-07-31 18:22:34 +10:00
David Bomba 6bbf3dface Updates for exchange rate validation 2023-07-16 20:34:31 +10:00
David Bomba f82b21343c Disallow updates to cancelled invoices 2023-07-14 14:27:32 +10:00
David Bomba 8e12cfe4d5 set requirement of array type on ids for bulk actions 2023-07-11 07:34:57 +10:00
David Bomba 9f335c982c Minor fixes for translations 2023-06-08 09:01:54 +10:00
David Bomba ea9632c72e Improve template filters for bulk emails 2023-05-31 06:39:02 +10:00
David Bomba edd8269c08 Fixes for e-invoices 2023-04-28 20:16:54 +10:00
David Bomba bd744b4ae0 Taxes 2023-03-29 07:53:46 +11:00
David Bomba 5a42b89d55 cs fixer 2023-03-18 18:24:56 +11:00
David Bomba 6e983cb506 update upload mime checks 2023-02-27 20:12:59 +11:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 8fd2254115 Commit missing request class 2022-11-05 17:09:11 +11:00
David Bomba 023de23a45 Update validation rules 2022-11-05 15:13:08 +11:00
David Bomba 24d542a023 If blank exchange rate is sent, force 1 2022-09-17 07:56:23 +10:00
David Bomba a1629bbab4 Fixes for applying numbers 2022-09-12 21:08:50 +10:00
David Bomba 9b6bfbf96c merge v5-dev 2022-07-17 20:38:00 +10:00
David Bomba 00eb180afc minor fixes 2022-07-17 15:26:35 +10:00
David Bomba 3e916e0f1f Fixes for tests 2022-06-24 11:55:41 +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 7df60f5f27 ACH updates 2022-05-18 12:59:24 +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 bdcf902c6c Add projects to recurring invoices 2022-03-10 08:52:33 +11:00
David Bomba f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba 7423be043d Transaction events 2022-03-09 20:32:46 +11:00
David Bomba ff33cc5fca Fixes for casts 2022-02-27 17:49:49 +11:00
David Bomba 9dc91e5f97 Fixes for actions 2022-02-27 08:10:15 +11:00
David Bomba 910aeebaf7 Fixes for auth.net 2022-02-15 21:23:51 +11:00
David Bomba c7c26532c5 Allow negative invoices 2022-01-28 10:56:14 +11:00
David Bomba abbca58b4d Do not allow an invoice to be created for a deleted client 2022-01-06 13:31:44 +11:00
David Bomba 761d19c857 Fixes for ledger service 2021-12-19 13:26:57 +11:00
David Bomba 17482da60f Add validation rules for discounts 2021-11-21 21:19:24 +11:00
theworstcomrade 7270d65bda Document - fix stored xss
https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde/
2021-11-20 00:17:18 +01:00
theworstcomrade 2532ec7e76 Document - fix stored xss
https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde/
2021-11-19 23:39:35 +01:00
David Bomba ae3edef16c Refactor for backup storage location 2021-10-20 14:05:46 +11:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 73bcaae3f6 Allow invoice balances to change - but do no allow them to go negative 2021-04-28 11:18:27 +10:00
David Bomba 218aa6de73 Checks for partial/deposit greater than amount/balance 2021-04-15 08:09:36 +10:00
David Bomba 878f00b375 add additional query filter for recurring invoices 2021-03-30 09:30:41 +11:00
David Bomba f067290462 Update rules for updating an entity 2021-03-27 06:43:52 +11:00
David Bomba 451e4e1bbe Ensure better unique rules 2021-03-20 09:51:52 +11:00
David Bomba 292c7b8068 Invoice upload document route 2021-02-15 22:34:05 +11:00
David Bomba 95e5b89641 fixes for validation of line_items 2021-01-14 08:16:07 +11:00
David Bomba 13420a93b9 Fixes for validation 2021-01-08 21:19:26 +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
Benjamin Beganović 5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
David Bomba c1edc905db Importing invoices 2020-12-20 20:02:10 +11:00
David Bomba ccde0eaced Working on importing CSV Invoices 2020-12-20 18:02:58 +11:00
David Bomba 4df646f93b Fixes for tests 2020-12-20 12:21:40 +11:00
David Bomba 6b02d51080 Invoice Import 2020-12-19 18:28:58 +11:00
David Bomba df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
David Bomba 3ad3d0a418 Fix for editting invoice where number in pending state 2020-12-18 07:14:46 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba a1119f9bbe Fix edge cases with cloning invoice 2020-11-15 19:24:57 +11:00
David Bomba c1c8b6c14e Change start_time datatype 2020-10-29 20:40:13 +11:00
David Bomba 6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +11:00
David Bomba 0717744c5a Valid projects with clients validation 2020-10-16 20:12:37 +11:00
David Bomba c7d7e71e78 Validation for project clients 2020-10-16 16:17:36 +11: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 cb24a89d00 Fixes for carbon date handling on entities 2020-08-14 22:50:05 +10:00
David Bomba 7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba b113859690 Work on validation for unique invoice numbers 2020-08-12 20:11:13 +10:00
David Bomba 6510536234 Fixes for view_link in emails 2020-07-29 12:13:12 +10:00
David Bomba 41fdbd7978 Add client ids to activities 2020-07-23 21:20:05 +10:00
David Bomba ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba 8186b98e3c Clean up for lock invoices 2020-07-22 09:58:41 +10:00
David Bomba 8688625931 Validation for locked invoices 2020-07-22 09:54:39 +10:00
David Bomba 7468813cd8 Working on Authorize payment flow 2020-06-16 10:21:40 +10:00
David Bomba ed5ce8634e
Fixes for self updater (#3740)
* Add checks for duplicate contacts in invitations

* Fixes for self updater
2020-05-25 09:45:12 +10:00
David Bomba 84a64773a6
Adjustments for OAuth (#3707)
* Fixes for null values in custom values

* Refactor mailing

* Working on send emails from GMail API

* Fixes for tests

* Test for GMail

* Adjustments for storing oauth token
2020-05-16 20:26:16 +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 4c0bba7814
Implement Custom Values (#3619)
* Add report errors to account transformer

* Implement resolving custom values
2020-04-11 11:41:43 +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 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 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 6ffea888b0
Fixes for designs (#3463)
* Fixes for designs

* remove logs
2020-03-10 07:07:46 +11:00
David Bomba 9d3c6cb0ef
Fixes for PreviewController (#3460)
* Fixes for previewcontroller

* Fixes for previewcontroller

* Logging for invoices
2020-03-09 21:47:17 +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 2e76341e18
Fix typo (#3453) 2020-03-08 17:04:34 +11:00
David Bomba a8c15ef1c9
Version checking (#3451)
* Ensure NINJA_ENVIRONMENT variable is present  in .env file

* Implement version checking in app

* Remove password protection from check version route
2020-03-08 09:15:11 +11:00
David Bomba 08b4c4f4e1
Fixes for invoice invitation creation (#3370)
* Working on invoice invitations

* Fixes for invitation creation
2020-02-25 09:00:28 +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
David Bomba f57339f185
Fixes and Refactors for Invoice Emails. (#3339)
* Working on emailing invoices

* Working on emailing and displaying email

* Working on emailing and displaying email

* Email invoices

* Fixes for html emails

* Ensure valid client prior to store

* Ensure client exists when storing an entity

* Update variable name send -> send_email for client_contacts

* Mailable download files

* Extend timeouts of password protected routes when a protected route is hit

* Add default portal design to company settings

* Minor fixes

* Fixes for Tests

* Fixes for invoicing emails

* Refactors for InvoiceEmail

* Implement abstractservice

* Refactors for services

* Refactors for emails

* Fixes for Invoice Emails
2020-02-17 20:37:44 +11:00
David Bomba a79c7bf60d
Code Cleanup
* Working on emailing invoices

* Working on emailing and displaying email

* Working on emailing and displaying email

* Email invoices

* Fixes for html emails

* Ensure valid client prior to store

* Ensure client exists when storing an entity

* refactor for emails

* Design Transformer

* Include designs in first_load response

* Code cleanup
2020-02-15 20:06: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