You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to 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>
7 years ago
.github Comment help text for issues (#2281) 8 years ago
assets Add task to generate images from SVG and change to new logo (#2194) 8 years ago
cmd Implements generator cli for secrets (#3531) 7 years ago
contrib Drop unmaintained gogs migration script (#2947) 7 years ago
custom/conf Add EnableTimetracking option to app settings (#3719) 7 years ago
docker Update certificates to enable self-signed certs (#3708) 7 years ago
docs Fix building of docs with latest hugo version (#3856) 7 years ago
integrations Improve English grammar and consistency. (#3614) 7 years ago
models Shows total tracked time in issue and milestone list (#3341) 7 years ago
modules Shows total tracked time in issue and milestone list (#3341) 7 years ago
options Shows total tracked time in issue and milestone list (#3341) 7 years ago
public Add swagger check (#3811) 7 years ago
routers Shows total tracked time in issue and milestone list (#3341) 7 years ago
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 7 years ago
templates Shows total tracked time in issue and milestone list (#3341) 7 years ago
vendor Update blackfriday dependency per #2994 (#3857) 7 years ago
.changelog.yml Add changelog config file for generate changelog (#2461) 8 years ago
.drone.yml Add swagger check (#3811) 7 years ago
.editorconfig switch gitter to discord for drone. (#1971) 8 years ago
.gitattributes ignore static files statstics for linguist 8 years ago
.gitignore Use standard lessc and minify CSS using Node.js (#2337) 7 years ago
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 7 years ago
CHANGELOG.md add changelog for 1.4.0 (#3435) 7 years ago
CONTRIBUTING.md Update standard copyright header for new year (#3289) 7 years ago
DCO follow the advisor: add DCO and some improvements 8 years ago
Dockerfile Docker multi-stage (#2927) 7 years ago
LICENSE Fix typo 8 years ago
MAINTAINERS Add myself to MAINTAINERS (#3680) 7 years ago
Makefile Add swagger check (#3811) 7 years ago
README.md Add opencollective badges on READMEs (#3808) 7 years ago
README_ZH.md Add opencollective badges on READMEs (#3808) 7 years ago
main.go Implements generator cli for secrets (#3531) 7 years ago
package.json Add Attachment API (#3478) 7 years ago

README.md

简体中文

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.