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

99 commits

Auteur SHA1 Message Date
MMP0
531037bdf1 Update Japanese translations + Small changes (#733)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Add nav translations

* Update main.css

* Update ja-jp.all.json

* Update view.html

* Update view.html

* Update view.html

* Update main.css

* Update main.css
2017-05-25 12:18:59 +10:00
kipukun
424633631c More frontend shit (#731)
* Torrent Mass Edit Api (WIP)

* Torrents can be deleted in mass from frontend with api post request
* Torrents status can be edited from frontend with api post request
-- Look to function doc for more info on how to use it

It is a WIP so it might not work =D

* Finished Mass mod Api

As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.

* Make some changes

* Reports can now be cleared for the torrents selected without having to
delete them
* Users with no admin rights can't delete reports

* Fix moveto to status

moveto deprecated in api

* Tested and works!

Changes:
* Updates only the colomns of torrent table
* Moved categories config in config/torrents.go

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* Forgot this file in last commit

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony

* Update README.md

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony
2017-05-25 02:20:30 +02:00
ElegantMonkey
15a3903e9c Fix icons on Tomorrow 2017-05-24 14:56:31 -03:00
ElegantMonkey
54c03c7ed7 Move more things to CSS
Might make things easier when dealing with mobile view and such.
2017-05-24 14:34:52 -03:00
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
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
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
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
11db364e22 Fix #588 2017-05-17 22:55:11 +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
aa17bd55be Fix layout differences between day/night mode (fixes #493) 2017-05-17 16:47:30 +02:00
sfan5
fbd62f4aa4 Fix navbar style issue with Spanish and Japanese (fixes #507) 2017-05-17 16:19:01 +02: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
SpamNeko
0c9cdfa8bf Sorting arrows on table headers (#504)
* Sorting arrows on table headers

* Better arrows and seperate S/L/D columns
2017-05-14 19:01:04 -05:00
akuma06
fa305a59a7 Merge pull request #489 from sfan5/fixez
Lots of fixes
2017-05-14 19:46:31 +02:00
akuma06
6a02debe2e Fixes comment word breaking 2017-05-14 18:28:54 +02:00
sfan5
a892184f75 Less space-wasting comment display 2017-05-14 17:50:45 +02:00
akuma06
0ed3bdf30b Merge branch 'master' into master 2017-05-14 14:39:48 +02:00
sfan5
afb2fc7e8c Fix navbar when logged in (idk who broke it) 2017-05-14 12:27:16 +02:00
SpamNeko
dc32f041e1 Add sorting to table headers, delet advanced search 2017-05-13 18:14:51 +01:00
ElegantMonkey
2ab933e3d6 Make language dropdown look a little less trash 2017-05-12 21:51:30 -03:00
Juan Ignacio Navarro
77b1cfc550 Fixed comments style. Fixed Navbar offset. 2017-05-12 17:37:37 -05:00
Juan Ignacio Navarro
9ba3f3c409 Merge remote-tracking branch 'upstream/master' 2017-05-12 10:11:14 -05:00
yiiTT
6bc39d70fe Update logo CSS 2017-05-11 22:59:39 -05:00
Juan Navarro
40716c2b74 New comment style. Gravatar not working as intended. 2017-05-11 22:05:14 -05:00
tomleb
b0982f07a6 Change color for bg-danger and fix night theme flickering issue (#370)
* Change color for bg-danger

* Fix annoying flickering with night theme

* use new class instead of overriding bootstrap's
2017-05-11 16:54:53 -05:00
sfan5
9c9db7af0d Display comments date smaller 2017-05-11 11:45:13 +02:00
akuma06
9185e50067 forgot to save css ! 2017-05-11 03:02:01 +02:00
top-ed
855185eecc fix dark-on-dark (#321)
* norsk

heia norge

* fix dark-on-dark
2017-05-10 17:40:56 -05:00