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

18 commits

Auteur SHA1 Message Date
Chris MacLeod
14378fbf39 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
ayame-git
8bda5ec45c upload changes 2017-05-09 20:37:39 +03:00
ayame-git
e6d207c653 api upload 2017-05-08 12:18:49 +03:00
Andrew Zhao
dc2fd90e0d put the trackers on the calculated magnet 2017-05-07 10:47:43 -07:00
Andrew Zhao
6ea36146b9 validate captcha before processing 2017-05-07 10:41:07 -07:00
sfan5
218290c4e0 Allow storage of uploaded .torrent files (disabled by default) 2017-05-07 15:57:24 +02:00
sfan5
b090386a8c Remove hardcoded URLs 2017-05-07 15:57:24 +02:00
sfan5
b77d991e10 Auto-fill filesize 2017-05-07 13:55:35 +02:00
sfan5
39cec46dce Make pre-filling work correctly 2017-05-07 13:54:45 +02:00
sfan5
1dd95f0388 Better / fixed validation of uploaded torrent files 2017-05-07 13:53:51 +02:00
bakape
aae54fa420 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:08:44 +03:00
bakape
2f55e478e0 Internal IP-specific captchas 2017-05-07 11:25:09 +03:00
Andrew Zhao
f5a28e47fe throw in the description with some sanitizatoin 2017-05-06 22:18:41 -07:00
Andrew Zhao
e04b5fc01b start implementing upload 2017-05-06 21:26:09 -07:00
Andrew Zhao
f3c1f56a30 actually upload the upload 2017-05-06 18:32:26 -07:00
Andrew Zhao
12f16fb0c7 use util to generate magnets 2017-05-06 18:10:35 -07:00
Andrew Zhao
eeab38b90d get the proper magnet and infohash for upload 2017-05-06 17:48:24 -07:00
Jeff Becker
c088cb2642 add torrent file parsing for upload form
* vendor bencode library github.com/zeebo/bencode

* add metainfo parsing library from XD

* fix up upload handler so to be less cluttered
2017-05-06 07:43:24 -04:00