jmpenn
2a03ff5cf4
Replace sprintf with snprintf in all of Trick source. #1384 ( #1392 )
...
* Replace sprintf with snprintf in all of Trick source. #1384
* Don't add -Werror for MacOS because of deprecated sprintf warnings which we cant get rid of because SWIG. #1384
* Fixed an unbalanced parenthesis in S_overrides.mk. #1384
2022-11-15 15:00:05 -06:00
Scott Fennell
2dd12fcbb6
#1315 parse websocket msg len for correct data ( #1316 )
...
closes #1315
2022-07-27 08:40:40 -05:00
Scott Fennell
ed95f22ecf
revert changing stageTime in VariableServerSession
2022-06-29 14:49:55 -05:00
Scott Fennell
284ea8521a
1297 civet enum ( #1298 )
...
* include freeze time tics in calculation for websocket data intervals
* add enum type to web server types
closes #1297
2022-06-29 13:52:15 -05:00
Scott Fennell
866c21d5a5
include freeze time tics in calculation for websocket data intervals ( #1296 )
2022-06-28 17:20:50 -05:00
dependabot[bot]
de914d9fb6
Bump eventsource from 1.0.7 to 1.1.1 in /trick_source/web/dashboard ( #1276 )
...
Bumps [eventsource](https://github.com/EventSource/eventsource ) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases )
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md )
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1 )
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 10:43:03 -05:00
dependabot[bot]
32339908fa
Bump lodash from 4.17.14 to 4.17.21 in /trick_source/web/dashboard ( #1246 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.14 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 13:57:49 -05:00
dependabot[bot]
270fa52a54
Bump postcss from 7.0.17 to 7.0.39 in /trick_source/web/dashboard ( #1231 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.17 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.17...7.0.39 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:14:33 -06:00
dependabot[bot]
9868aef511
Bump follow-redirects in /trick_source/web/dashboard ( #1227 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.7.0 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.7.0...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:14:19 -06:00
dependabot[bot]
a18ad025a8
Bump ajv from 6.10.2 to 6.12.6 in /trick_source/web/dashboard ( #1226 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:14:05 -06:00
dependabot[bot]
fb49b5b6ed
Bump handlebars from 4.1.2 to 4.7.7 in /trick_source/web/dashboard ( #1225 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.7 )
---
updated-dependencies:
- dependency-name: handlebars
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:13:50 -06:00
dependabot[bot]
615f7fe264
Bump tmpl from 1.0.4 to 1.0.5 in /trick_source/web/dashboard ( #1221 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:13:37 -06:00
dependabot[bot]
036e0c54fc
Bump ws from 5.2.2 to 5.2.3 in /trick_source/web/dashboard ( #1220 )
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:13:17 -06:00
dependabot[bot]
088c210fbf
Bump url-parse from 1.4.7 to 1.5.10 in /trick_source/web/dashboard ( #1233 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
[skip ci]
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 16:12:42 -06:00
Penn, John M 047828115
8657acb3dc
Fix inclusion of CivetServer.h. #1188
2021-10-19 13:41:42 -05:00
Penn, John M 047828115
5b3770d15a
Fix civetweb header inclusion problem. #1188
2021-10-18 11:32:33 -05:00
Penn, John M 047828115
1179703b6d
Refactor civitweb linkage #1188
2021-10-14 18:17:04 -05:00
Penn, John M 047828115
0b373d96cf
Refactor web server configuration. #1188
2021-09-29 18:00:33 -05:00
Penn, John M 047828115
4c52ed2753
Merge Caleb Herpins port of Trick webserver from Mongoose to CivetWeb #730 .
2021-08-18 13:15:10 -05:00
Scott Fennell
b724f502b3
fix 32 bit test ( #953 )
...
* fix tests for 32 bit mode
* fix issues with mongoose build
* Update docker.yml
2020-02-14 10:23:19 -06:00
Scott Fennell
f69d29b15f
Create short README for web server to help navigate to documentation
2019-11-20 15:51:32 -06:00
Scott Fennell
7c2f562e8f
move web documentation to docs
2019-11-20 15:43:34 -06:00
Penn, John M 047828115
f157b2a8ee
Merge branch 'master' of https://github.com/nasa/trick
2019-11-19 14:35:53 -06:00
Penn, John M 047828115
2154c654a9
Add documentation to Web Server #910
2019-11-19 14:22:50 -06:00
Scott Fennell
54b52e39dc
update web app, prepare for release. Rename directory
2019-11-19 10:25:38 -06:00
Scott Fennell
227c733ccc
Update react-based Trick Dashboard ( #900 )
...
Fast-forwarding my app to the latest version to make it available and minimize integration problems later on. The app still requires several features to be implemented such as a Search feature for TV.
Currently, the process for using the app is as follows:
Install Node.js. https://nodejs.org/en/ or alternatively find a repository such as NodeSource
```cd trick/trick_source/web/mockup```
```npm i```
```npm run build```
Copy the contents of the build directory to your www directory for your sim
2019-11-08 10:56:56 -06:00
Penn, John M 047828115
23b5b7ac19
Use better WebSocket constructor in wsexp.html because it's an example.
2019-11-06 13:18:29 -06:00
Penn, John M 047828115
225cd9704e
Add images directory and trick_icon.png needed for webserver.
2019-11-04 12:52:29 -06:00
Scott Fennell
8428c56e6a
add sie and units messages to httpserver
2019-10-31 10:39:13 -05:00
jmpenn
be34b89512
In WebServer class use message_publish() for messages and add debug flag. ( #893 )
2019-10-29 17:21:19 -05:00
jmpenn
9eed167634
Add enable flag to webserver. Default is false. Should be set to true in input file to enable. ( #892 )
2019-10-29 11:52:02 -05:00
jmpenn
d86a23834c
Fix a race condition between ICG and mongoose install ( #891 )
...
* Fix a race condition between ICG and mongoose install
* Update mongoose to version 6.16
2019-10-25 13:21:39 -05:00
jmpenn
95c6659733
Incorporate Webserver into Trick, so one only has to include HttpServ… ( #886 )
...
* Incorporate Webserver into Trick, so one only has to include HttpServer.sm
* Tweaks in default index.html file
* Rename HTTPServer.sm to WebServer.sm
* Rename http_server to WebServer
* Add --retry to curl invocations in HttpServer makefile.
* Fix #include in VariableServerVariable.hh
* Include cleanup and curl tweaks in the hopes of making Jenkins happy.
* Doh! problem in makefile masked by preinstalled mongoose in usr/local/lib
* DIE Make Bug DIE
* Fix include in WebServer.sm
* WebServer.sm constructor name
* Don't SWIG mongoose.h
* Compile with -std=c++11
* Attempt to fix race condition in makefile
* makefie tweek
* Fix trick library name problem for Centos and Redhat
2019-10-23 11:58:19 -05:00
Scott Fennell
d8717059f5
#851 complete a basic mockup with some features of the React-based sim-control UI
2019-08-27 13:10:18 -05:00