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

419 commits

Auteur SHA1 Message Date
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
sisimouto 723c0ca87b Update th-th.all.json (#862) 2017-05-31 23:58:58 +10:00
Myrmece b314098065 Updated translation. 2017-05-31 10:30:02 +02:00
Steindór ffbbacb84a Maskot to cookie (#857)
* Put the mascot into the cookie as well, major js cleanup

* Update en-us.all.json

* removed redundant translation
2017-05-30 21:21:35 -05:00
sfan5 3b6b81aa8d Fixing other peoples shit again & translation (#853)
* Fix login when running on localhost

* Translatable edit/delete buttons on view page

* Bold completed count on view page

* Don't create global variables in report button js

* Update german translation

* Update trackers (#803)

Remove baka-sub.cf as it's always broken
Add IPv6 version of leechers-paradise
2017-05-31 08:36:00 +10:00
akuma06 2aa8bb12bf Merge pull request #849 from Myrmece/patch-1
Updated translation.
2017-05-30 17:04:51 +02:00
Myrmece 2247dc0475 Updated translation. 2017-05-30 14:44:45 +02:00
MMP0 c49eaf325b Update ja-jp.all.json 2017-05-30 21:29:19 +09:00
MMP0 806c4525a2 Update ja-jp.all.json 2017-05-30 21:26:46 +09:00
mitki 94ecaea291 [TL] Updated pt-br 2017-05-29 21:53:31 -03:00
mitki 16b84dbe6a [TL] Updated en-us 2017-05-29 21:53:14 -03:00
Mitki 765077864a Update pt-br.all.json (#841)
* Update pt-br.all.json

* Update pt-br.all.json
2017-05-30 09:17:26 +10:00
Myrmece 507bcb1cfa Updated translation. 2017-05-29 14:32:21 +02:00
MMP0 21c5acd43d Update ja-jp.all.json 2017-05-29 20:21:12 +09:00
MMP0 f01bb77926 Update ja-jp.all.json 2017-05-29 20:19:51 +09:00
akuma06 30e96931d1 Just added also the mark_as_hidden option
Took the opportunity that you were editing them to add it ;)
2017-05-29 13:18:17 +02:00
MMP0 c6b2f65270 Update ja-jp.all.json 2017-05-29 20:16:37 +09:00
MMP0 85c8d72369 Update en-us.all.json 2017-05-29 20:15:57 +09:00
akuma06 9e2af01b29 Merge pull request #810 from Myrmece/patch-1
Updated fr-fr.all.json
2017-05-28 22:25:02 +02:00
sisimouto 51c0728356 Update th-th.all.json 2017-05-28 23:58:38 +09:00
sisimouto 30e8bceeeb Update th-th.all.json 2017-05-28 23:56:19 +09:00
Myrmece 25982e1f9c Update fr-fr.all.json 2017-05-28 14:01:02 +02:00
bela333 87345d65bc Updated strings 2017-05-27 20:40:16 +02:00
Myrmece 78255d1b96 Updated translation. (#784) 2017-05-27 22:12:19 +10:00
MMP0 68f63196d1 Update Japanese translations (#776)
* 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-05-27 17:17:03 +10:00
sfan5 dfaabdc4b2 CSS fixes (#764)
* Revert status indication colors to original nyaa ones (others look washed out)

* Move "no files" comment into filelist <div> where it belongs

* Fix alignment issue on view page

* Make infohash monospace

* Make more strings translatable
2017-05-27 11:55:46 +10:00
Myrmece a58d0abd26 Updated translation. 2017-05-26 23:41:54 +02:00
sisimouto 96ac416c15 trans: Update for th-th (#745)
* Update th-th.all.json

* Update th-th.all.json
2017-05-25 18:04:49 +02:00
Yueou be46e791f6 Update zh-cn (#744)
* Update zh-cn

* Update zh-cn
2017-05-25 18:00:25 +02:00
Myrmece 03bb953bc0 Updated translation. (#742) 2017-05-25 20:31:28 +10:00
Yueou 6a6dcf9b9b Update zh-cn (#734) 2017-05-25 12:52:11 +10:00
MMP0 531037bdf1 Update Japanese translations + Small changes (#733)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Add nav translations

* Update main.css

* Update ja-jp.all.json

* Update view.html

* Update view.html

* Update view.html

* Update main.css

* Update main.css
2017-05-25 12:18:59 +10:00
akuma06 6edc68fe22 Deleted torrents mod done (#732)
* Torrent Mass Edit Api (WIP)

* Torrents can be deleted in mass from frontend with api post request
* Torrents status can be edited from frontend with api post request
-- Look to function doc for more info on how to use it

It is a WIP so it might not work =D

* Finished Mass mod Api

As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.

* Make some changes

* Reports can now be cleared for the torrents selected without having to
delete them
* Users with no admin rights can't delete reports

* Fix moveto to status

moveto deprecated in api

* Tested and works!

Changes:
* Updates only the colomns of torrent table
* Moved categories config in config/torrents.go

* Forgot this file in last commit

* Less useless queries

The use of Save makes it that users are created and updates also all the
associatiated models. Better to just update the colomns needed (less
useless queries)

* Some Updates

* Added a new status of 5 for locking torrents
* Modifying the list torrents view for using it in deleted torrents view
* Added function to get deleted torrents
* Torrents (and reports) can be definitely deleted
* Some new translation string

* Fixing

* fix 2

* Added upload check for locked torrents

If a user owns a torrent, has deleted it and try to repload it. As long
as it has not been locked, he can.

* Fixing wrong condition in isdeleted

* Finished

* Info messages on success when deletes or lock
* Fixed double deleted_at is Null
* Added Link to view of deleted torrents
* Added new translation string
2017-05-25 02:19:05 +02:00
akuma06 cf844f0d43 Merge branch 'dev' into torrent-mass-mod-edit 2017-05-24 20:29:52 +02:00
akuma06 1ffea3f39f Finished Mass mod Api
As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.
2017-05-24 20:23:54 +02:00
Myrmece ace73bf9c8 Updated translation. (#726) 2017-05-24 21:28:15 +10:00
akuma06 07623e85ed Merge pull request #698 from NyaaPantsu/revert-692-revert-690-user-torrent-edit
Allow users to edit & delete their torrents
2017-05-23 19:43:09 +02:00
MMP0 ff26f2a6fb Update ja-jp.all.json (#700) 2017-05-23 13:18:32 +10:00
akuma06 99f2092028 Revert "Revert "New User Edit Panel"" 2017-05-23 04:05:33 +02:00
alucard0134 ed5152a4a0 Revert "New User Edit Panel" 2017-05-22 19:10:06 -05:00
akuma06 c8c3dc1980 New User Edit Panel
User can edit torrents
* delete torrents
+ New translation string for mod panel and user edit torrent panel
+ Improvement of messages util with implementation of T (no need to get
Tfunc now, messages util do that for you)
+ Use of @ElegantMonkey GetCategories to generate select of categories
in search and forms
2017-05-23 01:26:09 +02:00
Mitki 607d4684c2 Update pt-br.all.json 2017-05-22 11:45:50 -03:00
Mitki a1d2b3e1a7 Update pt-br.all.json 2017-05-22 11:43:32 -03:00
Myrmece bb6b47d913 Updated translation. (#680) 2017-05-22 23:39:36 +10:00
MMP0 dafc485d4d Update Japanese translations (#677)
* Update ja-jp.all.json

* Fix typo

* Fix typo

* Undo
2017-05-22 16:25:50 +10:00
sisimouto b4811cd9bd Update th-th.all.json (#675) 2017-05-22 15:36:24 +10:00
akuma06 6500aece22 Merge pull request #673 from NyaaPantsu/user-setttings-notification
User settings notification
2017-05-22 00:25:47 +02:00
akuma06 07c120407e Finished 2017-05-22 00:22:42 +02:00
Myrmece 5a1160f95f Updated translation. 2017-05-21 18:55:42 +02:00
sfan5 1465c105e9 Update German translation 2017-05-21 14:57:33 +02:00
akuma06 8e5b6f3378 Merge branch 'dev' into patch5 2017-05-21 13:32:09 +02:00
Myrmece 4d7cecdef8 Updated translation. 2017-05-21 12:13:53 +02:00
sisimouto 5b5d7a9d68 Update th-th.all.json (#666) 2017-05-21 17:10:27 +10:00
wfu 66667e9f1a zh-tw TL fix/consistency (#663) 2017-05-21 12:10:46 +10:00
akuma06 fa7280b0d0 Merge pull request #660 from mitki/patch-7
Update pt-br.all.json
2017-05-21 02:16:14 +02:00