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

21 commits

Auteur SHA1 Message Date
kipukun e9825a2683 Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Begin work on profile page

* fucking git, man

* Damn, that looks sexy

* Complete login and register pages, include very minimal grid system, and delete all of view template

* Do view page!

* Finish view even more

* Fix dates and filesizes in torrent table

* Improve comment/captcha input

* Actually add magnet and torrent buttons

* Add open-iconic instead of fontawesome

* Improve user side-panel

* Rename Category_* to CategoryName

* Beginning to finish up

* Implement themes and add basic mobile support to front page

* Fix some slight color errors

* Fix captcha on dark

* magnet and torrent links on view
2017-05-24 14:20:51 +10:00
ElegantMonkey aa14a0535b Renamed CategoryID to CategoryName 2017-05-22 15:18:29 -03:00
ElegantMonkey 331143e094 Verify torrent category on upload
Added a new package, "categories", with the valid categories for each
Nyaa and Sukebei. On upload, check if the category is present on
the valid ones. Also changed the template function Category_Nyaa and
Category_Sukebei to reflect this.
2017-05-22 13:25:04 -03:00
akuma06 1bd773f537 New filesize function
Take filesize and languages.TemplateTfunc as args and output a string
To use in templates
2017-05-21 14:03:03 +02:00
akuma06 833cf072e9 Update _user_list_torrents.html 2017-05-21 13:33:57 +02:00
akuma06 8e5b6f3378 Merge branch 'dev' into patch5 2017-05-21 13:32:09 +02:00
Ramon Dantas 1968d2ae54 Move translation func to template variables (#652)
* Add T field to template variables

* Remove languages.SetTranslationFromRequest

* Add Tfunc on handlers

* Remove T and Ts from template_functions

* Update templates

Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.

* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
GooNyaa 47ea6ae4cb Show unknown file size based on current language (fixes #650) 2017-05-20 18:32:41 +03:00
MMP0 a0854fe8ee Update Japanese translations + Small changes (#635)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update _user_list_torrents.html

* Update dumps.html

* Update _user_list_torrents.html

* Update dumps.html

* Update _badgemenu.html
2017-05-20 13:12:46 +10:00
moose65468 a2e4fab550 Add tooltips to category images (#627)
* Added tooltips to category images

* removed line 213
2017-05-20 09:08:54 +10:00
moose65468 cf8043f3de sukebei profile categories (#614) 2017-05-18 22:35:38 +10:00
ayame-git 93b83fbfc9 profile page hotfix 2017-05-14 06:56:07 +03:00
Eliot Whalan f3bb07d6b1 Correct function name 2017-05-10 22:06:12 +10: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 1ab80d5701 Forgot something in 4d7b56df8c 2017-05-09 17:17:57 +02:00
Andrew Zhao 1c44a24ab0 make user torrent list display 2017-05-08 22:21:14 -07:00
akuma06 c830f8ec71 Fixed 2017-05-09 04:12:48 +02:00
akuma06 c5b22ff496 Fixed no torrents found + translation 2017-05-09 04:12:48 +02:00
akuma06 84cf511fe3 Fixed User
Profile Page, badge menu, every thing before previous commit (except
email)
Added Logout
2017-05-09 03:37:12 +02:00
sfan5 e3a271cca7 Revert "Added Profile page"
This reverts commit 5860cf1d79.
2017-05-08 22:50:25 +02:00
akuma06 cdf8cccc8d Added Profile page 2017-05-08 18:56:40 +02:00