Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/util
akuma06 eaf4e23266 Fix hidden on User Profile (#1039)
When a user had hidden torrents, they were still listed on his user page even if it's not the actual user who is viewing it.
That's why I added a new function for searching which filter out hidden torrents.
Now when a user go to his own page (or a moderator), he can see all his torrents.
However if another person visit the page, only non hidden torrents will be listed.
I added the hidden parameter in ES database, it permits also to use the search instead of SQL when listing torrents on the user page. Less load time, go with the idea that we should use ES everywhere when needed.
2017-06-21 11:58:54 +10:00
..
categories Added tests on some package + simplified a little modelHelper (#1026) 2017-06-20 10:06:07 +10:00
crypto Golint friendly next (#756) 2017-05-26 12:12:52 +02:00
email New config files (#854) 2017-05-30 21:21:57 -05:00
feeds Hopefully fix torznab api 2017-06-20 17:10:47 +10:00
filelist Audio captcha (#995) 2017-06-14 20:10:03 +10:00
log New config files (#854) 2017-05-30 21:21:57 -05:00
messages Should fix #991 2017-06-14 09:00:50 +02:00
metainfo Fix infohash decoding (#813) 2017-05-29 07:47:47 +10:00
modelHelper Added tests on some package + simplified a little modelHelper (#1026) 2017-06-20 10:06:07 +10:00
publicSettings Add customizable mascot by URL. 2017-06-05 11:32:48 -03:00
search Fix hidden on User Profile (#1039) 2017-06-21 11:58:54 +10:00
signals Let net/http gracefully close 2017-05-29 16:29:34 +10:00
timeHelper Golint friendly next (#756) 2017-05-26 12:12:52 +02:00
torrentLanguages gosimple friendly 2017-06-14 09:20:42 +02:00
format.go Add web address config (#888) 2017-06-03 11:45:24 +10:00
magnet.go Url encode the display name 2017-06-04 10:24:27 +02:00
markdown.go Small typo fix 2017-06-14 14:27:05 +03:00
safe.go Golint friendly next (#756) 2017-05-26 12:12:52 +02:00
util_test.go Added tests on some package + simplified a little modelHelper (#1026) 2017-06-20 10:06:07 +10:00