Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
Project
Merge requests
!82
Sprint/2020-06
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Sprint/2020-06
Sprint/2020-06
into
master
Overview
0
Commits
5
Pipelines
4
Changes
7
Merged
Marcel Nellesen
requested to merge
Sprint/2020-06
into
master
5 years ago
Overview
0
Commits
5
Pipelines
4
Changes
7
0
0
Merge request reports
Compare
master
version 2
2ec741cd
5 years ago
version 1
f8bdbb78
5 years ago
master (base)
and
latest version
latest version
0ee8c0ae
5 commits,
5 years ago
version 2
2ec741cd
4 commits,
5 years ago
version 1
f8bdbb78
2 commits,
5 years ago
7 files
+
21
−
22
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
src/Project/Controllers/ProjectController.cs
+
7
−
0
View file @ 0ee8c0ae
Edit in single-file editor
Open in Web IDE
Show full file
@@ -25,6 +25,7 @@ namespace Coscine.Api.Project.Controllers
private
readonly
ProjectModel
_projectModel
;
private
readonly
IConfiguration
_configuration
;
private
readonly
Emitter
_emitter
;
private
readonly
ActivatedFeaturesModel
_activatedFeaturesModel
;
private
readonly
ProjectRoleModel
_projectRoleModel
;
private
readonly
CoscineLogger
_coscineLogger
;
private
readonly
AnalyticsLogObject
_analyticsLogObject
;
@@ -35,6 +36,7 @@ namespace Coscine.Api.Project.Controllers
_configuration
=
Program
.
Configuration
;
_projectModel
=
new
ProjectModel
();
_emitter
=
new
Emitter
(
_configuration
);
_activatedFeaturesModel
=
new
ActivatedFeaturesModel
();
_projectRoleModel
=
new
ProjectRoleModel
();
_coscineLogger
=
new
CoscineLogger
(
logger
);
_analyticsLogObject
=
new
AnalyticsLogObject
();
@@ -207,6 +209,11 @@ namespace Coscine.Api.Project.Controllers
}
}
if
(
isHard
)
{
_activatedFeaturesModel
.
DeactivateAllFeatures
(
project
);
}
if
(
isHard
)
{
if
(
propegateAction
)
Loading