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

28 commits

Auteur SHA1 Message Date
sfan5
d98d918301 Allow marking uploads as remake 2017-05-10 22:11:37 +02:00
sfan5
c5052a11c3 Mark torrents from trusted users as trusted 2017-05-10 22:10:31 +02:00
Chris MacLeod
c9b72206a5 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
bakape
c46c386981 Better DB error handling 2017-05-09 20:23:21 +03:00
sfan5
5482fa9290 Save current user for uploads 2017-05-08 23:54:09 +02:00
ElegantMonkey
108558dfdf Fix conflicts 2017-05-08 18:16:21 -03:00
ElegantMonkey
14f24e3be9 Add translation code to handlers, fix wrong key in .json translations 2017-05-08 17:51:59 -03:00
sfan5
a3d13f768a Switch to new schema: make it compile 2017-05-08 22:50:56 +02:00
Andrew Zhao
2e3c45cbc7 implemented comments and display 2017-05-07 19:06:11 -07:00
akuma06
18a470b87f Merge pull request #156 from azhao12345/upload-fixes
Upload fixes
2017-05-08 03:37:05 +02:00
akuma06
9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
Eliot Whalan
d1bb68f8f2 Disable uploading of torrents by default 2017-05-08 08:16:20 +10:00
Andrew Zhao
ffa5163a41 validate captcha before processing 2017-05-07 10:41:07 -07:00
sfan5
9b6b25e7df Allow storage of uploaded .torrent files (disabled by default) 2017-05-07 15:57:24 +02:00
bakape
a55016b53c Remove captcha IP-specificity
It's a notable deployment complication for little gain. Since captchas on Nyaa aren't on many pages, overflowing the stored captcha limit is also hard.
2017-05-07 15:55:46 +03:00
Eliot Whalan
c637181ff9 Merge pull request #136 from sfan5/upl
Fixes & Features for torrent uploads
2017-05-07 22:39:27 +10:00
sfan5
a6dd34a5de Auto-fill filesize 2017-05-07 13:55:35 +02:00
sfan5
767c91bacd Make pre-filling work correctly 2017-05-07 13:54:45 +02:00
Jeff Becker
b599bb1ef2 fix up templates, get reading for Reload template on SIGHUP 2017-05-07 07:51:33 -04:00
bakape
5a55008a16 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:08:44 +03:00
bakape
8786db1540 Internal IP-specific captchas 2017-05-07 11:25:09 +03:00
Andrew Zhao
f9884c40e9 throw in the description with some sanitizatoin 2017-05-06 22:18:41 -07:00
Andrew Zhao
637711fb9d start implementing upload 2017-05-06 21:26:09 -07:00
bakape
8e15b211df Revert quicktemplate search template 2017-05-07 02:20:13 +03:00
bakape
a16caa0556 Port _search.html to quicktemplate 2017-05-07 00:21:16 +03:00
bakape
2cb605a027 Don't reparse templates on every fucking request 2017-05-06 20:03:21 +03:00
Jeff Becker
11a6fce027 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
ayame-git
d6ef924fa3 basic upload 2017-05-06 11:36:37 +03:00