Commit Graph
432 Commits
Author SHA1 Message Date
Darko Gjorgjijoski 24ba33fd02 Update /installation/languages controller namespace 2024-07-11 13:36:57 +02:00
mchev 9fcf3792c7 Translate recurring invoice subject (#110)
* Translate recurring invoice subject
2024-06-25 19:44:23 +02:00
mchev 680e105f1b Fix CompanySetting not imported in BootstrapController 2024-06-16 21:58:16 +02:00
mchev bb8258036a Clone estimates (#97)
* Clone estimates

* Clone estimate test feature

* Resolve namespace

* Fix string to int for Carbon

* Fix homes routes and default queue key

* Move dropdown item below View and use the propper translation key
2024-06-06 12:16:41 +02:00
mchev 14c599ed4f Allow decimals on items quantities (#94)
* Allow decimals on items quantities #80

* Updating all requests validation

* Revert discount_val
2024-06-05 15:10:36 +02:00
mchev bf5a8cdb28 Increasing base total validation limit for IDR currency (#98) 2024-06-05 12:16:09 +02:00
3b61440e1f Complete dashboard translations & small UI improvements (#69)
* fix dropdown action Estimate Dashboard and fix translating full Dasboard page

* Update app.php

* fix locale in app.php config

* Wizard install with translation, customer portal with translation, and fixing hardcoding strings to get translation

* fixes asked to review

* fixes pint

---------

Co-authored-by: Max <contact@agencetwogether.fr>
Co-authored-by: Darko Gjorgjijoski <5760249+gdarko@users.noreply.github.com>
2024-06-05 12:07:46 +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
Jay MuntzandJay Muntz 72311db1bd Fix SES configuration process to set correct SES_KEY and SES_SECRET (#74)
* Fix SES configuration process to set correct SES_KEY and SES_SECRET

* Fixed SES from name

---------

Co-authored-by: Jay Muntz <jaymuntz@jaymuntz.com>
2024-05-31 12:46:06 +02:00
Timo 6ea112c04f fix EnvironmentManager updateEnv (#60)
* fix EnvironmentManager updateEnv

* fix EnvironmentManager encode method

* fix code style
2024-05-04 10:35:35 +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
Timo dc8a85538f Support S3 compatible storage services (#56)
* add s3compat filesystem driver

* add s3compat ui modal

* fix code style
2024-04-16 17:24:56 +02:00
mchev 223678e5bd Fix locales issue #43 (#46)
* Fix locales issue #43

* Adding open-direction bottom to the language multiselect
2024-03-27 11:00:36 +01:00
Darko Gjorgjijoski 9bb4963e8a Fixes/backup issues (#51)
* Fix: Error related to undefined Backup::size()

* Fix: Disable signals if PCNTL isn't loaded to avoid fatal error (Fixes SIGINT is not defined on environments that are missing the PCNTL library)
2024-03-27 01:15:49 +01:00
8788f3d504 Tax calculation issue (#38)
* fix initial tax per item issue

* remove commit in estimate storage

* add changes in tax per item calculation

* add validation on requests

* fix minimum total issue

* fix table pagination filter issue

* minor fix

* remove compound interest and remove unused code

---------

Co-authored-by: yashkanakiya <yashkanakiya281297@gmail.com>
Co-authored-by: dhruvbhattt <dhruvbhatt7790@gmail.com>
Co-authored-by: gdarko <dg@darkog.com>
2024-02-18 10:54:12 +01:00
gdarko d2559c8773 Fix formatting 2024-02-18 00:49:15 +01:00
gdarko e73ab3d4ee Override the default bouncer scope class with a temporary hotfix to the roles issue 2024-02-18 00:13:42 +01:00
gdarko 1c7274287d Lock silber/bouncer to 1.0.1 for now 2024-02-18 00:12:33 +01:00
Darko Gjorgjijoski 7d7b48a5b7 Merge pull request #28 from InvoiceShelf/installer-improvements-phase1
Installer improvements
2024-02-11 20:25:32 +01:00
gdarko e0176139c2 Remove unecessary db install flag delete call 2024-02-11 20:07:59 +01:00
gdarko 29ed7f437a Fix code style 2024-02-11 13:58:38 +01:00
gdarko 020a0741de Add error logging to install process :: db marker utilities 2024-02-11 13:55:32 +01:00
gdarko c7c70dd3ef Encoide .env value in case of spaces or special characters 2024-02-11 02:41:14 +01:00
gdarko b806efd66d Refactor EnvironmentManager to fix weird installation issues 2024-02-11 01:44:05 +01:00
gdarko b85538dbc0 Fix code style 2024-02-10 01:36:53 +01:00
gdarko 8918ea5124 Fix image extension validation
Issue #21
2024-02-10 01:31:44 +01:00
Darko Gjorgjijoski 36424bbf05 Update code style 2024-02-08 03:37:17 +01:00
Darko Gjorgjijoski e14a248f24 Fix: Status set incorrectly after updating invoice
Issue: https://github.com/crater-invoice/crater/issues/955, #23
2024-02-08 03:09:56 +01:00
Darko Gjorgjijoski e7e9c57552 Improvements to the menu generation, add safety checks 2024-02-08 01:54:05 +01:00
Darko Gjorgjijoski 49a11f08e9 Improvements to the Install Utilities 2024-02-08 01:53:32 +01:00
Darko Gjorgjijoski b2dc5b82fa Improve formatting in Updater 2024-02-04 23:35:58 +01:00
Darko Gjorgjijoski 8a4a971bf9 Update the ui-updater code to download from invoiceshelf's site 2024-02-04 23:35:02 +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 cd63aa507a Fix payment note Amount field display
Pull: https://github.com/crater-invoice/crater/pull/1151 / Issue: https://github.com/crater-invoice/crater/issues/1127
2024-01-29 02:23:36 -06:00
Darko Gjorgjijoski cd9df54c5b Upgrade to Laravel 10, Vite 5+ 2024-01-28 17:17:32 +01:00
Darko Gjorgjijoski 650644df0a Update other old references 2024-01-28 00:35:15 +01:00
Darko Gjorgjijoski bd8283d204 Replace magic property access with proper get() call 2024-01-28 00:20:01 +01:00
Darko Gjorgjijoski 17351efacf Remove old database updates 2024-01-28 00:16:28 +01:00
Darko Gjorgjijoski 3721e5d651 Update config references 2024-01-27 23:55:24 +01:00
Darko Gjorgjijoski 6b80b5f48d Change namespace 2024-01-27 23:53:20 +01:00
bananabendera 393fe20010 Fix incorrect invoice creation message (#1109)
Creation message now includes the views disk in its path.
2022-12-17 18:20:51 +05:30
Dhruv Bhatt 4e47f58bad fixed - No query results for model [Crater\Models\Currency] (#1070)
* fixed report pdf issue

* Removed telescope service provider file
2022-10-26 19:33:25 +05:30
Bram 946c7efab4 Also replace variables in subject (#893) 2022-04-25 18:02:21 +05:30
theWorstComrade 7cde971f8b Module upload validation (#857)
https://huntr.dev/bounties/cb9a0393-be34-4021-a06c-00c7791c7622/
2022-03-29 12:55:35 +05:30
theWorstComrade 88035ea490 Expense attachment validation fix (#855)
https://huntr.dev/bounties/4d7d4fc9-e0cf-42d3-b89c-6ea57a769045/
2022-03-22 16:58:55 +05:30
Mohit Panjwani e31f947aba fix conflict 2022-03-06 12:32:24 +05:30
Thomas Calemark 2cadcad485 Fix currency settings error (#821)
* Fixed issue with currency error on change after transactions

* organized imports
2022-03-06 09:53:31 +05:30
harshjagad20 fadef0ea07 Fix tax per item issue & check currency key 2022-03-04 12:08:03 +05:30
Mohit Panjwani 83a7c97e9e fix tests 2022-03-03 20:30:05 +05:30