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

75 commits

Auteur SHA1 Message Date
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
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
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
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
akuma06
07c120407e Finished 2017-05-22 00:22:42 +02:00
akuma06
8e5b6f3378 Merge branch 'dev' into patch5 2017-05-21 13:32:09 +02:00
akuma06
3d81f6081b Added website_link string (en-us) 2017-05-21 01:50:53 +02: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
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
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
tomleb
546a39bb14 Add Db dumps translation 2017-05-17 19:05:58 -04: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
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
sfan5
dc496c1078 Fix missing sukebei cat. translations 2017-05-15 19:36:02 +02: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
PantsuDev
751587ef84 Merge pull request #513 from majestrate/new-database
New database Abstraction Layer (WIP)
2017-05-15 11:18:46 +10: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
yiiTT
ce569f82f2 FAQ Tracker recomendation 2017-05-14 15:27:44 -05:00
akuma06
1a3ffdf7f2 Merge pull request #498 from yueou/dev
Add new translations
2017-05-14 19:47:32 +02:00
xqm
44a6eaf524 Add new translations
Add new translations
2017-05-15 01:32:25 +08: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
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
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
apt-get
baa097c6a8 Add info in FAQ for account migrations 2017-05-14 12:39:23 +01:00
keo
530734bbeb typo 2017-05-14 13:11:58 +03:00
Eliot Whalan
2a3aa862cd Fix missing comma in EN-US 2017-05-14 15:13:37 +10:00
ayame-git
b28e7657e1 api token on profile page 2017-05-14 07:15:58 +03:00
S0X-LT
2ff9497aee Update en-us.all.json 2017-05-13 18:15:53 -04:00
S0X-LT
5c8c589997 Update en-us.all.json 2017-05-13 17:37:28 -04:00
dumbwanker
1632c4b455 We can't all read nihonese (#431) 2017-05-14 00:43:26 +10:00
sfan5
3116274990 changes (#426)
* Hide change language footer when logged in

* Force people to select a report reason

* Don't ask for confirmation before deleting a torrent report

* Small cleanup of modpanel templates

* Fix modpanel comment list

* Fix missing "Delete" translation in modpanel

* Update German translation

* A few updates to the FAQ
2017-05-13 21:57:57 +10:00
Austin
ad2523573b fucking spelling 2017-05-12 21:48:09 -05:00
Austin
821dd32616 Merge branch 'master' into dev 2017-05-12 21:33:17 -05:00
PantsuDev
0ae488e7eb Merge branch 'dev' into dev 2017-05-13 12:24:55 +10:00
ElegantMonkey
eb948a6db1 Add the language names for most of the translations 2017-05-12 21:30:39 -03:00
bittebitte
0567272cfe Update en-us.all.json 2017-05-12 18:48:36 -05:00
lc-guy
7e08004ae0 remove urgent sukebei mention 2017-05-13 00:06:47 +01:00