Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NASA-AMMOS SLIM Repository Essentials Assistance -- Baseline Files #4

Open
wants to merge 639 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
997c96e
Update geojson data when removing features from vector layers (#230)
ac-61 Sep 9, 2022
1ffaedc
Fix onClick event listener bug (#233)
ac-61 Sep 13, 2022
ae93596
#232 Primary Coordinates (#234)
tariqksoliman Sep 17, 2022
9be1975
#235 - api:drawn:<file_id> layers (#236)
tariqksoliman Sep 19, 2022
4bc03b3
#237 ViewshedTool Target Height and MeasureTool Line-of-Sight (#238)
tariqksoliman Sep 22, 2022
0a84c70
Minor style tweak
tariqksoliman Sep 22, 2022
77d8400
Various bug fixes, collapse and sort on query layer
tariqksoliman Sep 23, 2022
f4e662e
#239 Higher toGeoJSON preicision, stop guest being a user, DrawTool r…
tariqksoliman Sep 27, 2022
1a416f4
Fix TimeControl so WMS information is set before layers are loaded (#…
ac-61 Sep 27, 2022
d19ef25
#242 Allow Users to Hide Features (#243)
tariqksoliman Sep 29, 2022
7a0f06f
Minor DrawTool fixes
tariqksoliman Sep 29, 2022
57a24d8
Add toggleLayer function to MMGIS API (#244)
ac-61 Sep 29, 2022
322d78a
#245 Description and Tags layer fields in COnfig
tariqksoliman Sep 30, 2022
ce47e69
Merge branch 'development' of https://github.com/NASA-AMMOS/MMGIS int…
tariqksoliman Sep 30, 2022
f42e1b0
#245 Finalize layer metadata (#248)
tariqksoliman Sep 30, 2022
c4dc638
Add WebSockets feature to enable pushing updates to clients (#246)
ac-61 Oct 3, 2022
64972f5
#249 LayersTool Filter on Tags and Description (#250)
tariqksoliman Oct 5, 2022
ec58352
Update Deep Linking docs
tariqksoliman Oct 5, 2022
ded9bb2
Fix deep link times for vector layers (#252)
ac-61 Oct 5, 2022
3621295
ts-251 Model Improvements - GLTF support, multiple markerAttachment.m…
tariqksoliman Oct 5, 2022
6531611
Add mmgisAPI.getLayers and mmgisAPI.getLayerConfigs
tariqksoliman Oct 6, 2022
f6de0b7
Minor docs update
tariqksoliman Oct 6, 2022
083ea8f
Another minor docs update
tariqksoliman Oct 6, 2022
6b28994
Fix hardcoding of localhost for websocket (#254)
ac-61 Oct 6, 2022
72bae25
Set correct protocol for WebSocket (#255)
ac-61 Oct 6, 2022
fdd9955
WSS https check 2
tariqksoliman Oct 6, 2022
e8abc03
Minor style change
tariqksoliman Oct 6, 2022
cd4faf6
Minor Filtering improvements
tariqksoliman Oct 6, 2022
a6b7868
Query layer forceGeoJSON
tariqksoliman Oct 6, 2022
f47c0e7
Clean up logs
tariqksoliman Oct 6, 2022
8609698
Fix LayersTool Sublayers not showing up if layer begins off
tariqksoliman Oct 7, 2022
02bcdfd
#258 Labels for Layer Features (#259)
tariqksoliman Oct 13, 2022
4a436f6
Fix docs Coordinates page name
tariqksoliman Oct 13, 2022
befa972
Fix bad name parsing in data shader
tariqksoliman Oct 14, 2022
a23bc85
Label sublayers work on Globe
tariqksoliman Oct 18, 2022
5007ae8
Fix keepLastN and similar
tariqksoliman Oct 18, 2022
7e8146b
Fix updateVectorLayer issue with losing reference
tariqksoliman Oct 19, 2022
32985b0
Max length top description, photosphere damping
tariqksoliman Oct 19, 2022
03b126e
Remove external google font links
tariqksoliman Oct 19, 2022
f3be118
Fix Photosphere rotate direction
tariqksoliman Oct 20, 2022
9286dd4
DrawTool Projection aware circles (#263)
tariqksoliman Oct 20, 2022
4da72dd
Fix stuck sublayers on mmgisAPI updates
tariqksoliman Oct 24, 2022
89ce961
Fix stuck sublayers on mmgisAPI updates 2
tariqksoliman Oct 25, 2022
e971c4f
Add missing mmgisAPI project documentation
tariqksoliman Oct 25, 2022
ae3f8c7
#264 Upgrade gdal2tiles to 3.5.2 for data layer tiling (#266)
tariqksoliman Nov 3, 2022
d044f15
Update gdal2customtiles README
tariqksoliman Nov 3, 2022
9f76f11
Datashaders recompute minmax on tileload not on load
tariqksoliman Nov 7, 2022
a4059d0
#267 Fix litho patterns (#268)
tariqksoliman Nov 8, 2022
24cdf3c
Fix logout cookie deletion
tariqksoliman Nov 9, 2022
580ef8e
gda2tiles dem encode and decode 0s through 2^31
tariqksoliman Nov 10, 2022
8d6b4a6
Update Data README.md
tariqksoliman Nov 10, 2022
6ac2c9c
Update gdal2tiles composite mask
tariqksoliman Nov 11, 2022
e0b5bb7
Add print debug
tariqksoliman Nov 11, 2022
1f4e06b
gdal2tiles exclude 0,0,0,0 from mask
tariqksoliman Nov 11, 2022
be56533
#265 TimeUI and Time Server calls (#271)
tariqksoliman Nov 14, 2022
f643aec
Fix clearVectorLayer switch toggledArray state to off
tariqksoliman Nov 14, 2022
f025455
mmgisAPI Add selectFeature
tariqksoliman Nov 14, 2022
30b52fe
Bump to v2.8.0
tariqksoliman Nov 14, 2022
20c0cdd
Merge
tariqksoliman Nov 15, 2022
6fd57ec
Make sure to remove time tab in time disabled
tariqksoliman Nov 16, 2022
1370cb0
IFrame examples
tariqksoliman Nov 16, 2022
1ec3a54
#279 Time Improvements (#280)
tariqksoliman Nov 21, 2022
cd1c0c8
InfoTool checks for links in metadata and renders anchor tags
tariqksoliman Nov 22, 2022
da230f8
Fix environment variable in sample.env for enabling websockets (#281)
ac-61 Nov 30, 2022
39fc506
Bug Fix: Don't drawing uncertainty ellipse if either axis is 0
tariqksoliman Nov 30, 2022
85bc729
ts-282 Composite Time Tiles, Time Tiles with range (#283)
tariqksoliman Dec 2, 2022
c36eddd
Update Time Tile path structure
tariqksoliman Dec 6, 2022
c039c2e
#285 init-db (#286)
tariqksoliman Dec 8, 2022
d52f58a
#290 Upgrade config page jquery, fix i closing tag (#291)
tariqksoliman Dec 12, 2022
3e9604e
#292 Controlled Time Layers only make initial query, refactored to re…
tariqksoliman Dec 12, 2022
2cf39a4
Fix crash when Time is completely disabled
tariqksoliman Dec 13, 2022
16967fa
#296 Fix WMS url query (#297)
tariqksoliman Dec 15, 2022
22f27c2
#298 TimeUI Pan and Zoom and Improvements (#299)
tariqksoliman Jan 4, 2023
3d2387e
Make marker bearings projection-aware
tariqksoliman Jan 4, 2023
83520b1
Update Docs, Add redundant stopGuests check
tariqksoliman Jan 5, 2023
862990c
Fix Invalid Date when using deep linked timestamps, improve mmgisAPI …
tariqksoliman Jan 6, 2023
6c93cd1
Fix typo
tariqksoliman Jan 6, 2023
2eac369
#294 SameSite None env and login improvements (#302)
tariqksoliman Jan 9, 2023
ba84b7f
Add feature to reconnect WebSocket from client to server (#295)
ac-61 Jan 11, 2023
e426d36
#304 Fix bug in latest too
tariqksoliman Jan 13, 2023
2b53c85
Layer UUIDs (#308)
tariqksoliman Jan 19, 2023
7da18cd
#309 Controlled Raster for initial query only (#311)
tariqksoliman Jan 21, 2023
3d09a79
Fix function call order bug in addNewLayer function (#310)
ac-61 Jan 21, 2023
e81d2fe
Account for non-uuid deep link names
tariqksoliman Jan 23, 2023
8fdacd3
Fix toggleLayer bug (#260)
ac-61 Jan 23, 2023
b4dd759
Fix Node 18+ build (#312)
tariqksoliman Jan 24, 2023
2396a9a
ci: build docker image and push to GitHub Container Registry (#316)
jamesmontalvo3 Jan 26, 2023
14bf101
#317 Fix time vectors not applying correctly (#319)
tariqksoliman Jan 27, 2023
ce6414a
Fix bug where initially on annotations features have no click events
tariqksoliman Jan 31, 2023
e959617
Add function to overwrite elements displayed in LegendTool (#320)
ac-61 Jan 31, 2023
a2bef30
#322 Add ROOT_PATH, Deprecate PUBLIC_URL (#323)
tariqksoliman Feb 2, 2023
3d33ea0
Update docker-build workflow to trigger on deve branch and releases
tariqksoliman Feb 2, 2023
16b33df
Update README.md
tariqksoliman Feb 3, 2023
a5fc368
Update README.md
tariqksoliman Feb 3, 2023
8d290f9
#324 Configurable Context Menu Actions (#325)
tariqksoliman Feb 4, 2023
04ebd72
Add docker build workflow
tariqksoliman Feb 4, 2023
503ba24
Make sure user input UUIDs through REST API are unique (#326)
ac-61 Feb 8, 2023
228bede
#327 Assorted UI Improvements (#328)
tariqksoliman Feb 8, 2023
ae72d16
#313 Expose as much as possible to the mmgisAPI (#330)
tariqksoliman Feb 10, 2023
50d46e2
#331 Websocket aware configure page (#332)
tariqksoliman Feb 14, 2023
9f97fe1
Update addLayer and removeLayer endpoints in REST API (#337)
ac-61 Feb 21, 2023
dc4d7ff
#336 Add GitHub Templates (#338)
tariqksoliman Feb 22, 2023
4ce961b
#303 Photosphere Targets and Target Pairing (#340)
tariqksoliman Feb 22, 2023
9e92fe8
#341 Export working config, disable override (#342)
tariqksoliman Feb 22, 2023
977f5be
Add xml2js and proj4 packages. (#343)
tariqksoliman Feb 23, 2023
1e992cf
#335 Feature Request: GetMissions (#345)
tariqksoliman Feb 23, 2023
5f1a403
Fix typo
tariqksoliman Feb 23, 2023
ab1c96a
#346 Deep Link additional encodeURI
tariqksoliman Feb 27, 2023
3a3f748
Fix missing uuids from configure
tariqksoliman Feb 27, 2023
6a65074
WMS TILESIZE param, features without uncertainty properties won't dra…
tariqksoliman Feb 28, 2023
d12810d
Fix clearOnMapClick function for layers with no fill (#348)
ac-61 Mar 1, 2023
dc6f97b
Fix angleUnit on image attachment
tariqksoliman Mar 6, 2023
0d430e6
Optional Info button for projects that need a link to project info #350
jtroberts Mar 7, 2023
be30b44
Support existing az el properties for pairing attachments
tariqksoliman Mar 9, 2023
9a9d89d
Fix bug in Photosphere where points with matching names get stuck
tariqksoliman Mar 10, 2023
251cdae
Add dontFloor to mod function
tariqksoliman Mar 10, 2023
5bd3ae4
Updates to info and help buttons
jtroberts Mar 13, 2023
2e3450f
Merge pull request #351 from NASA-AMMOS/jr-350
jtroberts Mar 13, 2023
a66c7af
#352 [New Feature]: DrawTool - Feature Property Templates (#353)
tariqksoliman Mar 29, 2023
0b47af1
#354 Add MAIN_MISSION ENV (#355)
tariqksoliman Mar 29, 2023
e760193
Do not append time parameters to wmts tile layers
tariqksoliman Apr 3, 2023
318615d
Fix configure layer cloning
tariqksoliman Apr 4, 2023
bf67629
Remove typo ; in MAIN_MISSION env
tariqksoliman Apr 4, 2023
2ee56bc
Remove outdated firefox-specific css fix
tariqksoliman Apr 11, 2023
87e05ea
Add blob to default-src csp
tariqksoliman Apr 11, 2023
0b75b14
#356 DrawTool Templating - Incrementer field (#357)
tariqksoliman Apr 12, 2023
af11505
#358 - DrawTool - Grouping editing should only update changed templat…
tariqksoliman Apr 13, 2023
253376b
#360 Expose all endpoints to longtermtokens (#362)
tariqksoliman Apr 17, 2023
cf98873
#363 Support file_owner in webhook body. Include body for onFileDelet…
tariqksoliman Apr 17, 2023
502b6b9
Fix layer uuids showing up in bottom-right coords
tariqksoliman Apr 18, 2023
a27b388
Expose ToolController_
tariqksoliman Apr 18, 2023
9cbe4ef
#366 Don't copy uuid on layer clone (#367)
tariqksoliman Apr 24, 2023
2d6acf8
#369 Refresh vector layers, also some WEBSOCKET_ROOT_PATH (#370)
tariqksoliman Apr 27, 2023
5338f9f
#368 Fix Websocket usage with ROOT_PATH (#373)
tariqksoliman May 1, 2023
3406c0f
Fix bad Configure/websockets json writing
tariqksoliman May 3, 2023
6a26e95
Fix time memory leak from improper cleanup of tooltips and slider
tariqksoliman May 8, 2023
d690af2
chore(config): Inline import from same namespace (#375)
evenstensberg May 8, 2023
223fd10
#378 LegendTool as Popup (#379)
tariqksoliman May 11, 2023
627848d
#380 DrawTool - Fix error saving templateless features (#381)
tariqksoliman May 15, 2023
239a0c6
Reset stroke styles too
tariqksoliman May 16, 2023
9cdcca7
fix(imports): destructure modules (#384)
evenstensberg May 26, 2023
68d9a02
chore(naming): use standardized name (#385)
evenstensberg May 26, 2023
18fad9c
Merging MGViz with recent MMGIS in progress
jtroberts Jun 6, 2023
4991070
Temporarily adding private tools before splitting into separate repo
jtroberts Jun 6, 2023
8759f54
Add event listener for toggleSeparatedTool in MMGIS API (#388)
ac-61 Jun 23, 2023
c85c3bc
Added initial TACLS API script and sample data
jtroberts Jun 27, 2023
d44ca3a
Set historical significant earthquake threshold to 5.95
jtroberts Jun 27, 2023
dbfae0e
Merge branch 'development' of github.com:NASA-AMMOS/MMGIS into mgviz1
jtroberts Jun 27, 2023
4c43f33
Prioritize Map splitscreen size when resizing
tariqksoliman Jun 27, 2023
e6a5e0d
#372 calls to updateVectorLayer and appendLineString cause selected f…
tariqksoliman Jun 27, 2023
9fac207
#390 InfoTool - Clicks Intersect Polygons (#391)
tariqksoliman Jun 28, 2023
8f794ce
#387 DrawTool - Group Editing (#392)
tariqksoliman Jul 5, 2023
122b682
Dynamically retrieve TACLS test sites
jtroberts Jul 8, 2023
bfcc59d
DrawTool / Group Editing - Let other users save changes to features
tariqksoliman Jul 12, 2023
25431b3
Added an option to the LegendTool to automatically display on start
jtroberts Jul 12, 2023
cb41d0c
LegendTool needs to have hasVars set to true for the last commit
jtroberts Jul 12, 2023
e608671
Merge pull request #393 from NASA-AMMOS/jr-displayonstart-legend
jtroberts Jul 12, 2023
f0c0319
Added max-width to legend to prevent long text from filling screen
jtroberts Jul 12, 2023
ee3f33d
Added a .nvmrc file with node version
jtroberts Jul 12, 2023
9ca8c11
Merge pull request #395 from NASA-AMMOS/jr-nvmrc
jtroberts Jul 13, 2023
9d5d3a9
Added ellipsis and title for overflow legend text
jtroberts Jul 13, 2023
eb10fc4
Merge pull request #394 from NASA-AMMOS/jr-maxwidth-legend
jtroberts Jul 13, 2023
30ccad9
Merge branch 'development' of github.com:NASA-AMMOS/MMGIS
jtroberts Jul 13, 2023
9ff43d8
Include TACLS results in legend
jtroberts Jul 13, 2023
d8c8ea7
#386 Local Login Issue (#396)
tariqksoliman Jul 13, 2023
843475d
#383 Support raster option on gdal2tiles_3.5.2/gdal2customtiles (#397)
tariqksoliman Jul 17, 2023
48bcefb
Fix mmgisAPI featuresContained when a failed to load layer = null
tariqksoliman Jul 17, 2023
fec9c89
#399 Crashes if Layers are valid JSON but not valid GeoJSON (#400)
tariqksoliman Jul 24, 2023
2ea99c3
#401 Extend CSSO timeout check to main client (#402)
tariqksoliman Jul 24, 2023
3fcdd7e
#403 rightClickMenuActions - Polygons and WKT (#404)
tariqksoliman Jul 25, 2023
dc149c3
#405 DrawTool - Template - Incrementer - Move to backend (#406)
tariqksoliman Jul 31, 2023
3d007b1
Mini fix to allow [] as empty geojson layer data
tariqksoliman Jul 31, 2023
8910424
Fix DrawTool Incrementer self collision bug
tariqksoliman Jul 31, 2023
9be2eba
Convert layer data [<FeatureCollection>] to geojson
tariqksoliman Aug 1, 2023
1984777
#407 Click intersects on Query and Draw layers (#408)
tariqksoliman Aug 4, 2023
0be76c0
Allow the legend tool to be right justified on the screen
jtroberts Aug 7, 2023
bd19a7e
Added HistoricalModerate earthquake layer
jtroberts Aug 8, 2023
ba30c8d
#409 Added example config in description for LegendTool
jtroberts Aug 8, 2023
6b881cb
Merge pull request #409 from NASA-AMMOS/jr-legend-justify
jtroberts Aug 8, 2023
a4ac710
Merge branch 'development' of github.com:NASA-AMMOS/MMGIS into mgviz1
jtroberts Aug 8, 2023
3d1eb0b
Initial Draw Box option for Chart Tool
jtroberts Aug 8, 2023
4c16d88
Updated cron paths for MGViz
jtroberts Aug 8, 2023
526c454
#410 Draw Tool - Time Integration (#411)
tariqksoliman Aug 14, 2023
f95355e
Fixed Velocity tool and updated it to sidebar
jtroberts Aug 17, 2023
2e91145
#412 Add Configuration Option to set TimeUI Extent (#413)
tariqksoliman Aug 21, 2023
5914a93
Custom floating search tool and related UI updates
jtroberts Aug 30, 2023
c426165
Missing configurations for custom search tool
jtroberts Aug 30, 2023
f4b6453
Read custom file names for TACLS output
jtroberts Aug 30, 2023
3f92ab1
Added external jquery-ui that SearchTool needs
jtroberts Aug 30, 2023
d8d6350
#414 IdentifierTool works again with human layer names (#415)
tariqksoliman Sep 5, 2023
2f421aa
#422 Removed event blocking popup functions (#423)
tariqksoliman Sep 5, 2023
5a0e51f
Bump to 2.9.0
tariqksoliman Sep 6, 2023
d7dfce4
2.9.0 merge
tariqksoliman Sep 6, 2023
50472e1
#425 Description Item fixes (#426)
tariqksoliman Sep 8, 2023
7fcdca9
Fixed search site by distance functionality
jtroberts Sep 8, 2023
1fd0063
Initial search sites by drawing polygon option
jtroberts Sep 19, 2023
1ae2ce6
Fix export pdf in ChartTool
jtroberts Sep 19, 2023
9d10bc4
Fix subtitle y spacing on ChartTool
jtroberts Sep 19, 2023
a2a7e59
Remove odd duplicate triggerWebhookds
tariqksoliman Sep 20, 2023
406c152
Fix draw upload webhook not populating geojson field
tariqksoliman Sep 20, 2023
340f6c0
Remove extra log
tariqksoliman Sep 20, 2023
0d2b839
Fix DrawTool deleting tag closing modal bug
tariqksoliman Sep 21, 2023
2402e04
DrawTool - Remove timetoggle when tool closes
tariqksoliman Sep 26, 2023
3bc3e94
DrawTool - Deselect file when turning off
tariqksoliman Sep 26, 2023
dc71787
Fixed SearchTool cross marker not disappearing
jtroberts Sep 26, 2023
8de8b08
#427 Expandable Tools (#428)
tariqksoliman Sep 27, 2023
ba2d8bc
#427 Allow DrawTool names to expand too
tariqksoliman Sep 27, 2023
440ea15
#429 Hotkeys (#430)
tariqksoliman Oct 3, 2023
2de964c
shortcutSuffix and raw variables for tile layers
tariqksoliman Oct 3, 2023
b7d08e9
Update Dependencies (#431)
tariqksoliman Oct 3, 2023
d6b2bdc
docker build workflow - add no-cache param
tariqksoliman Oct 4, 2023
9467d04
Merge branch 'development' of https://github.com/NASA-AMMOS/MMGIS int…
tariqksoliman Oct 4, 2023
f5bc3f9
Update ModuleScopePlugin
tariqksoliman Oct 4, 2023
44ed04f
#432 Image Overlay Fixes (#433)
tariqksoliman Oct 4, 2023
bb5fe75
Support for selecting sites by drawing a polygon on the map
jtroberts Oct 5, 2023
d4a61ac
#435 DrawTool - Reorder Template fields (#436)
tariqksoliman Oct 5, 2023
b311701
#437 Add CONTRIBUTING.md (#438)
tariqksoliman Oct 6, 2023
73b84d8
Update README.md
tariqksoliman Oct 6, 2023
39168ab
Only use valid vertices with polygon search
jtroberts Oct 10, 2023
22d6ae6
Ability to copy earthquake info to clipboard
jtroberts Oct 13, 2023
c52bdfc
#439 DrawTool - Add Advanced Search and Filter UI to Shapes Tab (#440)
tariqksoliman Oct 13, 2023
11e0653
Support booleans in LocalFilterer
tariqksoliman Oct 16, 2023
acd48d1
Show earthquake info even if there is an error
jtroberts Oct 17, 2023
76e8e19
Fixed several minor UI bugs with ChartTool
jtroberts Oct 17, 2023
0710f03
Add coordinates to earthquake info
jtroberts Oct 18, 2023
ec2ea75
ChartTool fixes and disabled TACLS display
jtroberts Oct 18, 2023
637c92d
Fixed chart loading label
jtroberts Oct 18, 2023
92a5567
Make sure python3 is used
jtroberts Oct 23, 2023
e8e209b
Add MGViz Mission data for now
jtroberts Oct 24, 2023
54f7b3d
Fixed CopyLink not working with site selected
jtroberts Oct 24, 2023
23c61aa
Updated sioCron directory
jtroberts Oct 24, 2023
058c9f4
Added legends for point data
jtroberts Oct 24, 2023
2725e64
Fixed site list decoding
jtroberts Oct 24, 2023
c0741cf
#443 Add Database docs (#445)
tariqksoliman Oct 24, 2023
27def3c
Identifier tool vsicurl support (#444)
Wieschie Oct 24, 2023
386054b
Minor updates for API calls (#446)
tariqksoliman Oct 24, 2023
ee4ed5d
Replace mmgis logo with mgviz
jtroberts Oct 25, 2023
04918ca
Fixed Stack Separation not working
jtroberts Oct 25, 2023
9ec6a5c
Fixed Stack On charts not reloading on selection
jtroberts Oct 25, 2023
f3ad3f8
Add file_description tagging schemes to DB docs
tariqksoliman Oct 25, 2023
5fddb04
Add file_description tagging schemes to DB docs 2
tariqksoliman Oct 25, 2023
71b4849
Add file_description tagging schemes to DB docs 3
tariqksoliman Oct 26, 2023
600ef5d
#447 Deep Link shall also deep link to start and end times (#448)
tariqksoliman Oct 26, 2023
d2830ba
Merge branch 'development' of github.com:NASA-AMMOS/MMGIS into mgviz1
jtroberts Oct 31, 2023
6a0e3b2
#398 ShadeTool (#450)
tariqksoliman Nov 8, 2023
3fba967
#449 Export .shp and .kml layers (#451)
tariqksoliman Nov 9, 2023
8bd22d0
Improve KML Export Styles
tariqksoliman Nov 14, 2023
39fbea7
Merge branch 'development' of github.com:NASA-AMMOS/MMGIS into mgviz1
jtroberts Nov 14, 2023
4632b75
Fixed SearchTool not refreshing chart if ChartTool already loaded
jtroberts Nov 14, 2023
0a4b407
Slim Infusion: Update baseline SLIM templates with core information. ...
jpl-jengelke Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 11 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
node_modules
npm-debug.log
API/node_modules
Missions
Missions_rel
Missions_dev
node_modules
npm-debug.log
API/node_modules
Missions
Missions_rel
Missions_dev
.env
**/.git
data
*DS_Store
*__pycache__
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
npm-debug.log
API/node_modules
Missions
Missions_rel
Missions_dev
src/external
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug Report
about: Report a bug to help us improve
title: '[Bug]: '
labels: 'bug'
assignees: ''

---

**Checked for duplicates**

> Have you checked for duplicate issue tickets?

- Ex. Yes - I've already checked
- Ex. No - I haven't checked

**Describe the bug**

> A clear and concise description of what the bug is. Plain-text snippets preferred but screenshots welcome.

Ex. When I did [...] action, I noticed [...]

**What did you expect?**

> A clear and concise description of what you expect to happen

Ex. I expected [...]

**Reproducible steps**

> How would we reproduce this bug? Please walk us through it step by step. Plain-text snippets preferred but screenshots welcome.

1.
2.
3.

**What is your environment?**

> Include any computer hardware, operating system, framework, browser, time-of-day or other contextual information related to your issue

- Ex. Version of this software [e.g. vX.Y.Z]
- Ex. Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
- ...
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Bug Report Form
description: Report a bug to help us improve
title: "[Bug]: "
labels: "bug"
body:
- type: markdown
attributes:
value: |
> _Thanks for filing a bug ticket. We appreciate your time and effort. Please answer a few questions._
- type: dropdown
id: checked-for-duplicates
attributes:
label: Checked for duplicates
description: Have you checked for duplicate issue tickets?
multiple: false
options:
- "Yes - I've already checked"
- "No - I haven't checked"
validations:
required: yes
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is. Plain-text snippets preferred but screenshots welcome.
placeholder: Tell us what you saw
value: "When I did [...] action, I noticed [...]"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: What did you expect?
description: A clear and concise description of what you expect to happen
placeholder: Tell us what you expected
value: "I expected [...]"
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproducible steps
description: "How would we reproduce this bug? Please walk us through it step by step. Plain-text snippets preferred but screenshots welcome."
value: |
1.
2.
3.
...
render: bash
- type: textarea
id: environment
attributes:
label: Environment
description: "What is your environment? Include any computer hardware, operating system, framework, browser, time-of-day or other contextual information related to your issue"
value: |
- Version of this software [e.g. vX.Y.Z]
- Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
...
render: bash
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: New Feature
about: Suggest a new feature for us to implement
title: '[New Feature]: '
labels: 'enhancement'
assignees: ''

---

**Checked for duplicates**

> Have you checked for duplicate issue tickets?

- Ex. Yes - I've already checked
- Ex. No - I haven't checked

**Alternatives considered**

> Have you considered alternative solutions to your feature request?

- Ex. Yes - and alternatives don't suffice
- Ex. No - I haven't considered

**Related problems**

> Is your feature request related to any problems? Please help us understand if so, including linking to any other issue tickets.

Ex. I'm frustrated when [...] happens as documented in issue-XYZ

**Describe the feature request**

> A clear and concise description of your request.

Ex. I need or want [...]
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: New Feature Form
description: Suggest a new feature for us to implement
title: "[New Feature]: "
labels: "enhancement"
body:
- type: markdown
attributes:
value: |
> _Thanks for filing a new feature request. We appreciate your time and effort. Please answer a few questions._
- type: dropdown
id: checked-for-duplicates
attributes:
label: Checked for duplicates
description: Have you checked for duplicate issue tickets?
multiple: false
options:
- "Yes - I've already checked"
- "No - I haven't checked"
validations:
required: yes
- type: dropdown
id: checked-alternatives
attributes:
label: Alternatives considered
description: Have you considered alternative solutions to your feature request?
options:
- "Yes - and alternatives don't suffice"
- "No - I haven't considered"
validations:
required: yes
- type: textarea
id: related-problems
attributes:
label: Related problems
description: Is your feature request related to any problems? Please help us understand if so, including linking to any other issue tickets.
placeholder: Tell us the problems
value: "I'm frustrated when [...] happens as documented in issue-XYZ"
validations:
required: false
- type: textarea
id: description
attributes:
label: Describe the feature request
description: A clear and concise description of your request.
placeholder: Tell us what you want
value: "I need or want [...]"
validations:
required: true
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Purpose
- Clear, easy-to-understand sentences outlining the purpose of the PR
## Proposed Changes
- [ADD] ...
- [CHANGE] ...
- [FIX] ...
## Issues
- Links to relevant issues
- Example: issue-XYZ
## Testing
- Provide some proof you've tested your changes
- Example: test results available at ...
- Example: tested on operating system ...
117 changes: 117 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: Docker build and push

# limit concurrency
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#examples-using-concurrency-and-the-default-behavior
concurrency: docker_mmgis_main

on:
push:
# Only activate for `master` branch
branches:
- master
- development
# Plus for all tags
tags:
- "*"

# Plus for any pull-requests
pull_request:
branches:
- master
- development

# And for any final releases
release:
types: [published]

env:
# Will be "NASA-AMMOS/MMGIS" for the main repo, for forks "user-name-of-fork/MMGIS"
# For generating the tag, all will be converted to lowercase
IMAGE_SLUG: ${{ github.repository }}

jobs:
# Push image to GitHub Container Registry.
# The image tag pattern is:
# for pull-requests: <PATCH_VERSION>-<DATE>-<PR_NUMBER>, eg: 1.35.2-20210125-25
# for tags: <TAG>
# for `master` branch: latest,<PATCH_VERSION>-latest,<MINOR_VERSION>-latest,<MAJOR_VERSION>-latest,<PATCH_VERSION>-<DATE>-<SHA>
# for `development` branch: development,<MAJOR_VERSION>-development,<PATCH_VERSION>-<DATE>-<SHA>
# for releases: release,<PATCH_VERSION>-release,<MINOR_VERSION>-release,<MAJOR_VERSION>-release,<PATCH_VERSION>-<DATE>-<SHA>
# Version is parsed from package.json
push:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'release'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Generate tags
id: generate
run: |

# Image ID
IMAGE_ID=ghcr.io/$IMAGE_SLUG

# Date
BDATE=$(date +%Y%m%d)

# PATCH_VERSION from package.json is like "1.2.3"
# MINOR_VERSION like "1.2", MAJOR_VERSION like "1"
PATCH_VERSION=$(jq .version -r ./package.json)
MINOR_VERSION=${PATCH_VERSION%.*}
MAJOR_VERSION=${MINOR_VERSION%.*}

# Change all uppercase to lowercase, just in case
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')

# Strip git ref prefix from version and use it as suffix for version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')

# For pull requests just extract the PR number
PR_NUMBER=""
[ "${{ github.event_name }}" == "pull_request" ] && VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\)/merge,\1,')
[ "${{ github.event_name }}" == "pull_request" ] && PR_NUMBER=$VERSION

# Append version
[ "${{ github.event_name }}" == "pull_request" ] && VERSION=$PATCH_VERSION-$BDATE-$VERSION

# Strip "v" prefix from tag name if it's a tag
# [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')

# Use Docker `latest` tag convention if it's a master branch build
[ "$VERSION" == "master" ] && VERSION=latest
[ "$VERSION" == "development" ] && VERSION=development
[ "${{ github.event_name }}" == "release" ] && VERSION=release

# Compose REGISTRY_TAGS variable
REGISTRY_TAGS="-t $IMAGE_ID:$VERSION"

# For master branch also supply an extra tag: <PATCH_VERSION>-latest,<MINOR_VERSION>-latest,<MAJOR_VERSION>-latest,<PATCH_VERSION>-<DATE>-<SHA>
[ "$VERSION" == "latest" ] && REGISTRY_TAGS="$REGISTRY_TAGS -t $IMAGE_ID:$PATCH_VERSION-latest -t $IMAGE_ID:$MINOR_VERSION-latest -t $IMAGE_ID:$MAJOR_VERSION-latest -t $IMAGE_ID:$PATCH_VERSION-$BDATE-$(git rev-parse --short HEAD)"
[ "$VERSION" == "development" ] && REGISTRY_TAGS="$REGISTRY_TAGS -t $IMAGE_ID:$MAJOR_VERSION-development -t $IMAGE_ID:$PATCH_VERSION-$BDATE-$(git rev-parse --short HEAD)"
[ "$VERSION" == "release" ] && REGISTRY_TAGS="$REGISTRY_TAGS -t $IMAGE_ID:$PATCH_VERSION-release -t $IMAGE_ID:$MINOR_VERSION-release -t $IMAGE_ID:$MAJOR_VERSION-release -t $IMAGE_ID:$PATCH_VERSION-$BDATE-$(git rev-parse --short HEAD)"

echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
echo REGISTRY_TAGS=$REGISTRY_TAGS
echo headref=${{ github.head_ref }}

SHA_SHORT=${{ github.sha }}
[ "${{ github.event_name }}" == "pull_request" ] && SHA_SHORT=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-8)

echo "Final image tag to be pushed:"
echo $REGISTRY_TAGS
echo "REGISTRY_TAGS=$REGISTRY_TAGS" >> $GITHUB_OUTPUT
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_OUTPUT
echo "REGISTRY_TAGS_VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "REGISTRY_TAGS_PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUT
echo "SHA_SHORT=$SHA_SHORT" >> $GITHUB_OUTPUT

- name: Login to GHCR
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin ghcr.io

- name: Docker build
run: docker build --no-cache ${{ steps.generate.outputs.REGISTRY_TAGS }} .

- name: Docker push
run: docker push ${{ steps.generate.outputs.IMAGE_ID }} --all-tags
50 changes: 26 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
.vscode
.DS_Store
.env
/Missions_dev/
/Missions_rel/
/documentation
API/logs/*

node_modules/

/Missions
/db/
/config/db/
/dist/*
/scripts/ignore

#Nested repo where private backend might reside
/API/MMGIS-Private-Backend
#Nested repo where private tools might reside
/scripts/essence/MMGIS-Private-Tools
/scripts/pre/toolConfigs.js
sessions

#tools
.vscode
.DS_Store
.env
.*project
/node_modules/
/API/logs/*
/Missions/*
!/Missions/.gitkeep
/private/api/spice/kernels/*

#Nested repo where private backend might reside
/API/MMGIS-Private-Backend
#Nested repo where private tools might reside
#/src/essence/MMGIS-Private-Tools
/src/essence/MMGIS-Private-Tools-OFF

/config/pre/toolConfigs.json
/src/pre/tools.js

/build/*
/data/*
*__pycache__

sessions

#tools
Loading