Commit Graph

38 Commits

Author SHA1 Message Date
Caleb Herpin
491503c5bf Now rebuilding before tests run. 2021-07-22 09:34:27 -05:00
Caleb Herpin
ff3dcd4315 Updated tests to auto start server. 2021-07-21 18:38:49 -05:00
Caleb Herpin
765b1a3a73 Working on fixing tests 2021-07-21 17:55:09 -05:00
Caleb Herpin
50ccb70c4f Fixed some tests 2021-07-21 17:08:52 -05:00
Caleb Herpin
9a7e0575ee Added test cases for web server. 2021-07-20 17:02:39 -05:00
Caleb Herpin
45b6c75008 Added SSL option 2021-07-19 12:34:42 -05:00
Caleb Herpin
e1468ff7cd Removed unessary thread
Shutting down gracefully.
2021-07-16 19:20:16 -05:00
Caleb Herpin
b7b7a6465d Added time_homogenous functinality 2021-07-16 18:52:29 -05:00
Caleb Herpin
ddd3c79ec3 Fixed send_chunk function.
Removed hello world route.
Fixed trick_mm route.
2021-07-16 16:22:11 -05:00
Caleb Herpin
958c59e21b Fixed the way that websocket handlers are added 2021-07-16 15:06:06 -05:00
Caleb Herpin
b8fb6d747d Removed cout statements 2021-07-16 14:29:34 -05:00
Caleb Herpin
d877eced88 Added debug messages. 2021-07-16 14:26:21 -05:00
Caleb Herpin
ad517cd2a4 Enabled document_root and document_root confirmation 2021-07-16 12:17:40 -05:00
Caleb Herpin
973eaf738b Now exiting if we can't listen on requested port. 2021-07-16 12:03:02 -05:00
Caleb Herpin
2f71740f1a Chagned default values for debug and enable. 2021-07-16 11:55:15 -05:00
Caleb Herpin
a00c9ca365 Enable message_publish for Civet Server and added currect member variables. 2021-07-16 11:36:04 -05:00
Caleb Herpin
7c7f134fce Removed .o files from repo 2021-07-16 10:43:46 -05:00
Caleb Herpin
e12da52fca CivetServer with swig is now working. 2021-07-16 10:42:28 -05:00
Caleb Herpin
c7b088fcff Not throwing error. 2021-07-15 16:37:06 -05:00
Caleb Herpin
d2bb3f88d0 Now installing http handlers and web socket sessions the correct way 2021-07-07 15:30:41 -05:00
Caleb Herpin
0725d28914 Implemented endpoints 2021-07-01 20:59:08 -05:00
Caleb Herpin
e9cd688c3f Added CivetWeb.sm 2021-07-01 19:38:30 -05:00
Caleb Herpin
e744aa7359 Included code for CivetWebServer. Edited makefile to make civetweb library 2021-07-01 18:09:49 -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