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

300 commits

Auteur SHA1 Message Date
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