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

3219 commits

Auteur SHA1 Message Date
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
ewhal bce084bf2f Merge branch 'dev' into patch-77 2017-09-02 09:57:27 +10:00
Emanuel Neves ca7081799d Roadmap redirects to GitHub Projects (#1457)
* roadmap now links to GitHub Projects page

* added a line break
2017-09-02 09:57:14 +10:00
kilo 170cb33d0b Better border color for classic.css's <td> 2017-09-01 10:45:22 +02:00
kilo 3ccfef7eb0 Move video quality row under all the tags instead of between accepted & non-accepted tags 2017-09-01 07:27:18 +02:00
kilo 70c2856bbe Whole tag text is clickeable instead of just the ID 2017-09-01 07:21:52 +02:00
kilo df82737824 display: none on these inputs that do nothing at the moment but will in the future 2017-09-01 07:17:55 +02:00
kilo 960b009c83 Better position of searchbox on accepted tags 2017-09-01 07:17:07 +02:00
kilo 1362a12432 Remove inline styling 2017-09-01 07:15:03 +02:00
kilo 1e7f81f2a1 Better border color for user-avatar on classic 2017-09-01 06:57:30 +02:00
kilo 99dcbc6555 Same but for preview torrents 2017-09-01 06:56:42 +02:00
kilo 3b4197aa15 Same but for JS torrents 2017-09-01 06:56:32 +02:00
kilo 2f1549dec2 Add title when hovering comment count to indicate that it is a comment count 2017-09-01 06:54:48 +02:00
kilo 2ade6fac8d Revert z-index changes that made mascot appear in front of pagination & footer (#1455)
* Rollback

* color that looks more blue for alt colors

* Less blue
2017-09-01 12:46:05 +10:00
kilo 9d4bf36231 Add container class to pagination (#1456) 2017-08-31 20:59:35 +10:00
kilo 86254a66a4 Different colors when alternating colors is enabled for sukebei's g.css (#1454) 2017-08-31 12:27:13 +10:00
kilo db19afb852 Fix missing } that caused code to be broken in css (#1453)
* Fix missing } that caused code to be broken in css

* Make css rule apply at the right res to prevent the need of !important

* remove useless !important again
2017-08-31 12:12:54 +10:00
Emanuel Neves 4c4a01b7be Mascot always clickable (#1452)
* mascot always clickable

* fixed main.css end c/p error

* adjusted some other z-index to preserve hierarchy
2017-08-31 11:53:46 +10:00
kilo 424e26d476 Fix file list indent (#1450)
* Fix file list indent

* Lower indent
2017-08-31 09:49:59 +10:00
kilo 6209dfbfb2 Load query.js in base as theme toggler JS requires it (#1449)
* Have to include query.js in very page because of theme toggler

* Remove query from other files

* remove query

* Remove kebab

* better color
2017-08-30 21:29:52 +10:00
kilo 5a184bfb50 "Alternating Colors" option in settings (#1440)
* Non-bold torrent name when using alternating background colors

* Add alternating colors for g.css

* Add alternating colors for classic.css

* Add alternating colors for tomorreuw

* Update classic.css

* Add alternating colors to settings page

* Add alt-colors class to tbody if enabled

* Add GetAltColorsFromRequest() function to get AltColors cookie value

* Create AltColors variable for usage in listing

* Make settings handle altColors input

* Add AltColors in user struct

* Returned the wrong variable here

* Turn function return value into bool

* Condition checks variable like a bool

* ditto

* better color for g.css

* even better color

* better

* Last change for g.css

* Improvement for tomorrow

* Update classic.css

* add alt-colors class to upload preview

* Add alt-colors to user profile

* more vivid color for g

* Fix typo

* Remove browser outline for refine when clicked on

* remove browser outline

* Fix rules that didn't apply and category icon being way too small on user profile thanks to usage of percentage

* Remove show-xs class for search inputs

* Turn refine button back into position: absolute to pin at very bottom of refine

* Alternating colors for g's trusted, remake & aplus

* Update tomorrow.css

* attempt at fixing travis

* test (will have to rollback that change)

* rollback

* will have to rollback

* will have to rollback

* will have to rollback

* will have to rollback

* add AltColors variable to template test

* rollback

* rollback

* rollback

* rollback
2017-08-30 15:21:45 +10:00
kilo 508c6fd578 Fix Query.Get error (#1447) 2017-08-30 11:31:23 +10:00
akuma06 3e04f16c21 Fix tag() function (#1446)
Seems like I forgot to commit this file in my previous PR.
2017-08-30 10:31:58 +10:00
MMP0 c721ab263e Update Japanese translation (#1445)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-08-30 09:57:11 +10:00
kilo 469375435c Toggle theme JS now also do a query to save new theme settings for logged-in users (#1443)
* Set user theme through query in toggle

* Create UserID JS variable

* remove useless shit
2017-08-29 21:15:37 +10:00