summaryrefslogtreecommitdiffstats
path: root/modules-available/locations
Commit message (Collapse)AuthorAgeFilesLines
* [locations] Add missing array keySimon Rettberg2020-05-071-1/+2
|
* Update translationsSimon Rettberg2020-02-273-3/+2Star
|
* [locations] Don't consider *false* a valid fixed location idSimon Rettberg2020-01-171-0/+2
|
* [locations] Fix $selected array breakageSimon Rettberg2020-01-101-2/+8
| | | | | Fixes places like "edit exam" which wouldn't show already selected locations.
* Fix some typos (found by codespell)Stefan Weil2019-12-141-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* [js_ip/locations] Mode cidr/ip handling to own moduleSimon Rettberg2019-11-273-74/+5Star
|
* [locations] Show number of machines with configvar overridesSimon Rettberg2019-11-064-5/+35
|
* [baseconfig] Overhaul hook systemSimon Rettberg2019-11-053-21/+34
| | | | | | This enables us to finally properly show the inheritance flow of all the config variables when editing the baseconfig for a certain location or machine.
* [statistics/baseconfig] Allow per-machine configvar overridesSimon Rettberg2019-10-313-20/+33
|
* [locations] Update translationsSimon Rettberg2019-10-312-2/+2
|
* [locations] trim() subnet address fields, both empty == deleteSimon Rettberg2019-09-092-21/+39
| | | | Closes #3550
* [locations] Remove list filtering depending on permissionsSimon Rettberg2019-08-011-24/+6Star
| | | | | | | | | Locations where the user isn't allowed to do anything were supposed to be hidden while at the same time making sure that any parent locations would still be shown. That code was buggy and could display nonsensical ordering of locations, and even sometimes hide locations where the user was actually allowed to e.g. edit the assigned config module. Since the location names aren't secret anyways, just get rid of this broken code.
* [locations] Sort subnets by address in subnet viewSimon Rettberg2019-08-011-1/+3
|
* [locations] Refine location matching checksSimon Rettberg2019-08-012-21/+28
|
* [locations] Add warnings/cleanup for bad machine to roomplan mappingsSimon Rettberg2019-07-3116-697/+1112
|
* [locations] Optimize some functions in Location classSimon Rettberg2019-07-292-22/+28
| | | | | | | * Casts are faster than settype. * Check if assoc location cache is already populated. * getLocationRootChain can use the parents array from that location instead of building the array from scratch.
* [roomplanner] Support creating recursive/composed roomsSimon Rettberg2019-07-231-1/+3
|
* [roomplanner] First prototype of composed room editorSimon Rettberg2019-07-171-1/+1
| | | | | | | Saving/loading works, but no entry is generated for pvs.ini. Also this approach fails to meaningfully handle rooms with two removable walls where you also want to use both possible combinations of two combined rooms and a single one.
* [locations] subnet inputs: disabled -> readonly; disable save buttonSimon Rettberg2019-05-021-3/+3
| | | | | | | There was unfinished code to disable the save button if there are no actions allowed to perform in the location detail box, which is now working. Also make the text inputs readonly instead of diabled if we're not allowed to edit them, so copy & paste still works.
* [statistics/locations] Add locationid constraints; update on deleteSimon Rettberg2019-04-033-21/+32
| | | | | We didn't update subnetlocationid when deleting a location, leading to machines pointing to invalid locations.
* Introduce JS helper for bootstrap confirm dialogs on button-submitSimon Rettberg2019-03-252-6/+2Star
|
* [locations] Fix division by zeroSimon Rettberg2019-03-181-1/+1
|
* [serversetup-bwlp-ipxe/locations] Minor fixesSimon Rettberg2019-03-091-1/+1
|
* [locations] Fix display with old serversetup moduleSimon Rettberg2019-03-052-3/+3
|
* [locations] Show current boot menu per location, add edit buttonSimon Rettberg2019-01-114-18/+61
|
* [locations] Fix invalid array accessSimon Rettberg2019-01-021-1/+1
|
* [locations] Restore row with unassigned machinesSimon Rettberg2018-04-252-3/+12
|
* [locations] Fix machine countingSimon Rettberg2018-04-251-1/+1
|
* [inc/Module] Overhaul dependency loading and handling of js/cssSimon Rettberg2018-04-131-2/+2
| | | | This is supposed to prevent unneeded js/css from being pulled in
* Permissions: Consistency: Make all pages require at least one permission to ↵Simon Rettberg2018-04-091-4/+15
| | | | | | be accessible Closes #3340
* [locations] Handle statistics permissions when showing/linking machine statsSimon Rettberg2018-03-282-1/+19
|
* [locations] Make subnet list editable again :)Simon Rettberg2018-03-281-4/+4
| | | | Closes #3331
* Update translationsSimon Rettberg2018-03-212-4/+4
|
* [roomplanner] Add permissionsSimon Rettberg2018-02-272-5/+5
|
* [baseconfig] Add permissionsSimon Rettberg2018-02-241-0/+10
|
* [locations] Fix location list: Filter invalid location idsSimon Rettberg2018-02-221-0/+2
|
* [locations] Update translationsSimon Rettberg2018-02-154-14/+16
|
* [locations] One permission for direct subnet editing; restructure handling a bitSimon Rettberg2018-02-145-154/+150Star
|
* [permissionmanager] Introduce "location-aware" flag for permissionsSimon Rettberg2018-02-121-9/+23
| | | | | | | | | | This flag tells wether the permission can be restricted to certain locations in a meaningful way. This flag has to be set in the permissions.json of the according module. For example, the permission to reboot the server cannot be limited to certain locations in a meaningful way, while the view of the client log can be filtered to only show log entries for clients in specific locations.
* [locations] fixed root location not getting disabled in the dropdown ifUdo Walter2018-01-101-1/+0Star
| | | | the user does not have permisson for location 0
* Merge branch 'permission-manager' of openslx.org:openslx-ng/slx-admin into ↵Simon Rettberg2017-12-153-9/+27
|\ | | | | | | permission-manager
| * [permissionmanager] added support for localized permission descriptions;Udo Walter2017-12-073-9/+27
| | | | | | | | | | moved add/delete buttons to the right; items in the user and locations table can now be selected by clicking anywhere in the table row;
* | [locations] Redesign machine count column, make both counts clickableSimon Rettberg2017-12-072-12/+12
| |
* | [locations] Fix creating/editing locations at root (no parent)Simon Rettberg2017-12-051-3/+6
|/ | | | Fixes #3260
* [location] WTF?Simon Rettberg2017-12-011-2/+1Star
|
* [locations] Move overlap warnings to topSimon Rettberg2017-12-011-10/+13
|
* Merge branch 'master' into permission-managerSimon Rettberg2017-12-012-1/+26
|\
| * [roomplanner] Refactor to use runmodeSimon Rettberg2017-11-301-0/+25
| |
| * [locations] english text in en templateJonathan Bauer2017-11-301-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into permission-managerUdo Walter2017-11-211-24/+32
|\| | | | | | | | | | | # Conflicts: # modules-available/backup/templates/_page.html # style/default.css