Commit Graph

47 Commits

Author SHA1 Message Date
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 c195f5b8a5 Add middleware to destroy document 2020-08-11 13:21:43 +10:00
David Bomba 04ed1d4fe3 formatting 2020-07-26 20:21:55 +10:00
David Bomba 3c38fd2cf6 Fixes for refresh route 2020-07-26 15:12:40 +10:00
David Bomba 34575554af Working on handling refresh route 2020-07-26 08:27:49 +10:00
David Bomba d36fdb4025 Fixes for refresh query 2020-07-25 09:02:32 +10:00
David Bomba 339795b555 make sure app url always has a trailing slash 2020-07-25 07:46:56 +10:00
David Bomba 643f709248 Fixes for refresh route 2020-07-24 19:39:43 +10:00
David Bomba ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba 91c40b0517 Update enabled_modules value 2020-07-21 21:26:58 +10:00
David Bomba 0d8d793a4c Fix for including ALL relations on the refresh route if updated_at is provided 2020-07-21 21:19:21 +10:00
David Bomba 0cd3b6925e fixes for autobill invoice 2020-07-13 08:28:19 +10:00
David Bomba b4f669ad59 Update refresh route to filter all subqueries by updated_at 2020-07-10 09:28:09 +10:00
David Bomba f05cf83853 Fixes for setup process 2020-06-28 20:32:18 +10:00
David Bomba 2d2a5c0812 working on authorize.net token payments 2020-06-16 22:41:56 +10:00
David Bomba fc40159d36 Fixes for currency precision 2020-06-15 21:42:46 +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 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 b162fde79e
Minor fixes for setup. (#3586)
* Reduce release filesize

* tweaks for github actions

* Release asset

* Tweaks for alpha release

* Fixes for release

* Fixes for alpha release

* Fixes for setup

* Minor fixes
2020-04-02 22:53:47 +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 1a0c20aa9d
Working on Github Actions (#3543)
* minor fixes

* minor fixes

* Fixes for self update

* fixes for template previews

* Add report_errors variable

* Ping route

* Create .env.vi

* Update and rename .env.vi to .env.ci

* Update .env.ci

* Update .env.ci

* Fixes for .env

* Code cleanup

* Create release.yml

* Update release.yml

* Update release.yml

* Create phpunit.yml

* Update phpunit.yml

* Update release.yml

* Update .env.ci

* Update phpunit.yml

* Update release.yml

* Update release.yml

* Update phpunit.yml

* Update .env.ci

* Update release.yml

* Update .env.ci

* Update .env.ci

* Update phpunit.yml

* Update release.yml

* Update release.yml
2020-03-26 00:03:23 +11:00
David Bomba 90cb69f8a5
Performance improvements - PDF generation (#3521)
* Improve performance of PDF building

* Clean up

* Fixes for tests

* Minor fixes
2020-03-25 00:25:20 +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 f519fc765b
Improvements for eager loading (#3290)
* Working on invoice designs

* Working on Invoice Designs

* Improve eager loads

* Improvements for eager loading
2020-02-06 23:00:22 +11:00
David Bomba 4f82f1b903
Improve eager loads (#3289)
* Working on invoice designs

* Working on Invoice Designs

* Improve eager loads
2020-02-06 20:35:51 +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 bf41c634c0
Cast to string - default_gateway_type_id (#3105)
* fixes for template controller

* Default gateway as string
2019-11-29 22:15:50 +11:00
David Bomba 4391ad087c
Fixes for client contacts updating (#3104) 2019-11-29 21:41:07 +11:00
David Bomba 3405b91c64
Bulk download PDF, Client Portal formatting (#3046)
* Update OpenAPI for TemplateController

* Add bulk invoice download functionality

* Working on Client portal

* Move selective queries to cache instead of DB

* Fix formatting in Payments table, implement cache for languages, resolve route model for clientcontacts and users
2019-11-06 09:52:57 +11:00
David Bomba 85ba2091fc Working on Invoice Taxes 2019-10-17 16:09:52 +11:00
David Bomba b6d6d3928b
Eager loading (#2995)
* Fixes for tests

* Eager load payment types
2019-10-16 21:24:33 +11:00
David Bomba af28b02fae Fixes for tests 2019-09-11 13:46:23 +10:00
David Bomba e4f33b06ba Saving PDF's to their correct location 2019-08-30 07:44:22 +10:00
David Bomba 3e91a4f700 Working on client side uploads 2019-08-07 16:56:19 +10:00
David Bomba 3da6eb69f0 Working on DropZone 2019-08-06 13:31:55 +10:00
David Bomba d15d212ad1 Working on select 2 2019-08-05 12:02:32 +10:00
David Bomba 9387072711 Datatables 2019-08-05 05:59:28 +10:00
David Bomba 67fa34fe82 Implement forced includes to allow forcing additional objects in the json response 2019-06-24 10:13:53 +10:00
David Bomba d057903229 Logging 2019-06-03 15:31:20 +10:00
David Bomba 9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba 63f8700db1 bump laravel version to 5.8, include new GCS storage library 2019-04-28 15:11:08 +10:00
David Bomba 6326a3c840 Tuning SQL queries 2019-04-25 17:16:41 +10:00
David Bomba ae57c05659 Working on tests for invoice items 2019-04-04 20:28:53 +11:00
David Bomba cb93b9ebe4 Update a Product 2019-04-03 14:22:13 +11:00
David Bomba ea5f045509 Setting up for tests 2019-03-26 15:46:08 +11:00