Commit graph

12 commits

Author SHA1 Message Date
Marcin Kurczewski
427f305101 Split post page view and post download privileges 2014-06-10 21:12:14 +02:00
Marcin Kurczewski
d242eedb31 Improved checks for concurrent post edits 2014-06-10 10:49:11 +02:00
Marcin Kurczewski
538165e3ff Moved job context management to interface 2014-06-10 10:48:08 +02:00
Marcin Kurczewski
34b5de72f5 Moved some config keys 2014-05-26 12:30:23 +02:00
Marcin Kurczewski
fee19c61bc Added support for custom avatars 2014-05-20 23:00:25 +02:00
Marcin Kurczewski
e12308d3cc Changed thumb to thumbnail for consistency 2014-05-20 23:00:24 +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
de078677fe Reduced job hierarchy 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
Marcin Kurczewski
1bc219a162 Added job for property reading 2014-05-14 19:14:16 +02:00
Marcin Kurczewski
2e12e4f39d Added jobs for user settings manipulation 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
a38b280098 Reorganized tests file structure 2014-05-13 21:16:28 +02:00
Renamed from tests/Api/ApiPrivilegeTest.php (Browse further)