Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Counter in gitlab tab

Tey, Benjamin339050aad92a
diff --git a/README.md b/README.md
index 3424617c8f1..28c0328aadd 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,17 @@
# openproject-gitlab-integration
-## NEW VERSION 2.0.7 GA
+## NEW VERSION 2.0.8 GA
Based on the current Github integration (OpenProject 12), this plugin offers the same functionalities as the current plugin for Github (and something else). This version includes changes to the DB and a new view similar to the current Github tab. Only the management of "pipelines" is pending an open issue in Gitlab (https://gitlab.com/gitlab-org/gitlab/-/issues/345028).
-<img width="562" src="https://user-images.githubusercontent.com/14983519/220770714-c06e9b5f-7f1f-40e2-9775-59b77a97d604.png">
+<img width="559" alt="preview" src="https://user-images.githubusercontent.com/14983519/225098893-a8753955-ef14-4494-b06b-673267cbda7e.png">
This 2.x version includes a UI with all linked MRs, their status, their labels and the last pipeline *(pending the Gitlab issue)*.
## Introduction
OpenProject module for integration with Gitlab:
-* Latest Gitlab release tested: **15.8.3**
-* Latest OpenProject release tested: **12.4.4** (for OpenProject versions earlier than 12.2.0 use v2.0.5, and for version earlier than 12.1.0 use v2.0.4)
+* Latest Gitlab release tested: **15.9**
+* Latest OpenProject release tested: **12.4.5** (for OpenProject versions earlier than 12.2.0 use v2.0.5, and for version earlier than 12.1.0 use v2.0.4)
This plugin is based on the current [plugin to integrate Github with OpenProject](https://www.openproject.org/docs/system-admin-guide/integrations/github-integration/).
diff --git a/app/models/gitlab_merge_request.rb b/app/models/gitlab_merge_request.rb
index 6218467d5e3..ca99e18eb59 100644
--- a/app/models/gitlab_merge_request.rb
+++ b/app/models/gitlab_merge_request.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/app/models/gitlab_pipeline.rb b/app/models/gitlab_pipeline.rb
index 338899c757c..4433ad3e840 100644
--- a/app/models/gitlab_pipeline.rb
+++ b/app/models/gitlab_pipeline.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/app/models/gitlab_user.rb b/app/models/gitlab_user.rb
index 31d4212bcff..1e0015824da 100644
--- a/app/models/gitlab_user.rb
+++ b/app/models/gitlab_user.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/app/workers/cron/clear_old_merge_requests_job.rb b/app/workers/cron/clear_old_merge_requests_job.rb
index 80f85238ea6..ce3806f326d 100644
--- a/app/workers/cron/clear_old_merge_requests_job.rb
+++ b/app/workers/cron/clear_old_merge_requests_job.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ar.yml b/config/locales/crowdin/ar.yml
index d89f971c8b4..4640bb30224 100644
--- a/config/locales/crowdin/ar.yml
+++ b/config/locales/crowdin/ar.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/bg.yml b/config/locales/crowdin/bg.yml
index 02fd6265944..ac16b593442 100644
--- a/config/locales/crowdin/bg.yml
+++ b/config/locales/crowdin/bg.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ca.yml b/config/locales/crowdin/ca.yml
index bf38da46bea..7c4b926621b 100644
--- a/config/locales/crowdin/ca.yml
+++ b/config/locales/crowdin/ca.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/cs.yml b/config/locales/crowdin/cs.yml
index 8cddda63ec4..5f7350af23d 100644
--- a/config/locales/crowdin/cs.yml
+++ b/config/locales/crowdin/cs.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/da.yml b/config/locales/crowdin/da.yml
index b92d366080f..f275e1d3ae9 100644
--- a/config/locales/crowdin/da.yml
+++ b/config/locales/crowdin/da.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/de.yml b/config/locales/crowdin/de.yml
index fdec7b9cc12..7b921962955 100644
--- a/config/locales/crowdin/de.yml
+++ b/config/locales/crowdin/de.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/el.yml b/config/locales/crowdin/el.yml
index 32ece46687e..f98c9606f96 100644
--- a/config/locales/crowdin/el.yml
+++ b/config/locales/crowdin/el.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/es.yml b/config/locales/crowdin/es.yml
index b241daab87f..964afa0aeb3 100644
--- a/config/locales/crowdin/es.yml
+++ b/config/locales/crowdin/es.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/fi.yml b/config/locales/crowdin/fi.yml
index 96db43ec7d0..c6c1df440e7 100644
--- a/config/locales/crowdin/fi.yml
+++ b/config/locales/crowdin/fi.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/fil.yml b/config/locales/crowdin/fil.yml
index 8f3c45b2f19..b2a456b5c21 100644
--- a/config/locales/crowdin/fil.yml
+++ b/config/locales/crowdin/fil.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/fr.yml b/config/locales/crowdin/fr.yml
index 64d8c8a87f7..fef1f113818 100644
--- a/config/locales/crowdin/fr.yml
+++ b/config/locales/crowdin/fr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/hr.yml b/config/locales/crowdin/hr.yml
index c242ff118e5..308f94c45cd 100644
--- a/config/locales/crowdin/hr.yml
+++ b/config/locales/crowdin/hr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/hu.yml b/config/locales/crowdin/hu.yml
index cd0a5322b37..a95e8057530 100644
--- a/config/locales/crowdin/hu.yml
+++ b/config/locales/crowdin/hu.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/id.yml b/config/locales/crowdin/id.yml
index fee8c289aba..bb4954d3c5e 100644
--- a/config/locales/crowdin/id.yml
+++ b/config/locales/crowdin/id.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/it.yml b/config/locales/crowdin/it.yml
index 1958ba0a681..a10cdf8223a 100644
--- a/config/locales/crowdin/it.yml
+++ b/config/locales/crowdin/it.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ja.yml b/config/locales/crowdin/ja.yml
index d1d0067e71a..cd098bdacdc 100644
--- a/config/locales/crowdin/ja.yml
+++ b/config/locales/crowdin/ja.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ar.yml b/config/locales/crowdin/js-ar.yml
index 80acef0cbbc..3e2028a64cb 100644
--- a/config/locales/crowdin/js-ar.yml
+++ b/config/locales/crowdin/js-ar.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-bg.yml b/config/locales/crowdin/js-bg.yml
index 97ab6ef8f38..3cd8fa468f3 100644
--- a/config/locales/crowdin/js-bg.yml
+++ b/config/locales/crowdin/js-bg.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ca.yml b/config/locales/crowdin/js-ca.yml
index 0b6d059dfc5..c0204c42e06 100644
--- a/config/locales/crowdin/js-ca.yml
+++ b/config/locales/crowdin/js-ca.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-cs.yml b/config/locales/crowdin/js-cs.yml
index 650fb0fb19f..a5d495518c2 100644
--- a/config/locales/crowdin/js-cs.yml
+++ b/config/locales/crowdin/js-cs.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-da.yml b/config/locales/crowdin/js-da.yml
index 5a0dfb4166c..eac4cb5ec5c 100644
--- a/config/locales/crowdin/js-da.yml
+++ b/config/locales/crowdin/js-da.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-de.yml b/config/locales/crowdin/js-de.yml
index 7f977cf9e04..b194a00b07c 100644
--- a/config/locales/crowdin/js-de.yml
+++ b/config/locales/crowdin/js-de.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-el.yml b/config/locales/crowdin/js-el.yml
index 7f137d133e5..cb195d5a8e6 100644
--- a/config/locales/crowdin/js-el.yml
+++ b/config/locales/crowdin/js-el.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-es.yml b/config/locales/crowdin/js-es.yml
index 7197c175e9d..bcd3948614f 100644
--- a/config/locales/crowdin/js-es.yml
+++ b/config/locales/crowdin/js-es.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-fi.yml b/config/locales/crowdin/js-fi.yml
index bbeb52128ac..cc7472c9b9b 100644
--- a/config/locales/crowdin/js-fi.yml
+++ b/config/locales/crowdin/js-fi.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-fil.yml b/config/locales/crowdin/js-fil.yml
index cfc2447a053..8ec030ecc1d 100644
--- a/config/locales/crowdin/js-fil.yml
+++ b/config/locales/crowdin/js-fil.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-fr.yml b/config/locales/crowdin/js-fr.yml
index 92c71735c98..1a8b5fa42d9 100644
--- a/config/locales/crowdin/js-fr.yml
+++ b/config/locales/crowdin/js-fr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-hr.yml b/config/locales/crowdin/js-hr.yml
index 68da7f355d4..4a7ba75de54 100644
--- a/config/locales/crowdin/js-hr.yml
+++ b/config/locales/crowdin/js-hr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-hu.yml b/config/locales/crowdin/js-hu.yml
index 42d437c163c..1dc122fadd7 100644
--- a/config/locales/crowdin/js-hu.yml
+++ b/config/locales/crowdin/js-hu.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-id.yml b/config/locales/crowdin/js-id.yml
index b8b027240f0..87355960b03 100644
--- a/config/locales/crowdin/js-id.yml
+++ b/config/locales/crowdin/js-id.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-it.yml b/config/locales/crowdin/js-it.yml
index 6b3fc0e7912..c8a86bffd99 100644
--- a/config/locales/crowdin/js-it.yml
+++ b/config/locales/crowdin/js-it.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ja.yml b/config/locales/crowdin/js-ja.yml
index ada7bc1dba9..153e3ef8a0d 100644
--- a/config/locales/crowdin/js-ja.yml
+++ b/config/locales/crowdin/js-ja.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ko.yml b/config/locales/crowdin/js-ko.yml
index bf9ca57c697..183450ed5cf 100644
--- a/config/locales/crowdin/js-ko.yml
+++ b/config/locales/crowdin/js-ko.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-lt.yml b/config/locales/crowdin/js-lt.yml
index 730001aae8d..8e71278d579 100644
--- a/config/locales/crowdin/js-lt.yml
+++ b/config/locales/crowdin/js-lt.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-nl.yml b/config/locales/crowdin/js-nl.yml
index f92a3b9881f..ff8213d5df6 100644
--- a/config/locales/crowdin/js-nl.yml
+++ b/config/locales/crowdin/js-nl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-no.yml b/config/locales/crowdin/js-no.yml
index d59db3b7e2a..e5e6a941c5e 100644
--- a/config/locales/crowdin/js-no.yml
+++ b/config/locales/crowdin/js-no.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-pl.yml b/config/locales/crowdin/js-pl.yml
index e3122e06816..43b90e42366 100644
--- a/config/locales/crowdin/js-pl.yml
+++ b/config/locales/crowdin/js-pl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-pt.yml b/config/locales/crowdin/js-pt.yml
index 58a97e0cb3a..e61df0b657b 100644
--- a/config/locales/crowdin/js-pt.yml
+++ b/config/locales/crowdin/js-pt.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ro.yml b/config/locales/crowdin/js-ro.yml
index e594199bc25..9e134ca512d 100644
--- a/config/locales/crowdin/js-ro.yml
+++ b/config/locales/crowdin/js-ro.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-ru.yml b/config/locales/crowdin/js-ru.yml
index 44566acea88..a51af8892da 100644
--- a/config/locales/crowdin/js-ru.yml
+++ b/config/locales/crowdin/js-ru.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-sk.yml b/config/locales/crowdin/js-sk.yml
index 88bb174b562..5e52f2533ea 100644
--- a/config/locales/crowdin/js-sk.yml
+++ b/config/locales/crowdin/js-sk.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-sl.yml b/config/locales/crowdin/js-sl.yml
index 85f50aedc82..fa126147b63 100644
--- a/config/locales/crowdin/js-sl.yml
+++ b/config/locales/crowdin/js-sl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-sv.yml b/config/locales/crowdin/js-sv.yml
index 25946481aa2..589944e7527 100644
--- a/config/locales/crowdin/js-sv.yml
+++ b/config/locales/crowdin/js-sv.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-tr.yml b/config/locales/crowdin/js-tr.yml
index 4ce717f2e34..1d2bff4723b 100644
--- a/config/locales/crowdin/js-tr.yml
+++ b/config/locales/crowdin/js-tr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-uk.yml b/config/locales/crowdin/js-uk.yml
index 29c081cf91c..a594075b427 100644
--- a/config/locales/crowdin/js-uk.yml
+++ b/config/locales/crowdin/js-uk.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-vi.yml b/config/locales/crowdin/js-vi.yml
index 84e2c7fa5a1..96ff09725bb 100644
--- a/config/locales/crowdin/js-vi.yml
+++ b/config/locales/crowdin/js-vi.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-zh-CN.yml b/config/locales/crowdin/js-zh-CN.yml
index fdcec378626..356106c814d 100644
--- a/config/locales/crowdin/js-zh-CN.yml
+++ b/config/locales/crowdin/js-zh-CN.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/js-zh-TW.yml b/config/locales/crowdin/js-zh-TW.yml
index 6cdf89f89a9..f25cb2161f9 100644
--- a/config/locales/crowdin/js-zh-TW.yml
+++ b/config/locales/crowdin/js-zh-TW.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ko.yml b/config/locales/crowdin/ko.yml
index ec4ee1f661e..cff63d5f4b2 100644
--- a/config/locales/crowdin/ko.yml
+++ b/config/locales/crowdin/ko.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/lt.yml b/config/locales/crowdin/lt.yml
index ba52cf949c9..1fe1bc3535b 100644
--- a/config/locales/crowdin/lt.yml
+++ b/config/locales/crowdin/lt.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/nl.yml b/config/locales/crowdin/nl.yml
index bb25bfdaa70..2af08592ddc 100644
--- a/config/locales/crowdin/nl.yml
+++ b/config/locales/crowdin/nl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/no.yml b/config/locales/crowdin/no.yml
index 7f32b8b23e9..37d905e9540 100644
--- a/config/locales/crowdin/no.yml
+++ b/config/locales/crowdin/no.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/pl.yml b/config/locales/crowdin/pl.yml
index 53c2816779f..1be5da1f116 100644
--- a/config/locales/crowdin/pl.yml
+++ b/config/locales/crowdin/pl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/pt.yml b/config/locales/crowdin/pt.yml
index 211a21525f4..473327d9256 100644
--- a/config/locales/crowdin/pt.yml
+++ b/config/locales/crowdin/pt.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ro.yml b/config/locales/crowdin/ro.yml
index d26476323cd..2032891af2d 100644
--- a/config/locales/crowdin/ro.yml
+++ b/config/locales/crowdin/ro.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/ru.yml b/config/locales/crowdin/ru.yml
index 11730a83844..b17b09dc0d2 100644
--- a/config/locales/crowdin/ru.yml
+++ b/config/locales/crowdin/ru.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/sk.yml b/config/locales/crowdin/sk.yml
index fd444881cdd..424d97842e6 100644
--- a/config/locales/crowdin/sk.yml
+++ b/config/locales/crowdin/sk.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/sl.yml b/config/locales/crowdin/sl.yml
index bc460be9ed9..e25178e640a 100644
--- a/config/locales/crowdin/sl.yml
+++ b/config/locales/crowdin/sl.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/sv.yml b/config/locales/crowdin/sv.yml
index 10baf1b2fca..34fed669dcd 100644
--- a/config/locales/crowdin/sv.yml
+++ b/config/locales/crowdin/sv.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/tr.yml b/config/locales/crowdin/tr.yml
index 12d07288b18..0c8fd994f74 100644
--- a/config/locales/crowdin/tr.yml
+++ b/config/locales/crowdin/tr.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/uk.yml b/config/locales/crowdin/uk.yml
index 8e2ae9a931e..039c8ca03e4 100644
--- a/config/locales/crowdin/uk.yml
+++ b/config/locales/crowdin/uk.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/vi.yml b/config/locales/crowdin/vi.yml
index a8b763826ba..0f293629c13 100644
--- a/config/locales/crowdin/vi.yml
+++ b/config/locales/crowdin/vi.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/zh-CN.yml b/config/locales/crowdin/zh-CN.yml
index 14265438a7d..57a96873f18 100644
--- a/config/locales/crowdin/zh-CN.yml
+++ b/config/locales/crowdin/zh-CN.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/crowdin/zh-TW.yml b/config/locales/crowdin/zh-TW.yml
index c3db200526f..2361760b3f2 100644
--- a/config/locales/crowdin/zh-TW.yml
+++ b/config/locales/crowdin/zh-TW.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/de.yml b/config/locales/de.yml
index ef813ecb454..af758b73f71 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/en.yml b/config/locales/en.yml
index f31ceded958..76dbbd1af51 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 5e3d38f67ca..dd2d881a919 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/db/migrate/20211015110000_gitlab_integration_models.rb b/db/migrate/20211015110000_gitlab_integration_models.rb
index bf1f58ce8e6..587a72e946d 100644
--- a/db/migrate/20211015110000_gitlab_integration_models.rb
+++ b/db/migrate/20211015110000_gitlab_integration_models.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/frontend/module/main.ts b/frontend/module/main.ts
index 75005fdac82..7435e976b80 100644
--- a/frontend/module/main.ts
+++ b/frontend/module/main.ts
@@ -40,6 +40,21 @@ import { GitActionsMenuDirective } from './git-actions-menu/git-actions-menu.dir
import { GitActionsMenuComponent } from './git-actions-menu/git-actions-menu.component';
import { WorkPackagesGitlabMrsService } from './tab-mrs/wp-gitlab-mrs.service';
import { MergeRequestComponent } from './merge-request/merge-request.component';
+import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';
+import { Observable } from 'rxjs';
+import { map } from 'rxjs/operators';
+
+export function workPackageGitlabMrsCount(
+ workPackage:WorkPackageResource,
+ injector:Injector,
+):Observable<number> {
+ const gitlabMrsService = injector.get(WorkPackagesGitlabMrsService);
+ return gitlabMrsService
+ .requireAndStream(workPackage)
+ .pipe(
+ map((mrs) => mrs.length),
+ );
+}
export function initializeGitlabIntegrationPlugin(injector:Injector) {
const wpTabService = injector.get(WorkPackageTabsService);
@@ -48,6 +63,7 @@ export function initializeGitlabIntegrationPlugin(injector:Injector) {
name: I18n.t('js.gitlab_integration.work_packages.tab_name'),
id: 'gitlab',
displayable: (workPackage) => !!workPackage.gitlab,
+ count: workPackageGitlabMrsCount,
});
}
diff --git a/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_collection_representer.rb b/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_collection_representer.rb
index b643c026731..503649142cc 100644
--- a/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_collection_representer.rb
+++ b/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_collection_representer.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_representer.rb b/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_representer.rb
index f1cce2d2cdf..fa08a2b1a4d 100644
--- a/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_representer.rb
+++ b/lib/api/v3/gitlab_merge_requests/gitlab_merge_request_representer.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/api/v3/gitlab_merge_requests/gitlab_merge_requests_by_work_package_api.rb b/lib/api/v3/gitlab_merge_requests/gitlab_merge_requests_by_work_package_api.rb
index 28c3920c258..3976818491b 100644
--- a/lib/api/v3/gitlab_merge_requests/gitlab_merge_requests_by_work_package_api.rb
+++ b/lib/api/v3/gitlab_merge_requests/gitlab_merge_requests_by_work_package_api.rb
@@ -2,7 +2,7 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/api/v3/gitlab_merge_requests/gitlab_pipeline_representer.rb b/lib/api/v3/gitlab_merge_requests/gitlab_pipeline_representer.rb
index c1ec18dd818..0236f90a934 100644
--- a/lib/api/v3/gitlab_merge_requests/gitlab_pipeline_representer.rb
+++ b/lib/api/v3/gitlab_merge_requests/gitlab_pipeline_representer.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/api/v3/gitlab_merge_requests/gitlab_user_representer.rb b/lib/api/v3/gitlab_merge_requests/gitlab_user_representer.rb
index 914fce5146d..55f90e5c641 100644
--- a/lib/api/v3/gitlab_merge_requests/gitlab_user_representer.rb
+++ b/lib/api/v3/gitlab_merge_requests/gitlab_user_representer.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration.rb b/lib/open_project/gitlab_integration.rb
index c524473ec83..70f358282d5 100644
--- a/lib/open_project/gitlab_integration.rb
+++ b/lib/open_project/gitlab_integration.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/engine.rb b/lib/open_project/gitlab_integration/engine.rb
index 2c47bb262ff..08da552a24b 100644
--- a/lib/open_project/gitlab_integration/engine.rb
+++ b/lib/open_project/gitlab_integration/engine.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/hook_handler.rb b/lib/open_project/gitlab_integration/hook_handler.rb
index fc163e17ea0..0476494c544 100644
--- a/lib/open_project/gitlab_integration/hook_handler.rb
+++ b/lib/open_project/gitlab_integration/hook_handler.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/helper.rb b/lib/open_project/gitlab_integration/notification_handler/helper.rb
index dec15c25dad..396ff1e3567 100644
--- a/lib/open_project/gitlab_integration/notification_handler/helper.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/helper.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/issue_hook.rb b/lib/open_project/gitlab_integration/notification_handler/issue_hook.rb
index 8688db05600..8f41dfdc258 100644
--- a/lib/open_project/gitlab_integration/notification_handler/issue_hook.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/issue_hook.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/merge_request_hook.rb b/lib/open_project/gitlab_integration/notification_handler/merge_request_hook.rb
index c974fba83d2..fff9432bee6 100644
--- a/lib/open_project/gitlab_integration/notification_handler/merge_request_hook.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/merge_request_hook.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/note_hook.rb b/lib/open_project/gitlab_integration/notification_handler/note_hook.rb
index 049998d40ad..0964aee7eec 100644
--- a/lib/open_project/gitlab_integration/notification_handler/note_hook.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/note_hook.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/pipeline_hook.rb b/lib/open_project/gitlab_integration/notification_handler/pipeline_hook.rb
index 85cdec1ebfa..baf7ca8db2b 100644
--- a/lib/open_project/gitlab_integration/notification_handler/pipeline_hook.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/pipeline_hook.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handler/push_hook.rb b/lib/open_project/gitlab_integration/notification_handler/push_hook.rb
index 83f9af26113..3c67dd3ad00 100644
--- a/lib/open_project/gitlab_integration/notification_handler/push_hook.rb
+++ b/lib/open_project/gitlab_integration/notification_handler/push_hook.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/notification_handlers.rb b/lib/open_project/gitlab_integration/notification_handlers.rb
index 9049ca6deb0..4acd6c6c072 100644
--- a/lib/open_project/gitlab_integration/notification_handlers.rb
+++ b/lib/open_project/gitlab_integration/notification_handlers.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/patches/api/work_package_representer.rb b/lib/open_project/gitlab_integration/patches/api/work_package_representer.rb
index 37202bfd2d6..7a67f36f5d5 100644
--- a/lib/open_project/gitlab_integration/patches/api/work_package_representer.rb
+++ b/lib/open_project/gitlab_integration/patches/api/work_package_representer.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/open_project/gitlab_integration/services.rb b/lib/open_project/gitlab_integration/services.rb
index 25f735aabe7..adce1030509 100644
--- a/lib/open_project/gitlab_integration/services.rb
+++ b/lib/open_project/gitlab_integration/services.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/lib/openproject-gitlab_integration.rb b/lib/openproject-gitlab_integration.rb
index c4d802aea22..146bd94ac4e 100644
--- a/lib/openproject-gitlab_integration.rb
+++ b/lib/openproject-gitlab_integration.rb
@@ -1,6 +1,6 @@
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
diff --git a/openproject-gitlab_integration.gemspec b/openproject-gitlab_integration.gemspec
index 8f1f0a9a516..3f2fdc68cc0 100644
--- a/openproject-gitlab_integration.gemspec
+++ b/openproject-gitlab_integration.gemspec
@@ -2,7 +2,7 @@
#
#-- copyright
# OpenProject is an open source project management software.
-# Copyright (C) 2021 Ben Tey
+# Copyright (C) 2023 Ben Tey
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@@ -31,7 +31,7 @@
Gem::Specification.new do |s|
s.name = "openproject-gitlab_integration"
- s.version = '2.0.7'
+ s.version = '2.0.8'
s.authors = "Ben Tey"
s.email = "[email protected]"
s.homepage = "https://github.com/btey/openproject-gitlab-integration"