Johannes Meyer
7b488d7f93
swag: Fix violations of PSR-12
...
PSR-2 has been deprecated and phpcs v3.5.3
now checks for the successor PSR-12
2019-12-04 11:28:08 +01:00
Johannes Meyer
1f0ee9b0d4
IniRepository: Fix wrong documentation for $configs
2019-07-23 13:53:29 +02:00
Eric Lippmann
d5de7e9868
Fix that updating INI repositories is impossible
2017-09-28 14:16:13 +02:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Johannes Meyer
ad79e67550
IniRepository: Reduce complexity of method getDataSource
...
refs #13034
2016-11-04 10:17:37 +01:00
Johannes Meyer
c44e164de9
IniRepository: Introduce method createConfig
...
refs #13034
2016-11-04 10:16:45 +01:00
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