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

97 commits

Auteur SHA1 Message Date
kilo dd94402f04
Fixes & improvements (#1684)
* Update main.css

* Update torrent_item.jet.html

* Update main.js

* Update torrent_item.jet.html

* Update main.js

* Update main.js

* Update main.js

* Update main.js

* Update main.js

* Update template_functions_test.go

* Update template_functions_test.go

* Update user.go

* Update profile.jet.html

* Update view.jet.html

* Update template_functions.go

* Update en-us.all.json

* Add files via upload

* Update CHANGELOG.md

* Update main.css

* Update template_functions.go

* Add files via upload

* Update en-us.all.json

* Update template_functions_test.go

* Update view.jet.html

* Update main.css

* Update ja-jp.all.json

* Update main.css

* Update edit.jet.html

* Update main.css

* Update tomorrow.css

* Update ja-jp.all.json

* Update main.css

* Update view.jet.html

* Update comment.go

* Update create.go

* Update classic.css

* Make GetOldNavFromRequest return true by default

* Update view.jet.html

* Force torrent date in UTC+0 timezone during display

* ditto

* Update ja-jp.all.json

* Update oldNav.jet.html

* Update structs.go

* Update default_config.yml

* Update torrent.go

* Update stats.go

* Update stats.go

* Update user.go

* Update template_functions.go

* Update template_functions_test.go

* Update torrent.go

* Update comment.go

* Update view.jet.html

* Update main.css

* Update user.go

* Update template_functions.go

* Update profile.jet.html

* Update main.js
2017-10-28 18:28:59 +02:00
Myrmece a4e785ac89 Updated translation. (#1694) 2017-10-28 17:24:26 +02:00
Myrmece 908f20de20 Updated translation. (#1687) 2017-10-21 12:21:52 +02:00
Myrmece 1454ee05b8 Updated translation. (#1661) 2017-10-14 08:29:22 +02:00
Myrmece 06ce41f04f Updated translation. (#1659) 2017-10-13 04:58:05 +02:00
Myrmece c72604cc22 Updated translation. (#1645) 2017-10-10 04:53:28 +02:00
Myrmece 5edfc9f81f Updated translation. (#1635) 2017-10-04 18:02:34 +02:00
Myrmece 51d3520828 Updated translation. (#1632) 2017-10-04 13:47:04 +02:00
Myrmece a6ff5d3fd6 Updated translation. (#1617) 2017-09-25 12:40:15 +02:00
Myrmece 24c308cc99 Updated translation. (#1596) 2017-09-19 17:52:26 +02:00
Myrmece 951f94d988 Updated translation. (#1591) 2017-09-18 16:26:27 +02:00
Myrmece 1f07736742 Updated translation. (#1580) 2017-09-18 01:03:03 +02:00
Myrmece 5f485a2d75 Updated translation. (#1567) 2017-09-15 00:45:07 +02:00
Myrmece efc37cf981 Updated translation. (#1559) 2017-09-12 23:54:16 +02:00
Myrmece 9f36485b1e Updated translation. (#1557) 2017-09-12 14:27:54 +02:00
Myrmece 0d1ff6273a Updated translation. (#1555)
* Updated translation.

* gonna change that right now actually
2017-09-12 01:22:53 +02:00
Myrmece 782fcfdd90 Updated translation. (#1546) 2017-09-11 00:43:55 +02:00
Myrmece 5b1c6aed4e Updated translation. (#1541) 2017-09-09 11:53:01 +02:00
Myrmece f22d463a71 Updated translation. (#1526) 2017-09-07 09:05:24 +02: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
Myrmece 2187c2e06a Updated translation. (#1496) 2017-09-04 22:15:00 +10:00
Myrmece da005b6635 Updated translation. (#1431) 2017-08-29 00:37:44 +10:00
Myrmece 3cbfffc19c Updated translation. (#1413) 2017-08-28 08:44:04 +10:00
Myrmece 323d090203 Updated translation. (#1401) 2017-08-26 23:42:37 +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
Myrmece 21058924a3 Updated translation. (#1372) 2017-08-15 16:44:04 +10:00
Myrmece e1cf80169c Updated translation. (#1347) 2017-08-04 15:18:51 +02:00
Myrmece 57708f7185 Updated translation. 2017-08-03 13:49:18 +02:00
akuma06 1dbfe1b3b4 Added moderation part + tests 2017-08-03 03:38:07 +02:00
Myrmece 518f59d089 Updated translation. (#1322) 2017-08-02 19:35:16 +02:00
Myrmece 526e148dd0 Updated translation. (#1297) 2017-07-30 12:51:49 +10:00
Myrmece 5823f3d44b Updated translation. (#1288) 2017-07-28 13:46:54 +10:00
PantsuDev d9142a73c3 Fix most go lint warnings 2017-07-23 15:50:18 +10:00
Myrmece c437cab287 Updated translation. (#1238) 2017-07-19 17:54:07 +10:00
Myrmece 43874b462c Updated translation. (#1233) 2017-07-18 20:50:15 +02:00
Myrmece 7c75a85b39 Updated translation. (#1228) 2017-07-18 02:03:48 +02:00
akuma06 5da9fe607c Merge branch 'dev' into refactor 2017-07-13 14:23:28 +02:00
kilo 2943fdf6e1 Add small "language is not mandatory" message (#1129)
* add class in css

* html change

* Update en-us.all.json

* Update fr-fr.all.json
2017-07-09 12:19:59 +10:00
Myrmece 39e4b6df36 Updated translation. (#1082) 2017-06-28 21:44:37 +10:00
Myrmece 5f99762dbc Updated translation. (#1048) 2017-06-21 20:51:51 +10:00
Myrmece a8669c5294 Updated translation. (#1035) 2017-06-21 09:21:48 +10:00
Myrmece 83b67404b7 Updated translation. (#1031) 2017-06-20 16:32:46 +10:00
Myrmece e8c0fcb597 Updated translation. (#1012) 2017-06-16 15:45:35 +10:00
Myrmece 4200e23160 Updated translation. 2017-06-15 19:02:12 +02:00
Myrmece aefeb7e5f9 Updated translation. 2017-06-14 18:12:01 +02:00
Myrmece 138b731181 Updated translation. (#989) 2017-06-13 20:59:13 +10:00
Myrmece 7ee5e913b1 Updated translation. (#985) 2017-06-13 08:27:45 +10:00
Myrmece fadc38175b Updated translation. (#975) 2017-06-10 21:09:14 +10:00