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

573 commits

Auteur SHA1 Message Date
kilo 346f3e7506
Update en-us.all.json 2017-10-31 06:25:14 +01:00
kilo 7194b3db4f
Update CHANGELOG.md 2017-10-31 06:24:53 +01:00
kilo e286385632
Update CHANGELOG.md 2017-10-31 04:48:02 +01:00
kilo 6767f679de
Update en-us.all.json 2017-10-31 04:47:56 +01:00
kilo b541fc1124
Update CHANGELOG.md 2017-10-31 03:24:59 +01:00
kilo 417deef07f
Update en-us.all.json 2017-10-31 03:24:34 +01:00
kilo 19bb04f97f
Update CHANGELOG.md 2017-10-31 01:33:58 +01:00
kilo 8e121e2756
Update en-us.all.json 2017-10-31 01:33:44 +01:00
kilo 6491490db7
Update en-us.all.json 2017-10-29 19:30:49 +01:00
kilo 31af6c430e
Update CHANGELOG.md 2017-10-29 19:30:29 +01:00
kilo 90c6e8726c
fix travis 2017-10-29 05:14:10 +01:00
kilo 1f617a78e4
Update CHANGELOG.md 2017-10-29 04:56:23 +01:00
kilo 87f2ec8a9b
Update en-us.all.json 2017-10-29 04:56:14 +01:00
kilo ffaadb03c5
Update en-us.all.json 2017-10-29 04:54:31 +01:00
kilo 418b2c5d9e
Update CHANGELOG.md 2017-10-29 04:54:10 +01:00
kilo f28ba2f7ac
Update CHANGELOG.md 2017-10-28 23:32:44 +02:00
kilo d67905415a
Update en-us.all.json 2017-10-28 23:32:35 +02:00
kilo 016b4adfc6
add translation strings 2017-10-28 22:49:42 +02:00
kilo 28ffbf4534
Update CHANGELOG.md 2017-10-28 22:49:24 +02:00
kilo dd94402f04
Fixes & improvements (#1684)
* Update main.css

* Update torrent_item.jet.html

* Update main.js

* Update torrent_item.jet.html

* Update main.js

* Update main.js

* Update main.js

* Update main.js

* Update main.js

* Update template_functions_test.go

* Update template_functions_test.go

* Update user.go

* Update profile.jet.html

* Update view.jet.html

* Update template_functions.go

* Update en-us.all.json

* Add files via upload

* Update CHANGELOG.md

* Update main.css

* Update template_functions.go

* Add files via upload

* Update en-us.all.json

* Update template_functions_test.go

* Update view.jet.html

* Update main.css

* Update ja-jp.all.json

* Update main.css

* Update edit.jet.html

* Update main.css

* Update tomorrow.css

* Update ja-jp.all.json

* Update main.css

* Update view.jet.html

* Update comment.go

* Update create.go

* Update classic.css

* Make GetOldNavFromRequest return true by default

* Update view.jet.html

* Force torrent date in UTC+0 timezone during display

* ditto

* Update ja-jp.all.json

* Update oldNav.jet.html

* Update structs.go

* Update default_config.yml

* Update torrent.go

* Update stats.go

* Update stats.go

* Update user.go

* Update template_functions.go

* Update template_functions_test.go

* Update torrent.go

* Update comment.go

* Update view.jet.html

* Update main.css

* Update user.go

* Update template_functions.go

* Update profile.jet.html

* Update main.js
2017-10-28 18:28:59 +02:00
Myrmece a4e785ac89 Updated translation. (#1694) 2017-10-28 17:24:26 +02:00
MMP0 901c933632 Improve date formatting (#1693)
* Update main.js

* Update base.jet.html

* Update CHANGELOG.md

* Update en-us.all.json

* Update ja-jp.all.json

* Update main.js
2017-10-28 17:01:56 +02:00
Bas 1f5d07a85c Some translations (#1692) 2017-10-25 23:07:06 +10:00
MMP0 3d8b45513e Update ja-jp.all.json (#1690) 2017-10-25 13:35:58 +02:00
MMP0 0f2e249b09 Update Japanese translation (#1688)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-10-21 16:33:47 +02:00
Myrmece 908f20de20 Updated translation. (#1687) 2017-10-21 12:21:52 +02:00
akuma06 b2b48f61b0 Torrent Generation on not found error (#1600)
* [WIP] Torrent Generation on not found error
As asked in #1517, it allows on-the-fly torrent generation. Since it uses magnet links, it needs some time to connect to peers. So it can't be instant generation, we need the user to wait and try after a minute at least.

* Replace Fatal by simple error

* attempt at fixing travis

* del

* Add Anacrolyx dependency

* Add back difflib

* Remove .torrent suffix in the url example

* Add some explanations when file missing page shown

* Ignore downloads directory

* Either use cache (third-party site) or own download directory

* Wrong import

* If there is an error then it means we aren't generating a torrent file

May it be "torrent not found" or "We do not store torrent files" which are the two only existing errors for this page

* hash is never empty

* TorrentLink may be empty at times

So we add a /download/:hash link if it is

* Update README.md

* Made a mistake here, need to check if false

* Update en-us.all.json

* Update CHANGELOG.md

* Torrent file generation can be triggered by click on button if JS enabled

* Update download.go

* Update download.go

* Use c.JSON instead of text/template

* Return to default behavior if we don't generate the file

* Don't do the query if returned to default behavior

* Add "Could not generate torrent file" error

* Fix JS condition & lower delay until button updates

* Start download automatically once torrent file is generated

* Fix torrentFileExists() constantly returning false if external torrent download URL

* torrent-view-data is two tables instead of one

This allows the removal of useless things without any problem (e.g Website link), but also a better responsibe design since the previous one separated stats after a certain res looking very wonky

* CSS changes to go along

* Remove useless <b></b>

* Update main.css

* In torrentFileExists, check if filestorage path exists instead of looking at the domain in torrent link

When checking if the file is stored on another server i used to simply check if the domain name was inside the torrent link, but we can straight up check for filestorage length

* Fix JS of on-demand stat fetching

* ScrapeAge variable accessible through view.jet.html

Contains last scraped time in hours, is at -1 is torrent has never been scraped
Stats will get updated if it's either at -1 or above 1460 (2 months old)

* Refresh stats if older than two months OR unknown and older than 24h

Show last scraped date even if stats are unknown

* Add StatsObsolete variable to torrent

Indicating if:
- They can be shown
- They need to be updated

* Update scraped data even if Unknown, prevent users from trying to fetch stats every seconds

* Torrent file stored locally by default

* no need to do all of that if no filestorage

* fix filestorage path

* Fix torrent download button stuck on "Generating torrent file" at rare times

* fix some css rules that didn't work on IE

* Fix panic error

Seems like this error is a known bug from  anacrolyx torrent https://github.com/anacrolix/torrent/issues/83

To prevent it, I'm creating a single client and modifying the socket.go to make it not raise a panic but a simple error log.
2017-10-21 09:40:43 +02:00
MMP0 b938649c75 Update ja-jp.all.json (#1679) 2017-10-18 05:27:14 +02:00
MMP0 054a0e07a2 Update ja-jp.all.json (#1671) 2017-10-16 03:33:27 +02:00
Myrmece 1454ee05b8 Updated translation. (#1661) 2017-10-14 08:29:22 +02:00
kilo ba058ec3e1 Prevent session cookie from existing on .pantsu.cat & other things (#1658)
* Update user.go

* Update main.css

* add comment

* fix JS function that did not  behave as intended

* Update classic.css

* Update classic.css

* Update search.jet.html

* Update en-us.all.json

* Update site.jet.html

* Update router.go

* Update search.go

* Update helpers.go

* Update search.go
2017-10-14 11:16:34 +10:00
Myrmece 06ce41f04f Updated translation. (#1659) 2017-10-13 04:58:05 +02:00
Myrmece c72604cc22 Updated translation. (#1645) 2017-10-10 04:53:28 +02:00
kilo bad9285eb4 "No API token" message if no API token, small changes (#1644)
* No API token message if no API token

* Update CHANGELOG.md

* Update en-us.all.json

* move delete user button to the right

* prettier button hovering text color [tomorrow]

* Update en-us.all.json

* use of translation strings for certain themes

* ditto

* Remove hardcoded theme name, make use of translation strings in function if it exist

* Update template_functions_test.go

* Update template_functions_test.go

* Update template_functions.go

* fix travis

* remove useless condition
2017-10-10 02:33:38 +02:00
Atvaark f3d1971a91 Update de-de.all.json (#1640)
Spellcheck
2017-10-05 21:56:42 +02:00
Lamppostmanufacturer 9424cea909 Clarification in the Changelog (#1638) 2017-10-05 11:54:41 +02:00
Lamppostmanufacturer 3e3929289e Update de-de.all.json (#1639)
* Update de-de.all.json

* forgot a comma :^)
2017-10-05 11:40:52 +02:00
MMP0 e9efe54493 Update ja-jp.all.json (#1637) 2017-10-05 02:43:25 +02:00
Myrmece 5edfc9f81f Updated translation. (#1635) 2017-10-04 18:02:34 +02:00
kilo 5496d6e19d Lower amount of torrents shown in user profile from 20 to 15, user not found page (#1631)
* Lower amount of torrents shown in user profile

* Additional routes for user search

* Handler for user not found page

* User not found error page, with input to search username

* Move theme css in their own folder

* Delete g.css

* Delete classic.css

* Delete classic_colors.css

* Delete tomorrow.css

* Delete bg-body.png

* Delete bg-header-tile.png

* Delete s_bg-header-tile.png

* Change path used by stylesheet in html head

* Change theme path used by JS theme changers

* Update user_not_found.jet.html

* Update CHANGELOG.md

* Update en-us.all.json

* fix ad scrolling

* remove useless stuff

* fix travis & json file

* fix travis again

* remove duplicate

* Update CHANGELOG.md

* Writing an username instead of an userid in userprofile URL will no longer return the Anonymous profile

* redirect to username search instead of rendering a template without checking if username exists
2017-10-04 15:46:06 +02:00
Myrmece 51d3520828 Updated translation. (#1632) 2017-10-04 13:47:04 +02:00
kilo 7273156007 Add RSS link on userprofile, "Search from this user" input, route changes, other changes (#1630)
* Styling for new "Search from user" input in profile

* new "Search from this user" input

* Add RSS link on user profile

* fix rss icon being misaligned

* start comment count at 1 instead of 0

* fix misalignement of category in refine in japanese

* Add new routes for user search

* Update torrents.jet.html

* add translation string

* Update en-us.all.json

* Update CHANGELOG.md

* remove margin-right of torrent button icon

* Add /username/XXX/Search route

* /username/XXX route doesn't redirect anymore
2017-10-03 01:44:33 +02:00
Myrmece a6ff5d3fd6 Updated translation. (#1617) 2017-09-25 12:40:15 +02:00
MMP0 d6f6ed5c29 Add translation (#1615)
* Update ja-jp.all.json

* Update edit.jet.html

* Update edit.jet.html

* Update settings.jet.html

* Update view.jet.html

* Update CHANGELOG.md

* Update en-us.all.json

* Update ja-jp.all.json

* Update oldNav.jet.html

* Update en-us.all.json
2017-09-24 09:59:27 +02: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
Myrmece 951f94d988 Updated translation. (#1591) 2017-09-18 16:26:27 +02:00
MMP0 2cd80735f2 Update ja-jp.all.json (#1588) 2017-09-18 05:56:46 +02: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