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

486 commits

Auteur SHA1 Message Date
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
Lamppostmanufacturer
14ac2de5b5 Update hu-hu.all.json 2017-08-03 14:47:45 +02:00
Lamppostmanufacturer
7542dda4dd Update es-es.all.json 2017-08-03 14:46:49 +02:00
Lamppostmanufacturer
6202228403 Update de-de.all.json 2017-08-03 14:39:50 +02:00
ewhal
1fa234e164 Merge pull request #1330 from MMP0/patch-15
Update Japanese translation
2017-08-03 22:21:18 +10:00
MMP0
5e2103c15c Update ja-jp.all.json 2017-08-03 21:07:11 +09:00
Myrmece
57708f7185 Updated translation. 2017-08-03 13:49:18 +02:00
ewhal
445374242f Merge pull request #1327 from NyaaPantsu/pr/1242
Announcement [done]
2017-08-03 21:23:05 +10:00
akuma06
1dbfe1b3b4 Added moderation part + tests 2017-08-03 03:38:07 +02:00
Eduard Ereza Martínez
4550329234 Update Catalan translation (#1326) 2017-08-03 11:15:30 +10:00
akuma06
818a100bfc Merge branch 'dev' into patch-7 2017-08-02 22:15:06 +02:00
Myrmece
518f59d089 Updated translation. (#1322) 2017-08-02 19:35:16 +02:00
MMP0
5632f8eab4 Update Japanese translation (#1318)
* 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-08-02 19:34:32 +02:00
akuma06
78f8b90129 Added comments on mod route +delete all tags link (#1316) 2017-08-02 15:06:34 +02:00
Lamppostmanufacturer
3af141f852 Update de-de.all.json (#1310)
* Update de-de.all.json

* Update en-us.all.json
2017-08-02 22:01:24 +10:00
akuma06
a38f79eaf5 Merge branch 'dev' into tags 2017-07-31 17:15:32 +02:00
MMP0
d77b69e613 Update Japanese translation (#1300)
* Update ja-jp.all.json

* Fix syntax error(?)

* 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

* Update ja-jp.all.json
2017-07-30 12:52:26 +10:00
Myrmece
526e148dd0 Updated translation. (#1297) 2017-07-30 12:51:49 +10:00
akuma06
fe2c128e44 Added form to add tags on view 2017-07-30 03:29:09 +02:00
akuma06
51d7fe2ef7 Added html views + fix template test + View & JSON Controller 2017-07-29 14:43:12 +02:00
MMP0
34d4400c09 Update ja-jp.all.json (#1291) 2017-07-28 13:47:08 +10:00
Myrmece
5823f3d44b Updated translation. (#1288) 2017-07-28 13:46:54 +10:00
akuma06
03ea72595d OAuth API [done] (#1275)
* Initial Commit for OAuth API

This builds and run and return the right error.
Need to test it and then adding all users as possible client

* Added mising dependency

* just compile already...

* Fixing template test

* Imrpovements

Moved db stuff in models
Added some tests
Added form in modpanel to add/update a client
Added controllers for add/update of client

* Added Forms + speed improvements

Controller oauth client listing + html
Controller oauth client delete + messages
Messages on comment delete
New ES config that disable ES if set to false. Improve load speed on local development
Fix a load config bug
Fix index admin & translation string sign_out broken by @ewhal

* Sanitize empty strig in form array + css

Multiple empty array of strings are sanitized for the oauth client create form
Added some css for the form display

* Upload and Create form works

* Fix splitting response types

* Removing required on secret when updating

* fix travis error

* Fix travis template test

* Update dependency

* Moved to jinzhu instead of azhao

* randomizen secret on creation

* Final touch on oath api

improved display name
fix grant form csrf
fix login csrf on oauth

* Fix gorm test

* fix template test

* Fixing deleted dependency issue

* Make travis faster

* Fix typo

* Fix csrf for api calls

* This shouldn't be exempt

* Removing hard coded hash

@ewhal Don't forget to replace the hash in tokens.go with another one

* Added an example on how to use OAuth middleware

* Renamed fosite utils to oauth2 utils
2017-07-28 13:46:40 +10:00