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

92 commits

Auteur SHA1 Message Date
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
akuma06 b3ade9f273 Fixed infos shown as errors 2017-05-20 17:19:10 +02:00
akuma06 cf478a4235 Add Torrent WebLink + fixes
Simplifying messages util (no need to add everytime r)
2017-05-20 17:01:13 +02:00
sfan5 a3fa6df938 Remove bugs (#643)
* Fix S/L/D columns wasting huge amounts of space

Partially reverts 0c9cdfa8bf.

* Move last scrape below seed-bar

Also fixes the very misleading indentation

* Show category name on view page too

* Fix fucked up login page (fixes #640)

* Fix empty page on login w/o pass (fixes #634)

* Fix incorrectly colored error text in day mode

* Better readable footer in night mode

* Prepare having old uploader names on sukebei and various fixes for sukebei

* Different HTML title for sukebei
2017-05-20 20:45:27 +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
MMP0 5a8140404f Update view.html (#625) 2017-05-19 17:31:07 +10:00
akuma06 4a52a1f3e3 Fix JS error + Seeding Mobile View
https://my.mixtape.moe/cvmemz.png
2017-05-18 02:49:48 +02:00
akuma06 64d073f03c No hour on short and Hour on comments
So reverted modif from date-short
Added new date-comments to have hours on them (when screen is big
enough)
Edited the view for displaying date comments, they were displayed on the
border (even with old date-short)
2017-05-18 01:21:57 +02:00
akuma06 4d5c15ab3f Merge pull request #584 from ElegantMonkey/minor-fixes
Changes to seed/leech display
2017-05-17 22:37:31 +02:00
akuma06 710de42fb0 Merge pull request #582 from sfan5/misc123
fixes
2017-05-17 22:36:36 +02:00
ElegantMonkey b4f02fcf36 Use JS to show LastScrape date (depends on #582) 2017-05-17 13:06:21 -03:00
ElegantMonkey ccda45a452 Show Unknown seed/leech count on LastScrape == NULL, show scrape time
Instead of showing 0/0/0 when the torrent hasn't been scraped (which
may be misleading), show "Unknown", and also show when the torrent was
last scraped on the view torrent page.
2017-05-17 13:06:21 -03:00
kipukun f0839a117c Remove color from torrent title in view page 2017-05-17 10:18:29 -04: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
akuma06 dd02a356b5 Less Ugly
Fix #548
2017-05-16 23:17:52 +02:00
Ramon Dantas 3b780ac8bd Make file lists collapsable (#536) 2017-05-16 11:49:34 +10:00
xqm 6ac2a0e078 Translation bug fix and update zh-cn 2017-05-15 22:54:10 +08: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 cf4e482046 Get sukebei working 2017-05-15 19:08:17 +10:00
ElegantMonkey df2c9bc2f7 Fix conflicts 2017-05-14 21:19:29 -03:00
ElegantMonkey 2ab4d4ad9e Fix conflict on translation 2017-05-14 12:45:07 -03:00
sfan5 65042a62ea Update german translation 2017-05-14 17:35:10 +02:00
sfan5 937c9752af Fix broken translation string on view page 2017-05-14 17:34:58 +02:00
sfan5 a9f534e19c Unbreak layout of view page in general (@akuma06 again) 2017-05-14 17:13:45 +02:00
sfan5 b7834bc1ba Fix torrent status color not being shown on view page (@akuma06 broke it) 2017-05-14 17:13:28 +02:00
akuma06 cc376d88de Merge branch 'dev' into torrent-btn-translation 2017-05-14 16:49:20 +02:00
ElegantMonkey 839e6068df Add FileList view to view.html template
Also added the code for FileList loading on torrentService.
2017-05-14 10:19:19 -03:00
akuma06 b84cf99534 Replace text by translation string 2017-05-14 15:09:44 +02:00
akuma06 0ed3bdf30b Merge branch 'master' into master 2017-05-14 14:39:48 +02:00
sfan5 3116274990 changes (#426)
* Hide change language footer when logged in

* Force people to select a report reason

* Don't ask for confirmation before deleting a torrent report

* Small cleanup of modpanel templates

* Fix modpanel comment list

* Fix missing "Delete" translation in modpanel

* Update German translation

* A few updates to the FAQ
2017-05-13 21:57:57 +10:00
Juan Ignacio Navarro fe79c4a7ac Fixed Hash overflow 2017-05-12 17:40:38 -05:00
Juan Ignacio Navarro 77b1cfc550 Fixed comments style. Fixed Navbar offset. 2017-05-12 17:37:37 -05: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
Juan Ignacio Navarro 10c04e708d Merge remote-tracking branch 'upstream/master' 2017-05-12 16:45:56 -05:00
sfan5 1b556cdca0 More report categories, fixes #393 2017-05-12 20:35:07 +02:00
sfan5 6b341c7b03 No captchas for trusted users or admins, closes #330 2017-05-12 12:05:36 +02:00
Juan Navarro 40716c2b74 New comment style. Gravatar not working as intended. 2017-05-11 22:05:14 -05:00
akuma06 3fc4236a76 slight design improvement for template 2017-05-11 22:54:42 +02:00
akuma06 9f2d0f1962 New translation function and time depends on translation 2017-05-11 13:15:52 +02:00
akuma06 0fb5c2eb3a Merge branch 'master' into patch-3 2017-05-11 12:37:24 +02:00
sfan5 9c9db7af0d Display comments date smaller 2017-05-11 11:45:13 +02:00
sfan5 64622c3601 Make comment date display consistent with other date displays 2017-05-11 11:37:10 +02:00
TUSF 4327ff5efc Fixing comments.
Apparently template comments need to not have spaces...
2017-05-11 04:16:28 -05:00
TUSF f141cd57f3 Redoing displayed Comment format. 2017-05-11 04:00:16 -05:00
akuma06 f22b7e5333 Update view.html 2017-05-11 04:20:16 +02:00
keo fa1761fb14 Merge pull request #325 from TUSF/patch-3
Show date created for comments. (don't merge yet!!!)
2017-05-11 04:23:34 +03:00
akuma06 7eed942741 new way to show seed/leech 2017-05-11 03:00:57 +02:00
sfan5 7bc395068d Fix modpanel torrent edit (#328)
* Fix modpanel torrent edits breaking torrents

* Fix hash not being monospace anymore

* Fix modpanel torrent edit strings

* Fix modpanel torrent edit creating a new user (wtf GORM)
2017-05-10 18:46:50 -05:00
Eliot Whalan fec023e404 Add display of seeders/peers/completed to view 2017-05-11 09:31:10 +10:00