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

267 commits

Auteur SHA1 Message Date
tomleb babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
Akatsuki-Ousawa e86627abed Update uploadHandler.go 2017-05-18 22:14:14 +02:00
Akatsuki-Ousawa bba5faa58a Update apiHandler.go 2017-05-18 22:13:00 +02:00
Akatsuki-Ousawa 0ee0ef6fd9 Update apiHandler.go 2017-05-18 15:37:44 +02:00
Akatsuki-Ousawa bc3de070af Update uploadHandler.go 2017-05-18 14:29:58 +02:00
Akatsuki-Ousawa 2f2d03667c Update apiHandler.go 2017-05-18 14:27:13 +02:00
akuma06 a511b901e9 Merge pull request #602 from MMP0/patch-19
Small changes and Fix errors
2017-05-18 03:12:27 +02:00
akuma06 22c87a6bbf fix handlers error 2017-05-18 03:09:23 +02:00
akuma06 2d87cc891a Update databaseDumpHandler.go 2017-05-18 03:04:18 +02:00
akuma06 2c99f46453 Update databaseDumpHandler.go 2017-05-18 03:00:51 +02:00
MMP0 c4c53a6c61 Fix error 2017-05-18 09:55:23 +09:00
tomleb 9c6c66d0e9 Don't make path configurable, detect empty directory 2017-05-17 19:05:58 -04:00
tomleb 44d75f506d Add dumps view 2017-05-17 19:05:58 -04:00
SpamNeko 6fc5423166 Fix default sorting UI state (#598) 2017-05-18 09:03:11 +10:00
sfan5 1be4ec1a94 Use JS date formatting for comments too 2017-05-17 16:07:32 +02: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
ElegantMonkey 9f9b45eb71 Add pagination to RSS handler
Make it behave more like the search handler.
2017-05-16 18:32:41 -03:00
Eliot Whalan 4e61605a30 Merge branch 'dev' 2017-05-16 13:34:21 +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
sfan5 cb455113cc Various fixes (#521)
* Re-add old uploader name to view page

* Update zh-CN translation (fixes #519)

* Nicer text boxes in night mode (closes #515)

* Fix max results defaulting to 5 (fixes #488)

* Add link back to nyaa on sukebei (fixes #255 and #437)

* Fix visual bug with pt-BR translation (fixes #427)
2017-05-15 21:55:16 +10:00
Eliot Whalan a5e81b2d8c Fix uploads 2017-05-15 19:50:39 +10:00
Eliot Whalan cf4e482046 Get sukebei working 2017-05-15 19:08:17 +10:00
ElegantMonkey df2c9bc2f7 Fix conflicts 2017-05-14 21:19:29 -03:00
SpamNeko 0c9cdfa8bf Sorting arrows on table headers (#504)
* Sorting arrows on table headers

* Better arrows and seperate S/L/D columns
2017-05-14 19:01:04 -05:00
Atvaark cd844aec45 Replace 'en-us' literals with the default language
This consolidates the places where a default language has to be set.

- Removed import of the 'userService' package into the 'languages' util
  package
  This was required to prevent a cyclic import between the two packages.
- Added a 'UserRetriever' interface to read the language setting of users
  inside the 'languages' package
2017-05-14 22:10:07 +02:00
ElegantMonkey 2ab4d4ad9e Fix conflict on translation 2017-05-14 12:45:07 -03:00
ElegantMonkey 720c27e38f Get FileList of new uploaded .torrent files 2017-05-14 12:28:48 -03:00
Eliot Whalan 9261847a93 Merge branch 'dev' of https://github.com/ewhal/nyaa into dev 2017-05-14 23:26:25 +10:00
SpamNeko 145dc40cd8 Make table header sorting links point to /search always so the work on home 2017-05-14 13:44:39 +01:00
Eliot Whalan ec80ada958 Fix table sorting 2017-05-14 22:30:09 +10:00
sfan5 2827362b54 Fully fix modpanel 2017-05-14 13:23:27 +02:00
sfan5 f1aa52e618 Cleanup usage of now removed HideAdvancedSearch 2017-05-14 13:05:18 +02:00
sfan5 c60a8635fc Fix search in modpanel (@SpamNeko broke it) 2017-05-14 13:01:59 +02:00
akuma06 8dd9f59cf5 Merge pull request #436 from sfan5/treassign
Modpanel: Torrent Reassigning
2017-05-14 00:29:44 +02:00
SpamNeko dc32f041e1 Add sorting to table headers, delet advanced search 2017-05-13 18:14:51 +01:00
sfan5 b24e31a7dc Check assign-to user for existence beforehand 2017-05-13 17:36:50 +02:00
sfan5 c0be570e54 Torrent Reassign feature for modpanel 2017-05-13 17:29:21 +02:00
PantsuDev 0ae488e7eb Merge branch 'dev' into dev 2017-05-13 12:24:55 +10:00
PantsuDev 44b327e1a3 Merge pull request #395 from sfan5/searchperf
(Search) performance
2017-05-13 12:24:03 +10:00
ElegantMonkey 5dcd3892f4 Add dropdown to the bottom of the page (needs JS) 2017-05-12 21:01:17 -03:00
sfan5 00bb382cdb Modpanel stuff (#401)
* Fix table on modpanel index

* Fix actions on torrent report list page

* Fix error reporting on modpanel templates

* Convenience functions for modpanel

Link to view page primarily and to edit page as a seperate link

* Missing confirm before torrent deletion

* Add edit button directly onto view page
2017-05-12 17:31:27 -05:00
ElegantMonkey 7808615c6a Add route and template files 2017-05-12 19:28:56 -03:00
ElegantMonkey dfd9caeb31 Add language selector without login 2017-05-12 19:17:34 -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 5cb672b06a Stop RSS from being so slow 2017-05-12 17:54:08 +02:00
sfan5 38f23a3d7f Use ts_query on Postgres for performance reasons
Untested.
2017-05-12 17:41:26 +02:00
PantsuDev dc89495b65 Merge pull request #394 from tomleb/dev
Fix dereference wrong error
2017-05-13 01:24:23 +10:00
tomleb 6aa4e8b960 Fix dereference wrong error 2017-05-12 10:29:48 -04:00
PantsuDev ac92ddfeba Merge pull request #391 from sfan5/memes
Fixes & Features
2017-05-12 20:25:05 +10:00