Commit Graph

382 Commits

Author SHA1 Message Date
8161bc9c88 Version upgrade (0.6.1) 0.6.1 2014-02-13 09:39:09 +01:00
c99596d12b Added last login date to users 2014-02-13 09:10:24 +01:00
b22e74c0e9 Closed #72 2014-02-05 08:35:24 +01:00
6a407fc87a Fixed #73 2014-02-05 08:22:26 +01:00
91b0432067 Fixed css
CSS for comments wasn't included in post-view.phtml. This manifested when user
posted a comment thruogh it (AJAX requests don't append CSS from AJAXed pages,
so added it in parent view).
2014-02-02 22:45:41 +01:00
f01f55cc8b Fixed #71 2014-02-02 22:44:13 +01:00
0b55dfad04 Markdown: restored ATX headers
See be3b39bf42.
It works again, but it requires putting a space after hash.
2014-02-02 19:23:52 +01:00
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
d170e3b526 Closed #68 2014-02-01 11:23:59 +01:00
ac1997d4d0 Refactored search case sensitivity support 2014-02-01 09:54:46 +01:00
d085ffe39a Closed #70 2014-02-01 09:51:37 +01:00
d2946e0148 Post editing: fixed problem with focus 2014-01-30 21:53:34 +01:00
d01a087b30 Cosmetic changes 2014-01-27 09:21:52 +01:00
36e2e5827c Closed #69 2014-01-27 09:17:36 +01:00
752cbbd016 Fixed undefined method 2014-01-26 13:35:47 +01:00
37cc858821 Fixed post editing appearance 2014-01-25 22:50:15 +01:00
a869c1da1e Slightly changed comment edit log message 2014-01-25 16:44:37 +01:00
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
fd9433a2e3 Edit tokens moved to model 2014-01-25 15:09:20 +01:00
be3b39bf42 Markdown: disabled atx-style header support
Rationale - collision with tag syntax: if #tag was first word in given line,
the line was treated like header.
2014-01-25 14:09:56 +01:00
15486b6e9a Fixed problems with block-level spoilers
Block-level spoilers (= inside <h1>, <li> etc.) were left unparsed.
2014-01-14 23:20:47 +01:00
1fcced20f1 Misc CSS tweaks 2014-01-06 19:25:27 +01:00
56622b8e9d Last comments respect safety choice 2014-01-04 12:55:59 +01:00
4a9cc4b3bc Fixed invalid SQL in some circumstances 2014-01-04 12:55:03 +01:00
b1fb329fc7 Fixed silly bug
Statistics for each user in user list showed comment count instead of post
count.
2013-12-23 16:43:12 +01:00
306c6478b4 Micro optimalizations
Saved 0.015s on various things, mostly thanks to new chibi-core caching
2013-12-23 10:10:03 +01:00
8cfc2aeb2a Fixes for MySQL driver 0.6.0 2013-12-18 17:49:22 +01:00
9a9220ab24 Version upgrade (0.6.0) 2013-12-18 17:38:22 +01:00
6905ad047d Fixed changing access rank 2013-12-18 16:11:20 +01:00
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
8c0c5269c4 Fixed 404 pages 2013-12-16 23:38:31 +01:00
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
1c6b10f966 Fixed 1px bug 2013-12-14 16:49:43 +01:00
5b25250209 Optimalizations 2013-12-14 14:50:30 +01:00
c7c5cde2b6 Fixed removing from favorites 2013-12-14 12:51:11 +01:00
5d45d6da2c Support for MySQL 2013-12-14 12:51:08 +01:00
31bc799518 Markdown: fixes related to <pre> blocks 2013-12-08 12:12:45 +01:00
7e8521022c Added CSS for quotes 2013-12-07 15:04:11 +01:00
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
8f906d83bf Added active section indicator 2013-12-05 23:57:33 +01:00
b8e37a234a Better looking query debug 2013-12-05 22:22:11 +01:00
40e70c4305 User settings: new option to hide disliked posts 2013-12-05 22:21:15 +01:00
0d3bb32e9c Refactor to HTML structure
- <script> moved outside <ul>
- Youtube posts pass W3C validation
2013-12-01 15:16:10 +01:00
7046553a45 Fixed CSS problems with Chrome and Firefox 2013-12-01 15:15:01 +01:00
4c1bb44e59 Fixed rare bug in prev/next post
If tag/user/whatever from last search was deleted after viewing a post,
refreshing the page with that post would yield "Invalid tag/user/whatever"
error.

I changed it so that when retrieving previous/next post for latest search query
throws any errors, saved search query gets resetted to empty one.
2013-12-01 14:47:35 +01:00
0001d38699 Further tweaks to model
- Fixed broken negative searches
- Faster search by tag / comment / submit / favorites (useless nested joins
  replaced to entity prefetch). Side effect: searching for nonexistent tags,
  users etc yields informative errors instead of "no posts to show")
- Fixed duplicated column in order clause ("ORDER BY id DESC, id DESC")
2013-11-30 19:07:39 +01:00
992b9ba5ac Restored previous entity retrieval
Using temporary tables turned out to be more expensive on bigger databases.
Restoring two queries version.
2013-11-30 18:13:46 +01:00
e93c3588f9 Fix to tabs in upload 2013-11-30 16:42:47 +01:00
4285aff671 Fixes to preloading 2013-11-30 16:19:48 +01:00
31ccb9a281 Optimalization: changed entity retrieval 2013-11-30 14:23:53 +01:00