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

3073 commits

Auteur SHA1 Message Date
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
Kilo
ca45e7a171 removal of value in <select>
value doesn't exist in <select></select>
the field was empty anyway
so i removed it
2017-05-28 04:24:51 +02:00
akuma06
7fae428bb2 Merge pull request #801 from NyaaPantsu/fix-style
Fixing for #791
2017-05-28 02:32:19 +02:00
akuma06
c533f5b398 Fixing for #791
Added a padding-right 20px in css
Added a js event listener on search box to dien it on focus and reduce
it on blur
2017-05-28 02:23:47 +02:00
akuma06
25c40d6d5c Merge pull request #798 from kipukun/frontend-bugs-2
Frontend bugs 2
2017-05-28 02:14:17 +02:00
akuma06
d586b490b4 Merge pull request #800 from NyaaPantsu/torrent-name-download
Torrent name when download
2017-05-28 02:11:25 +02:00
akuma06
0dc4bd3c9a Torrent name when download
New Download Torrent controller when dowloading a torrent
Route download need to be set the same as in TorrentStorageLink
2017-05-28 01:29:46 +02:00
kipukun
5c2dbe79cb Remove torrent button if no torrent file 2017-05-27 18:47:41 -04:00
kipukun
1a638c6293 Remove required from torrent name in upload 2017-05-27 18:45:28 -04:00
kipukun
b03ae53455 merge results? babby's first git experience 2017-05-27 18:21:21 -04:00
kipukun
7618041182 Move footer in front of mascot 2017-05-27 18:18:45 -04:00
kipukun
425bfb4ef7 Small fix to see more torrents button's right width 2017-05-27 18:18:45 -04:00
kipukun
7007755166 Make account settings not look like dogshit 2017-05-27 18:18:45 -04:00
kipukun
2f78f61ade Fix mascot using wrong mp3 source 2017-05-27 18:18:45 -04:00
kipukun
05701f1c38 Fix dates and user torrent table 2017-05-27 18:18:44 -04:00
kipukun
cdd6438e88 Fix pagination borders 2017-05-27 18:18:44 -04:00
akuma06
824cbcaa99 Just changed for displaying renchon 2017-05-27 18:18:43 -04:00
akuma06
77d4c3c8a8 Torrent Hidden Option (to test before merging)
* Added a check on username and userId when converting torrent to JSON
* Added a checkbox for hidden in modepanel, torrent user edit and upload
* Added a Hidden field bool in torrent model and upload form
2017-05-27 18:18:43 -04:00
Steindór
ab2d4efead Account theme switcher (Pls merge) (#750)
* added pagination

* cleanup

* indentation fix

* fix

* Loads theme from context

* Basic theme switching working

* working properly

* Fuck golint tbqh

* united language and theme into one settings page

* made the settings page a little nicer

* fixed it so it works properly now

* removed parts of inline js and fixed bug

* removed remains of other theme switching method

* fixed very minor bug

* fix
2017-05-27 18:18:43 -04:00
akuma06
39bb69549c Merge pull request #787 from cfrank/updateFAQ
Update zer0day tracker.
2017-05-28 00:18:38 +02:00