Skip to content

Commit c7e18f0

Browse files
authored
Merge pull request #1271 from Open-MSS/merge_develop_to_stable
Merge develop to stable, v6.0.0
2 parents 6c61196 + 179acb9 commit c7e18f0

File tree

347 files changed

+37997
-27001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+37997
-27001
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
run: |
4040
source /opt/conda/bin/activate mssenv \
4141
&& cd $GITHUB_WORKSPACE \
42-
&& pytest --cov=mslib mslib \
42+
&& pytest -v --durations=20 --reverse --cov=mslib mslib \
4343
|| (for i in {1..5} \
44-
; do pytest mslib --last-failed --lfnf=none \
44+
; do pytest mslib -v --durations=0 --reverse --last-failed --lfnf=none \
4545
&& break \
4646
; done)
4747

.github/workflows/xdist_testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
run: |
4040
source /opt/conda/bin/activate mssenv \
4141
&& cd $GITHUB_WORKSPACE \
42-
&& pytest -n 6 --dist loadscope --max-worker-restart 0 mslib \
42+
&& pytest -vv -n 6 --dist loadfile --max-worker-restart 0 mslib \
4343
|| (for i in {1..5} \
44-
; do pytest -n 6 --dist loadscope --max-worker-restart 0 mslib --last-failed --lfnf=none \
44+
; do pytest -vv -n 6 --dist loadfile --max-worker-restart 0 mslib --last-failed --lfnf=none \
4545
&& break \
4646
; done)

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.cache/
22
.idea/
33
.vscode/
4+
.DS_Store
45
*.pyc
56
*.swp
67
*.patch

CHANGES.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changelog
22
=========
33

4+
Version 6.0.0
5+
~~~~~~~~~~~~~
6+
7+
Aravind Murali redesigned in google summer of code 2021 the MSUI interface.
8+
This now connects in a user-friendly way the editing of flight paths locally
9+
or remotely with other users. Many of Jörn Ungermann's ideas were implemented.
10+
In addition, Aravind Murali has improved a configuration editor for our json mss_settings file
11+
and made this user-friendly. The initial idea of the new editor stems from Reimar Bauer.
12+
GSoC mentors were Jörn Ungermann, May Bär, Reimar Bauer
13+
14+
Hrithik Kumar Verma developed a toolchain for the automatic creation of tutorials
15+
in the Google Summer of Code 2021. This simplifies the creation of video tutorials in
16+
a similar way to updating tests. Using these tutorial scripts to create videos
17+
also increases test coverage. The initial idea stems from Reimar Bauer.
18+
GSoC mentors were Reimar Bauer, May Bär
19+
20+
Jörn Ungermann improved kml visualizing the same way as of a flightpath.
21+
22+
Reimar Bauer improved permissions, projects and signalling for mscolab.
23+
24+
All changes:
25+
https://github.com/Open-MSS/MSS/milestone/50?closed=1
26+
427
Version 5.0.2
528
~~~~~~~~~~~~~
629

@@ -21,7 +44,8 @@ Version 5.0.0
2144
~~~~~~~~~~~~~
2245

2346
This release brings many improvements to the WMS Server along with new features for the UI.
24-
On demand a WMS server can show what kind of view graphics are provided.
47+
May Bär implemented a gallery feature. On demand a WMS server can show what kind of view graphics
48+
are provided.
2549
Optional the source for creating the graphics can be published over the web service too.
2650
By this any existing server shows examples how to create graphics. Have a look on
2751
our documentation on https://mss.readthedocs.io/en/stable/gallery/index.html for this feature.

NOTICE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,12 @@ Airports Data
117117

118118
To draw airspaces on the topview we use the services provided by openaip.net
119119
Further Information: http://www.openaip.net/
120+
121+
Qt-json-view
122+
------------
123+
124+
Author: Paul Schweizer (https://github.com/PaulSchweizer)
125+
License: https://github.com/PaulSchweizer/qt-json-view/blob/master/LICENSE (MIT License)
126+
127+
Package for working with JSON files in PyQt5.
128+
Obtained from Github (https://github.com/PaulSchweizer/qt-json-view), on 23/7/2021.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,22 @@ computer.
1010
Installing MSS
1111
==============
1212

13+
Automatically
14+
-------------
15+
16+
- For **Windows**, go [here](https://github.com/Open-MSS/mss-install/blob/main/Windows.bat?raw=1)
17+
- Right click on the webpage and select "Save as..." to download the file
18+
- Double click the downloaded file and follow further instructions
19+
- For fully automatic installation, open cmd and execute it with `/Path/To/Windows.bat -a`
20+
- For **Linux/Mac**, go [here](https://github.com/Open-MSS/mss-install/blob/main/LinuxMac.sh?raw=1)
21+
- Right click on the webpage and select "Save as..." to download the file
22+
- Make it executable via `chmod +x LinuxMac.sh`
23+
- Execute it and follow further instructions `./LinuxMac.sh`
24+
- For fully automatic installation, run it with the -a parameter `./LinuxMac.sh -a`
25+
26+
Manually
27+
--------
28+
1329
Installing `MSS` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
1430

1531

conftest.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,25 @@ class mscolab_settings(object):
118118
# used to generate and parse tokens
119119
SECRET_KEY = secrets.token_urlsafe(16)
120120
121+
# used to generate the password token
122+
SECURITY_PASSWORD_SALT = secrets.token_urlsafe(16)
123+
124+
# mail settings
125+
MAIL_SERVER = 'localhost'
126+
MAIL_PORT = 25
127+
MAIL_USE_TLS = False
128+
MAIL_USE_SSL = True
129+
130+
# mail authentication
131+
MAIL_USERNAME = os.environ.get('APP_MAIL_USERNAME')
132+
MAIL_PASSWORD = os.environ.get('APP_MAIL_PASSWORD')
133+
134+
# mail accounts
135+
MAIL_DEFAULT_SENDER = 'MSS@localhost'
136+
137+
# enable verification by Mail
138+
USER_VERIFICATION = False
139+
121140
SQLALCHEMY_DB_URI = 'sqlite:///' + url_join(DATA_DIR, 'mscolab.db')
122141
123142
# mscolab file upload settings

docs/components.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Components
66

77
usage
88
deployment
9+
mswms
910
mscolab
10-
demodata
11+
tutorials
1112

1213

docs/conf.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,22 @@
5050

5151
import mslib.mswms.wms
5252
import mslib.mswms.gallery_builder
53+
import importlib
5354

5455
# Generate template plots
5556
from docs.gallery.plot_examples import HS_template, VS_template
57+
from mslib.mswms.mpl_lsec_styles import LS_DefaultStyle
5658
dataset = [next(iter(mslib.mswms.wms.mss_wms_settings.data))]
5759
mslib.mswms.wms.mss_wms_settings.register_horizontal_layers = [(HS_template.HS_Template, dataset)]
5860
mslib.mswms.wms.mss_wms_settings.register_vertical_layers = [(VS_template.VS_Template, dataset)]
59-
mslib.mswms.wms.mss_wms_settings.register_linear_layers = []
61+
mslib.mswms.wms.mss_wms_settings.register_linear_layers = [(LS_DefaultStyle, dataset)]
6062
mslib.mswms.wms.server.__init__()
61-
mslib.mswms.wms.server.generate_gallery(sphinx=True, create=True, clear=True)
62-
mslib.mswms.gallery_builder.plots = {"Top": [], "Side": [], "Linear": []}
63+
mslib.mswms.wms.server.generate_gallery(sphinx=True, create=True, clear=True, simple_naming=True)
64+
importlib.reload(mslib.mswms.gallery_builder)
6365

6466
# Generate all other plots
65-
mslib.mswms.wms.server.generate_gallery(sphinx=True, generate_code=True, all_plots=True)
67+
mslib.mswms.wms.server.generate_gallery(sphinx=True, generate_code=True, all_plots=True, levels="3,4,200,300",
68+
vtimes="2012-10-18T00:00:00,2012-10-19T00:00:00")
6669

6770
# readthedocs has no past.builtins
6871
try:
@@ -231,7 +234,7 @@
231234
# Add any paths that contain custom static files (such as style sheets) here,
232235
# relative to this directory. They are copied after the builtin static files,
233236
# so a file named "default.css" will overwrite the builtin "default.css".
234-
html_static_path = ['mss_theme']
237+
html_static_path = ['mss_theme', 'gallery/plots']
235238

236239
# Add any extra paths that contain custom files (such as robots.txt or
237240
# .htaccess) here, relative to this directory. These files are copied

docs/demodata.rst

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)