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

6 commits

Auteur SHA1 Message Date
sfan5 67ec4d5787 Format unknown filesizes in a better way 2017-05-21 14:34:32 +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
sfan5 a17813f01b Fix filesize formatting edge cases
1024 bytes should be "1.0 KiB" not "1024.0 B"
2017-05-07 21:06:20 +02:00
sfan5 025cfff297 Show unknown filesizes correctly 2017-05-07 13:55:35 +02:00
sfan5 4237803422 Sorting by torrent size 2017-05-06 21:50:38 +02:00
sfan5 1ff8ff1a12 filesize as int 2017-05-06 17:36:28 +02:00