summaryrefslogtreecommitdiffstats
path: root/inc/user.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* Add tests using PHPUnitSimon Rettberg2025-12-121-2/+0Star
| | | | | | | Tests generated by Junie AI. Might not have the best possible quality but at least we got something, and if it turns out to be complete rubbish, we can just throw it out again without any issues, as this is independent of the actual code base.
* [locations] Cleanup Location classSimon Rettberg2025-07-071-2/+1Star
| | | | | | | | | | There was a mess of functions which mostly, but not quite, did the same things. Get rid of a couple of them and fix call sites to use alternative ones that also fit the job. While at it, add phpdoc and comments to the remaining functions, trying to clarify what they were designed for. Lastly, the return type of functions that retrieve a location id has been changed from false|int to ?int (nullable types are just nicer).
* Add audit logging of POST actionsSimon Rettberg2025-05-221-3/+5
|
* [inc/User] Fix typesSimon Rettberg2025-05-201-3/+3
|
* [webinterface] Add event log messages for cert changesSimon Rettberg2024-10-111-0/+7
|
* Fix type errorsSimon Rettberg2024-01-171-1/+1
|
* 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-9/+13
|
* [inc/User] Make sure user has a tokenSimon Rettberg2021-06-281-10/+18
|
* [locations/minilinux] Minor cleanups and fixesSimon Rettberg2021-06-241-2/+2
|
* [session] Add option to bind session to IP addressSimon Rettberg2021-05-111-2/+2
|
* [main+Session] Move session from /tmp/ to session tableSimon Rettberg2021-05-111-6/+4Star
|
* Fix deprecated curly braces string indexing (PHP 7.4)Simon Rettberg2021-03-251-3/+3
|
* [inc/User] Fix access to Page if class is not loadedSimon Rettberg2018-08-071-2/+9
|
* [inc/User] Activate module locations before accessSimon Rettberg2018-04-161-2/+6
|
* [permissionmanager] Introduce dedicated "permission denied" pageSimon Rettberg2018-03-291-4/+13
| | | | Closes #3350
* [inc/User] Make userid type int to fix string comparesSimon Rettberg2018-03-291-0/+1
|
* [inc/User] assertPermission(): Don't redirect if it's an ajax callSimon Rettberg2018-02-161-0/+4
|
* [inc/User] getAllowedLocations(): Support cross-module checkingSimon Rettberg2018-02-151-2/+6
|
* Permissions: Introduce helper functions for common tasksSimon Rettberg2018-02-091-2/+27
| | | | | | | assertPermission ensures the user has a given permission and halts execution otherwise. addGlobalTags is a helper to fill an array for the rendering process with tags associated with (missing) permissions.
* [inc/User] Add locationid 0 to allowed locations in fallback modeSimon Rettberg2018-02-081-2/+5
|
* [inc/User] Removed unecessary logging lineSteffen Ritter2018-01-111-1/+0Star
|
* 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/User] Fix getAllowedLocations for legacy permission managerSimon Rettberg2017-12-011-0/+2
|
* [inc/User] Fix permission compat to old systemSimon Rettberg2017-12-011-1/+3
|
* [permissionmanager] added possibility to get a list of allowed locations for ↵Udo Walter2017-04-251-4/+13
| | | | a given permission + bugfixes
* [permissionmanager] changed description to tooltipsUdo Walter2017-04-101-1/+7
|
* [session] Add simple "change password" GUISimon Rettberg2016-09-081-0/+17
|
* [usermanagement] Merge changes from 'gitlab.c3sl.ufpr.br/cdn/slx-admin.git'Simon Rettberg2016-05-191-15/+0Star
|
* Fix CSRF token checking; improve token/sid generationSimon Rettberg2016-05-191-2/+10
|
* MORE WMORKSimon Rettberg2016-05-181-1/+1
|
* [merge] merging c3sl / fr - initial commitJonathan Bauer2016-04-011-0/+23
|
* Big load of changesSimon Rettberg2014-10-091-9/+32
| | | | | | | | | | | - Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout
* OO style modulesSimon Rettberg2014-05-191-1/+4
|
* Comments, minor refactoring, possiblity to validate configuration parametersSimon Rettberg2013-10-311-1/+1
|
* First version of basic minilinux configurationSimon Rettberg2013-10-291-0/+6
|
* DB-Support, add user functionalitySimon Rettberg2013-10-281-11/+14
|
* Day 3Simon Rettberg2013-10-171-18/+8Star
|
* New stuffSimon Rettberg2013-10-161-0/+59