Commit graph

265 commits

Author SHA1 Message Date
Marcin Kurczewski
b185b098d0 Fixed upload filename align; changed form controls 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
9f99ccd78f Restricted some jobs from public execution 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
9e756e28e4 Continued work on documentation 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
634d0061d4 Added API documentation prototype 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
03a6809510 Added API controller 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e95b8d93d8 Simplified view management 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
5f246d7a51 Improved support for no Javascript 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
c15f59db39 Grouped views into file hierarchy 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
Marcin Kurczewski
27ddf6f59f Changed versioning system 2014-05-14 20:31:34 +02:00
Marcin Kurczewski
66039e56a6 Added information about post space usage 2014-05-14 20:08:07 +02:00
Marcin Kurczewski
d082d74716 Added information about memory usage to footer 2014-05-14 19:38:42 +02:00
Marcin Kurczewski
b811e76318 Moved user settings to separate class 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
484adbbf49 Added argument checking system 2014-05-12 15:15:50 +02:00
Marcin Kurczewski
8aa499a0b9 Fixed automatic featuring post
- Fixed main page view
- Code moved from StaticPagesController to PostModel
- Code split into semantically meaningful methods
- Allowed anonymous featuring through API
- Added protection against automatic featuring of hidden post
2014-05-11 23:43:35 +02:00
Marcin Kurczewski
8ee80ea170 Continued work on getter/setters: post cached keys 2014-05-09 20:29:14 +02:00
Marcin Kurczewski
20ee47e596 Continued work on getter/setters: staff confirm 2014-05-07 21:30:38 +02:00
Marcin Kurczewski
16942d9d19 Continued work on getter/setters: timestamps 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
a619662585 Continued work on getter/setters: post file stats 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
8d8e92b84e Continued work on getter/setters: post visibility 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
75704ef0da Continued work on getter/setters: post dimensions 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
509bf44619 Continued work on getter/setters: post sources 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
1bbba5de3c Fixed displaying errors in registration page 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
404bd979f4 Fixed issues with confirmation e-mails 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
410237d678 Better privilege checking for batch operations 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
c005da2e6d Refactored post content edit jobs; added unit test 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
eebb862332 Fixed hardcoded post permalink syntax 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
8009c16f0c Refactored comment model, fixed anonymous previews 2014-05-07 17:58:22 +02:00
Marcin Kurczewski
7df8a6fa3b Continued work on getter/setters: entity IDs 2014-05-07 17:58:18 +02:00
Marcin Kurczewski
b885411b2e Encapsulated a few entity getters and setters 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
d3beb8bc53 Implemented new enums 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
458aac971d Removed trash HTML 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
67e4272f3e Changes to privilege system 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
893e841a87 Organized password reset and account activation 2014-05-04 18:32:57 +02:00
Marcin Kurczewski
83239a492d Moved account registering to API 2014-05-04 18:32:57 +02:00
Marcin Kurczewski
9e2e3ceb7f Simplified views in UserController 2014-05-04 12:12:06 +02:00
Marcin Kurczewski
243f22542d Moved user listing to API 2014-05-04 10:32:32 +02:00
Marcin Kurczewski
d2319465c1 Moved tag merging to API 2014-05-04 10:03:21 +02:00
Marcin Kurczewski
5d2c5a2053 Moved tag renaming to API 2014-05-04 10:03:03 +02:00
Marcin Kurczewski
5c003588fa Made tag retrieval use entity conversion again
Previously engine used raw database rows for performance boost. The
benefits were negligibly small, therefore it was changed so that it
returns full entities again. That way serializing job return values
for HTTP API should be easier in the future.
2014-05-04 09:48:51 +02:00
Marcin Kurczewski
97c17c68a0 Moved tag listing to API 2014-05-04 08:42:18 +02:00
Marcin Kurczewski
259eabfaaa Merged branch 'master' into api 2014-05-03 23:29:16 +02:00
Marcin Kurczewski
0b058565ba Fixed activation, password reset and registration 2014-05-03 23:23:13 +02:00
Marcin Kurczewski
758f5bd134 Moved post content and thumbnail retrieval to API 2014-05-03 22:14:00 +02:00
Marcin Kurczewski
9f4d97aa23 Moved post retrieval to API 2014-05-03 20:34:07 +02:00
Marcin Kurczewski
6ae4cea8bb Moved post upload to API 2014-05-03 19:26:00 +02:00
Marcin Kurczewski
7c1b8ca4d5 Renamed LogController methods and moved to API 2014-05-03 19:25:59 +02:00
Marcin Kurczewski
aeb73e2a5c Renamed IndexController class and methods 2014-05-03 19:25:59 +02:00
Marcin Kurczewski
8b8564309d Split login method into View and Action 2014-05-03 19:25:59 +02:00