No description
Find a file
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
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
contrib Drop unmaintained gogs migration script (#2947) 2017-11-21 08:52:48 +08:00
custom/conf Add EnableTimetracking option to app settings (#3719) 2018-04-09 23:15:32 +08:00
docker Update certificates to enable self-signed certs (#3708) 2018-03-25 13:47:06 +03:00
docs Fix building of docs with latest hugo version (#3856) 2018-04-28 23:46:05 +03:00
integrations Improve English grammar and consistency. (#3614) 2018-04-19 17:24:31 +03:00
models Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
modules Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
options Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
public Add swagger check (#3811) 2018-04-20 17:13:50 +08:00
routers Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
templates Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
vendor Update blackfriday dependency per #2994 (#3857) 2018-04-29 13:07:36 +08:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Add swagger check (#3811) 2018-04-20 17:13:50 +08:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore Use standard lessc and minify CSS using Node.js (#2337) 2017-09-21 11:35:11 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
CHANGELOG.md add changelog for 1.4.0 (#3435) 2018-01-31 17:40:57 +02:00
CONTRIBUTING.md Update standard copyright header for new year (#3289) 2018-01-02 20:03:24 -06:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Docker multi-stage (#2927) 2018-03-12 11:59:13 +02:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
MAINTAINERS Add myself to MAINTAINERS (#3680) 2018-03-16 21:49:03 +02:00
Makefile Add swagger check (#3811) 2018-04-20 17:13:50 +08:00
package.json Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
README.md Add opencollective badges on READMEs (#3808) 2018-04-17 17:10:34 +08:00
README_ZH.md Add opencollective badges on READMEs (#3808) 2018-04-17 17:10:34 +08:00

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc Release Help Contribute to Open Source Become a backer/sponsor of gitea

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or forum!

Authors

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.