Commit Graph

113 Commits

Author SHA1 Message Date
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 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba 4900946fa1 do no auto convert quote if converted by admin user 2022-03-17 13:41:46 +11:00
David Bomba ed2952356c Approve quote 2022-03-11 08:13:27 +11:00
David Bomba 1b256dba9b refactor for bulk downloads 2022-03-02 13:51:38 +11:00
David Bomba 475831bf70 Refactor for bulk downloads 2022-03-02 13:26:30 +11:00
David Bomba 3d14f24f49 Validation rules for converting expired quotes to invoices 2022-01-27 12:36:42 +11:00
David Bomba d5e580b863 Add triggered actions to update route of quotes 2021-09-27 08:29:18 +10:00
= 6c1b0c24d0 Add inline download capability 2021-09-20 21:16:28 +10:00
David Bomba 25ac52d40d Add triggered actions to Quotes 2021-09-15 11:20:31 +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 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba c52311bcde Fixes for PDF file paths 2021-05-15 12:19:36 +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 fd24449f95 Fixes for deleting / restoring / removing users 2021-03-26 19:07:43 +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
David Bomba b9c9874533 Improve PDF creation performance 2021-03-10 21:00:18 +11:00
David Bomba e39ce7491b Feature permissions for hosted 2021-03-08 08:32:38 +11:00
David Bomba 06bc49b0d6 Refactoring emails 2021-02-18 10:30:31 +11:00
David Bomba e546764e29 Upload documents route 2021-02-16 07:58:19 +11:00
David Bomba af19afedb5 Translations 2021-01-25 10:04:50 +11:00
David Bomba c4bfb33dbf Add destroy() methods in all controllers 2021-01-17 15:28:03 +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 5fe85ca3f0 Working on company settings implmentation 2020-11-04 17:02:15 +11:00
David Bomba 5c13e1681b Tests for events 2020-11-03 21:19:32 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +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 0f501bc936 fixes for quote controller 2020-08-23 11:08:18 +10:00
David Bomba 3ac9cc5158 Add reminder fields to entities 2020-08-14 08:08:10 +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 30c07b2cac Fixes for converting quotes 2020-05-28 21:22:25 +10:00
David Bomba 06804b5c4d
Improve quality of test data (#3762)
* Place checks on quote 'isConvertable()'

* Improvements to quality of test data
2020-05-28 10:04:48 +10:00
David Bomba afbb605af5
Fixes for converting a quote to invoice (#3727) 2020-05-20 17:45:03 +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 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 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 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 5a7986c23b
Bug Fixes (#3450)
* Convert quote to invoice workflow

* minor fixes

* checks for createaccount

* Bug Fixes

* Bug fixes
2020-03-07 23:46:45 +11:00
David Bomba d13ab48d86
Refactor Designs (#3449)
* Refactor custom invoice HTML generation

* remove table_styles() method from designs

* Refactor designs

* Clean up designs
2020-03-07 17:31:26 +11:00
David Bomba 7c00c68bf3
Create route for invoice/credit/quote PDF download (#3441) 2020-03-07 00:41:15 +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 1393179160
Multiple fixes and features (#3411)
* Performance improvements for seeding

* Differentiating between system notification and user notifications

* Remove hard coded webhook url

* Working on system and user notifications

* notifications

* Set the currency on client if blank

* Refactor for inserting invoice defaults

* Refactor Default Invoice/Quote/Credit objects

* working on credits

* Implement mark_sent for quotes and credits
2020-03-03 20:44:26 +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 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
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba 556b2ab1c9
Fixes for Storing Quotes (#3159)
* Return blank object for group settings

* Implement Quote Store

* Clean up Logging
2019-12-18 09:40:15 +11:00
David Bomba 0908893180
Fixes for client currency id (#3092)
* Fix for CORs error where file download were being prevented by headers

* Fixes for CORs and File downloads

* give contextual error messages for invalid route actions

* Clean up LoginController for OAuth Testing

* Quote Actions

* Invoice and Quote Actions

* Fix for client currency
2019-11-25 20:38:55 +11:00
David Bomba 69efd4d574
Enhancements to API (#3088)
* working on email throttling

* Fixes for invitaiton links

* pass custom fields as object

* Add user agent to company token

* Update company token transformer

* Remove prefix setting from CompanySettings

* Implement user agent on company token & provide better error handling for undefined relationships includes

* Fix bulk actions

* Working on updating/creating a company user

* Fixes for tests
2019-11-21 19:38:57 +11:00
David Bomba 5bbc274a48 Fixes for api-headeR 2019-10-07 17:31:26 +11:00
David Bomba a54b6c3055 Finalized OpenAPI 2019-10-07 15:57:14 +11:00
David Bomba eacc1fe66a Recurring Invoice OpenAPI 2019-10-07 15:29:16 +11:00
David Bomba 9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba 6d14821528 Working on Quotes 2019-05-02 21:07:38 +10:00
David Bomba ef08afc240 Catch Model Not Found and return JSON 2019-04-02 17:36:49 +11:00