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

3343 commits

Auteur SHA1 Message Date
kilo
76cfcd8ebb
Update main.css 2017-10-29 05:04:16 +01:00
kilo
190cd1d113
Update torrent_report.jet.html 2017-10-29 05:01:45 +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
23015426d8
Update view.jet.html 2017-10-29 04:53:49 +01:00
kilo
6f6cb4c80e
Update report.go 2017-10-29 04:47:54 +01:00
kilo
cf4ae706cd
Update report.go 2017-10-29 04:47:39 +01:00
kilo
0d03cd98d8
Update template_test.go 2017-10-29 04:46:14 +01:00
kilo
31e4622913
Update create.go 2017-10-29 04:46:05 +01:00
kilo
804475dc89
Update torrent.go 2017-10-29 04:38:33 +01:00
kilo
8f285c8414
Update search.go 2017-10-29 04:12:38 +01:00
kilo
67ab9dfa8c
Update torrentParam.go 2017-10-29 04:12:33 +01:00
kilo
ac933b1ec0
Update profile.go 2017-10-29 03:45:21 +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
70effc65f7
Update classic.css 2017-10-29 01:26:48 +02:00
kilo
acf0cdf785
Update tomorrow.css 2017-10-29 01:26:19 +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
b1ee08c7ee
Update main.js 2017-10-29 01:02:09 +02:00
kilo
38061f3521
Update themeToggle.go 2017-10-29 01:01:50 +02:00
kilo
fd2b094034
Update helpers.go 2017-10-29 00:31:44 +02:00
kilo
36e1574d11
Update notifier.go 2017-10-29 00:17:48 +02:00
kilo
0cfe7073b7
Update notification.go 2017-10-29 00:17:31 +02:00
kilo
b03053290c
Update profile.go 2017-10-29 00:17:22 +02: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
522cd0f5bb
redesign of notification, html 2017-10-28 22:50:39 +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
f7587c122b
Update tomorrow.css 2017-10-28 22:47:43 +02:00
kilo
28b44995c4
Update tomorrow.css 2017-10-28 22:47:31 +02:00
kilo
5d03312eb5
Update main.css 2017-10-28 22:47:05 +02:00
kilo
ee0ffde9e6
Update tomorrow.css 2017-10-28 21:52:24 +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
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
5261e54abf Removing some logs (#1686)
* [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.

* Removing some logs
2017-10-21 10:08:33 +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
156ad45eac Update scrape.go (#1683) 2017-10-18 20:55:45 +10:00