Commit graph

6 commits

Author SHA1 Message Date
Marcin Kurczewski
50e4b40721 Upgraded to newest chibi
- Separate non-static router class
- Moved some setup code to new method, Core::init
- Persistent database connection between tests
2014-05-23 23:34:50 +02:00
Marcin Kurczewski
00590e69ef Fixed attempt to read private field in user view 2014-05-18 22:30:08 +02:00
Marcin Kurczewski
9f57b16d76 Changed user list a bit 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
e59b7e8b7b Refactored privilege system a bit
- Jobs specify main privilege and sub privileges separately
  Rationale: increase maintenance, restrict what can be done runtime
- Renamed ChangeUser* to EditUser* (consistency with EditPost*)
- Simplified enum names and configuration reading
- IJob interface members must be explicitly implemented
  Rationale: reduce chances of forgetting something, or typos in
  inherited method names
- Invalid privileges names in configuration yield exceptions
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e95b8d93d8 Simplified view management 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
c15f59db39 Grouped views into file hierarchy 2014-05-18 21:32:47 +02:00
Renamed from src/Views/user-view.phtml (Browse further)