Admin controller: Use PathPart, not Path
[?]
Mar 14, 2013, 11:22 PM
B7IDAXTZF6REK6SLYJY7X22RGRHYLAWMGGQTZVPPJCSQ7DYFWUXQCDependencies
- [2]
JARRBLZDBootstrapify the Hydra forms (except the project and jobset edit pages) - [3]
67NFGL7Dadd links in admin page to clear queue (all non-running builds, and all non-running old (non-current) builds) - [4]
FX2DV5APhydra: remove old clear eval cache option - [5]
RXSEJG7WDo not delete builds when clearing the queue. Fixes #8. - [6]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [7]
ZWCTAZGLadded newsitems, added some admin options to clear various caches. - [8]
JOVVHIJXRemove all entry points to modify machines - [9]
SMCOU72Fhydra: add some admin for adding/enabling/etc build machines - [10]
QT4FO2HPrefactored admin controller, using chains, to avoid using requireadmin on each endpoint
Change contents
- replacement in src/lib/Hydra/Controller/Admin.pm at line 35
sub clear_queue_non_current : Chained('admin') Path('clear-queue-non-current') Args(0) {sub clear_queue_non_current : Chained('admin') PathPart('clear-queue-non-current') Args(0) { - replacement in src/lib/Hydra/Controller/Admin.pm at line 42
sub clearfailedcache : Chained('admin') Path('clear-failed-cache') Args(0) {sub clearfailedcache : Chained('admin') PathPart('clear-failed-cache') Args(0) { - replacement in src/lib/Hydra/Controller/Admin.pm at line 49
sub clearvcscache : Chained('admin') Path('clear-vcs-cache') Args(0) {sub clearvcscache : Chained('admin') PathPart('clear-vcs-cache') Args(0) { - replacement in src/lib/Hydra/Controller/Admin.pm at line 68
sub managenews : Chained('admin') Path('news') Args(0) {sub managenews : Chained('admin') PathPart('news') Args(0) { - replacement in src/lib/Hydra/Controller/Admin.pm at line 77
sub news_submit : Chained('admin') Path('news/submit') Args(0) {sub news_submit : Chained('admin') PathPart('news/submit') Args(0) { - replacement in src/lib/Hydra/Controller/Admin.pm at line 95
sub news_delete : Chained('admin') Path('news/delete') Args(1) {sub news_delete : Chained('admin') PathPart('news/delete') Args(1) {