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/modules
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
..
actions Fix wrong status of `Set up Job` when first step is skipped (#32120) 5 months ago
activitypub Enable tenv and testifylint rules (#32852) 2 months ago
analyze Refactor older tests to use testify (#33140) 2 months ago
assetfs Fix unittest and repo create bug (#33061) 2 months ago
auth Fix pam auth test regression (#33169) 2 months ago
avatar Use `crypto/sha256` (#29386) 1 year ago
badge Implement actions badge svgs (#28102) 1 year ago
base Refactor "string truncate" (#32984) 2 months ago
cache fix(cache): cache test triggered by non memory cache (#33220) 1 month ago
charset refactor: remove redundant err declarations (#32381) 4 months ago
container Refactor sidebar assignee&milestone&project selectors (#32465) 4 months ago
csv Refactor markup render system (#32589) 3 months ago
dump Enable tenv and testifylint rules (#32852) 2 months ago
emoji Refactor older tests to use testify (#33140) 2 months ago
eventsource Refactor older tests to use testify (#33140) 2 months ago
generate Refactor JWT secret generating & decoding code (#29172) 1 year ago
git Link to tree views of submodules if possible (#33424) 4 weeks ago
gitgraph Refactor older tests to use testify (#33140) 2 months ago
gitrepo [Feature] Private README.md for organization (#32872) 2 months ago
globallock Make API "compare" accept commit IDs (#32801) 3 months ago
graceful Refactor pprof labels and process desc (#32909) 2 months ago
gtprof Support performance trace (#32973) 1 month ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 6 months ago
htmlutil Refactor HTMLFormat, update chroma render, fix js error (#33136) 2 months ago
httpcache Fix wrong last modify time (#32102) 5 months ago
httplib Fix SSH LFS memory usage (#33455) 4 weeks ago
indexer Refactor older tests to use testify (#33140) 2 months ago
issue/template Refactor older tests to use testify (#33140) 2 months ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Revert empty lfs ref name (#33454) 4 weeks ago
lfstransfer Fix SSH LFS memory usage (#33455) 4 weeks ago
log Refactor pprof labels and process desc (#32909) 2 months ago
markup Refactor context repository (#33202) 1 month ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Rename project board -> column to make the UI less confusing (#30170) 9 months ago
migration Support migrating GitHub/GitLab PR draft status (#32242) 4 months ago
nosql Refactor older tests to use testify (#33140) 2 months ago
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 10 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Refactor package (routes and error handling, npm peer dependency) (#33111) 2 months ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Fix SSH LFS memory usage (#33455) 4 weeks ago
process Refactor pprof labels and process desc (#32909) 2 months ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Refactor CORS handler (#28587) 1 year ago
queue Refactor older tests to use testify (#33140) 2 months ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Add sub issue list support (#32940) 2 months ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Trivial fixes (#33304) 1 month ago
reqctx [Feature] Private README.md for organization (#32872) 2 months ago
secret Use `crypto/sha256` (#29386) 1 year ago
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
setting Support disable passkey auth (#33348) 1 month ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Fine tune ssh related comments and code (#32846) 2 months ago
storage Refactor user & avatar (#33433) 4 weeks ago
structs Inclusion of rename organization api (#33303) 3 weeks ago
svg Add sub issue list support (#32940) 2 months ago
sync Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 6 months ago
system Refactor fixture loading for testing (#33024) 2 months ago
tailmsg Support performance trace (#32973) 1 month ago
templates Worktime tracking for the organization level (#19808) 3 weeks ago
test Refactor template & test related code (#32938) 2 months ago
testlogger Improve testing and try to fix MySQL hanging (#32515) 3 months ago
timeutil Refactor DateUtils and merge TimeSince (#32409) 4 months ago
translation Render embedded code preview by permlink in markdown (#30234) 11 months ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Add avif image file support (#32508) 3 months ago
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Refactor older tests to use testify (#33140) 2 months ago
util Worktime tracking for the organization level (#19808) 3 weeks ago
validation Refactor context flash msg and global variables (#33375) 1 month ago
web Refactor context flash msg and global variables (#33375) 1 month ago
webhook Refactor webhook events (#33337) 1 month ago
zstd Support compression for Actions logs (#31761) 7 months ago