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

1588 commits

Auteur SHA1 Message Date
tomleb 7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
Hikaru Suido 9ca99aae8a Fix a tiny typo on documentation (#632)
* Fix typo

* Revise a sentence on documentation
2017-05-20 09:09:35 +10:00
Ramon Dantas 0f5a349c01 Add RSS feed to User Profile (issue #197) (#631)
Uses a similar syntax to the normal /feed URL, except it's added
to the /user/id/username URL.
2017-05-20 09:09:09 +10:00
moose65468 a2e4fab550 Add tooltips to category images (#627)
* Added tooltips to category images

* removed line 213
2017-05-20 09:08:54 +10:00
MMP0 5a8140404f Update view.html (#625) 2017-05-19 17:31:07 +10:00
kipukun 7f05f84649 Uncomment night switcher lmao (#626)
* Uncomment night switcher lmao

* why was it hidden on medium what
2017-05-19 17:30:59 +10:00
kipukun 13375411ad Make comments extra column + search bar doesn't freak out anymore (#621)
* Make comments extra column

* Fixed #595 w00t

* Cleanups and fixes (#623)

* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb

* Update ja-jp.all.json (#622)

* Update README.md

* Make comments extra column

* Fixed #595 w00t

* Comment out comments for now
2017-05-19 15:36:32 +10:00
ewhal afe52bdfbe Update README.md 2017-05-19 15:13:48 +10:00
MMP0 0f2cea6a77 Update ja-jp.all.json (#622) 2017-05-19 12:56:12 +10:00
tomleb babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
akuma06 a0d5570cdf Merge pull request #615 from Akatsuki-Ousawa/dev
Adding more options for upload disabling
2017-05-19 01:59:08 +02:00
akuma06 cabece9c81 Merge pull request #609 from kipukun/dev
Center pagination on top
2017-05-19 01:56:16 +02:00
goonyaa 5d22718abd Preload Last torrents instead of First on profile page to load them in DESC order. Should close #396 (#620) 2017-05-19 09:47:21 +10:00
Akatsuki-Ousawa e86627abed Update uploadHandler.go 2017-05-18 22:14:14 +02:00
Akatsuki-Ousawa bba5faa58a Update apiHandler.go 2017-05-18 22:13:00 +02:00
kipukun c62e5ef355 Merge branch 'dev' of https://github.com/kipukun/nyaa into dev 2017-05-18 15:50:19 -04:00
kipukun 2d5bf3c7b9 Center pagination on top 2017-05-18 15:50:10 -04:00
Akatsuki-Ousawa 0ee0ef6fd9 Update apiHandler.go 2017-05-18 15:37:44 +02:00
moose65468 cf8043f3de sukebei profile categories (#614) 2017-05-18 22:35:38 +10:00
Myrmece c963d3174b Updated translation. (#613) 2017-05-18 22:35:32 +10:00
yiiT b483472e79 Update FAQ.html (#611)
Someone overwrote these changes during a merge
2017-05-18 22:35:26 +10:00
MMP0 c83efcbdc0 Update Japanese translations (#608)
* Update ja-jp.all.json

* Update ja-jp.all.json

ログイン, 登録, ログアウト -> サインイン, サインアップ, サインアウト

* Update ja-jp.all.json

Revert

* Fix syntax error

* Fix
2017-05-18 22:35:17 +10:00
Akatsuki-Ousawa 045b0e3e70 Update upload.go 2017-05-18 14:30:36 +02:00
Akatsuki-Ousawa bc3de070af Update uploadHandler.go 2017-05-18 14:29:58 +02:00
Akatsuki-Ousawa 2f2d03667c Update apiHandler.go 2017-05-18 14:27:13 +02:00
kipukun f7c3c11ac8 Center pagination on top 2017-05-17 21:59:12 -04:00
akuma06 66b94eb360 Merge pull request #606 from MMP0/patch-20
Fix line breaks
2017-05-18 03:52:18 +02:00
akuma06 5d2839d555 Merge pull request #605 from kipukun/dev
UI things
2017-05-18 03:50:24 +02:00
MMP0 7401f24fb0 Update style.css 2017-05-18 10:47:05 +09:00
MMP0 ed640fc265 Fix line breaks 2017-05-18 10:44:01 +09:00
kipukun 1e863084d3 Removed IRC link from navbar 2017-05-17 21:39:03 -04:00
kipukun b1824092ff Moved mascot to the left, made her clickable with sound 2017-05-17 21:37:10 -04:00
akuma06 cfee23bf70 Merge pull request #604 from sisimouto/patch-1
trans: Update for th-th
2017-05-18 03:19:38 +02:00
sisimouto 3257e38b9d Update th-th.all.json 2017-05-18 10:16:05 +09:00
sisimouto 0a325a55ef Update th-th.all.json 2017-05-18 10:14:04 +09:00
akuma06 a511b901e9 Merge pull request #602 from MMP0/patch-19
Small changes and Fix errors
2017-05-18 03:12:27 +02:00
akuma06 22c87a6bbf fix handlers error 2017-05-18 03:09:23 +02:00
akuma06 2d87cc891a Update databaseDumpHandler.go 2017-05-18 03:04:18 +02:00
MMP0 81433403bc Fix error 2017-05-18 10:02:52 +09:00
akuma06 2c99f46453 Update databaseDumpHandler.go 2017-05-18 03:00:51 +02:00
MMP0 c4c53a6c61 Fix error 2017-05-18 09:55:23 +09:00
akuma06 e2047843f3 Merge branch 'dev' into patch-19 2017-05-18 02:53:36 +02:00
akuma06 f07ba6929c Merge pull request #603 from NyaaPantsu/fix-js-seed
Fix JS error + Seeding Mobile View
2017-05-18 02:52:08 +02:00
akuma06 54cd4f2217 Update main.js 2017-05-18 02:51:53 +02:00
akuma06 4a52a1f3e3 Fix JS error + Seeding Mobile View
https://my.mixtape.moe/cvmemz.png
2017-05-18 02:49:48 +02:00
MMP0 e45a4a1c75 Fix 2017-05-18 09:44:36 +09:00
MMP0 2e8b36957e Small changes 2017-05-18 09:43:17 +09:00
alucard0134 586c5c89b4 Update README.md 2017-05-17 19:13:47 -05:00
akuma06 09ec192d0f Merge pull request #601 from NyaaPantsu/fix-dates-short
No hour on short and Hour on comments
2017-05-18 01:27:28 +02:00
akuma06 64d073f03c No hour on short and Hour on comments
So reverted modif from date-short
Added new date-comments to have hours on them (when screen is big
enough)
Edited the view for displaying date comments, they were displayed on the
border (even with old date-short)
2017-05-18 01:21:57 +02:00