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

3293 commits

Auteur SHA1 Message Date
kilo
cacbceb9e2 Move close button to upper right corner of cookie warning & styling adjustements (#1522)
* Move close button before to upper right corner of cookie warning

* Update index_admin.jet.html

* Update main.css

* Update tomorrow.css

* Update tomorrow.css

* Update main.css

* lighter background
2017-09-07 17:56:02 +02:00
kilo
a0f12724de Show small box instead of nothing at the ads position if ads are blocked (#1527)
* Update main.css

* Update base.jet.html

* remove useless rule
2017-09-07 17:42:33 +02:00
Myrmece
f22d463a71 Updated translation. (#1526) 2017-09-07 09:05:24 +02:00
hksy46
c2a785760c Update ru-ru.all.json (#1525)
Translation update and fixes
2017-09-06 22:34:28 +02:00
kilo
5e0ef75b68 Fix top padding for admins (#1521)
* Update main.css

* Update base.jet.html

* Update index_admin.jet.html

* add content-admin back

* Add content-admin back

* Update base.jet.html

* Update base.jet.html

* Update index_admin.jet.html
2017-09-06 20:00:48 +10:00
MMP0
4f8eabb5fb Update ja-jp.all.json (#1520) 2017-09-06 11:06:19 +02:00
kilo
4cb5c9cf23 Styling fixes & improvements for cookie warning, addition of cookie warning text & close button (#1519)
* Styling fixes for new nav, improvements for cookie warning, styling for close button on cookie warning

* Fix wrong css rule name on tomorrow

* add cookie warning text

* Update CHANGELOG.md

* tomorrow colors for cookie warning

* Color improvements for cookie-warning & close button styling

* Addition of close button for cookie warning

* JS to hide cookie warning when clicking the cross

* Add warning that message will be hidden at next page load

* middle alignement for japanese text in refine

* Remove NyaaPantsu link from admin nav

* Allow HTML in cookie warning translation string

* Remove [0] that was not needed and broke the script from JS

* Bold font & slightly taller cookie warning

* Add message when ad is blocked

* styling for blocked message

* fix wrong id

* Prevent JS error

* remove ad-blocked message

* remove ad-blocked styling

* Update main.css

* Update base.jet.html
2017-09-06 10:51:25 +02:00
MMP0
619536f064 Update ja-jp.all.json (#1518) 2017-09-06 08:52:46 +02:00
kilo
786ff3a3dc Fill Username input if UserID query isn't equal to 0 2017-09-06 08:36:32 +02:00
kilo
a78f4117c3 "Torrent file not found" page (#1503)
* Add torrent file missing page instead of old 404

* Make download.go redirect to file missing page instead of 404

* Add files via upload

* Update translation changelog

* add translation string for "torrent file not found" page

* Forgot to create variables

* import templates
2017-09-06 08:20:24 +02:00
kilo
70a865e49a Show message pinned at the bottom of the window warning of cookie usage to comply with EU law (#1506)
* Add global variable to template_test

* Add global variable related to EU cookie law

* Add GetEUCookieFromRequest function that checks if the EU cookie exists (to comply with EU law)

* Add div at bottom of page if no EU cookie set

* add styling in css

* Prevent message from showing up any more than once

* prevent cookie from being erased by resetCookies() function

* Fix wrong function return type

* shorter condition

* Import timeHelper

* Update template_test.go

* remove variable name

* Update template_test.go
2017-09-06 07:55:00 +02:00
Miiiiaaooooo
5437b700ff Update tracker and Ad's explanation. (#1508)
* Update tracker and Ad's  explanation.

* Fix JSON

* Update en-us.all.json

* pff
2017-09-06 13:25:37 +10:00
kilo
8c9b050762 Fix misalignement of select (again) on japanese & small css adjustements (#1505)
* Fix misalignement of select (again) on japanese

* modal adjustements

* modal tomorrow adjustements

* further modal adjustements

* better tomorrow colors for tags

* bigger top & bottom padding for modal

* Pending tags darker on tomorrow
2017-09-06 13:10:42 +10:00
kilo
35d4eb9ca8 Add torrentFileExists function, check if torrent file exists and if it doesn't lower the opacity on the torrent download button (#1504)
* Add torrentFileExists function

* If torrent file doesn't exist, put torrent download button opacity at 50%

* ditto for listing

* Forgot an if

* attempt at fixing travis by adding function into test templates

* Attempt at fixing travis by having sex with my own mother

* fix wrong error message

* Add torrentFileExists as global function

* Update template_functions.go
2017-09-06 12:30:49 +10:00
kilo
ea7d42210c improvements for moderation (#1516)
* styling for new nav shit

* new nav html

* Update index_admin.jet.html

* remove top margin

* Add moderation link

* color changes

* tomorrow colors

* remove useless class

* remove further useless styling

* remove useless class

* Remove useless class again
2017-09-06 12:15:29 +10:00
Miiiiaaooooo
ed4990d313 Ads csp (#1509)
* Ads csp

* remove useless thing
2017-09-06 11:18:37 +10:00
Lamppostmanufacturer
13cc4eaa68 Update doko.moe to uw0.xyz
* Update ca-es.json

* Update de-de.all.json

* Update es-es.all.json

* Update fr-fr.all.json

* Update hu-hu.all.json

* Update in-id.all.json

* Update is-is.all.json

* Update it-it.all.json

* Update ja-jp.all.json

* Update ko-kr.all.json

* Update nb-no.all.json

* Update nl-nl.all.json

* Update pt-br.all.json

* Update pt-pt.all.json

* Update ro-ro.all.json

* Update ru-ru.all.json

* Update sv-se.all.json

* Update th-th.all.json

* Update zh-cn.all.json

* Update zh-tw.all.json
2017-09-05 17:37:52 -05:00
Myrmece
0ebbf433f5 Updated translation. (#1502) 2017-09-05 10:30:05 +10:00
kilo
fe119ed384 Add translation strings in changelog (#1501) 2017-09-05 09:22:58 +10:00
kilo
b3788f1167 Revert "Add background color to remake-checkbox" (#1500)
* Revert "Update CHANGELOG.md (#1497)"

This reverts commit 2450a70cce.

* Revert "Updated translation. (#1496)"

This reverts commit 2187c2e06a.

* Revert "Add background color to remake-checkbox (#1499)"

This reverts commit 5b58380bd1.
2017-09-05 09:03:26 +10:00
MMP0
47ac0217c3 Update Japanese translation (#1498)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-09-05 08:48:09 +10:00
Lamppostmanufacturer
2450a70cce Update CHANGELOG.md (#1497) 2017-09-04 22:28:15 +10:00
Myrmece
2187c2e06a Updated translation. (#1496) 2017-09-04 22:15:00 +10:00
MMP0
5b58380bd1 Add background color to remake-checkbox (#1499) 2017-09-04 22:03:20 +10:00
Miiiiaaooooo
25e6fe2942 Ads enabled settings, ads in FAQ, ads actually in code (#1493)
* Update base.jet.html

* Remove inline styling, put whole thing into a div instead of center to be able to move it at other places at will

* Move inline styling in there & some adjustements that will need further tweaking

* Add GetAdsEnabledFromRequest() function

* Ads Enabled global var

* Need to add global var in test file for it to work properly

* AdEnabled handler in settings

* Create AdsEnabled var for users

* Check if user wants to hide ads

* change var name

* change var name

* change var name

* change var name

* var name changes

* Add ad enabled settings & put each indiviidual setting into a span

* add |raw

* add translation strings

* add ads to faq

* Remove <br> and add faq link

* Fix travis

* Fix wrong condition check

* exclude aldColors & hideAds cookie from deletion

* remove useless things

* Fix template_test.go

* No idea why that part got removed

* Forgot }}

* lower padding for ad container
2017-09-04 21:48:47 +10:00
akuma06
5633a37030 Fix for Tags (#1494)
* Fix #1479 and allows the removal of accepted tags for torrent's owner/moderator
* Fix #1478 moved /add to old api behavior
2017-09-04 08:40:08 +10:00
kilo
0c241dfda5 Add translation string for alternating color in setting & specify the font will not be bold anymore (#1490)
* Add translation string

* Add translation string & be more clear about what does it do
2017-09-04 08:26:09 +10:00
akuma06
49d8ca0c01 Fix RSS Link (#1495)
Fix #1486
2017-09-04 08:11:16 +10:00
kilo
c42efa0ae8 Prettier modal tag design (#1492)
* Add class for input & remove redundant text

* add class to modal body containing tag form
2017-09-03 23:43:47 +10:00
Eliot Whalan
dbb1d0e9c6 actually fix apidocs this time 2017-09-03 21:53:01 +10:00
Eliot Whalan
4f7f9d4d2c Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-09-03 21:40:19 +10:00
Eliot Whalan
a64d342386 fix apidocs 2017-09-03 21:39:25 +10:00
kilo
cdb90050b3 Fix wrong vgmdb input name & wrong input type (#1485)
* Fix wrong vgmdb input name

* Fix wrong search link

* Fix wrong dlsite URL

* fix wrong url yet again
2017-09-03 20:45:57 +10:00
kilo
26932b904a Make alt colors enabled by default for logged in users (#1483)
* Make alt colors enabled by default for logged in users

* Better background color for sukebei's h-user when focused

* Fix border not being shown

* Fix display of rules on Internet Explorer
2017-09-03 18:50:00 +10:00
kilo
4f33ae5f6e Fix wrong VGMDB url (#1476) 2017-09-03 18:06:24 +10:00
kilo
4b80e16121 Fix wrong url for toggleTheme query (#1474) 2017-09-03 16:12:38 +10:00
kilo
6f6f03f7ba 11px bigger website & small css stuff (#1473)
* 11px bigger website

* Lighter green for alt-colors

* Rollback previous change but change trusted td border color

* Fix torrent preview category image being cropped too much at some very specific resolutions

* pink color for refine button on sukebei
2017-09-03 15:49:10 +10:00
akuma06
e4767d42b5 [Release] NyaaPantsu v1.1.0 (#1406)
- [x] Can't see my own torrents? and issues that Still present #1373
- [x] Getting logged out at least once a day bug #1359
- [x] Decreasing 'refine' height #1312 
- [x] New issues since refactor bug #1267 
- [x] Content Security Policy (CSP) #1104
- [x] vgmdb.net links/IDs for music releases #1071 
- [x] Torrent Tagging & searching via tags #1024
- [x] Add toggle dark theme #1381
- [x] Editing a torrent now redirects to torrent view page (fix #1282) #1286
- [x] Sorting by seeders / leechers / downloads gives error 500 #1370
- [x] Trusted search should also show A+ #1258
- [x] Page parameter in api #1251
- [x] User trustworthiness (Pantsu Points) #1229
- [x] Exclude User Search argument #528
- [x] Search input expandable has been removed since it was hard for user to click on "search" button
- [x] Admin Menu: fix #1398
- [x] Commentlist: fix #1398
- [x] broken html: fix #1398
- [x] torrent reports for non-existing torrents: might be hentai torrents deleted by sql query?
- [x] Missing space fixed
- [x] recent comments: fix #1398
- [x] Upload preview: fix #1398
- [x] JS Switch: fix #1398
- [x] ModTools background: fix #1398
- [x] Logging out from modpanel redirect to "/" now (#1398)
- [x] Set sort <select> in refine on "Date" by default #1391
- [x] Add nyoo.moe & sukebei.nyoo.moe links to FAQ #1378
- [x] Fix broken theme when selecting "none" on user settings #1374
- [x] Move to new date search behaviour #1395
- [x] Fix category icons getting cropped in torrent-preview #1351
- [x] Add Indonesian #1350
- [x] Tag Search + Tests + Search slight refactor #1342
2017-09-03 14:55:48 +10:00
kilo
a9ca084911 last margin adjustements for search icon position on tags (#1471) 2017-09-03 14:20:23 +10:00
kilo
d7a649c35b Fix torrent_item JS that missed " " for a string (#1470)
* Forgot to put the translation text into a string

* Fix torrent_item.jet.html

* Remove useless spacing
2017-09-03 14:03:04 +10:00
kilo
a01cb17e4c Add new refine translation strings (#1469)
* Add missing translation strings in refine

* Add new refine translation strings
2017-09-03 13:21:37 +10:00
akuma06
50a6e844db Fix adding tag form (nojs) + miscalleneous (#1468)
* Fix search Status
Should fix #1428 ?s=2 and others. Reason: the sql query wasn't correct when filtering (status >= ? = ?)

* Fix adding tag form (nojs) + miscalleneous
* Fix #1423 by checking http method before finding the tags.
* Form is now like other tags form
* New Middleware LoggedInMiddleware to protect routes to logged user only
* Display of Non-Accepted tags in torrent view improved by translating tagtype values

* Update tag.jet.html
2017-09-03 10:30:30 +10:00
akuma06
38d3e45ef4 Fix search Status (#1467)
Should fix #1428 ?s=2 and others. Reason: the sql query wasn't correct when filtering (status >= ? = ?)
2017-09-03 10:11:19 +10:00
kilo
406c5c879b Fix css that didn't apply & slightly better margin (#1464)
* Remove too big margin

* add bottom margin for tags

* Update main.css
2017-09-03 09:49:53 +10:00
kilo
1ff78cbc43 Remove ' (#1465) 2017-09-02 12:15:02 +10:00
akuma06
46c30a88bf Fix #1461 (#1463) 2017-09-02 03:24:22 +02:00
kilo
095712a674 Make AltColors default (#1460) 2017-09-02 03:04:33 +02:00
kilo
a0ddcf0ef7 Merge pull request #1462 from NyaaPantsu/akuma06-patch-2
Fix broken sub category search
2017-09-02 02:36:06 +02:00
akuma06
2982118ef8 Fix broken sub category search
Fix #1428
2017-09-02 02:22:27 +02:00
kilo
0f074efbf6 Merge pull request #1458 from Kiloutre/patch-77
Search icon position improvement, whole tag text clickeable instead of just the number, title when hovering comment count to indicate that it is a comment count, slight css improvements
2017-09-02 02:11:22 +02:00