0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00
Commit Graph

475 Commits

Author SHA1 Message Date
Peter Uithoven
ae036af172 Merge pull request #62 from Doodle3D/feature/button-switch-wificonfig
Feature/button switch wificonfig
2016-05-25 10:20:43 +02:00
Rick Companje
edf1ed5577 updated ultimaker2 startcode and endcode
It now shows status info 'Doodle3D heat up...', 'Doodle3D printing...' and 'Doodle3D done!' on the display of the Ultimaker 2 (and 2go, extended etc, plus etc)

I've tested this on my Ultimaker 2go today by changing the startcode and endcode from the Doodle3D settings screen. I have not tested this yet after adjusting the `conf_defaults.lua`.
2016-05-21 21:31:41 +02:00
peteruithoven
1c88c17390 0.10.10 version & releasenotes 2016-05-11 15:21:39 +02:00
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
peteruithoven
0f822b99cd 0.10.10-e releasenotes & version update 2016-04-21 19:58:15 +02:00
peteruithoven
65dd10b43c Removed some end gcode parts for Makerbot
Fixes #40
2016-04-20 13:55:30 +02:00
peteruithoven
64f1ab47ec 0.10.10-d releasenotes & version update 2016-04-20 13:26:52 +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
olijf
205fc7460d Added symlink to d3dapi 2016-04-12 12:49:38 +02:00
olijf
d3d8ebdeda Changed method from GET to POST 2016-04-12 12:22:14 +02:00
olijf
2b097996e0 Added LUA API call
Added Lua API call to reset the network configuration.
2016-04-12 12:05:01 +02:00
olijf
a8bdd5c188 Changed logic
Now instead of rotinging through all wifi configs the button just removes all other configs and only leaves the doodle3d AP
2016-04-08 14:47:06 +02:00
olijf
52650da0fe Changed the script so that the wifinetworks rotate 2016-04-07 16:23:22 +02:00
olijf
4160441a4b Fixed check to see if it has to switch to ap mode 2016-04-07 11:16:31 +02:00
olijf
7397066ad9 Added doodle3d-client fix
now the status is correctly displayed in the web ui. currently the script works because it assumes certain things. would be nice if i can add some more checks to it.
2016-04-05 17:22:37 +02:00
olijf
05bb813f29 Added dhcp config
Configure the dhcp server in the correct way, so when switching between wifi configs the it still connect.
2016-04-05 16:44:58 +02:00
olijf
039fbbb4c3 Use WPS button to switch configs
Added a functionality for the WPS button. (next to the leds)
2016-04-05 14:24:29 +02:00
peteruithoven
0bdaca4971 0.10.10-c version & releasenotes 2016-04-01 11:45:07 +02:00
olijf
40a25789e2 changed log level on removeConfig 2016-03-30 15:57:00 +02:00
olijf
0d9684bfca seems the removeConfig needs to be called twice 2016-03-30 11:23:27 +02:00
olijf
c6b01a3cf7 switched responsibilities
moved the Open Acces point code to the  rest API because we dont wish to change setting during boot. (other issues arise now eg: what to do when someone changes his wifi password? box does nog connect but also does not open AP)
2016-03-30 11:10:44 +02:00
Wouter R
35bbac596b Fix day/month order in firmware log timestamp. 2016-03-23 17:08:29 +01:00
olijf
fa91ace160 Fixed wifi issue
Different approach different solution. Instead of using the API to govern whether or not connection  was succesful the netconfig.lua figurers this out.
2016-03-23 13:33:14 +01:00
peteruithoven
8fb0eba9e6 0.10.10-b version & releasenotes 2016-03-21 12:45:41 +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
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
peteruithoven
5d22267ae3 Loglite readme fixes 2016-03-16 18:40:31 +01:00
peteruithoven
4db83c98c5 loglite readme additions like installation 2016-03-16 17:36:41 +01:00
peteruithoven
f06e3da46b loglite readme: filter whole log file example 2016-03-16 17:06:31 +01:00
peteruithoven
eebd00c32f loglite readme: code highlighting 2016-03-16 17:05:58 +01:00
peteruithoven
ae65e0841c Better print3d and new serial loglite filters 2016-03-16 16:58:32 +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
Olaf van der Kruk
9f95b8c537 Added little readme 2016-02-29 10:48:11 +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
peteruithoven
2f53a5e8b0 printer.lua syntax error
Remember: test before commit/push
2016-02-24 15:26:06 +01:00
peteruithoven
7e0d5cabee Removed duplicate Colido DIY printer 2016-02-24 12:02:45 +01:00
peteruithoven
7b88ca4489 0.10.10-a version & releasenotes 2016-02-24 12:00:19 +01:00
peteruithoven
1cb1309659 Craftbot PLUS 2016-02-24 11:44:12 +01:00
peteruithoven
939cb66066 Merged branch develop into feature/fixups-unify-log+chunk-checking 2016-02-24 10:51:13 +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
peteruithoven
95ea3a1059 0.10.9 version and release notes 2016-01-11 12:31:40 +01:00
peteruithoven
fd1a428aea 0.10.8 version and release notes 2016-01-11 12:02:26 +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
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
Rick Companje
d66d976af1 updated version and release notes 2015-11-11 20:50:29 +01:00
peteruithoven
0716fc22c9 Version and releasenotes update for 0.10.7 2015-08-21 16:00:22 +02:00
peteruithoven
860897d988 Rename Colido 2.0 Plus 2015-08-21 15:39:32 +02:00
peteruithoven
98c1ba6b8b Added ColiDo printer profiles 2015-08-21 13:59:38 +02:00
peteruithoven
5979eb841a updated version and release notes for 0.10.6 2015-06-17 14:12:21 +02:00
peteruithoven
b26b7376ca updated version and release notes for 0.10.6-rc3 2015-06-17 13:32:50 +02:00
peteruithoven
fd167ee11e 0.10.6-rc2 version and release notes 2015-06-16 16:50:31 +02:00
peteruithoven
eedc6d3c6b Update network status after boot when no action was needed
When it already was connected to a WiFi network or it already was a
access point.
2015-06-16 16:49:18 +02:00
peteruithoven
4c033a6215 Version and Releasenotes update 2015-06-16 12:19:27 +02:00
peteruithoven
cb6ddf9900 Fixed concatenation of empty unformattedSsid 2015-06-15 17:08:09 +02:00
peteruithoven
93e2ce1cb7 Increate wifibox timeout
Also see: https://github.com/Doodle3D/doodle3d-firmware/issues/32
2015-06-15 15:08:17 +02:00
Arne Boon
92ea5faceb fix: ultimaker2go startcode and endcode inherit from ultimaker2 startcode (plus quotes replace on makerbot startcode) 2015-06-15 14:03:28 +02:00
peteruithoven
4ca599e962 ID generation logging 2015-06-15 10:37:51 +02:00
peteruithoven
067689d64b WiFi related logging 2015-06-12 14:46:38 +02:00
Arne Boon
df4f1702a9 adjust default makerbot endcode: move z downwards after print. safer choice. wanhao shows that head travels through print, print is z lifted when stopping. 2015-06-10 17:50:05 +02:00
Arne Boon
0b2eb5d230 add wanhao duplicator 4 printer type and configuration (heated bed, xyz, filament, startcode, endcode) 2015-06-10 17:48:09 +02:00
peteruithoven
798031f9cd Comments on settings system 2015-06-09 17:13:30 +02:00
Arne Boon
d75d1402bc feature: filament thickness default settings per printer type 2015-06-09 17:11:02 +02:00