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

101 commits

Auteur SHA1 Message Date
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
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 7541239aa9 Update en-us.all.json 2017-06-06 23:49:02 +09: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
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
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
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
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
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
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
mitki 16b84dbe6a [TL] Updated en-us 2017-05-29 21:53:14 -03: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 85c8d72369 Update en-us.all.json 2017-05-29 20:15:57 +09: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
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