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

2145 Commits

Author SHA1 Message Date
Hillel Coren
2d02e4f569 Update open source references 2021-06-20 08:55:25 +03:00
David Bomba
b41249eda6 export ninja tokens 2021-05-12 20:46:35 +10:00
David Bomba
51e111f973 migration hosted tokens 2021-05-12 20:44:22 +10:00
David Bomba
36c5d915f6 migrations 2021-05-11 16:12:38 +10:00
David Bomba
e63b3cb76a Return early from try block 2021-05-10 14:11:26 +10:00
David Bomba
f395434f2a Improve migration flow for hosted users 2021-04-29 12:31:09 +10:00
David Bomba
e6915f36a5
Merge pull request #5283 from turbo124/master
Minor fixes for migration
2021-03-30 20:29:42 +11:00
David Bomba
ce18449cc7 Minor fixes for migration 2021-03-30 20:29:20 +11: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
David Bomba
b94e4c602e rtrim trailing slash 2021-03-16 09:04:27 +11:00
Hillel Coren
e72d8ecfa2 Update PHP min version to 7.1 2021-02-19 10:20:45 +02:00
=
b4b28385e5 Fixes for company gateways 2020-12-28 17:04:44 +11:00
David Bomba
38ee8352d8
Merge pull request #4494 from turbo124/master
Add account variables into migration
2020-12-15 08:53:05 +11:00
David Bomba
def4d1aa9f Add account variables into migration 2020-12-15 08:52:29 +11:00
Benjamin Beganović
aa9af574b6 Add support for X-Api-Token: 2020-12-10 15:04:59 +01:00
Moritz Lipp
f3dcd2924c Call ksort correctly for migration files 2020-11-26 15:53:45 +01:00
David Bomba
ae52ea5971 Random migration datasets 2020-11-25 11:23:51 +11:00
David Bomba
fdaf513267 sort alphabetically 2020-11-24 14:20:44 +11:00
David Bomba
715998e67a Reorder migrations 2020-11-23 23:55:17 +11:00
Benjamin Beganović
666a9398d3 Fix the way we process migration 2020-11-12 11:04:50 +01:00
Benjamin Beganović
d24d2e4b93 Support multiple migrations at once 2020-11-10 16:20:02 +01:00
Hillel Coren
cadd1a3b44 Update version 2020-11-05 10:51:09 +02:00
Hillel Coren
08efcc0342 Minor fixes 2020-11-01 17:34:29 +02:00
David Bomba
fac2c80fe7 migration for vendors 2020-10-31 08:12:45 +11:00
David Bomba
0bdda6a529 Migration for projects 2020-10-30 22:55:14 +11:00
David Bomba
38c017fdf8 Migration for projects 2020-10-30 22:53:50 +11:00
David Bomba
aff75e1d59 Tasks, Expenses migration 2020-10-30 19:52:45 +11:00
David Bomba
0d1c279f64 Fixes for payment meta data types 2020-10-28 16:26:08 +11:00
David Bomba
9afd6c6fc2 recurring migration 2020-10-02 16:34:12 +10:00
Benjamin Beganović
4b3d3d4460 Fix absolute redirecting with url() helper 2020-06-26 12:38:45 +02:00
David Bomba
743dca7335
Fixes for migrations including implementing migrations for payment terms (#3761) 2020-05-28 08:50:33 +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
ca6e981f29 Fix client redirect 2020-03-29 09:28:30 +03:00
Benjamin Beganović
9d5c3bd951
[v1] Add check for 0 value (#3473)
* Add check for 0 value

* David said, this one is better
2020-03-11 10:06:57 +11:00
Benjamin Beganović
d9a3b5453a
Make sure user is allowed to migrate (#3468) 2020-03-11 08:08:10 +11:00
David Bomba
9070dfe55b
Export migrations to folder (#3429)
* Export migrations to folder

* Remove local property
2020-03-06 07:30:48 +11: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
David Bomba
8020204c8d
Migrate Company Gateways and Client Tokens (#3369)
* Working on migrations for Company Gateways and Client Tokens

* Working on exporting company gateways and documents
2020-02-25 08:16:19 +11:00
Benjamin Beganović
9085a27361
Export 'documents' (#3343)
* Export 'documents'

* Export 'invoice_id' & 'expense_id' with documents

* Code cleanup
2020-02-19 07:53:38 +11:00
Benjamin Beganović
6defaebf34
Export settings with company array (#3264) (#3268) 2020-01-30 14:34:58 +11:00
Benjamin Beganović
e31ab11364 Export contacts with client array (#3251) 2020-01-28 07:54:54 +11:00
David Bomba
24daf955d8
Fix taxes (#3246) 2020-01-25 14:19:22 +11:00
David Bomba
c2dfc3055c Remove last_login from migration array of clients 2020-01-24 13:17:51 +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
Hillel Coren
17c36b351d Minor fixes 2019-12-03 11:27:30 +02:00
David Bomba
2ec4d6702c
Fix for regression (#3070) 2019-11-14 22:07:23 +11:00