Commit graph

12 commits

Author SHA1 Message Date
Rémy Coutable
4f51e1fad0
Add comment events to contributions calendar
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-13 18:59:13 +01:00
Robert Speicher
b0088b527e
Merge branch '23403-fix-events-for-private-project-features' into 'security'
Respect project visibility settings in the contributions calendar

This MR fixes a number of bugs relating to access controls and date selection of events for the contributions calendar

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23403

See merge request !2019

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-09 12:27:41 +01:00
Clement Ho
a147b43dcc Replace contributions calendar timezone payload with dates 2016-09-16 14:38:59 -05:00
Clement Ho
a15e9f02b8 Reduce contributions calendar data payload 2016-08-25 16:00:39 -05:00
Phil Hughes
18b361cf80 Group the contributing calendar by day
This aligns the boxes correctly with the day on the left side of the calendar
2016-05-16 12:22:17 +01:00
Robert Speicher
1a1113f7c4 Simplify ContributionsCalendar#starting_year and #starting_month 2016-01-01 22:11:34 -05:00
Guilherme Garnier
59d0263bc8 Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
Zhang Sen
0cbafa4d65 Fix contributions calendar empty problem under mysql
When using MySQL as database backend in GitLab, ``date`` in ``date(created_at), count(id) as total_amount``
won't return the ``date`` column (should be ``date(created_at)``), as a result, there's no contribution in the user
profile page.
Adding an ``as date`` can solve this problem.
2015-04-25 20:13:52 +08:00
Dmitriy Zaporozhets
8494170550 Improve contribution calendar per day info 2015-03-22 14:52:44 -07:00
Dmitriy Zaporozhets
54aca18cf8 Contribution calendar will use events instead of commits to count contributions 2015-03-22 14:35:27 -07:00
Dmitriy Zaporozhets
43afe46bbd Refactor contributions events and write tests for calendar 2015-03-22 13:55:00 -07:00
Dmitriy Zaporozhets
64891c6c40 Replace commits calendar with contributions calendar
* count opening of issues and merge requests
* dont trigger git repository - use events from database
* much-much faster since does not affected by repository size
2015-03-21 23:48:08 -07:00