Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-20Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher
2020-11-19Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot
2020-10-21Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-03-25Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Add event presenterJan Provaznik
This presenter will be used in an upcoming MR which adds rendering of epic events on group activity page.
2019-05-22Use blue for activity stream links; use monospace font for commit shaAnnabel Dunstone Gray
2019-05-13Rename methods that conflict in Rails 5.2Heinrich Lee Yu
Adds suffix to enum methods and changes `in_groups` to `of_groups`
2019-04-25Add auto direction to support rtl languagesAhmad Haghighi
2019-02-06Resolve "Empty states for profile page"Dennis Tang
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-02Resolve "User activity is stuck loading when there is none"Martin Wortschack
2018-11-14Resolve "Activity Feed - Missing padding in event note when a branch is deleted"Martin Wortschack
2018-11-06Resolve "Redesign activity feed"Martin Wortschack
2018-09-11Fix the group and project activity pagesNick Thomas
2018-09-07Include private contributions in user contribution graphGeorge Tsiolis
2018-09-05Resolve "<link href=""> and <a href=""> not properly filled in activity RSS ↵schwedenmut
feed"
2018-05-29Replace well-list with content-list and hover-listAnnabel Dunstone Gray
2018-04-09Replace <blockquote> with .blockquoteClement Ho
2018-02-13Use more specific #avatar_icon_for_user.Andreas Brandl
Whenever we already deal with a User object, let's use the more specific method avatar_icon_for_user.
2017-12-19Fix tags in the Activity tab not being clickableMario de la Ossa
2017-11-28Reuse authors when rendering event Atom feedsYorick Peterse
Previously we'd use "event.author_email" which translates to "event.author.email". This would result in an extra query being executed _for every event_ just to get the same author's Email address. Instead of doing all this useless work we can just pass the User object returned by "event.author" since: 1. This allows us to re-use the user object's Email address. 2. Authors are eager-loaded, so this doesn't cause any N+1 queries.
2017-11-06Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López
2017-10-06Fix the number representing the amount of commits related to a push eventMark Fletcher
2017-08-22Fix display of push events for removed refsYorick Peterse
This changes the style of push events that remove tags or branches so they don't display the commit details. This prevents displaying commit details such as: 000000 . --broken encoding Instead we now simply display the header such as: Administrator deleted branch example-branch This is displayed in the same style as events for newly created branches/tags. This commit also ensures that if no commit message is present we simply don't display anything, instead of "--broken encoding". Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36685 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36722
2017-08-10Migrate events into a new formatYorick Peterse
This commit migrates events data in such a way that push events are stored much more efficiently. This is done by creating a shadow table called "events_for_migration", and a table called "push_event_payloads" which is used for storing push data of push events. The background migration in this commit will copy events from the "events" table into the "events_for_migration" table, push events in will also have a row created in "push_event_payloads". This approach allows us to reclaim space in the next release by simply swapping the "events" and "events_for_migration" tables, then dropping the old events (now "events_for_migration") table. The new table structure is also optimised for storage space, and does not include the unused "title" column nor the "data" column (since this data is moved to "push_event_payloads"). == Newly Created Events Newly created events are inserted into both "events" and "events_for_migration", both using the exact same primary key value. The table "push_event_payloads" in turn has a foreign key to the _shadow_ table. This removes the need for recreating and validating the foreign key after swapping the tables. Since the shadow table also has a foreign key to "projects.id" we also don't have to worry about orphaned rows. This approach however does require some additional storage as we're duplicating a portion of the events data for at least 1 release. The exact amount is hard to estimate, but for GitLab.com this is expected to be between 10 and 20 GB at most. The background migration in this commit deliberately does _not_ update the "events" table as doing so would put a lot of pressure on PostgreSQL's auto vacuuming system. == Supporting Both Old And New Events Application code has also been adjusted to support push events using both the old and new data formats. This is done by creating a PushEvent class which extends the regular Event class. Using Rails' Single Table Inheritance system we can ensure the right class is used for the right data, which in this case is based on the value of `events.action`. To support displaying old and new data at the same time the PushEvent class re-defines a few methods of the Event class, falling back to their original implementations for push events in the old format. Once all existing events have been migrated the various push event related methods can be removed from the Event model, and the calls to `super` can be removed from the methods in the PushEvent model. The UI and event atom feed have also been slightly changed to better handle this new setup, fortunately only a few changes were necessary to make this work. == API Changes The API only displays push data of events in the new format. Supporting both formats in the API is a bit more difficult compared to the UI. Since the old push data was not really well documented (apart from one example that used an incorrect "action" nmae) I decided that supporting both was not worth the effort, especially since events will be migrated in a few days _and_ new events are created in the correct format.
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-05-25Consistently display last push event widgetDouwe Maan
2017-05-12Consistently use monospace font for commit SHAs and branch and tag namesDouwe Maan
2017-04-27Add username to activity atom feed (!10802)winniehell
2017-04-11Add helper for using avatars vs iconsAnnabel Dunstone Gray
2017-04-11Reuse system notes helper for profile event iconsAnnabel Dunstone Gray
2017-04-11Only show icons on profile page; change to case statementAnnabel Dunstone Gray
2017-04-10Use avatars instead of icons in activity viewAnnabel Dunstone Gray
2017-04-07Put back usernames in activity and profile feedAnnabel Dunstone Gray
2017-04-07Merge branch '24784-mr-system-notes' into 'master' Annabel Dunstone Gray
View helpful system note in comment threads Closes #24784 See merge request !10503
2017-04-07Fix newline errorsAnnabel Dunstone Gray
2017-04-07Add remaining system note iconsAnnabel Dunstone Gray
2017-04-06Corrected capitalizacion on various sectionsJose Ivan Vargas
2017-04-03Add deleted branch iconAnnabel Dunstone Gray
2017-04-03Change color of iconsAnnabel Dunstone Gray
2017-04-03Differentiate between event typesAnnabel Dunstone Gray
2017-04-03Start adding profile iconsAnnabel Dunstone Gray
2017-03-21Merge branch 'fix-links-target-blank' into 'security'Jacob Schatz
Adds rel="noopener noreferrer" to all links with target="_blank" See merge request !2071
2017-03-21Merge branch '28058-hide-emails-in-atom-feeds' into 'security'Rémy Coutable
Only show public emails in atom feeds See merge request !2066
2017-03-12Fix xml.updated field in rss/atom feedsblackst0ne
2017-02-15Remove Link from Push Events for deleted branchesJan Christophersen