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

2229 commits

Auteur SHA1 Message Date
tomleb
f6f452114f Fix filters giving wrong results (#1042) 2017-06-21 11:59:00 +10:00
akuma06
eaf4e23266 Fix hidden on User Profile (#1039)
When a user had hidden torrents, they were still listed on his user page even if it's not the actual user who is viewing it.
That's why I added a new function for searching which filter out hidden torrents.
Now when a user go to his own page (or a moderator), he can see all his torrents.
However if another person visit the page, only non hidden torrents will be listed.
I added the hidden parameter in ES database, it permits also to use the search instead of SQL when listing torrents on the user page. Less load time, go with the idea that we should use ES everywhere when needed.
2017-06-21 11:58:54 +10:00
tomleb
ed14033748 Change default sort order to Date instead of ID (#1041) 2017-06-21 11:28:56 +10:00
kipukun ;_
121101fe1c Frontend small (#1040)
* Header isn't as WIDE on resolutions past 1920

* Turn down the fucking volume because it scares the shit out of me everytime

* Make clear the mascot is clickable

* Make torrent buttons not fuckhuge

* Just show N/A on no website

* search.html: Fix minor typo in refine box
2017-06-21 11:28:47 +10:00
PantsuDev
86d1f2fc9c Fix stupidly wide header 2017-06-21 09:53:39 +10:00
PantsuDev
13b37cefe0 Revert "make it wider (#1029)"
This reverts commit d6621d6643.
2017-06-21 09:47:55 +10:00
Myrmece
a8669c5294 Updated translation. (#1035) 2017-06-21 09:21:48 +10:00
akuma06
4624cb77ab Fix typo? 2017-06-21 00:27:51 +02:00
akuma06
d3ccdc4af1 Optional fix for wide screen (#1007)
* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Fix for widescreen

* Fix buttons in modpanel and some troncated text

* Update torrent.go

* Update admin_index.html

* Some last fix

Re added icon on download&magnet links
2017-06-20 23:15:26 +10:00
akuma06
2f81a44e99 Fixing Torznab bug
Now empty tags shouldn't appear
2017-06-20 14:27:36 +02:00
PantsuDev
757b276ffa Hopefully fix torznab api 2017-06-20 17:10:47 +10:00
MMP0
1a865c14ef Update Japanese translation (#1032)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-20 16:32:52 +10:00
Myrmece
83b67404b7 Updated translation. (#1031) 2017-06-20 16:32:46 +10:00
Andrew Zhao
8d4038e14e un-expandong the user panel (#1030)
makes it less shitty when the user isn't logged in
2017-06-20 16:32:38 +10:00
Andrew Zhao
d6621d6643 make it wider (#1029)
make it wider
2017-06-20 16:32:30 +10:00
kipukun
4d3340a32e Yay refine looks better (#1028)
* Yay refine looks better

* Added Translation
2017-06-20 12:07:03 +10:00
Mitki
e9edcc5c54 Updated PT-BR ~ (#1027) 2017-06-20 10:06:12 +10:00
akuma06
2e53fa2603 Added tests on some package + simplified a little modelHelper (#1026)
Test on:
* Categories
* Util
* modelHelper

Added hum_name on PasswordConfirm
Removed Zlib <= No code is using it anymore
modelHelper now show translated errors
New Translation strings
2017-06-20 10:06:07 +10:00
akuma06
9307087024 Refine form linked up & edited buildversion to commit hash (#1025)
Added the use of the new search form made by @kipukun
Buildversion are now commit hash. Please read the readme for new build
command (or just build using package.sh).
2017-06-20 10:06:01 +10:00
PantsuDev
0cfacdd48d Fix up rss handler spec violations 2017-06-19 09:55:09 +10:00
akuma06
f31d884f6a Fixed possible whitespace in hashes
Fixed possible whitespace in hashes when uploading by magnet url when
lagnet url have a hash with whitespace
2017-06-18 03:26:46 +02:00
akuma06
0bf5863c35 DeepEqual test instead of length test on right values 2017-06-18 03:07:04 +02:00
akuma06
61e9c9ea33 Added test file for search ParseCategories 2017-06-18 02:11:58 +02:00
akuma06
13a15b3b2c Removing reparsing of pagenum in ES 2017-06-18 01:39:11 +02:00
akuma06
fb64d13e29 Should fix no result found by ES 2017-06-18 01:23:12 +02:00
akuma06
b4add6054a Fix for cat=5070 2017-06-18 01:19:46 +02:00
tomleb
d1f9886559 Increase max_result_window and prevent swapping (#1018)
* Increase max_result_window to 5000000

This is until we switch to the scroll API. We can't access pages after
~2000 without increasing it.

* Increase jvm heap ram

* Prevent elasticsearch from being swapped
2017-06-18 08:30:24 +10:00
akuma06
ad3a44e2f8 Torznab fix (#1019)
* Torznab fix

Added multiple category search
Fixed issues in #1017
Now category from searchParam & torrentParam are arrays of category
New Struct Categories

* Fix travis error due to database code
2017-06-18 08:30:12 +10:00
PantsuDev
41ca528ae2 Add additional url for torznab feeds 2017-06-17 23:58:45 +10:00
akuma06
1f69e3c028 Merge pull request #1016 from kipukun/frontend-nav
Added refining search options on search, NOT WIRED UP
2017-06-17 04:27:07 +02:00
akuma06
5e65b20c89 Added two new functions for @kipukun
GetCategory categoryID  keepParent (eg: GetCategory "3" true <= for all
anime)
Modified
GetCategories to (keepParent, keepChild) (eg: GetCategories true true <=
for every catagories)
2017-06-17 04:24:30 +02:00
akuma06
c9c2b8bf46 Fix nul pointer dereference in TorrentJSON 2017-06-17 03:46:49 +02:00
kipukun
2c6eea88bc Added refining search options on search, NOT WIRED UP 2017-06-16 21:00:46 -04:00
kipukun
5bc922781c Frontend aesthetic (#1015)
* Make view page not shitty

* View page <td> now ellipses on overflow

* Make flags not look shitty

* Updated mufuyu sound

* Updated multiple flag

* Updated other flag (thanks anon)
2017-06-17 08:49:57 +10:00
akuma06
036cd9f5ce Update README.md 2017-06-16 19:47:51 +02:00
akuma06
0698dab5f2 Update README.md 2017-06-16 19:46:43 +02:00
akuma06
15f6fb478f Update README.md 2017-06-16 19:44:39 +02:00
MMP0
2e1c3cce85 Update Japanese translation (#1014) 2017-06-16 17:41:59 +02:00
akuma06
3deab792e4 Merge pull request #1013 from MMP0/patch-17
Fix chrome store link
2017-06-16 17:25:58 +02:00
MMP0
a07181243c Fix chrome store link 2017-06-17 00:24:36 +09:00
Myrmece
e8c0fcb597 Updated translation. (#1012) 2017-06-16 15:45:35 +10:00
ewhal
3687a96c1c Update README.md 2017-06-16 15:10:45 +10:00
MMP0
d98d2c7b37 Update ja-jp.all.json (#1010) 2017-06-16 12:58:03 +10:00
akuma06
8bddc86843 Fix torznab to /api also
Torznab can still be accessed to /feed/torznab and also to
/api?t=something
2017-06-16 01:30:09 +02:00
sfan5
abcdfd426b Move scrape results to separate table (#980) 2017-06-16 01:13:09 +02:00
sfan5
93bc6e9cdb Fix stats properly (ES-only) 2017-06-16 01:01:14 +02:00
kipukun
95173a0f33 Frontend v9000 (#1008)
* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Make colors more consistent; less would be super helpful tbqach fam

* Display the old username if it's there

* Fix some admin index html

* Add custom icons and remove png code from all CSS

* Move a good amount of cosmetic code from main to classic

* Fix some weird bug with point-events; add some global icon formatting; fix mascot fucking up

* Spruce up admin panel with icons on smaller viewports, along with adding trash icon

* 404 redesign ;^)

* Mufuyu mascot on all themes; says something slightly lewd

* Fix weird user menu bug where shit would overflow
2017-06-16 08:57:52 +10:00
pantsudev
2c62516cc6 Fix stats lol 2017-06-16 08:53:35 +10:00
akuma06
50959a24fc Merge pull request #1005 from Myrmece/patch-6
Updated translation.
2017-06-15 22:14:42 +02:00
akuma06
66efd6d5cd Merge pull request #1004 from NyaaPantsu/feed-eztv
Feed eztv + torznab
2017-06-15 22:14:36 +02:00