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
8f906d83bf
Added active section indicator
2013-12-05 23:57:33 +01:00
Marcin Kurczewski
b8e37a234a
Better looking query debug
2013-12-05 22:22:11 +01:00
Marcin Kurczewski
40e70c4305
User settings: new option to hide disliked posts
2013-12-05 22:21:15 +01:00
Marcin Kurczewski
0d3bb32e9c
Refactor to HTML structure
...
- <script> moved outside <ul>
- Youtube posts pass W3C validation
2013-12-01 15:16:10 +01:00
Marcin Kurczewski
7046553a45
Fixed CSS problems with Chrome and Firefox
2013-12-01 15:15:01 +01:00
Marcin Kurczewski
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
Marcin Kurczewski
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
Marcin Kurczewski
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
Marcin Kurczewski
e93c3588f9
Fix to tabs in upload
2013-11-30 16:42:47 +01:00
Marcin Kurczewski
4285aff671
Fixes to preloading
2013-11-30 16:19:48 +01:00
Marcin Kurczewski
31ccb9a281
Optimalization: changed entity retrieval
2013-11-30 14:23:53 +01:00
Marcin Kurczewski
01c54d4d83
Optimalization: simplified selectors
...
Squash
2013-11-30 14:23:46 +01:00
Marcin Kurczewski
dd8ab7c001
Optimalization: tweaks to .htaccess
2013-11-30 14:20:17 +01:00
Marcin Kurczewski
d7cb024f24
Refactored pagination queries
2013-11-30 13:59:29 +01:00
Marcin Kurczewski
28dbb85b46
Newest chibi-core
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
c9a8f99f6a
Optimization: preloading moved back to controllers
...
- Nearly twice faster page load
- Query count greatly dropped
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
5a231b19c3
Bugfix to JS (unknown variable error)
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
3dd3ca5d99
Optimalization: moved <script> from HEAD to footer
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
1e954bb815
Optimalization: faster but dirty row retrieval
2013-11-30 01:10:55 +01:00
Marcin Kurczewski
518311ff61
Optimalization: some JS tweaks
...
- Removed redundant function
- Using .preventDefault instead of return calls in some places
2013-11-30 01:10:48 +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
5e58488f3e
Optimalization: simplified tabs structure
2013-11-30 00:05:03 +01:00
Marcin Kurczewski
e4b4c5d273
Optimalization: added stuff to .htaccess
2013-11-29 23:58:06 +01:00
Marcin Kurczewski
83fa19ee22
Updated jQuery to 2.0.3; added jQuery map file
2013-11-29 23:58:06 +01:00
Marcin Kurczewski
2a625db683
Added support for backets in tag names
2013-11-29 10:42:56 +01:00
Marcin Kurczewski
4648b6afca
Tag autocomplete aligned to right only in top nav
2013-11-27 17:44:52 +01:00
Marcin Kurczewski
ef70c1523f
HTML validation
2013-11-27 17:42:26 +01:00
Marcin Kurczewski
89a1b1acf7
Version upgrade (0.5.0)
2013-11-26 18:18:54 +01:00
Marcin Kurczewski
7820417188
Layout: fixed autocomplete box position
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
f226c3eb0c
Fixed hotkeys conflicting with Flash on Chrome
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
c683fa3b0f
User settings: added opt-in tags in post thumbs
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
505fe1bac3
Mass tag: fixed concurrent tag toggling
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
9819416f35
Markdown: fixed matching ( ) and { } in links
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
aa37ee66ff
Various JS optimizations
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
20022ea4ab
Next/prev links are bound to latest search query
2013-11-25 22:23:45 +01:00
Marcin Kurczewski
d461a88001
Refactor to query builder; added triggers
...
Instead of recomputing comment/fav/tag count from scratch on every request,
store it in DB as *_count columns that get updated with proper triggers.
2013-11-24 21:41:38 +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
75775cdc15
Increased letterbox threshold
2013-11-23 20:38:44 +01:00
Marcin Kurczewski
0b22f2621e
Markdown tweaks
...
- Faster log rendering
- New transform kind: simpleTransform()
2013-11-23 20:00:02 +01:00
Marcin Kurczewski
c5292580ce
Post edit: added custom thumbnail indicator
2013-11-23 17:29:08 +01:00
Marcin Kurczewski
f8e19779a0
Cosmetic change to property model
2013-11-23 17:29:01 +01:00
Marcin Kurczewski
3b532532d1
Post edit: post content can now be replaced
2013-11-23 17:27:56 +01:00
Marcin Kurczewski
ee224b84db
Tag list: added info when there are no tags
2013-11-23 16:03:43 +01:00
Marcin Kurczewski
d274f1c044
Fixed featured post quirks
...
- fixes for empty database
- when post was deleted, new one is selected automatically
2013-11-23 16:03:40 +01:00
Marcin Kurczewski
7e56fce470
Sending comment hides preview
2013-11-23 15:39:19 +01:00
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