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

2284 commits

Auteur SHA1 Message Date
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
akuma06
cbcbeef256 Forgot subcat have attr not tags 2017-06-15 21:55:55 +02:00
akuma06
fb2c69a612 Torznab caps compatible 2017-06-15 21:54:06 +02:00
Myrmece
4200e23160 Updated translation. 2017-06-15 19:02:12 +02:00
akuma06
6681a6b985 fix on router 2017-06-15 15:45:00 +02:00
akuma06
c1270e549a EZTV and Torznab support
EZTV is fully supported afaik and can be accessed to /feed/eztv
Torznab is supported on display, miss t=caps route and can be accessed
to /feed/torznab
2017-06-15 15:43:18 +02:00
pantsudev
84aab574f1 Continue implementing torznab 2017-06-15 20:48:38 +10:00
pantsudev
acebb31d3d RSS feed should be compatible with sonarr now 2017-06-15 18:24:50 +10:00
MMP0
c299acc235 Update ja-jp.all.json (#1003) 2017-06-15 18:08:54 +10:00
akuma06
93364dac77 activity log for users (#1002)
List Torrent delete log
Torrent edit log
Comment delete log
And every other logged activities
Can be filtered out by a filter tag ("edit" or "delete" supported)
Pages navigation

Can be accessed by /activities

Added some translation string
Fixed hidden username on api request
Fixed comments username on modpanel
New Activity model
New Activity handler
New Activity Service
Fixed some updating issue for ES when moderating torrents

Be aware deleting torrents and comments return the model now!
2017-06-15 12:44:46 +10:00
akuma06
02c3474b3e Merge pull request #1001 from Myrmece/patch-5
Updated translation.
2017-06-14 18:51:57 +02:00
Myrmece
aefeb7e5f9 Updated translation. 2017-06-14 18:12:01 +02:00
akuma06
7e5e2b27c3 Merge pull request #1000 from niririke/patch-1
Small typo fix
2017-06-14 16:20:25 +02:00
Rin Ikeda
50b4b2387e Small typo fix 2017-06-14 14:27:05 +03:00
MMP0
1fb6bedeba Update Japanese translation (#999)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-14 21:09:50 +10:00
akuma06
0662b3fb41 Audio captcha (#995)
* Megacheck friendly

applied megacheck and fixed some unwanted behaviour (markdown)

* Forgot this file

* Captcha Audio

Should make #993 happen

* Fix style issue in  comments

* Added margin auto and width on input

* Moved width on captcha div instead

* fixing width issue with audio tag

* Captcha final style fix
2017-06-14 20:10:03 +10:00
akuma06
963879f7aa Updated FAQ links (#992)
Added Android App link (ios when someone builds it)
Replaced FF extension link to a selfhosted one (doko.moe link)
Added translation string
2017-06-14 18:41:50 +10:00
akuma06
de11af688e Added vendoring of gorilla feed dependency 2017-06-14 09:27:43 +02:00
akuma06
5aad3db5b9 Fixed RetrieveUserByAPITokenAndName comment 2017-06-14 09:21:31 +02:00
akuma06
63fbbaa491 gosimple friendly 2017-06-14 09:20:42 +02:00
akuma06
05e3391cf9 Should fix #991 2017-06-14 09:00:50 +02:00
pantsudev
948e7ce8c4 Add unique constraint to hash, email and username 2017-06-14 16:42:15 +10:00
pantsudev
aa08ec9f67 Tidy up and remove useless code 2017-06-14 16:36:38 +10:00
pantsudev
5186e65dfc Replace homehandler with search handler 2017-06-14 13:53:54 +10:00
sfan5
056d579f82 Fix wrong user edit links in modpanel 2017-06-13 20:15:50 +02:00
Ramon Dantas
dac4b5baf5 Add MinSize and MaxSize search parameters (#990)
Also removed some duplicate code from the search code, using the
methods in common/search.go.
2017-06-13 21:31:11 +10:00
Myrmece
138b731181 Updated translation. (#989) 2017-06-13 20:59:13 +10:00
MMP0
de3577a64f Update Japanese translation (#988)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-13 16:27:00 +10:00
akuma06
b0aa111511 API update completely functionnal for app usage (#987)
The api has been tested and works as intended.
Now users do not have to go on the website to get back their token, they
just have to register.
Torrents show the right stats and username on api request when search is
done
User model when converted to JSON gives us the apitoken and md5 hash of
email (for gravatar)
Verification on upload is done by token and username instead of token
only
Errors are now given in json format in the api
Global api response handler for less code redundancy and same response
pattern
Moved user auth check in cookie_helper to user.go
Fixed bug with CSRF prevention in /api
Added translation strings
2017-06-13 16:01:57 +10:00
Myrmece
7ee5e913b1 Updated translation. (#985) 2017-06-13 08:27:45 +10:00
sfan5
fe26d356ef Fix incorrect CDATAs in RSS feed (closes #405) 2017-06-12 19:18:07 +02:00
Ramon Dantas
ea71caab34 Remove "flag" translation (#983)
This was supposed to provide a way to override the flag that would
appear for the respective language, but it ended up unused.
2017-06-12 23:36:04 +10:00
MMP0
71ffd9e3a0 Update translation (#982)
* Update ja-jp.all.json

* Create en-us.all.json
2017-06-12 11:31:43 +10:00
Ramon Dantas
d8e17478f8 Country flags (language) for torrents. (#970)
* Add flags for torrents

Add a new field, .Language, to the Torrent model, and a new package,
torrentLanguages, which maps languages to flags. Added also a flag icon pack
from googlei18n/region-flags, with (mostly) public domain flags from Wikipedia.

* Optimize flags

* Use FlagSprites CSS instead of .png files

* Only use flags for languages we support

* Add test for CSS flags

Ensure that we have all the flags for the languages we support.

* Add AdditionalLanguages field to config

This allows us to support additional languages for new uploaded torrents,
even if we have no translation for it.

* Minor CSS fix

* Add "other" and "multiple" torrent languages

Also removed the TorrentLanguage struct, as it wasn't much useful.

* Fix test

* Add colspan=2 to category when language is empty

Also hide the language column if empty.

* Add lang field to search.

Hopefully it works with Elasticsearch as well, but I haven't tested
(lol Java)

* Add language field to ES index and settings

* Add language column to JS template

* Add keyword type to language ES field

* Remove 'raw' from keyword

* Set "simple" analyzer on language

* Document .Language field on Torrent model
2017-06-12 09:14:26 +10:00
Eduard Ereza Martínez
f150f783e5 Update Catalan translation (#981) 2017-06-12 09:13:30 +10:00
Mitki
291f5762b6 Updated pt-br ~ (#978)
* Updated pt-br ~

* Updated pt-br ~
2017-06-11 09:04:42 +10:00
akuma06
b68bd9ead4 Fix required torrent name on upload 2017-06-10 20:09:25 +02:00
akuma06
0d36f59ca9 Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-06-10 19:47:08 +02:00
akuma06
aa77b3bac1 Fix the fact that we didn't have uploader name on api search 2017-06-10 19:46:04 +02:00
Myrmece
fadc38175b Updated translation. (#975) 2017-06-10 21:09:14 +10:00
MMP0
a6529de6ee Update Japanese translation (#974)
* Update ja-jp.all.json

* Create ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-10 13:50:58 +10:00
akuma06
ee0e611d11 Replaced hardcoded message errors in email validation
Added some translation string
Improved the way the emails and usernames are checked (less conditions)
Minor fix on clear error functions
2017-06-10 00:58:34 +02:00
sfan5
1675b12cad Fix incorrect feed URLs (closes #971) 2017-06-08 20:08:30 +02:00
PantsuDev
66a13d0599
Fix open files error 2017-06-08 09:17:18 +10:00
PantsuDev
a5274cc926
Start anidb integration 2017-06-08 09:17:11 +10:00
akuma06
c9c1c70296 Fix email couldfare protection 2017-06-07 22:26:38 +02:00