Commit Graph

170 Commits

Author SHA1 Message Date
David Bomba 172604a1a0 WePay 2021-06-20 22:10:22 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 3a5cd34f83 Fixes for company exporter 2021-06-15 23:11:45 +10:00
David Bomba ca7631e950 Minor fixes for company exporter 2021-06-15 23:08:59 +10:00
David Bomba d2d6a9fe5a Changes to CompanyImport logic - allow multiple users to be imported - however we prevent them from logging in if their plan isn't Enterprise 2021-06-14 17:09:05 +10:00
David Bomba 7709bd32d1 Ensure directories are created prior to PDF generation 2021-06-13 10:18:07 +10:00
David Bomba b1cc872dcd Fixes for injecting Task Statuses in import data 2021-06-09 16:38:36 +10:00
David Bomba 9231c29d69 Additional logic for importing data into the hosted platform 2021-06-09 08:19:00 +10:00
David Bomba 9585974b66 Fixes for import json 2021-06-08 22:58:46 +10:00
David Bomba f7e91cabd4 Fixes for importjson 2021-06-08 22:44:38 +10:00
David Bomba 5be8910c38 Additional logging 2021-06-08 22:05:18 +10:00
David Bomba d68e40433c Fixes for client portal links 2021-06-08 21:45:23 +10:00
David Bomba b629b9dcba Better logging for company importer 2021-06-08 20:39:07 +10:00
David Bomba 12a31b79e7 Better logging for company importer 2021-06-08 18:54:34 +10:00
David Bomba 215d459a0c Fixes for pre flight checks: 2021-06-08 15:59:08 +10:00
David Bomba b8db1d5d22 Fixes for pre flight checks: 2021-06-08 15:05:51 +10:00
David Bomba aca8e1550e Fixes for pre flight checks: 2021-06-08 13:45:19 +10:00
David Bomba 7c7e6db875 Assign public property to 2021-06-08 13:41:15 +10:00
David Bomba fd7d55dba6 Assign public property to 2021-06-08 12:50:17 +10:00
David Bomba 3a272ad13b Assign public property to 2021-06-08 12:16:32 +10:00
David Bomba 31d5db06e3 Assign public property to 2021-06-08 12:08:07 +10:00
David Bomba ce5f84b8c1 Fixes for Import 2021-06-08 08:09:13 +10:00
David Bomba 7ba2446a1d fixes for impotr 2021-06-08 07:51:21 +10:00
David Bomba b9262e59fa Fixes for logging in company import 2021-06-08 07:46:00 +10:00
David Bomba 60e44c127c Fixes for logging in company import 2021-06-08 07:45:40 +10:00
David Bomba b29c9f25e3 Company Import mailer 2021-06-08 07:23:20 +10:00
David Bomba 1baadd96b4 Enforce client and user limits with Company Import 2021-06-07 15:50:09 +10:00
David Bomba 4b6d17fa8d Working on Company Import limiter 2021-06-07 15:42:39 +10:00
David Bomba 9fad98017b Update fr_CA langs 2021-06-07 08:41:04 +10:00
David Bomba 2602144c7a 5.1.71 2021-06-05 12:42:56 +10:00
= 158f94993e Company Import 2021-06-04 21:39:35 +10:00
= 6bc26c476b Company Import 2021-06-04 20:32:43 +10:00
= fe2c410ef7 Company Import 2021-06-04 20:20:10 +10:00
= a2e994be82 Company Import 2021-06-04 20:07:45 +10:00
David Bomba c3946f44b0 Fixes for custom payment method name 2021-06-01 08:09:38 +10:00
David Bomba 40b46f2b12 Fixes for hosted company export 2021-05-31 20:47:12 +10:00
David Bomba 0b5232162b Working on company importer 2021-05-31 10:22:30 +10:00
David Bomba eca6446703 Working on company importer 2021-05-31 10:10:19 +10:00
David Bomba 631e7cc4a9 Working on company importer 2021-05-31 09:47:14 +10:00
David Bomba 5e820bbba7 Working on company importer 2021-05-31 08:55:27 +10:00
David Bomba b72217d74c Fixes for import company tests 2021-05-30 21:26:43 +10:00
David Bomba e86286ee9a Fixes for tests 2021-05-30 18:03:31 +10:00
David Bomba f22745d131 Remove delivery not from try/catch block 2021-05-30 06:50:55 +10:00
David Bomba 0fe357cda6 Import Company Test 2021-05-29 08:27:06 +10:00
David Bomba 77f6bc0e0b Fixes for tests 2021-05-29 08:09:47 +10:00
David Bomba f3b52b0a22 Fixes for tests 2021-05-28 19:57:56 +10:00
David Bomba 817f7c685f Import company 2021-05-28 18:37:08 +10:00
David Bomba 9fc5a1c947 Tests for import company 2021-05-28 08:00:30 +10:00
David Bomba 8c643edf8f Import Company Test 2021-05-27 21:02:03 +10:00
David Bomba 442e416840 Import Company Test 2021-05-27 20:03:26 +10:00
David Bomba f8bba8b7c0 Working on importing json 2021-05-27 15:57:07 +10:00
David Bomba 0fba73e179 Refactor for Zipping backups 2021-05-26 18:53:37 +10:00
David Bomba 8df0f6bb27 Refactor for Zipping backups 2021-05-26 18:47:10 +10:00
David Bomba 0e61a6f491 Fixes for random subdomain generator 2021-05-24 19:39:21 +10:00
David Bomba f9fae690a0 Tests for import 2021-05-15 16:54:27 +10:00
David Bomba 2fbe1698ae Minor fixes for subscription URL spec 2021-05-15 14:50:07 +10:00
David Bomba 2eca9a286f Fixes for domains 2021-05-15 14:29:19 +10:00
David Bomba d7d76ae6ea MultiDB domain resolution for client portals 2021-05-15 13:31:41 +10:00
David Bomba f61ba70b14 Tests for company import 2021-05-14 16:00:25 +10:00
David Bomba 8e682f474c Import Company 2021-05-14 15:23:00 +10:00
David Bomba 97b49f8df6 Fixes for download export button 2021-05-14 13:32:37 +10:00
David Bomba 11a150274d Fixes for resolve user / company 2021-05-13 23:37:25 +10:00
David Bomba 8a582f7800 Fixes for reset password 2021-05-13 20:18:30 +10:00
David Bomba e4fabfbf2d Export data 2021-05-13 16:01:12 +10:00
David Bomba 2688f7472e fixes for sofort cancellation 2021-05-13 13:32:36 +10:00
David Bomba 203fa1d06f Company Exporter 2021-05-13 12:12:18 +10:00
David Bomba fcfe04e18e Company Exporter 2021-05-13 11:25:26 +10:00
David Bomba 9a44561b2f Fixes for attaching documents and pdfs 2021-05-13 08:13:33 +10:00
David Bomba 0426b6c941 Add payment notification on manual payment creation 2021-04-16 07:58:34 +10:00
David Bomba 793247e0f7 Fixes for default timeouts 2021-03-22 21:55:09 +11:00
= 0bf8b9c9e5 Fixes for setup flow 2021-03-13 17:45:41 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba f0e4a94bee Task Statuses 2020-10-20 10:01:59 +11: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 9075cf989a Flip what is_system means for company tokens 2020-07-21 15:03:04 +10:00
David Bomba fc444746d2 Fixes for payment terms 2020-06-18 18:56:02 +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 05443d69ec
Implement CompanyToken and Subscriptions CRUD (#3609)
* Working on Tokens CRUD

* Fixes for company filters

* Working on Token CRUD

* Tests for tokens

* Fixes for OPENApi

* Subscriptions

* Subscriptions
2020-04-09 20:48:04 +10:00
David Bomba 7a13f688e7
Setup Workflow (#3565)
* Fixes for setup
2020-03-30 17:40:21 +11:00
David Bomba 4eebaf7eb4
Migrate to services (#3358)
* Working on ledger

* Migrate to services

* Refactor to services

* Migrate to services

* Jobs cleanup
2020-02-21 08:05:01 +11:00
David Bomba 957ac9f5d8
Fix for password protected authorization (#3198)
* Remove unnecessary save() on invoice

* Update copyright

* Working on Credit Repository

* Implement credits as a paymentable entity

* Add credit_id to transformer

* fix rules for update payment

* Fix random deleted_at keys in transformers

* Fix for password_protect check
2020-01-07 11:13:47 +11:00
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba ff7b62de51
Fixes for missing company object in job classes. (#3179)
* Fixes for missing company object in events

* Cleanup client balancing code

* Fixes for client balance

* Fixes for missing company variable
2019-12-29 17:28:57 +11:00
David Bomba 9d8e4fdb06
Change companies table property domain to subdomain (#3141) 2019-12-11 07:53:41 +11:00
David Bomba 75df82a71c
Fixes (#3116)
* Fixes for OpenAPI Documentation + fix support for docs for PHP 7.4

* User update tests

* Add total_taxes to invoice table, implement addition create-test-data fields for item and invoice level taxes
2019-12-04 12:06:14 +11:00
David Bomba 0606973035
Fixes for Token Name (#3095)
* Fix for CORs error where file download were being prevented by headers

* Fixes for CORs and File downloads

* give contextual error messages for invalid route actions

* Clean up LoginController for OAuth Testing

* Quote Actions

* Invoice and Quote Actions

* Fixes for Token Name

* Change test data seeder to create separate small,medium,large companies
2019-11-26 19:14:01 +11:00
David Bomba 69efd4d574
Enhancements to API (#3088)
* working on email throttling

* Fixes for invitaiton links

* pass custom fields as object

* Add user agent to company token

* Update company token transformer

* Remove prefix setting from CompanySettings

* Implement user agent on company token & provide better error handling for undefined relationships includes

* Fix bulk actions

* Working on updating/creating a company user

* Fixes for tests
2019-11-21 19:38:57 +11:00
David Bomba e1fa1186d1
CORS implementation (#3065)
* fix regression in company name

* HasOneThrough for company user

* Validation rules for contact email addresses

* Force a blank contact if no contacts passed in client
2019-11-13 22:32:53 +11:00
David Bomba 0354b58f82
Remove CORS from middleware (#3064)
* Remove headers

* Unique emails per client

* fixes for company name

* remove cors from middleware
2019-11-13 17:18:24 +11:00
David Bomba 384a3b4603
Fixes for transforming and saving company settings. (#3058)
* Cleanup for settings remove from entities

* Fixes for saving and transforming company settings
2019-11-13 08:26:40 +11:00
David Bomba 534b515849 Abstract settings save to separate trait 2019-10-09 10:53:33 +11:00
David Bomba b8515e26b0 Upload company logo to client settings 2019-10-07 22:05:06 +11:00
David Bomba 70fe64ed96 Fixes for tests 2019-10-05 10:11:04 +10:00
David Bomba a57de08178 Working on partial invoice payments 2019-10-02 08:44:13 +10:00
David Bomba 78ae24df46 Balances with company ledger 2019-10-01 19:59:32 +10:00
David Bomba f2a8e5f4df fixes for tests 2019-10-01 15:54:21 +10:00
David Bomba 487f93933b Laravel V6 2019-09-26 23:00:51 +10:00
David Bomba 86a099587d Refactor for settings to force types 2019-09-19 15:50:05 +10:00