1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Http/Controllers
Benjamin Beganović 11cc40d23a Migrate commits from 2-migration-with-json into v2 (#3241)
* Scaffold test case

* Import.php tests:
- Basic test scaffold
- Test if exception is thrown when unknown resource
- Company update test

* Migration importer & exception classes

* Company migration test
- Added 3rd parameter for accepting custom resources
- Wip tax_rates migration

* Tax rate migration

* Tax rate update
- Added company_id & user_id property modifiers

* Users migration

* Save IDs for users importing

* Add 'transformIds' method

* Importing clients
- An exception for resource not migration
- Dependency logic
- Removing id on insert

* Exception for unresolved dependency

* Import clients

* Method for inspecting user_id

* Importing invoices

* Importing quotes

* Fix tests & wrap with try-catch

* Fix tax_rates user_id transform

* Working on migration

* Tests for migration

* fixes for test

* Tests for Import.php
- Added ext-json to composer.json

* Tests for Import.php
- Added ext-json to composer.json

* Change migration exceptions to MigrationValidatorFailed

* Fixes for tests and counters

* Unzipping the migration archive
- Changed .gitignore to ignore all local migrations

* Comparing local data with inserted

* Ignore verification - wip

* Fix formatting for api.php

* Uploading file test (wip)

* Fix typo

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-24 07:35:00 +11:00
..
Auth Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
ClientPortal Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
Contact Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
OpenAPI Payment refunds, Projects, Expenses and Vendors. (#3228) 2020-01-20 21:10:33 +11:00
Support/Messages Expense and Vendors (#3226) 2020-01-20 12:31:58 +11:00
Traits Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
AccountController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
ActivityController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
BaseController.php Working on projects and tasks (#3232) 2020-01-21 11:32:34 +11:00
ClientController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
ClientStatementController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
CompanyController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
CompanyGatewayController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
Controller.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
DashboardController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
ExpenseController.php Fixes for Vendor Contacts (#3227) 2020-01-20 15:53:40 +11:00
GroupSettingController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
InvoiceController.php Fix invoice payable rules (#3212) 2020-01-15 19:43:40 +10:00
MigrationController.php Migrate commits from 2-migration-with-json into v2 (#3241) 2020-01-24 07:35:00 +11:00
PaymentController.php Payment refunds, Projects, Expenses and Vendors. (#3228) 2020-01-20 21:10:33 +11:00
ProductController.php Fix invoice payable rules (#3212) 2020-01-15 19:43:40 +10:00
QuoteController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
RecurringInvoiceController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
RecurringQuoteController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
SettingsController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
TaxRateController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
TemplateController.php Expense and Vendors (#3226) 2020-01-20 12:31:58 +11:00
TranslationController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
UserController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
UserProfileController.php Fix for password protected authorization (#3198) 2020-01-07 11:13:47 +11:00
VendorController.php Fixes for Vendor Contacts (#3227) 2020-01-20 15:53:40 +11:00