Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
35c6cd08
Commit
35c6cd08
authored
5 years ago
by
User expired
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/OpenOLAT_14.0.uibk' into OpenOLAT_14.0.uibk
parents
c51652ad
bef24730
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/restapi/group/LearningGroupWebService.java
+13
-0
13 additions, 0 deletions
.../java/org/olat/restapi/group/LearningGroupWebService.java
with
13 additions
and
0 deletions
src/main/java/org/olat/restapi/group/LearningGroupWebService.java
+
13
−
0
View file @
35c6cd08
...
...
@@ -380,6 +380,19 @@ public class LearningGroupWebService {
}
}
@PUT
@Path
(
"{groupKey}/configuration/tools/calendar"
)
public
Response
putGroupCalendar
(
@PathParam
(
"groupKey"
)
Long
groupKey
,
@Context
HttpServletRequest
request
)
{
final
BusinessGroupService
bgs
=
CoreSpringFactory
.
getImpl
(
BusinessGroupService
.
class
);
BusinessGroup
bg
=
bgs
.
loadBusinessGroup
(
groupKey
);
if
(
bg
==
null
)
{
return
Response
.
serverError
().
status
(
Status
.
NOT_FOUND
).
build
();
}
CollaborationTools
tools
=
CollaborationToolsFactory
.
getInstance
().
getOrCreateCollaborationTools
(
bg
);
tools
.
setToolEnabled
(
CollaborationTools
.
TOOL_CALENDAR
,
true
);
return
Response
.
ok
().
build
();
}
@POST
@Path
(
"{groupKey}/configuration"
)
public
Response
postGroupConfiguration
(
@PathParam
(
"groupKey"
)
Long
groupKey
,
final
GroupConfigurationVO
group
,
@Context
HttpServletRequest
request
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment