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

1069 commits

Auteur SHA1 Message Date
kilo 9ebea76161
fix travis 2017-10-31 07:12:47 +01:00
kilo 95f45a9d5c
Update template_functions_test.go 2017-10-31 06:57:53 +01:00
kilo cd6028a0bc
fix travis 2017-10-31 06:45:45 +01:00
kilo c26ce31c96
Update view.jet.html 2017-10-31 06:32:19 +01:00
kilo 37e1fac280
Update torrent_report.jet.html 2017-10-31 06:24:30 +01:00
kilo adc32d3e54
Update listing.jet.html 2017-10-31 05:28:30 +01:00
kilo 6a2db35316
Update oldNav.jet.html 2017-10-31 05:16:00 +01:00
kilo 23e720ed57
Update oldNav.jet.html 2017-10-31 04:51:08 +01:00
kilo 2849b05370
Update view.jet.html 2017-10-31 03:41:54 +01:00
kilo e47cd66acd
Update view.jet.html 2017-10-31 03:38:47 +01:00
kilo 74ac798ee8
Update view.jet.html 2017-10-31 03:31:41 +01:00
kilo 4385315a0f
Update upload.jet.html 2017-10-31 03:20:32 +01:00
kilo 3959a86ec0
fix travis 2017-10-31 02:21:47 +01:00
kilo 21ce72555b
Update view.jet.html 2017-10-31 02:13:40 +01:00
kilo 6c3687c777
Update view.jet.html 2017-10-31 02:12:23 +01:00
kilo 165d7a70ff
Update torrentlist.jet.html 2017-10-31 02:10:21 +01:00
kilo 9618f4f929
Update torrentlist.jet.html 2017-10-31 02:04:54 +01:00
kilo a9a30d82dc
Update torrents.jet.html 2017-10-31 01:40:30 +01:00
kilo 95a1600f7e
Update template.go 2017-10-31 01:38:47 +01:00
kilo f81fb68e95
Update listing.jet.html 2017-10-31 01:37:32 +01:00
kilo 45e8afe989
Update template_functions.go 2017-10-31 01:37:24 +01:00
kilo bcb2fe52ca
Update view.jet.html 2017-10-31 01:37:07 +01:00
kilo 97b8171bd9
Update template.go 2017-10-31 01:34:23 +01:00
kilo 9b2b05b24a
Update template_test.go 2017-10-31 01:34:13 +01:00
kilo 7667054983
Update profile.jet.html 2017-10-31 01:33:13 +01:00
kilo 283d0f1cf4
Update profile.jet.html 2017-10-31 01:04:13 +01:00
kilo 9e53472cc2
Add files via upload 2017-10-31 00:47:11 +01:00
kilo a68e6b9e8c
Update profile.jet.html 2017-10-29 20:33:43 +01:00
kilo 8cfcf1f356
Update view.jet.html 2017-10-29 20:32:04 +01:00
kilo a75da8d59f
Update view.jet.html 2017-10-29 20:27:52 +01:00
kilo c2df20269e
Update profile.jet.html 2017-10-29 19:58:23 +01:00
kilo 12c5e2e76a
Update view.jet.html 2017-10-29 19:54:30 +01:00
kilo 1f67f36831
Update notifications.jet.html 2017-10-29 19:28:20 +01:00
kilo 0b893ba8c8
Update index.jet.html 2017-10-29 05:04:30 +01:00
kilo 190cd1d113
Update torrent_report.jet.html 2017-10-29 05:01:45 +01:00
kilo 23015426d8
Update view.jet.html 2017-10-29 04:53:49 +01:00
kilo 0d03cd98d8
Update template_test.go 2017-10-29 04:46:14 +01:00
kilo 70f9abb562
fix 2017-10-29 03:11:49 +01:00
kilo dfb3c2b869
Update notifications.jet.html 2017-10-29 01:59:03 +02:00
kilo 0daa34f31f
Update badgemenu.jet.html 2017-10-29 01:22:14 +02:00
kilo 0174f8f1af
Update notifications.jet.html 2017-10-29 01:07:33 +02:00
kilo 2201517574
Update template_test.go 2017-10-29 01:02:39 +02:00
kilo 522cd0f5bb
redesign of notification, html 2017-10-28 22:50:39 +02:00
kilo 530fd0555a
Sukebei colors for classic theme, subscribe link on torrent pages (#1696)
* Add files via upload

* change url of files

* Delete topbar.png

* Delete dl-link.png

* Add files via upload

* sukebei colors for classic theme

* stylisation for follow link on torrents

* Update main.css

* Update tomorrow.css

* Update follow.go

* Update profile.jet.html

* Update user.go

* Update view.jet.html

* Update view.go

* Update view.jet.html

* Update view.jet.html

* Update tomorrow.css
2017-10-28 21:50:32 +02:00
kilo 33964e017d Comment date show full date instead of short one (#1695) 2017-10-28 18:52:18 +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
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
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
akuma06 33c83030b9 Fix Api documetation (#1685)
* Fix Api documetation

Fix #1682
* Remove unused SubCategory field from struct TorrentRequest
* Change `category` argument in documentation to correct `c` (same key as the one in Search)

* Apidoc generation

* Remove SubCategory from template_test's torrentValidator

* Update template_test.go
2017-10-18 22:27:55 +02:00
kilo 40b90f1739 Update index_site.jet.html (#1681)
* Update index_site.jet.html

* Update classic.css
2017-10-18 19:38:21 +10:00