Commit Graph

379 Commits

Author SHA1 Message Date
David Bomba da6ccddaaf Exceptions for emailing when company is deactivated 2021-05-12 20:46:59 +10:00
David Bomba f0d2e82d0c Fail safe for the system logger 2021-05-12 17:19:52 +10:00
David Bomba 5f8b473c33 Fixes for Stripe Connect 2021-05-12 13:25:11 +10:00
David Bomba e8adae6568 Fixes for Stripe Connect 2021-05-12 13:00:46 +10:00
David Bomba 6ab6fda3f6 Updated lock file 2021-05-11 21:26:55 +10:00
David Bomba 4979ed94de Minor fixes 2021-05-10 21:05:44 +10:00
David Bomba dacd31bb83 Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2021-05-10 09:53:05 +10:00
David Bomba 7808b4c30d Fixes for created_at dates in migration 2021-05-10 09:52:58 +10:00
David Bomba a9f93a2796 update import for Stripe Connect 2021-05-09 17:33:23 +10:00
David Bomba 2e6471692a Fixes for caching 2021-05-07 23:29:02 +10:00
David Bomba ce6cea837a Fixes for scheduler 2021-05-07 11:53:32 +10:00
David Bomba 8b8d021ad1 fixes for Artisan commands 2021-05-07 11:48:13 +10:00
David Bomba 97afe55923 Can null value 2021-05-06 13:32:13 +10:00
David Bomba 2805e1cc96 email_receipt flag 2021-05-06 13:22:55 +10:00
= 194b347c29 Fixes for migration timestamps 2021-05-05 19:46:51 +10:00
David Bomba 9a0d8afafc Update task statuses on migration 2021-05-04 18:33:36 +10:00
David Bomba a9aeb906c3 Fixes for migration 2021-05-03 22:25:45 +10:00
David Bomba b0835ed361 5.1.59 2021-05-03 20:50:08 +10:00
David Bomba bd88640436 Fixes for invitations in migration 2021-05-03 14:02:55 +10:00
David Bomba d68f96fb98 Minor fixes for migrations 2021-05-03 11:46:46 +10:00
David Bomba 130f0e5749 Fixes for no account in version check 2021-05-01 10:48:36 +10:00
David Bomba 342b383115 Minor fixes for imports 2021-04-29 12:12:44 +10:00
David Bomba d2bb8d6d81 Minor fixes for impmort 2021-04-27 20:38:34 +10:00
David Bomba 1f87ca6ca2 Delete migration directory after Import 2021-04-25 21:04:48 +10:00
David Bomba b33df0746e Check white label license periodically 2021-04-20 22:45:35 +10:00
David Bomba 464d810a70 Clean up for subscriptions 2021-04-16 13:58:14 +10:00
David Bomba c1b6e2043e Fixes for subscriptions 2021-04-07 21:05:09 +10:00
David Bomba b1e6325ef8 Fixes for tests 2021-04-06 08:19:27 +10:00
David Bomba 3ed8479411 Improve user migrations 2021-03-23 14:53:10 +11:00
David Bomba 6bb71dc33b Fixes for connected account 2021-03-16 22:29:16 +11:00
David Bomba d238d53b26 Delete PDF helper 2021-03-01 10:40:18 +11:00
= 4b147ca77a Fixes for migration mailer 2021-02-27 11:32:10 +11:00
David Bomba 7bf6d7c48a Document route for clients / company 2021-02-15 21:52:50 +11:00
David Bomba 862e86b8c9 Set client balances 2021-02-14 21:19:52 +11:00
David Bomba 01ee9529b6 Add trusted proxy config 2021-02-14 20:55:04 +11:00
David Bomba 575a3b3190 Improve quote document imports 2021-02-14 20:25:19 +11:00
David Bomba 7981093d97 Working on migration email notifications 2021-02-10 17:08:16 +11:00
David Bomba 3956184560 Working on multi-db 2021-02-10 14:18:23 +11:00
David Bomba 313488dc60 Working on handling check data within migrations" 2021-02-10 12:59:30 +11:00
David Bomba 81217cc7f2 skip files that cannot be matched 2021-02-10 01:15:26 +11:00
David Bomba 6681b4fbfe Fixes for import / migrartions 2021-02-07 23:35:16 +11:00
David Bomba 4c721e5027 fixes for credits 2021-02-05 07:47:16 +11:00
David Bomba e06403edba Fixes for tests 2021-02-04 21:45:11 +11:00
David Bomba b546d54c2e Fix for migrations 2021-02-04 11:07:21 +11:00
David Bomba a5372b1cf3 Fixes for migrating V4 data - pushing credits off leger 2021-02-04 07:52:37 +11:00
David Bomba 2e2843c27d Fixes for migrations 2021-02-03 23:29:44 +11:00
David Bomba d48756ea79 Improvements to migration email 2021-01-31 16:07:45 +11:00
David Bomba e0758e587f Add logging for migrations 2021-01-28 13:53:40 +11:00
David Bomba 24dfbe48dc working on paid_to_date fields and calculations 2021-01-24 17:44:14 +11:00
= e39759c35b Place additional checks in the scheduler to ensure the config is optimized appropriately 2021-01-23 16:09:58 +11:00
= ad40434686 Additional checks that the scheduler has been configured and is working 2021-01-23 15:52:54 +11:00
David Bomba 612df00a2f Fixes for migration 2021-01-20 09:35:52 +11:00
David Bomba d4bfca46bc Fixes for reminder job 2021-01-18 21:59:24 +11:00
David Bomba ebd9a2c328 Try / catch for webhooks 2021-01-17 15:37:55 +11:00
David Bomba c4bfb33dbf Add destroy() methods in all controllers 2021-01-17 15:28:03 +11:00
David Bomba f5c37ac2f4 fix for json documents presenting itself as file uploads 2021-01-14 07:53:42 +11:00
David Bomba 20b13d131b Return expense response when using delete route 2021-01-14 07:33:45 +11:00
David Bomba 7f03a1900e Refactor notifications to be more specific, ie. Invoice -> Reminder 1 template 2021-01-13 18:20:46 +11:00
David Bomba 43626c92a2 Tests for PDF mime 2021-01-13 10:12:01 +11:00
David Bomba ffec88979e document migration 2021-01-10 21:17:18 +11:00
David Bomba e8dd0622e0 Documents for migration 2021-01-09 22:10:04 +11:00
David Bomba c132e9ace8 Fixes for tasks, and migrations 2021-01-06 10:36:20 +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
= 876eedd3f4 Clean up logging 2020-12-30 10:38:07 +11:00
= ccc4133094 Fixes for recurring 2020-12-30 09:24:33 +11:00
= 389c80ca13 Fixes for import 2020-12-30 08:58:48 +11:00
= 7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
= 48520746a2 Fixes for migration 2020-12-30 07:37:48 +11:00
= e14bef7eee Migrate invitations from V4 2020-12-29 10:44:24 +11:00
= b8fae9249b fixes for migration 2020-12-28 17:04:24 +11:00
= 383d3ab8c1 Fixes for import / texts 2020-12-23 08:38:13 +11:00
Benjamin Beganović 20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
David Bomba 864892a7d2 Migrate white label license 2020-12-15 08:52:14 +11:00
David Bomba 0f86b3ec21 Fixes 2020-12-13 21:33:30 +11:00
David Bomba 584bef52fc Working on import 2020-12-12 21:01:53 +11:00
David Bomba bc621aa01a fixes for directories 2020-12-04 08:24:34 +11:00
David Bomba 41e39fa9c4 Fixes for directory creation error 2020-12-04 08:22:31 +11:00
David Bomba aa852930e6 refactor from email names to use config() values 2020-12-02 14:08:35 +11:00
David Bomba a8958f4b09 Minor fixes for batch migrations 2020-11-30 18:43:33 +11:00
David Bomba 1210a81a09 Minor changes to migration 2020-11-30 09:58:31 +11:00
David Bomba f2f8837269 Merge branch 'v5-stable' of https://github.com/turbo124/invoiceninja into v5-stable 2020-11-30 08:32:27 +11:00
David Bomba d7dd592d18 Fixes for migration file location 2020-11-30 08:28:12 +11:00
David Bomba 9aee129737 Fixes for import 2020-11-28 17:22:43 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 79e8f096fe Fix for custom_values breaking invoicesum 2020-11-25 20:53:50 +11:00
David Bomba c2b07c3ebc Fixes for migration data checks 2020-11-25 13:59:23 +11:00
David Bomba 2f4b46e435 Refactor webhook handler 2020-11-25 11:23:39 +11:00
David Bomba 63cc567244 Working on migrations 2020-11-24 21:12:05 +11:00
David Bomba 0c9f982bdf Fixes for imports 2020-11-24 16:11:20 +11:00
David Bomba 6f1b4d4548 Change JSON parser 2020-11-24 08:33:37 +11:00
David Bomba 8cbaac53c6 Fixes for projects in migration 2020-11-24 08:00:59 +11:00
David Bomba b5fe5070b5 Working on migrations 2020-11-23 23:55:04 +11:00
David Bomba 0991dbf8d7 Fixes for migrations 2020-11-23 14:51:49 +11:00
David Bomba 388c0e8467 Add withTrashed() for queries in migration 2020-11-23 08:25:29 +11:00
David Bomba 9f420ba084
Merge pull request #4346 from turbo124/v5-develop
Change default queue to Database.
2020-11-22 22:22:52 +11:00
David Bomba e55de0fb1b Change default queue to database 2020-11-22 22:14:49 +11:00
Benjamin Beganović c434d6313c start database migration with correct key 2020-11-20 10:34:54 +01:00
David Bomba e82d8e0d8d Fail gracefully if cannot upload logo 2020-11-19 22:33:14 +11:00
David Bomba 7fb9877eca Fixes for currency seeder 2020-11-18 21:46:36 +11:00
David Bomba e91c82aa8b Fixes for bulk import 2020-11-18 20:35:09 +11:00
David Bomba 3f9bea3f91 Minor fixes for tests 2020-11-17 20:53:32 +11:00
David Bomba a182c5a8ca minor fixes for imports 2020-11-17 10:04:10 +11:00
David Bomba 5a6d543e34 Minor fixes for imports 2020-11-17 08:56:52 +11:00
David Bomba 77929a6bc3 Minor fixes for bulk import 2020-11-16 15:40:52 +11:00
Benjamin Beganović 952b6a7e4f Fix the way we process migration 2020-11-12 10:24:59 +01:00
David Bomba 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba 7977b2a1e7 Remove stale classes 2020-11-10 08:04:57 +11:00
= cd0bbbe096 Remove redundant classes 2020-11-08 21:53:47 +11:00
= 3a7a35c845 Fixes for import 2020-11-07 21:13:04 +11:00
= 2cf97caaaf Fixes for import 2020-11-07 20:08:21 +11:00
David Bomba 09fbc9762a Fixes for custom emails. 2020-11-05 21:14:30 +11:00
David Bomba 37aaa1fc5b Fixes for importing company logo 2020-11-04 11:32:18 +11:00
David Bomba f911d17a6b Fix for migration 2020-11-01 20:41:49 +11:00
= e4b326c423 Removing is_migrating 2020-11-01 14:21:39 +11:00
= dfb55dbd8b remove is_migrating 2020-11-01 14:19:03 +11:00
David Bomba 6a54bb8c45 Fixes for migrations Vendor Contacts 2020-10-31 16:35:05 +11:00
David Bomba afcbb870bf Fixes for migration 2020-10-31 11:46:00 +11:00
David Bomba a18b1b431e working on migration for vendors, expenses, tasks 2020-10-31 08:13:02 +11:00
David Bomba f5c03fee6e Process Expenses 2020-10-30 23:22:32 +11:00
David Bomba 98d81d09fa Fixes for task status types" 2020-10-30 23:16:19 +11:00
David Bomba c289a8252a Migration of expenses and tasks 2020-10-30 23:01:30 +11:00
David Bomba a283f1dcf7 Working on migration for expenses and tasks 2020-10-30 20:17:29 +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 946b1d6396
Merge pull request #4219 from Striffly/fix/company-logo
Fix logo upload, keep png alpha
2020-10-28 10:43:27 +11:00
Clément Gayot 0df7e59d89 🐛 Fix logo upload, keep png alpha 2020-10-28 00:22:24 +01:00
David Bomba 0a02323792 Quote email engine 2020-10-28 10:02:32 +11:00
David Bomba 0df672baaa remove white space and carriage returns from version 2020-10-27 07:46:06 +11:00
David Bomba 6f1f0ecebe Adjust the way we import credits from V4 to V5 - refactor check data script to reflect changes 2020-10-18 20:25:32 +11:00
David Bomba 708db5a991 Improve eager loading - first load 2020-10-18 18:46:10 +11:00
David Bomba b8b3149582 Working on recurring & analytics 2020-10-07 14:00:32 +11:00
David Bomba 484b28d3ce Fixes for recurring migratoin 2020-10-06 11:52:16 +11:00
David Bomba 1264486bb9 Working on recurring migration 2020-10-06 08:46:47 +11:00
David Bomba 45b6c1bcc2 Recurring migration 2020-10-05 22:32:56 +11:00
David Bomba 1390e739e3 recurring 2020-10-02 16:33:55 +10:00
David Bomba 2c4cfa409a Recurring invoice migrations 2020-10-02 08:19:42 +10:00
David Bomba 16b731d010 Bump laravel to version 8 2020-10-01 15:33:38 +10:00
David Bomba 4b00d3a82a Improve eager loading 2020-09-19 20:05:29 +10:00
Benjamin Beganović 207c9388b5 Fix migration issues 2020-09-10 13:01:10 +02:00
David Bomba f8f8da830e Working on recurring invoices + reminders 2020-09-08 21:01:55 +10:00
David Bomba f5eecf0eb6 Working on recurring 2020-09-08 20:34:14 +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 36c54d8cc3 Working on fees 2020-08-28 11:06:46 +10:00
David Bomba 044c35266e Fixes for zapier 2020-08-24 21:53:22 +10:00
David Bomba e6de7c9661 Logging for webhook handler 2020-08-24 21:16:35 +10:00
Benjamin Beganović 0a493c275e Enable is_public for document uploads 2020-08-18 16:12:46 +02:00
David Bomba 5daeab3895 allow total columns to be customized in PDF 2020-08-14 13:59:14 +10:00
David Bomba e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba c245125be4 Force remove stale contacts 2020-08-05 10:12:47 +10:00
David Bomba e00500efd8 Minor enhancement for import process 2020-07-19 17:17:19 +10:00
David Bomba 439424b933 Fix for activity repo 2020-07-17 19:47:17 +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 f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba d236dd6ff6 Fixes for observers 2020-07-06 21:42:42 +10:00
David Bomba 4c321d41c3 Change subscriptions to webhooks 2020-07-06 21:22:36 +10:00
David Bomba 95a2eab410 checking latest version logging 2020-07-06 08:28:19 +10:00
David Bomba 8856e3fada Fixes for pdf preview 2020-07-05 20:58:30 +10:00
David Bomba 302c98e08b Fixes for demo data 2020-07-01 21:33:42 +10:00
David Bomba fd7f627ffe Fixes for migrations - client balances! 2020-07-01 16:03:46 +10:00
David Bomba 5855f3ea1f Refactor for migrations 2020-07-01 15:51:19 +10:00
David Bomba e216def2ff Use separate repo's for migrations 2020-07-01 14:37:05 +10:00
David Bomba fb787c2c53 Fix for null client balance on import 2020-06-30 10:09:18 +10:00
David Bomba 245980ce4b Send company with all events 2020-06-30 09:35:17 +10:00
David Bomba 7af826fa7f Minor fixes for documents 2020-06-22 21:32:10 +10:00
David Bomba 2fadadf5d4 Change document->path to ->url 2020-06-22 15:52:20 +10:00
David Bomba 70c5913f1d fixes for currency type 2020-06-15 16:06:32 +10:00
David Bomba c99c339fab Implement new refund methods 2020-06-01 13:16:06 +10:00
David Bomba c72d38ca4f
Allow conversion of quotes to invoices (#3760) 2020-05-27 14:46:19 +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 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 b3eb2ae3b4
Fix companygatewaytransformer (#3677)
* 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

* Appen Tags into emails - fix companygatewaytransformer
2020-05-06 21:49:42 +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 c503d58505
Adjust email quotas - Hosted plan. (#3663)
* Fixes for invitations not being created in RandomDataSeeder

* Resend failed/quota exceeded emails

* Queue email tests

* Refund a client for a ninja account

* Adjust email quotas - hosted plan
2020-04-30 21:45:47 +10:00
Benjamin Beganović a70f42b31e
Migration improvements (#3662)
* scaffold the cases for migration

* Improve migration errors
2020-04-30 08:01:44 +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ć a785329965
Fix company_token issue & pass unset_user to repository (#3629) 2020-04-15 08:37:27 +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
Benjamin Beganović 6a0ddd6c38
Migrate company_user with users (#3598) 2020-04-08 06:43:44 +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 1fd7ecbbe6
Fixes for migration (#3577) 2020-04-02 08:26:39 +11:00
David Bomba 2bf05ba96d
Fixes for Migration (#3576)
* Fixes for permissions

* Fix casting of line items for migration
2020-04-02 08:18:17 +11:00
Benjamin Beganović f9567e8227
Send e-mail when migration has completed (#3573)
- New completed.blade.php
- Apply php-cs-fixer on Import.php
2020-04-01 23:39:59 +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 91cf1cc1f2
Debugging migrations (#3570)
* Remove \Log::, fixes for tests, and fixes for migration

* Debugging migration
2020-03-31 22:52:21 +11:00
David Bomba 6a7079b0be
Implement Github actions (#3547)
* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Force /setup if system requirements are not met

* Update .env.ci

* Update phpunit.yml

* Minor changes for github actions"

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* cs-fixer

* cs-fixer

* Fixes for github actions

* db ports github actions

* Refactor the template engine
2020-03-26 14:23:57 +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 4c23d43138
Working on Setup workflow (#3509)
* Refactor designs to remove whitespace

* enable dummy data for templating

* Insert faker data into templates

* Fixes for user deletion

* Documentation on User controller:

* Working on app setup

* Files for app setup

* Working on Setup

* Final fixes for setup controller

* Fixes for setup

* Fixes for first install

* Minor fixes
2020-03-18 20:40:15 +11:00
Benjamin Beganović 64eed274e1
Fix broken 'force' migration: (#3489)
* Fix breaking 'force' migration:
- Uploaded migration file now has to be passed with abs path

* Cleanup
2020-03-13 07:38:22 +11:00
David Bomba 93056ea815
Fixes for preview controller (#3486)
* fixes for user model

* Remove stale css

* Working on previewing designs

* Fixes for design previews

* fixes for preview controller

* Fixes for setting company on login

* fixes for preview
2020-03-12 22:04:53 +11:00
David Bomba dc8ecbeeed
Fixes for company_user (#3477)
* Minor fixes for user delete

* Working on notifications

* Refactor for notifications

* Fix for checking settings withe negative integers

* Set payment id to 0

* Move pdf download to client side routes

* fixes for company_user

* Fixes for company_user
2020-03-11 22:05:05 +11:00
Benjamin Beganović 1017a22bca
Import migration from the folder (#3471) 2020-03-11 08:10:27 +11:00
Benjamin Beganović fbf9f39cc6
Remove 'documents' when company is deleted (#3462)
* Remove 'documents' when company is deleted

* Fix Codacy warnings
2020-03-10 07:05:23 +11:00
David Bomba 37f295d49e
Improve notification performance (#3452)
* Improve notification performance

* Cascade deletes

* Fixes for company deletes

* Fixes for formatting

* todos for company

* Set currency id on payment

* Minor fixes for payment controller
2020-03-08 16:59:06 +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 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 280271718b
Migration improvements: (#3428)
- Refactored exceptions
- Changed failed.blade.php
- Removed report() method from exceptions
- Added new force flag for MigrationController.php
2020-03-06 07:30:32 +11:00