Commit graph

45 commits

Author SHA1 Message Date
Marcin Kurczewski
28037af029 Registered users can mass tag their own posts 2014-02-21 20:24:37 +01:00
Marcin Kurczewski
db8e13ec35 Merging and renaming tags yields status messages
Previously, it just redirected back to tag list without any kind of
notification about success.
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
43a33e579d Tweaks to unit converter 2014-02-18 18:35:58 +01:00
Marcin Kurczewski
2bad17ebdb Fixed extension in saved posts 2014-02-18 18:35:58 +01:00
Marcin Kurczewski
7a5d97e153 Dates changed to relative form (except logs) 2014-02-16 15:16:20 +01:00
Marcin Kurczewski
35cdc0cf3a Refactored scripts and stylesheets
Styles, scripts and page titles are no longer set from controllers level.
Changed because it was breaking MVC pattern and led to spaghetti code.

Also, optimized JS/CSS inclusions a bit.
2014-02-01 11:24:03 +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
306c6478b4 Micro optimalizations
Saved 0.015s on various things, mostly thanks to new chibi-core caching
2013-12-23 10:10:03 +01:00
Marcin Kurczewski
5607cfc353 Models rewrite; removed RedBeanPHP; misc changes
Pages load 1.5-2x faster
Exception trace in JSON is now represented as an array
Fixed pagination of default favorites page in user pages
Fixed thumbnail size validation for non-square thumbnails
2013-12-18 15:17:49 +01:00
Marcin Kurczewski
95961fe7d5 Added tag sorting here and there
- Title attribute in post thumbnail
- Page title in post view
- Footer in featured post
2013-12-14 16:55:07 +01:00
Marcin Kurczewski
40e70c4305 User settings: new option to hide disliked posts 2013-12-05 22:21:15 +01:00
Marcin Kurczewski
d570bc1790 Optimalization: sidebar options structure
- options rendering moved to separate file
- simplified template code
- removed redundant JS
2013-11-30 00:55:28 +01:00
Marcin Kurczewski
0ef5f1b46d Absolute paths used where necessary
- No random chdir() calls
- No more exceptions when executing scripts from dirs other than root
- find-posts.php prints absolute paths making piping more useful
2013-11-23 20:52:41 +01:00
Marcin Kurczewski
0b22f2621e Markdown tweaks
- Faster log rendering
- New transform kind: simpleTransform()
2013-11-23 20:00:02 +01:00
Marcin Kurczewski
fdd49d783a Compressed logs from uploads 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
676c3a41e2 Logging: removed logEvent() and log prefixes
This looked ugly.
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
db602f08d3 Better handling of anonymous user names 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
0a5169a7d6 JSON serializer: added exception info 2013-11-23 15:39:13 +01:00
Marcin Kurczewski
9ab961985d Refactor to logging
- Centralized use of TextHelper::repr..() instead of hardcoded markdown
- Centralized processing of highlighting instead of hardcoded markdown
- Highlighted items are marked with color, not just bold
2013-11-17 23:46:31 +01:00
Marcin Kurczewski
fdee23af99 Small changes
- Changed: rating posts - [up | down] --> [vote up, down]
- Fixed: logging of e-mail subject
- Improved: flagging posts/users provides visual feedback ("flagged")
- Improved: grammar in login screen
- Fixed: typo in password reset message
- Added: SessionHelper for handy management of user session data
2013-11-17 20:32:35 +01:00
Marcin Kurczewski
da63c0fd19 Closed #61 2013-11-17 14:53:17 +01:00
Marcin Kurczewski
04e9bad79e Added logging engine for #61 2013-11-16 21:21:43 +01:00
Marcin Kurczewski
76a60ed5d7 Refactoring of error/success messages 2013-11-16 18:44:40 +01:00
Marcin Kurczewski
b3f15dc049 Header becomes less bloated in favor of tabs 2013-11-01 12:58:54 +01:00
Marcin Kurczewski
c4faa3bf85 Added benchmark helper 2013-11-01 10:08:43 +01:00
Marcin Kurczewski
ea4c7fac6e Added script for CLI post search
Other updates include removing unnecessary context retrieval and making post
query builder CLI friendly.
2013-10-30 22:47:33 +01:00
Marcin Kurczewski
36caef3831 Tag list respects safety settings 2013-10-30 16:22:46 +01:00
Marcin Kurczewski
b55a8f1dce Closed #52 - fixes for anonymous accounts
- Anonymous account is no longer created when commenting/uploading
- Anonymous users can now switch safety, if it's available
- Anonymous users can delete their own posts
- Refurbished session and logging in/out mechanism
- Possible fixes for registration/activation/account deletion issues
2013-10-27 20:39:32 +01:00
Marcin Kurczewski
d3eaf27bdc Closed #36 2013-10-25 09:59:42 +02:00
Marcin Kurczewski
18097b6192 Closed #45 2013-10-22 11:40:10 +02:00
Marcin Kurczewski
ea463cb0db Faster queries, fixed foreign keys
When user is removed, their posts and comments get null user ID now
2013-10-19 20:14:23 +02:00
Marcin Kurczewski
d85728064a Closed #17 2013-10-19 15:19:47 +02:00
Marcin Kurczewski
fa652c2fca Closed #9 2013-10-19 15:10:28 +02:00
Marcin Kurczewski
019e7eea7f Closed #43 2013-10-18 00:09:50 +02:00
Marcin Kurczewski
ee050cfd01 Worked on #8
Also:
- changed URL schema for posts from /posts/action/id to /posts/id/action
- moved XXXController::locateXXX methods to Model_XXX::locate
2013-10-17 22:57:32 +02:00
Marcin Kurczewski
39db2a64e1 Closed #32 2013-10-16 18:07:23 +02:00
Marcin Kurczewski
28c1ce68b4 Closed #20
Changed Enum::toString() calls
Fixed chrome ghost margin
2013-10-16 08:33:45 +02:00
Marcin Kurczewski
11072779d9 Fixed useless parameter 2013-10-13 23:02:57 +02:00
Marcin Kurczewski
b5c3ddca1c Closed #24 2013-10-13 22:58:02 +02:00
Marcin Kurczewski
b92f925e94 Post viewing - sidebar 2013-10-12 10:46:15 +02:00
Marcin Kurczewski
7c4bd0136d Thumbnail generator 2013-10-08 23:02:31 +02:00
Marcin Kurczewski
bb9ab81fed Safety-related privileges; internals 2013-10-07 23:17:33 +02:00
Marcin Kurczewski
2cd7541042 Fixed bug in privilege checking 2013-10-06 19:20:54 +02:00
Marcin Kurczewski
af5650d4f6 Added privileges support 2013-10-06 13:21:16 +02:00
Marcin Kurczewski
3a77bb7c59 Registration sketch 2013-10-05 13:15:48 +02:00