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

130 commits

Auteur SHA1 Message Date
Ramon Dantas 86447b853c Add tree-view file list (Done) (#724)
* Add tree-view file list

* Add TotalSize field to folders

* Remove bootstrap/jquery related code

* Add icons to filelist, some CSS formatting

Moved a few styles from the format string for the tree view, to CSS
(where possible). Make icons look consistent under all themes.

* Make filelist hideable again, show it when JS is disabled
2017-05-25 00:13:56 +10:00
kipukun 58631c6bd4 Optimized the site (#725)
* Try to optimize site

* lmao woops

* fucking woops again
2017-05-24 16:57:48 +10:00
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
bragason bd19c6ae02 Fixed it 2017-05-21 16:57:44 +00:00
bragason dd1cdfac82 fixed indentation 2017-05-21 15:28:24 +00:00
akuma06 6523f2f87e Update style.css 2017-05-21 15:18:12 +02:00
bragason 9423d308d5 fixed merge conflicts 2017-05-21 12:55:09 +00:00
Tern Software 88c06f558f fully refactored navbar css 2017-05-21 12:36:37 +00:00
MMP0 2be203edb0 Update style.css 2017-05-21 21:18:59 +09:00
MMP0 d53dcd8a9c Update style.css 2017-05-21 20:56:59 +09:00
MMP0 4db7d9ca36 Update style.css 2017-05-21 20:49:31 +09:00
akuma06 8e5b6f3378 Merge branch 'dev' into patch5 2017-05-21 13:32:09 +02:00
GooNyaa 5e8b2b5cb4 small CSS files formatting update
* Each selector on its own line when using multiple selectors in one rule
* Space before opening brace
* Space after : in props
* Blank line between rules
* Avoid end of line comments
2017-05-20 15:01:52 +03:00
akuma06 369c9151f1 Merge remote-tracking branch 'refs/remotes/origin/dev' into multi-action-torrents-mod
# Conflicts:
#	router/modpanel.go
#	router/router.go
#	service/torrent/torrent.go
2017-05-20 13:58:37 +02:00
akuma06 0d5e2abf7f Added multi action on torrents 2017-05-20 13:45:15 +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
Steindór d862a01a9e Fixed the navbar styling (#642)
* fixed the spacing between the logo and the nightmode button

* used tabs like the rest of the file

* fixed the nightmode switcher, broke everything else

* Navbar styling no longer dependent on bugs

* fixed issues when logged in
2017-05-20 20:45:15 +10:00
moose65468 815fd84c92 make markdown backgrounds match current theme (#637) 2017-05-20 18:33:31 +10:00
kipukun f377fadf8c Make mascot disappear on sub 1500 pixels (#636) 2017-05-20 13:12:37 +10:00
tomleb 7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
kipukun 13375411ad Make comments extra column + search bar doesn't freak out anymore (#621)
* Make comments extra column

* Fixed #595 w00t

* Cleanups and fixes (#623)

* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb

* Update ja-jp.all.json (#622)

* Update README.md

* Make comments extra column

* Fixed #595 w00t

* Comment out comments for now
2017-05-19 15:36:32 +10:00
tomleb babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
akuma06 66b94eb360 Merge pull request #606 from MMP0/patch-20
Fix line breaks
2017-05-18 03:52:18 +02:00
MMP0 7401f24fb0 Update style.css 2017-05-18 10:47:05 +09:00
kipukun b1824092ff Moved mascot to the left, made her clickable with sound 2017-05-17 21:37:10 -04:00
akuma06 e2047843f3 Merge branch 'dev' into patch-19 2017-05-18 02:53:36 +02:00
akuma06 54cd4f2217 Update main.js 2017-05-18 02:51:53 +02:00
akuma06 4a52a1f3e3 Fix JS error + Seeding Mobile View
https://my.mixtape.moe/cvmemz.png
2017-05-18 02:49:48 +02:00
MMP0 e45a4a1c75 Fix 2017-05-18 09:44:36 +09:00
MMP0 2e8b36957e Small changes 2017-05-18 09:43:17 +09: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 78ce328059 Fix #534
Now hours should be displayed in user language and timezone
2017-05-18 00:02:10 +02:00
akuma06 d9511b8efb Merge pull request #591 from NyaaPantsu/fix-logged-in-languages
Fix #590
2017-05-17 23:01:30 +02:00
akuma06 63844f0d4b Fix #590 2017-05-17 23:00:50 +02:00
akuma06 11db364e22 Fix #588 2017-05-17 22:55:11 +02:00
akuma06 710de42fb0 Merge pull request #582 from sfan5/misc123
fixes
2017-05-17 22:36:36 +02:00
sfan5 5c8c68b23e Invalid CSS (fixes #586) 2017-05-17 20:44:39 +02:00
sfan5 938ae854b0 Change remake list color back
It's supposed to be the same as on the original nyaa
2017-05-17 18:23:45 +02:00
sfan5 af8bf6b843 Optimize sun & moon PNGs
Google was complaing about those...
2017-05-17 16:49:30 +02:00
sfan5 aa17bd55be Fix layout differences between day/night mode (fixes #493) 2017-05-17 16:47:30 +02:00
kipukun c3110a7ff1 Slowly attempting to purge JS 2017-05-17 10:29:30 -04:00
sfan5 fbd62f4aa4 Fix navbar style issue with Spanish and Japanese (fixes #507) 2017-05-17 16:19:01 +02:00
sfan5 1be4ec1a94 Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
MMP0 a499a483c5 Update main.js (#576) 2017-05-17 21:21:48 +10:00
yiiT 0d81d92cba recompress PNG files (#574) 2017-05-17 21:16:49 +10:00
akuma06 edb61e0569 Remove white color from remake/trusted/aplus 2017-05-17 00:43:02 +02: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
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