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

2165 commits

Auteur SHA1 Message Date
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
akuma06 f0080b933e Merge pull request #967 from Myrmece/patch-1
Updated translation.
2017-06-07 22:19:56 +02:00
akuma06 b8ca78b0e5 Merge pull request #968 from MMP0/patch-9
Update Japanese translations
2017-06-07 22:19:46 +02:00
MMP0 09f7b2d7db Update ja-jp.all.json 2017-06-08 02:58:51 +09:00
Myrmece fe9135a178 Updated translation. 2017-06-07 19:11:31 +02:00
sfan5 a034a9e1e9 typo 2017-06-07 16:14:50 +02:00
sfan5 aa2c63af19 Update german translation 2017-06-07 16:14:17 +02:00
akuma06 87fe2cef4d Fixed typo
Missed one t in qBittorrent
Added qBittorrent logo
2017-06-07 15:22:28 +02:00
akuma06 b1649724d8 Added Links to FAQ (#962)
Chrome and Firefox Extensions have been added to the FAQ
qBitorrent plugin also added
Same with nyanner local client
Added id tags on all h2 for better redirection when linking to the faq.
New translation strings for extensions and plugins
2017-06-07 23:00:35 +10:00
Ramon Dantas 5044155472 Fix mascot sound behavior (#961)
oops
2017-06-07 22:41:39 +10:00
sisimouto 181a0cc2be Update th-th.all.json (#959) 2017-06-07 21:47:49 +10:00
MMP0 1e40f8e820 Update ja-jp.all.json (#958) 2017-06-07 13:32:24 +10:00
PantsuDev 994ea62eab
fix typos 2017-06-07 11:14:57 +10:00
akuma06 752544a52c New User status (#957)
Status for scrapped user
They can't log in and an explicit error message is shown when they try
explaining that they need to contact the moderators
They are displayed as simple members on the front-end however
2017-06-07 10:59:46 +10:00
akuma06 fdce17d52c Unread notifications should stand out (#955)
When a notification has not been read, it should stand out. Actually
using the orange background
2017-06-07 08:41:23 +10:00
Atvaark 5e6836ff9c Update .gitattibutes (#956)
Prevent CRLF line endings in shell scripts when checking out on windows.
2017-06-07 08:41:16 +10:00
akuma06 1f36b3e896 Set the path to "/" 2017-06-06 23:29:00 +02:00
akuma06 390c5f7620 Merge pull request #954 from NyaaPantsu/html-tag-fixes
Html tag fixes
2017-06-06 23:24:56 +02:00
akuma06 adccab4c18 Merge pull request #953 from NyaaPantsu/add-aria-label-page
Add aria label page
2017-06-06 23:24:31 +02:00
akuma06 dfe9bf5308 Merge pull request #952 from NyaaPantsu/fix-mascot-404
Fix mascot 404
2017-06-06 23:24:08 +02:00