mirror of
https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo.git
synced 2025-07-31 02:00:06 +02:00

Problem: Only data from the past 365 days (31536000s) is loaded. However, on the activity heatmap, there are 53 cols, each is 7 rows, so squares for at most 371 days (32054400s) are on the heatmap. This results in a few blank squares on the very left side, despite activity. Solution: Simply changing 31536000s (365d) to 32054400s (371d) to load all the needed activity. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7893 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Granular9241 <granular9241@noreply.codeberg.org> Co-committed-by: Granular9241 <granular9241@noreply.codeberg.org>
84 lines
No EOL
1.4 KiB
YAML
84 lines
No EOL
1.4 KiB
YAML
-
|
|
id: 1
|
|
user_id: 2
|
|
op_type: 12 # close issue
|
|
act_user_id: 2
|
|
repo_id: 2 # private
|
|
is_private: true
|
|
created_unix: 1603228283
|
|
content: '1|' # issueId 4
|
|
|
|
-
|
|
id: 2
|
|
user_id: 3
|
|
op_type: 2 # rename repo
|
|
act_user_id: 2
|
|
repo_id: 3 # private
|
|
is_private: true
|
|
content: oldRepoName
|
|
|
|
-
|
|
id: 3
|
|
user_id: 11
|
|
op_type: 1 # create repo
|
|
act_user_id: 11
|
|
repo_id: 9 # public
|
|
is_private: false
|
|
|
|
-
|
|
id: 4
|
|
user_id: 16
|
|
op_type: 12 # close issue
|
|
act_user_id: 16
|
|
repo_id: 22 # private
|
|
is_private: true
|
|
created_unix: 1603267920
|
|
|
|
- id: 5
|
|
user_id: 10
|
|
op_type: 1 # create repo
|
|
act_user_id: 10
|
|
repo_id: 6 # private
|
|
is_private: true
|
|
created_unix: 1603010100
|
|
|
|
- id: 6
|
|
user_id: 10
|
|
op_type: 1 # create repo
|
|
act_user_id: 10
|
|
repo_id: 7 # private
|
|
is_private: true
|
|
created_unix: 1603011300
|
|
|
|
- id: 7
|
|
user_id: 10
|
|
op_type: 1 # create repo
|
|
act_user_id: 10
|
|
repo_id: 8 # public
|
|
is_private: false
|
|
created_unix: 1603011540 # grouped with id:7
|
|
|
|
- id: 8
|
|
user_id: 1
|
|
op_type: 12 # close issue
|
|
act_user_id: 1
|
|
repo_id: 1700 # dangling intentional
|
|
is_private: false
|
|
created_unix: 1603011541
|
|
|
|
- id: 9
|
|
user_id: 34
|
|
op_type: 12 # close issue
|
|
act_user_id: 34
|
|
repo_id: 1 # public
|
|
is_private: false
|
|
created_unix: 1680454039
|
|
content: '4|' # issueId 5
|
|
|
|
- id: 10
|
|
user_id: 40
|
|
op_type: 1 # create repo
|
|
act_user_id: 40
|
|
repo_id: 60 # public
|
|
is_private: false
|
|
created_unix: 1577404800 # end of heatmap |