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

506 commits

Auteur SHA1 Message Date
Ramon Dantas
8fbdeed9f5 CSS-only tree view. (#753)
* Make tree-view work with CSS only

Changed the file list tree-view to use recursive templating instead of
an external function, and improved it so that it works with only CSS.
Striped lines won't work though.

* Remove inline-block from folder label

It breaks with the text-overflow: ellipsis.

* Rename makeFolderData to makeTreeViewData
2017-05-26 11:53:18 +10:00
tomleb
2da1c88c64 Fix rendering of svg background-image in firefox (#749)
* Fix firefox issue with (#) in svg images

* Remove fontawesome eye icon

* Remove (((official)) to something more professional
2017-05-26 07:34:32 +10:00
kipukun
3e2466dd47 Fix user input being too wide on certain forms (#748) 2017-05-26 07:33:10 +10:00
MMP0
60dafbda04 Small changes (#743)
* Update upload.html

* Update _captcha.html

* Update view.html

* Update main.css

* Update home.html

* Update main.css

* Update main.css

* Update view.html

* Update main.css

* Update main.css
2017-05-25 22:29:39 +10:00
x9zb
b46fdce5d9 Fix search box on Firefox and make carets actually work on chrome (#739)
* Add carets to select

* Fix search box on Firefox

Also fixed the carets on Chrome.
2017-05-25 17:36:46 +10:00
x9zb
5b7f3efd71 Add carets to select (#737) 2017-05-25 15:49:00 +10:00
MMP0
fac5196299 Change icons (#735)
* Change icons

* Update main.css
2017-05-25 15:48:46 +10:00
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
TUSF
e19c402b06 Psuedo green-text doo-hickey, for the autists. 2017-05-10 16:40:33 -05:00
triwa
dc5bd3991a unfuck comment section (#299) 2017-05-10 14:49:16 -05:00
Juan Navarro
38ff2a6e28 Fixed New view template design. Changed Id to ID. Forced images inside description to fit container. (#289) 2017-05-10 14:46:34 -05:00
sfan5
e9a9bd2e88 Make footer somewhat readable 2017-05-10 12:56:58 +02:00
ripdog
fff87e87d4 Hopefully working dark mode mascot swap 2017-05-10 21:26:27 +12:00
kipukun
0bf8056a0a fuk dis shit just ellipses this shit download torrents on your computer 2017-05-09 18:55:07 -04:00
kipukun
0fa82fc3a3 yay colors look better on night mode!!! 2017-05-09 18:55:07 -04:00
PantsuDev
2917d213b9 Merge pull request #233 from top-ed/master
color tweaks
2017-05-10 08:18:23 +10:00
kipukun
fc70c567c1 remove mascot until there's a good place for it to be lmao 2017-05-09 18:13:40 -04:00
ed
d8ae9aa2c2 color tweaks 2017-05-10 00:10:12 +02:00
akuma06
c5e226c7a6 Merge pull request #213 from Blue-eh/patch-1
Fixed background color for .profile-content in night mode
2017-05-09 18:54:11 +02:00
akuma06
622fef4c85 Added Footer 2017-05-09 18:00:20 +02:00
Blue
0aa35901c0 Fixed background color for .profile-content
See issue #209
2017-05-09 16:15:38 +02:00
ripdog
93206d2955 No longer use img elements changed by js for the night mode toggle button. Use a css background on the <a>. Less JS is better JS. 2017-05-09 19:09:22 +12:00
ripdog
4a468ae687 More removed from style-night.css 2017-05-09 18:52:42 +12:00
ripdog
86410ffc17 Don't need the !important; 2017-05-09 18:32:22 +12:00
ripdog
0d7a9d97bb Removed all layout css from style-night.css, instead adding the night mode css on top of style.css. Thus no layout changes when switching to night mode. 2017-05-09 18:32:22 +12:00
ripdog
27524e0153 Fix night mode dropdown menus 2017-05-09 18:32:22 +12: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
kipukun
74b74b4d94 Fix theme switcher button mobile 2017-05-08 17:19:50 -04:00
sfan5
61b34c109d Fix navbar height 2017-05-08 22:50:56 +02:00
sfan5
2c151bc26e Make login work 2017-05-08 22:50:56 +02:00
sfan5
e3a271cca7 Revert "Added Profile page"
This reverts commit 5860cf1d79.
2017-05-08 22:50:25 +02:00
sfan5
79cd1a223d Revert "Fix broken navbar on theme switch"
This reverts commit 60dd68a64a.
2017-05-08 22:50:20 +02:00
kipukun
a4efaa2c8c Fix broken navbar on theme switch 2017-05-08 16:36:34 -04:00
akuma06
cdf8cccc8d Added Profile page 2017-05-08 18:56:40 +02:00
akuma06
b0184e94db Fixed badge user in nav 2017-05-08 15:37:50 +02:00
Andrew Zhao
915335bc90 add clickable comment targets 2017-05-07 21:49:00 -07:00
kipukun
456af1f837 Make night theme use tomorrow colors 2017-05-07 20:52:09 -04:00
akuma06
9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
sfan5
6cf53b2a64 Revert "Revert "css fixes""
This reverts commit 7b86e3af94.
2017-05-07 23:40:34 +02:00
akuma06
d3b8596f2a Revert "css fixes" 2017-05-07 23:11:26 +02:00
sfan5
39e3bd27f5 Fix incorrect renchon/megumin size on view page 2017-05-07 21:44:07 +02:00
sfan5
a3e0cc0503 Fix accidental duplicate css 2017-05-07 21:28:35 +02:00
keo
6e50f44799 Merge pull request #159 from sfan5/changes
Changes
2017-05-07 22:22:42 +03:00
sfan5
004e141c32 Sync CSS files 2017-05-07 20:54:05 +02:00
sfan5
f5ae6caede Cleanup night mode code and move switcher to top right 2017-05-07 20:49:59 +02:00
kipukun
e6196ed123 Slightly tweak navbar CSS 2017-05-07 14:25:16 -04:00
keo
99244542b5 Merge pull request #148 from redsPL/master
Added the night mode toggle button+fixed a few things in CSS
2017-05-07 20:01:44 +03:00
reds
1c08fec4f0 Fixed placement of the torrent list on the day mode 2017-05-07 18:00:36 +01:00
sfan5
6950dfc797 Add .torrent file links! 2017-05-07 18:58:11 +02:00
reds
97630fe167 Added night toggle button 2017-05-07 17:19:37 +01:00
bakape
8d24850687 Scale 404 image better 2017-05-07 16:59:55 +03:00
bakape
5a55008a16 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:08:44 +03:00
bakape
8786db1540 Internal IP-specific captchas 2017-05-07 11:25:09 +03:00
akuma06
5bafc6c0b5 Fixed register page 2017-05-07 03:00:05 +02:00
akuma06
8309350773 Fixed bottom margin for other pages 2017-05-07 02:49:53 +02:00
akuma06
3ab5c4caf0 Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-07 00:10:53 +02:00
akuma06
b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00