Commit Graph

807 Commits

Author SHA1 Message Date
David Bomba 857fa8a57f Force admin only permissions on system logs 2020-09-08 20:49:17 +10:00
David Bomba 3083ab6237 Set unique on Group Settings Name 2020-09-08 20:44:32 +10:00
David Bomba ca34e77530
Merge pull request #4041 from turbo124/v2
Improve update process
2020-09-07 20:05:39 +10:00
David Bomba 18282acbd7 Allow circumvention of client portal passwords using designated hash 2020-09-07 14:49:57 +10:00
Benjamin Beganović 0bf39c739d
Merge branch 'v2' into v2-fix-setup-issues 2020-09-07 00:15:45 +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ć 7a5027f1b4 Enable sandboxing with PDFs & fix setup page issues 2020-09-06 04:23:04 +02:00
Benjamin Beganović 1a66f1835f Merge remote-tracking branch 'upstream/v2' into v2-pdfmaker-design-improvements 2020-09-04 13:20:39 +02:00
Benjamin Beganović 219666f765 Generating PDFs using new templates 2020-09-04 13:17:30 +02:00
David Bomba 2f478158e9 Fixes for company gateways 2020-09-02 11:11:01 +10:00
David Bomba bb4aac1aeb
Merge pull request #4025 from turbo124/v2
Gateway fees implementation
2020-08-31 17:58:43 +10:00
David Bomba 1bd3deca4f Invoice payments with gateway fees 2020-08-31 14:27:47 +10:00
David Bomba eb867522df Working on invoice payments with gateway fees 2020-08-31 12:00:43 +10:00
David Bomba ac08a146a1 Working on gateway fees 2020-08-30 22:00:19 +10:00
David Bomba 1bc71fb5d8 Working on gateway fees 2020-08-30 08:00:57 +10:00
Benjamin Beganović f5cc1f0d22 Preview logic for editing designs 2020-08-28 09:51:02 +02:00
Benjamin Beganović d508d9b8f2
Merge branch 'v2' into v2-pdfmaker-design-improvements 2020-08-28 08:17:46 +02:00
David Bomba 36c54d8cc3 Working on fees 2020-08-28 11:06:46 +10:00
David Bomba 1a7d0d3cbd Working on gateway fees across multiple invoices 2020-08-27 22:12:39 +10:00
David Bomba ff5d8ad871 Fixes for gateway fees 2020-08-26 11:14:15 +10:00
David Bomba d57f0f9236 Refactoring client payments 2020-08-26 10:53:11 +10:00
David Bomba 79e0fa56e2 Convert currency string to float 2020-08-26 10:47:50 +10:00
David Bomba 37c5a7adb5 Test for gateway fees appending to invoice 2020-08-26 08:10:49 +10:00
David Bomba 1c55b529a0 Refactor payments 2020-08-25 23:18:17 +10:00
David Bomba 979916adb5 Refactor payments 2020-08-25 23:06:38 +10:00
Benjamin Beganović 5a03d81112 Fix blank page when downloading invoices 2020-08-25 08:55:55 +02:00
David Bomba 4c3f466d58 Tests for system log routes 2020-08-24 20:28:47 +10:00
David Bomba d7dd544271 System logs 2020-08-24 19:51:19 +10:00
David Bomba 66499a9a31 System Logs 2020-08-24 15:08:49 +10:00
David Bomba ffdfaefd80 Working on system logs 2020-08-24 12:45:53 +10:00
David Bomba 0d9df1f290 Fixes for incorrect name spacing of validation rules 2020-08-24 08:20:57 +10:00
David Bomba 0f501bc936 fixes for quote controller 2020-08-23 11:08:18 +10:00
David Bomba dbe22cf5fa First or fail for company record in short 2020-08-23 07:46:43 +10:00
Benjamin Beganović 13e70e24d5 wip 2020-08-21 16:47:17 +02:00
Benjamin Beganović 0530204b08 Update copyright 2020-08-20 03:17:29 +02:00
Benjamin Beganović f4698c0108 Support multiple downloads 2020-08-20 03:10:04 +02:00
David Bomba c9d94804de
Merge pull request #4002 from turbo124/v2
Tests for gateway fees
2020-08-20 07:40:33 +10:00
Benjamin Beganović 9b524f22e6 Download files with original name 2020-08-19 18:06:26 +02:00
David Bomba 7b2e60a0d5 Add amount column to history table 2020-08-19 12:44:25 +10:00
David Bomba ba3f3e6989
Merge branch 'v2' into v2 2020-08-19 07:59:19 +10:00
Benjamin Beganović 0a493c275e Enable is_public for document uploads 2020-08-18 16:12:46 +02:00
Benjamin Beganović 4eb376e830 Enabe client uploads 2020-08-18 16:01:25 +02:00
Benjamin Beganović acdd9c936c Fix route model binding 2020-08-18 14:38:46 +02:00
Benjamin Beganović d55cfc42cf Separate page for download 2020-08-17 16:18:49 +02:00
Benjamin Beganović 814dfb0346 Merge remote-tracking branch 'upstream/v2' into v2-1408-cp-downloads 2020-08-17 14:01:56 +02:00
David Bomba d6e169a891 Working on tests for fees and limits 2020-08-17 13:03:21 +10:00
David Bomba 713d967e8e fixes for payment drivers 2020-08-17 08:58:52 +10:00
Benjamin Beganović 4eb5490984 Enable downloads for the client 2020-08-14 17:29:26 +02:00
David Bomba dffb9be189 Fixes for purge company and preserve settings 2020-08-14 10:40:59 +10:00
David Bomba 3ac9cc5158 Add reminder fields to entities 2020-08-14 08:08:10 +10:00
David Bomba fd38a964e7 Fixes for company purging 2020-08-14 07:15:15 +10:00
David Bomba 181c343594 Minor fixes for authorize.net 2020-08-13 12:30:45 +10:00
David Bomba d11cc1784d Fixes for tests 2020-08-13 11:55:58 +10:00
David Bomba e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba de24d00315 Error handling for emails 2020-08-12 12:16:44 +10:00
David Bomba 941e790a95 More activities 2020-08-12 12:02:21 +10:00
David Bomba bcd69dadc8 Change invoice -> entity 2020-08-12 10:41:26 +10:00
David Bomba ee0aa891bb Fixes for activity backups"
git push
2020-08-12 10:13:34 +10:00
David Bomba 928a9d46af Download historical invoice 2020-08-12 10:01:27 +10:00
David Bomba cb508e1daa Add client gateways to first-load array 2020-08-12 09:04:39 +10:00
David Bomba 3514491300 Changing error structure, regression fixes for shop/client route 2020-08-12 08:59:28 +10:00
David Bomba 7feae1fd45 Add is_deleted to client_gateway_tokens table 2020-08-12 08:17:32 +10:00
David Bomba 71449392de Fix for regression 2020-08-11 20:57:45 +10:00
David Bomba c195f5b8a5 Add middleware to destroy document 2020-08-11 13:21:43 +10:00
= 731001baf5 Refactor refresh route resolution of company_user 2020-08-08 10:32:47 +10:00
= 1be45a4e38 Wind back changes to login route 2020-08-08 09:58:10 +10:00
= 6751654216 Refactor login route 2020-08-08 09:50:32 +10:00
David Bomba 2fdf351be3 Customize bulk templates 2020-08-05 22:18:29 +10:00
David Bomba 13cf06b0cd Test for new shop routes" 2020-08-05 12:21:26 +10:00
David Bomba e183238b8e Add Shop Profile Route 2020-08-05 12:12:38 +10:00
David Bomba b89ee61bba return appropriate response from within catch 2020-08-04 23:53:33 +10:00
David Bomba a094c23937 Add PhantomJS tests on setup screen 2020-08-04 23:30:27 +10: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 f544f7ac23 fix for archiving tax rates 2020-08-04 18:17:12 +10:00
David Bomba 81a34f3446 Fixes for email templates not displaying css correctly 2020-08-02 19:59:32 +10:00
David Bomba b780be3995 Ensure group settings can be archived + tests! 2020-08-02 16:31:55 +10:00
David Bomba 7318eb19d8 OPENAPI docs 2020-07-30 13:27:00 +10:00
David Bomba 1db8b53128 OPENApi documentation 2020-07-30 12:50:45 +10:00
David Bomba a6967892ea system health route 2020-07-30 10:30:49 +10:00
David Bomba 68e2e2c8f4 Merge branch 'v2' of https://github.com/turbo124/invoiceninja into v2 2020-07-30 07:48:33 +10:00
David Bomba 2739e643fe Fixes for invoicewasvieweD 2020-07-28 23:47:41 +10:00
David Bomba 8f59515950 Fixes for shop post routes 2020-07-28 23:41:56 +10:00
David Bomba fd97aff3f1 Fixes for routes"
git push
2020-07-28 23:24:01 +10:00
David Bomba 52065fb963 check shop is enabled 2020-07-28 22:12:33 +10:00
David Bomba 2b9610ea02 clean up for basecontroller 2020-07-28 22:06:47 +10:00
David Bomba de78ea1506 Shop 2020-07-28 22:05:17 +10:00
David Bomba caad3661d5 Refactor to user company_key instead of company_token 2020-07-28 21:58:15 +10:00
David Bomba a8a0c7695c Shop routes 2020-07-28 21:30:11 +10:00
David Bomba d5b777206e Shop routes 2020-07-28 21:19:51 +10:00
David Bomba f28a604d84 Fixes for invoicewasviewed 2020-07-28 19:49:09 +10:00
David Bomba 9ed31be17e remove legacy setting option 2020-07-28 14:29:56 +10:00
David Bomba 04ed1d4fe3 formatting 2020-07-26 20:21:55 +10:00
David Bomba 0a93e6ea5c Fixes for refresh route 2020-07-26 18:30: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 643f709248 Fixes for refresh route 2020-07-24 19:39:43 +10:00
David Bomba 40b8ecf7c5 Fixes for refresh route 2020-07-24 19:05:52 +10:00
David Bomba c6e4889d6d fix for gateway refresh route 2020-07-23 21:39:03 +10:00