Commit Graph
100 Commits
Author SHA1 Message Date
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
Wouter R 042f33c11a Log all the things!
Closes #78 (on client: https://github.com/Doodle3D/doodle3d-client/issues/78).
Bump fimware version to 0.9.11 (to avoid accidentally overwriting previous image).
2013-11-29 20:37:03 +01:00
Wouter R b633eb4d46 Add ReleaseNotes.md as (temporary) way to record concise changelogs for image releases. 2013-11-23 14:26:48 +01:00
Wouter R dc8be7ca12 Merge branch 'master' into develop 2013-11-22 18:21:46 +01:00
Wouter R 8d7eecc539 Bump image version to 0.9.10. 2013-11-22 17:25:21 +01:00
Wouter R 10cf3c35b1 Remove .gitmodules after merging branch feature/printerdriver. 2013-11-08 19:02:49 +01:00
Wouter R 48b9a4a8e1 Documentation.
Untrack TODO.md.
2013-11-08 18:54:57 +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 6f05ea9ce0 Remove gpx building from makefiles. 2013-10-29 15:45:03 +01:00
Wouter R 0f59eb30d6 Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver 2013-10-29 12:28:35 +01:00
Wouter R de9570d166 Remove submodule gpx (can now be found in the print3d repository). 2013-10-28 21:06:31 +01:00
Wouter R 0c79a51083 Add status request to sketch api.
Keep sketch directory over upgrades.
2013-10-28 19:38:53 +01:00
Wouter R 628f05b682 Deny API access to operations that can/will interrupt printing (updating, reconfiguring network, change settings). 2013-10-23 17:38:54 +02: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
Wouter R 5c7df6da36 Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver 2013-10-22 20:36:26 +02:00
Wouter R 27609e8535 Remove www submodule (see http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule#comment13902193_1260982). 2013-10-22 18:33:41 +02:00
Wouter R 4ed3c02ea3 Changes to use external doodle3d-client package instead of submodule. 2013-10-22 18:32:53 +02:00
Wouter R d069dafb5c New API for loading and saving sketches (or arbitrary data really). Status call not implemented yet. 2013-10-21 18:32:11 +02:00
Wouter R 6ddd038495 Bumped firmware version.
Fixed image index generator to include all available image versions.
2013-10-21 16:06:48 +02:00
Wouter R 5c199eca94 Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver
Conflicts:
	src/network/netconfig.lua
2013-10-21 13:49:45 +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
Wouter R cf7237547f Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver 2013-10-16 19:04:43 +02:00
Wouter R ff4abc71c0 Upload firmware images to updates directory (currently not versioned). 2013-10-16 19:04:33 +02:00
Wouter R b5d8f7895a Rework feed creation scripts: they now support uploading to doodle3d.com (with corresponding changes to opkg.conf) and they are more location independent. 2013-10-16 17:32:43 +02:00
Wouter R 17c96b20fd Submodule update. 2013-10-14 19:35:58 +02:00
Wouter R ba09807859 Disable log message in createPrinterOrFail. 2013-10-14 18:11:15 +02:00
Wouter R 9d86ed2aac Add option to create protected access point. 2013-10-14 14:01:22 +02:00
Wouter R 43eaab4cbf Fix cleanup in info/logfiles api. 2013-10-10 17:17:23 +02:00
Wouter R 6e80ca8aa2 Merge branch 'feature/printerdriver' of github.com:Doodle3D/doodle3d-firmware into feature/printerdriver
Conflicts:
	src/rest/api/api_info.lua
2013-10-10 17:05:45 +02:00
Wouter R 0e8a08594a Update info/logfiles API call to collect print3d logs instead of ultifi logs. Change printer/getProgress to return current, buffered and total gcode lines. Remove unused constants from printer api. 2013-10-10 17:00:16 +02:00
Wouter R 8991845427 Add extra 'tools' to wifibox devel install. Improve logging. 2013-10-08 16:55:50 +02:00
Wouter R 2f04bbb35d www submodule update to printerdriver branch; fix heatup config names. 2013-09-27 18:25:16 +02:00
Wouter R a88bd8e932 Again uhttpd dependency fix. 2013-09-26 18:50:09 +02:00
Wouter R af5598c606 Again uhttpd dependency fix. 2013-09-26 18:47:25 +02:00
Wouter R 577dd120da Fix uhttpd dependency. 2013-09-26 13:01:27 +02:00
Wouter R 725f34b30a Fix uhttpd dependency. 2013-09-26 13:00:25 +02:00
Wouter R d62d8ef435 Add missing openwrt dependency on uhttpd-mod-lua. 2013-09-26 12:58:40 +02:00
Wouter R bfd54e16ca Add missing openwrt dependency on uhttpd-mod-lua. 2013-09-26 12:54:55 +02:00
Wouter R 0a84e5617c Remove dependencies on usb drivers (they have been added in both print3d and ultifi). 2013-09-26 01:40:48 +02:00
Wouter R f610c57292 Remove dependencies on usb drivers (they have been added in both print3d and ultifi). 2013-09-26 01:39:27 +02:00