Commit Graph

19 Commits

Author SHA1 Message Date
Johannes Meyer a0db5bea87 IniRepository: Don't call getDataSource over and over again
refs #13034
2016-11-04 10:15:56 +01:00
Johannes Meyer 3c5fe76cc0 IniRepository: Directly pass the key column to method extractSectionName
refs #13034
2016-11-04 10:04:42 +01:00
Johannes Meyer ac3e182f0d IniRepository: Make key column validation in the constructor more readable
refs #13034
2016-11-04 09:59:37 +01:00
Johannes Meyer ca689bc944 IniRepository: Improve documentation of attribute $configs
refs #13034
2016-11-04 09:57:56 +01:00
Alexander A. Klimov bd7851d15c IniRepository: improve initialization of per-table datasources
refs #13034
2016-11-03 18:05:05 +01:00
Alexander A. Klimov e5b24eb467 IniRepository: fix doc and method order
refs #13034
2016-11-03 16:00:20 +01:00
Alexander A. Klimov fb3f3ed788 IniRepository: add support for per-table datasources
refs #13034
2016-11-03 15:06:37 +01:00
Johannes Meyer 4a791e6204 IniRepository: Don't fail if there is no trigger to be found 2016-11-02 13:25:37 +01:00
Johannes Meyer 82c7a51050 IniRepository: Don't require a key column before the onInsert trigger
fixes #13005
2016-10-31 08:37:15 +01:00
Johannes Meyer 957ad9361f IniRepository: Add support for triggers 2016-10-27 15:11:21 +02:00
Johannes Meyer f644860529 IniRepository: Fix that method update and delete fail without filter 2016-10-27 15:09:00 +02:00
Alexander A. Klimov 5212b6bab9 IniRepository: don't persist the key column as regular column 2016-10-26 10:27:30 +02:00
Markus Frosch dfa77b2b2f IniRepository: Avoid using iterator_to_array with ArrayDatasource
While iterating ConfigObject/ArrayDatasource will not rewrite the section header into a row value as keycolumn.

In addition we now properly use the filter.

refs #12065
2016-06-28 16:21:06 +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 beb5bd7370 Repository: Clone a filter implicitly in self::requireFilter($clone = true)
refs #8826
2015-06-01 15:03:08 +02:00
Johannes Meyer d5d0c67d2c IniRepository: Do not handle $target as a section's name
That's bullshit.

refs #8826
2015-05-13 09:48:46 +02:00
Johannes Meyer 053c9cdcb3 Repository: Check whether a column is queried from the correct table
refs #8826
2015-05-12 15:38:29 +02:00
Johannes Meyer 30bc1db6ee IniRepository: There is no need to fetch the results using a query
Icinga\Application\Config is iterable.

refs #8826
2015-05-11 07:46:36 +02:00
Johannes Meyer 6ef4bbe210 Introduce class IniRepository
refs #8826
2015-05-08 15:22:51 +02:00