Commit Graph

67 Commits

Author SHA1 Message Date
DariusIII c5e55dd562 Fix phpstan reported errors 2026-02-10 16:16:29 +01:00
DariusIII a3359c357f Update theme 2025-10-21 16:41:14 +02:00
DariusIII 8817f9e985 CS fixes 2024-11-28 14:10:08 +01:00
DariusIII 5ee03998b3 Update settingsUpdate function 2024-10-28 12:38:56 +01:00
DariusIII 86b670b691 CS fixes 2024-10-28 12:14:58 +01:00
DariusIII f21e6e8845 Simplify setting names and check 2024-10-28 12:14:32 +01:00
DariusIII f259fdc808 Revert Settings settingValue function 2024-07-08 00:14:14 +02:00
DariusIII c7c8287311 Fix missing settings data from site edit page (add back __get function) 2024-07-03 23:09:27 +02:00
DariusIII 9a330c459f Add return types and extract code for better reading 2024-06-29 22:23:35 +02:00
Fossil c12ca477ed Retrieve all settings once
- Every time Settings class is instantiated it will retrieve all settings in one go. No more separate queries for one row.
- Can still use the settingValue method everywhere in NNTmux like before
2024-06-29 21:15:48 +01:00
DariusIII a35dc2e021 CS fixes 2024-06-29 21:37:01 +02:00
DariusIII da017dd1a2 Remove unused stuff 2024-06-29 21:36:46 +02:00
DariusIII be26b081df Fix couple of issues introduced after shift update 2023-03-30 21:44:25 +02:00
Shift 71e1631df6 Remove redundant typing from DocBlocks 2023-03-30 14:15:45 +00:00
Shift afb0f41611 Add PHP type hints 2023-03-30 14:15:39 +00:00
Shift dd2f3034c7 Remove unnecessary $table property
By convention, Laravel uses the "snake case", plural name of the class as the table name.
2023-03-30 14:15:22 +00:00
DariusIII 49872346f2 CS code fixes by pint 2023-03-02 16:47:20 +01:00
DariusIII c33db34c49 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-13 20:01:06 +00:00
DariusIII f3cde99e37 Rename $match and variations to $hit for PHP 8 compatibility 2020-12-02 10:55:09 +01:00
DariusIII 02ad342bac Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-05 01:56:40 +00:00
DariusIII b343c02c63 Update project files 2020-02-05 00:39:09 +00:00
DariusIII 475910ec97 Use the new remember() function for lazycollections 2019-11-06 17:30:39 +01:00
DariusIII 5a8fff0020 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-01 19:52:18 +00:00
DariusIII 5368d3a27a Use LazyCollections where possible to reduce memory usage of queries 2019-09-11 21:51:56 +00:00
DariusIII 289299187e Update model doc blocks 2019-08-28 23:41:42 +00:00
DariusIII e94ab1822f Use the new insertOrIgnore function in place of insertIgnore from yadakhov/InsertOnDuplicateKey library 2019-08-21 10:04:04 +02:00
DariusIII bab65321a9 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-01-31 19:18:57 +00:00
DariusIII 552a096d9a Update and fix code with php-cs-fixer 2019-01-31 20:17:57 +01:00
DariusIII ef270cd638 Make settingValue function silent for undefined inde 2019-01-28 13:30:31 +01:00
DariusIII 0951ad524a Simplify settingValue function 2019-01-28 11:30:19 +01:00
DariusIII a96b1a81e8 Update settingValue function in Settings model 2019-01-28 11:26:48 +01:00
DariusIII 08587047d3 Update toTree function 2019-01-24 13:58:31 +01:00
DariusIII 3ba1f17d6c Simplify settingValue function in app/Models/Settings model 2019-01-24 11:39:59 +01:00
DariusIII b7daf85399 Update PHPDOC blocks defined return types where bool was declared and only false was returned 2018-08-03 14:41:10 +02:00
DariusIII 373bee03c3 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-07-25 10:36:50 +00:00
DariusIII 2589061b5f Remove unused functions from Settings and Utility classes 2018-07-25 12:36:30 +02:00
DariusIII 285ca30d25 Remove usage of CacheQueryBuilder trait 2018-05-24 21:34:21 +02:00
DariusIII 70aaffbb22 settingValue function will not throw an exception anymore on empty setting value, but will return null 2018-05-16 10:00:11 +02:00
DariusIII 9e4959950e Add barryvdh/laravel-ide-helper 2018-05-14 23:18:48 +02:00
DariusIII ce193c994b Apply fixes from StyleCI
[ci skip] [skip ci]
2018-05-10 09:35:39 +00:00
DariusIII 126a4525ad Cache queries on request to prevent running many duplicated queries 2018-05-10 11:22:58 +02:00
DariusIII 31b196d467 Fix update of tmux settings 2018-02-28 22:51:27 +01:00
DariusIII 66fcf1e037 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-02-28 14:57:14 +00:00
DariusIII 3734696203 Update Settings model and tmux-edit page to handle page updates 2018-02-28 15:55:55 +01:00
DariusIII a5a14127b0 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-02-19 11:49:37 +00:00
DariusIII 0120d57337 Merge tmux settings into settings table 2018-02-19 12:49:08 +01:00
DariusIII 314e601e44 Rename nntmux namespace and folder to Blacklight 2018-02-14 23:08:17 +01:00
DariusIII cefe3643b8 Update migrations, add stored procedures and trigers, fix phpunit test 2018-01-22 22:39:47 +01:00
DariusIII 18c148588a Apply fixes from StyleCI
[ci skip] [skip ci]
2018-01-20 22:52:16 +00:00
DariusIII 7c01a6faa5 Update install process 2018-01-20 23:50:31 +01:00