summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
Commit message (Collapse)AuthorAgeFilesLines
* * added support for show inherited attributes to the search actions, tooOliver Tappe2008-02-091-194/+160Star
| | | | | | | | | * cmdline options are now collected in a hash, not in individual variables, as this is much clearer * specifying --inherited now always activates --verbose (in order to actually show attributes) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1522 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-271-7/+8
| | | | | | | | | | | | | | | | | | naming and other recent discussions of user interface. * adjusted and simplified code to the fact that plugins are now named in all lowercase * slxos-plugin --verbose list now shows description for each plugin and a list of supported attributes * fixed some outstanding issues with respect to lowercasing of plugin names * Separated theme::name into theme::splash, theme::displaymanager and theme::desktop, leading to DB-schema 0.24. Please note that although these attributes exist, currently only theme::splash is being used (the new ones will be used by the reimplemented mkdxsinitrd) * moved some information gathering from OSPlugin::Engine into OSPlugin::Roster, where it belongs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1500 95ad53e4-c205-0410-b2fa-d234c58c8868
* adjusted following the recent discussion on the devel list:Oliver Tappe2008-01-261-21/+59
| | | | | | | | | | | | * list-attr now defaults to a tight listing of the known attributes (you can request the full info via --verbose) * list-attr now supports selecting only the attributes for a specific scope * list-system and list-client can now be instructed to show the inherited attributes, too (via --inherited), along with the info where each attribute has been inherited from. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1496 95ad53e4-c205-0410-b2fa-d234c58c8868
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-3/+5
| | | | | | (fixed the second incarnation of this bug, too) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1471 95ad53e4-c205-0410-b2fa-d234c58c8868
* * avoid possible warnings about undefined values in regex-substitutionOliver Tappe2008-01-121-4/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1470 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug where changing an attribute of a client or system would dropOliver Tappe2008-01-111-4/+64
| | | | | | | | | | all other (pre-existing) attributes * now detailed info about the active plugins are shown when listing a system * the default attributes of the plugins are now synchronized against the default system whenever a plugin is installed into a vendor-OS (otherwise, the respective plugin would not be activated automatically) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1464 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now accepts \n and \t in values and converts them to the respective realOliver Tappe2008-01-111-3/+14
| | | | | | thing (newline or tab) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1459 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that disallowed setting of scoped (a.k.a. plugin-specific) Oliver Tappe2008-01-091-2/+2
| | | | | | attributes (the contained double-colon was being rejected) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1456 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several smaller bugs found when testing slxexportOliver Tappe2008-01-071-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1446 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished refactoring of attribute handling code, especially theOliver Tappe2008-01-071-37/+139
| | | | | | | | | | | | | merging of attributes, such that all tests are passed * tested and finished implementation of group support in slxconfig * added new class AttributeRoster which keeps track of the known attributes (the ones provided by the openslx core and any other ones that may have been added by some plugin). * added new option --list-attributes to slxconfig which shows information about all known attributes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1444 95ad53e4-c205-0410-b2fa-d234c58c8868
* more refactoring (not limited to attribute handling)Oliver Tappe2008-01-041-15/+50
| | | | | | | | | * completed separation of attributes and standard (column) values * improved tests a lot That work is still not finished, so expect things to fail horribly. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1443 95ad53e4-c205-0410-b2fa-d234c58c8868
* more work at refactoring of the way attributes are handled:Oliver Tappe2008-01-041-19/+84
| | | | | | | | | | | * finished and integrated support for declaring known attributes from within plugins (they need to install a AttrInfo module) * implemented support for checking which attributes are applicable to systems and clients respectively * adjusted slxconfig to new attribute handling (systems only at the moment) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1441 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed typo (13 times), the new method is named getColumnsOfTable(), notOliver Tappe2007-12-041-13/+13
| | | | | | getColumnsForTable(). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1418 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for groups (add, change, list, remove and search)Oliver Tappe2007-11-291-66/+351
| | | | | | This has not been tested yet, so beware! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1413 95ad53e4-c205-0410-b2fa-d234c58c8868
* * started to work on group-support (unfinished!)Oliver Tappe2007-11-041-23/+60
| | | | | | * cosmetical changes git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1404 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed dumb bug that caused argument values to be rejected when they are Oliver Tappe2007-10-011-1/+1
| | | | | | empty - doh! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1362 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing support for changing exports and vendor-OSesOliver Tappe2007-08-291-15/+87
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1330 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Fixed another bug reported by Bastian:Oliver Tappe2007-07-311-280/+320
| | | | | | | | | | | | | Default-client & -system recognition was dependant on the ID 0, which is not really possible with mysql (I do not count changing the server-global variable autoincrement_offset as an option). Now, we simply use the name instead. * changed slxconfig to reflect the direct relations between systems and clients, not the aggregated ones, as I found it confusing this way (slxconfig is rather a low-level tool). * minor cleanup in ConfigDB.pm git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1294 95ad53e4-c205-0410-b2fa-d234c58c8868
* * base work towards utf8-cleanness (it is now possible to handle vendor-OSesOliver Tappe2007-07-211-1/+1
| | | | | | | | | whose name contain UTF8-characters * fixed problem with locale-specific number format being used during DB- creation (fixes the problem that database access would only work once for de_DE-locales [reported by Detlef Schulz]) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1266 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed use of an uninitialized valueOliver Tappe2007-07-181-11/+24
| | | | | | | * added support for automatically dropping 'name=""' constructs whenever only the name is expected (as a special gift to Dirk ;-P) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1253 95ad53e4-c205-0410-b2fa-d234c58c8868
* * some cleanup - we now make use of here-docs where feasibleOliver Tappe2007-07-181-16/+19
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1252 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split listing functionality into list-... and search-..., such that list-...Oliver Tappe2007-07-181-16/+157
| | | | | | | | only lists the elements with the given names (no more need to specify name='<name>'), while search-... executes an arbitrary key-value search (and thus requires key-value-pairs as parameters). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1248 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed a couple of 'use of uninitialized values' reported by DirkOliver Tappe2007-07-181-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1244 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-101-5/+12
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed use of uninitialized valueOliver Tappe2007-07-061-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1227 95ad53e4-c205-0410-b2fa-d234c58c8868
* * verbose-mode is now activated automatically if you request the listingOliver Tappe2007-07-011-0/+8
| | | | | | of some type and pass in specific arguments git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1208 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-011-5/+6
| | | | | | | 'use of uninitialized values', a couple of which might still show up * adjusted all code with respect to passing perlcritic level 4 and 5 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1207 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split export type into filesystem and (optional) blockdevice, closingOliver Tappe2007-06-201-10/+10
| | | | | | | ticket#139 * code-reformatting with perltidy git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1176 95ad53e4-c205-0410-b2fa-d234c58c8868
* largish change with respect to configurable paths:Oliver Tappe2007-06-171-9/+8Star
| | | | | | | | | | | | | | | | | | | | * instead of supporting configurable paths at different hierarchy levels, there are now only five configurable folder: + base-path (/opt/openslx), fixed at installation time + config-path (/etc/opt/openslx), fixed at installation time + private-path (/var/opt/openslx), freely configurable by user + public-path (/srv/openslx), freely configurable by user + temp-path (/tmp), freely configurable by user this closes ticket#143 * several holes have been plugged concerning the creation of folders before they are accessed, closing ticket#142 * the functionality of generating config default folders has been moved from the Makefile into a new Perl-module (ConfigFolder.pm), in order to be available to the Perl-scripts, too * slxsettings has been changed to reflect the nature of base-path and config-path as fixed paths git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1172 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed all warnings indicated by 'perl -w'Oliver Tappe2007-06-131-4/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1162 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanup of PODs with respect to Eclipse syntax highlightingOliver Tappe2007-05-091-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1036 95ad53e4-c205-0410-b2fa-d234c58c8868
* * list-systems in verbose mode now shows type of export next to the name, inOliver Tappe2007-04-221-2/+2
| | | | | | | | order to make it obvious which export-type any system is using. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@917 95ad53e4-c205-0410-b2fa-d234c58c8868
* * set appropriate default values for start_xdmcp and start_x in case the ↵Oliver Tappe2007-04-141-0/+16
| | | | | | | | | system-name contains 'kde' or 'gnome'. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@887 95ad53e4-c205-0410-b2fa-d234c58c8868
* * if no clients have been specified for a new system, the system will be ↵Oliver Tappe2007-04-121-0/+5
| | | | | | | | | added to the default client, which will make it available for booting by *all* clients. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@879 95ad53e4-c205-0410-b2fa-d234c58c8868
* * for better consistency, the name has to be given without the 'name='-prefix,Oliver Tappe2007-04-121-59/+77
| | | | | | | | as is done in all the other scripts. * added some more sanity checks during addition of clients & systems. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@878 95ad53e4-c205-0410-b2fa-d234c58c8868
* * even more work on consolidating the PODs. Hopefully, I'm finished now...Oliver Tappe2007-04-031-145/+38Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@858 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more POD consolidationOliver Tappe2007-04-011-76/+103
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@850 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved POD formattingOliver Tappe2007-04-011-81/+265
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@849 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved default values for systems and client into DB-layerOliver Tappe2007-04-011-19/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@847 95ad53e4-c205-0410-b2fa-d234c58c8868
* * system-names will no longer be automatically set, you have to specify them ↵Oliver Tappe2007-04-011-46/+75
| | | | | | | | | | | | | manually. However, you no longer have to give the export name if it is the same as the system name (which is true in most cases) * when listing the exports, the type will be listed, too, in order to be able to differentiate between two exports sharing the name (but having different types). * improved examples git-svn-id: http://svn.openslx.org/svn/openslx/trunk@845 95ad53e4-c205-0410-b2fa-d234c58c8868
* * circumvent dubious problem with perldoc in combination with UTF-8 thatOliver Tappe2007-04-011-1/+6
| | | | | | | | | leads to strange dashes and single-quotes being used, in result making it impossible to copy'n'paste examples git-svn-id: http://svn.openslx.org/svn/openslx/trunk@842 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added several missing closing brackets in PODOliver Tappe2007-03-291-5/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@833 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for adding/removing of clients to/from a system, without ↵Oliver Tappe2007-03-261-57/+115
| | | | | | | | | | | | having to specify the resulting list * added support for adding/removing of systems to/from a client, without having to specify the resulting list * improved formatting of output to some degree git-svn-id: http://svn.openslx.org/svn/openslx/trunk@825 95ad53e4-c205-0410-b2fa-d234c58c8868
* * --list-systems now shows the names of the respective systems' clients, tooOliver Tappe2007-03-261-12/+51
| | | | | | | | * --list-clients now shows the names of the respective clients' systems, too * --list-exports now shows the names of the respective exports' vendor-OS, too git-svn-id: http://svn.openslx.org/svn/openslx/trunk@822 95ad53e4-c205-0410-b2fa-d234c58c8868
* * inserted correct copyright headerOliver Tappe2007-03-231-4/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@813 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect uses of the _tr() functionOliver Tappe2007-03-231-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@812 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed this script:Oliver Tappe2007-03-231-81/+335
| | | | | | | | | - added support for changing and removing of clients and systems - added support for verbose output - finished POD git-svn-id: http://svn.openslx.org/svn/openslx/trunk@800 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added the options '--list-clients', '--list-exports', '--list-systems' andOliver Tappe2007-03-161-0/+42
| | | | | | | | '--list-vendor-oses' which trigger a list of the respective objects that as defined in the config-DB. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@778 95ad53e4-c205-0410-b2fa-d234c58c8868
* * largish overhaul, changed ConfigDB to be object-oriented (could be ↵Oliver Tappe2007-03-151-34/+50
| | | | | | | | | | | improved, though!) * slxos-setup, slxos-export, slxconfig and slxconfig-demuxer can now be run one after the other in order to get a complete setup * still problems when trying to boot that system here, need to investigate... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@774 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanupOliver Tappe2007-03-131-25/+15Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@764 95ad53e4-c205-0410-b2fa-d234c58c8868