-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Site accounts site-global settings (#2738)
- Loading branch information
1 parent
628915c
commit 6b39234
Showing
34 changed files
with
1,077 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Enhancement: Site accounts site-global settings | ||
|
||
This PR extends the site accounts service by adding site-global settings. These are used to store test user credentials that are in return used by our BBE port to perform CS3API-specific health checks. | ||
|
||
https://github.com/cs3org/reva/pull/2738 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2018-2020 CERN | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// In applying this license, CERN does not waive the privileges and immunities | ||
// granted to it by virtue of its status as an Intergovernmental Organization | ||
// or submit itself to any jurisdiction. | ||
|
||
package site | ||
|
||
import "github.com/cs3org/reva/pkg/siteacc/html" | ||
|
||
// PanelTemplate is the content provider for the edit form. | ||
type PanelTemplate struct { | ||
html.ContentProvider | ||
} | ||
|
||
// GetTitle returns the title of the panel. | ||
func (template *PanelTemplate) GetTitle() string { | ||
return "ScienceMesh Site Configuration" | ||
} | ||
|
||
// GetCaption returns the caption which is displayed on the panel. | ||
func (template *PanelTemplate) GetCaption() string { | ||
return "Configure your ScienceMesh Site!" | ||
} | ||
|
||
// GetContentJavaScript delivers additional JavaScript code. | ||
func (template *PanelTemplate) GetContentJavaScript() string { | ||
return tplJavaScript | ||
} | ||
|
||
// GetContentStyleSheet delivers additional stylesheet code. | ||
func (template *PanelTemplate) GetContentStyleSheet() string { | ||
return tplStyleSheet | ||
} | ||
|
||
// GetContentBody delivers the actual body content. | ||
func (template *PanelTemplate) GetContentBody() string { | ||
return tplBody | ||
} |
Oops, something went wrong.