summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX/DBSchema.pm
Commit message (Collapse)AuthorAgeFilesLines
* * added renaming functionality that upgrades exports and systems that follow Oliver Tappe2008-02-101-1/+24
| | | | | | the old naming scheme (single colon) to the current one (double colon) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1530 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped attribute ramfs_screen as it is no longer needed (splashy doesOliver Tappe2008-02-091-22/+14Star
| | | | | | | | | | not need to be given the screen-size) - updating schema version to 0.25 * little code simplification in DBSchema.pm * removed ramfs_screen from all tests * added method removeAttributeByName() to MetaDB in order to be able to remove attributes from the DB in a simple manner git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1528 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed commentOliver Tappe2008-02-091-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1524 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debugging outputOliver Tappe2008-01-271-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1501 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-271-1/+35
| | | | | | | | | | | | | | | | | | 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
* * fixed problems in AttributeRoster with respect to syntaxOliver Tappe2008-01-161-1/+1
| | | | | | | checking (perl -cw) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1476 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug where changing an attribute of a client or system would dropOliver Tappe2008-01-111-3/+3
| | | | | | | | | | 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
* * added new column 'description' to system, which holds an optionalOliver Tappe2008-01-111-255/+280
| | | | | | | | | | descriptive text that is going to be shown via PXE TEXT (as outlined by Michael in his work on PXE themes) * made setup of DB upgrade functions less error-prone (it is now harder to forget parts of the necessary setup) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1458 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented automatic synchronization of new/changed attributes (eitherOliver Tappe2008-01-081-121/+51Star
| | | | | | | from core or plugins) into the default system * reworked the way plugins pass out their attribute info git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1451 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved robustness of schema upgrading code against intermediateOliver Tappe2008-01-081-3/+6
| | | | | | problems (or oversights like my last one) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1449 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added missing invocation of _upgradeDBTo0_21(), such that nowOliver Tappe2008-01-081-0/+5
| | | | | | the auto upgrade to schema version 0.21 will actually work git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1448 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new DB-table 'installed_plugin', moving schema version to 0.21Oliver Tappe2008-01-081-1/+34
| | | | | | | | * added functionality to DB-layer for adding, removing and fetching plugins that have been installed into a vendor-OS. * added a set of tests related to installed plugins. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1447 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finished refactoring of attribute handling code, especially theOliver Tappe2008-01-071-96/+298
| | | | | | | | | | | | | 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-148/+25Star
| | | | | | | | | * 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-3/+38
| | | | | | | | | | * 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@1442 95ad53e4-c205-0410-b2fa-d234c58c8868
* * intermediate checkin of refactoring of the way attributes are stored in DBOliver Tappe2008-01-031-240/+409
| | | | | | | and passed in and out via the DB-layer N.B.: this may break things, will be fixed later today git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1440 95ad53e4-c205-0410-b2fa-d234c58c8868
* * completed basic tests and started to work on tests for aggregated valuesOliver Tappe2007-12-281-0/+1
| | | | | | (attributes) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1436 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed meaning of groups.priority such that it corresponds with sortingOliver Tappe2007-11-291-1/+1
| | | | | | | order (0 means highest, 99 means lowest) * added method for getting the column names of a specific table git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1412 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new DB-field attr_ramfs_miscmods to system tableOliver Tappe2007-10-051-2/+3
| | | | | | | | | | | * added support to slxconfig-demuxer for passing attr_ramfs_miscmods to mkdxsinitrd, such that it will be asked to copy the miscellaneous modules, too. N.B.: However this does not seem to work for vesafb, as the result was an empty directory 'vesafb.ko' in the initramfs. Does not seem right to me, at least ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1371 95ad53e4-c205-0410-b2fa-d234c58c8868
* * more work towards perlcritic compliance, fixed the low-hanging fruit Oliver Tappe2007-07-101-0/+1
| | | | | | for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
* * activated 'use warnings' to all modules and adjusted all occurences ofOliver Tappe2007-07-011-2/+4
| | | | | | | '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
* * fixed wrong default value for attribute 'start_xdmcp', should be 'kdm' Oliver Tappe2007-06-021-1/+1
| | | | | | | instead of 'kde' (reported by Dirk and Felix) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1139 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped superfluous column vendor_os.export_counterOliver Tappe2007-05-291-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1109 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed ramfs_fsmods and ramfs_nicmods to be (system-only) attributesOliver Tappe2007-05-061-3/+8
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1016 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new table global_info to DB-schema, in order to support nbd-server-portsOliver Tappe2007-05-061-0/+21
| | | | | | | | * added transaction support to config-DB * added support for incrementing global counters (which live in global_info) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1011 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed syntax problemsOliver Tappe2007-05-051-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1006 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added default values for all attributes to default systemOliver Tappe2007-05-051-0/+40
| | | | | | | * added missing attribute 'dm_allow_shutdown' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1005 95ad53e4-c205-0410-b2fa-d234c58c8868
* * filled attributes list with everything referenced in machine-setup.defaultOliver Tappe2007-05-031-13/+30
| | | | | | | | * reworked all attributes to be string types, in order to avoid having to map boolean attributes from "0/1" to "no/yes". git-svn-id: http://svn.openslx.org/svn/openslx/trunk@992 95ad53e4-c205-0410-b2fa-d234c58c8868
* overhaul the settings concept:Oliver Tappe2007-05-021-16/+0Star
| | | | | | | | | | * now all settings live in the settings file, no more settings table in the DB * clearified slxsettings and its options * removed all references to db table 'settings' * added some new extended settings git-svn-id: http://svn.openslx.org/svn/openslx/trunk@988 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added 'export_counter' to table 'vendor_os'Oliver Tappe2007-04-231-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@919 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed leftover of use_absolute_tftpOliver Tappe2007-04-111-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@875 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'use_absolute_tftp' from settings tableOliver Tappe2007-04-081-3/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@873 95ad53e4-c205-0410-b2fa-d234c58c8868
* * inserted correct copyright headerOliver Tappe2007-03-231-3/+10
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@813 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned up some schema inconsistenciesOliver Tappe2007-03-231-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@799 95ad53e4-c205-0410-b2fa-d234c58c8868
* * largish overhaul, changed ConfigDB to be object-oriented (could be ↵Oliver Tappe2007-03-151-39/+38Star
| | | | | | | | | | | 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
* bigfix in DBSchema, floppy image renamed to fd.imgMichael Janczyk2006-12-051-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@528 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed legacy attributes which are managed by externalOliver Tappe2006-10-311-7/+2Star
| | | | | | | | entities (DHCP and/or DNS). * added attr_auth_type and attr_home_type git-svn-id: http://svn.openslx.org/svn/openslx/trunk@498 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for new table 'settings', which containsOliver Tappe2006-10-291-0/+20
| | | | | | | the system-wide settings. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@489 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added OpenSLX-header to all my files.Oliver Tappe2006-10-031-0/+6
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@434 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor cleanupOliver Tappe2006-09-301-8/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@417 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for correct auto-generation of export_uri, such that the ↵Oliver Tappe2006-09-221-1/+2
| | | | | | | | | configuration should be independent of server-IPs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@386 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed 'descr' to 'comment'Oliver Tappe2006-09-081-13/+26
| | | | | | | | | | | * increased length of 'name' * added several ramfs_... attributes to tables system and system_variant that define how the initialramfs should be created * added client-specific kernel_params (e.g. to specify 'console') git-svn-id: http://svn.openslx.org/svn/openslx/trunk@367 95ad53e4-c205-0410-b2fa-d234c58c8868
* * changed attribute-names to make more senseOliver Tappe2006-08-291-25/+42
| | | | | | | | | * added table 'system_variant' * changed table 'group' to 'groups' as otherwise there are syntax errors with SQL-Servers git-svn-id: http://svn.openslx.org/svn/openslx/trunk@337 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now that project name is fixed, we use it: 'ODLX' => 'OpenSLX' and 'odlx' ↵Oliver Tappe2006-08-211-0/+220
=> 'openslx' git-svn-id: http://svn.openslx.org/svn/openslx/trunk@321 95ad53e4-c205-0410-b2fa-d234c58c8868