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
ewhal
0246feb8f8
Merge pull request #600 from tomleb/ansible
...
Add backup and elasticsearch to setup
2017-05-18 09:10:57 +10:00
tomleb
866eb647a0
Update README
2017-05-17 19:05:58 -04:00
tomleb
f398e936e4
Restore db and populate es from playbook
2017-05-17 19:05:58 -04:00
tomleb
d757a9006a
Fetch index name from environment
2017-05-17 19:05:58 -04:00
tomleb
ee0dc13faf
Add playbook to create the index
2017-05-17 19:05:58 -04:00
tomleb
94af9997e0
Fix typo in elasticsearch_settings.yml file
2017-05-17 19:05:58 -04:00
tomleb
4609176785
Create main directory and add elasticsearch configuration
2017-05-17 19:05:58 -04:00
tomleb
79e7d147af
Upgrade to postgresql 9.6
2017-05-17 19:05:58 -04:00
tomleb
a6d34ef582
Start add elasticsearch
2017-05-17 19:05:58 -04:00