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

97 commits

Auteur SHA1 Message Date
akuma06
4cbbb95e4f Notification for Users (WIP) 2017-05-20 20:53:05 +02:00
sfan5
4c24318cb3 More sukebei fixes (#649)
* Remove useless .Table() from db usage

This is handled via TableName() already

* Optimization: omit file-list fetching for old torrents

* Use seperate tables for reports & files on sukebei

* Fix invalid pages in nav if <5 pages total
2017-05-21 00:26:22 +10:00
akuma06
369c9151f1 Merge remote-tracking branch 'refs/remotes/origin/dev' into multi-action-torrents-mod
# Conflicts:
#	router/modpanel.go
#	router/router.go
#	service/torrent/torrent.go
2017-05-20 13:58:37 +02:00
akuma06
0d5e2abf7f Added multi action on torrents 2017-05-20 13:45:15 +02:00
sfan5
a3fa6df938 Remove bugs (#643)
* Fix S/L/D columns wasting huge amounts of space

Partially reverts 0c9cdfa8bf.

* Move last scrape below seed-bar

Also fixes the very misleading indentation

* Show category name on view page too

* Fix fucked up login page (fixes #640)

* Fix empty page on login w/o pass (fixes #634)

* Fix incorrectly colored error text in day mode

* Better readable footer in night mode

* Prepare having old uploader names on sukebei and various fixes for sukebei

* Different HTML title for sukebei
2017-05-20 20:45:27 +10:00
tomleb
7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
MMP0
81433403bc Fix error 2017-05-18 10:02:52 +09:00
tomleb
44d75f506d Add dumps view 2017-05-17 19:05:58 -04:00
Ramon Dantas
a64c3c5b71 Minor fixes. (#575)
* Sort Comments by Date and Files by Name on viewTorrent

* Make comments start at 1, not 0.
2017-05-17 21:16:40 +10:00
PantsuDev
70f87e7aac finish repo transfer 2017-05-17 15:58:40 +10:00
akuma06
9cdfc00762 Number of comments
Issue #553
2017-05-17 00:05:16 +02:00
Eliot Whalan
cec71bd759 Add in support for commenting on sukebei 2017-05-16 12:53:02 +10:00
Ramon Dantas
f351c2b047 Store torrent FileList info as bencoded data. (#530)
Use this instead of joining with forward-slashes because it's possible
that a torrent uses "foo/bar" as a filename or part of the directory list.
2017-05-16 07:45:47 +10:00
ElegantMonkey
7d8cbe1393 Add Upload and Download limiters, rely on unique_index for avoiding duplicates
The FileList that is read with GetTorrents is empty, as it's only loaded with
GetTorrentById. So, always insert the new FileList on the database, and rely on
the unique_index to avoid duplications.
2017-05-14 11:35:03 -03:00
ElegantMonkey
839e6068df Add FileList view to view.html template
Also added the code for FileList loading on torrentService.
2017-05-14 10:19:19 -03:00
ElegantMonkey
80034bb52b Also read file lists from metadata, fix Length == 0 2017-05-13 23:12:18 -03:00
sfan5
b2581f549b Display human-readable report reason in modpanel
Also fixes the "list all torrent reports" subpage
2017-05-12 20:43:38 +02:00
sfan5
dc509ff18c Stateless cookie auth 2017-05-12 12:40:31 +02:00
Eliot Whalan
bcaac0961f Revert "Stateless cookies (#372)"
This reverts commit 2f06fb8fa1.
2017-05-12 16:42:15 +10:00
akuma06
44508c9f82 Fix comment model 2017-05-12 01:40:02 +02:00
sfan5
019f37dc4d Stateless cookies (#372)
* Remove eddie4.nl tracker

It resolves to the same IP address as leechers-paradise which we already have.

* Remove database usage from cookie auth

* Hide "Remember Me" as it doesn't work yet
2017-05-11 16:18:56 -05:00
akuma06
9f2d0f1962 New translation function and time depends on translation 2017-05-11 13:15:52 +02:00
sfan5
64622c3601 Make comment date display consistent with other date displays 2017-05-11 11:37:10 +02:00
Eliot Whalan
fec023e404 Add display of seeders/peers/completed to view 2017-05-11 09:31:10 +10:00
Eliot Whalan
30d4ba5e9c Merge branch 'scraper' of git://github.com/majestrate/nyaa into majestrate-scraper 2017-05-11 09:11:54 +10:00
ayame-git
d2c2de2ef9 ... 2017-05-11 01:10:42 +03:00
Jeff Becker
c6427ba600 Merge remote-tracking branch 'origin/master' into scraper 2017-05-10 18:08:10 -04:00
Jeff Becker
604cf57677 make it work 2017-05-10 18:06:21 -04:00
sfan5
9c562018e5 Link to user page from comment section 2017-05-10 23:53:30 +02:00
ayame-git
c0e2eaa56a Merge branch 'master' of github.com:ewhal/nyaa 2017-05-10 23:31:27 +03:00
ayame-git
9b5515dcb8 🤔 2017-05-10 23:31:15 +03:00
akuma06
3acb410af7 Merge pull request #302 from sfan5/fixayy
Fixes & Features (as always)
2017-05-10 22:24:33 +02:00
ayame-git
6198c4a618 fixed dup renchon on report 2017-05-10 23:24:06 +03:00
sfan5
64473e68ad Fix magnet links 2017-05-10 22:11:37 +02:00
ayame-git
8373bce02f unborked report list 2017-05-10 22:09:37 +03:00
ayame-git
1bf4012eb2 yea.. 2017-05-10 21:42:20 +03:00
Jeff Becker
0f582c1197 Merge remote-tracking branch 'origin/master' into scraper 2017-05-10 13:29:56 -04:00
Jeff Becker
1089883ed5 initial 2017-05-10 13:29:35 -04:00
akuma06
032688f532 Fixed 2017-05-10 16:43:50 +02:00
Eliot Whalan
5de19ec928 add md5 gorm column back 2017-05-10 21:57:31 +10:00
sfan5
1805f0f6aa Fix old comments 2017-05-10 13:34:25 +02:00
sfan5
775f9c15ad Display username of old uploads alongside れんちょん 2017-05-10 13:32:45 +02:00
sfan5
ee6aea139f Add FIXMEs 2017-05-10 13:09:23 +02:00
bakape
58ca34132c cache: Add total torrent count and fixes 2017-05-10 12:32:49 +03:00
bakape
5d40d02820 Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 12:08:02 +03:00
bakape
8b56f2e76e Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 11:47:06 +03:00
Your Name
e03ab87665 add delet link 2017-05-10 08:37:52 +00:00
bakape
7ff8e97c9d Framework for caching []model.Torrents 2017-05-10 11:27:17 +03:00
Your Name
e8c133fc69 display reports properly 2017-05-10 07:57:55 +00:00
Your Name
b5adfb8eb4 Merge remote-tracking branch 'tom/mod' 2017-05-10 07:32:01 +00:00