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.
gitea/services/context
K Kovacs 34692a20b1
Worktime tracking for the organization level (#19808)
Dear Gitea team,

first of all, thanks for the great work you're doing with this project.

I'm planning to introduce Gitea at a client site, and noticed that while
there is time recording, there are no project-manager-friendly reports
to actually make use of that data, as were also mentioned by others in
#4870 #8684 and #13531.

Since I had a little time last weekend, I had put together something
that I hope to be a useful contribution to this great project (while of
course useful for me too).

This PR adds a new "Worktime" tab to the Organisation level. There is a
date range selector (by default set to the current month), and there are
three possible views:

- by repository,
- by milestone, and
- by team member.

Happy to receive any feedback!

There are several possible future improvements of course (predefined
date ranges, charts, a member time sheet, matrix of repos/members, etc)
but I hope that even in this relatively simple state this would be
useful to lots of people.

<img width="1161" alt="Screen Shot 2022-05-25 at 22 12 58"
src="https://user-images.githubusercontent.com/118010/170366976-af00c7af-c4f3-4117-86d7-00356d6797a5.png">

Keep up the good work!

Kristof

---------

Co-authored-by: user <user@kk-git1>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 weeks ago
..
upload Clarify path param naming (#32969) 2 months ago
access_log.go Remove duplicate "ResponseWriter.Status" method (#33346) 1 month ago
access_log_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 1 month ago
api.go Fix "redirect link" handling (#33440) 4 weeks ago
api_org.go Move context from modules to services (#29440) 1 year ago
api_test.go Move context from modules to services (#29440) 1 year ago
base.go Prepare for support performance trace (#33286) 1 month ago
base_form.go [Feature] Private README.md for organization (#32872) 2 months ago
base_path.go Clarify path param naming (#32969) 2 months ago
base_test.go Refactor request context (#32956) 2 months ago
captcha.go Refactor template & test related code (#32938) 2 months ago
context.go Refactor context flash msg and global variables (#33375) 1 month ago
context_cookie.go Move context from modules to services (#29440) 1 year ago
context_model.go Refactor context repository (#33202) 1 month ago
context_request.go Move context from modules to services (#29440) 1 year ago
context_response.go Add sub issue list support (#32940) 2 months ago
context_template.go Move context from modules to services (#29440) 1 year ago
context_test.go Refactor request context (#32956) 2 months ago
csrf.go Refactor CSRF token (#32216) 5 months ago
org.go Worktime tracking for the organization level (#19808) 3 weeks ago
package.go Refactor request context (#32956) 2 months ago
pagination.go Refactor pagination (#33037) 2 months ago
permission.go Refactor ref type (#33242) 1 month ago
private.go Refactor request context (#32956) 2 months ago
repo.go Fix "redirect link" handling (#33440) 4 weeks ago
response.go Remove duplicate "ResponseWriter.Status" method (#33346) 1 month ago
user.go Clarify path param naming (#32969) 2 months ago
utils.go Move context from modules to services (#29440) 1 year ago
xsrf.go Move context from modules to services (#29440) 1 year ago
xsrf_test.go Move context from modules to services (#29440) 1 year ago