Commit Graph

621 Commits

Author SHA1 Message Date
David Bomba ef359501ba Export Controller 2021-05-13 16:16:39 +10:00
Benjamin Beganović 5a84fb6990 Tasks module in the client portal 2021-05-12 16:39:29 +02:00
Benjamin Beganović d28bc96b99 Block viewing deleted credit in the client portal 2021-05-10 14:46:22 +02:00
David Bomba 16c5665cc6 Recurring Invoice history / activities 2021-05-10 20:20:52 +10:00
David Bomba f3a56c8174 Add activities to entities 2021-05-07 07:41:37 +10:00
David Bomba ab3e635447 Fixes for user updating their own record 2021-05-05 15:33:52 +10:00
= a76d584ae4 Clean up company request 2021-05-02 20:15:11 +10:00
= 01cb9a091e Fixes for namespaces 2021-05-02 19:14:42 +10:00
David Bomba 4c2df3e1ff Fixes for company sub domain 2021-04-28 14:19:32 +10:00
David Bomba ee94ed6ac9 Fixes for company validation rules 2021-04-28 13:21:27 +10:00
David Bomba f501a42e35 Fixes for domain validation 2021-04-28 13:12:51 +10:00
David Bomba 73bcaae3f6 Allow invoice balances to change - but do no allow them to go negative 2021-04-28 11:18:27 +10:00
David Bomba 90d786211c Fixes for Stripe Connect 2021-04-22 23:40:36 +10:00
David Bomba d6bd19e6c0 Fixes for stripe connect 2021-04-22 22:56:00 +10:00
David Bomba f62518f63b Stripe Connect 2021-04-22 20:38:22 +10:00
Benjamin Beganović bdc564092e wip 2021-04-21 16:36:08 +02:00
Benjamin Beganović e58d5291e7
Merge branch 'stripe-connect' into v5-2004-stripe-connect 2021-04-20 23:42:34 +02:00
Benjamin Beganović eef9065f08 wip 2021-04-20 16:08:33 +02:00
David Bomba e6c083cf29 Stripe Connect 2021-04-20 21:30:52 +10:00
David Bomba 68ddc6e7b1 Tests for ClientGatewayToken routes 2021-04-20 16:03:14 +10:00
David Bomba 03b19e27f7 Add client gateway tokens 2021-04-20 14:26:16 +10:00
David Bomba 797d0597aa SortRequest 2021-04-17 08:32:34 +10:00
David Bomba 5df313b9fd SortRequest 2021-04-17 08:31:24 +10:00
David Bomba 218aa6de73 Checks for partial/deposit greater than amount/balance 2021-04-15 08:09:36 +10:00
David Bomba c2990a21d0 Fixes for tests 2021-04-14 16:48:32 +10:00
David Bomba 986e7fee86 Add validation rules for recurring productS 2021-04-14 12:51:22 +10:00
David Bomba bde5166827 Subscriptions 2021-04-12 21:56:08 +10:00
David Bomba 8e327d3a75 v5.1.41 2021-04-08 21:08:29 +10:00
David Bomba 47113da4fa Fixes for invoice properties 2021-04-08 20:50:53 +10:00
Benjamin Beganović 969d9f03dc wip 2021-04-07 18:08:26 +02:00
David Bomba 9cb8e865fc Fixes for assigned_user_id and group_id not sticking to subscriptions 2021-04-06 08:21:55 +10:00
David Bomba b1e6325ef8 Fixes for tests 2021-04-06 08:19:27 +10:00
David Bomba c3eb46d0b7 fixes for subscriptions 2021-04-02 09:09:01 +11:00
David Bomba a2e0fd0849 Unique subscription nameS 2021-04-01 20:56:50 +11:00
David Bomba 1e83b729d5 Minor fixes for subscriptions 2021-04-01 20:33:50 +11:00
David Bomba ffdd81ab6b
Merge pull request #5296 from turbo124/v5-develop
Fixes for subscriptions
2021-03-31 10:08:29 +11:00
David Bomba f1131c07fe Fixes 2021-03-31 10:03:18 +11:00
David Bomba 8e2c07b0df Fixes 2021-03-31 09:58:50 +11:00
Benjamin Beganović d5109af225 wip 2021-03-30 14:07:31 +02:00
David Bomba f5c6847a36 Minor fixes for subscription types 2021-03-30 20:41:58 +11:00
David Bomba 878f00b375 add additional query filter for recurring invoices 2021-03-30 09:30:41 +11:00
David Bomba f1ece9ab6b Subscriptions 2021-03-29 21:43:42 +11:00
David Bomba de99ed2ba4 Fixes for quote numbering 2021-03-29 21:00:22 +11:00
David Bomba 2e139a633b Validation rules for subscriptions 2021-03-28 08:45:46 +11:00
David Bomba f067290462 Update rules for updating an entity 2021-03-27 06:43:52 +11:00
David Bomba fd24449f95 Fixes for deleting / restoring / removing users 2021-03-26 19:07:43 +11:00
David Bomba abd3a89bc9
Subscriptions (#5248)
* Fixes for converting quote to invoice

* Fixes for naming PDFs

* Refresh entity prior to sending

* Fixes for subscriptions

* Add in required use

* Fixes for notifications

* Fixes for notifications

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11:00
David Bomba f80179814d fix conflicts 2021-03-22 07:22:20 +11:00
David Bomba 1b5d6d44f2 Set default time out 2021-03-22 07:21:51 +11:00
David Bomba 9e0328757a Tests for number validation across entities 2021-03-20 10:06:44 +11:00
David Bomba 451e4e1bbe Ensure better unique rules 2021-03-20 09:51:52 +11:00
David Bomba b841fe7000 Working on unique rules for numbers 2021-03-20 09:29:20 +11:00
David Bomba 1e72f20c3d Fix for invite resend permission 2021-03-16 07:35:19 +11:00
Joshua Dwire 941132133c Fix request validation for preconfigured installs 2021-03-12 18:46:56 -05:00
Joshua Dwire a844afd128 Support pre-configured installs where setup doesn't allow changing DB info 2021-03-11 19:48:41 -05:00
David Bomba 76a27f3946 Fix for null design column 2021-03-10 20:41:18 +11:00
David Bomba ed8c880750 add reconfirm route 2021-03-10 20:15:24 +11:00
David Bomba 00eefcd781 Client Subscription scaffolding 2021-03-10 11:08:58 +11:00
David Bomba b91fcf1b34
Merge branch 'v5-develop' into billing_subscriptions 2021-03-10 09:27:28 +11:00
Benjamin Beganović 83b23956f6 Update authorize methods on billing subscription requests 2021-03-09 14:29:57 +01:00
David Bomba b21714c00c Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop 2021-03-09 05:57:34 +11:00
David Bomba 38e5a14172 Bug fix for reconfirm useR 2021-03-09 05:47:49 +11:00
Benjamin Beganović 2660b8fa58 Billing subscriptions: Requests for crud endpoints 2021-03-08 15:19:45 +01:00
David Bomba d83073ad91 Validation rule for recurring frequency 2021-03-08 12:31:00 +11:00
David Bomba 7a50032b35 Logging 2021-03-07 08:50:14 +11:00
= aa290172ae One Time Token Requests 2021-03-02 19:03:01 +11:00
= 18fa537791 Add one time token functionality 2021-03-02 18:52:25 +11:00
David Bomba edc25c1342 Associate a user with multiple companies 2021-03-02 09:08:57 +11:00
David Bomba bf326e6d26 Working on adding user to another company 2021-03-01 23:06:24 +11:00
David Bomba cc883f0926 Fixes for archived invoice not emailing 2021-02-26 22:20:17 +11:00
= 087129788b Working on 2FA 2021-02-20 11:45:20 +11:00
Benjamin Beganović 6872057207
Merge pull request #4912 from beganovich/v5-1502-client-portal-documents
(v5) Client portal: "Documents" improvements & bug fixes
2021-02-17 11:26:08 +01:00
Joshua Dwire 10462cdeb4 Merge remote-tracking branch 'origin/v5-develop' into v5-develop
# Conflicts:
#	resources/views/email/import/completed.blade.php
2021-02-16 18:20:27 -05:00
Joshua Dwire ff27f351c7 Bug fixes; add support for other platform imports 2021-02-16 18:15:42 -05:00
David Bomba 6edaf5d557 Entity upload routes + reorder api.php routes file 2021-02-16 08:14:30 +11:00
David Bomba e546764e29 Upload documents route 2021-02-16 07:58:19 +11:00
Benjamin Beganović aacc3b6602 wip 2021-02-15 15:52:13 +01:00
David Bomba 292c7b8068 Invoice upload document route 2021-02-15 22:34:05 +11:00
David Bomba dedc7c2cb3 Expense document uploads 2021-02-15 22:07:47 +11:00
David Bomba afb2306598 Credit upload route 2021-02-15 22:00:02 +11:00
David Bomba 7bf6d7c48a Document route for clients / company 2021-02-15 21:52:50 +11:00
Joshua Dwire ac99b0039d Import functionality updates 2021-02-12 19:20:15 -05:00
David Bomba f950f84b61 Fix for 500 on updating quote by removing contacts 2021-01-25 21:54:36 +11:00
David Bomba 269f83f317 Translations 2021-01-25 11:57:49 +11:00
David Bomba 3d468e5f40 Company Gateway cleanup 2021-01-22 07:45:00 +11:00
David Bomba cbd6f212b5 deprecate old getPaymentMethods() 2021-01-18 13:59:06 +11:00
David Bomba 95e5b89641 fixes for validation of line_items 2021-01-14 08:16:07 +11:00
David Bomba 4ad3e7fc8a Fix for group_settings_id being dropped in certain edge cases 2021-01-14 08:01:27 +11:00
David Bomba 976f610158 fixes for validation 2021-01-13 23:20:15 +11:00
David Bomba 4ff0108c5c fixes for validation 2021-01-13 22:52:30 +11:00
David Bomba e3efa5790f Email validation 2021-01-13 22:47:36 +11:00
David Bomba 7d69f5eba3 Changes to schema for expenses, drop redundant columns from company table 2021-01-12 08:57:48 +11:00
David Bomba 13420a93b9 Fixes for validation 2021-01-08 21:19:26 +11:00
David Bomba b5606c1524 Fixes for task statuses and tests 2021-01-08 09:25:00 +11:00
David Bomba 2e499adea6 Fix for task status null color value 2021-01-08 09:03:29 +11:00
David Bomba 65afd70b38 Always ensure the client has a currency set 2021-01-06 19:50:13 +11:00
Benjamin Beganović 603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
Benjamin Beganović 14efcc77e6 Support for database port on the setup 2021-01-04 13:36:47 +01:00
David Bomba 15b2ee6642 Add additional mimes 2021-01-04 21:49:28 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba 8653cc6114 Fixes for unique taxrate constraint on update 2021-01-04 08:22:42 +11:00
= 6c098160df Allow a user to change only their own password 2021-01-01 20:11:21 +11:00
= 7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
Benjamin Beganović 6009d49330
Merge pull request #4546 from beganovich/v5-amount-with-fee
(v5) Change amount_with_fee source location
2020-12-22 09:26:24 +01:00
Benjamin Beganović 940c5c77f3 find and setup db by company key in webhook request 2020-12-21 12:19:48 +01:00
Benjamin Beganović 5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
Benjamin Beganović 6f32fd6c4b
Merge pull request #4527 from beganovich/v5-stripe-webhook-support
(v5) Stripe support for webhooks
2020-12-21 08:14:00 +01:00
David Bomba c1edc905db Importing invoices 2020-12-20 20:02:10 +11:00
David Bomba ccde0eaced Working on importing CSV Invoices 2020-12-20 18:02:58 +11:00
David Bomba 4df646f93b Fixes for tests 2020-12-20 12:21:40 +11:00
Benjamin Beganović 92d2a514ca Supprot Stripe for webhooks 2020-12-19 13:11:42 +01:00
David Bomba 6b02d51080 Invoice Import 2020-12-19 18:28:58 +11:00
David Bomba df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
David Bomba 3ad3d0a418 Fix for editting invoice where number in pending state 2020-12-18 07:14:46 +11:00
Benjamin Beganović 942652b668 Update webhooks to support Checkout.com & apply php-cs-fixer 2020-12-17 12:27:15 +01:00
Benjamin Beganović d3033c902d wip 2020-12-16 15:25:42 +01:00
Benjamin Beganović 9662d9af92 Update webhooks for Checkout:
- Update api.php -> gateway_key => company_gateway_id
- Pass correct reference to url in CreditCard.php
- Update PaymentWebhookController.php to support new company_gateway_id
- Update PaymentWebhookRequest.php to resolve company gateway from correct input
2020-12-16 13:47:10 +01:00
Benjamin Beganović 20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
David Bomba 8df553c4cc Working on CSV imports 2020-12-16 11:01:15 +11:00
David Bomba 57ee54032f Import CSV 2020-12-15 09:59:41 +11:00
David Bomba 141f45f402 Minor fixes for currency in expenses 2020-12-14 22:18:54 +11:00
David Bomba 8b808c97fa Fixes for expense currency not setting default 2020-12-14 07:58:18 +11:00
David Bomba 2a1a9e2a16 Working on import 2020-12-12 21:47:52 +11:00
David Bomba 584bef52fc Working on import 2020-12-12 21:01:53 +11:00
David Bomba f6ed7be0da Fixes for expense and project numbers 2020-12-12 07:51:10 +11:00
David Bomba 3fc8374cb5 Fixes for attempting to create a user with duplicate email 2020-12-10 21:28:19 +11:00
David Bomba 8c46e140af Also factor in optin and optout for auto_enabled 2020-12-10 19:51:00 +11:00
David Bomba 894481989c Also factor in optin and optout for auto_enabled 2020-12-10 19:47:17 +11:00
Benjamin Beganović 68a84df0dd prefix all smtp fields with mail_ 2020-12-08 14:29:15 +01:00
Benjamin Beganović 3ffb600117 prefix all db field with db_ 2020-12-08 14:21:00 +01:00
Benjamin Beganović a92d38ae06 php-cs-fixer 2020-12-07 14:56:23 +01:00
Benjamin Beganović c548bc2e0d refactor paymentwebhook suite with new methods 2020-12-07 14:49:30 +01:00
David Bomba bc0a925f39 Fixes for include 2020-12-02 19:59:45 +11:00
David Bomba 9623dba2c8 fix for showinvoicerequest 2020-12-01 21:22:48 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
Benjamin Beganović 3b765d32c1 log as an option for mail driver 2020-11-24 11:12:44 +01:00
David Bomba a1119f9bbe Fix edge cases with cloning invoice 2020-11-15 19:24:57 +11:00
David Bomba 42c1f8fe5f Minor fixes 2020-11-12 07:42:20 +11:00
David Bomba 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba 9174b7e628 Fixes for emails and reminders 2020-11-09 21:17:20 +11:00
David Bomba 30bfd0b808 Validation rules for credits and payments 2020-11-02 12:11:49 +11:00
Benjamin Beganović 7f3c4ada5a Merge remote-tracking branch 'upstream/v5-develop' into v2-frontend-refactor 2020-11-01 19:26:43 +01:00
Benjamin Beganović 7e30093429 Checkout.com payments with token:
- Convert "true" from frontend to boolean in PaymentResponseRequest
- Reference correct 'transaction_reference' in BaseDriver & Checkout\Utilities
- Frontend switching between token & credit card when making payments with Checkout.com
- New 'pay_with' translation string
- Added 'save-card--container' to save card partial
- Ensure we show whole transaction reference string in payments/show.blade
2020-11-01 15:56:17 +01:00
Benjamin Beganović d15701b4b3 Checkout.com with credit card 2020-11-01 15:08:47 +01:00
David Bomba ae44b9c032 Version bump + linking tasks expenses with invoices 2020-11-01 18:53:43 +11:00
= 6479b2fd3e Fix for laravel 8 route file regression + psalm cleanup 2020-11-01 16:09:09 +11:00
David Bomba e455ec47e6 Fixes for unique task number " 2020-10-30 22:47:12 +11:00
David Bomba ba6c45c08a fix task status id on update 2020-10-30 08:00:35 +11:00
David Bomba 86d472fa05 Project numbers 2020-10-29 22:01:37 +11:00
David Bomba 86ee5f477b Fixes for expense numbers 2020-10-29 21:48:56 +11:00
David Bomba 8cf55010c6 Fixes for tasks 2020-10-29 20:56:37 +11:00
David Bomba c1c8b6c14e Change start_time datatype 2020-10-29 20:40:13 +11:00
David Bomba 85eb1a990a Fixes for non sticking fields in project 2020-10-29 11:09:51 +11:00
David Bomba 59291b799c Fixes for tasks status column 2020-10-29 09:48:05 +11:00
David Bomba 0a02323792 Quote email engine 2020-10-28 10:02:32 +11:00
David Bomba 1b2922b57c credit payment type 2020-10-26 11:58:08 +11:00
David Bomba 73b3c11d80 Fixes for update expenses 2020-10-23 08:00:49 +11:00
David Bomba 6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +11:00
= aa0735bb3d Working on credit payments 2020-10-21 10:47:12 +11:00
David Bomba fd19e9dc2c Working on credit payments 2020-10-20 16:14:11 +11:00
David Bomba bc2b0f4aae Fix for recurring number collisions - use dispatchNow() 2020-10-20 11:53:54 +11:00
David Bomba 686f12261d Project number 2020-10-20 10:55:14 +11:00
David Bomba f0e4a94bee Task Statuses 2020-10-20 10:01:59 +11:00
David Bomba 8b49c83a67 Fixes for required expense fields 2020-10-20 08:31:19 +11:00
David Bomba 0717744c5a Valid projects with clients validation 2020-10-16 20:12:37 +11:00
David Bomba c7d7e71e78 Validation for project clients 2020-10-16 16:17:36 +11:00
David Bomba 62fe99c2d5 Project name should be required 2020-10-16 08:19:55 +11:00
David Bomba 79e625d8f2 Fixes for recurring number rules and assigned_user_id stickiness for Vendors 2020-10-16 08:17:31 +11:00
David Bomba 3dca6ff171 Add projects to all entities - fixes for gateway casts 2020-10-15 07:58:20 +11:00
David Bomba 0ec89c18ac Fixes for autobill 2020-10-14 21:45:26 +11:00
David Bomba f58ba0b502 Fixes for name validation for expense categories 2020-10-13 19:05:12 +11:00
David Bomba 05caec8aef expense categories 2020-10-13 15:08:56 +11:00
David Bomba b7292a0432 Update email validation 2020-10-13 08:27:42 +11:00
David Bomba 71535c0e41 Add tasks to API 2020-10-13 07:42:02 +11:00
David Bomba dd4d14d128 Implement Projects API 2020-10-08 09:25:39 +11:00
David Bomba c41fb6e00f Auto bill flag enable/disable auto_bill_enabled 2020-10-07 17:33:16 +11:00
David Bomba ff00ed3815 Fixes for Recurring 2020-10-07 11:20:28 +11:00
David Bomba 3aa5e2e4eb Minor release 2020-10-06 21:06:14 +11:00
David Bomba fccc98caa7 Fixes for model factories -> invoice designs 2020-10-04 20:34:08 +11:00
David Bomba 8756a89885 Allow login using contact_key or client_hash 2020-09-30 08:42:55 +10:00
Benjamin Beganović 4e9bc0552d Rename "Downloads" to "Documents":
- Remove Livewire auto-publish from composer.json
- Replace old DocumentController with DownloadsController
- Rename DownloadsTable & downloads-table to DocumentsTable & documents-table
- New ShowDocumentRequest for displaying documents
- Change authorize() with DownloadMultipleDocumentsRequest
- Change route in PortalComposer
- Update Livewire assets
- Remove old documents routes
2020-09-28 12:04:34 +02:00
David Bomba fd67a48c91 Bug fixes 2020-09-27 20:39:13 +10:00
David Bomba c965e8d08b Fixes for injecting settings object into email blade templates 2020-09-27 19:22:34 +10:00
David Bomba b906e1e92f Fixes for hasrecurrence trait 2020-09-24 13:40:13 +10:00
David Bomba 81ef541d2e Expense API Endpoints 2020-09-23 10:46:35 +10:00
David Bomba ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10:00
David Bomba 37bbe8f1e3 Fixes for validation on recurring 2020-09-13 21:46:03 +10:00
David Bomba 9c7dc24bd2 Recurring Dates 2020-09-13 20:20:11 +10:00
David Bomba 89dcd43e47 Fixes for contact password not sticking on update 2020-09-12 19:53:28 +10:00
David Bomba 6147cb1edc Fix for designs 2020-09-09 20:39:35 +10:00
David Bomba c67fee3fff Fixes for base driver 2020-09-09 20:05:10 +10:00
David Bomba 3083ab6237 Set unique on Group Settings Name 2020-09-08 20:44:32 +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 2f478158e9 Fixes for company gateways 2020-09-02 11:11:01 +10:00
David Bomba 455e9a8e1d fix for company gateways if properties not set 2020-09-02 08:11:59 +10:00
David Bomba 1a7d0d3cbd Working on gateway fees across multiple invoices 2020-08-27 22:12:39 +10:00
David Bomba 0d9df1f290 Fixes for incorrect name spacing of validation rules 2020-08-24 08:20:57 +10:00
Benjamin Beganović 0530204b08 Update copyright 2020-08-20 03:17:29 +02:00
Benjamin Beganović 529ce2ece8 fix authroize() method 2020-08-20 03:11:54 +02:00
Benjamin Beganović f4698c0108 Support multiple downloads 2020-08-20 03:10:04 +02:00