Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/translations
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
..
ca-es.json Update Catalan translation (#655) 2017-05-21 08:38:44 +10:00
de-de.all.json Update German translation 2017-05-21 14:57:33 +02:00
en-us.all.json Deleted torrents mod done (#732) 2017-05-25 02:19:05 +02:00
es-es.all.json Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
fr-fr.all.json Updated translation. (#726) 2017-05-24 21:28:15 +10:00
hu-hu.all.json Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
is-is.all.json Added icelandic translations (#656) 2017-05-21 08:39:12 +10:00
it-it.all.json Use JS date formatting for comments too 2017-05-17 16:07:32 +02:00
ja-jp.all.json Update ja-jp.all.json (#700) 2017-05-23 13:18:32 +10:00
ko-kr.all.json Fix lang in html tag 2017-05-17 00:27:55 +02:00
nb-no.all.json Fix lang in html tag 2017-05-17 00:27:55 +02:00
nl-nl.all.json Fix lang in html tag 2017-05-17 00:27:55 +02:00
pt-br.all.json Update pt-br.all.json 2017-05-22 11:45:50 -03:00
pt-pt.all.json Fix lang in html tag 2017-05-17 00:27:55 +02:00
ro-ro.all.json Fixed +'s 2017-05-20 14:19:26 +02:00
ru-ru.all.json Update translations 2017-05-20 17:10:04 +03:00
sv-se.all.json Fix lang in html tag 2017-05-17 00:27:55 +02:00
th-th.all.json Update th-th.all.json (#675) 2017-05-22 15:36:24 +10:00
zh-cn.all.json Merge pull request #579 from yueou/dev 2017-05-17 22:38:44 +02:00
zh-tw.all.json zh-tw TL fix/consistency (#663) 2017-05-21 12:10:46 +10:00