1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
David Bomba
5159288bb8 fixes for hosted migration 2021-04-29 12:48:54 +10:00
David Bomba
d3e44b779c Fixes for hosted migration 2021-04-29 12:35:56 +10:00
David Bomba
f395434f2a Improve migration flow for hosted users 2021-04-29 12:31:09 +10:00
Benjamin Beganović
25dca51b5e - Show message if migration didn't start properly
- Update completed.blade.php with errors message
- Better status checking in CompleteService.php
2021-03-30 10:49:29 +02:00
Benjamin Beganović
c469ef6671 force toggle parent company 2020-12-29 12:37:40 +01:00
Benjamin Beganović
aa9af574b6 Add support for X-Api-Token: 2020-12-10 15:04:59 +01:00
Benjamin Beganović
d24d2e4b93 Support multiple migrations at once 2020-11-10 16:20:02 +01:00
Benjamin Beganović
0621c215e7 Fix migration urls 2020-10-05 09:50:32 +02:00
Benjamin Beganović
56a9bc2bdd
[v1] Include validation erorrs for migration (#3660)
* Add

* Fix
2020-04-29 22:33:55 +10:00
Benjamin Beganović
d36cb2fafa
Refactor steps controller (#3627) 2020-04-14 08:20:38 +10:00
Benjamin Beganović
602a15f648
Export 'company_key' with migrations (#3600)
- Removed 'Hosted' option for migrating
- Passing companyKey property when sending request
2020-04-08 06:43:20 +10:00
Benjamin Beganović
4323968240
Prevent cross site migration (#3594)
- php-cs-fixer applied
- Added new 'cross_migration_message'
- errors.blade.php - unescape characters
2020-04-07 07:21:46 +10:00
Hillel Coren
c3a0c2a465 UI tweaks and hide on hosted 2020-03-12 09:42:31 +02:00
David Bomba
67044f9dd3
Migration improvements: (#3422)
- Added option to force the migration
- Cleaned imports
2020-03-05 07:30:10 +11:00
Benjamin Beganović
bde276ad67
(V1) Improve migration (#3415)
* Imports improvements:
- Fix sorting
- Fix duplicate imports (Cannot use App\Http\Controllers\BaseController as BaseController because the name is already in use)

* Wrap up, sending migration file:
- Removed 'enable_invoice_quantity'
2020-03-04 09:44:30 +11:00
Benjamin Beganović
ff455c8ed9
Exporting migration data via HTTP (v1) (#3364)
* Migration: Option to select the migration type

* Migration: Logic for redirecting based on steps

* Work for migrations:
- Added authentication view, service
- Account connecting
- Scaffold services
- Companies service
- (wip) Sending data to v2

* Migration: Sending migration file

* Wrap up the migration first stage

* Split company per request / no bundle

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-02-25 08:17:16 +11:00
Benjamin Beganović
b67b97430c Export data for the migration (master) (#3239)
* Scaffold migration controller & steps

* - Basic controller scaffold
- Intro step
- Downloading data

* Import step for the v2

* Export file using account_key property

* Fix button displaying

* Client export mappings

* Company export mappings

* Add withTrashed() for clients

* Export users mappings

* Export invoices mappings

* Export company properties as array

* add withTrashed() for invoices

* Downloading the json file

* Fix 'account_id' for company export
- Code cleanup & leftovers

* Creating zip for logo & storing json as file (wip)

* Zipping & sending migration files (wip)

* Exporting & mappings for quotes

* Re-enable headers for downloading

* Mappings for tax rates

* Mappings for the products

* Fix formattings & php doc messages

* Bring back headers for downloading

* Export 'company_id', 'user_id' with clients

* Export 'id' with users resource

* Remove unused parameter

* Export mappings for payments

* Export 'line_items' with invoices

* Export credits & export client id

* Export 'credits' within main JSON

* Mappings for line_items

* Fix 'is_amount_discount' for invoice export

* Exporting migration file as .zip archive

* Improve settings card for migration

* Removed duplicated keys in texts.php for en

* Fix formatting in en/texts.php

* Integrate the migration part with rest of UI

* Export company as object, not array

* Clean up

* Fixes for V1

* Apply formatting

* Remove comments
- Added 'ext-zip' in composer.json
- Fixed $credits transform

* Remove unused params

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-24 07:34:30 +11:00