Das persönliche Profil (https://zivgitlab.uni-muenster.de/USERID) wurde für alle Nutzer administrativ auf "privat" gesetzt. Wenn sie möchten, dass dieses wieder für alle internen Nutzer sichtbar wird, deaktivieren sie bitte das "private profile" unter den persönlichen Einstellungen (https://zivgitlab.uni-muenster.de/-/profile).

Fix für doppelte Anzeige mancher TOMs; Code Docs in CI Pipeline + Gitpages ausgelagert

parent 13e93c05
Pipeline #66371 passed with stages
in 41 seconds
image: alpine:latest
js_doc:
image: node:latest
stage: build
before_script:
- npm install -g jsdoc
script:
- mkdir -p docs/JSDoc
- jsdoc -c jsdoc.json
artifacts:
paths:
- docs/JSDoc
only:
- master
php_doc:
image: php:7.4-cli
stage: build
before_script:
- apt update && apt install wget -y
- wget https://www.phpdoc.org/phpDocumentor.phar
script:
- mkdir -p docs/phpDoc
- php phpDocumentor.phar -c phpdoc.dist.xml
after_script:
- rm phpDocumentor.phar
artifacts:
paths:
- docs/phpDoc
only:
- master
pages:
stage: deploy
script:
- mkdir .public
- echo "<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="generator" content="GitLab Pages"><title>SecDoc Code Dokumentation</title><link type="text/css" rel="stylesheet" href="JSDoc/styles/prettify-tomorrow.css"><link type="text/css" rel="stylesheet" href="JSDoc/styles/jsdoc-default.css"></head><body><p><h1>SecDoc Code Dokumentation</h1></p><p><ul><li><a href="JSDoc">Javascript Code Dokumentation</a></li><li><a href="phpDoc">PHP Code Dokumentation</a></li></ul></p></body></html>" > .public/index.html
- cp -r docs/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master
......@@ -1623,7 +1623,7 @@
FROM ebene_rollen
INNER JOIN tom_rollen ON ebene_rollen.RoleID = tom_rollen.RoleID
INNER JOIN toms ON tom_rollen.TOMID = toms.Identifier
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '%'
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '.%'
WHERE EbeneID = ? ORDER BY toms.Identifier ASC;");
$sth->execute([$tier]);
$tomRows = $sth->fetchAll();
......@@ -1631,7 +1631,7 @@
if(count($tomRows) === 0) {
$sth = $this->pdo->prepare("SELECT DISTINCT toms.Identifier AS Identifier, Category, Subcategory, Title, toms.Description AS Description, Risklevel, toms_desc.Description AS CatDesc, Objective AS CatObjective, Delimit AS CatDelimit, toms_desc.URL AS CatURL
FROM toms
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '%'
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '.%'
ORDER BY toms.Identifier ASC;");
$sth->execute();
$tomRows = $sth->fetchAll();
......@@ -1640,7 +1640,7 @@
else {
$sth = $this->pdo->prepare("SELECT DISTINCT toms.Identifier AS Identifier, Category, Subcategory, Title, toms.Description AS Description, Risklevel, toms_desc.Description AS CatDesc, Objective AS CatObjective, Delimit AS CatDelimit, toms_desc.URL AS CatURL
FROM toms
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '%'
LEFT OUTER JOIN toms_desc ON toms.Identifier LIKE toms_desc.Identifier || '.%'
ORDER BY toms.Identifier ASC;");
$sth->execute();
$tomRows = $sth->fetchAll();
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Home</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Home</h1>
<h3> </h3>
<section>
<header>
<h2>dsbview.js</h2>
</header>
<article>
<div class="container-overview">
<div class="description">Umfasst die Funktionalitäten der DSB-Ansicht</div>
<dl class="details">
<dt class="tag-author">Author:</dt>
<dd class="tag-author">
<ul>
<li><a href="mailto:thorsten.kuefer@uni-muenster.de">Thorsten Küfer</a></li>
<li><a href="mailto:dustin.gawron@uni-muenster.de">Dustin Gawron</a></li>
</ul>
</dd>
<dt class="tag-copyright">Copyright:</dt>
<dd class="tag-copyright"><ul class="dummy"><li>(c) 2018-2020 Westfälische Wilhelms-Universität Münster</li></ul></dd>
<dt class="tag-license">License:</dt>
<dd class="tag-license"><ul class="dummy"><li>AGPL-3.0-or-later <https://www.gnu.org/licenses/agpl.html></li></ul></dd>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dsbview.js.html">dsbview.js</a>, <a href="dsbview.js.html#line1">line 1</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Requires</h3>
<ul>
<li>module:assets/js/mains.js</li>
<li>module:assets/js/datatables.min.js</li>
<li>module:assets/js/datatables_german.json</li>
</ul>
</article>
</section>
<section>
<header>
<h2>main.js</h2>
</header>
<article>
<div class="container-overview">
<div class="description">Kapselt die zentralen Funktionen und steuert das Laden der Unterseiten</div>
<dl class="details">
<dt class="tag-author">Author:</dt>
<dd class="tag-author">
<ul>
<li><a href="mailto:thorsten.kuefer@uni-muenster.de">Thorsten Küfer</a></li>
<li><a href="mailto:dustin.gawron@uni-muenster.de">Dustin Gawron</a></li>
</ul>
</dd>
<dt class="tag-copyright">Copyright:</dt>
<dd class="tag-copyright"><ul class="dummy"><li>(c) 2018-2020 Westfälische Wilhelms-Universität Münster</li></ul></dd>
<dt class="tag-license">License:</dt>
<dd class="tag-license"><ul class="dummy"><li>AGPL-3.0-or-later <https://www.gnu.org/licenses/agpl.html></li></ul></dd>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="main.js.html">main.js</a>, <a href="main.js.html#line1">line 1</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Requires</h3>
<ul>
<li>module:assets/js/jquery-3.4.1.min.js</li>
</ul>
</article>
</section>
<section>
<header>
<h2>wizard.js</h2>
</header>
<article>
<div class="container-overview">
<div class="description">Setzt die dynamischen Funktionen der Verfahrenseingabe um und ergänzt den Wizard</div>
<dl class="details">
<dt class="tag-author">Author:</dt>
<dd class="tag-author">
<ul>
<li><a href="mailto:thorsten.kuefer@uni-muenster.de">Thorsten Küfer</a></li>
<li><a href="mailto:dustin.gawron@uni-muenster.de">Dustin Gawron</a></li>
</ul>
</dd>
<dt class="tag-copyright">Copyright:</dt>
<dd class="tag-copyright"><ul class="dummy"><li>(c) 2018-2020 Westfälische Wilhelms-Universität Münster</li></ul></dd>
<dt class="tag-license">License:</dt>
<dd class="tag-license"><ul class="dummy"><li>AGPL-3.0-or-later <https://www.gnu.org/licenses/agpl.html></li></ul></dd>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="wizard.js.html">wizard.js</a>, <a href="wizard.js.html#line1">line 1</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Requires</h3>
<ul>
<li>module:assets/js/main.js</li>
<li>module:assets/js/bootstrap-select.min.js</li>
<li>module:assets/js/jquery.typeahead.min.js</li>
<li>module:assets/js/jquery.validate.min.js</li>
<li>module:assets/js/datatables.min.js</li>
<li>module:assets/js/datatables_german.json</li>
</ul>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#addTableRow">addTableRow</a></li><li><a href="global.html#autoSaveTimer">autoSaveTimer</a></li><li><a href="global.html#autoSaveWait">autoSaveWait</a></li><li><a href="global.html#backendPath">backendPath</a></li><li><a href="global.html#canEdit">canEdit</a></li><li><a href="global.html#changedFields">changedFields</a></li><li><a href="global.html#changedValues">changedValues</a></li><li><a href="global.html#copyFromServer">copyFromServer</a></li><li><a href="global.html#copyId">copyId</a></li><li><a href="global.html#copyIdMain">copyIdMain</a></li><li><a href="global.html#debug">debug</a></li><li><a href="global.html#debugLog">debugLog</a></li><li><a href="global.html#deleteFromServer">deleteFromServer</a></li><li><a href="global.html#endlessCounts">endlessCounts</a></li><li><a href="global.html#endlessTables">endlessTables</a></li><li><a href="global.html#endlessTemplates">endlessTemplates</a></li><li><a href="global.html#exportJSON">exportJSON</a></li><li><a href="global.html#filterTOMList">filterTOMList</a></li><li><a href="global.html#formatBytes">formatBytes</a></li><li><a href="global.html#formatDate">formatDate</a></li><li><a href="global.html#generateTOMList">generateTOMList</a></li><li><a href="global.html#genHTMLforPDF">genHTMLforPDF</a></li><li><a href="global.html#getCombinedPDF">getCombinedPDF</a></li><li><a href="global.html#getCompletePDF">getCompletePDF</a></li><li><a href="global.html#getPDFFromServer">getPDFFromServer</a></li><li><a href="global.html#GetURLParameter">GetURLParameter</a></li><li><a href="global.html#getUserPromise">getUserPromise</a></li><li><a href="global.html#globalClear">globalClear</a></li><li><a href="global.html#htmlDecode">htmlDecode</a></li><li><a href="global.html#htmlEncode">htmlEncode</a></li><li><a href="global.html#importJSON">importJSON</a></li><li><a href="global.html#initEndlessTables">initEndlessTables</a></li><li><a href="global.html#initTypeahead">initTypeahead</a></li><li><a href="global.html#loadDocuments">loadDocuments</a></li><li><a href="global.html#loadEmpty">loadEmpty</a></li><li><a href="global.html#loadFromJSON">loadFromJSON</a></li><li><a href="global.html#loadFromServer">loadFromServer</a></li><li><a href="global.html#loadId">loadId</a></li><li><a href="global.html#loadIdMain">loadIdMain</a></li><li><a href="global.html#loadSubpage">loadSubpage</a></li><li><a href="global.html#loadTables">loadTables</a></li><li><a href="global.html#markedAsFinished">markedAsFinished</a></li><li><a href="global.html#modal">modal</a></li><li><a href="global.html#mode">mode</a></li><li><a href="global.html#modeMapping">modeMapping</a></li><li><a href="global.html#modeName">modeName</a></li><li><a href="global.html#modeNum">modeNum</a></li><li><a href="global.html#myFinish">myFinish</a></li><li><a href="global.html#myInit">myInit</a></li><li><a href="global.html#myNext">myNext</a></li><li><a href="global.html#myPrevious">myPrevious</a></li><li><a href="global.html#myTabChange">myTabChange</a></li><li><a href="global.html#myTabClick">myTabClick</a></li><li><a href="global.html#page">page</a></li><li><a href="global.html#promises">promises</a></li><li><a href="global.html#removeTableRows">removeTableRows</a></li><li><a href="global.html#saveAsObject">saveAsObject</a></li><li><a href="global.html#saveOnServer">saveOnServer</a></li><li><a href="global.html#selectedTier">selectedTier</a></li><li><a href="global.html#setOverlay">setOverlay</a></li><li><a href="global.html#setSaveLabel">setSaveLabel</a></li><li><a href="global.html#showDocumentAddDialog">showDocumentAddDialog</a></li><li><a href="global.html#showError">showError</a></li><li><a href="global.html#showImportDialog">showImportDialog</a></li><li><a href="global.html#showVerfahrensliste">showVerfahrensliste</a></li><li><a href="global.html#status">status</a></li><li><a href="global.html#statusMapping">statusMapping</a></li><li><a href="global.html#statusSymbolMapping">statusSymbolMapping</a></li><li><a href="global.html#toggleTOMList">toggleTOMList</a></li><li><a href="global.html#tomsMapping">tomsMapping</a></li><li><a href="global.html#typeaheadCache">typeaheadCache</a></li><li><a href="global.html#userCanDSB">userCanDSB</a></li><li><a href="global.html#userIsDSB">userIsDSB</a></li><li><a href="global.html#userIsManager">userIsManager</a></li><li><a href="global.html#version">version</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Tue Sep 22 2020 16:20:44 GMT+0200 (Mitteleuropäische Sommerzeit)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
/*global document */
(() => {
const source = document.getElementsByClassName('prettyprint source linenums');
let i = 0;
let lineNumber = 0;
let lineId;
let lines;
let totalLines;
let anchorHash;
if (source && source[0]) {
anchorHash = document.location.hash.substring(1);
lines = source[0].getElementsByTagName('li');
totalLines = lines.length;
for (; i < totalLines; i++) {
lineNumber++;
lineId = `line${lineNumber}`;
lines[i].id = lineId;
if (lineId === anchorHash) {
lines[i].className += ' selected';
}
}
}
})();
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all