Commit graph

785 commits

Author SHA1 Message Date
Marcin Kurczewski
fc569df34e Improved next/prev post behavior 2014-08-08 20:27:47 +02:00
Marcin Kurczewski
f78d09b424 Removed global Javascript variables 2014-08-08 20:13:50 +02:00
Marcin Kurczewski
b97726f6ff Changed behavior of post list tabs
Before: each one linked to separate page that contained "static" search.
After: each one links to generic search that is aware of current search.

Example: if you searched for "snow" and clicked "upvoted", you would see
all upvoted posts ever regardless of what you just searched for. After
this change, you will see upvoted posts that have tag "snow". Now, if
you go back to "all posts", you will see again all posts tagged with
"snow" with or without the upvotes. Similarly if you click favorites,
favmin:1 will be appended to your search. In order to totally reset your
search, click "browse".

Additionally, typing favmin:1 and scoremin:1 manually now selects proper
tab.  Previously tabs were marked only if you clicked the tab.

Unfortunately, all of this had to happen at expense of URLs like
/upvoted and /random - now everything is represented with plain /posts/.
2014-08-04 22:15:10 +02:00
Marcin Kurczewski
ea5a07b509 Fixed thumbnails for non-image uploads 2014-08-03 23:43:51 +02:00
Marcin Kurczewski
42d814656a Added protection against unsupported URLs 2014-08-03 23:43:51 +02:00
Marcin Kurczewski
26fcfa1bd9 Improved support for small screens in upload form 2014-08-03 23:43:36 +02:00
Marcin Kurczewski
aca551038f Improved input alignment in forms 2014-08-03 23:42:24 +02:00
Marcin Kurczewski
2ccb7f3534 Moved "upload anonymously" checkbox below "source" 2014-08-03 22:27:36 +02:00
Marcin Kurczewski
0d9f39d645 Fixed being able to add post relation to itself 2014-08-03 22:06:13 +02:00
Marcin Kurczewski
9e29441c68 Added sorting by tag usage dates to tag list 2014-07-31 11:53:19 +02:00
Marcin Kurczewski
c1f8a5e632 Upgraded chibi-sql 2014-07-31 11:52:43 +02:00
Marcin Kurczewski
729ed6f6a8 Added setting optimal height to thumbnails 2014-07-30 08:53:38 +02:00
Marcin Kurczewski
85f6926300 Improved margins in debug messages 2014-07-28 18:15:09 +02:00
Marcin Kurczewski
8ad607f64f Updated jQuery to 2.1.1 2014-07-28 18:15:09 +02:00
Marcin Kurczewski
a2c8ceecc4 Changed post upload form 2014-07-28 18:15:09 +02:00
Marcin Kurczewski
6eac6afbeb Improved safety buttons apperanace 2014-07-27 23:26:46 +02:00
Marcin Kurczewski
aa20251ee5 Improved aligning post lists to their containers 2014-07-27 19:33:20 +02:00
Marcin Kurczewski
c7f077d89a Fixed thumbnails for deleted Youtube videos 2014-07-25 23:15:36 +02:00
Marcin Kurczewski
e2f6440e18 Fixed logging of tag removal in mass tag 2014-07-17 08:51:36 +02:00
Marcin Kurczewski
f885acb5f2 Added gzip compression to TTF fonts 2014-07-04 08:22:48 +02:00
Marcin Kurczewski
eb2b74fdd4 Added simple antispam protection to registration 2014-07-04 08:10:49 +02:00
Marcin Kurczewski
6543dcc8f9 Fixed thumbnails in upload 2014-06-20 21:29:52 +02:00
Marcin Kurczewski
6cacb90eef Added maxlength attribute to post source 2014-06-20 18:44:08 +02:00
Marcin Kurczewski
fe451af7be Added cache to upload thumbnails proxy 2014-06-20 18:31:59 +02:00
Marcin Kurczewski
65836f4789 Changed file layout to separate class 2014-06-20 18:31:33 +02:00
Marcin Kurczewski
3b5839031e Added opt-in thumbnail proxying in upload
Rationale: some services thought that images linked from /posts/upload
are hotlinked. This is because they were receiving referrer set to a
host that is unknown for them. By using proxying, referrer is blank,
which increases thumbnail coverage at the expense of increased
server-side traffic.
2014-06-20 18:03:13 +02:00
Marcin Kurczewski
da9765c352 Fixed youtube thumbnails
API v2 got deprecated in March and v3 requires signup. Hotlinking like a
boss.
2014-06-20 17:04:42 +02:00
Marcin Kurczewski
d45da1e0ae Fixed detached files discovery
Searching for detached files used PostSearchService, which by default
hides all hidden posts unless user explicitly asks to search for them.
That way, all hidden posts were treated as detached, so their content
was being removed when using the script in question.
2014-06-13 12:03:59 +02:00
Marcin Kurczewski
a945a1d6db Fixed misleading isFalse and isTrue in Assert 2014-06-13 12:01:19 +02:00
Marcin Kurczewski
a243f6b91a Simplified a few method calls in model layer 2014-06-13 11:52:09 +02:00
Marcin Kurczewski
8a2e6948bc Fixed links in related tags view 2014-06-13 11:46:18 +02:00
Marcin Kurczewski
37fdc3057f Merged unused search service method 2014-06-10 21:32:18 +02:00
Marcin Kurczewski
0f112adb05 Added comments on new privileges to config 2014-06-10 21:20:58 +02:00
Marcin Kurczewski
427f305101 Split post page view and post download privileges 2014-06-10 21:12:14 +02:00
Marcin Kurczewski
3a34609fa4 Fixed config for tests 2014-06-10 12:31:42 +02:00
Marcin Kurczewski
a3c9338386 Added custom favicon and assets support to config
Also, moved title key to [appearance] section
2014-06-10 12:01:15 +02:00
Marcin Kurczewski
21d72bc17e Added robots.txt 2014-06-10 11:40:11 +02:00
Marcin Kurczewski
09973ae151 Shortened a few lines in views 2014-06-10 11:01:24 +02:00
Marcin Kurczewski
c2e3c8dd23 Fixed consecutive post editing
Editing post twice in a row resulted in warning about concurrent
editing.
2014-06-10 10:56:33 +02:00
Marcin Kurczewski
d242eedb31 Improved checks for concurrent post edits 2014-06-10 10:49:11 +02:00
Marcin Kurczewski
538165e3ff Moved job context management to interface 2014-06-10 10:48:08 +02:00
Marcin Kurczewski
2c7f11e57e Changed output of find-posts script 2014-06-01 14:39:56 +02:00
Marcin Kurczewski
e32e569296 Fixed default thumbnail retrieval 2014-06-01 14:16:05 +02:00
Marcin Kurczewski
320cd2e194 Simplified post revision management 2014-06-01 14:07:53 +02:00
Marcin Kurczewski
894457363e Fixed upgrading test database 2014-06-01 14:06:46 +02:00
Marcin Kurczewski
bf8e6e9e00 Simplified thumbnail and content retrieval code 2014-06-01 13:51:29 +02:00
Marcin Kurczewski
132e9ce3c0 Simplified test config management 2014-06-01 13:43:35 +02:00
Marcin Kurczewski
4ec0df17d6 Added script unit tests 2014-06-01 13:41:08 +02:00
Marcin Kurczewski
4d13a83047 Fixed tags post count placement in sidebar 2014-05-30 08:46:12 +02:00
Marcin Kurczewski
e382dc7f7d Fixed rare bug regarding last login time 2014-05-28 21:22:31 +02:00