Wouter R
efd2b6aacb
Log PID at start of each request and elapsed time when it finishes.
2016-05-07 22:54:45 +02:00
Wouter R
c666895842
Include /etc/wifibox-version in info/logfiles endpoint ( #305 ).
2016-04-24 11:33:34 +02:00
Wouter R
7cc345d729
Rename sequence_* in API responses to seq_* to be consistent with printer/print POST arguments.
2016-04-19 12:10:40 +02:00
Wouter R
6a26cf3005
Include sequence_number and sequence_total in printer/progress as well as printer/print (to improve client recovery on unstable networks).
2016-04-19 00:27:10 +02:00
Wouter R
ad048349b3
Lower logrotate cron interval from 3 to 2 minutes.
2016-03-29 14:34:58 +02:00
Wouter R
35bbac596b
Fix day/month order in firmware log timestamp.
2016-03-23 17:08:29 +01:00
Wouter R
0583dddbe3
Merge branch 'feature/logrotate' into develop
2016-03-18 18:24:05 +01:00
Wouter R
ca45f15151
Improve printer/print logging, partial fix for https://github.com/Doodle3D/doodle3d-firmware/issues/58 .
2016-03-18 17:04:20 +01:00
Wouter R
00d77c491d
Log rotation: store first 500 lines of print3d and firmware logs separately to prevent them from being rotated.
2016-03-18 16:28:21 +01:00
Wouter R
584a5bfce2
Log rotation:
...
- create cron job in postinst;
- start+enable cron in postinst.
2016-03-18 11:31:07 +01:00
Wouter R
4165d3b46d
When preparing archive for 'info/logfiles' endpoint, create hardlinks to log files instead of copies to require less temporary space.
2016-03-18 10:29:11 +01:00
Wouter R
19eef4a334
Include rotated log files in 'info/logfiles' API endpoint.
2016-03-16 22:54:21 +01:00
Wouter R
453ec4294f
Log rotation:
...
- install logrotate wifibox.conf file,
- create directories required for log rotation on boot.
2016-03-16 22:33:38 +01:00
Wouter R
61fcb7ecb6
Makefile/opkg: register configuration file as such.
2016-03-16 22:30:39 +01:00
Wouter R
589d2c705e
Include logrotate (+deps) in openwrt diffconfig.
2016-03-11 19:52:43 +01:00
Wouter R
260fac9cd4
Log more information when printer/* endpoint operations fail.
2016-03-11 15:58:35 +01:00
Wouter R
f0c839ffdc
Loglite: fix non-existing directive in example.
2016-03-04 20:29:37 +01:00
Wouter R
7a346d6cf1
Loglite: several new filter directives.
2016-03-04 18:12:28 +01:00
Wouter R
a9e17e5151
Loglite:
...
- README.md with documentation on usage and creating filter sets (implements #54 ).
- small improvements to default filter set.
2016-03-04 17:24:30 +01:00
Wouter R
332d185b50
Loglite: add inheritance support for filter sets.
2016-03-03 22:40:23 +01:00
Wouter R
b27506d236
Create convenience aliases (tailfw & tailp3d) for loglite.
2016-02-29 17:35:17 +01:00
Wouter R
7f5e10eb80
Merge branch 'feature/fixups-unify-log+chunk-checking' into develop
2016-02-29 16:27:01 +01:00
Wouter R
540651c72f
Create /root/sketches on package installation. Fixes #56 .
2016-02-29 16:13:41 +01:00
Wouter R
c8bea605f7
Move default filter set to config file.
...
Show available filter sets in help output.
2016-02-26 00:23:19 +01:00
Wouter R
1db8bf3119
Accept second command-line argument as filter set name.
...
Fixes #55 .
2016-02-25 23:39:23 +01:00
Wouter R
8a07d972dd
Create debug print to list available filter sets (to be used in help output later).
2016-02-25 23:23:50 +01:00
Wouter R
fc026f1b38
loglite enhancements:
...
- Attempt reading named filter sets from $HOME/loglite-filters.lua
- Slightly improved debug printing
2016-02-25 10:29:02 +01:00
Wouter R
65062207ff
Logging:
...
- log only one line when signing in;
- change level of UCI/init.d changes from info to verbose;
- change log level of network:getStatus message from info to verbose.
2016-02-23 17:36:17 +01:00
Wouter R
b4aa1a9746
Wifibox stdout/stderr log file:
...
- rename 'wifibox.cgi-fallback.log' to 'wifibox.stdout.log'
- extend description of Lua debugging (and the fallback log)
- send fallback log along with info/logfiles request
2016-02-23 16:18:42 +01:00
Wouter R
97612c8a74
Reduce logging on start of request handling:
...
- change level of stasrtup message from info to verbose;
- Combine two request information log messages into one.
2016-02-23 13:47:17 +01:00
Wouter R
03e34f2676
'printer/print' API call: change 'first' parameter to 'clear' and deprecate old name.
2016-02-14 00:38:31 +01:00
Wouter R
de16721b85
Accept argument 'total_lines' in printer/print API request.
2016-02-13 17:17:57 +01:00
Wouter R
f3e9ebf26e
Report current and maximum size in bytes of gcode buffer in getProgress functions.
2016-02-12 15:40:07 +01:00
Wouter R
4e1a7157ed
Merge branch 'feature/chunk-checking' into feature/fixups-unify-log+chunk-checking
2016-02-05 15:39:33 +01:00
Wouter R
b6ab64d1f2
Fix invalid log function calls.
2016-02-05 15:23:40 +01:00
Wouter R
6d001f4894
Extra description about debugging Lua issues in readme.
2016-02-05 15:16:36 +01:00
Wouter R
37f833aec1
Print skipped files when adding copyright notices.
...
Remove old script.
2016-01-08 23:24:03 +01:00
Wouter R
1c3f35c84f
Update comment on possible log targets.
...
Update license-spec.
2016-01-08 23:20:09 +01:00
Wouter R
c3756f5348
Fix return values in printer api.
...
Pass along chunk metadata in printer api.
Move wifi station mode check from main.lua to signin.lua so it is always run past.
Only log postresponsequeue if it is not empty.
Conflicts:
src/rest/api/api_printer.lua
2016-01-08 22:26:36 +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
52c9435534
Fixups after cherry-picking commits from unify-logging+chunk-checking branch:
...
- add missing log module arguments,
- remove temporary log level mapping.
2016-01-08 16:59:59 +01:00
Wouter R
bca5228b73
More changes to log messages.
2016-01-08 14:53:05 +01:00
Wouter R
b29eb5289e
Initial version of log filter/highlight script.
2016-01-08 14:53:05 +01:00
Wouter R
1439bd0434
Change levels and improve consistency in log statements.
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
718e2a314d
Bump firmware version to 0.10.8-b.
2016-01-06 19:27:25 +01:00
Wouter R
b70a008cdf
Add setting for enabling traveling in bottom layers.
2016-01-06 19:26:31 +01:00
Wouter R
210f17377f
Fix uci-defaults script to exit with value 0.
2016-01-06 17:25:54 +01:00
Wouter R
8a726552f7
Map print3d log level 'info' to firmware level 'warn' to reduce amount of logging under normal circumstances.
2016-01-06 15:01:01 +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
Wouter R
27d4f7eabf
Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
2014-05-01 16:21:38 +02:00
Wouter R
ca25ab0487
Fix issue where autowifi would associate with ssid equal to locally known AP ssid.
2014-05-01 16:14:36 +02:00
Wouter R
fe8b51686e
Add script to generate openwrt feeds.conf file (and template fuke as fallback).
2014-04-03 13:04:49 +02:00
Wouter R
0eb94d4a67
Update license header templates.
...
Eclipse-related files.
2014-03-20 21:56:52 +01:00
Wouter R
6297984d68
Small improvements to release script.
...
Add usage information and todo list to release script.
Remove old release scripts.
2014-03-09 17:29:13 +01:00
Wouter R
0b6de9adba
Return "connecting" state if printer is connected but server has not started yet; other calls will fail just like if no printer exists.
2014-03-09 02:12:36 +01:00
Wouter R
e94d238977
Disable handing out default route and DNS server over cable/eth dhcp.
2014-03-08 23:24:00 +01:00
Wouter R
b6a3426b07
Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
...
Conflicts:
src/rest/api/api_info.lua
2014-03-05 17:53:43 +01:00
Wouter R
4a76f022e0
Modification for connecting state of printer.
2014-03-05 17:52:46 +01:00
Wouter R
9f50ec73b3
Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
2014-02-28 09:47:30 +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
Wouter R
8582f88e06
Extend updater and API to support betas and release dates (untested).
2014-02-21 11:15:36 +01:00
Wouter R
b6862c17cc
Ask confirmation before syncing files to server.
...
Use doodle3d feed path to load updater module.
2014-02-21 11:15:19 +01:00
Wouter R
d71d96b9ba
Protect against usage as root.
...
Refactoring/tidying up.
2014-02-21 11:15:18 +01:00
Wouter R
781a4dc7a1
Implement upstream syncing.
2014-02-21 11:15:18 +01:00
Wouter R
cdb7a12050
Rename upmgr to um.
2014-02-21 11:15:18 +01:00
Wouter R
f152c6e3e3
Finish generating index and copying images.
...
Miscellaneous improvements.
2014-02-21 11:15:18 +01:00
Wouter R
64abe081e9
Fix bug in findVersion().
...
Tidy up a bit.
2014-02-21 11:15:18 +01:00
Wouter R
efe4ab766a
Finish index file fetching and parsing.
...
Add function to collect information on current version.
2014-02-21 11:15:02 +01:00
Wouter R
81f450aaf6
Make cache path configurable.
...
Fix handling return values of os.execute (Lua 5.1 is quite different from 5.2).
2014-02-21 11:15:02 +01:00
Wouter R
689696c0bd
Extend version formatting to support suffix and add date parsing functions.
...
Extend version comparison function.
Extend version search function (untested).
2014-02-21 11:14:02 +01:00
Wouter R
541793715f
Add dependency on penlight library.
...
Remove module support.
Create and lock working directory.
Copy original update script as base for new version.
2014-02-21 11:14:02 +01:00
Wouter R
a254772493
Initial checkin of new updater script.
...
Detects openwrt directory and wifibox feed directory.
2014-02-21 11:14:02 +01:00
Wouter R
96e0ec99dd
Update openwrt diffconfig to allow 802.11 driver to override regulatory domain stored in eeprom.
...
The reg. domain is configured to 'NL', so wifi channels 12 and 13 can be used.
2014-02-01 01:41:39 +01:00
Wouter R
ab900533f3
Improved makerbot gcode (based on Makerware start/end code).
2014-01-10 22:23:29 +01:00
Wouter R
165a6a5f8a
Add setting for bottom layer flow rate factor.
...
Add setting for bottom layer speed.
2014-01-10 17:31:32 +01:00
Wouter R
cdbb608f8d
Add openwrt diffconfig files (referenced from online wiki); change eclipse project name to match repository name.
2014-01-02 20:20:00 +01:00
Wouter R
0a51cee8c9
Avoid unnecessary UCI commits, speeding up the process of setting all keys at once considerably.
2013-12-23 18:05:48 +01:00
Wouter R
1fe9da5985
Minor changes to UCI error handling.
2013-12-23 15:33:55 +01:00
Wouter R
d254beb1ab
Do not generate error when printer device exists without accompanying server. Fixes https://github.com/Doodle3D/doodle3d-client/issues/139 .
2013-12-20 17:11:58 +01:00
Wouter R
fc9460fc82
Add license header to source files.
2013-12-20 16:29:46 +01:00
Wouter R
1af6ad00cf
Add license + copyright info on external software.
...
Add script to add/replace license header in source files.
2013-12-20 16:00:06 +01:00
Wouter R
486d4eb6ef
Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
2013-12-18 13:30:52 +01:00
Wouter R
493728b3bb
Update path to update directory on webserver.
2013-12-18 13:29:53 +01:00
Wouter R
f5bf9c279d
Include release notes as html in /www directory.
...
Bump package version.
2013-12-12 14:08:22 +01:00
Wouter R
01e29b4b5a
Release notes for 0.9.11.
2013-12-11 22:25:09 +01:00
Wouter R
0308ac4b5d
Bump package version.
2013-12-06 15:10:07 +01:00
Wouter R
ec79cb7c7a
Merge branch 'develop' of github.com:Doodle3D/doodle3d-firmware into develop
2013-12-06 15:07:05 +01:00
Wouter R
c33cc73b85
Add option to update/install to not retain any files in flash memory.
2013-12-04 17:40:43 +01:00
Wouter R
c4c9957cb5
Fix saving sketches over sysupgrade. Closes https://github.com/Doodle3D/doodle3d-client/issues/87 .
2013-12-04 15:44:47 +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
25c0c1a1fa
Amend last commit.
2013-11-29 20:47:17 +01:00