chore: conform to REUSE specification
This commit is contained in:
parent
9304c55a81
commit
582b075466
3
..develop.cmd.license
Normal file
3
..develop.cmd.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.babelrc.license
Normal file
3
.babelrc.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.dir-locals.el.license
Normal file
3
.dir-locals.el.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,6 +0,0 @@
|
|||||||
[Dolphin]
|
|
||||||
Timestamp=2019,6,26,19,32,25
|
|
||||||
Version=4
|
|
||||||
|
|
||||||
[Settings]
|
|
||||||
HiddenFilesShown=true
|
|
||||||
3
.dockerignore.license
Normal file
3
.dockerignore.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.envrc.license
Normal file
3
.envrc.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.eslintrc.json.license
Normal file
3
.eslintrc.json.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.gitignore.license
Normal file
3
.gitignore.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||||
|
|||||||
@ -1,3 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
if [ -n "${CI_COMMIT_TAG}" ]; then
|
if [ -n "${CI_COMMIT_TAG}" ]; then
|
||||||
ref="refs/tags/${CI_COMMIT_TAG}"
|
ref="refs/tags/${CI_COMMIT_TAG}"
|
||||||
else
|
else
|
||||||
|
|||||||
3
.gitlab-ci/debug-aws.patch.license
Normal file
3
.gitlab-ci/debug-aws.patch.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.gitlab-ci/fix-aws-scheme.patch.license
Normal file
3
.gitlab-ci/fix-aws-scheme.patch.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
6
.gitlab-ci/make-minio-bucket.sh
Executable file → Normal file
6
.gitlab-ci/make-minio-bucket.sh
Executable file → Normal file
@ -1,3 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
export MC_HOST_minio=http://$(cat /minio-gitlab-runner-cache/accesskey):$(cat /minio-gitlab-runner-cache/secretkey)@minio-gitlab-runner-cache
|
export MC_HOST_minio=http://$(cat /minio-gitlab-runner-cache/accesskey):$(cat /minio-gitlab-runner-cache/secretkey)@minio-gitlab-runner-cache
|
||||||
|
|||||||
3
.gitlab-ci/nix-bootstrap.conf.license
Normal file
3
.gitlab-ci/nix-bootstrap.conf.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.gitlab-ci/nix.conf.license
Normal file
3
.gitlab-ci/nix.conf.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
pkgs.nixUnstable.overrideAttrs (oldAttrs: {
|
pkgs.nixUnstable.overrideAttrs (oldAttrs: {
|
||||||
patches = oldAttrs.patches or [] ++ [ ./fix-aws-scheme.patch ];
|
patches = oldAttrs.patches or [] ++ [ ./fix-aws-scheme.patch ];
|
||||||
|
|||||||
6
.gitlab-ci/upload-to-cache.sh
Executable file → Normal file
6
.gitlab-ci/upload-to-cache.sh
Executable file → Normal file
@ -1,3 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|||||||
6
.gitlab-ci/write-minio-creds.sh
Executable file → Normal file
6
.gitlab-ci/write-minio-creds.sh
Executable file → Normal file
@ -1,3 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
mkdir -p $(dirname ${AWS_SHARED_CREDENTIALS_FILE})
|
mkdir -p $(dirname ${AWS_SHARED_CREDENTIALS_FILE})
|
||||||
|
|||||||
3
.gitmodules.license
Normal file
3
.gitmodules.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
# HLint configuration file
|
# HLint configuration file
|
||||||
# https://github.com/ndmitchell/hlint
|
# https://github.com/ndmitchell/hlint
|
||||||
##########################
|
##########################
|
||||||
|
|||||||
3
.mailmap.license
Normal file
3
.mailmap.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
.npmrc.gup.license
Normal file
3
.npmrc.gup.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@cip.ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
const standardVersionUpdaterYaml = require.resolve('standard-version-updater-yaml');
|
const standardVersionUpdaterYaml = require.resolve('standard-version-updater-yaml');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"AllAutocomplete.showCurrentDocument": false
|
|
||||||
}
|
|
||||||
79
.vscode/tasks.json
vendored
79
.vscode/tasks.json
vendored
@ -1,79 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"label": "build",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./build.sh",
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
},
|
|
||||||
"presentation": {
|
|
||||||
"echo": true,
|
|
||||||
"reveal": "always",
|
|
||||||
"focus": false,
|
|
||||||
"panel": "dedicated",
|
|
||||||
"clear": true,
|
|
||||||
"showReuseMessage": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "start",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./start.sh",
|
|
||||||
"group": "build",
|
|
||||||
"presentation": {
|
|
||||||
"echo": true,
|
|
||||||
"reveal": "silent",
|
|
||||||
"focus": false,
|
|
||||||
"panel": "dedicated",
|
|
||||||
"showReuseMessage": false
|
|
||||||
},
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "test",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "./test.sh",
|
|
||||||
"group": "test",
|
|
||||||
"presentation": {
|
|
||||||
"echo": true,
|
|
||||||
"reveal": "always",
|
|
||||||
"focus": true,
|
|
||||||
"panel": "dedicated",
|
|
||||||
"showReuseMessage": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "yesod:lint",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "yesod:start",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "start",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "frontend:lint",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "lint",
|
|
||||||
"problemMatcher": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "npm",
|
|
||||||
"script": "release",
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
3
CHANGELOG.md.license
Normal file
3
CHANGELOG.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>,Steffen Jost <jost@cip.ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
3
Datenschutznotizen.txt.license
Normal file
3
Datenschutznotizen.txt.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,165 +0,0 @@
|
|||||||
Fonticons, Inc. (https://fontawesome.com)
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Font Awesome Free License
|
|
||||||
|
|
||||||
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
|
||||||
commercial projects, open source projects, or really almost whatever you want.
|
|
||||||
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
|
||||||
|
|
||||||
The Font Awesome Free download is licensed under a Creative Commons
|
|
||||||
Attribution 4.0 International License and applies to all icons packaged
|
|
||||||
as SVG and JS file types.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Fonts: SIL OFL 1.1 License
|
|
||||||
|
|
||||||
In the Font Awesome Free download, the SIL OFL license applies to all icons
|
|
||||||
packaged as web and desktop font files.
|
|
||||||
|
|
||||||
Copyright (c) 2022 Fonticons, Inc. (https://fontawesome.com)
|
|
||||||
with Reserved Font Name: "Font Awesome".
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
||||||
This license is copied below, and is also available with a FAQ at:
|
|
||||||
http://scripts.sil.org/OFL
|
|
||||||
|
|
||||||
SIL OPEN FONT LICENSE
|
|
||||||
Version 1.1 - 26 February 2007
|
|
||||||
|
|
||||||
PREAMBLE
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
||||||
development of collaborative font projects, to support the font creation
|
|
||||||
efforts of academic and linguistic communities, and to provide a free and
|
|
||||||
open framework in which fonts may be shared and improved in partnership
|
|
||||||
with others.
|
|
||||||
|
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and
|
|
||||||
redistributed freely as long as they are not sold by themselves. The
|
|
||||||
fonts, including any derivative works, can be bundled, embedded,
|
|
||||||
redistributed and/or sold with any software provided that any reserved
|
|
||||||
names are not used by derivative works. The fonts and derivatives,
|
|
||||||
however, cannot be released under any other type of license. The
|
|
||||||
requirement for fonts to remain under this license does not apply
|
|
||||||
to any document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
|
||||||
"Font Software" refers to the set of files released by the Copyright
|
|
||||||
Holder(s) under this license and clearly marked as such. This may
|
|
||||||
include source files, build scripts and documentation.
|
|
||||||
|
|
||||||
"Reserved Font Name" refers to any names specified as such after the
|
|
||||||
copyright statement(s).
|
|
||||||
|
|
||||||
"Original Version" refers to the collection of Font Software components as
|
|
||||||
distributed by the Copyright Holder(s).
|
|
||||||
|
|
||||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
||||||
or substituting — in part or in whole — any of the components of the
|
|
||||||
Original Version, by changing formats or by porting the Font Software to a
|
|
||||||
new environment.
|
|
||||||
|
|
||||||
"Author" refers to any designer, engineer, programmer, technical
|
|
||||||
writer or other person who contributed to the Font Software.
|
|
||||||
|
|
||||||
PERMISSION & CONDITIONS
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
||||||
redistribute, and sell modified and unmodified copies of the Font
|
|
||||||
Software, subject to the following conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components,
|
|
||||||
in Original or Modified Versions, may be sold by itself.
|
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled,
|
|
||||||
redistributed and/or sold with any software, provided that each copy
|
|
||||||
contains the above copyright notice and this license. These can be
|
|
||||||
included either as stand-alone text files, human-readable headers or
|
|
||||||
in the appropriate machine-readable metadata fields within text or
|
|
||||||
binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font
|
|
||||||
Name(s) unless explicit written permission is granted by the corresponding
|
|
||||||
Copyright Holder. This restriction only applies to the primary font name as
|
|
||||||
presented to the users.
|
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
||||||
Software shall not be used to promote, endorse or advertise any
|
|
||||||
Modified Version, except to acknowledge the contribution(s) of the
|
|
||||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
5) The Font Software, modified or unmodified, in part or in whole,
|
|
||||||
must be distributed entirely under this license, and must not be
|
|
||||||
distributed under any other license. The requirement for fonts to
|
|
||||||
remain under this license does not apply to any document created
|
|
||||||
using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
|
||||||
This license becomes null and void if any of the above conditions are
|
|
||||||
not met.
|
|
||||||
|
|
||||||
DISCLAIMER
|
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
||||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
||||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
||||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
||||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Code: MIT License (https://opensource.org/licenses/MIT)
|
|
||||||
|
|
||||||
In the Font Awesome Free download, the MIT license applies to all non-font and
|
|
||||||
non-icon files.
|
|
||||||
|
|
||||||
Copyright 2022 Fonticons, Inc.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in the
|
|
||||||
Software without restriction, including without limitation the rights to use, copy,
|
|
||||||
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
|
||||||
and to permit persons to whom the Software is furnished to do so, subject to the
|
|
||||||
following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
||||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Attribution
|
|
||||||
|
|
||||||
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
|
|
||||||
Awesome Free files already contain embedded comments with sufficient
|
|
||||||
attribution, so you shouldn't need to do anything additional when using these
|
|
||||||
files normally.
|
|
||||||
|
|
||||||
We've kept attribution comments terse, so we ask that you do not actively work
|
|
||||||
to remove them from files, especially code. They're a great way for folks to
|
|
||||||
learn about Font Awesome.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Brand Icons
|
|
||||||
|
|
||||||
All brand icons are trademarks of their respective owners. The use of these
|
|
||||||
trademarks does not indicate endorsement of the trademark holder by Font
|
|
||||||
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
|
||||||
to represent the company, product, or service to which they refer.**
|
|
||||||
3
README.md.license
Normal file
3
README.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,53 +0,0 @@
|
|||||||
Most roles are school dependent, i.e. a lecturer for the Math-department can only create new lectures that have Math-department in their school field.
|
|
||||||
|
|
||||||
|
|
||||||
Administrator for a school
|
|
||||||
- top-level rights, can access everything other roles can within the same school
|
|
||||||
- restrictions only apply to routes containing a different school; then no special rights are given
|
|
||||||
- may appoint further administrators and lecturers for his school
|
|
||||||
- all school-independent routes, such as help-requests and user-list are accessible
|
|
||||||
- can impersonate any other user with lesser rights, i.e. lecturers within same school, all students, etc.
|
|
||||||
- a user can be administrator for more than one school
|
|
||||||
|
|
||||||
|
|
||||||
Lecturer for a school
|
|
||||||
- can create courses for their school for all active terms
|
|
||||||
- can view participants of his courses and record notes for participants
|
|
||||||
- can create sheets for their courses
|
|
||||||
- can view homework submissions for his courses, including marks and plain user-names
|
|
||||||
- can mark homework
|
|
||||||
- may appoint correctors for sheets belonging to his courses
|
|
||||||
- may assign submitted homework to correctors
|
|
||||||
- a user can be lecturer for more than one school
|
|
||||||
- all rights correctors for his courses have
|
|
||||||
|
|
||||||
|
|
||||||
Corrector for a sheet
|
|
||||||
- may download their assigned anonymous homework submissions (submissions are identify through crypto-ids, no user-names)
|
|
||||||
- may upload corrected and marked homework submissions for their assignments
|
|
||||||
- may always download solution and sheet description files for their sheet, ignoring deadline constraints
|
|
||||||
- may create homework submissions in the name of students (which identify themselves to the corrector by pseudonym; no association with real identity needed) for homework assignments which have their submission-mode set to "Submission external with pseudonym" by a lecturer
|
|
||||||
|
|
||||||
|
|
||||||
Tutor for a tutorial of a course
|
|
||||||
- yet unimplemented, likely similar to corrector; ie. can access sheets and solutions earlier than participants
|
|
||||||
|
|
||||||
|
|
||||||
User (logged-in)
|
|
||||||
- all logged-in users may use this role
|
|
||||||
- no special school restrictions
|
|
||||||
- may enroll in courses from any school; enrollment is associated with a field of study the user had at the time
|
|
||||||
- may submit homework for marking in enrolled courses
|
|
||||||
- all rights that not logged-in users have
|
|
||||||
|
|
||||||
|
|
||||||
User (not logged-in)
|
|
||||||
- can view course descriptions
|
|
||||||
- can download course materials from courses that allow this for all un-enrolled users
|
|
||||||
- can requests help from administrators
|
|
||||||
- can log in with their campus-id creating a new user record in the process and elevating rights to "logged-in"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Terminology:
|
|
||||||
- participants: a logged-in users that is enrolled in a specific course
|
|
||||||
3
TODO.md.license
Normal file
3
TODO.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
-- SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
--
|
||||||
|
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
-- | Running your app inside GHCi.
|
-- | Running your app inside GHCi.
|
||||||
--
|
--
|
||||||
-- To start up GHCi for usage with Yesod, first make sure you are in dev mode:
|
-- To start up GHCi for usage with Yesod, first make sure you are in dev mode:
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
-- SPDX-FileCopyrightText: 2022 Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
--
|
||||||
|
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
{-# LANGUAGE PackageImports #-}
|
{-# LANGUAGE PackageImports #-}
|
||||||
import "uniworx" Application (develMain)
|
import "uniworx" Application (develMain)
|
||||||
import Prelude (IO)
|
import Prelude (IO)
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
-- SPDX-FileCopyrightText: 2022 Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
--
|
||||||
|
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import Prelude (IO)
|
import Prelude (IO)
|
||||||
import Application (appMain)
|
import Application (appMain)
|
||||||
|
|
||||||
|
|||||||
3
assets/apple-icon-180x180.png.license
Normal file
3
assets/apple-icon-180x180.png.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/favicon.ico.license
Normal file
3
assets/favicon.ico.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/favicon.svg.license
Normal file
3
assets/favicon.svg.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/fraport_logo_2016_text.svg.license
Normal file
3
assets/fraport_logo_2016_text.svg.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/fraport_logo_notext.svg.license
Normal file
3
assets/fraport_logo_notext.svg.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/fraport_logo_text.svg.license
Normal file
3
assets/fraport_logo_text.svg.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Fraport AG
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
3
assets/manifest.webmanifest.license
Normal file
3
assets/manifest.webmanifest.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Steffen Jost <jost@cip.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
4
build.sh
Executable file → Normal file
4
build.sh
Executable file → Normal file
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
echo "Building..."
|
echo "Building..."
|
||||||
|
|||||||
4
cbt.sh
Executable file → Normal file
4
cbt.sh
Executable file → Normal file
@ -1,3 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
cbt_tunnels --username $CBT_USERNAME --authkey $CBT_AUTHKEY
|
cbt_tunnels --username $CBT_USERNAME --authkey $CBT_AUTHKEY
|
||||||
|
|||||||
4
clean.sh
Executable file → Normal file
4
clean.sh
Executable file → Normal file
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
if [[ -n "${1}" ]]; then
|
if [[ -n "${1}" ]]; then
|
||||||
|
|||||||
@ -1 +1,5 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
module.exports = {extends: ['@commitlint/config-conventional']}
|
module.exports = {extends: ['@commitlint/config-conventional']}
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
# Simple list of mime-types corresponding to archive-formats
|
# Simple list of mime-types corresponding to archive-formats
|
||||||
#
|
#
|
||||||
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
||||||
|
|||||||
3
config/favicon.json.license
Normal file
3
config/favicon.json.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
root: ..
|
root: ..
|
||||||
|
|
||||||
stanzas:
|
stanzas:
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
root: ..
|
root: ..
|
||||||
|
|
||||||
stanzas:
|
stanzas:
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
# Mapping of mime-types to file extensions
|
# Mapping of mime-types to file extensions
|
||||||
#
|
#
|
||||||
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
$#
|
||||||
|
$# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
$# Syntax:
|
$# Syntax:
|
||||||
$# - Leere zeilen werden ignoriert
|
$# - Leere zeilen werden ignoriert
|
||||||
$# - Zeilen, die mit '$#' beginnen, werden ignoriert
|
$# - Zeilen, die mit '$#' beginnen, werden ignoriert
|
||||||
|
|||||||
3
config/robots.txt.license
Normal file
3
config/robots.txt.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>,Wolfgang Witt <Wolfgang.Witt@campus.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
|
# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
|
||||||
# See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
|
# See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
|
||||||
# NB: If you need a numeric value (e.g. 123) to parse as a String, wrap it in single quotes (e.g. "_env:PGPASS:'123'")
|
# NB: If you need a numeric value (e.g. 123) to parse as a String, wrap it in single quotes (e.g. "_env:PGPASS:'123'")
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
$#
|
||||||
|
$# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
$# Syntax:
|
$# Syntax:
|
||||||
$# - Leere zeilen werden ignoriert
|
$# - Leere zeilen werden ignoriert
|
||||||
$# - Zeilen, die mit '$#' beginnen, werden ignoriert
|
$# - Zeilen, die mit '$#' beginnen, werden ignoriert
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
database:
|
database:
|
||||||
database: "_env:PGDATABASE_TEST:uniworx_test"
|
database: "_env:PGDATABASE_TEST:uniworx_test"
|
||||||
upload-cache-bucket: "uni2work-test-uploads"
|
upload-cache-bucket: "uni2work-test-uploads"
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
# Simple list of mime-types corresponding to video-formats
|
# Simple list of mime-types corresponding to video-formats
|
||||||
#
|
#
|
||||||
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
# Comments are empty lines and any line for which the first non-whitespace symbol is ‘#’
|
||||||
|
|||||||
3
config/wordlist.txt.license
Normal file
3
config/wordlist.txt.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
7
db.sh
Executable file → Normal file
7
db.sh
Executable file → Normal file
@ -1,8 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Options: see /test/Database.hs (Main)
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
# Options: see /test/Database.hs (Main)
|
||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
if ! in-develop | grep -q 'In develop'; then
|
if ! in-develop | grep -q 'In develop'; then
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
argumentPackages@{ ... }:
|
argumentPackages@{ ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|||||||
3
flake.lock.license
Normal file
3
flake.lock.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@cip.ifi.lmu.de>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
{
|
{
|
||||||
inputs.haskell-nix.url = "github:input-output-hk/haskell.nix";
|
inputs.haskell-nix.url = "github:input-output-hk/haskell.nix";
|
||||||
inputs.nixpkgs.follows = "haskell-nix/nixpkgs-unstable";
|
inputs.nixpkgs.follows = "haskell-nix/nixpkgs-unstable";
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
@use "~@fortawesome/fontawesome-pro/scss/fontawesome" with ( $fa-font-path: "~@fortawesome/fontawesome-pro/webfonts" )
|
@use "~@fortawesome/fontawesome-pro/scss/fontawesome" with ( $fa-font-path: "~@fortawesome/fontawesome-pro/webfonts" )
|
||||||
|
|
||||||
@forward "~@fortawesome/fontawesome-pro/scss/fontawesome"
|
@forward "~@fortawesome/fontawesome-pro/scss/fontawesome"
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { HttpClient } from './services/http-client/http-client';
|
import { HttpClient } from './services/http-client/http-client';
|
||||||
import { HtmlHelpers } from './services/html-helpers/html-helpers';
|
import { HtmlHelpers } from './services/html-helpers/html-helpers';
|
||||||
import { I18n } from './services/i18n/i18n';
|
import { I18n } from './services/i18n/i18n';
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>,Steffen Jost <jost@cip.ifi.lmu.de>,Wolfgang Witt <Wolfgang.Witt@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
@use "common" as *
|
@use "common" as *
|
||||||
|
|
||||||
\:root
|
\:root
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
/* eslint-env node */
|
/* eslint-env node */
|
||||||
|
|
||||||
import { App } from './app';
|
import { App } from './app';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
export function isValidUtility(utility) {
|
export function isValidUtility(utility) {
|
||||||
if (!utility) {
|
if (!utility) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
|
||||||
export const EVENT_TYPE = {
|
export const EVENT_TYPE = {
|
||||||
CLICK : 'click',
|
CLICK : 'click',
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import debounce from 'lodash.debounce';
|
import debounce from 'lodash.debounce';
|
||||||
|
|
||||||
export const MOVEMENT_INDICATOR_ELEMENT_CLASS = 'movement-indicator';
|
export const MOVEMENT_INDICATOR_ELEMENT_CLASS = 'movement-indicator';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Johannes Eder <ederj@cip.ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
/* global global:writable */
|
/* global global:writable */
|
||||||
|
|
||||||
import semver from 'semver';
|
import semver from 'semver';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
const DEBUG_MODE = /localhost/.test(window.location.href) ? 0 : 0;
|
const DEBUG_MODE = /localhost/.test(window.location.href) ? 0 : 0;
|
||||||
|
|
||||||
import defer from 'lodash.defer';
|
import defer from 'lodash.defer';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
export class FrontendTooltips {
|
export class FrontendTooltips {
|
||||||
|
|
||||||
static addToolTip(element, text) {
|
static addToolTip(element, text) {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { App } from './app';
|
import { App } from './app';
|
||||||
import { Utils } from './utils/utils';
|
import { Utils } from './utils/utils';
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
export class Translations {
|
export class Translations {
|
||||||
static translations = {
|
static translations = {
|
||||||
'checkrangeTooltip' : {
|
'checkrangeTooltip' : {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import 'whatwg-fetch';
|
import 'whatwg-fetch';
|
||||||
|
|
||||||
import { ResizeObserver as Polyfill } from '@juggle/resize-observer';
|
import { ResizeObserver as Polyfill } from '@juggle/resize-observer';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
export class HtmlHelpers {
|
export class HtmlHelpers {
|
||||||
|
|
||||||
// `parseResponse` takes a raw HttpClient response and an options object.
|
// `parseResponse` takes a raw HttpClient response and an options object.
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { HtmlHelpers } from './html-helpers';
|
import { HtmlHelpers } from './html-helpers';
|
||||||
|
|
||||||
describe('HtmlHelpers', () => {
|
describe('HtmlHelpers', () => {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
|
|
||||||
export class HttpClient {
|
export class HttpClient {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { HttpClient } from './http-client';
|
import { HttpClient } from './http-client';
|
||||||
|
|
||||||
const TEST_URL = 'http://example.com';
|
const TEST_URL = 'http://example.com';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import 'moment/locale/en-ie.js';
|
import 'moment/locale/en-ie.js';
|
||||||
import 'moment/locale/de.js';
|
import 'moment/locale/de.js';
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { I18n } from './i18n';
|
import { I18n } from './i18n';
|
||||||
|
|
||||||
describe('I18n', () => {
|
describe('I18n', () => {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import toposort from 'toposort';
|
import toposort from 'toposort';
|
||||||
|
|
||||||
const DEBUG_MODE = /localhost/.test(window.location.href) ? 1 : 0;
|
const DEBUG_MODE = /localhost/.test(window.location.href) ? 1 : 0;
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { UtilRegistry } from './util-registry';
|
import { UtilRegistry } from './util-registry';
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
||||||
import './alerts.sass';
|
import './alerts.sass';
|
||||||
|
|||||||
3
frontend/src/utils/alerts/alerts.md.license
Normal file
3
frontend/src/utils/alerts/alerts.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
@use "../../common" as *
|
@use "../../common" as *
|
||||||
|
|
||||||
.alerts
|
.alerts
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Alerts, ALERTS_INITIALIZED_CLASS } from './alerts';
|
import { Alerts, ALERTS_INITIALIZED_CLASS } from './alerts';
|
||||||
|
|
||||||
const MOCK_APP = {
|
const MOCK_APP = {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
||||||
import './asidenav.sass';
|
import './asidenav.sass';
|
||||||
|
|||||||
3
frontend/src/utils/asidenav/asidenav.md.license
Normal file
3
frontend/src/utils/asidenav/asidenav.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@cip.ifi.lmu.de>,Wolfgang Witt <Wolfgang.Witt@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
@use "../../common" as *
|
@use "../../common" as *
|
||||||
@use "../../app" as *
|
@use "../../app" as *
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Asidenav, ASIDENAV_INITIALIZED_CLASS } from './asidenav';
|
import { Asidenav, ASIDENAV_INITIALIZED_CLASS } from './asidenav';
|
||||||
|
|
||||||
describe('Asidenav', () => {
|
describe('Asidenav', () => {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
import { Datepicker } from '../form/datepicker';
|
import { Datepicker } from '../form/datepicker';
|
||||||
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
import { EventManager, EventWrapper, EVENT_TYPE } from '../../lib/event-manager/event-manager';
|
||||||
|
|||||||
3
frontend/src/utils/async-form/async-form.md.license
Normal file
3
frontend/src/utils/async-form/async-form.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
.async-form__response
|
.async-form__response
|
||||||
margin: 20px 0
|
margin: 20px 0
|
||||||
position: relative
|
position: relative
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { AsyncForm, ASYNC_FORM_INITIALIZED_CLASS } from './async-form';
|
import { AsyncForm, ASYNC_FORM_INITIALIZED_CLASS } from './async-form';
|
||||||
|
|
||||||
describe('AsyncForm', () => {
|
describe('AsyncForm', () => {
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
.async-table-filter--loading
|
.async-table-filter--loading
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Johannes Eder <ederj@cip.ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
import { StorageManager, LOCATION } from '../../lib/storage-manager/storage-manager';
|
import { StorageManager, LOCATION } from '../../lib/storage-manager/storage-manager';
|
||||||
import { Datepicker } from '../form/datepicker';
|
import { Datepicker } from '../form/datepicker';
|
||||||
|
|||||||
3
frontend/src/utils/async-table/async-table.md.license
Normal file
3
frontend/src/utils/async-table/async-table.md.license
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SPDX-FileCopyrightText: 2022 Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
@ -1,3 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
|
||||||
|
|
||||||
.async-table--loading
|
.async-table--loading
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { AsyncTable, ASYNC_TABLE_INITIALIZED_CLASS } from './async-table';
|
import { AsyncTable, ASYNC_TABLE_INITIALIZED_CLASS } from './async-table';
|
||||||
|
|
||||||
const AppTestMock = {
|
const AppTestMock = {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
const DEBUG_MODE = /localhost/.test(window.location.href) ? 0 : 0;
|
const DEBUG_MODE = /localhost/.test(window.location.href) ? 0 : 0;
|
||||||
|
|
||||||
import { Utility } from '../../core/utility';
|
import { Utility } from '../../core/utility';
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user