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

414 commits

Auteur SHA1 Message Date
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
akuma06
3d81f6081b Added website_link string (en-us) 2017-05-21 01:50:53 +02:00
Mitki
04ee79947b Update pt-br.all.json 2017-05-20 20:33:52 -03:00
Mitki
e3cd2d776c Update pt-br.all.json 2017-05-20 20:30:50 -03:00
akuma06
798ec9a3a8 Merge remote-tracking branch 'refs/remotes/origin/dev' into notifications
# Conflicts:
#	templates/_badgemenu.html
2017-05-21 01:21:56 +02:00
akuma06
5f60970eb9 Finished 2017-05-21 01:06:40 +02:00
Steindór
6ca3efe4c0 Added icelandic translations (#656)
* fixed the spacing between the logo and the nightmode button

* used tabs like the rest of the file

* fixed the nightmode switcher, broke everything else

* Navbar styling no longer dependent on bugs

* fixed issues when logged in

* added icelandic translations

* Missed one

* Fixed typos

* Update is-is.all.json

Creating some new words on the spot for completeness
2017-05-21 08:39:12 +10:00
Eduard Ereza Martínez
e181172aaf Update Catalan translation (#655)
* Update Catalan translation

* Oops... missing comma!
2017-05-21 08:38:44 +10:00
akuma06
0390fc5215 Mostly done 2017-05-21 00:02:57 +02:00
GooNyaa
cd1c86a9a1 Update translations
* en-us - add missing sukebei category
* ru-ru - sync with en-us, small fixes
2017-05-20 17:10:04 +03:00
akuma06
f61bff5fac Merge pull request #638 from fuzzyballz/patch-1
Updated translation, added missing diacritics.
2017-05-20 14:23:19 +02:00
akuma06
101a2a06d8 Fixed +'s 2017-05-20 14:19:26 +02:00
sisimouto
cc32c90b88 Update th-th.all.json (#641) 2017-05-20 20:45:38 +10:00
Myrmece
69d87bc463 Updated translation. (#639) 2017-05-20 20:45:06 +10:00
fuzzyballz
14040afc26 Updated translation, added missing diacritics. 2017-05-20 10:50:48 +03:00
MMP0
a0854fe8ee Update Japanese translations + Small changes (#635)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update _user_list_torrents.html

* Update dumps.html

* Update _user_list_torrents.html

* Update dumps.html

* Update _badgemenu.html
2017-05-20 13:12:46 +10:00
tomleb
7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
MMP0
0f2cea6a77 Update ja-jp.all.json (#622) 2017-05-19 12:56:12 +10:00
tomleb
babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
Myrmece
c963d3174b Updated translation. (#613) 2017-05-18 22:35:32 +10:00
MMP0
c83efcbdc0 Update Japanese translations (#608)
* Update ja-jp.all.json

* Update ja-jp.all.json

ログイン, 登録, ログアウト -> サインイン, サインアップ, サインアウト

* Update ja-jp.all.json

Revert

* Fix syntax error

* Fix
2017-05-18 22:35:17 +10:00
sisimouto
3257e38b9d Update th-th.all.json 2017-05-18 10:16:05 +09:00
sisimouto
0a325a55ef Update th-th.all.json 2017-05-18 10:14:04 +09:00
tomleb
546a39bb14 Add Db dumps translation 2017-05-17 19:05:58 -04:00
tomleb
ca9f8f28d6 Add script to add new translation to everyfile 2017-05-17 19:05:58 -04:00
Myrmece
8dfa25cbce Updated translation. 2017-05-17 23:39:38 +02:00
akuma06
3d089c849a Merge pull request #579 from yueou/dev
Update zh-cn
2017-05-17 22:38:44 +02:00
akuma06
b154395de2 Merge pull request #578 from MMP0/patch-18
Fix Japanese translation
2017-05-17 22:37:43 +02:00
akuma06
4d5c15ab3f Merge pull request #584 from ElegantMonkey/minor-fixes
Changes to seed/leech display
2017-05-17 22:37:31 +02:00
ElegantMonkey
ccda45a452 Show Unknown seed/leech count on LastScrape == NULL, show scrape time
Instead of showing 0/0/0 when the torrent hasn't been scraped (which
may be misleading), show "Unknown", and also show when the torrent was
last scraped on the view torrent page.
2017-05-17 13:06:21 -03:00
sfan5
1be4ec1a94 Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
xqm
913b91b4f9 Update zh-cn 2017-05-17 21:57:52 +08:00
MMP0
c06f673430 Update ja-jp.all.json 2017-05-17 21:30:40 +09:00
MMP0
37175aecad Update ja-jp.all.json 2017-05-17 21:21:27 +09:00
MMP0
c29de3925d Update ja-jp.all.json
Fix "please_include_our_tracker"
2017-05-17 20:47:12 +09:00
MMP0
126ddc4fe4 Update ja-jp.all.json (#577)
Add "fun", "please_include_our_tracker"
2017-05-17 21:40:48 +10:00
Myrmece
474f010232 Updated translation. 2017-05-17 00:52:16 +02:00
akuma06
297ee531f8 Fix lang in html tag
Added a new translation string in all translations "language_code"
Issue #545
2017-05-17 00:27:55 +02:00
akuma06
e4eb158a90 doko patch
Just for issue #549
2017-05-16 22:55:07 +02:00
akuma06
6fe3fa5d49 Merge pull request #547 from fuzzyballz/dev
Romanian translation
2017-05-16 22:03:51 +02:00
Myrmece
4e71ea8a52 Updated translation. 2017-05-16 20:59:38 +02:00
fuzzyballz
b399e129c0 Add files via upload 2017-05-16 17:28:39 +03:00
Yueou
85c3a67602 Update zh-cn (#543)
* Update zh-cn

* Update zh-cn
2017-05-16 19:19:17 +10:00
MMP0
50d83bdab4 Update ja-jp.all.json (#538) 2017-05-16 13:00:22 +10:00
MMP0
a2b367a8a5 Update Japanese translations (#535)
* Update ja-jp.all.json

* Update ja-jp.all.json
2017-05-16 11:49:42 +10:00
dumbwanker
bde31582de Add 'Ren-chon' note to translations that don't have it (#532) 2017-05-16 07:45:56 +10:00
Myrmece
93966299f1 Updated translation. (#533) 2017-05-16 07:45:14 +10:00
sisimouto
fe4606c664 trans: Update for th-th (#531)
* Update th-th.all.json

* Update th-th.all.json
2017-05-16 07:44:44 +10:00
akuma06
01c324c7fc Merge pull request #529 from sfan5/normies
Fix upload page
2017-05-15 19:42:26 +02:00
akuma06
e1ef9580df Merge pull request #526 from yueou/dev
Translation bug fix and update zh-cn
2017-05-15 19:41:01 +02:00
sisimouto
7704aaac5a Update th-th.all.json (#524) 2017-05-15 19:39:57 +02:00
lc-guy
4d875f3e77 update jp translation (machine translate) (#523)
* update jp translation (machine translate)

Informing that email verification isn't needed at the moment
needs a native correction

* better tl
2017-05-15 19:39:31 +02:00
sfan5
dc496c1078 Fix missing sukebei cat. translations 2017-05-15 19:36:02 +02:00
xqm
be5b7acfe7 Fix 2017-05-15 23:02:05 +08:00
xqm
6ac2a0e078 Translation bug fix and update zh-cn 2017-05-15 22:54:10 +08:00
sfan5
cb455113cc Various fixes (#521)
* Re-add old uploader name to view page

* Update zh-CN translation (fixes #519)

* Nicer text boxes in night mode (closes #515)

* Fix max results defaulting to 5 (fixes #488)

* Add link back to nyaa on sukebei (fixes #255 and #437)

* Fix visual bug with pt-BR translation (fixes #427)
2017-05-15 21:55:16 +10:00
Myrmece
244039dbcc Updated translation. 2017-05-15 12:59:57 +02:00
PantsuDev
fc74cbc490 Merge pull request #520 from sisimouto/dev
trans: More update for th-th
2017-05-15 18:59:37 +10:00
sisimouto
a7a789e06e Update th-th.all.json 2017-05-15 17:20:44 +09:00
xqm
e8e90d4236 Update zh-cn and captcha 2017-05-15 13:25:18 +08:00
PantsuDev
751587ef84 Merge pull request #513 from majestrate/new-database
New database Abstraction Layer (WIP)
2017-05-15 11:18:46 +10:00
PantsuDev
a4a72a3346 Merge pull request #477 from ElegantMonkey/dev
MetainfoFetcher and file lists
2017-05-15 11:16:22 +10:00
PantsuDev
fbe229eb51 Merge pull request #514 from sisimouto/dev
trans: Update th-th.all.json
2017-05-15 11:05:10 +10:00
sisimouto
7b34b047f5 Update th-th.all.json 2017-05-15 09:27:55 +09:00
ElegantMonkey
df2c9bc2f7 Fix conflicts 2017-05-14 21:19:29 -03:00
Jeff Becker
3a97c9b32e Merge remote-tracking branch 'origin/dev' 2017-05-14 19:25:15 -04:00
watchoutfortanelidaizvatanenthepublicen
630d8b3773 Update it-it.all.json 2017-05-15 00:23:35 +02:00
watchoutfortanelidaizvatanenthepublicen
91d9f89783 Update it-it.all.json 2017-05-15 00:16:55 +02:00
watchoutfortanelidaizvatanenthepublicen
f04c62521c [tl] small edits 2017-05-15 00:13:04 +02:00
akuma06
e248f3b932 Merge pull request #510 from mitki/patch-6
[TL] Update pt-br
2017-05-15 00:09:01 +02:00
akuma06
d2aa368c36 Fixed comma 2017-05-15 00:03:31 +02:00
PantsuDev
914bf6cc28 Merge pull request #505 from Nirusu/dev
Update German translation and edit some idiomatic German
2017-05-15 07:46:13 +10:00
PantsuDev
341bd37dfc Merge pull request #509 from goonyaa/dev
[translations] update ru-ru
2017-05-15 07:45:23 +10:00
Mitki
4617c7cf29 [TL] Update pt-br 2017-05-14 18:45:06 -03:00
GooNyaa
84a8f2668d [translations] update ru-ru 2017-05-14 23:34:23 +03:00
yiiTT
ce569f82f2 FAQ Tracker recomendation 2017-05-14 15:27:44 -05:00
akuma06
953f67f18e Merge pull request #503 from Myrmece/patch-2
Updated translation.
2017-05-14 21:50:16 +02:00
watchoutfortanelidaizvatanenthepublicen
59d08c105d Update it-it.all.json 2017-05-14 21:45:16 +02:00
watchoutfortanelidaizvatanenthepublicen
184a6b8e3d Update it-it.all.json 2017-05-14 21:33:25 +02:00
watchoutfortanelidaizvatanenthepublicen
d128981961 Update it-it.all.json 2017-05-14 21:32:37 +02:00
Nirusu
25ba6b9a76 Update German translation 2017-05-14 21:26:59 +02:00
Myrmece
7d09479931 Updated translation. 2017-05-14 21:21:38 +02:00
watchoutfortanelidaizvatanenthepublicen
f93fea3ef1 Untranslated sentences 2017-05-14 20:36:29 +02:00
akuma06
744de368ff Merge pull request #499 from CrisBRM/dev
Adds pt-pt and fixes pt-br
2017-05-14 19:50:50 +02:00
akuma06
b5dd5f13b4 Update pt-br.all.json 2017-05-14 19:50:23 +02:00
akuma06
11b9971952 Update pt-br.all.json 2017-05-14 19:50:02 +02:00
akuma06
1a3ffdf7f2 Merge pull request #498 from yueou/dev
Add new translations
2017-05-14 19:47:32 +02:00
akuma06
fa305a59a7 Merge pull request #489 from sfan5/fixez
Lots of fixes
2017-05-14 19:46:31 +02:00
xqm
44a6eaf524 Add new translations
Add new translations
2017-05-15 01:32:25 +08:00
CrisBRM
d5401108e7 oops, fixes pt-br again 2017-05-14 18:13:37 +01:00
CrisBRM
d81f78a91b adds pt-pt and fixes pt-br 2017-05-14 18:10:00 +01:00
xqm
a9b99b832c Update zh-cn
Update zh-cn
2017-05-15 00:58:39 +08:00
Myrmece
d97c0a8db8 Updated translation. 2017-05-14 18:14:44 +02:00
ElegantMonkey
2ab4d4ad9e Fix conflict on translation 2017-05-14 12:45:07 -03:00
sfan5
65042a62ea Update german translation 2017-05-14 17:35:10 +02:00
sfan5
7bb2e974f7 Fix broken API token translation 2017-05-14 17:35:10 +02:00
sfan5
937c9752af Fix broken translation string on view page 2017-05-14 17:34:58 +02:00
akuma06
dcc75cb855 Merge pull request #482 from lc-guy/patch-2
remind that verification isn't necessary after signup
2017-05-14 16:51:57 +02:00
akuma06
031187ae49 Merge pull request #483 from sisimouto/dev
trans: More update for th-th
2017-05-14 16:50:20 +02:00
akuma06
2e890d4f0e Merge pull request #481 from mitki/patch-5
Update pt-br.all.json
2017-05-14 16:49:47 +02:00
akuma06
cc376d88de Merge branch 'dev' into torrent-btn-translation 2017-05-14 16:49:20 +02:00
sisimouto
56544be992 Update th-th.all.json 2017-05-14 22:55:34 +09:00
lc-guy
3b0d82ca1f remind that verification isn't necessary after signup
Might need to be done in other translations, especially the jp one
2017-05-14 14:45:03 +01:00
Mitki
618bf80387 Update pt-br.all.json
https://github.com/ewhal/nyaa/pull/473
2017-05-14 10:43:16 -03:00
ElegantMonkey
839e6068df Add FileList view to view.html template
Also added the code for FileList loading on torrentService.
2017-05-14 10:19:19 -03:00
akuma06
5780db1538 Added new translation string 2017-05-14 15:10:17 +02:00