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

970 commits

Auteur SHA1 Message Date
kilo 870b72f1e9 "No comments" message, avatar in comments, classic theme improvements, some other changes, Old Navigation (#1545)
* Update view.jet.html

* Update en-us.all.json

* Update view.jet.html

* Update CHANGELOG.md

* fix travis

* Update classic.css

* Update view.jet.html

* Update main.css

* Update classic.css

* Update classic.css

* Update classic.css

* add link to user page & avatar in comment

* stylisation for avatar in main.css

* Update classic.css

* Fix wrongly placed ::before

* Add rule list to terms of service

* import rules on register

* fix refine-container-2's inputs

* Update base.jet.html

* Update en-us.all.json

* Update CHANGELOG.md

* GenNav changes to constantly put HTML for nav arrows regardless of page

* css changes for website nav etc etc

* add OldNav global variable

* Add OldNav to test.go

* Update publicSettings.go

* change OldNav's value type

* Old navigation in settings

* add OldNav in user variables

* add oldNav input handler in settings.go

* Change OldNav's default value into false

* Create OldNav.jet.html

* Update search.jet.html

* remove character that had nothing to do here

* fix wrong variable name

* fix worng variable name and travis

* Update classic.css

* Add sort order & type to old nav

* add toString() function in test

* add toString() function

* translation string for oldnav setting

* Use translation string in settings.jet.html

* fix few html errors

* ditto

* travis fix test

* remove useless charset

* remove useless things

* add spaces before attributes

* attempt at fixing travis 2

* fix wrong variable name

* Update classic.css

* fix travis plsss
2017-09-11 19:45:39 +02:00
kilo 83bd0165d1 Small css fix,, classic improvements & translation change (#1543)
* remove useless spacing

* spacing through CSS instead of HTML

* remove icon spacing on classic

* Update en-us.all.json

* Update classic.css

* Update classic.css
2017-09-10 22:53:34 +10:00
kilo d8a6837261 Update settings.jet.html 2017-09-09 15:01:40 +02:00
kilo c0059bdb09 Merge branch 'dev' into classic-theme 2017-09-09 14:09:08 +02:00
kilo f8112723f8 fix "torrent file button grayed out for old torrents (anicache.com link)" (#1542)
* add strfind function & check for pantsu.cat when checking torrent file exists

* test

* Update listing.jet.html

* Update view.jet.html

* Update torrents.jet.html

* Update template_functions_test.go
2017-09-09 14:05:51 +02:00
kilo 0fe6e8dc2a Update view.jet.html 2017-09-08 23:38:53 +02:00
kilo 2ef8739642 Update view.jet.html 2017-09-08 23:29:46 +02:00
kilo e9b0e21121 Update view.jet.html 2017-09-08 23:18:06 +02:00
kilo ad7ee377a1 Update search.jet.html 2017-09-08 21:53:08 +02:00
kilo c7fe32d867 remove useless spacing 2017-09-08 21:38:24 +02:00
kilo 3c5773df34 Update view.jet.html 2017-09-08 21:19:08 +02:00
kilo 79ab59b5f0 Update view.jet.html 2017-09-08 21:09:31 +02:00
kilo 59a690159f fix select value 2017-09-08 20:59:46 +02:00
kilo 31317c579a Merge branch 'dev' into classic-theme 2017-09-08 20:52:32 +02:00
kilo d1d4bf8e28 Remove hide ads options (#1536)
* Update base.jet.html

* Update settings.jet.html

* Update template.go

* Update publicSettings.go

* Update user.go

* Update settings.go

* Update main.js

* Update base.jet.html

* Update template_test.go

* Update en-us.all.json
2017-09-08 20:46:45 +02:00
kilo 5e3d88356f Update listing.jet.html 2017-09-08 20:34:39 +02:00
kilo 6be9d8eb72 Update listing.jet.html 2017-09-08 20:34:04 +02:00
kilo 6e937ed5d4 Update site.jet.html 2017-09-08 20:32:35 +02:00
kilo 611113c1f9 Update settings.jet.html 2017-09-08 20:32:07 +02:00
kilo 8c16fdf798 Update settings.jet.html 2017-09-08 20:31:58 +02:00
kilo c485801d79 Turn comment count into comment icon, add link to comments on comment icon (#1534) 2017-09-08 20:29:32 +02:00
kilo 548a0df333 (merge this second) (#1530)
* Update template_functions.go

* Update template_test.go

* Update admin.jet.html

* Update template_test.go

* right file

* Update template_functions_test.go

* forgot a }

* Update admin.jet.html

* Update template_functions_test.go

* Update template_functions.go

* Update template_functions.go
2017-09-08 23:08:12 +10:00
kilo 388e0e0622 (merge this first) small css improvements & small enhancements (#1529)
* Update main.css

* Update tomorrow.css

* Update listing.jet.html

* Update torrents.jet.html

* Update admin.jet.html
2017-09-08 13:03:17 +10:00
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
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
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
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
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
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 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
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 4f33ae5f6e Fix wrong VGMDB url (#1476) 2017-09-03 18:06:24 +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
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 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 1362a12432 Remove inline styling 2017-09-01 07:15:03 +02:00