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

139 commits

Auteur SHA1 Message Date
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
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
lc-guy 2bbf3e495f update sukebei mention 2017-05-13 00:03:41 +01:00
yiiTT dd8667b8c7 Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-12 17:22:35 -05:00
ElegantMonkey dfd9caeb31 Add language selector without login 2017-05-12 19:17:34 -03:00
yiiTT 96ce3e9c20 Set default upload category to none 2017-05-12 15:03:15 -05:00
yiiTT 8814dd4620 Revert "Set default upload category to none. Translation update required"
This reverts commit 5fb780b854.
2017-05-12 15:02:19 -05:00
yiiTT 0293fe7b10 Set default upload category to none. Translation update required 2017-05-12 14:41:39 -05:00
sfan5 1feb377ce0 Remove the notice about not hosting files from FAQ
No longer applies I guess...
2017-05-12 12:12:15 +02:00
sfan5 95562ecd60 Fix S/L/C translations on view page 2017-05-11 15:20:19 +02:00
akuma06 9f2d0f1962 New translation function and time depends on translation 2017-05-11 13:15:52 +02:00
ElegantMonkey 0a1006ba7d Add profile_edit_page string 2017-05-10 21:30:18 -03:00
ElegantMonkey 74ce736169 Change goyangi strings 2017-05-10 21:13:51 -03:00
sfan5 7bc395068d Fix modpanel torrent edit (#328)
* Fix modpanel torrent edits breaking torrents

* Fix hash not being monospace anymore

* Fix modpanel torrent edit strings

* Fix modpanel torrent edit creating a new user (wtf GORM)
2017-05-10 18:46:50 -05:00
akuma06 dee08850cf Fixing 2017-05-10 22:42:11 +02:00
sfan5 d98d918301 Allow marking uploads as remake 2017-05-10 22:11:37 +02:00
sfan5 a857c1abe3 Update FAQ 2017-05-10 22:10:31 +02:00
sfan5 3cfcb4ddf1 Fix missing translation for "moderation" 2017-05-10 22:10:31 +02:00
akuma06 8f8fce89fc Updated translation 2017-05-10 04:00:16 +02:00
akuma06 9bbd544a20 Added Follow&Unfollow 2017-05-10 03:16:36 +02:00
PantsuDev d02672add8 Merge pull request #217 from sfan5/installgentoo
Various changes
2017-05-10 06:44:10 +10:00
akuma06 8aa8a0593c Added delete account and edit profile 2017-05-09 17:47:12 +02:00
sfan5 03a72b4d0d This one character being lowercase has been bothering me 2017-05-09 17:11:28 +02:00
sfan5 e3be788372 Correct text when signing up without email 2017-05-09 17:11:12 +02:00
sfan5 48ce176e0a Correct texts on upload page 2017-05-09 16:48:33 +02:00
akuma06 c5b22ff496 Fixed no torrents found + translation 2017-05-09 04:12:48 +02:00
akuma06 be6e573465 Moved translations in appropriate directory 2017-05-09 04:12:48 +02:00
Renommé depuis service/user/locale/en-us.all.json (Continuer la navigation)