summaryrefslogtreecommitdiffstats
path: root/inc/module.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix more type errors, stricter typingSimon Rettberg2023-11-151-0/+2
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-31/+32
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-021-1/+1
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [inc/Util] Add types, move error printing functions to their own classSimon Rettberg2022-05-021-1/+1
|
* [Module] Add phpdocSimon Rettberg2020-09-171-1/+6
|
* [inc/Dashboard] Add feature to collapse sections in sidebar modeSimon Rettberg2019-03-261-0/+7
| | | | | | Modules can now declare that they should be collapsed by default. If a menu category only contains such modules, it will be collapsed in the sidebar mode of the menu.
* Don't try to load non-existent style.css/clientscript.jsSimon Rettberg2018-04-271-2/+2
|
* [inc/Module] Overhaul dependency loading and handling of js/cssSimon Rettberg2018-04-131-23/+40
| | | | This is supposed to prevent unneeded js/css from being pulled in
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-161-1/+1
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [inc/module] Fix sorting bug, show errors in debug mode, add optional param ↵Simon Rettberg2017-11-031-6/+8
| | | | to isAvailable()
* Remove debug loggingSimon Rettberg2017-05-101-3/+0Star
|
* Add support to declare multiple css/js per module with loading condition:Simon Rettberg2017-05-101-2/+37
| | | | | | | | | A css/js can be declared to only load if the module in question is the page module being rendered, or to always be loaded even if the module is just a dependency. The second case is useful for plugin type modules. See one of the config.json files updated in this commit on how to specify css/js to load. true = always load, false = only if page module.
* [baseconfig*] Fix translation hook to only consider the current moduleSimon Rettberg2016-08-291-1/+2
|
* Change menu overriding mechanism; simpler, now also supports changing the ↵Simon Rettberg2016-07-071-2/+10
| | | | category of a module
* [module] Add getDependencies() to recursively get all deps of a moduleSimon Rettberg2016-06-231-0/+22
|
* [render/modules] Include scripts/css in order according to dependenciesSimon Rettberg2016-06-171-6/+8
|
* [module] PageTitle: Fallback to module nameSimon Rettberg2016-06-091-1/+4
|
* MORE WMORKSimon Rettberg2016-05-181-3/+18
|
* Get baseconfig ready for modularizationSimon Rettberg2016-05-131-0/+17
|
* Still working in modularization cleanup and refinementSimon Rettberg2016-05-111-0/+5
|
* Translating module strings and custom sections worksSimon Rettberg2016-05-101-15/+2Star
|
* Work on translations: templates and messages workSimon Rettberg2016-05-041-11/+22
|
* More Progress; Merged changes from ufpr up to ↵Simon Rettberg2016-04-291-2/+12
| | | | 775cdbd29f5d0f70946d1d5ff09c091e6189c9e9
* Implemented new menu, added logic for defining dependencies, move ↵Simon Rettberg2016-04-281-0/+173
translation files around