summaryrefslogtreecommitdiffstats
path: root/modules-available/locations
Commit message (Collapse)AuthorAgeFilesLines
* [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
| * [dozmod] Improve location & exam mode detectionSimon Rettberg2017-11-141-4/+13
| |
| * [locations] Missing typecast for locationidSimon Rettberg2017-11-031-1/+1
| |
| * [locations] fix missing locationId on ip/uuid ...Jonathan Bauer2017-09-051-19/+18Star
| | | | | | | | | | ... when the client's ip falls within a known range but its uuid has not been recorded yet and the client requests its config by uuid.
* | [locations] added warning if subnets are marked for deletion; locations now ↵Udo Walter2017-10-185-5/+45
| | | | | | | | scroll into view; subnet list now sorted by startip;
* | [locations] changed coloring of naviation buttons from blue to 'pressed down'Udo Walter2017-10-132-2/+2
| |
* | [locations] moved 'delete location' button to the bottom and added text;Udo Walter2017-10-132-5/+3Star
| | | | | | | | resized select field in 'add location' row;
* | [locations] implemented new permission systemUdo Walter2017-10-037-41/+153
| |
* | [statistics] fixed inconsistenciesUdo Walter2017-09-281-1/+1
| |
* | [locations] small design changesUdo Walter2017-09-253-10/+6Star
| |
* | [locations] fixed inconsistencies + small design changesUdo Walter2017-09-135-55/+104
|/