Commit Graph

28 Commits

Author SHA1 Message Date
Eric Lippmann 755b2108a8 Schema: Increase length of username columns
In order to support usernames with domains, the length of the username columns is now 254 which also supports email addresses as usernames.

refs #2153
2017-06-12 13:31:07 +02:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Johannes Meyer 664d6ea513 Provide database upgrade scripts for rc1 2015-06-18 17:20:06 +02:00
Johannes Meyer 80e4e419e2 pgsql schema: Add function definition for unix_timestamp
This does not seem to require any special privileges since we're using SQL
as language and no unusual data types. If this proves false though, feel
free to fix this.

refs #8826
2015-06-01 15:56:01 +02:00
Johannes Meyer 9fcebb0014 pgsql schema: Make parent column a foreign key as well
refs #8826
2015-05-29 08:54:45 +02:00
Johannes Meyer b123afe594 mysql schema: Make parent column a foreign key as well
refs #8826
2015-05-29 08:54:32 +02:00
Johannes Meyer 1c6ded9324 pgsql schema: Introduce `id' and `group_id'
Required to ensure referential integrity when renaming groups.

refs #8826
2015-05-28 15:01:21 +02:00
Johannes Meyer 1950ddcbd6 mysql schema: Introduce `id' and `group_id'
Required to ensure referential integrity when renaming groups.

refs #8826
2015-05-28 15:00:46 +02:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Alexander Fuhr 26c0fe7637 Add new `section` column to icingaweb_user_preference table for pgsql 2014-11-18 11:02:19 +01:00
Eric Lippmann ac2ec83852 Merge branch 'master' into feature/localization-form-6073
Conflicts:
	library/Icinga/Application/ApplicationBootstrap.php
	test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Alexander Fuhr 7b2318e739 Add new `section` column to icingaweb_user_preference table 2014-11-12 10:49:46 +01:00
Johannes Meyer e463ca836e Drop old schema files 2014-11-04 12:41:17 +01:00
Johannes Meyer c17eb8c13f Add new PostgreSQL schema file 2014-11-04 12:40:42 +01:00
Johannes Meyer c1bff9a26e Merge branch 'master' into feature/setup-wizard-7163 2014-10-30 10:38:21 +01:00
Eric Lippmann c2a3770869 schema/mysql: Add user and user_preference tables 2014-10-20 16:32:31 +02:00
Eric Lippmann 1bb3a58e8f schema/mysql: Add group and group_membership tables 2014-10-20 15:37:50 +02:00
Johannes Meyer efffe10bad Merge sql schema files
When populating a database we'll create all tables regardless of what
is actually required for the current use case.
2014-10-07 15:55:43 +02:00
Marius Hein 5d31633eb5 Fix salt and password used in wrong position
fixes #5227
2013-11-27 11:32:07 +01:00
Matthias Jentsch 49cf62a9dc Fix database related bugs
Fix coding standards in database schemes. Use DbAdapterFactory in all unit
tests instead of creating own adapters. Fix DbUserBackend and DbStore to use
FETCH_OBJ, instead of FETCH_ASSOC, to handle it consistently in the whole
application. Remove unnecessary table columns from the "account" scheme.

refs #4577
refs #4578
refs #4596
refs #4599
refs #4627
2013-08-26 11:09:37 +02:00
Marius Hein 6112189b0c User preferences: Add database store
refs #4069
2013-08-05 16:56:03 +02:00
Jannis Moßhammer 306a51271b Change 'user' table to 'account', error handling and docs
Fix installation instructions for postgresql, the user table is now
'account', as user is a keyword in some rdbms, now catching exceptions
and returning auth failed while logging errors

refs #3769
2013-07-26 15:01:52 +02:00
Matthias Jentsch ce95511890 Change default database to "icingaweb" and add installation instructions
Set the default database and user to "icingaweb" in the authentication.ini. Add
instructions about how to set up the databases to authentication.ini.

refs #3769
2013-07-26 13:10:00 +02:00
Matthias Jentsch fd4cbf1c5b Add default login to the authentication database
refs #3772
2013-07-26 13:10:00 +02:00
Matthias Jentsch 3ff0c0f02a Adds DbUserBackend to handle the authentication against a sql db.
Users should be able to authenticate against an internal DB without setting up
additional authentication domains.

refs #3769
2013-07-26 13:09:59 +02:00