gitlab-org--gitlab-foss/app/views
Zeger-Jan van de Weg 79a5d76801
Add repository languages for projects
Our friends at GitHub show the programming languages for a long time,
and inspired by that this commit means to create about the same
functionality.

Language detection is done through Linguist, as before, where the
difference is that we cache the result in the database. Also, Gitaly can
incrementaly scan a repository. This is done through a shell out, which
creates overhead of about 3s each run. For now this won't be improved.

Scans are triggered by pushed to the default branch, usually `master`.
However, one exception to this rule the charts page. If we're requesting
this expensive data anyway, we just cache it in the database.

Edge cases where there is no repository, or its empty are caught in the
Repository model. This makes use of Redis caching, which is probably
already loaded.

The added model is called RepositoryLanguage, which will make it harder
if/when GitLab supports multiple repositories per project. However, for
now I think this shouldn't be a concern. Also, Language could be
confused with the i18n languages and felt like the current name was
suiteable too.

Design of the Project#Show page is done with help from @dimitrieh. This
change is not visible to the end user unless detections are done.
2018-08-01 18:58:29 +02:00
..
abuse_report_mailer
abuse_reports
admin Merge remote-tracking branch 'origin/master' into 41416-making-instance-wide-data-tools-more-accessible 2018-07-30 12:29:15 +01:00
award_emoji i18n: externalize strings from 'app/views/award_emoji' 2018-06-13 11:25:19 +00:00
ci Update specific runners help URL 2018-07-17 16:17:56 +00:00
dashboard Update .controls positioning 2018-07-13 12:32:07 +05:30
devise Show a reCAPTCHA on signin page if custom header is set 2018-06-21 15:37:34 -07:00
discussions Merge branch 'master' into bootstrap4 2018-05-16 12:46:52 -05:00
doorkeeper Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
email_rejection_mailer Remove EE-specific code from rejection mailer 2018-06-18 12:22:05 +01:00
errors Render access denied without message 2018-06-13 17:03:48 +02:00
events Replace well-list with content-list and hover-list 2018-05-29 08:08:35 -07:00
explore i18n: externalize strings from 'app/views/explore' 2018-07-10 19:07:30 +10:00
groups Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
help Added shortcuts help, i18n 2018-07-04 11:31:28 -05:00
ide Moved repo.css to its own CSS bundle to reduce the size of the main bundle 2018-07-26 08:15:13 +00:00
import Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
instance_statistics Create instance_statistics namespace and move convdev index and cohorts to it 2018-07-27 15:54:26 +02:00
invites
issues Export assigned issues in iCalendar feed 2018-05-31 14:01:04 +00:00
kaminari/gitlab Resolve "BS4: Pagination is pipeline's page has no styling" 2018-06-05 16:38:22 +00:00
koding
layouts missing i18n, the sequel 2018-07-30 12:28:26 +01:00
notify Notify only when unmergeable due to conflict 2018-06-20 23:27:17 +08:00
peek Fix various bugs related to relative_url_root in development 2018-05-31 14:37:40 +02:00
profiles Make it explicit that the message can contain emojis in the settings 2018-07-30 15:01:27 +02:00
projects Add repository languages for projects 2018-08-01 18:58:29 +02:00
repository_check_mailer
search Hide project name if searching against a project 2018-06-11 20:33:40 +08:00
sent_notifications
shared Merge branch 'bvl-user-status-message-35463' into 'master' 2018-08-01 15:21:24 +00:00
sherlock Display GPG status on repository and blob pages 2018-07-23 14:58:21 +00:00
snippets Rename btn-secondary to btn-default 2018-05-10 12:22:56 -07:00
u2f Resolve "2FA should not attempt to use U2F in unsupported browsers" 2018-06-25 08:03:08 +00:00
users Show the status of a user in interactions 2018-07-30 15:01:26 +02:00