0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-06-02 16:34:32 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
Wouter R
1c3f35c84f Update comment on possible log targets.
Update license-spec.
2016-01-08 23:20:09 +01:00
Wouter R
9fd96740a3 Remove unnecessary require.
Change backup log file name in d3dapi script.
2016-01-08 22:03:52 +01:00
Wouter R
af76720e54 Prepare log subsystem to be consistent with changes in print3d. 2016-01-08 21:46:46 +01:00
Wouter R
4f84e1060b Add padding to level names in log messages.
Other minor changes.
2016-01-08 20:41:42 +01:00
Wouter R
759c0a3007 Install loglite filter to wifibox.
Small fixes to loglite filter.
Set dummy host/port/agent info on command-line API call.
Remove non-functional version info from shell banner.
New todo item in release script.

Conflicts:
	extra/scripts/publish-wifibox-release.lua
2016-01-08 20:41:40 +01:00
Wouter R
b29eb5289e Initial version of log filter/highlight script. 2016-01-08 14:53:05 +01:00
Wouter R
5f59e5e2c9 Add logging module/facility support.
Change log message format to match with that in print3d logger.
2016-01-08 14:52:39 +01:00
Wouter R
2459cda0ac Reorder and rename log levels to match those in print server.
Fix typo in regex in getLocalIp function.

Conflicts:
	src/script/wifibox.uci.config
2016-01-08 13:48:24 +01:00
Wouter R
f51e63e06a Add new settings key 'system.log.level' with print3d log levels.
Change uci-defaults script to make sure the new setting exists in UCI and the old one is removed.
Read new log level key in firmware and map it to firmware log level.
2016-01-06 13:23:25 +01:00
peteruithoven
93e2ce1cb7 Increate wifibox timeout
Also see: https://github.com/Doodle3D/doodle3d-firmware/issues/32
2015-06-15 15:08:17 +02:00
peteruithoven
05b4f00a48 Merge branch 'develop' 2014-04-09 16:04:16 +02:00
peteruithoven
e4b2e605ed Removed network configuration boot mode and starting wifibox init after uhttpd and dnsmasq 2014-03-12 18:23:10 +01:00
Wouter R
ef296218a2 Change update site URL to be a setting.
Show release date in command-line info.
Remove development path from updater script.
2014-02-25 23:57:37 +01:00
Wouter R
a5f0492a13 Identify beta->stable transition as 'update' when includeBetas setting is false.
Fix in index generator in update publisher.
2014-02-24 22:59:38 +01:00
Wouter R
524ef027f5 Add a number of sanity checks to release script.
Tidying up.
Several changes and fixes to beta updating code.
2014-02-24 15:22:08 +01:00
Wouter R
264511f809 Add support for beta releases to updater command-line tool.
Fix several bugs in updater.
Validate images both on file size and checksum.
2014-02-22 00:09:41 +01:00
Wouter R
96065095ab Integrate new release scripts with firmware.
Accept 'y' for an answer to sync question.
Add makeshift test file for later reference.
2014-02-21 11:33:42 +01:00
peteruithoven
15f96c115b Start signing in loop after 15 min 2014-01-20 15:21:04 +01:00
peteruithoven
60d07c9667 Make sure it keeps signing in. 2014-01-20 15:06:41 +01:00
peteruithoven
4d782681df Implemented signin attempts system and signing response check 2014-01-09 21:11:49 +01:00
peteruithoven
8e34f338c2 More frequent signing (1 hour > 15 min) 2014-01-08 17:21:01 +01:00
Wouter R
fc9460fc82 Add license header to source files. 2013-12-20 16:29:46 +01:00
Wouter R
ce043de28e Workaround for issue 66 (https://github.com/Doodle3D/doodle3d-client/issues/66).
Remove ‘-s’ flag in wifibox init script to prevent duplicates log messages.
2013-11-29 21:14:59 +01:00
Wouter R
0e5726ee04 Documentation. 2013-11-05 01:46:32 +01:00
Wouter R
97564de8fc Add LDoc configuration and slightly extend doxify.sh.
Add documentation in various places.
2013-11-04 22:34:09 +01:00
Wouter R
90439649ab Add symlink to sketch directory in www directory.
Bump image version.
Change sketch extension to svg.
Default printer type to 'ultimaker'.
2013-10-30 20:36:18 +01:00
Wouter R
9e0eab1f8d Properly start and stop signin.sh on package installation and removal.
Clean up package Makefile (it installed and removed too much).
2013-10-22 22:44:51 +02:00
peteruithoven
c3bb0359bf Better error reporting, always using state, making version argument optional 2013-10-22 03:30:27 +02:00
Wouter R
581ea273b2 Fixes to update module and api. 2013-10-21 13:42:58 +02:00
Wouter R
b6528e4752 Basic implementation of update module + api finished (but not completely debugged yet). 2013-10-21 12:36:54 +02:00
Wouter R
b6c983f446 wget return values are now translated to a (somewhat) meaningful message.
Improved logging.
2013-10-19 04:23:14 +02:00
Wouter R
e1dc7f47ed Add preliminary REST api for updating (WIP). 2013-10-18 21:46:41 +02:00
Wouter R
b5d980c52e More work on updater module (WIP): mainly added state and fixed bugs. 2013-10-18 16:02:22 +02:00
Wouter R
6225cd6062 New wifibox update script (to update firmware image). (WIP)
Release script is now capable of uploading packages & images.
2013-10-17 21:45:23 +02:00
peteruithoven
37783f3f06 Fixed boot wifi connection issues by adding sleep 2013-10-04 16:29:53 +02:00
peteruithoven
6a4879c7b2 added localip to /d3dapi/network/status (centralized captureCommandOutput and getLocalIP) 2013-09-30 18:08:02 +02:00
peteruithoven
b042be5405 Signin every hour 2013-09-27 18:39:24 +02:00
Wouter R
c915906395 Fix URL redirection in captive portal mode (also client submodule update); add stresstest script (WIP); add commented line in d3dapi wrapper to use strace. 2013-08-26 16:15:45 +02:00
Wouter R
6e61a6fdd2 Merge d3dapi changes; remove setportspeed (usbconnectiontester is a new repo); change Openwrt package category to 'Doodle3D'. 2013-08-26 10:46:36 +02:00
peteruithoven
c5b91a2416 Adding "cgi invocation" to log file 2013-08-23 16:39:12 +02:00
Wouter R
3de992c5b7 Add uhttpd configuration for lua handler; add interface to get/set 'system settings'; add configurable logging to file, with configurable level as well. 2013-08-23 01:25:09 +02:00
Wouter R
dc327ea420 Adapt Lua code so it can be run from uhttpd-mod-lua (log functionality still missing, uhttpd configuration not adapted yet). 2013-08-22 12:18:22 +02:00
Wouter R
d59d2da938 Fix request initialization to handle autowifi command-line invocation correctly; fix installation and execution of openwrt init script; partially implement autowifi switching; fixes to package (de-)installation. 2013-08-21 13:39:10 +02:00
Wouter R
781c3f9ff1 Add kmod-usb-serial-ftdi as package dependency for FTDI-based 3D printers; fix MAC address lookup; fix dhcp configuration when switching to AP mode; rename api functions in network module; minor fixes and changes. 2013-07-25 01:11:46 +02:00
Wouter R
ea8100ab60 Logging now prints to stderr, which is redirected to a log file; cgi handler always responds with json; test API implemented; several bug fixes. 2013-07-08 13:37:19 +02:00
Wouter R
ef87b18ed9 More fixes to changed paths and names. 2013-07-05 16:44:49 +02:00
Wouter R
f298fbf0db Extract logger to separate module; update code and package Makefile to reflect new structure; rename wfcf to d3dapi; add dependency on usb ACM driver (required for communication with arduino). 2013-07-04 17:24:06 +02:00
Wouter R
cf0f7f594d Code restructure. 2013-06-28 13:47:45 +02:00