Commit Graph

154 Commits

Author SHA1 Message Date
David Bomba 65493c47a5 Change batch() to ->queue() 2021-12-11 20:49:29 +11:00
David Bomba 050ebb8141 Fixes for preview and pdf labelling 2021-11-16 13:30:32 +11:00
David Bomba 2a7bdc8d59 Fixes for User Add rules in hosted 2021-11-07 22:12:54 +11:00
David Bomba d9b7ffe9f1 N+1 for preview controller 2021-10-12 21:24:09 +11:00
David Bomba ebca34503b Fixes for N+1 2021-10-12 20:45:15 +11:00
David Bomba 543288c525 Refactor PDF generation into common .env var 2021-10-11 13:19:38 +11:00
David Bomba e6be94ad22 Improve query efficiency 2021-10-08 16:03:26 +11:00
David Bomba 9c18ab7230 Improve query efficiency 2021-10-08 15:00:17 +11:00
David Bomba e250273787 Fixes for displaying defaults on preview 2021-09-29 21:42:25 +10:00
David Bomba 4684c23667 Force defaults to show in preview 2021-09-21 13:04:23 +10:00
Benjamin Beganović fbe0d3e8bd Update references to `process_markdown` flag 2021-08-09 14:31:31 +02:00
David Bomba e35709145a Fixes for preview 2021-08-06 18:02:32 +10:00
David Bomba 9d3867f818 Fixes for preview 2021-08-06 17:57:24 +10:00
David Bomba cdc7c76c43 Fixes for preview 2021-08-06 17:53:52 +10:00
David Bomba e9633c1be9 Fixes for preview 2021-08-06 17:52:10 +10:00
David Bomba 1195838ded Fixes for preview 2021-08-06 17:48:35 +10:00
David Bomba acbb692150 Reorder DB transaction initialization 2021-08-06 17:35:52 +10:00
David Bomba 019427602c Fixes for preview 2021-08-06 17:30:54 +10:00
David Bomba 6b5c4b5d48 Fixes for preview 2021-08-05 23:00:13 +10:00
David Bomba 4bc422f1aa Fixes for preview 2021-08-05 22:58:57 +10:00
David Bomba 9a55743e3b Fixes for preview 2021-08-05 22:55:40 +10:00
David Bomba 55c7c23475 Fixes for preview 2021-08-05 22:51:51 +10:00
David Bomba 26e22d5365 Fixes for preview 2021-08-05 22:48:10 +10:00
David Bomba a32e1d11b6 Fixes for preview 2021-08-05 22:41:28 +10:00
David Bomba a6aff62286 Fixes for preview 2021-08-05 22:39:09 +10:00
David Bomba f4d7b1a631 Logging for Preview 2021-08-05 21:58:07 +10:00
David Bomba 8c5100dbdc Logging for Preview 2021-08-05 21:50:53 +10:00
David Bomba 435a0ffc23 Fixes for preview 2021-08-05 21:45:54 +10:00
David Bomba ee78101d5a Minor fixes for live preview 2021-08-05 20:03:20 +10:00
David Bomba 56446fdd69 Set DB for live previews 2021-08-05 19:57:44 +10:00
David Bomba d176370e10 Set DB for live previews 2021-08-05 19:55:33 +10:00
David Bomba edf2e04422 Set DB for live previews 2021-08-05 19:52:38 +10:00
David Bomba 3411d7ae8b Set DB for live previews 2021-08-05 19:48:57 +10:00
David Bomba be85175134 Set Recurring to draft if not being sent at time of creation 2021-08-05 09:06:13 +10:00
David Bomba 413719b72c Fixes for correct include for Design 2021-08-02 11:08:03 +10:00
David Bomba 6d8ac6aa35 Minor fixes 2021-07-29 13:37:23 +10:00
David Bomba e490b26dbc Fixes for locking 2021-07-28 16:14:10 +10:00
David Bomba b57c35d5e1 Fixes for locking 2021-07-28 16:12:07 +10:00
David Bomba b87421f769 Fixes for locking 2021-07-28 16:01:30 +10:00
David Bomba 1fa93ebb60 Metrics for live previews 2021-07-28 11:49:13 +10:00
David Bomba b506c293ed Fixes for live preview 2021-07-28 08:54:40 +10:00
David Bomba 8b588a55a5 Fixes for live preview 2021-07-28 08:09:30 +10:00
David Bomba f644a2b460 Fixes for live preview 2021-07-27 22:20:32 +10:00
David Bomba f21a60c159 Fixes for live preview 2021-07-27 18:04:46 +10:00
David Bomba 0df3e4e5e7 Clean up 2021-07-26 09:57:55 +10:00
David Bomba a28aa9f7ec Fixes for client portal enabled and content type 2021-07-26 08:22:29 +10:00
David Bomba 438180daca Reponse type 2021-07-25 22:44:29 +10:00
David Bomba 60452278b5 Minor fixes 2021-07-25 22:42:03 +10:00
David Bomba 4f940e41b0 fixes for defaults when converting quotes to invoices 2021-07-25 18:05:53 +10:00
David Bomba 8a4230c81c Working on live preview 2021-07-25 16:23:10 +10:00
David Bomba 0c9de66a80 Set Transactions on the correct database 2021-06-24 21:52:02 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 829b069063 Fixes for custom translations 2021-05-31 20:40:34 +10:00
David Bomba 87ddad6670 Working on PDF generator flags 2021-05-09 21:30:31 +10:00
= 460e0afb39 Add no-cache headers to prevent aggressive browser caching of assets 2021-04-29 21:07:05 +10:00
David Bomba ac6feb706e Small fix for new PDF generator 2021-03-18 20:57:55 +11:00
David Bomba af19afedb5 Translations 2021-01-25 10:04:50 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
= 7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
= 4129dba08b Test for HTML output for preview controller 2020-12-26 20:26:19 +11:00
David Bomba 95455f732b Minor fix for preview 2020-12-21 20:58:55 +11:00
Benjamin Beganović 20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
David Bomba 8abce54d7e Fixes for customised language options for Preview Controller 2020-12-13 10:20:03 +11:00
David Bomba f6ed7be0da Fixes for expense and project numbers 2020-12-12 07:51:10 +11:00
Benjamin Beganović 0aff363f5d php-cs-fixer 2020-11-27 12:08:42 +01:00
David Bomba 2d80e12457 Phantom adjustment for preview 2020-11-27 13:24:13 +11:00
David Bomba a99f871fb7 Phantom adjustment for preview 2020-11-27 13:23:02 +11:00
David Bomba b593cb0ff3 Fixes for preview PDF using phantom js 2020-11-27 13:02:05 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba f6435ab030 Working on emails 2020-10-27 22:57:12 +11:00
David Bomba 8d508bb1f9 Refactor pdf generation 2020-10-26 15:06:58 +11:00
Clément Gayot 5458bf83b0 🐛 Fix invoice preview with custom designs 2020-10-22 01:19:33 +02:00
Benjamin Beganović 1de6f94f10 fix custom1234 2020-10-20 13:01:07 +02:00
Benjamin Beganović 76695b8462 - Add new "product" key to $context of Design
- Add custom products table body handling in Design.php
2020-10-06 12:49:00 +02:00
Benjamin Beganović c0f3576d55 Fix imports 2020-10-05 10:16:36 +02:00
David Bomba 3fa336946f Fixes for Laravel 8 2020-10-01 21:34:05 +10:00
Benjamin Beganović 6288529907 - Accept every design as CUSTOM in PreviewController
- Logic for excluding elements in table footer
- PdfMaker will now return plain HTML + str_replace filter
- HTMLEngine updated variables and aliases
- Added 'payment_due' translation
- Hipster: Updated variables
2020-09-09 14:47:26 +02:00
Benjamin Beganović 14dc3ea2aa Engine for editing templates 2020-09-08 13:21:07 +02: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
Benjamin Beganović 219666f765 Generating PDFs using new templates 2020-09-04 13:17:30 +02:00
Benjamin Beganović f5cc1f0d22 Preview logic for editing designs 2020-08-28 09:51:02 +02:00
Benjamin Beganović 13e70e24d5 wip 2020-08-21 16:47:17 +02:00
David Bomba d7dbde3789 Implement PhantomJS 2020-08-04 21:00:19 +10:00
David Bomba 374fd90df1 Fixes for Invoice Preview route 2020-08-04 18:37:28 +10:00
David Bomba 7318eb19d8 OPENAPI docs 2020-07-30 13:27:00 +10:00
David Bomba 8ec47921aa Fixes for Invoice PDF Preview 2020-07-05 21:39:59 +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 dbff1ab6ab remove x-api-version and replace with x-minimum-client-version 2020-06-22 07:30:25 +10: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 2ed7c557b0
Fixes (#3549)
* Fixes for designs

* minor fixes
2020-03-26 19:25:44 +11:00
David Bomba 9fb609faca
fixes for preview (#3548) 2020-03-26 14:46:56 +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 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 a151789d9c
Fixes for invoice previews (#3485)
* Remove stale css

* Working on previewing designs

* Fixes for design previews

* fixes for preview controller
2020-03-12 21:50:40 +11:00
David Bomba 6ffea888b0
Fixes for designs (#3463)
* Fixes for designs

* remove logs
2020-03-10 07:07:46 +11:00
David Bomba 0366d470e9
Fixes for design preview (#3461) 2020-03-09 22:12:45 +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 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