Commit Graph

43 Commits

Author SHA1 Message Date
Marcin Kurczewski
8b48ba727e Added option to disallow anonymous uploads 2014-05-26 12:40:02 +02:00
Marcin Kurczewski
34b5de72f5 Moved some config keys 2014-05-26 12:30:23 +02:00
Marcin Kurczewski
174fd80a73 Added name: keyword in post search 2014-05-20 23:12:24 +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
33b2bb1b20 Fixed privacy policy 2014-05-18 21:59:57 +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
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
27ddf6f59f Changed versioning system 2014-05-14 20:31:34 +02:00
Marcin Kurczewski
6ce47ec2a7 Changed post type aliases in post search 2014-05-13 19:13:22 +02:00
Marcin Kurczewski
e4ee4589a8 Fixed/refactored tag validation 2014-05-08 08:54:53 +02:00
Marcin Kurczewski
323138bd98 Fixed issues with logging
- Fixed log file name template
- Fixed buffering changes when running add/edit jobs in batch
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
1600589793 Moved max post source length to config 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
04481122ce Improved test environment sandboxing 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
f254e7bb1e Logger path accepts simple templates 2014-05-05 17:47:31 +02:00
Marcin Kurczewski
83239a492d Moved account registering to API 2014-05-04 18:32:57 +02:00
Marcin Kurczewski
73fc1830ff Tag relations don't suggest tags already used 2014-03-10 16:16:25 +01:00
Marcin Kurczewski
1ce0429280 Added order:file_size 2014-03-04 17:33:46 +01:00
Marcin Kurczewski
806aa0f197 Freshened up syntax help 2014-03-03 21:39:21 +01:00
Marcin Kurczewski
1081dfb718 Hidden posts can be viewed by moderators 2014-03-03 21:29:12 +01:00
Marcin Kurczewski
82b0d9a63a Newest chibi-core 2014-02-27 15:04:36 +01:00
Marcin Kurczewski
e6b37afa8c Changed /comments behaviour
Instead of showing comments chronologically, group them into posts, then sort
the posts by last comment date. Reason: improved comment context delivery
makes discussion bumping possible (no matter how old it is) and discussion is
what comments are about.

Comment count is limited to 5 per post.
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
2bac28a553 More capable privilege system
Following privileges for post actions can now understand different settings for
everyone and for uploader:

* Scoring posts
* Featuring posts
* Flagging posts
* Favoriting posts

Additionally, privilege for flagging users can now understand different
settings for everyone and for the user that is currently logged in.

In other words: with this update admin can configure privileges so that scoring
own posts or flagging oneself will be prohibited, while scoring other people's
posts or flagging others will be okay.
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
28037af029 Registered users can mass tag their own posts 2014-02-21 20:24:37 +01:00
Marcin Kurczewski
532fe9f7e6 Added pagination to tag list 2014-02-16 20:10:38 +01:00
Marcin Kurczewski
d085ffe39a Closed #70 2014-02-01 09:51:37 +01:00
Marcin Kurczewski
36e2e5827c Closed #69 2014-01-27 09:17:36 +01:00
Marcin Kurczewski
100303173e Added comment editing support
In other news, editing a post doesn't reload page anymore
(yay for editing tags for Youtube posts)
2014-01-25 16:39:09 +01:00
Marcin Kurczewski
5b25250209 Optimalizations 2013-12-14 14:50:30 +01:00
Marcin Kurczewski
5d45d6da2c Support for MySQL 2013-12-14 12:51:08 +01:00
Marcin Kurczewski
9dcfd068df Improved general help tab title
"help" text was used twice in two navigation menus: once in top navigation and
once in tab bar (along with "prrivacy policy" and "rules"). The "help" in tab
bar was changed to "general help" to avoid potential confusion.
2013-12-05 23:57:35 +01:00
Marcin Kurczewski
40e70c4305 User settings: new option to hide disliked posts 2013-12-05 22:21:15 +01:00
Marcin Kurczewski
c683fa3b0f User settings: added opt-in tags in post thumbs 2013-11-25 22:23:48 +01:00
Marcin Kurczewski
d8997edc57 Refactor of controllers and models
- Most of model-related code moved from controllers to model classes, much
  fewer calls to R::whatever() in controllers
- Post editing and uploading shares the same code, thus making implementing
  stuff easier in the future
- Added support for default bean wiring, no more calls to R::preload() all over
  the place
- More robust concurrent post editing detection
2013-11-23 15:39:13 +01:00
Marcin Kurczewski
95b2eec461 Search queries: added search by likes/dislikes 2013-11-23 15:39:08 +01:00
Marcin Kurczewski
6e62a46110 Search queries: fixed broken order 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
a98c61ebf3 Closed #67 2013-11-21 22:44:28 +01:00
Marcin Kurczewski
fb5e851a13 Closed #66 2013-11-21 22:44:28 +01:00
Marcin Kurczewski
5780917e82 Moved stuff to /data/
"Stuff" means:

- Config
- Local config
- SQLite db file
- Files
- Thumbnails
- Logs
2013-11-21 22:32:58 +01:00