summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
Commit message (Collapse)AuthorAgeFilesLines
* * removed setting default values for attributes that do not exist anymoreOliver Tappe2009-01-281-31/+14Star
| | | | | | | (start_x and start_xdmcp) * cleanup in docs git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2534 95ad53e4-c205-0410-b2fa-d234c58c8868
* * slxconfig and slxos-plugin now treat the name 'default' as an alias forOliver Tappe2008-08-211-1/+4
| | | | | | '<<<default>>>', which spares us all unnecessary typing ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2073 95ad53e4-c205-0410-b2fa-d234c58c8868
* git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2048 ↵Oliver Tappe2008-08-181-1/+1
| | | | 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed list-attributes command to support being given attribute names, tooOliver Tappe2008-08-071-7/+19
| | | | | | | | (instead of just attribute scopes) * corrected help text for list-attributes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1988 95ad53e4-c205-0410-b2fa-d234c58c8868
* * separated synchronization of attributes from removal of stale references,Oliver Tappe2008-06-021-0/+18
| | | | | | | | | as the are in fact two separate concepts (and are invoked from different contexts) * added cleanup-db command to slxconfig which can be used to get rid of references to unknown attributes and/or plugins git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1836 95ad53e4-c205-0410-b2fa-d234c58c8868
* * heavily redesigned and improved the checking of attributes: instead of dyingOliver Tappe2008-05-241-2/+14
| | | | | | | | | | | on the first error, we now collect all errors and return them. The caller can now decide what to do - die or just print a warning or whatever. * slxconfig now dies with the list of all attribute problems if there were any * slxconfig-demuxer prints warnings for all attribute problems that were found (checking for each system & client in turn) * adjusted desktop plugin to API changes concerning the attribute checks git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1796 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented checking of attributes for groups and clients in slxconfigOliver Tappe2008-05-241-3/+15
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1789 95ad53e4-c205-0410-b2fa-d234c58c8868
* * attributes set via slxconfig are now being checked not only against the ↵Oliver Tappe2008-05-221-14/+35
| | | | | | | | | | | | | | respective regex, but the corresponding plugin is being invoked to do a check of its own, too (where it has the chance to look at the vendor-OS attributes and determine the possible stage3-values from their state). * listing a vendor-OS in verbose mode now shows the vendor-OS attributes (stage1 & stage3), too * used Clone::clone instead of Storable::dclone since the latter is not capable of cloning compiled regexes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1783 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug in slxconfig introduced yesterday that would not allow settingOliver Tappe2008-05-211-7/+1Star
| | | | | | any attribute that has not come from a plugin (reported by Reiner) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1779 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to slxconfig for checking the given attribute values againstOliver Tappe2008-05-201-0/+7
| | | | | | | their respective regex, an appropriate complaint is shown if the value doesn't match git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1778 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed --verbose-level to --log-level to make it more separate from ↵Oliver Tappe2008-04-071-1/+1
| | | | | | --verbose. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1729 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-201-1123/+1123
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs with respect to the listing of plugins (as part of a systemOliver Tappe2008-03-191-7/+13
| | | | | | or vendor-OS) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1657 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs in the config-demuxer caused by recent changes in pluginOliver Tappe2008-03-171-1/+1
| | | | | | | | | | | | | | | code (the way plugin info is returned from DB) * Added support to mergeDefaultAttributesIntoSystem() for merging in attributes that are stored in the installed plugins of the corresponding vendor-OS. The new order for system attribute selection is: 1. default client 2. specific system 3. vendor-OS (plugin attributes only) 4. default system git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1648 95ad53e4-c205-0410-b2fa-d234c58c8868
* * hopefully finally fixed the utf8-related character problems in --manOliver Tappe2008-02-121-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1539 95ad53e4-c205-0410-b2fa-d234c58c8868
* * 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