githaven/options/locale
Jonas Franz 8d5f58d834 Shows total tracked time in issue and milestone list (#3341)
* Show total tracked time in issue and milestone list
Show total tracked time at issue page

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Optimizing TotalTimes by using SumInt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixing wrong total times for milestones caused by a missing JOIN
Adding unit tests for total times

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Logging error instead of ignoring it

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Correcting spelling mistakes

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change error message to a short version

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add error handling to TotalTimes
Add variable for totalTimes

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Introduce TotalTrackedTimes as variable of issue
Load TotalTrackedTimes by loading attributes of IssueList
Load TotalTrackedTimes by loading attributes of single issue
Add Sec2Time as helper to use it in templates

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixed test + gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Load TotalTrackedTimes via MilestoneList instead of single requests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change comment from SQL query to description

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if timetracker is enabled

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test by enabling timetracking

Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-04-29 13:58:47 +08:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2018-04-28 20:46:38 +00:00
locale_en-US.ini Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_lt-LT.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_nb-NO.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_nn-NO.ini [skip ci] Updated translations via Crowdin 2018-04-16 05:28:09 +00:00
locale_no-NO.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2018-04-28 20:46:38 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2018-04-20 09:15:19 +00:00
locale_ru-UA.ini [skip ci] Updated translations via Crowdin 2018-04-16 05:28:09 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2018-04-29 04:48:36 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2018-04-20 00:26:45 +00:00
TRANSLATORS Improve English grammar and consistency. (#3614) 2018-04-19 17:24:31 +03:00