diff options
author | siddweiker <siddweiker@users.noreply.github.com> | 2021-06-25 12:59:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 12:59:25 -0400 |
commit | f573e93ed429d1d1dd0a7be8a3b0042f0817cc00 (patch) | |
tree | d71db3d42e18da8dd0910ac1e2db04ab841e0e9b /models/fixtures | |
parent | 3ef23d5411732b4b714d6fc9739bc5dac75aadd4 (diff) | |
download | gitea-f573e93ed429d1d1dd0a7be8a3b0042f0817cc00.tar.gz gitea-f573e93ed429d1d1dd0a7be8a3b0042f0817cc00.zip |
Fix heatmap activity (#15252)
* Group heatmap actions by 15 minute intervals
Signed-off-by: Sidd Weiker <siddweiker@gmail.com>
* Add multi-contribution test for user heatmap
Signed-off-by: Sidd Weiker <siddweiker@gmail.com>
* Add timezone aware summation for activity heatmap
Signed-off-by: Sidd Weiker <siddweiker@gmail.com>
* Fix api user heatmap test
Signed-off-by: Sidd Weiker <siddweiker@gmail.com>
* Update variable declaration style
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models/fixtures')
-rw-r--r-- | models/fixtures/action.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/models/fixtures/action.yml b/models/fixtures/action.yml index 14cfd90423..e3f3d2a971 100644 --- a/models/fixtures/action.yml +++ b/models/fixtures/action.yml @@ -32,3 +32,27 @@ repo_id: 22 is_private: true created_unix: 1603267920 + +- id: 5 + user_id: 10 + op_type: 1 # create repo + act_user_id: 10 + repo_id: 6 + is_private: true + created_unix: 1603010100 + +- id: 6 + user_id: 10 + op_type: 1 # create repo + act_user_id: 10 + repo_id: 7 + is_private: true + created_unix: 1603011300 + +- id: 7 + user_id: 10 + op_type: 1 # create repo + act_user_id: 10 + repo_id: 8 + is_private: false + created_unix: 1603011540 # grouped with id:7 |