Commit Graph

129 Commits

Author SHA1 Message Date
Darko Gjorgjijoski
f82937e85e Set app version on install and updates 2024-08-01 19:39:47 +02:00
Darko Gjorgjijoski
53343c64eb Update migrations formatting & namespace 2024-07-28 23:14:34 +02:00
Darko Gjorgjijoski
dfc4b1982e Update namespace on 1.x migration 2024-07-28 23:13:53 +02:00
Darko Gjorgjijoski
8dd9d0c414 Consolidate migrations v2.0 should go after v1.x 2024-07-28 22:46:45 +02:00
Darko Gjorgjijoski
84a6181240 Merge master 2024-07-28 22:43:02 +02:00
mchev
c8439d859d Add cache and queue tables migrations (#121)
* Add cache and queue tables migrations
2024-07-17 12:06:04 +02:00
Darko Gjorgjijoski
ad9d08c43c Create empty SQLite database if it doesn't exist 2024-07-13 15:12:54 +02:00
Darko Gjorgjijoski
27a511bc09 Update version
[ci-skip]
2024-07-13 03:11:14 +02:00
Darko Gjorgjijoski
98852686c7 Add doctrine/dbal and run pint 2024-07-13 02:03:22 +02:00
mchev
210f735e40 Adding new field to update #107 2024-06-16 21:35:55 +02:00
mchev
a0bf6f7f59 Replacing model_type in database (#100)
* Replacing model_type in database

* Also update old Crater namespace
2024-06-07 12:10:57 +02:00
mchev
3259173066 Laravel 11 (#84)
* Convert string references to `::class`

PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.

* Use Faker methods

Accessing Faker properties was deprecated in Faker 1.14.

* Convert route options to fluent methods

Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.

* Adopt class based routes

* Remove default `app` files

* Shift core files

* Streamline config files

* Set new `ENV` variables

* Default new `bootstrap/app.php`

* Re-register HTTP middleware

* Consolidate service providers

* Re-register service providers

* Re-register routes

* Re-register scheduled commands

* Bump Composer dependencies

* Use `<env>` tags for configuration

`<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI.

Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/

* Adopt anonymous migrations

* Rename `password_resets` table

* Convert `$casts` property to method

* Adopt Laravel type hints

* Mark base controller as `abstract`

* Remove `CreatesApplication` testing trait

* Shift cleanup

* Fix shift first issues

* Updating Rules for laravel 11, sanctum config and pint

* Fix Carbon issue on dashboard

* Temporary fix for tests while migration is issue fixed on laravel side

* Carbon needs numerical values, not strings

* Minimum php version

* Fix domain installation step not fetching the correct company_id

* Fix Role Policy wasn't properly registered

---------
2024-06-05 11:33:52 +02:00
Darko Gjorgjijoski
1e530e0387 Include lang directory in the dist build (#65)
* Include lang/ dir in the build

* Bump version
2024-05-04 15:27:40 +02:00
Darko Gjorgjijoski
fa777d673f Update release migration rollback to point to 1.2.0 2024-05-04 13:48:42 +02:00
Darko Gjorgjijoski
8570252db5 Add missing migration 2024-05-04 13:35:51 +02:00
Darko Gjorgjijoski
ecb029758b Add Libyan Dinar (LD) (#63)
* Add Libyan Dinar (LD)

* Fix code style
2024-05-04 12:06:07 +02:00
Timo
2784318ebf Migrate polymorphic relationships (#58)
* add crater media model type migration

* migrate all morph type fields

* fix code style

* migrate custom_field_values
2024-04-21 00:03:34 +02:00
Timo
8c83df558c Add Company VAT-ID and Tax-ID (#54)
* add company vat_id & tax_id field

* add tax & vat id field in company settings

* fix vat & tax id validation

* add german vat & tax id translation

* add translations for pdf

* add vat_id and tax_id field before timestamps

* make fields nullable and fix code style
2024-04-20 23:08:32 +02:00
Darius Kristapavicius
5ba8639ac8 Added expires_at column to personal_access_tokens table 2024-02-17 23:51:21 +02:00
gdarko
44153c2993 Improve 110 migration rollback 2024-02-11 20:43:03 +01:00
gdarko
b9d5b8247c Fix: Wrong migration name 2024-02-11 20:42:01 +01:00
gdarko
d2ad2222be Fix code style 2024-02-11 09:41:23 +01:00
gdarko
2358969050 Add release migration and fix some old database leftovers 2024-02-11 09:38:21 +01:00
Daniel Rodríguez
b819440e76 feat: allow negative taxes 2024-02-08 19:19:32 +01:00
Darko Gjorgjijoski
aa68332cf6 Improve installed database detection 2024-02-04 19:37:09 +01:00
gdarko
4ab92473e9 Setup pint & run code style fix 2024-01-29 04:46:01 -06:00
gdarko
c285c166b5 Add support for Turkmen manat currency
Pull: https://github.com/crater-invoice/crater/pull/1133
2024-01-29 02:30:09 -06:00
gdarko
448231fb56 Add support for Bosnia and Herzegovina Convertible Mark currency
Pull: https://github.com/crater-invoice/crater/pull/1212
2024-01-29 02:22:30 -06:00
gdarko
fdb46275c0 Fix database migration rollback 2021-11-06 14:22:59 -05:00
gdarko
e43ddeea54 Fix wrong rollback in add_overdue_to_invoices_table migration 2024-01-28 15:11:58 -06:00
gdarko
dce2a57f3c Replace old references 2024-01-28 15:07:09 -06:00
Darko Gjorgjijoski
cd9df54c5b Upgrade to Laravel 10, Vite 5+ 2024-01-28 17:17:32 +01:00
Darko Gjorgjijoski
6b80b5f48d Change namespace 2024-01-27 23:53:20 +01:00
Bram
7be59e78e0 Formatting + Netherlands rename (#973)
* Formatting + Netherlands rename

* Revert change
2022-07-09 20:03:08 +05:30
Tindo N. Arsel
4e7441a5cf add default support for Central African currency (#865) 2022-03-28 13:58:43 +05:30
Mohit Panjwani
18507ddb6f new build 606 2022-03-06 12:39:21 +05:30
harshjagad20
fadef0ea07 Fix tax per item issue & check currency key 2022-03-04 12:08:03 +05:30
harshjagad20
69d8c95557 Minor fixes 2022-03-03 13:25:12 +05:30
harshjagad20
cc737593b7 Added migration to Change over due status 2022-03-03 12:55:15 +05:30
Mohit Panjwani
99f553f1c3 fix formatting issues and create update migration 2022-03-03 11:32:30 +05:30
radhika587
2cb51b84c7 add overdue 2022-03-02 18:09:41 +05:30
Mohit Panjwani
ffa7906382 Merge branch 'document-title' into 'master'
add admin_document_title

See merge request mohit.panjvani/crater-web!1447
2022-02-24 12:40:33 +00:00
radhika587
a452ec5eaf add migration 2022-02-23 18:34:12 +05:30
Mohit Panjwani
854ae10198 fix formatting 2022-02-17 14:10:36 +05:30
Mohit Panjwani
2383e89daa new build 604 2022-02-17 13:48:06 +05:30
Mohit Panjwani
6f7555bdce add 603 update migration 2022-02-15 17:30:33 +05:30
Ayush Jha
323b7d8ea6 Adds Nepali Rupee as currency (#675)
Co-authored-by: Ayush Jha <ayush.jha@wmcglobal.com>
2022-01-18 21:42:18 +05:30
stefanstojanov
dc7282d6e9 Added Macedonian Denar currency (#736)
* Add Macedonian Denar currency

* Typo fix

* Swap currency symbol
2022-01-18 21:35:18 +05:30
Mohit Panjwani
221184df41 new version 2022-01-13 18:19:56 +05:30
Mohit Panjwani
e3f3809f2d fix formatting errors 2022-01-12 21:12:54 +05:30