Commit Graph

7 Commits

Author SHA1 Message Date
Dietmar Maurer
ca304f91ce pass basic server configuration to formatter functions 2017-01-15 11:55:52 +01:00
Dietmar Maurer
dc80cea51c Formatter/HTML: only display description if we have one 2017-01-15 11:04:02 +01:00
Dietmar Maurer
fc87cd5ec3 pass $title to formatter functions 2017-01-14 16:39:25 +01:00
Dietmar Maurer
a3bb607024 add new hook function to generate CSRF token
This avoid the reference to PVE::AccessControl.
2017-01-14 13:16:59 +01:00
Dietmar Maurer
8001eb275f pass auth_handler result to formatters
In case somebody want to display that info.
2017-01-14 11:12:05 +01:00
Dietmar Maurer
c715437597 rework formatter registration
Do the whole thing inside PVE/APIServer/Formatter.pm
2017-01-14 10:42:33 +01:00
Dietmar Maurer
63307bebd9 add generic formatter framework 2017-01-14 09:53:44 +01:00