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

573 commits

Auteur SHA1 Message Date
MMP0 46f29f93de Update Japanese translation (#1379)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-08-19 23:46:39 +10:00
Myrmece 21058924a3 Updated translation. (#1372) 2017-08-15 16:44:04 +10:00
kilo 199d2b3b85 Add "sort by" inputs in refine on low res (#1369)
* Add HTML for sorting by name etc

* Add CSS to hide inputs for sorting in refine

* Set value of SortOrder on true if on true (wew)

* Add SortOrder & SortType variables

* change translation strings

* add translation strings

* forgot a missing { and change ascending value
2017-08-14 15:56:45 +10:00
Lamppostmanufacturer e0068456e7 Add Indonesian translation, credits go to @39-chan (#1350)
Thanks @39-chan for helping us out
2017-08-06 00:04:16 -05:00
Lamppostmanufacturer 846e9d2b8a Translation Overhaul #2 (#1345)
* Update it-it.all.json

* Update nl-nl.all.json

* Update pt-br.all.json

* Update pt-pt.all.json

* Update ro-ro.all.json

* Update th-th.all.json
2017-08-04 16:05:59 +02:00
MMP0 00e092372f Update ja-jp.all.json (#1348) 2017-08-04 15:40:30 +02:00
Myrmece e1cf80169c Updated translation. (#1347) 2017-08-04 15:18:51 +02:00
MMP0 81a8f1c65c Update en-us.all.json (#1343) 2017-08-04 14:50:30 +02:00
Lamppostmanufacturer 0d617287ce Update zh-tw.all.json 2017-08-03 14:51:05 +02:00
Lamppostmanufacturer 83644f92ff Update zh-cn.all.json 2017-08-03 14:50:50 +02:00
Lamppostmanufacturer c448314a84 Update sv-se.all.json 2017-08-03 14:50:34 +02:00
Lamppostmanufacturer 90a709e0cf Update ru-ru.all.json 2017-08-03 14:49:54 +02:00
Lamppostmanufacturer 60e0854192 Update nb-no.all.json 2017-08-03 14:49:28 +02:00
Lamppostmanufacturer 1e0aa8fc87 Update ko-kr.all.json 2017-08-03 14:48:46 +02:00
Lamppostmanufacturer 4a6e7f8cb4 Update is-is.all.json 2017-08-03 14:48:15 +02:00
Lamppostmanufacturer 14ac2de5b5 Update hu-hu.all.json 2017-08-03 14:47:45 +02:00
Lamppostmanufacturer 7542dda4dd Update es-es.all.json 2017-08-03 14:46:49 +02:00
Lamppostmanufacturer 6202228403 Update de-de.all.json 2017-08-03 14:39:50 +02:00
ewhal 1fa234e164 Merge pull request #1330 from MMP0/patch-15
Update Japanese translation
2017-08-03 22:21:18 +10:00
MMP0 5e2103c15c Update ja-jp.all.json 2017-08-03 21:07:11 +09:00
Myrmece 57708f7185 Updated translation. 2017-08-03 13:49:18 +02:00
ewhal 445374242f Merge pull request #1327 from NyaaPantsu/pr/1242
Announcement [done]
2017-08-03 21:23:05 +10:00
akuma06 1dbfe1b3b4 Added moderation part + tests 2017-08-03 03:38:07 +02:00
Eduard Ereza Martínez 4550329234 Update Catalan translation (#1326) 2017-08-03 11:15:30 +10:00
akuma06 818a100bfc Merge branch 'dev' into patch-7 2017-08-02 22:15:06 +02:00
Myrmece 518f59d089 Updated translation. (#1322) 2017-08-02 19:35:16 +02:00
MMP0 5632f8eab4 Update Japanese translation (#1318)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-08-02 19:34:32 +02:00
akuma06 78f8b90129 Added comments on mod route +delete all tags link (#1316) 2017-08-02 15:06:34 +02:00
Lamppostmanufacturer 3af141f852 Update de-de.all.json (#1310)
* Update de-de.all.json

* Update en-us.all.json
2017-08-02 22:01:24 +10:00
akuma06 a38f79eaf5 Merge branch 'dev' into tags 2017-07-31 17:15:32 +02:00
MMP0 d77b69e613 Update Japanese translation (#1300)
* Update ja-jp.all.json

* Fix syntax error(?)

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-07-30 12:52:26 +10:00
Myrmece 526e148dd0 Updated translation. (#1297) 2017-07-30 12:51:49 +10:00
akuma06 fe2c128e44 Added form to add tags on view 2017-07-30 03:29:09 +02:00
akuma06 51d7fe2ef7 Added html views + fix template test + View & JSON Controller 2017-07-29 14:43:12 +02:00
MMP0 34d4400c09 Update ja-jp.all.json (#1291) 2017-07-28 13:47:08 +10:00
Myrmece 5823f3d44b Updated translation. (#1288) 2017-07-28 13:46:54 +10:00
akuma06 03ea72595d OAuth API [done] (#1275)
* Initial Commit for OAuth API

This builds and run and return the right error.
Need to test it and then adding all users as possible client

* Added mising dependency

* just compile already...

* Fixing template test

* Imrpovements

Moved db stuff in models
Added some tests
Added form in modpanel to add/update a client
Added controllers for add/update of client

* Added Forms + speed improvements

Controller oauth client listing + html
Controller oauth client delete + messages
Messages on comment delete
New ES config that disable ES if set to false. Improve load speed on local development
Fix a load config bug
Fix index admin & translation string sign_out broken by @ewhal

* Sanitize empty strig in form array + css

Multiple empty array of strings are sanitized for the oauth client create form
Added some css for the form display

* Upload and Create form works

* Fix splitting response types

* Removing required on secret when updating

* fix travis error

* Fix travis template test

* Update dependency

* Moved to jinzhu instead of azhao

* randomizen secret on creation

* Final touch on oath api

improved display name
fix grant form csrf
fix login csrf on oauth

* Fix gorm test

* fix template test

* Fixing deleted dependency issue

* Make travis faster

* Fix typo

* Fix csrf for api calls

* This shouldn't be exempt

* Removing hard coded hash

@ewhal Don't forget to replace the hash in tokens.go with another one

* Added an example on how to use OAuth middleware

* Renamed fosite utils to oauth2 utils
2017-07-28 13:46:40 +10:00
kilo d5888079f8 Date difference when hovering a torrent date (#1287)
* Update en-us.all.json

* Update main.js

* Update base.jet.html

* Update main.js

* Update main.js
2017-07-26 18:59:48 +10:00
PantsuDev 18813627be Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-07-24 10:32:50 +10:00
ewhal cfa343f69d Merge pull request #1272 from Myrmece/patch-4
Updated translation.
2017-07-23 20:51:40 +10:00
Myrmece 11fe71cd18 Updated translation. 2017-07-23 11:01:08 +02:00
MMP0 6621c0a7fd Update ja-jp.all.json 2017-07-23 16:57:56 +09:00
PantsuDev d9142a73c3 Fix most go lint warnings 2017-07-23 15:50:18 +10:00
MMP0 50b6b065c1 Update Japanese translation (#1265)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-07-22 21:49:29 +02:00
kilo b06db8de90 Update en-us.all.json 2017-07-22 18:10:55 +02:00
kilo 3807c6937d No results template & image (#1263)
* Create no_results.jet.html

* no_results

* Delete Non Non Biyori Repeat - 10 [BDRip 1920x1080 x264 FLAC].mkv_snapshot_12.37_[2017.07.22_14.16.50].jpg

* Add files via upload

* Delete no_results.png.jpg

* Add files via upload

* Update en-us.all.json

* Update no_results.jet.html

* Update search.go
2017-07-22 16:05:11 +02:00
akuma06 806888cb1e Update nl-nl.all.json (#1250) 2017-07-20 20:56:39 +02:00
Myrmece c437cab287 Updated translation. (#1238) 2017-07-19 17:54:07 +10:00
kilo e92527748c add two keywords & a sukebei rule (#1231)
* add two keywords

* move keywords_flags vartiable outside of function

no point in creating it every single time

* Update en-us.all.json

* add sukebei rule

* Update main.css

* Update upload.jet.html

* Update upload.jet.html

* Update main.css

* Update main.css

* Update en-us.all.json

* whoopsies

* add keywords for categories

* fix display on firefox & older browsers
2017-07-18 20:51:38 +02:00
Myrmece 43874b462c Updated translation. (#1233) 2017-07-18 20:50:15 +02:00
ewhal cc15ff8288 Merge pull request #1223 from Kiloutre/patch-11
Preliminary addition of rule list in upload
2017-07-19 00:15:02 +10:00
kilo 20bb4104ba missing } 2017-07-18 15:39:06 +02:00
kilo ae215964d9 Update en-us.all.json 2017-07-18 15:32:28 +02:00
kilo 460c285da1 Update en-us.all.json 2017-07-18 15:31:22 +02:00
Myrmece 7c75a85b39 Updated translation. (#1228) 2017-07-18 02:03:48 +02:00
ewhal c1acbdb2ff Merge branch 'refactor' into patch-5 2017-07-16 20:21:00 +10:00
kilo 9c1ab7cb9e fix typo in FAQ 2017-07-16 11:31:10 +02:00
kilo 42657584ff Translation that was missing for torrent_colors 2017-07-16 10:47:38 +02:00
PantsuDev 7ba2887021 Update faq and add link to apidocs 2017-07-16 13:55:18 +10:00
kilo 0ddfddb68a Update en-us.all.json 2017-07-14 22:12:00 +10:00
akuma06 dc6fda3333 Merge pull request #1167 from Kiloutre/patch-8
Better looking refine & fix JS generating torrents with unclickeable categories
2017-07-13 14:57:11 +02:00
akuma06 5da9fe607c Merge branch 'dev' into refactor 2017-07-13 14:23:28 +02:00
kilo 093495ffeb Update en-us.all.json 2017-07-13 12:58:26 +02:00
kilo 8ac976fdfd Update en-us.all.json 2017-07-13 00:40:05 +10:00
kilo 2943fdf6e1 Add small "language is not mandatory" message (#1129)
* add class in css

* html change

* Update en-us.all.json

* Update fr-fr.all.json
2017-07-09 12:19:59 +10:00
akuma06 c3b3542bad Changed Mark as Hidden
Strings need to be retranslated
2017-07-04 02:57:47 +02:00
akuma06 e2f3507069 Some html fixes 2017-07-04 01:15:43 +02:00
akuma06 47e1fd2169 Removed errors, changing old functions to new ones 2017-07-02 23:53:23 +02:00
akuma06 205daea027 Finally services are nearly empty 👍
Moved api services. All validations are now in validator util and all upload functions are in upload util
2017-07-01 23:09:35 +02:00
akuma06 946f02d0fc Use of validator pkg now
Use of validator pkg replacing modelHelper.

ValidateForm adds translated errors in messages context. To know if we have errors, we have to call messages.HasErrors() after the validation check.

New translation strings for some field check. I didn't add every tag as an error since it seems we won't use them (isbn, ...). This would overload the translation files that are already big.
2017-07-01 01:25:11 +02:00
akuma06 2646bc2db8 This is a prelimenary work
Showing how we can remove services, preventing cyclic imports and lessing the number of imports.
Now db is in models. Db and models are highly tightened, according to go standards, you should put them in the same package.
In models, there are folders separating the different methods used to modify the models. For example, if you want to create a user, you have to use /models (for the user struct) and /models/user (for creating a user.
However, if you want to delete a torrent, you just have to import /models and do torrent.Delete(definitely bool).

By the way packages in models are the plural name of a model. For example, you have torrent.go for a torrent model and its package torrents for db stuff related functions (Find, Create, Some helpers)
2017-06-29 00:44:07 +02:00
Myrmece 39e4b6df36 Updated translation. (#1082) 2017-06-28 21:44:37 +10:00
akuma06 5991a21818 First batch of changes for the refactor (#1078)
* First batch of changes for the refactor

Added the support of gin in routes and other services/utils
Begining implementation of JetHTML

* Remove os folder

* Move scrapers to own repo

* Second batch of changes

All .jet.html are the working templates.
You can now test this PR, the index Page and upload works. If you want to complete the other html templates, you're welcome

* Move captcha to util

* Move uploadService to utils

* Use govalidator instead of regex

* Third batch of changes

All the front end should as previously.
I also fixed some minor things unrelated to the refactor (mostly style issues on static pages)
Now errors can be accessed by importing the "errors" helpers and using the `yield errors(name="xxx")` command in templates.
Same for infos.
Templates are now more hierarchized with a base template "base.jet.html" which is extended depending on the context in "index_site" or "index_admin" layouts. Those layouts are extended than in every pages.
Other helpers are captcha to render a captcha `yield captcha(captchaid="xxx")`
And also csrf, with the command `yield csrf_field()`
To translate, you don't have anymore to do `call $.T "xxx"`, you just have to do `T("xxx")`.

Pages for the website part are in folders in the folder "templates/site". Pages for the admin part are in "templates/admin". Layouts are separated in "templates/layouts". Helpers and menu are in "templates/layouts/helpers" and "templates/layouts/menu". Error pages should be put in "templates/errors"

* Added test on templates

When adding a new template, you have to tell to template_test.go, the context of the new template (if it doesn't use the common context)

* Panel admin works

Now the templating part should work. The PR can now be fully tested.

I think we should push the templating PR  and do the routes/controllers/removal of services in another branch. So we know that this one is functional

* Updated dependencies

* Fixed test for modelhelper

* Fix testing for commentlist

* Fix travis :')

* Just renamed router and removed network

* Applying same SEO fix

* Update form_validator.go

* Added back regexp package
2017-06-28 21:42:38 +10:00
Nutjob 7e38aab841 Update Italian Translation(WIP) (#1064)
* Update Italian Translation (WIP)

Still not complete.

* Update it-it.all.json

* Update it-it.all.json
2017-06-26 10:09:55 +10:00
MMP0 006dc1c034 Update Japanese translation (#1070)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-25 21:20:02 +10:00
akuma06 ddafb142b6 Update nl-nl.all.json 2017-06-25 01:48:21 +02:00
akuma06 5dd580e746 Update nl-nl.all.json 2017-06-25 01:43:57 +02:00
Anonymous-senpai 60b2765c61 Update nl-nl.all.json 2017-06-25 01:19:30 +02:00
MMP0 e1edc62643 Update ja-jp.all.json (#1055) 2017-06-23 16:02:29 +10:00
MMP0 5e6cdc1e05 Update ja-jp.all.json 2017-06-21 20:16:52 +09:00
Myrmece 5f99762dbc Updated translation. (#1048) 2017-06-21 20:51:51 +10:00
akuma06 ce13ce1bfb Precised that email are optional 2017-06-21 11:50:55 +02:00
Myrmece a8669c5294 Updated translation. (#1035) 2017-06-21 09:21:48 +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
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 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
MMP0 2e1c3cce85 Update Japanese translation (#1014) 2017-06-16 17:41:59 +02:00
Myrmece e8c0fcb597 Updated translation. (#1012) 2017-06-16 15:45:35 +10:00
MMP0 d98d2c7b37 Update ja-jp.all.json (#1010) 2017-06-16 12:58:03 +10: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
Myrmece 4200e23160 Updated translation. 2017-06-15 19:02:12 +02: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
Myrmece aefeb7e5f9 Updated translation. 2017-06-14 18:12:01 +02: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
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
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
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
akuma06 f0080b933e Merge pull request #967 from Myrmece/patch-1
Updated translation.
2017-06-07 22:19:56 +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
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 390c5f7620 Merge pull request #954 from NyaaPantsu/html-tag-fixes
Html tag fixes
2017-06-06 23:24:56 +02:00
akuma06 791fe75ed8 HTML tag fixes #904
* Replaced strong by b
* Added a span lang jap on renchon
2017-06-06 22:46:05 +02:00
MMP0 93947bba79 Update fr-fr.all.json 2017-06-06 23:49:43 +09:00
MMP0 7541239aa9 Update en-us.all.json 2017-06-06 23:49:02 +09:00
MMP0 92a57cd8f1 Update Japanese translations (#946) 2017-06-06 16:25:55 +02:00
Myrmece 7bb452a477 Deleted obsolete and duplicated translation ids, some other fixes. (#944)
* Update fr-fr.all.json

* Update view.html

* Update ca-es.json

* Update de-de.all.json

* Update ca-es.json

* Update de-de.all.json

* Update en-us.all.json

* Update es-es.all.json

* Update hu-hu.all.json

* Update is-is.all.json

* Update it-it.all.json

* Update ja-jp.all.json

* Update ko-kr.all.json

* Update nb-no.all.json

* Update nl-nl.all.json

* Update pt-br.all.json

* Update pt-pt.all.json

* Update ro-ro.all.json

* Update ru-ru.all.json

* Update sv-se.all.json

* Update th-th.all.json

* Update zh-cn.all.json

* Update zh-tw.all.json

* Update es-es.all.json

* Update ja-jp.all.json
2017-06-06 12:46:44 +10:00
akuma06 2e9812b995 Replaced Terms and conditions (#939)
Replaced by a modal
Edited translation string with the new link
2017-06-06 11:19:29 +10:00
Myrmece 09ca01139c Updated translation. 2017-06-06 01:02:55 +02:00
akuma06 5068d83402 Merge branch 'dev' into custom-mascot 2017-06-06 00:38:20 +02:00
akuma06 6030f7421e Update en-us.all.json 2017-06-06 00:23:02 +02:00
akuma06 66a39e3bd7 Merge branch 'dev' into frontend-mark2 2017-06-06 00:18:40 +02:00
akuma06 9ff1899542 Added no_notifications translation string 2017-06-06 00:16:05 +02:00
Myrmece d5807c28a1 Updated translation. (#932) 2017-06-06 00:07:10 +02:00
akuma06 23210b0250 Report modal fix (#935)
* fix uploaderid when torrent is hidden

Added a new function template to generate a link for uploaders name
In the view we have the actual uploaderID and uploaderName now

* fix template.HTML to string conversion

* Add a modal for reporting

Replace the popup
Use of Modal.js
Include Captcha

* forgot a div end tag

* Moved modal at the end

* Updated translation missing %s

* Added an information message

New translation string

* Forgot %s

* wrong id check
2017-06-06 00:06:52 +02:00
kipukun 7a9c4cd13e Misc. changes to profile edit and notifications page 2017-06-05 14:21:20 -04:00
ElegantMonkey b6f3987ec7 Add translation string. 2017-06-05 11:38:31 -03:00
MMP0 6d627f045f Update Japanese translation (#917)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-05 08:43:32 +10:00
PantsuDev 3402e97c50
Revert "Changed renchon with explanation kanji (#905)"
This reverts commit 2f64a322a8.
2017-06-04 12:39:24 +10:00
akuma06 2f64a322a8 Changed renchon with explanation kanji (#905) 2017-06-04 12:29:26 +10:00
Myrmece 6c0735607f Updated translation. (#900) 2017-06-04 09:21:02 +10:00
MMP0 70eafd9668 Update Japanese translations (#896)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-06-04 09:20:38 +10:00
akuma06 bd7fe52273 New ModPanel Theme (#883)
* New ModPanel Theme

* Implemented the new @kipukun theme in ModPanel
* Added new translation string
* Fixed the toolbar in /mod/torrents

* Little fix on torrents report

* Remove double navigation

* Added a tag h1 for pages and new translation strings~

* fix warn message
2017-06-02 20:10:36 +02:00
akuma06 e9002ee638 Added translations support to mass edit api + improvements
* new translation strings
* new Translations object which can be used to translate string in js
* fix a the disappearance of checkboxes on new item loaded by ajax
2017-06-02 15:42:53 +02:00
Myrmece 7e0714aa33 Updated translation. 2017-06-02 11:45:48 +02:00
akuma06 e62ebb05ba Mass edit mod api JS (done) (#868)
* Mass Edit MOD api JS (WIP)

In continuity with the mass edit mod api, this is the javascript use of
it.
##What does it do?
* Delete of multiple torrents on index/search
* Category change of multiple torrents
* Change of owner of multiple torrents
* Lock & delete of multiple torrents

##How?
* New toolbar only visible for mods
* Checkboxes added only for mods
* Selection and click on the button in toolbar
* Nothing is submitted, you have to review the changes in a modal window
listing them.
* Then the ajax queries are initialized one at a time with a progression
bar
* You can always at any moment delete entries from the queuing list

* Improved progress bar

* Deleting part almost done

Improved modal design
All dom interactions should be done
Prepared Query for only one callback
Improved Modal to keep a link to the active modal

* Finished =D

Added some translation string

* Forgot the refreshing of the page

Just an option that can be disabled by making refreshTimeout to 0
2017-06-02 12:51:44 +10:00
kipukun 38cf9ab994 Fix up settings page a bit 2017-06-01 20:16:56 -04:00