Commit Graph

22 Commits

Author SHA1 Message Date
Mr-DaveDev
cf1582967c Webcontrol Actions (#900)
* Update Webcontrol Actions and Resolve Compiler Warnings
2019-02-03 10:16:59 -07:00
Mr-DaveDev
1d6556289b Revise stream rate 2019-01-19 20:39:13 -07:00
Mr-DaveDev
f40b46f331 Answer stream only after first pass of motion loop
closes #883
2019-01-19 20:38:31 -07:00
Martin Pollard
1faacf12be Fix webu_hostname to handle IPv6 [] colons (#885)
webu_hostname currently incorrectly parses IPv6 [] style IP addresses in hostnames because it misinterprets the colons within them as the port delimiting colon.
2019-01-13 22:03:04 -07:00
Mr-DaveDev
3c249fbcfa Logging messages
Closes #861
2018-12-02 12:06:26 -07:00
Mr-DaveDev
5beca99591 Cross thread and timing issues with streams 2018-10-14 12:03:34 -06:00
Mr-DaveDev
0c806fec2e Add legacy webcontrol
* Add legacy webcontrol
2018-10-11 18:14:37 -06:00
Mr-DaveDev
5c95ed8fe2 Add eventstart and eventend for webcontrol
1.  Add eventstart/eventend as options for webcontrol api.
2.  Revise action names on webcontrol html.
3.  Revise variable name in code from makemovie to event_stop.
4.  Revise some code indentation for code-folding in IDE

Closes #796
2018-09-08 19:28:02 -06:00
Mr-DaveDev
029fc161cd Additional Stream Options
1.  Add separate stream for motion images.
2.  Add separate stream for source images from camera.
3.  Add additional preview option(3) for showing live stream next to motion stream.
4.  Add additional preview option(4) for showing source images from camera.
5.  Refactor webu_stream to improve efficiency
6.  Improved shutdown process for webu_streams.
7.  Revised variable name in webu_html to correlate with what it contains.(camid instead of thrd)
2018-08-22 18:24:56 -06:00
Mr-DaveDev
5d863a19dc Revisions to configuration options
Revisions to configuration options.

1.  Revise config options to be `movie_` and `picture_`
2.  Revise config options to align with topic and code.
    *  motion_video_pipe, ipv6_enabled, rtsp_uses_tcp
    *  switchfilter, logfile, process_id_file
3.  Revise depreciated options to still be valid for webcontrol and config files.
4.  Revise distributed config files to only include most common options
5.  Revise sequence of config options to be arranged by topic.
6.  Revise code to use names consistent with config parms.
7.  Revise manual, guide and code to specify same default values.
8.  Update guide and manual to reflect revised option names.
2018-08-17 21:00:45 -06:00
Mr-DaveDev
3cd68cab49 Implement libmicrohttpd
Implement micro-httpd for providing webcontrol and streams

1.  Add tls support for webcontrol and streams.  aka ssl/tls, https
2.  Add functionality to provide streams on single port
3.  Add functionality for additional authentication methods of webcontrol.
4.  Add functionality for providing static images
5.  Update documentation for new functionality.
6.  Resolve issue with stream_preview_newline
7.  Add functionality for specifying camera in webcontrol and streams via camera_id
8.  Depreciated functionality to specify substream via port 
9.  Add functionality to specify substream via a URL
10.  Revise `quit` to only be available via text (programmatic) interface
11.  Added functionality for CORS header on webcontrol interface

Closes #526 
Closes #661 
Closes #709 
Closes #737 
Closes #750
2018-08-01 20:20:15 -06:00
Matt Schatz
1b320733e8 Fix webu_process_action for a default single camera config (#736)
When using the single 'motion.conf' file for a single camera setup,
the webu actions are skipping over the only thread due to assuming
that thread '0' is just motion and all cameras are subsequent.
This leaves the webu actions useless to the default single camera,
single config setup.

Fix this by checking that more than one camera thread exists to use
the thread loop, using the given thread number ('0') otherwise.
2018-06-21 19:38:05 -06:00
Mr-DaveDev
c1db494aaf Revisions to main
* Decompose the `main` function into calls to smaller functions
2018-06-11 19:01:26 -06:00
Mr-DaveDev
189974106b Native Language Revisions
* Revise MOTION_LOG macro

* Add native_language option

* Additional languages

* Add log messages to po files
2018-06-09 14:17:02 -06:00
Mr-DaveDev
37f04eb5c2 Add status and text UI get (#707)
* Status and Text UI get

* Additional webu text revisions
1.  Only provide webcontrol parms in the list on the main thread.
2.  Use main configuration values when parm is not in camera specific config file
3.  Break out of loop once parm is found in get
4.  Check for numeric thread number when requesting status
5.  Send result messages when user requests actions/track/set

* Add event listener for completed pause/start
2018-05-16 21:47:32 -06:00
Matt Schatz
00d3b25d95 Fix possible crash and config listing in webu (#706)
* webu_text_list: list config options from requested thread

* webu_parseurl: Disallow a negative thread number (prevents a possbile segfault)
2018-04-17 21:46:16 -06:00
Mr-DaveDev
1a90e9294e Web Interface Revisions (#692)
* Web conf value duplication

* Clear configuration upon menu item

* Additional clarity on webcontrol_parms

* Revise default fonts
2018-04-05 20:08:40 -06:00
Mr-DaveDev
8acede9089 Implement DEFINEs for memory sizes in webu.c(#687) 2018-04-03 18:12:48 -06:00
Mr-DaveDev
4ff191be82 Implement Translations via Gettext
Implement translations of Motion log messages and web control using the gettext function.
2018-03-25 16:39:57 -06:00
genius3000
c5f935bfcf New WebUI improvements (#675)
* Open guide in new window or tab

* Pad the bottom of header-center for a smoother look

* Pad the bottom of 'main-content' below 'live-preview'

* Dropdown

* Allow closing the dropdown menus by clicking elsewhere on the page
2018-03-23 21:33:14 -06:00
tosiara
aa0b70f3ea Comment updates 2018-03-05 18:30:00 -07:00
Mr-DaveDev
9b6297387b Replace webhttpd (#658)
Replace the webhttpd module with new webu and translation modules
2018-03-01 18:07:06 -07:00