Yonas Habteab
ce012dcdb2
Hook: Don't abort loading remaining hooks due to one broken hook
...
`Hook::all()` shouldn't abort loading the remaining hooks when one of
the provided hook is broken.
2023-09-19 14:37:55 +02:00
Sukhwinder Dhillon
8358dc1c5e
Hook::has(): Method expects only one parameter
2023-08-23 10:53:14 +02:00
Loei Petrus Marogi
617f1b35b3
Add possibility to let hooks always run
...
refs #3772
2019-07-11 13:36:33 +02:00
Eric Lippmann
7e4b92b714
Fix permission test in Hook::has()
...
Before, only the first hook for the given type was tested. If this hook
belonged to a not permitted module, Hook::has() returned false. Though
there may have been other hooks which are permitted.
2018-08-16 17:03:42 +02:00
Eric Lippmann
0f075b034b
Respect permissions in Hook::has()
2018-07-26 11:51:23 +02:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Eric Lippmann
01daa38eae
Fix module permissions for hooks
...
refs #2686
2017-01-17 14:56:13 +01:00
Thomas Gelf
361bfc5081
Hook: allow all on CLI
...
fixes #13691
2016-12-19 21:14:32 +01:00
Johannes Meyer
5bce7dc9b8
Hook: Check a user's module permission before providing it's hook instances
...
refs #12396
2016-11-11 16:15:16 +01: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
Thomas Gelf
edcc698e1e
Hook: throw exceptions for missing classes
...
We are otherwise not catching the resulting fatal errors right now
2015-11-17 17:04:04 +01:00
Thomas Gelf
8fa33cebc7
Hook: normalize names also for all()
2015-11-13 17:37:02 +01:00
Thomas Gelf
997c5a0a13
Hook: normalize names
2015-11-13 17:37:02 +01:00
Thomas Gelf
a24bf32c5b
Hook: allow hooks for old modules Web\Hooks
...
refs #10613
2015-11-13 17:37:02 +01:00
Thomas Gelf
52159c2627
Hook: switch base namespace checks
2015-11-13 17:37:02 +01:00
Thomas Gelf
576747f792
Application\Hook is the new Hook loader
2015-11-13 17:37:02 +01:00