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

228 commits

Auteur SHA1 Message Date
kilo 3f17da2c9d Better color for .h-user when hovered
And text hover color changes for red buttons
2017-06-23 10:05:30 +02:00
kilo d3586f232b Prettier color for red button2 (classic.css & hover changes)
The edit that i had made previously only applied to g's theme
And it didn't apply when the button were hovered
2017-06-23 10:01:36 +02:00
PantsuDev 68ac3c21ad Remove left & right 15% 2017-06-23 11:28:55 +10:00
akuma06 8c62d7bbe6 Fix modtools always shown 2017-06-23 03:15:56 +02:00
kilo 5a2a6e014c Fix error text color in classic (#1047)
bravo kipukun
2017-06-21 16:37:40 +10:00
kilo a6555c319c Prettier color for texts in red button (#1045)
Current one was dark grey on red which is pretty ugly, i changed it into white (light grey) on red to make it prettier
2017-06-21 16:37:30 +10:00
kipukun ;_ d32e985259 main.css: Increase size of stat columns (#1044)
Prevents wrapping.
2017-06-21 13:04:25 +10:00
kipukun ;_ 4aa9a62613 main.css: Make download button less big (#1043)
I don't like it that big desu
2017-06-21 12:51:40 +10:00
kipukun ;_ 121101fe1c Frontend small (#1040)
* Header isn't as WIDE on resolutions past 1920

* Turn down the fucking volume because it scares the shit out of me everytime

* Make clear the mascot is clickable

* Make torrent buttons not fuckhuge

* Just show N/A on no website

* search.html: Fix minor typo in refine box
2017-06-21 11:28:47 +10:00
PantsuDev 86d1f2fc9c Fix stupidly wide header 2017-06-21 09:53:39 +10:00
PantsuDev 13b37cefe0 Revert "make it wider (#1029)"
This reverts commit d6621d6643.
2017-06-21 09:47:55 +10:00
akuma06 d3ccdc4af1 Optional fix for wide screen (#1007)
* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Fix for widescreen

* Fix buttons in modpanel and some troncated text

* Update torrent.go

* Update admin_index.html

* Some last fix

Re added icon on download&magnet links
2017-06-20 23:15:26 +10:00
Andrew Zhao 8d4038e14e un-expandong the user panel (#1030)
makes it less shitty when the user isn't logged in
2017-06-20 16:32:38 +10:00
Andrew Zhao d6621d6643 make it wider (#1029)
make it wider
2017-06-20 16:32:30 +10:00
kipukun 4d3340a32e Yay refine looks better (#1028)
* Yay refine looks better

* Added Translation
2017-06-20 12:07:03 +10:00
kipukun 5bc922781c Frontend aesthetic (#1015)
* Make view page not shitty

* View page <td> now ellipses on overflow

* Make flags not look shitty

* Updated mufuyu sound

* Updated multiple flag

* Updated other flag (thanks anon)
2017-06-17 08:49:57 +10:00
kipukun 95173a0f33 Frontend v9000 (#1008)
* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Make colors more consistent; less would be super helpful tbqach fam

* Display the old username if it's there

* Fix some admin index html

* Add custom icons and remove png code from all CSS

* Move a good amount of cosmetic code from main to classic

* Fix some weird bug with point-events; add some global icon formatting; fix mascot fucking up

* Spruce up admin panel with icons on smaller viewports, along with adding trash icon

* 404 redesign ;^)

* Mufuyu mascot on all themes; says something slightly lewd

* Fix weird user menu bug where shit would overflow
2017-06-16 08:57:52 +10:00
akuma06 0662b3fb41 Audio captcha (#995)
* Megacheck friendly

applied megacheck and fixed some unwanted behaviour (markdown)

* Forgot this file

* Captcha Audio

Should make #993 happen

* Fix style issue in  comments

* Added margin auto and width on input

* Moved width on captcha div instead

* fixing width issue with audio tag

* Captcha final style fix
2017-06-14 20:10:03 +10:00
Ramon Dantas d8e17478f8 Country flags (language) for torrents. (#970)
* Add flags for torrents

Add a new field, .Language, to the Torrent model, and a new package,
torrentLanguages, which maps languages to flags. Added also a flag icon pack
from googlei18n/region-flags, with (mostly) public domain flags from Wikipedia.

* Optimize flags

* Use FlagSprites CSS instead of .png files

* Only use flags for languages we support

* Add test for CSS flags

Ensure that we have all the flags for the languages we support.

* Add AdditionalLanguages field to config

This allows us to support additional languages for new uploaded torrents,
even if we have no translation for it.

* Minor CSS fix

* Add "other" and "multiple" torrent languages

Also removed the TorrentLanguage struct, as it wasn't much useful.

* Fix test

* Add colspan=2 to category when language is empty

Also hide the language column if empty.

* Add lang field to search.

Hopefully it works with Elasticsearch as well, but I haven't tested
(lol Java)

* Add language field to ES index and settings

* Add language column to JS template

* Add keyword type to language ES field

* Remove 'raw' from keyword

* Set "simple" analyzer on language

* Document .Language field on Torrent model
2017-06-12 09:14:26 +10:00
sfan5 964cff7df6 Optimize /g/ theme images 2017-06-06 16:43:03 +02:00
sfan5 c87a58ea8e Narrower S/L/D columns 2017-06-06 16:39:52 +02:00
akuma06 5068d83402 Merge branch 'dev' into custom-mascot 2017-06-06 00:38:20 +02:00
kipukun 5316b0474c Fix mobile support by showing comments on mobile view, also vertical align DL icons 2017-06-05 15:11:28 -04:00
kipukun c9e480167b Make the 404 page a little less shitty (Fixes issue 893) 2017-06-05 13:52:28 -04:00
ElegantMonkey e10070b2a9 Add customizable mascot by URL.
Add a new setting for customizable mascots, with a new User field
MascotURL, and a corresponding cookie setting.
2017-06-05 11:32:48 -03:00
MMP0 cdd84db36e Small changes (#927)
* Update main.css

* Update main.css

* Update main.css
2017-06-05 19:34:46 +10:00
akuma06 75528da943 Fix user logout (#924)
* Logout is now a posted form

Instead of using a get method, I've moved it to a post method.
Doing that made possible to use CSRF token and also fix #902

* Update _badgemenu.html
2017-06-05 11:33:16 +10:00
MMP0 dbd6ca31d4 Fix .tr-date width (#918)
* Fix .tr-date width

* Update main.css
2017-06-05 08:49:14 +10:00
MMP0 341bb5c152 Clean mafuyu.svg (#913)
* Clean mafuyu.svg

* Update mafuyu.svg
2017-06-05 08:43:43 +10:00
kilo 77760b3067 Prettier color for /g/'s theme user menu (#910)
It's very ugly at the time being
2017-06-04 20:52:41 +10:00
PantsuDev 77295492f3
Add libre-js support 2017-06-04 15:43:41 +10:00
akuma06 38e8ee3a7a New modpanel fix (#895)
* Comments count number

* New Modpanel fix

Fixes #755 (@ilikecats)
modpanel tables have margins
modpanel delete buttons are red
some coloring for buttons
reassign form looks better
reassign form textarea have rows="20" cols="40"
"save changes" btn green
report reasons are now translated in modpanel
delete is a real button on modpanel users page

* moved getReportDescription
2017-06-04 02:28:33 +02:00
gjwufq3x bb301e4671 mobile icon fixes (#894)
* mobile icons now match /g/ theme

* replace mobile fun icon with one you can actually see
2017-06-03 16:30:34 +10:00
kilo 22b0f9f01e Make usernames stick to avatar in navbar (#886)
Usernames were hovering in between the search bar & avatar because of a fixed width:91px; (done because of character limit), so i instead replaced it to a max-width so that short usernames wouldn't just float in there
2017-06-02 22:34:38 +02:00
MMP0 87117d08de Update humanFileSize function 2017-06-02 13:46:59 -05:00
akuma06 1974692480 Forgot the selectAll.js 2017-06-02 20:22:15 +02:00
akuma06 bd7fe52273 New ModPanel Theme (#883)
* New ModPanel Theme

* Implemented the new @kipukun theme in ModPanel
* Added new translation string
* Fixed the toolbar in /mod/torrents

* Little fix on torrents report

* Remove double navigation

* Added a tag h1 for pages and new translation strings~

* fix warn message
2017-06-02 20:10:36 +02:00
akuma06 e9002ee638 Added translations support to mass edit api + improvements
* new translation strings
* new Translations object which can be used to translate string in js
* fix a the disappearance of checkboxes on new item loaded by ajax
2017-06-02 15:42:53 +02:00
Steindór d1ff3866ea Default theme change (#875)
* changed session cookie expiry

* made /g/ the default theme
2017-06-02 13:36:15 +10:00
akuma06 e62ebb05ba Mass edit mod api JS (done) (#868)
* Mass Edit MOD api JS (WIP)

In continuity with the mass edit mod api, this is the javascript use of
it.
##What does it do?
* Delete of multiple torrents on index/search
* Category change of multiple torrents
* Change of owner of multiple torrents
* Lock & delete of multiple torrents

##How?
* New toolbar only visible for mods
* Checkboxes added only for mods
* Selection and click on the button in toolbar
* Nothing is submitted, you have to review the changes in a modal window
listing them.
* Then the ajax queries are initialized one at a time with a progression
bar
* You can always at any moment delete entries from the queuing list

* Improved progress bar

* Deleting part almost done

Improved modal design
All dom interactions should be done
Prepared Query for only one callback
Improved Modal to keep a link to the active modal

* Finished =D

Added some translation string

* Forgot the refreshing of the page

Just an option that can be disabled by making refreshTimeout to 0
2017-06-02 12:51:44 +10:00
kipukun c4511f7238 Style error texts on form inputs, everywhere (#877) 2017-06-02 12:50:56 +10:00
Steindór 4f11748da1 Header fixes (#863)
* Put the mascot into the cookie as well, major js cleanup

* Update en-us.all.json

* removed redundant translation

* made the dropdown menu look and function better

* fixed responsiveness issue

* made this look better with the /g/ theme
2017-06-01 08:37:27 +10:00
akuma06 b546e6b1d3 Forgot parameters to Get() 2017-05-31 12:39:38 +02:00
akuma06 133947df0a Updating xhr request
* Querying when request has failed
* Added a maximum consecutive query parameter to limit query when server
has shutdown
* By default I've put it to -1 (no maximum), it can be modified
* Stopping with an error when too many failed query
* Removing log message in torrents.js
2017-05-31 12:36:39 +02:00
Steindór ffbbacb84a Maskot to cookie (#857)
* Put the mascot into the cookie as well, major js cleanup

* Update en-us.all.json

* removed redundant translation
2017-05-30 21:21:35 -05:00
Mitki aeb8039250 Mascot button loses its translation when clicked (#855) 2017-05-31 00:02:40 +02:00
akuma06 ae1628e921 Some js fixes and improvements
Better handling of Torrents.StopRefresh()
Keep the order of torrents
Encode html entities from torrent name (prevent execution of unwanted
html tags)
2017-05-30 15:19:45 +02:00
akuma06 b0cf17c77c Renamed the search argument FromID instead of TorrentID 2017-05-30 14:12:42 +02:00
akuma06 29056496d0 Removed console.log + added auto-update 2017-05-30 00:30:36 +02:00
akuma06 402fce9f02 Api Last Torrent + xhr automatic refresh
* Added a fiel torrentID in search param
* Search can be limited to torrentID > id provided
* Templates creation through simple JS object
* XHR management through simple JS object
* Torrents object that interface with Templates and Query to get new
torrent uploaded according to the search context
2017-05-30 00:28:21 +02:00