Skip to content

Commit

Permalink
chg: renamed name to LHC !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Oct 20, 2022
1 parent 47fb006 commit ce0d7f2
Show file tree
Hide file tree
Showing 31 changed files with 128 additions and 130 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ labels: bug, potential bug, needs triage

This bug tracker is for tracking bugs, todos and confirmed new features.
If you want to submit a feature request please discuss about it here:
https://github.com/CASES-LU/MOSP/discussions
https://github.com/NC3-LU/MOSP/discussions

**Describe the bug**
A clear and concise description of what the bug is.
Expand Down
4 changes: 2 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ MOSP is a free software written and maintained by:
# Contributors

* Copyright (C) 2018-2022 Cédric Bonhomme
* Copyright (C) 2018-2022 SECURITYMADEIN.LU
* Copyright (C) 2018-2022 Luxembourg House of Cybersecurity

MOSP is licensed under
[GNU Affero General Public License version 3](https://www.gnu.org/licenses/agpl-3.0.html)

## Logo

Thank you to [Tebriz](https://github.com/tebriz159) who
[created](https://github.com/CASES-LU/MOSP/issues/7) the logo of MOSP.
[created](https://github.com/NC3-LU/MOSP/issues/7) the logo of MOSP.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at info@cases.lu.
reported to the community leaders responsible for enforcement at opensource@nc3.lu.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project.
Before starting to contribute please install the Git hook scripts:

```bash
$ git clone https://github.com/CASES-LU/MOSP
$ git clone https://github.com/NC3-LU/MOSP
$ cd MOSP/
$ poetry install
$ pre-commit install
Expand All @@ -30,7 +30,7 @@ to update the documentation is strongly recommended.

Please, do not open directly a GitHub issue if you think you have found a
security vulnerability. See our
[security policy](https://github.com/CASES-LU/MOSP/security/policy)
[security policy](https://github.com/NC3-LU/MOSP/security/policy)
page.

[Flask](https://flask.palletsprojects.com) is used for the backend.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# MONARC Objects Sharing Platform

[![MOSP logo](https://github.com/CASES-LU/MOSP/blob/master/mosp/static/img/logo-large.png)](https://github.com/CASES-LU/MOSP)
[![MOSP logo](https://github.com/NC3-LU/MOSP/blob/master/mosp/static/img/logo-large.png)](https://github.com/NC3-LU/MOSP)

[![Latest release](https://img.shields.io/github/release/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/CASES-LU/MOSP/releases/latest)
[![Latest release](https://img.shields.io/github/release/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/NC3-LU/MOSP/releases/latest)
[![License](https://img.shields.io/github/license/CASES-LU/MOSP.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0.html)
[![Contributors](https://img.shields.io/github/contributors/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/CASES-LU/MOSP/graphs/contributors)
[![Stars](https://img.shields.io/github/stars/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/CASES-LU/MOSP/stargazers)
[![Workflow](https://github.com/CASES-LU/MOSP/workflows/Python%20application/badge.svg?style=flat-square)](https://github.com/CASES-LU/MOSP/actions?query=workflow%3A%22Python+application%22)
[![Contributors](https://img.shields.io/github/contributors/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/NC3-LU/MOSP/graphs/contributors)
[![Stars](https://img.shields.io/github/stars/CASES-LU/MOSP.svg?style=flat-square)](https://github.com/NC3-LU/MOSP/stargazers)
[![Workflow](https://github.com/NC3-LU/MOSP/workflows/Python%20application/badge.svg?style=flat-square)](https://github.com/NC3-LU/MOSP/actions?query=workflow%3A%22Python+application%22)
[![Translation status](https://translate.monarc.lu/widgets/mosp/-/svg-badge.svg)](https://translate.monarc.lu/engage/mosp/)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)


## Presentation

[MOSP](https://github.com/CASES-LU/MOSP) is a platform for creating, editing
[MOSP](https://github.com/NC3-LU/MOSP) is a platform for creating, editing
and sharing *validated* JSON objects of any type.

![MOSP panorama](docs/_static/MOSP-panorama.png "MOSP panorama")
Expand Down Expand Up @@ -60,7 +60,7 @@ This software is licensed under


* Copyright (C) 2018-2022 Cédric Bonhomme
* Copyright (C) 2018-2022 SECURITYMADEIN.LU
* Copyright (C) 2018-2022 Luxembourg House of Cybersecurity

For more information, the [list of authors and contributors](AUTHORS.md) is
available.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There will be no security patches for other releases (tagged or not).

If you think you have found a potential security issue in MOSP, do not open
directly a GitHub issue. Please email us. You can contact
[info@cases.lu](mailto:info@cases.lu).
[opensource@nc3.lu](mailto:opensource@nc3.lu).

You can also specify how you would like to be credited for your finding
(commit message or release notes for the new release). We will
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"json",
"json-schema"
],
"website": "https://github.com/CASES-LU/MOSP",
"repository": "https://github.com/CASES-LU/MOSP",
"website": "https://github.com/NC3-LU/MOSP",
"repository": "https://github.com/NC3-LU/MOSP",
"scripts": {
"postdeploy": "pybabel compile -d mosp/translations && flask db_init && flask create_admin --login admin --email admin@example.org --password password && flask import_licenses_from_spdx"
},
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# -- Project information -----------------------------------------------------

project = "MOSP"
copyright = "SECURITYMADEIN.LU <info@cases.lu>"
copyright = "Luxembourg House of Cybersecurity <opensource@nc3.lu>"
author = "Cédric Bonhomme <cedric@cedricbonhomme.org>"

# The full version, including alpha/beta/rc tags
Expand Down Expand Up @@ -78,10 +78,10 @@
html_theme_options = {
"theme_dev_mode": True,
"path_to_docs": "docs",
"repository_url": "https://github.com/CASES-LU/MOSP",
"repository_url": "https://github.com/NC3-LU/MOSP",
# "repository_branch": "gh-pages", # For testing
"launch_buttons": {
"binderhub_url": "https://github.com/CASES-LU/MOSP",
"binderhub_url": "https://github.com/NC3-LU/MOSP",
},
"use_edit_page_button": True,
"use_issues_button": True,
Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Presentation
============

This document is intended to be a presentation and a user guide to
`MOSP <https://github.com/CASES-LU/MOSP>`_, a platform to create, edit and share valid
`MOSP <https://github.com/NC3-LU/MOSP>`_, a platform to create, edit and share valid
JSON objects.

MOSP supports any kind of JSON objects, you just have to specify a JSON schema.
Expand Down Expand Up @@ -44,9 +44,9 @@ MOSP is licensed under


* Copyright (C) 2018-2022 Cédric Bonhomme
* Copyright (C) 2018-2021 SECURITYMADEIN.LU
* Copyright (C) 2018-2021 Luxembourg House of Cybersecurity

For more information: https://github.com/CASES-LU/MOSP
For more information: https://github.com/NC3-LU/MOSP

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
Expand Down
8 changes: 4 additions & 4 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Get the source code and install the software:
$ sudo apt install python3-pip python3-venv
$ curl -sSL https://install.python-poetry.org | python3 -
$ git clone https://github.com/CASES-LU/MOSP
$ git clone https://github.com/NC3-LU/MOSP
$ cd MOSP/
$ npm install
$ poetry install --no-dev
Expand Down Expand Up @@ -78,7 +78,7 @@ Docker

.. code-block:: bash
$ git clone https://github.com/CASES-LU/MOSP
$ git clone https://github.com/NC3-LU/MOSP
$ cd MOSP/
$ docker-compose up -d
Expand All @@ -100,7 +100,7 @@ Heroku
Simply with this button:

.. image:: https://www.herokucdn.com/deploy/button.png
:target: https://heroku.com/deploy?template=https://github.com/CASES-LU/MOSP
:target: https://heroku.com/deploy?template=https://github.com/NC3-LU/MOSP
:alt: Latest release

And voilà !
Expand All @@ -111,7 +111,7 @@ Alternatively, Deploy to Heroku manually:

.. code-block:: bash
$ git clone https://github.com/CASES-LU/MOSP
$ git clone https://github.com/NC3-LU/MOSP
$ cd MOSP/
$ heroku create --region eu <name-of-your-instance>
$ heroku addons:add heroku-postgresql:hobby-dev
Expand Down
4 changes: 2 additions & 2 deletions instance/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
UPLOAD_FOLDER = "./mosp/web/public/pictures/"
ALLOWED_EXTENSIONS = {"png"}

ADMIN_EMAIL = "info@cases.lu"
ADMIN_URL = "https://www.cases.lu"
ADMIN_EMAIL = "opensource@nc3.lu"
ADMIN_URL = "https://www.nc3.lu"

LOG_PATH = "./var/log/mosp.log"
LOG_LEVEL = "info"
Expand Down
4 changes: 2 additions & 2 deletions instance/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
UPLOAD_FOLDER = "./mosp/web/public/pictures/"
ALLOWED_EXTENSIONS = {"png"}

ADMIN_EMAIL = "info@cases.lu"
ADMIN_URL = "https://www.cases.lu"
ADMIN_EMAIL = "opensource@nc3.lu"
ADMIN_URL = "https://www.nc3.lu"

MAX_CONTENT_LENGTH = 16 * 1024 * 1024

Expand Down
4 changes: 2 additions & 2 deletions instance/production.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ LOG_LEVEL = "info"
UPLOAD_FOLDER = "./mosp/web/public/pictures/"
ALLOWED_EXTENSIONS = set(["png"])

ADMIN_EMAIL = "info@cases.lu"
ADMIN_URL = "https://www.cases.lu"
ADMIN_EMAIL = "opensource@nc3.lu"
ADMIN_URL = "https://www.nc3.lu"

MAX_CONTENT_LENGTH = 16 * 1024 * 1024

Expand Down
4 changes: 2 additions & 2 deletions mosp/notifications/emails.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#! /usr/bin/env python
# MOSP - A platform for creating, editing and sharing JSON objects.
# Copyright (C) 2018-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2018-2022 SMILE gie - securitymadein.lu
# Copyright (C) 2018-2022 Luxembourg House of Cybersecurity
#
# For more information: https://github.com/CASES-LU/MOSP
# For more information: https://github.com/NC3-LU/MOSP
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
Expand Down
4 changes: 2 additions & 2 deletions mosp/notifications/notifications.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#! /usr/bin/env python
# MOSP - A platform for creating, editing and sharing JSON objects.
# Copyright (C) 2018-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2018-2022 SMILE gie - securitymadein.lu
# Copyright (C) 2018-2022 Luxembourg House of Cybersecurity
#
# For more information: https://github.com/CASES-LU/MOSP
# For more information: https://github.com/NC3-LU/MOSP
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion mosp/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<p class="text-justify"><a href="{{ url_for('about_more') }}">{{ _('More information') }}</a> {{ _('about this instance.') }}</p>
<hr class="my-4" />
<p>{{ _('You are welcome to copy, modify or redistribute the
<a href="https://github.com/CASES-LU/MOSP" rel="noreferrer" target="_blank">source code</a>
<a href="https://github.com/NC3-LU/MOSP" rel="noreferrer" target="_blank">source code</a>
according to the <a href="https://www.gnu.org/licenses/agpl-3.0.html" rel="noopener noreferrer" target="_blank">Affero</a> GPL license.') }}</p>
<p>{{ _('Objects distributed through this platform are distributed under the open-source license choosed by their editor.') }}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion mosp/templates/edit_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>{{ action | safe }}</h2>
</div>
<div class="row">
<div class="col">
<p>{{ _('You can check the <a href="https://github.com/CASES-LU/MOSP-documentation/blob/master/index.adoc#using-the-api" target="_blank">documentation of the API</a>') }}
<p>{{ _('You can check the <a href="https://github.com/NC3-LU/MOSP-documentation/blob/master/index.adoc#using-the-api" target="_blank">documentation of the API</a>') }}
or the <a href="{{ url_for('apiv2.doc') }}">OpenAPI Specification for the API v2</a>.</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions mosp/templates/emails/account_recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ The link expires at {{ expire_time.strftime('%Y-%m-%d %H:%M') }}.

Kind regards,

The CASES team
https://www.cases.lu
The NC3 Open Source team
https://www.nc3.lu
10 changes: 5 additions & 5 deletions mosp/templates/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ <h1>{{ _('Documentation') }}</h1>
</p>
<p class="text-justify">
{{ _('A more technical documentation with instructions concerning the deployment of MOSP is available
in the <a href="https://github.com/CASES-LU/MOSP" rel="noopener noreferrer" target="_blank">official repository</a>.') }}
in the <a href="https://github.com/NC3-LU/MOSP" rel="noopener noreferrer" target="_blank">official repository</a>.') }}
</p>
<p class="text-justify">
{{ _('The OpenAPI Specification for the API v2 is available') }} <a href="{{ url_for('apiv2.doc') }}">{{ _('here') }}</a>.<br />
{{ _('If you want to query MOSP programmatically you can use <a href="https://pypi.org/project/pymosp" rel="noopener noreferrer" target="_blank">PyMOSP</a>, a Python library to access MOSP.') }}
</p>
<hr />
<h1>{{ _('Contributions') }}</h1>
<p class="text-justify">{{ _('Please use <a href="https://github.com/CASES-LU/MOSP/issues" rel="noopener noreferrer" target="_blank">GitHub</a> for:') }}</p>
<p class="text-justify">{{ _('Please use <a href="https://github.com/NC3-LU/MOSP/issues" rel="noopener noreferrer" target="_blank">GitHub</a> for:') }}</p>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="https://github.com/CASES-LU/MOSP/issues/new?labels=bug" rel="noopener noreferrer" target="_blank">{{ _('Bug reports') }}</a></li>
<li class="list-group-item"><a href="https://github.com/CASES-LU/MOSP/discussions/categories/ideas" rel="noopener noreferrer" target="_blank">{{ _('New feature requests') }}</a></li>
<li class="list-group-item">{{ _('Contributions to the <a href="https://github.com/CASES-LU/MOSP/issues/new?labels=documentation" rel="noopener noreferrer" target="_blank">documentation</a> or to the <a href="https://github.com/CASES-LU/MOSP/issues/new?labels=translation">translations</a> of the software') }}</li>
<li class="list-group-item"><a href="https://github.com/NC3-LU/MOSP/issues/new?labels=bug" rel="noopener noreferrer" target="_blank">{{ _('Bug reports') }}</a></li>
<li class="list-group-item"><a href="https://github.com/NC3-LU/MOSP/discussions/categories/ideas" rel="noopener noreferrer" target="_blank">{{ _('New feature requests') }}</a></li>
<li class="list-group-item">{{ _('Contributions to the <a href="https://github.com/NC3-LU/MOSP/issues/new?labels=documentation" rel="noopener noreferrer" target="_blank">documentation</a> or to the <a href="https://github.com/NC3-LU/MOSP/issues/new?labels=translation">translations</a> of the software') }}</li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion mosp/templates/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# - Bots which are too agressive by default. This is subjective, if you annoy
# our sysadmins you'll be blocked.
#
# Reach out to info@cases.lu if you have questions.
# Reach out to opensource@nc3.lu if you have questions.

User-agent: SemrushBot
Disallow: /
Expand Down
Loading

0 comments on commit ce0d7f2

Please sign in to comment.