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

508 commits

Auteur SHA1 Message Date
kilo
d1d4bf8e28 Remove hide ads options (#1536)
* Update base.jet.html

* Update settings.jet.html

* Update template.go

* Update publicSettings.go

* Update user.go

* Update settings.go

* Update main.js

* Update base.jet.html

* Update template_test.go

* Update en-us.all.json
2017-09-08 20:46:45 +02:00
kilo
c485801d79 Turn comment count into comment icon, add link to comments on comment icon (#1534) 2017-09-08 20:29:32 +02:00
Lamppostmanufacturer
33cd7e3a2f Clarification (#1538) 2017-09-08 16:14:46 +02:00
Lamppostmanufacturer
8cf3c1a62d Update CHANGELOG.md (#1537) 2017-09-08 15:43:22 +02:00
hksy46
ee61a9a54c Update ru-ru.all.json (#1532)
Translation update and fixes yet again
2017-09-08 12:52:11 +02:00
MMP0
c8498175fa Update ja-jp.all.json (#1531) 2017-09-08 09:30:11 +02:00
Myrmece
f22d463a71 Updated translation. (#1526) 2017-09-07 09:05:24 +02:00
hksy46
c2a785760c Update ru-ru.all.json (#1525)
Translation update and fixes
2017-09-06 22:34:28 +02:00
MMP0
4f8eabb5fb Update ja-jp.all.json (#1520) 2017-09-06 11:06:19 +02:00
kilo
4cb5c9cf23 Styling fixes & improvements for cookie warning, addition of cookie warning text & close button (#1519)
* Styling fixes for new nav, improvements for cookie warning, styling for close button on cookie warning

* Fix wrong css rule name on tomorrow

* add cookie warning text

* Update CHANGELOG.md

* tomorrow colors for cookie warning

* Color improvements for cookie-warning & close button styling

* Addition of close button for cookie warning

* JS to hide cookie warning when clicking the cross

* Add warning that message will be hidden at next page load

* middle alignement for japanese text in refine

* Remove NyaaPantsu link from admin nav

* Allow HTML in cookie warning translation string

* Remove [0] that was not needed and broke the script from JS

* Bold font & slightly taller cookie warning

* Add message when ad is blocked

* styling for blocked message

* fix wrong id

* Prevent JS error

* remove ad-blocked message

* remove ad-blocked styling

* Update main.css

* Update base.jet.html
2017-09-06 10:51:25 +02:00
MMP0
619536f064 Update ja-jp.all.json (#1518) 2017-09-06 08:52:46 +02:00
kilo
a78f4117c3 "Torrent file not found" page (#1503)
* Add torrent file missing page instead of old 404

* Make download.go redirect to file missing page instead of 404

* Add files via upload

* Update translation changelog

* add translation string for "torrent file not found" page

* Forgot to create variables

* import templates
2017-09-06 08:20:24 +02:00
Miiiiaaooooo
5437b700ff Update tracker and Ad's explanation. (#1508)
* Update tracker and Ad's  explanation.

* Fix JSON

* Update en-us.all.json

* pff
2017-09-06 13:25:37 +10:00
Lamppostmanufacturer
13cc4eaa68 Update doko.moe to uw0.xyz
* Update ca-es.json

* Update de-de.all.json

* Update es-es.all.json

* Update fr-fr.all.json

* Update hu-hu.all.json

* Update in-id.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
2017-09-05 17:37:52 -05:00
Myrmece
0ebbf433f5 Updated translation. (#1502) 2017-09-05 10:30:05 +10:00
kilo
fe119ed384 Add translation strings in changelog (#1501) 2017-09-05 09:22:58 +10:00
MMP0
47ac0217c3 Update Japanese translation (#1498)
* 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-09-05 08:48:09 +10:00
Lamppostmanufacturer
2450a70cce Update CHANGELOG.md (#1497) 2017-09-04 22:28:15 +10:00
Myrmece
2187c2e06a Updated translation. (#1496) 2017-09-04 22:15:00 +10:00
Miiiiaaooooo
25e6fe2942 Ads enabled settings, ads in FAQ, ads actually in code (#1493)
* Update base.jet.html

* Remove inline styling, put whole thing into a div instead of center to be able to move it at other places at will

* Move inline styling in there & some adjustements that will need further tweaking

* Add GetAdsEnabledFromRequest() function

* Ads Enabled global var

* Need to add global var in test file for it to work properly

* AdEnabled handler in settings

* Create AdsEnabled var for users

* Check if user wants to hide ads

* change var name

* change var name

* change var name

* change var name

* var name changes

* Add ad enabled settings & put each indiviidual setting into a span

* add |raw

* add translation strings

* add ads to faq

* Remove <br> and add faq link

* Fix travis

* Fix wrong condition check

* exclude aldColors & hideAds cookie from deletion

* remove useless things

* Fix template_test.go

* No idea why that part got removed

* Forgot }}

* lower padding for ad container
2017-09-04 21:48:47 +10:00
kilo
0c241dfda5 Add translation string for alternating color in setting & specify the font will not be bold anymore (#1490)
* Add translation string

* Add translation string & be more clear about what does it do
2017-09-04 08:26:09 +10:00
kilo
a01cb17e4c Add new refine translation strings (#1469)
* Add missing translation strings in refine

* Add new refine translation strings
2017-09-03 13:21:37 +10:00
MMP0
c721ab263e Update Japanese translation (#1445)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-08-30 09:57:11 +10:00
Myrmece
da005b6635 Updated translation. (#1431) 2017-08-29 00:37:44 +10:00
Lamppostmanufacturer
96fbacfcc0 Updating Translations (#1430)
* Update de-de.all.json

* Update en-us.all.json

* Update de-de.all.json

* Update de-de.all.json
2017-08-29 00:23:18 +10:00
kilo
783d4e4f8b Update en-us.all.json (#1425) 2017-08-28 13:47:38 +10:00
MMP0
171683d314 Update ja-jp.all.json (#1414) 2017-08-28 08:58:01 +10:00
Myrmece
3cbfffc19c Updated translation. (#1413) 2017-08-28 08:44:04 +10:00
yiiT
81e9a8a1a1 Add RSS Feed Information to FAQ (#1356)
* Add RSS Feed Information to FAQ

* Update faq.jet.html

* Add TL strings
2017-08-27 11:42:27 +10:00
Myrmece
323d090203 Updated translation. (#1401) 2017-08-26 23:42:37 +10:00
akuma06
2b4731d16c Dbidlinks (#1396)
* Add Anidb, Vndb, Vgmdb links

* Anidb, Vndb, Vgmdb and Dlsite links into tag design
* Add external links to Anidb, Vndb, Vgmdb and dlsite

* Add filter links to tags

* Filter string translation already exists

* Fix display tags

* Update translation changelog

* Do not display tag type when default
2017-08-26 11:42:12 +10:00
akuma06
eea581bae9 Removing SearchType and SearchOrder + Move to new date search behaviour (#1395)
* Update search.go

* Update helpers.go

* Update search.jet.html

* Update search.jet.html

* Removing SortOrder and SortType from template's Search struct. Since we already have them in main torrentParam search struct and we don't need to overwrite them.

* Replaced old date search filter behaviour
2017-08-26 11:24:25 +10:00
Myrmece
2a6d7dcda8 Updated translation. (#1392) 2017-08-23 09:08:44 +10:00
akuma06
c6168be8b1 Tag Search + Tests + Search slight refactor [DONE] (#1342)
* Tag Search + Tests + Search slight refactor

First commit improving search. Different struct have their own file with their tests. This way of separating struct by files is inspired by the go packages I've seen so far.

Added new behaviour as discussed in #1334

* fix fallback to ES

* Added some comments to explain PG fallback + log err moved

* Refactored search

Nearly fully covered
WhereParams struct has disappeared for Query struct instead
In DB model, we use an interface implementing Query struct methods

* 1rst Refactor of Tags (WTF already?!)

Prepare Tags for the refactored system. Now there will be descriptive tags for a particular release (ecchi, BDSM, ....) and typed tags.
Typed tags are tags relevant to all torrents and can be limited to some input value. For example, video quality is a typed tag limited to some values (hd, full hd, sd, ...). In the same way, anidbid is also a typed tag but doesn't have default values.

Furthermore, the location storage of tags have changed, now accepted descriptive tags are stored in the torrents table in the column "tags" and they are separated by commas.
In the opposite, accepted typed tags can have have their own column in the torrents table. For example, anidbid, vndbid will populate the column DbID when accepted. On the other hand, videoquality will populate the same way as descriptive tags.

This behaviour depends on the callbackOnType function in tag/helpers.go

* fix for modtools :')

* Added anidb, vndb, dlsite & vmdb id fields in torrent model.
Tags don't have an accepted field anymore.
Accepted Tags are in torrent.AcceptedTags and non-accepted ones in torrrent.Tags.

New Helper + New Changelog for translation string.

* New upload/edit form for torrent tags.
Now the inputs are dynamically generated by the helper tag_form.
No more modal window in those form, only inputs.
Support of tags in API
New translation string for the  link to the modal on torrent view.
More comments in the functions for tags

* Improving how config for tags work. Adding a test on them with understandable messages.
Config for tags have now a Field attribute which is linked to the Torrent model. For example anidbid tag type has now a AnidbID field in config which is the name of the field in torrent model (AnidbID). Every new tag type need to have a field attribute with its counterpart in torrent Model.
Fixing some errors

* Fix compile error + Tests Errors

* Improve performance by caching the list of tags with an index
Adding/removing tags works/tested
New translation strings

TODO: test/fix adding tag on upload/edit

* Mini fix to display video quality
+ tags works/tested on modo edit

* Fix editing tags on modpanel

* Edit tags works

* Add translation string

* Add search backend for tags.
?tags=xxx,eee,ddd
?anidb=21
?vndb=23
?vgmdb=24
?vq=full_hd

* Fix Ajax tag Removal&Add

* Added form for descriptive tags

* Forgot to add the link between database and form for descriptive tags.

* Adding the increase/decrease pantsu for descriptive tags

* Fix #1370

* When you actually forgot to commit files after having forgotten commits
2017-08-22 11:48:10 +10:00
hksy46
58217a5182 Update ru-ru.all.json (#1380)
(almost) full and (almost) correct russian translation
2017-08-20 08:34:06 +10:00
MMP0
46f29f93de Update Japanese translation (#1379)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-08-19 23:46:39 +10:00
Myrmece
21058924a3 Updated translation. (#1372) 2017-08-15 16:44:04 +10:00
kilo
199d2b3b85 Add "sort by" inputs in refine on low res (#1369)
* Add HTML for sorting by name etc

* Add CSS to hide inputs for sorting in refine

* Set value of SortOrder on true if on true (wew)

* Add SortOrder & SortType variables

* change translation strings

* add translation strings

* forgot a missing { and change ascending value
2017-08-14 15:56:45 +10:00
Lamppostmanufacturer
e0068456e7 Add Indonesian translation, credits go to @39-chan (#1350)
Thanks @39-chan for helping us out
2017-08-06 00:04:16 -05:00
Lamppostmanufacturer
846e9d2b8a Translation Overhaul #2 (#1345)
* Update it-it.all.json

* Update nl-nl.all.json

* Update pt-br.all.json

* Update pt-pt.all.json

* Update ro-ro.all.json

* Update th-th.all.json
2017-08-04 16:05:59 +02:00
MMP0
00e092372f Update ja-jp.all.json (#1348) 2017-08-04 15:40:30 +02:00
Myrmece
e1cf80169c Updated translation. (#1347) 2017-08-04 15:18:51 +02:00
MMP0
81a8f1c65c Update en-us.all.json (#1343) 2017-08-04 14:50:30 +02:00
Lamppostmanufacturer
0d617287ce Update zh-tw.all.json 2017-08-03 14:51:05 +02:00
Lamppostmanufacturer
83644f92ff Update zh-cn.all.json 2017-08-03 14:50:50 +02:00
Lamppostmanufacturer
c448314a84 Update sv-se.all.json 2017-08-03 14:50:34 +02:00
Lamppostmanufacturer
90a709e0cf Update ru-ru.all.json 2017-08-03 14:49:54 +02:00
Lamppostmanufacturer
60e0854192 Update nb-no.all.json 2017-08-03 14:49:28 +02:00
Lamppostmanufacturer
1e0aa8fc87 Update ko-kr.all.json 2017-08-03 14:48:46 +02:00
Lamppostmanufacturer
4a6e7f8cb4 Update is-is.all.json 2017-08-03 14:48:15 +02:00