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/service
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
..
activity activity log for users (#1002) 2017-06-15 12:44:46 +10:00
api Fixed possible whitespace in hashes 2017-06-18 03:26:46 +02:00
captcha Golint friendly next (#756) 2017-05-26 12:12:52 +02:00
comment activity log for users (#1002) 2017-06-15 12:44:46 +10:00
notifier Golint friendly next (#756) 2017-05-26 12:12:52 +02:00
report activity log for users (#1002) 2017-06-15 12:44:46 +10:00
scraper Move scrape results to separate table (#980) 2017-06-16 01:13:09 +02:00
torrent Move scrape results to separate table (#980) 2017-06-16 01:13:09 +02:00
upload New upload API (#897) 2017-06-05 08:19:25 -05:00
user Fix hidden on User Profile (#1039) 2017-06-21 11:58:54 +10:00
service.go gosimple friendly 2017-06-14 09:20:42 +02:00