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

2092 commits

Auteur SHA1 Message Date
akuma06
33707e965c Merge branch 'dev' into dev 2017-05-29 14:57:55 +02:00
akuma06
a167ab1cc6 Merge pull request #832 from Myrmece/patch-2
Updated translation.
2017-05-29 14:56:08 +02:00
Myrmece
507bcb1cfa Updated translation. 2017-05-29 14:32:21 +02:00
Duckbitts
89a19d909f Update main.css 2017-05-29 15:11:00 +03:00
Duckbitts
81a16b1a39 Update index.html 2017-05-29 15:10:20 +03:00
akuma06
6bf2e38204 Forgot torrent report list
More fix for #830
2017-05-29 13:52:01 +02:00
akuma06
cef60c476a fix for torrent report
should fix #830
2017-05-29 13:49:03 +02:00
Eliot Whalan
5983d442fa
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-29 21:25:52 +10:00
Eliot Whalan
8cf57ad791
set max comment size 2017-05-29 21:25:36 +10:00
akuma06
6c55c02675 Merge pull request #829 from NyaaPantsu/fix-hidden-option
Anon users should not be able to see it
2017-05-29 13:24:37 +02:00
akuma06
ae38aee9f5 Merge pull request #828 from MMP0/patch-11
Update translations in public settings
2017-05-29 13:24:24 +02:00
akuma06
41f7f678cc Anon users should not be able to see it
Instead of checking that user exist, checking that user id > 0
2017-05-29 13:23:47 +02:00
MMP0
21c5acd43d Update ja-jp.all.json 2017-05-29 20:21:12 +09:00
MMP0
f01bb77926 Update ja-jp.all.json 2017-05-29 20:19:51 +09:00
akuma06
30e96931d1 Just added also the mark_as_hidden option
Took the opportunity that you were editing them to add it ;)
2017-05-29 13:18:17 +02:00
MMP0
c6b2f65270 Update ja-jp.all.json 2017-05-29 20:16:37 +09:00
akuma06
79a6ee3747 Merge pull request #827 from NyaaPantsu/k
Keeping Mascot hidden
2017-05-29 13:15:57 +02:00
MMP0
85c8d72369 Update en-us.all.json 2017-05-29 20:15:57 +09:00
MMP0
da896a65a7 Update public_settings.html 2017-05-29 20:13:27 +09:00
akuma06
14a7303f25 Merge pull request #826 from NyaaPantsu/fix-filelist-style
Fix filelist style
2017-05-29 13:12:54 +02:00
akuma06
dd03550c66 Keeping Mascot hidden
Should fix #808
* Mascot hide is kept while navigating with a localstorage value
2017-05-29 13:12:05 +02:00
akuma06
98c60f39a2 Fix for long comments (#825)
Just added word-break, padding-right and a justified text for comments.
2017-05-29 20:50:16 +10:00
akuma06
f5f240f2d6 A litle fix when there is no file found in torrents 2017-05-29 12:49:26 +02:00
akuma06
4d7453dfb9 Fix for long comments
Just added word-break, padding-right and a justified text for comments.
2017-05-29 12:39:07 +02:00
John Smith
d2edca62de
network/graceful.go made redundant
The call to http.Server.Shutdown in main.go that happens on os.Interrupt
closes listeners. Remove racey code and format network/network.go.

Running Listener.Accept in a loop is not necessary as the stdlib expects
SA_RESTART to be set for signal handlers.
2017-05-29 19:19:36 +10:00
Eliot Whalan
7cb69b5234
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-29 16:29:53 +10:00
John Smith
0bdd915f9a
Let net/http gracefully close
http.Server.Shutdown gracefully closes listeners/clients, we do not have to
do it ourselves. Making util/signals accept func() instead of io.Closer
allowed for the removal of network/closer.go and util/signals/closers.go.
2017-05-29 16:29:34 +10:00
John Smith
0159579611
Copy Programmatically 2017-05-29 16:29:22 +10:00
kipukun
70bf313353 sukebei but it isn't tested WOO (#807)
* sukebei but it isn't tested WOO

* actually make it work lmao
2017-05-29 16:23:46 +10:00
akuma06
bdae58cc6a Merge pull request #823 from NyaaPantsu/email-regex-improvement
Should work now for emails
2017-05-29 01:54:26 +02:00
Eliot Whalan
5bcda5c9a1
Revert "Add playbook to download /build latest nyaa, fix k-on elasticsearch issue (#821)"
This reverts commit da1e323825.
2017-05-29 08:24:04 +10:00
akuma06
fb6ad2d860 Should work now for emails
It should valid every RFC valid emails.
A regex from a comment somewhere on a website, don't remember where but
I kept it (no licence on it, shared freely)
2017-05-29 00:22:42 +02:00
tomleb
da1e323825 Add playbook to download /build latest nyaa, fix k-on elasticsearch issue (#821)
* Install nyaa from latest github commit

* Add install playbook, fix k-on search
2017-05-29 07:54:24 +10:00
kilo
b5b08d097b Removal of \</img\> (#816)
Removal of \</img\> because it does not exist
Addition of / at the end of <img> because of consistency
2017-05-29 07:53:16 +10:00
kilo
ad8150ccbc HTML up to specs 2 (#805)
</img> doesn't exist so i removed it yet again
added a / at the end of <img> because <br /> has it and consistency seems important
2017-05-29 07:51:22 +10:00
Atvaark
b31e77be2e Fix infohash decoding (#813)
Calculate the info hash of the uploaded torrent file
instead of the re-encoded torrent file.

The re-encoded torrent files only contain a subset
of the original info values and thus have a different hash.
2017-05-29 07:47:47 +10:00
akuma06
49e4b800b0 Merge pull request #814 from Kiloutre/patch-7
Add max image width & height in torrent description
2017-05-28 22:55:46 +02:00
akuma06
01f4f15d6e Merge pull request #806 from Kiloutre/patch-4
removal of value in <select>
2017-05-28 22:25:41 +02:00
akuma06
9e2af01b29 Merge pull request #810 from Myrmece/patch-1
Updated fr-fr.all.json
2017-05-28 22:25:02 +02:00
akuma06
7bc9e3371d Merge pull request #815 from sisimouto/patch-6
trans: Update for th-th
2017-05-28 22:16:43 +02:00
Manaaja
dc5850a7c2 Fixing the mascot
Added a class for the "Mascot" button. Added some pointer-events to make the "Mascot" button clickable when the window is narrow enough to make the mascot image overlap the button.
2017-05-28 22:14:38 +03:00
sisimouto
51c0728356 Update th-th.all.json 2017-05-28 23:58:38 +09:00
sisimouto
30e8bceeeb Update th-th.all.json 2017-05-28 23:56:19 +09:00
kilo
addf8ff847 Add max image width & height in torrent description
Big images were broking it and going outside of it!
2017-05-28 15:51:20 +02:00
Myrmece
25982e1f9c Update fr-fr.all.json 2017-05-28 14:01:02 +02:00
Eliot Whalan
cdd382cd34
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-28 19:57:38 +10:00
John Smith
8a5c4543f8
Less code. 2017-05-28 19:57:12 +10:00
John Smith
92c92e09c1
Prevent race condition.
It is possible for an os.Interrupt signal to be raised after
signals.RegisterCloser() and before startup of goroutine signals.Handle().

Race is prevented by synchronously calling signal.Notify().
2017-05-28 19:57:07 +10:00
Kilo
d951fb9353 HTML up to specs (#804)
</img> doesn't exist so i removed it
also i added a / at the end of <img> because <br /> has it
2017-05-28 15:50:58 +10:00
hamper
1a608faa44 Add website link and remake flag to api (#797) 2017-05-28 14:22:39 +10:00