Commit graph

24 commits

Author SHA1 Message Date
aldacron
142dd5359c Resolves #129 and refactored create magnet es naming 2017-05-24 23:19:08 -07:00
TheAMM
3a4280ccc5 Redirect searches with an info hash to torrent if found
Redirect will not happen on RSS or user page views (/searches).
Adds a helper to models.Torrent to search with a hex hash
Reformats "special search logic"
2017-05-24 17:34:36 +03:00
TheAMM
aeef80edaa Clean up user search suggestion 2017-05-24 13:34:33 +03:00
ReimuHakurei
f215f0803c Add per-user filter on search page based on query. 2017-05-24 08:33:32 +00:00
ReimuHakurei
8d393f5917 Make our HTML actually valid. Fix indentation. 2017-05-24 06:06:39 +00:00
TheAMM
e554f9ae97 Fix category name on icon titletext, fixes #131
Also reformats the cat_id if-logic
2017-05-19 15:24:09 +03:00
Ricardo Ribeiro
d8ef29755e Remove trailing spacebar on search_results 2017-05-16 15:08:47 +01:00
Ricardo Ribeiro
1f0f8cbeae Add full torrent name to link "title"
Now on ElasticSearch results as well
2017-05-16 14:49:15 +01:00
aldacron
00c768c722 merged elasticsearch, let's hope this doesn't break shit 2017-05-16 01:28:55 -07:00
aldacron
1d0177480e updated time display 2017-05-16 01:04:08 -07:00
aldacron
2005174358 finished up rss, changed rss behavior to include pre-defined trackers only, also cleaned up debug statements 2017-05-16 00:46:25 -07:00
aldacron
899aa01473 hooked up ES... 90% done, need to figure out how to generate magnet URIs 2017-05-15 23:51:58 -07:00
sharkykh
5c75424243 Fix 'Link' column header width
Set optimal width of 70px
2017-05-15 11:54:28 +03:00
queue
85ba16545f es: fix highlighting without query term
I like highlighting.
2017-05-14 22:26:44 -06:00
Johnny Ding
8bca32a626 Merge pull request #50 from qqueue/elasticsearchin
elasticsearch-based search (WIP)
2017-05-14 20:06:33 -07:00
TheAMM
cf77b03a6f Convert UTC to local time in JS
Also adds classes to row headers to accurately access them in JS.
Updates the serverside date format in view.html to match YYYY-MM-DD HH:MM
2017-05-14 11:23:02 +03:00
queue
8c951210d4 es: implement highlighting
no apologies for styling. somebody else with opinions will fix it later.
2017-05-14 02:19:42 -06:00
queue
3cbe2e4221 WIP hack in es as the provider for search results
real sketch. lots of stuff is still broken. But! you can
make elasticsearch q= style queries and it shows up properly.
only first page works; need to adapt pager to elasticsearch's "total-hits" thing.
2017-05-14 02:01:26 -06:00
TheAMM
5af55245ec [templates] Add category links to /view, add hover-text to category icons in list 2017-05-13 08:17:22 +03:00
nyaadev
b2b8ae9722 S T O P H A R D C O D I N G U R L S 2017-05-13 01:59:52 +02:00
TheAMM
39230e1f39 [templates] Add JS-calculated hovertext for date ages
On torrent listing and torrent view, mouse over the times to see "X hours Y minutes Z seconds ago" etc
2017-05-13 02:41:52 +03:00
TheAMM
517d3e8e32 [templates, config] Add SITE_FLAVOR for selecting nyaa/sukebei, update templates
By default TABLE_PREFIX is derived from flavor.
Added back Date column, adjusted column widths
2017-05-13 02:41:52 +03:00
TheAMM
4f9ddfd7bc [templates] Clean up row headers to use a common macro, add title for s/l/d icons 2017-05-12 22:24:45 +03:00
nyaadev
00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00