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

1969 commits

Auteur SHA1 Message Date
akuma06
ae1628e921 Some js fixes and improvements
Better handling of Torrents.StopRefresh()
Keep the order of torrents
Encode html entities from torrent name (prevent execution of unwanted
html tags)
2017-05-30 15:19:45 +02:00
akuma06
b5476c7d66 Merge remote-tracking branch 'refs/remotes/origin/dev' into xhr-torrent-refresh 2017-05-30 14:19:13 +02:00
akuma06
e3c8e6a3b1 Merge pull request #845 from steindornatorinn/cookie-fix2
This should fix the cookie domain issues
2017-05-30 14:16:51 +02:00
akuma06
b0cf17c77c Renamed the search argument FromID instead of TorrentID 2017-05-30 14:12:42 +02:00
akuma06
5f89baaddb Merge pull request #844 from tomleb/remake_filter
Use old nyaa behavior for FilterRemakes
2017-05-30 14:01:52 +02:00
Steindór
bf500d9c16 Update cookie_helper.go 2017-05-30 00:50:23 +00:00
Steindór
037506e464 Merge branch 'dev' into cookie-fix2 2017-05-30 00:46:59 +00:00
bragason
2e2e5608d4 This should fix the cookie domain issues 2017-05-30 00:42:36 +00:00
tomleb
6b90f21207 Use old nyaa behavior for FilterRemakes 2017-05-29 20:15:49 -04:00
Mitki
765077864a Update pt-br.all.json (#841)
* Update pt-br.all.json

* Update pt-br.all.json
2017-05-30 09:17:26 +10:00
akuma06
479de0eaf6 Merge pull request #840 from NyaaPantsu/csrf-secure
Csrf secure Exclusion
2017-05-30 01:17:08 +02:00
kipukun
6b5db0f14d Added mod delete and edit buttons to view (#838) 2017-05-30 09:15:50 +10:00
akuma06
29056496d0 Removed console.log + added auto-update 2017-05-30 00:30:36 +02:00
akuma06
402fce9f02 Api Last Torrent + xhr automatic refresh
* Added a fiel torrentID in search param
* Search can be limited to torrentID > id provided
* Templates creation through simple JS object
* XHR management through simple JS object
* Torrents object that interface with Templates and Query to get new
torrent uploaded according to the search context
2017-05-30 00:28:21 +02:00
akuma06
55867720cb Forgot that they also login through the login form
So no CSRF protection for login :/
2017-05-30 00:22:23 +02:00
akuma06
db58c2bf02 Merge branch 'csrf-secure' of https://github.com/NyaaPantsu/nyaa into csrf-secure 2017-05-30 00:18:47 +02:00
akuma06
ad7439283c CSRF Exclusion
As per suggestion of @yiiTT, CSRF is limited on users login,
registration, profile edit, comments post, torrent edit.
Uploads are not yet CSRF protected because api upload can't be used for
that
2017-05-30 00:18:43 +02:00
akuma06
517b59b02f Merge pull request #837 from NyaaPantsu/csrf-secure
CSRF Support + better key for context
2017-05-29 22:15:07 +02:00
akuma06
d5ad9618ac Update view_torrent_handler.go 2017-05-29 17:44:11 +02:00
akuma06
bd59f3afd1 Forgot to move Token config
Tokens config are now in config/tokens.go
2017-05-29 17:39:13 +02:00
akuma06
d286832090 Merge pull request #834 from Kiloutre/patch-2
Apply max-width/height to all description images
2017-05-29 17:28:12 +02:00
akuma06
3ec367a759 CSRF Support + better key for context
* Added new dep: gorilla/csrf
* CSRF field in forms
* CSRF variable in commontemplatevariables
* New key for messages and user context

Please change EnableSecureCSRF to false when testing locally and don't
merge config/env.go with the changes
2017-05-29 17:07:18 +02:00
kilo
9392c99f0f Apply max-width/height to all description images
Max-width & max-height only applied to images inside another element in the torrent description. It's fine because description images seem to always be in a \<p\>\<p/\>, but what if they weren't?
The max-width & max-height now apply to all images in the torrent description (.torrent-info-box img) instead of one in another element (.torrent-info-box > * > img), that way no image may ever go outside the bounds! Not on it's own at least.
2017-05-29 16:00:01 +02:00
John Smith
61141a1fcf
Exhaustive whitespace trimming 2017-05-29 23:43:27 +10:00
akuma06
c570557477 Added Theme field in user settings 2017-05-29 15:15:04 +02:00
akuma06
a7d621f048 Merge pull request #820 from Duckbitts/dev
Fixing the mascot
2017-05-29 15:00:28 +02:00
akuma06
080720391f Fixing notification variable 2017-05-29 15:00:08 +02:00
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