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

583 Révisions

Auteur SHA1 Message Date
Myrmece 357012932b Updated translation. (#1710) 2017-11-04 07:13:08 +01:00
kilo 594b0885b7
Remove unused translation string (#1708)
* Update CHANGELOG.md

* remove unused "old" translation string
2017-11-04 06:50:31 +01:00
kilo 8ec3c2a743
Add possibility of reporting without JS, add report reason for NSFW content, Add possibility of getting a torrent by Hash in refine (#1709)
* Add possibility of reporting without JS

* Add report message input and new report reason to /report/:id page

* add new report reason here too

* Update en-us.all.json

* Update CHANGELOG.md

* only show if not sukebei

* ditto

* fix label for value

* ditto

* fix overly big report message column

* Update main.css

* Update search.jet.html

* Add possibility of getting a torrent by Hash in refine

* Update search.go

* Update search.go

* fix template_test

* ditto

* fix Sprintf wrongly using a Token

* rollback that

* Update callback.go

* remove line that creates error

* fix travis
2017-11-04 06:42:36 +01:00
Juan José Salvador Piedra 27f378d4a1 Spanish translation (100% finished) (#1707)
* Spanish translation WIP

49% done

* Spanish translation (finished)

99% translated, see #1704 for details

* Spanish translation (finished)

See #1704 for more details

* Minor fixes

style corrections

* JSON Validation

JSON is valid!

* Fixed translation strings

* Removed unused strings and fix strings
2017-11-04 03:41:12 +01:00
Myrmece 1809f7437c Updated translation. (#1703) 2017-11-02 15:30:32 +01:00
kilo c4d6872836 Re-add translation string that got wrongly removed (#1702) 2017-11-02 11:18:05 +01:00
kilo af63263c53
Update en-us.all.json 2017-11-02 04:25:21 +01:00
kilo e90b28c2f9
Update CHANGELOG.md 2017-11-02 04:24:47 +01:00
kilo 5e21cffc78
Update CHANGELOG.md 2017-11-02 04:05:33 +01:00
kilo 5451e0870f
Update en-us.all.json 2017-11-02 04:03:33 +01:00
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