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

673 commits

Auteur SHA1 Message Date
kilo
d20fe56594
Update classic.css 2017-10-31 05:47:02 +01:00
kilo
3ae6e7df7e
Update classic.css 2017-10-31 05:45:05 +01:00
kilo
9792e4eee3
Update classic.css 2017-10-31 05:43:16 +01:00
kilo
44f76fc837
Update classic.css 2017-10-31 05:33:46 +01:00
kilo
8d2be6ca5b
Update classic.css 2017-10-31 05:15:48 +01:00
kilo
c570624905
Update main.css 2017-10-31 04:52:35 +01:00
kilo
25627f6bca
Update main.css 2017-10-31 04:52:01 +01:00
kilo
48d624fb47
Update classic.css 2017-10-31 04:49:36 +01:00
kilo
38aebaf827
Update classic.css 2017-10-31 04:38:04 +01:00
kilo
1318b855ba
Update classic.css 2017-10-31 04:30:04 +01:00
kilo
783e4fdf64
Update classic.css 2017-10-31 04:23:50 +01:00
kilo
30c6993df2
Update classic.css 2017-10-31 04:21:44 +01:00
kilo
a4b9b34f9b
Update classic.css 2017-10-31 04:12:00 +01:00
kilo
de6751b1f5
Update classic.css 2017-10-31 04:11:06 +01:00
kilo
99ec8e303c
Update main.css 2017-10-31 04:10:56 +01:00
kilo
ee5a9488df
Update classic.css 2017-10-31 03:55:20 +01:00
kilo
ec7c086350
Update classic.css 2017-10-31 03:47:44 +01:00
kilo
60ac28a122
Update main.css 2017-10-31 03:44:15 +01:00
kilo
3cd90a7d08
Update classic.css 2017-10-31 03:41:43 +01:00
kilo
26023640ca
Update main.css 2017-10-31 03:38:29 +01:00
kilo
7a9e78b192
Update classic.css 2017-10-31 03:35:08 +01:00
kilo
570fcd763f
Update main.css 2017-10-31 03:32:57 +01:00
kilo
29226a9a27
Update main.css 2017-10-31 03:32:11 +01:00
kilo
404fb66978
Update main.css 2017-10-31 03:30:06 +01:00
kilo
0800924982
Update main.js 2017-10-31 02:36:24 +01:00
kilo
20e1777b95
Update main.css 2017-10-31 02:15:45 +01:00
kilo
57be73d2e6
Update main.css 2017-10-31 01:42:25 +01:00
kilo
6d96e5d201
Update main.css 2017-10-31 00:54:45 +01:00
kilo
59b76401bd
Update main.css 2017-10-31 00:51:42 +01:00
kilo
962b6701da
Update main.css 2017-10-29 19:33:46 +01:00
kilo
b1087ab768
Update tomorrow.css 2017-10-29 19:33:42 +01:00
kilo
56e912d229
Update tomorrow.css 2017-10-29 19:04:32 +01:00
kilo
d18ba29c53
Update main.css 2017-10-29 06:16:36 +01:00
kilo
0270ae9a92
Update classic.css 2017-10-29 06:14:39 +01:00
kilo
305233277d
Update main.css 2017-10-29 06:13:02 +01:00
kilo
76cfcd8ebb
Update main.css 2017-10-29 05:04:16 +01: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
b1ee08c7ee
Update main.js 2017-10-29 01:02:09 +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
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
kilo
40b90f1739 Update index_site.jet.html (#1681)
* Update index_site.jet.html

* Update classic.css
2017-10-18 19:38:21 +10:00
kilo
a4ea57e771 Update last-scraped date on view even if stats.go return unknown stats & other things (#1673)
* Update view.jet.html

* reduce the time limit of how fast stats.go is supposed to be called

* Update router.go

* add subcategory display in old navigation

* css to go along

* remove useless variable

* Update oldNav.jet.html

* fix travis

* fix missing css line that had user search input & link way wider than they should've been

* "See more torrents from" now make use of user torrent search route

* remove useless variable

* use stat obsolete variable in listing instead of checking the date
2017-10-16 17:03:18 +10:00