Commit Graph

41 Commits

Author SHA1 Message Date
Darko Gjorgjijoski
e9e52c60a7 Reformat with pint 2025-01-12 18:37:08 +01:00
Darko Gjorgjijoski
9a46f892ab Add support for release channels (insider release channel) in Updater 2024-08-04 03:04:10 +02:00
Darko Gjorgjijoski
f82937e85e Set app version on install and updates 2024-08-01 19:39:47 +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
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
gdarko
4ab92473e9 Setup pint & run code style fix 2024-01-29 04:46:01 -06:00
Darko Gjorgjijoski
650644df0a Update other old references 2024-01-28 00:35:15 +01:00
Darko Gjorgjijoski
6b80b5f48d Change namespace 2024-01-27 23:53:20 +01:00
Mohit Panjwani
082d5cacf2 v5.0.0 update 2021-11-30 18:58:19 +05:30
Mwikala Kangwa
9e98a96d61 Implement PHP CS Fixer and a coding standard to follow (#471)
* Create PHP CS Fixer config and add to CI workflow

* Run php cs fixer on project

* Add newline at end of file

* Update to use PHP CS Fixer v3

* Run v3 config on project

* Run seperate config in CI
2021-05-21 17:27:51 +05:30
Mohit Panjwani
28217df654 add ability to delete files on update 2020-12-03 12:49:37 +05:30
Mohit Panjwani
89ee58590c build version 400 2020-12-02 17:54:08 +05:30
raishvaria
ed58dfaef6 remove optimized cmd 2020-12-02 12:31:16 +05:30
raishvaria
c2c0e2809c remove listener & add version320 migration 2020-12-02 12:23:30 +05:30
raishvaria
a7eaf5dbe4 fix updater issue & add optimize clear cmd 2020-12-02 10:29:46 +05:30
raishvaria
2df09a20f1 fix updater issue and run production 2020-12-01 11:05:45 +05:30
yogesh_gohil
e379e13802 fix update validation toaster 2020-11-06 19:09:17 +05:30
jayvirsinh_gohil
5d4ea2a308 transfer code from update controller to updater class 2020-11-03 12:19:51 +05:30
Mohit Panjwani
6a4009e13a add credit to akaunting 2020-05-21 14:53:27 +05:30
gohil jayvirsinh
183953f4c4 Refactor Self Update Endpoints and Add Update Console Command 2020-05-17 07:04:43 +00:00
Mohit Panjwani
a24d8d3ebc fix updater issue 2020-05-13 16:50:45 +05:30
Mohit Panjwani
f64d546672 refactor 310 update listener 2020-05-13 11:12:33 +05:30
raishvaria
13e56105e3 fix auto update issue in dev 2020-01-22 13:39:59 +05:30
jayvirsinh_gohil
36f7da29cf add update finish endpoints 2019-11-18 20:55:15 +05:30
Mohit Panjwani
9ae2947cec fix auto update issues 2019-11-17 19:45:05 +05:30
jayvirsinh_gohil
99d2fe025f Merge branch 'master' of https://gitlab.com/mohit.panjvani/crater-web into namespace-changes 2019-11-16 16:27:34 +05:30
Mohit Panjwani
2a0c6932ca fix update-app screen spacing and alerts 2019-11-16 13:27:37 +05:30
jayvirsinh_gohil
848c5646f9 refactor upadater 2019-11-16 13:25:39 +05:30
jayvirsinh_gohil
94533b575b Merge branch 'master' of https://gitlab.com/mohit.panjvani/crater-web into namespace-changes 2019-11-16 10:58:59 +05:30
jayvirsinh_gohil
b83f476f28 remove germen language 2019-11-16 10:50:23 +05:30
Mohit Panjwani
5d70832f20 remove unused files and refactor variable names and function names 2019-11-15 21:02:53 +05:30
jayvirsinh_gohil
3f550da1f5 refactor namespace and update routes for api 2019-11-15 18:05:22 +05:30
jayvirsinh_gohil
200d7a33df remove temp directory 2019-11-15 16:26:04 +05:30
jayvirsinh_gohil
1051b03b00 refactor auto updateand invoice and estimate send 2019-11-15 13:39:57 +05:30
jayvirsinh_gohil
917b618ac7 add check version and refactpr auto update 2019-11-14 21:00:17 +05:30
jayvirsinh_gohil
eee69a5d42 refactor updater event calling 2019-11-14 18:27:27 +05:30
jayvirsinh_gohil
78fc41c9d2 refactor updater 2019-11-14 18:23:07 +05:30
jayvirsinh_gohil
3b789dc49e refactor updater 2019-11-14 18:08:50 +05:30
jayvirsinh_gohil
fa1ddae78c refactor updater 2019-11-13 20:14:46 +05:30
jayvirsinh_gohil
1b28b082d2 add auto update feature 2019-11-12 18:44:49 +05:30