Commit graph

16 commits

Author SHA1 Message Date
Marcin Kurczewski
fee19c61bc Added support for custom avatars 2014-05-20 23:00:25 +02:00
Marcin Kurczewski
118cf31ab1 Refactored enums 2014-05-18 22:30:08 +02:00
Marcin Kurczewski
9f99ccd78f Restricted some jobs from public execution 2014-05-18 21:59:56 +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
634d0061d4 Added API documentation prototype 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
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
Marcin Kurczewski
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
Marcin Kurczewski
95e37e55eb Restored support for anonymous setting changes 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
2e12e4f39d Added jobs for user settings manipulation 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
561ebd5508 Made ARG_QUERY optional 2014-05-13 19:11:21 +02:00
Marcin Kurczewski
4395087a7c Fixed confirming user registration by staff 2014-05-12 20:10:19 +02:00
Marcin Kurczewski
d8808df091 Fixed canEditAnything method in EditUserJob 2014-05-12 19:39:58 +02:00
Marcin Kurczewski
3cd07a38ca Fixed password reminder 2014-05-12 19:30:16 +02:00
Marcin Kurczewski
098f11bd09 Increased API readability
- Removed Abstract*Job hierarchy
- Introduced EntityRetrievers
- Introduced JobPager
- Moved files around
2014-05-12 18:00:24 +02:00
Marcin Kurczewski
484adbbf49 Added argument checking system 2014-05-12 15:15:50 +02:00