Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

39 commits

Auteur SHA1 Message Date
sfan5
b930997c68 Make sorting by date date work nicely 2017-05-14 17:35:10 +02:00
Mokhtar
a9019bb490 Fix search category filter when subcategory's length exceeds 1 character (#457)
* Fixed search category filter when subcategory's length exceeds 1 character

* Changed the subcategory's length check to not let the possibility to overflow
2017-05-14 14:03:04 +10:00
sfan5
c5fe70800d Disable CTEs and TSQuery for now 2017-05-12 19:38:08 +02:00
sfan5
38f23a3d7f Use ts_query on Postgres for performance reasons
Untested.
2017-05-12 17:41:26 +02:00
wranai
4b810494f3 Now really fixing the status filter (#354)
I managed to screw up in the last update. Normal is 0 and remake is 1, so that makes the "goodness" order of statuses non-monotonic, so I can't use the greater sign for filtering out remakes...
2017-05-11 14:46:23 -05:00
Jeff Becker
0e8a3cde3b Merge branch 'cache-interface' into merge-cache-interface 2017-05-11 09:24:20 -04:00
Jeff Becker
059ea7d2a8 abstract out cache 2017-05-11 09:01:53 -04:00
Eliot Whalan
c1cafb9d9a Remove broken caching stuff 2017-05-11 22:22:49 +10:00
Jeff Becker
57895251a3 fix torrent swarm ordering and add timeouts for udp scrape 2017-05-11 07:40:50 -04:00
akuma06
e8774abf21 Updated search
When in a user page and clicked on more torrents, show a list navigable
of the user torrent
On that list, we can make advance search (categories, order, ...)

Moderation search reimplemented
Clicking on user (id) in the torrent list redirect to the list of the
user torrents
Ability to search within the user torrents
2017-05-11 03:52:42 +02:00
Eliot Whalan
65ee41a10b Add orderby seeders/leechers/completed 2017-05-11 10:26:58 +10:00
wranai
12bb79b4f5 Fixing the status filter for good (#326)
"Trusted" should include A+ (a.k.a "Trusted A+") torrents as well.
2017-05-10 18:13:54 -05:00
Sirakain
6c479f33be Filter remakes excludes from SQL query, not A+ (#309)
Fixes #286
2017-05-10 16:09:38 -05:00
ayame-git
1bf4012eb2 yea.. 2017-05-10 21:42:20 +03:00
bakape
58ca34132c cache: Add total torrent count and fixes 2017-05-10 12:32:49 +03:00
bakape
6bf7ee3438 Search query caching 2017-05-10 12:03:49 +03:00
Chris MacLeod
c9b72206a5 Consistency, formatting, error checking, cleanup, and a couple bug fixes (#245)
* Checkpoint: it builds

The config, db, model, network, os, and public packages have had some
fixes to glaringly obvious flaws, dead code removed, and stylistic
changes.

* Style changes and old code removal in router

Router needs a lot of work done to its (lack of) error handling.

* Dead code removal and style changes

Now up to util/email/email.go. After I'm finished with the initial sweep
I'll go back and fix error handling and security issues. Then I'll fix
the broken API. Then I'll go through to add documentation and fix code
visibility.

* Finish dead code removal and style changes

Vendored libraries not touched. Everything still needs security fixes
and documentation. There's also one case of broken functionality.

* Fix accidental find-and-replace

* Style, error checking, saftey, bug fix changes

* Redo error checking erased during merge

* Re-add merge-erased fix. Make Safe safe.
2017-05-09 21:34:40 -05:00
Jeff
18d6ad3992 make rss fast again :^) 2017-05-09 11:07:42 -04:00
bakape
839bc46163 Workaround for SQLite search
At least we can test it in development now.
2017-05-09 15:31:47 +03:00
bakape
a0ae1f7e6a Refactor search
Optimise, error handling and avoid some exploits
2017-05-09 14:31:58 +03:00
Eliot Whalan
66a2adecfc Merge branch 'less-realloc' of git://github.com/bakape/nyaa into bakape-less-realloc 2017-05-09 13:16:42 +10:00
ayame-git
d3fc3f8b7a Revert "autism"
This reverts commit 59b1e2bb5f.
2017-05-09 06:14:31 +03:00
PantsuDev
7ab4d45505 Merge branch 'master' into less-realloc 2017-05-09 13:14:20 +10:00
ayame-git
ecaa9f765a autism 2017-05-09 05:44:08 +03:00
akuma06
86a2f3f110 Added User Search Functionality 2017-05-09 04:30:25 +02:00
ayame-git
711dc5fda0 category and status search not workign 2017-05-09 05:29:26 +03:00
bakape
d0d44a4849 Death to reallocations! 2017-05-09 02:56:57 +03:00
sfan5
9314cf1a47 Revert "Added user torrents search"
This reverts commit 65a543478a.
2017-05-08 22:50:25 +02:00
akuma06
dff5ca06c6 Added user torrents search 2017-05-08 19:42:18 +02:00
Jeff Becker
3349a6d908 remove sql injections 2017-05-08 10:39:41 -04:00
Eliot Whalan
d1ad555450 Possibly fix search 2017-05-09 00:13:53 +10:00
Eliot Whalan
eca5079080 Optimize sql queries 2017-05-08 23:50:18 +10:00
sfan5
b780b3799b Revert "Merge pull request #153 from majestrate/faster-rss"
This reverts commit a9d19644c9, reversing
changes made to 4f14dfb04f.
2017-05-07 23:41:44 +02:00
Eliot Whalan
003951f902 Merge branch 'master' into faster-rss 2017-05-08 07:16:37 +10:00
sfan5
ae89508f23 Search case-sensitivity hotfix 2017-05-07 23:01:06 +02:00
Jeff Becker
28ef70c960 make rss feeds faster 2017-05-07 13:50:55 -04:00
Eliot Whalan
21db440d20 Add max search limit 2017-05-06 20:41:48 +10:00
akuma06
6b1196f12c Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
Resolved conflicts with new merge
2017-05-05 22:30:56 +02:00
akuma06
9739610311 Separated Routes and handler from Main
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00