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

985 Révisions

Auteur SHA1 Message Date
kilo 33e90093b7 2px (#1587)
* 2px

* remove useless css rule

* Forgot path=/; in resetCookie()

* forgot a max-width

* Update base.jet.html

* resetCookies() now also triggered by mismatching website version
2017-09-18 14:20:25 +10:00
kilo e1f6a97a86 Ad design changes (#1581)
* Update main.css

* Update classic.css

* Update base.jet.html

* Update classic.css

* Update main.css

* Update base.jet.html

* Update upload.jet.html
2017-09-18 11:24:08 +10:00
kilo 216d241143 alt attribute for ads images, fix missing tags on upload, fix wrong name for translation string (#1577)
* alt attribute for ads images

* fix <tr> too much

* fix missing <tr> that created HTML error

* fix wrong translation string name

* ditto

* fix accepted tags not having background on classic

* Put tag table inside upload table

* Update classic.css

* Remove prefix of dlsite tag on view

* Update main.css

* 10px bigger website

* fix wrong css selector

* fix markdown scroll visually broken in classic.css

* Add magnet link on torrent file not found page

* don't show magnet <a> if empty

* Fetch magnet link in download.go and pass it on to torrent_file_missing

* add magnet in template_test
2017-09-18 10:15:39 +10:00
kilo 43fd3e8956 Sync JS cookies & Go cookies's domain & random other things (#1571)
* create JS domain variable

* use domain JS variable when creating cookies

* Create getDomainName() function in Go

* Update template_functions_test.go

* Update template_functions_test.go

* recreate cookie when resetCookies() is called

* Update main.css

* Update classic.css

* show "unknown" instead of "0 0 0" if stats are unknown

* don't show top ad if there's an announcement

* remove BBCode support that broke description's line breaks

* remove useless identifier

* hide error instead of fixing it

* Update markdown_test.go

* Update markdown_test.go

* css for tags in classic

* remove wrong explanation for alternating color

* fix RSS URL in header

* remove eu cookie <div> from base

* fix cookie warning never showing up

* Update main.js

* nyaa.se-like styling for upload form on classic.css

* Smaller markdown toolbar on classic upload form

* Fix indent, non-round borders for markdown & language list on classic

* Update view.jet.html

* add fillZero function

* ditto but in test

* Update view.jet.html

* add RJ prefix to dlsite link

* Update template_functions_test.go

* Update listing.jet.html

* prevent responsiveness of upload form in classic.css

* remove now useless css rule

* fix tag input padding on classic

* Update template_functions_test.go

* rollback workaround

* rollback workaround

* rollback workaround

* remove now unused function

* ditto

* Update main.css
2017-09-17 22:10:43 +02:00
akuma06 421935f8be Change DLSite to String (#1576)
* Change DLSite to String

Fix #1573
Plus it seems the filtering search for ES didn't work for anidbid, vndbid and vgmdb. Should be fixed now.

* Update helpers.go
2017-09-17 21:27:20 +02:00
kilo cedbec3246 New design for upload form (#1574)
* CSS for new upload form

* add torrent_name in translation

* Update CHANGELOG.md

* New upload form HTML, don't load kilo.js

* Update upload.jet.html

* Update main.css

* change placeholder of torrent name input

* Update upload.jet.html

* remove useless function call from upload

* responsive upload form

* Fix description being constantly bold in upload

* fix vertical align of labels in upload

* upload tags inputs in table too

* tag table styling & remove old upload tag styling

* Update main.css

* Update main.css

* Update main.css

* Update upload.jet.html

* fix flag misalignement in upload form

* Remove rules <div> from upload, provide temporary link to rules in faq (maybe will turn into a modal in the future?), remove useless input

* bigger upload button & no margin for upload rules text

* Update en-us.all.json

* Update CHANGELOG.md

* add ID to rules div

* Update upload.jet.html
2017-09-17 20:30:58 +02:00
kilo 2ec6eaab9d fix sukebei condition (#1569)
* fix sukebei condition

* put top ad into a div
2017-09-16 09:39:14 +10:00
kilo 79b05a8a84 Fix visual artifact on pagination when it was empty (#1568)
* Update classic.css

* add classic colors in user edit

* Update main.css

* Update classic.css

* Update classic.css

* Update main.css

* Update classic.css
2017-09-15 11:48:30 +02:00
kilo 20456373e0 Update view.jet.html (#1565) 2017-09-15 11:37:24 +10:00
kilo 8d8bb5cf1f miao (#1563)
* Add files via upload

* Update main.css

* Create ad.jet.html

* add testRand function in template_test

* add rand function

* Update base.jet.html

* Update listing.jet.html

* Update classic.css

* import math/rand

* attempt at fixing travis

* Update template_functions_test.go

* Update template_functions_test.go

* Update classic.css

* Update ad.jet.html

* Update ad.jet.html

* Update main.css

* Update classic.css

* Update base.jet.html

* Update base.jet.html

* Update main.css

* Update base.jet.html

* Update main.css

* Update classic.css

* Update main.css

* Update classic.css

* Update classic.css

* forgot a max-width

* Update classic.css

* Add files via upload

* Add files via upload

* Update classic.css

* Update classic.css

* Update classic.css

* dont show in moderation pages
2017-09-15 10:57:32 +10:00
MMP0 b203af4c87 Update upload.jet.html (#1561) 2017-09-13 15:54:59 +02:00
kilo b0f4ea5e57 Change ul into div to remove html error (#1560)
* Change ul into div to remove html error

* remove useless attribute and useless tag

* Remove useless <p> tag
2017-09-13 14:20:30 +10:00
kilo 65772d8654 rollback the rollback (#1554)
* rollback the rollback

* fix classic.css padding

* remove </img> tag

* Update torrents.jet.html

* Fix html tag

* fix footer & ad showing over the TOS

* move setting & add it's explanation

* Update en-us.all.json

* include nav in listing directly instead of refine

* Update search.jet.html

* remove now useless css rules

* Update main.css

* Update base.jet.html

* exclude old navigation cookie from deletion

* add torrent uploaded total size to user profile
2017-09-12 15:03:26 +02:00
kilo 1b0211cfb9 Remove https for dlsite, fix few html errors, small css improvements (#1551)
* Remove https for dlsite

* Update listing.jet.html

* Update torrent_item.jet.html

* Update torrent_item_upload.jet.html

* Update torrents.jet.html

* remove role attribute

* remove role attribute

* login & register page styling

* website-nav stylisation for main.css

* remove now useless css rules

* up to date main.css

* OwO

* Update main.css

* Last stylisation changes for classic's nav

* margin-left

* add categories

* add TestgenSearchWithCategory to template_test

* add genSearchWithCategory function

* forgot to close the function call

* Update template_functions_test.go

* Update template_functions.go

* Update template_functions.go

* attempt at fixing template_functions

* Update template_functions.go
2017-09-12 00:17:35 +02:00
kilo 615ff10dc8 Fix some html errors (#1549)
* Remove useless / that created html error

* Slightly bigger font for torrent name on view.html, padding fixes

* Set kilo.js to look for span class name instead of name to remove HTML error

* Change span name into class to remove html errors

* remove name attribute

* remove link to user profile is Anon or invalid userid

* fix duplicate class attribute

* remove useless center, remove useless attribute, remove useless yield errors & bad name attribute

* turn name attribute into ID

* JS changes to go along

* fix travis

* Delete OldNav.jet.html

* Create oldNav.jet.html

* turn <li> into <span>

* Update classic.css

* Update main.css

* Update g.css

* Update tomorrow.css

* Update tomorrow.css

* Update classic_colors.css
2017-09-11 21:59:17 +02:00
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