Commit graph

290 commits

Author SHA1 Message Date
Marcin Kurczewski
6cacb90eef Added maxlength attribute to post source 2014-06-20 18:44:08 +02:00
Marcin Kurczewski
65836f4789 Changed file layout to separate class 2014-06-20 18:31:33 +02:00
Marcin Kurczewski
a3c9338386 Added custom favicon and assets support to config
Also, moved title key to [appearance] section
2014-06-10 12:01:15 +02:00
Marcin Kurczewski
09973ae151 Shortened a few lines in views 2014-06-10 11:01:24 +02:00
Marcin Kurczewski
320cd2e194 Simplified post revision management 2014-06-01 14:07:53 +02:00
Marcin Kurczewski
bf8e6e9e00 Simplified thumbnail and content retrieval code 2014-06-01 13:51:29 +02:00
Marcin Kurczewski
4d13a83047 Fixed tags post count placement in sidebar 2014-05-30 08:46:12 +02:00
Marcin Kurczewski
8b48ba727e Added option to disallow anonymous uploads 2014-05-26 12:40:02 +02:00
Marcin Kurczewski
50e4b40721 Upgraded to newest chibi
- Separate non-static router class
- Moved some setup code to new method, Core::init
- Persistent database connection between tests
2014-05-23 23:34:50 +02:00
Marcin Kurczewski
2ca46ce746 Fixed text in alert when deleting an account 2014-05-23 08:41:43 +02:00
Marcin Kurczewski
ef4ba5a348 Added ability to access posts using their hashes 2014-05-20 23:12:24 +02:00
Marcin Kurczewski
e3617434e6 Added AJAX wrappers to a few forms 2014-05-20 23:12:24 +02:00
Marcin Kurczewski
0acfd17165 Fixed avatar size in post sidebar 2014-05-20 23:00:25 +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
65e909d053 Refactored form rendering 2014-05-20 23:00:24 +02:00
Marcin Kurczewski
0947858ffc Removed text wrap from log 2014-05-20 23:00:24 +02:00
Marcin Kurczewski
fc486190c2 Fixed missing space in post title 2014-05-19 10:07:11 +02:00
Marcin Kurczewski
7609cbcccf Merged mass tag and post list redirection 2014-05-19 09:24:15 +02:00
Marcin Kurczewski
acbd45d530 Fixed mass tag 2014-05-19 01:04:22 +02:00
Marcin Kurczewski
fde6fc2a89 Fixed sending user settings 2014-05-19 00:20:26 +02:00
Marcin Kurczewski
00590e69ef Fixed attempt to read private field in user view 2014-05-18 22:30:08 +02:00
Marcin Kurczewski
79f9ab9950 Fixed double (and sometimes triple) slash in URLs 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
9f57b16d76 Changed user list a bit 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
794d0497c8 Fixed plural in footer 2014-05-18 21:59:56 +02:00
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