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

3242 commits

Auteur SHA1 Message Date
Golumpa
7328a71291 Nyaaconv4 (#1609)
* Fix stylesheet

* fix search icon

* Update nyacon.css

* Update nyacon.svg
2017-09-21 19:56:33 +02:00
kilo
cd128df436 s (#1606)
* Update template_functions.go

* Update template_functions.go

* Update main.js

* remove useless condition

* Update main.js

* Fix login on nyaa -> log off sukebei issue

* Update user.go

* Update main.js
2017-09-21 14:18:55 +10:00
kilo
6cdab6cbc9 Forgot to close a <a> (#1603) 2017-09-20 11:26:04 +10:00
Golumpa
0b67d685ac Fix stylesheet (#1602) 2017-09-20 03:09:18 +02:00
Golumpa
2e739777eb Update Nyacon Font (#1601)
Added:

icon-finished
icon-pending
icon-error
2017-09-20 02:32:25 +02:00
kilo
f3881734e2 Make sukebei have all ads PLUS onahole instead of only onahole (#1598)
* Update ad.jet.html

* Update base.jet.html

* Update template_functions.go

* Update template_functions_test.go

* Update ad.jet.html
2017-09-20 09:59:17 +10:00
Myrmece
24c308cc99 Updated translation. (#1596) 2017-09-19 17:52:26 +02:00
MMP0
191484e319 Update ja-jp.all.json (#1597) 2017-09-19 12:46:08 +02:00
kilo
7264ab0d0a Small fixes (#1593)
* Update torrent_file_missing.jet.html

* Update en-us.all.json

* Update CHANGELOG.md

* Update main.css

* Update upload.jet.html

* Remove unused refine inputs from URL when doing a refine search

* fix cookie warning not showing up
2017-09-19 10:00:30 +10:00
MMP0
102ff0efbc Markdown editor fixes (#1590) 2017-09-18 18:00:55 +02:00
Jeff
44e304977b * add makefile for build (#1594)
* use io.ReadFull instead of io.Reader's Read()
2017-09-18 17:21:48 +02:00
Myrmece
951f94d988 Updated translation. (#1591) 2017-09-18 16:26:27 +02:00
akuma06
d7d737d48b Fix Search by ID (#1592)
torrent_id is a column from both torrents and scrapes tables. So you have to specify for which table you want to filter torrent_id.
Fix #1589
2017-09-18 15:43:07 +02:00
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
MMP0
2cd80735f2 Update ja-jp.all.json (#1588) 2017-09-18 05:56:46 +02:00
kilo
4b603c6a60 Update main.js (#1583) 2017-09-18 04:05:38 +02: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
Myrmece
1f07736742 Updated translation. (#1580) 2017-09-18 01:03:03 +02: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
0646d9fc0c Fix <br> tag duplicated (#1575)
The bug came from bbcode parser which transforms \n with <br>.
So I just remove the br tag in bbcode parser before applying the mardown parser.
Fix #1480
2017-09-17 21:47:17 +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
Myrmece
5f485a2d75 Updated translation. (#1567) 2017-09-15 00:45:07 +02: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
Myrmece
efc37cf981 Updated translation. (#1559) 2017-09-12 23:54:16 +02:00
MMP0
cd0120cce4 Scrollable modal box (#1558)
* Scrollable modal box

* Update main.css

* Bit higher max height otherwise TOS and long text is annoying to read, also fix ads displaying in modal
2017-09-12 19:23:26 +02: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
Myrmece
9f36485b1e Updated translation. (#1557) 2017-09-12 14:27:54 +02:00
MMP0
a8863a3821 Update ja-jp.all.json (#1556) 2017-09-12 14:10:07 +02:00
Myrmece
0d1ff6273a Updated translation. (#1555)
* Updated translation.

* gonna change that right now actually
2017-09-12 01:22:53 +02:00
Miiiiaaooooo
5ce54160d1 Terms and Conditions (#1553)
* Terms and Conditions

* fix miao's mistakes

* Update CHANGELOG.md
2017-09-12 00:33:56 +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
MMP0
ed35976564 Update ja-jp.all.json (#1547) 2017-09-11 13:22:49 +02:00
Myrmece
782fcfdd90 Updated translation. (#1546) 2017-09-11 00:43:55 +02:00
MMP0
b44b31f5ca Update ja-jp.all.json (#1544) 2017-09-10 18:57:05 +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
3274a9f1ba Merge pull request #1540 from NyaaPantsu/classic-theme
Actual classic theme
2017-09-09 15:16:16 +02:00
kilo
d8a6837261 Update settings.jet.html 2017-09-09 15:01:40 +02:00
kilo
856db97528 Update classic.css 2017-09-09 14:13:07 +02:00
kilo
b5abf9cc87 Update classic.css 2017-09-09 14:09:56 +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