Skip to content

Commit

Permalink
Bump to v2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Nov 14, 2022
1 parent f025455 commit 30b52fe
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# MMGIS Changelog

## 2.8.0

_Nov 14, 2022_

#### Summary

#### Added

- The Viewer Panel supports gltf models
- The configuration raw variable `markerAttachment.model` now has a `mtlProp` parameter for relative obj material files and can support multiple models per layer
- The DrawTool now supports drawing Circles and Rectangles
- The entire Configuration object has an API and can be updated via curl commands. See [ConfigureAPI](https://nasa-ammos.github.io/MMGIS/apis/configure)
- The MeasureTool now supports multiple DEMs
- Many additions to the `mmgisAPI`. See [JavaScriptAPI](https://nasa-ammos.github.io/MMGIS/apis/javascript)
- Adds an extended GeoJSON format to support per coordinate properties. See [Enhanced GeoJSON](https://nasa-ammos.github.io/MMGIS/configure/formats/enhanced-geojson)
- Deep Links now stores the layer order (if users rearranged them)
- The ability to define a primary coordinate system through a reworked [Coordinates Tab](https://nasa-ammos.github.io/MMGIS/configure/tabs/coordinates)
- DrawTool Layers can be added as regular layers by using a url of the form `api:drawn:<draw_file_id>`
- The ViewshedTool supports target heights
- The MeasureTool include line-of-sight
- Users can individually hide features through the InfoTool
- Layers can now be tagged and assigned a markdown description. Users can filter layers based on these fields as well.
- Added websockets that can notify users in real-time that a configuration has updated. Enabled with the env: `ENABLE_MMGIS_SOCKETS=true`
- Automatic labels can be rendered on features by configuring a raw variables `layerAttachments.labels`
- Added a `gdal2tiles_3.5.2.py` script to tile dem tiles with multi-processing support and tiling on top of an existing tileset
- The colorize Data Shader can now exclude up to three no data values
- Tilesets served from the MMGIS Missions directory now accept an optional `{t}` path directory to search and served tiles based on time
- The TimeUI and the bottom of the screen has been significantly reworked

#### Changed

- Increase GeoJSON math and export precision from `6` to `10` decimal places
- The DrawTool's tagging system has been expanded and it UI resembles folder structures
- Photosphere has better damping and rotates with "panning" directions.

#### Fixed

- Dragging a header in the LayersTool now drags the entire group
- Various fixes to how Time works (through the mmgisAPI, in parameterizing WMS layers, ...)
- Error if Data Layers had a space in their name
- Various mmgisAPI function fixes

---

## 2.7.0

_Jun 9, 2022_
Expand Down
4 changes: 4 additions & 0 deletions docs/pages/Setup/ENVs/ENVs.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@ When not using AUTH=csso, this is a list of usernames to be treated as leads (us
#### `CSSO_LEAD_GROUP=`

LDAP group of leads (users with elevated permissions) | string | default `''`

#### `ENABLE_MMGIS_SOCKETS=`

If true, enables the backend MMGIS websockets to tell clients to update layers | boolean | default `false`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmgis",
"version": "2.7.0",
"version": "2.8.0",
"description": "A web-based mapping and localization solution for science operation on planetary missions.",
"homepage": "build",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions run/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,8 @@ function ensureUser() {
(typeof req.session.permission === "string" &&
req.session.permission[req.session.permission.length - 1] === "1")
) {
console.log(req.user, req.session.permission);
next();
} else {
console.log("Login redirect for", req.user, req.session);
res.render("login", {
user: req.user,
CLEARANCE_NUMBER: process.env.CLEARANCE_NUMBER || "CL##-####",
Expand Down

0 comments on commit 30b52fe

Please sign in to comment.