Commit Graph

148 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
Benjamin Beganović 0962177252 Remove old designs 2020-09-04 13:18:17 +02:00
Benjamin Beganović 50c37a8719 Update logic to support only one dynamic design class:
- New Design.php class that will act as master template
- PdfMaker->design() now accepts design object instead of string
- PdfMaker: Skip elements if no id|tag provided
- PdfMaker: 'content' property is now optional
- config/ninja.php now contains base_path for templates
- Refactored tests to be :green: ✔
- Removed PdfMakerDesignsTest since content is same for each template now
2020-09-04 10:18:41 +02:00
Benjamin Beganović 5b67a547d9 Update new designs 2020-09-04 08:42:58 +02:00
David Bomba 06649ede45 Update Sentry DSN"
git push
2020-08-20 23:19:44 +10:00
David Bomba 2975adc0e5 Reconfigure the way we pass Sentry DSN 2020-08-19 14:48:37 +10:00
David Bomba e21e70bdcd Fixes for tests 2020-08-13 10:57:06 +10:00
David Bomba e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba d05c6ec975 Inject custom translations 2020-08-11 10:48:05 +10:00
David Bomba d7dbde3789 Implement PhantomJS 2020-08-04 21:00:19 +10:00
David Bomba 0c7a2cd776 formatting in auth.php" 2020-07-29 00:11:43 +10:00
David Bomba feba22b0b1 Bump version for releasE 2020-07-28 07:47:13 +10:00
David Bomba 339795b555 make sure app url always has a trailing slash 2020-07-25 07:46:56 +10:00
David Bomba d5a666f496 Enabled modules values 2020-07-24 08:00:28 +10:00
David Bomba 3a77f62b9d Configure releases in sentry, and add assigned_user_id to demo data 2020-07-21 11:54:49 +10:00
David Bomba 8420a4bac1 Remove redundant properties from account table and transformer 2020-07-21 09:00:59 +10:00
David Bomba 5e6fdef935 Working on payment terms 2020-07-20 16:10:14 +10:00
David Bomba 0fd97f3a03 Fixes for checkdata 2020-07-07 20:35:54 +10:00
David Bomba 8f2ba52997 Bump version 2020-07-07 08:43:42 +10:00
David Bomba 95e23dca0f Add NPM/NODE paths a configurable 2020-07-01 08:29:05 +10:00
David Bomba 1bb702423c Bump version 2020-06-30 10:10:03 +10:00
David Bomba 1ee17c3576 Minor fixes for setup process 2020-06-28 21:52:45 +10:00
David Bomba fe2eee456f Bump version 2020-06-28 20:39:16 +10:00
David Bomba d049aca8ca Update min client version 2020-06-26 19:54:43 +10:00
David Bomba ff4e3c2184 Fixes for request layer of Quotes 2020-06-23 07:48:45 +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 fc40159d36 Fixes for currency precision 2020-06-15 21:42:46 +10:00
David Bomba e892465e4f Fixes for beacon 2020-06-11 21:29:36 +10:00
David Bomba a9637b3cb5 Authorize a credit card 2020-06-10 22:42:10 +10:00
David Bomba d58c2f05ff Refactoring Payment Drivers 2020-06-09 21:17:26 +10:00
David Bomba f6eda5c0f4 Fixes for unused dependencies 2020-06-04 21:35:25 +10:00
David Bomba 8512db6b1e
Add payment terms per company (#3759)
* remove first name last name required

* Working on check update script

* Add payment terms per company

* set enabled modules on company creation

* Add payment terms to migration
2020-05-27 09:49:06 +10:00
David Bomba e038c624bf
Fixes for payment terms types (#3754)
* Type Change for Payment Terms

* Fixes for payment terms casting
2020-05-26 18:41:14 +10:00
David Bomba 3e77612210
Fixes for conflicts (#3743)
* Add checks for duplicate contacts in invitations

* Fixes for self updater

* homebrew self updater

* remove self-updater
2020-05-25 11:57:08 +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 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
Benjamin Beganović b036d370c3
Inline CSS for e-mails (#3718)
* Add laravel-mail-css-inliner

* fix typo

* production builds

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-05-19 23:01:06 +10:00
Benjamin Beganović 14577fdfd0
Remove breadcrumbs (#3699)
* Remove breadcrumbs

* remove config
2020-05-14 11:02:23 +10:00
David Bomba fb5a923639
Working on OAuth (#3693) 2020-05-13 16:33:50 +10:00
David Bomba 6d0d6c10cd
Working on OAuth (#3686)
* Update Exchange rate Data once a day

* Tests for currency conversions

* Fixes for tests

* Fix for adding blank product keys

* Class for logging emails sent

* fixes for oauth
2020-05-12 19:56:30 +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 42ccfe0700
Checkout stubs (#3672)
* minor fixes for name spaces, collector facade and composer version bump

* Fixes for invoiceworkflowsettings

* Add more context to support emails

* Working on Firing Subscriptions

* Minor fixes

* Fixes for gateway filtering

* Checkout Driver
2020-05-04 21:13:46 +10:00
David Bomba d7b22ba1db
Add analytics engine (#3664) 2020-04-30 22:33:57 +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 6a846efabe
Update self updater (#3647) 2020-04-20 10:55:09 +10:00
David Bomba 820f770ef8
Upgrade Self Updater (#3646)
* Fixes for createinvoicepdf

* Filter properties which can be saved on free accounts

* Update laravel self updater version

* Upgrade self updater version

* Rework Composer upate

* Self Update
2020-04-20 08:35:48 +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
Benjamin Beganović f118f3bfda
Show custom messages (#3616)
* Show custom messages

* Fix getSetting key

* Add custom messages support with variable parsing
2020-04-13 11:48:23 +10:00
David Bomba 9349eb0414
Repeating headers and footers for PDF (#3622)
* Subclass Notification class

* Subclass Notification class

* Working on invoice design

* Working on page headers and footers

* Fixes for headers and footers

* Fixes for invoices
2020-04-12 21:51:27 +10:00