summaryrefslogtreecommitdiffstats
path: root/server/api
Commit message (Collapse)AuthorAgeFilesLines
...
* | [registrations] Fix: scripts with sortvalue 0 were ignored.Jannik Schönartz2018-11-211-2/+4
|/
* [idoit] Clients are now added to the idoit backendJannik Schönartz2018-11-122-3/+37
| | | | | | | | Delete client in the backends if client is deleted in the bas. Add method for creating the client in the backends Add method for adding additional information to the client in the backend Add backend helper for calling all backends with the matching external id Add idoit mehtod for creating and updating a client
* [registration] add configurator for registration hooksUdo Walter2018-11-122-1/+60
|
* [iDoIT] Rework the import method to use batch requestsJannik Schönartz2018-11-041-1/+33
| | | | The use of batch request reduce the import time from 1h 10+ min to about 5 min.
* eslint fixJannik Schönartz2018-10-111-1/+0Star
|
* [registration] Set registration state when client is addedJannik Schönartz2018-10-112-19/+46
| | | | | | [configloader] Add functionality to boot the ipxe script or minilinux. Add ipxe script, which boots the minilinux. Add script to grep the hw data with dmidecode
* [configloader] add missing line to make the dynamic menu selectableChristian Hofmaier2018-10-111-1/+1
|
* [configloader] load parent configChristian Hofmaier2018-10-111-23/+91
| | | | | | if client has no config, search the parents if multiple parents of a layer have a config, build a dynamic menu if client has no parents or no parent has a config, load default
* [registration] Add functionality to the set registration state API callJannik Schönartz2018-10-111-10/+42
| | | | Recursion was needed, to get all the recursive parent groups.
* [registration] Add dbs and code for the registration scriptsJannik Schönartz2018-10-102-2/+56
| | | | | | | Add Table for the registration hooks. Add Table for the hooks - groups association. Add nexthook for the minilinux to pull the next bash script. Add state for setting the new script after completing the current one.
* [server/configurator] nvm ipxe doesn't support timeout 0 anywaysUdo Walter2018-09-181-1/+1
|
* [server/configurator] fix timeout 0 not workingUdo Walter2018-09-181-1/+1
|
* fix eslintChristian Hofmaier2018-09-181-5/+2Star
|
* mergeUdo Walter2018-09-181-1/+1
|\
| * [configloader] improved pathfindingChristian Hofmaier2018-09-181-1/+1
| |
* | [server/configurator] sorting using sqlUdo Walter2018-09-181-2/+1Star
|/
* [configloader] Load specific configurationChristian Hofmaier2018-09-181-3/+76
| | | | | | If client has a config assigned load it else look if groups have a config (first layer only) else load default config
* [configurator] add ipxe configuratorUdo Walter2018-09-181-0/+80
|
* [external-backends/idoit] Rework getDataTree from promises to async / awaitJannik Schönartz2018-09-171-1/+1
|
* [registration] Add parent tree view in the manual registrationJannik Schönartz2018-08-291-25/+71
| | | | | | | Add parents as not clickable boot entry. Indent childs to get a tree view. Fix switch bug in the external-backends module. Add utf-8 to ascii escaping because ipxe can't use utf-8
* [registration] Add spaces and parent path to the manual registrationJannik Schönartz2018-08-291-33/+53
|
* [registration/dhcp] Implement dhcp as external-backendJannik Schönartz2018-08-281-45/+23Star
| | | | | | | | Registration -> Registrations to match API guidelines. Fixed shell script to only build undionly.kpxe. Added infoblock external-backend. Removed dhcp from config.json Fixed ipxe scripts to match the registrations.
* [configloader] made the code actually workChristian Hofmaier2018-08-201-1/+3
|
* [configloader] add configloaderChristian Hofmaier2018-08-201-0/+19
| | | | | loads default config or first registration config for testing purposes of first registration of clients
* [tftp] Remove tftpJannik Schönartz2018-08-202-32/+90
| | | | | Remove tftp server because an external tftp is used. Adding client from registrationscript is now working.
* [firstregistration] First start of the new client registrationJannik Schönartz2018-08-172-45/+103
| | | | | | Router now also can use non auth methods. (Used for the registration calls) Added ipxe scripts for the registration Added backend methods for dynamic ipxe scripts and first try of a dhcp api call
* [server/router] Fix eslint errorsJannik Schönartz2018-08-103-6/+0Star
|
* [server/router] Rework routerJannik Schönartz2018-08-103-336/+363
| | | | Reworked the router to match more design guidlines with the REST apis
* [permissions] Add recursive group selection + tables changed to search tablesChristian Hofmaier2018-08-101-4/+5
| | | | | | | | Role Table has now a new column recursiveGroups to display if recursive selection is wanted Roles and Permissions can now have longer descriptions Data-Tables are now Udos Search-Tables
* [server/database] Delete old database libJannik Schönartz2018-08-081-1/+0Star
| | | | | Because of the use of sequelize, the old mysql database lib becomes unnecessary. Remove old code that was not used anymore.
* Roles of Users now in fancy boxes and other small ui polishingChristian Hofmaier2018-08-071-1/+1
|
* [groups] add ability to show all nested children and not just direkt ↵Udo Walter2018-08-072-40/+43
| | | | children + bug fixes
* mergeJannik Schönartz2018-08-062-0/+48
|\
| * language tags and function commentsChristian Hofmaier2018-08-062-0/+48
| |
* | [server/external-backends] Implemented import Objects from iDoITJannik Schönartz2018-08-061-5/+133
|/ | | | | | renamed external-backends.js in index.js so its return when requireing the folder Added new tables for the external id mapping for clients / groups iDoIT method for importing Objects and adding them in the db with all neccessary constraints
* mergeUdo Walter2018-08-052-7/+23
|\
| * ESlint is a great thing...Christian Hofmaier2018-08-051-8/+8
| |
| * Add Role Create/EditChristian Hofmaier2018-08-052-8/+24
| |
* | [webapp] improved data table with search and pagination;Udo Walter2018-08-052-2/+2
|/
* [external-backends] Added comments for the API functions and in the ↵Jannik Schönartz2018-08-051-9/+96
| | | | external-backend prototype file. Added iDoIT method to get a list of all objects.
* fixed eslintChristian Hofmaier2018-08-052-21/+21
|
* code adaptionChristian Hofmaier2018-08-052-14/+11Star
|
* mergeChristian Hofmaier2018-08-055-112/+284
|\
| * [external-backends] Sync types are now defined in the backend classes, so ↵Jannik Schönartz2018-08-041-5/+15
| | | | | | | | every backend can define their own sync methods.
| * [groups] small bug fixesUdo Walter2018-08-042-2/+2
| |
| * [server/groups] add 404 status code if group / client id not foundUdo Walter2018-08-042-32/+34
| |
| * [server/external-backends] Added sync settings for the backends. Method for ↵Jannik Schönartz2018-08-021-0/+34
| | | | | | | | getting the backend oject types and the client / group mapping saved in the db.
| * [groups] add dialog to delete, remove and add groups/clientsUdo Walter2018-08-022-3/+43
| |
| * [groups] add delete client/group functionalityUdo Walter2018-08-022-2/+12
| |
| * [groups] add ability to show all groups and clientsUdo Walter2018-08-022-0/+14
| |