Commit Graph

65 Commits

Author SHA1 Message Date
KodeStar 2555ab1b3c Run tests against in-memory sqlite and refuse real databases
The :memory: overrides in phpunit.xml had been commented out since 2024,
so RefreshDatabase ran migrate:fresh against the real .env database and
wiped it on every local test run. Enable the overrides, let the special
:memory: identifier bypass database_path() resolution and the boot-time
touch(), and add a TestCase guard that aborts the suite unless it is
pointed at in-memory sqlite.

ItemExportTest only ever passed by reading the populated dev database;
seed the root dashboard item it depends on so it passes on a fresh DB.
2026-07-09 10:52:17 +01:00
Chris Hunt f197aeb013 Fix forms on enhanced apps 2025-07-11 16:18:13 +01:00
Chris Hunt 8fb6438254 Updates to vendors etc 2025-07-11 15:57:48 +01:00
Shift c1c3888673 Apply code style 2025-07-10 18:53:44 +00:00
knom 5950ca9076 renamed "controles" to "controls" 2025-05-05 11:49:42 +02:00
Tobias Kolzer c08b0bfe39 changed naming of property 2025-05-05 11:49:31 +02:00
Tobias Kolzer 921631bdcd fixed some rebase conflicts 2025-05-05 11:49:18 +02:00
Shift f3a5be79dc Remove redundant typing from DocBlocks 2024-02-16 21:13:14 +00:00
Shift 3487f52a6b Add type hints from DocBlocks 2024-02-16 21:13:14 +00:00
Shift 2cb837e4b5 Add type hints for Laravel 10 2024-02-16 21:13:13 +00:00
ullbergm 6e954a355d Add Trianglify (#1158) 2023-05-26 10:23:06 +02:00
jatdung cefe07d218 fix language setting only available in view (#1117) 2023-02-23 18:24:11 +01:00
Attila Kerekes 45cc84c99c test: Add feature tests 2022-12-04 17:21:03 +00:00
Attila Kerekes 52620bc331 chore: Add laravel ide helper 2022-12-01 09:17:54 +00:00
Attila Jozsef Kerekes 7565bd4028 chore: Add php code sniffer and apply fixes 2022-11-25 23:05:58 +00:00
Attila Kerekes 8957a2f49f feat: Make app update job unique 2022-11-22 17:23:26 +01:00
Attila Kerekes 76f0b84827 feat: Move app update to background job 2022-11-22 00:05:57 +01:00
Attila Kerekes b1e856ccfc fix: Throttle app updates when updating to new version. 2022-11-20 21:37:13 +01:00
Attila Kerekes 157b972ff5 feat: Trigger app update when new version is deployed 2022-11-18 17:35:55 +01:00
Attila Kerekes ec27889086 fix: User language setting 2022-11-17 17:12:24 +01:00
Attila Kerekes 5c2501c1a7 fix: change how database type is checked #950 2022-11-14 10:24:58 +01:00
Attila Kerekes b83f24c6f3 remove sqlite db file creation when mysql or pgsql is used 2022-11-13 11:34:58 +01:00
Kode 724110dad2 Run ProcessApps when database version is bumped 2022-03-25 15:35:05 +00:00
Shift b1dc4d4a41 Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the adopted coding style by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] config to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-03-19 13:54:32 +00:00
Kode 87fe9c1771 Move setLocale out of vie composer so it's available everywhere
Fixes #776
2022-03-16 20:07:43 +00:00
LeoShivas c9c8171a52 Make background image relative
I use Heimdall in a subfolder so that I access to it threw www.mydomain.com/heimdall/.
Custom background image doesn't load because Heimdall generate an absolute link (ie : www.mydomain.com/storage/backgrounds/mycustomimage.jpeg).
The link expected is www.mydomain.com/heimdall/storage/backgrounds/mycustomimage.jpeg.
To fix this, you have to make the path relative by replace in the code "/storage" by "storage" or "./storage".
2020-02-04 11:41:53 +01:00
Vincent Bitter c43fc929f7 Do not try to login if user was not found 2019-11-15 21:30:10 +01:00
Vincent Bitter 895d5f2ebe Check if variables are empty since they always exist 2019-11-15 21:29:15 +01:00
Chris e23964ebad set session and remember user when logged in via remote means 2019-06-19 12:01:17 +01:00
Chris 1410c41f48 Add REMOTE_USER auth 2019-06-19 11:32:41 +01:00
KodeStar caf92bcf6d check for gitignore in public storage and symlink if missing 2019-01-15 15:25:53 +00:00
KodeStar cbef469e02 Update AppServiceProvider.php 2019-01-15 15:23:10 +00:00
KodeStar f42ac0c5ba if .env is missing copy example and generate key 2019-01-04 10:38:07 +00:00
Kode ab83c3a551 Small changes
Copy icon if missing on new app add.
Change order of create symlink and load apps
2018-11-09 23:07:01 +00:00
Kode 7ba8ea6dd4 die if missing php-zip 2018-11-04 21:43:12 +00:00
Kode 0067502b37 Initial application process 2018-11-04 16:20:12 +00:00
Kode 268afe7006 Get working 2018-10-21 00:17:36 +01:00
Chris 907c22179b rearrange order 2018-10-17 09:49:23 +01:00
Chris cdafbab7b1 possible fix for basic auth 2018-10-17 09:41:20 +01:00
Chris e1bb7646ac small fixes 2018-10-16 15:44:23 +01:00
Chris cb21b0f8f1 add basic auth support and put username in switch user section 2018-10-16 14:57:21 +01:00
Chris c47f296f17 Change location of switch user 2018-10-16 10:59:35 +01:00
Kode d0293c785b Get settings working and autologin 2018-10-15 19:56:45 +01:00
Chris aa351e31bf trying to get session settings to work 2018-10-15 16:00:20 +01:00
Chris 99017d834e Merge branch 'master' into Multi-user 2018-10-15 09:08:42 +01:00
Chris fb73f5ca24 Attempt to allow changing root URL 2018-10-15 09:03:54 +01:00
Kode 46bb073001 Working on multi user 2018-10-14 16:17:55 +01:00
Kode 882e406266 remove var dump 2018-09-30 15:47:44 +01:00
Kode a2f20fc18f allow forcing https for reverse proxy use 2018-09-30 11:45:08 +01:00
KodeStar 98b831bc22 folder support 2018-02-17 00:13:38 +00:00