Commit graph

674 commits

Author SHA1 Message Date
Marcin Kurczewski
f2dd8cecb4 Fixed mcrypt_encode using key with invalid size 2014-10-08 17:14:44 +02:00
Marcin Kurczewski
330f5c344c Fixed thumbnail generating
Migrating to PHP5.6 revealed that thumbnail generating used relative
paths instead of absolute paths.
2014-10-08 13:43:34 +02:00
Marcin Kurczewski
37ff4705a6 Changed post permalink handling 2014-08-23 20:36:54 +02:00
Marcin Kurczewski
46e47f6f39 Optimized overhead a tiny bit 2014-08-23 15:35:22 +02:00
Marcin Kurczewski
29384a4b91 Upgraded to newest chibi-core 2014-08-23 14:13:09 +02:00
Marcin Kurczewski
4f68ee6097 Added support for imgsize:X 2014-08-15 11:07:30 +02:00
Marcin Kurczewski
6014609a78 Added support for filesizemin:X and filesizemax:X 2014-08-15 11:07:30 +02:00
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
40e774cce9 Reorganized code to reduce comments 2014-08-09 20:35:31 +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
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
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
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
a2c8ceecc4 Changed post upload form 2014-07-28 18:15:09 +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
eb2b74fdd4 Added simple antispam protection to registration 2014-07-04 08:10:49 +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
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
427f305101 Split post page view and post download privileges 2014-06-10 21:12:14 +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
09973ae151 Shortened a few lines in views 2014-06-10 11:01:24 +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
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