Commit graph

800 commits

Author SHA1 Message Date
Marcin Kurczewski
b1ba30adcb Added support for date:today and date:yesterday 2014-08-15 11:07:25 +02:00
Marcin Kurczewski
e93c447758 Added date validation in post search queries 2014-08-15 10:22:03 +02:00
Marcin Kurczewski
a6f71d73c8 Improved HTML structure of check- and radioboxes 2014-08-09 23:28:36 +02:00
Marcin Kurczewski
c117e0d2a6 Added custom checkboxes and radioboxes 2014-08-09 23:28:36 +02:00
Marcin Kurczewski
f93b6cf94b Made upload form use generic form field renderers 2014-08-09 21:46:02 +02:00
Marcin Kurczewski
1b99f17557 Fixed typo in CSS 2014-08-09 20:53:09 +02:00
Marcin Kurczewski
a4f04352a4 Improved permalink appearance 2014-08-09 20:49:37 +02:00
Marcin Kurczewski
40e774cce9 Reorganized code to reduce comments 2014-08-09 20:35:31 +02:00
Marcin Kurczewski
9b9ba9c33c Added flash size constraining 2014-08-09 19:53:51 +02:00
Marcin Kurczewski
abbaa35188 Done some code cleanup 2014-08-09 19:52:48 +02:00
Marcin Kurczewski
68c34a9f93 Added permalink field to post view 2014-08-09 15:08:59 +02:00
Marcin Kurczewski
f52e97e08a Fixed problems with persistent search parser cache 2014-08-09 12:36:53 +02:00
Marcin Kurczewski
d45a590531 Added exit status codes to test runner 2014-08-09 12:25:30 +02:00
Marcin Kurczewski
a9a5bea1c7 Changed last search query tracking to server-side
Recent changes to last search query handling still haven't fixed all
possible routes, so I've simplified the whole thing at expense of clean
URLs.
2014-08-09 12:15:03 +02:00
Marcin Kurczewski
1ea7c187ab Added new tabs support for next/prev post 2014-08-08 21:39:48 +02:00
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