Commit Graph

11 Commits

Author SHA1 Message Date
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
c7250ae0a9 Improved thumbnail generating
- Moved thumbs folder to public_html/
- Users can supply custom thumbs of any size and the system will treat
  them like normal image
- Removed distinction between various thumb sizes in file system
- Introduced custom rewrite rule, which isn't exactly good-looking, but
  its benefits far outweigh its shortcomings
- Loading up to 75 times faster (was: 100-300ms, is: 4-10ms on my
  machine) thanks to removal of PHP proxying
2014-05-14 23:44:48 +02:00
Marcin Kurczewski
1bc219a162 Added job for property reading 2014-05-14 19:14:16 +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
a38b280098 Reorganized tests file structure 2014-05-13 21:16:28 +02:00