Commit graph

498 commits

Author SHA1 Message Date
Marcin Kurczewski
fdd49d783a Compressed logs from uploads 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
18f7fff21f Uploading: empty files yield better error message 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
81017e18cb Logging: improved grammar a little 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
7fccbd5e02 JS: more robust error handling
Also, the upload form cannot be resent during processing
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
618f9e3d77 Any post type can be featured now
Automatic generator still searches only for images though.
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
ecc72e52e6 Added margin for alerts 2013-11-23 15:39:19 +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
0a5169a7d6 JSON serializer: added exception info 2013-11-23 15:39:13 +01:00
Marcin Kurczewski
c1e763316a Fav and comments are shown only if there are any 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
6e9a18c0ae Paginator: introducing "..." pseudo-pages
If delta between pages in paginator is greater than 2, it adds "..." inbetween.
If delta is equal to 2, it adds missing page link instead.

Examples:

    1,4,5 gets converted to 1,...,4,5
    1,3,4 gets converted to 1,2,3,4
2013-11-23 13:54:13 +01:00
Marcin Kurczewski
467f0c6b93 Slightly better tabs 2013-11-23 13:54:13 +01:00
Marcin Kurczewski
0bbeb4604f Introducing tag list sort styles
Also, increased margin in /users
2013-11-23 13:54:13 +01:00
Marcin Kurczewski
007e797d3a Faster tag list 2013-11-23 13:54:09 +01:00
Marcin Kurczewski
d636fe1c0a Fixed hover 1px border bug 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
6e62a46110 Search queries: fixed broken order 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
9c0ed1e930 Markdown: fixed some [spoiler] bugs 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
909026ae0f User names: removed case sensitivity 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
c8fb9c20c6 Search queries: removed case sensitivity 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
6549237dda Mass tag: fixed tag case sensitiveness bug 2013-11-22 00:25:59 +01:00
Marcin Kurczewski
601bdab8e1 Mass tag: don't show buttons if no tag specified 2013-11-21 22:44:28 +01:00
Marcin Kurczewski
1f2ce725ff Mass tag redirection from /tags accepts empty tag
User was already able to enter masstag mode without specifying what they want
to tag with, through "mass tag" tab.
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
cab63895c2 Fixed "tag already exists" when only changing case 2013-11-21 22:44:28 +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
77c0ea7f57 Markdown: better <br/> placement 2013-11-21 22:44:28 +01:00
Marcin Kurczewski
6e229bf53c Markdown: fixed mini-issue mentioned in #66 2013-11-21 22:44:23 +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
Marcin Kurczewski
a892410f5d Search queries: added new feature - "comment:x" 2013-11-21 22:32:49 +01:00
Marcin Kurczewski
b2fdbb914e Fixed appearance on mobile 2013-11-19 20:20:16 +01:00
Marcin Kurczewski
e336d04347 Logging minifix 2013-11-18 23:23:56 +01:00
Marcin Kurczewski
aff68e88cf Version upgrade (0.4.1) 2013-11-18 18:26:51 +01:00
Marcin Kurczewski
bf0e40683c Removed TextHelper hacks 2013-11-18 15:41:16 +01:00
Marcin Kurczewski
17bd7a7572 Added support for OpenGraph
- Linking to index and individual posts produces thumbs on sites like Facebook
- Thumbnails theoretically support custom sizes
2013-11-18 14:33:43 +01:00
Marcin Kurczewski
a5d0a3f9ef HTML validation 2013-11-18 14:00:54 +01:00
Marcin Kurczewski
5eb5e18b77 Fixes to Markdown parsing introduced in 7605177 2013-11-18 11:22:29 +01:00
Marcin Kurczewski
19a8b90ca2 Added unique indexes 2013-11-18 10:31:04 +01:00
Marcin Kurczewski
e7ec8ea49f Fixed user view tabs 2013-11-18 10:30:43 +01:00
Marcin Kurczewski
0286e11c30 Fixed dangling postscore and crossref rows 2013-11-18 10:26:29 +01:00
Marcin Kurczewski
7605177a6b Added strike through support to Markdown 2013-11-18 00:38:33 +01:00
Marcin Kurczewski
52ceb8d962 Fixes to CLI scripts 2013-11-18 00:16:47 +01:00
Marcin Kurczewski
cc30829c63 Version upgrade (0.4.0) 2013-11-18 00:01:47 +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
3c41940142 Closed #57 2013-11-17 14:53:21 +01:00
Marcin Kurczewski
da63c0fd19 Closed #61 2013-11-17 14:53:17 +01:00
Marcin Kurczewski
4fd25b10c6 Fixed logging of post previews 2013-11-17 14:25:13 +01:00
Marcin Kurczewski
210342a5bf Fixes to Markdown
- aa_bb cc_dd doesn't produce italics anymore
- asd@5.com doesn't produce link to post 5
- asd.com#anchor doesn't produce link to tag "anchor"
2013-11-17 14:25:05 +01:00