Commit Graph

11 Commits

Author SHA1 Message Date
40e774cce9 Reorganized code to reduce comments 2014-08-09 20:35:31 +02:00
538165e3ff Moved job context management to interface 2014-06-10 10:48:08 +02:00
8b48ba727e Added option to disallow anonymous uploads 2014-05-26 12:40:02 +02:00
34b5de72f5 Moved some config keys 2014-05-26 12:30:23 +02:00
e12308d3cc Changed thumb to thumbnail for consistency 2014-05-20 23:00:24 +02:00
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
de078677fe Reduced job hierarchy 2014-05-18 21:59:56 +02:00
634d0061d4 Added API documentation prototype 2014-05-18 21:59:56 +02:00
c501ccdff1 Fixed issues with variable types
- False booleans were serialized as NULLs, which lead to problems with
  queries like 'SELECT ... WHERE NOT x'
- Fixed anonymous uploads
- More robust integer and boolean parsing in jobs
2014-05-18 21:32:47 +02:00
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
098f11bd09 Increased API readability
- Removed Abstract*Job hierarchy
- Introduced EntityRetrievers
- Introduced JobPager
- Moved files around
2014-05-12 18:00:24 +02:00