Gina Häußge
91163dc4f4
Fixed existing doctests, added some new ones, enabled doctests in nosetests
...
(cherry picked from commit 02c3bf8 )
2015-10-23 13:36:18 +02:00
Gina Häußge
2a8e084b51
Added a missing comma that broke the build...
2015-10-23 13:27:24 +02:00
Gina Häußge
ce00a069fa
Added conversion for README.md to rst for PyPi
2015-10-23 12:08:36 +02:00
Gina Häußge
bdadab6993
We want pep440-post by default
2015-10-23 10:07:15 +02:00
Gina Häußge
05d6cac67a
Define where our README is located so that it gets rendered correctly on pypi
2015-10-23 10:02:05 +02:00
Gina Häußge
528192b3c0
Fixed a merge error while migrating versioneer update
2015-10-23 09:55:14 +02:00
Gina Häußge
729d23b2c0
Fixed versioneer lookup file again
...
Runaway regex ;)
(cherry picked from commit 78277ac )
2015-10-23 09:54:46 +02:00
Koen Kooi
2e566c5ee1
versioneer lookup: add support for detached checkouts
...
When doing 'git checkout <rev>' or 'git checkout <tag>' there will be no
branch info:
$ git branch
* (detached from 96fc70b )
After whitelisting '\(detached.*' we get:
$ python setup.py version
running version
got version from git {'version': '1.2.5-1-gfd73e02', 'branch': 'HEAD',
'full': 'fd73e02f4fa9f286407ad688feeeee3ebaffea60'}
Version is currently: 1.2.5-1-gfd73e02
The '-1-gfd73e02' is this commit on top of the 1.2.5 tag.
While detached checkouts should be discouraged some buildsystems (e.g.
OpenEmbedded) have no real way to avoid it, which is what this patch
fixes. Actual people doing a checkout should use a branch.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
(cherry picked from commit 987e637 )
2015-10-23 09:54:21 +02:00
Gina Häußge
e875d042a7
Refreshed versioneer again
...
(cherry picked from commit 7cd0adb )
2015-10-23 09:53:25 +02:00
Gina Häußge
f05f850175
Switched to new version of versioneer
...
Versions should now be PEP440 compatible.
(cherry picked from commit 711810d )
2015-10-23 09:53:13 +02:00
Gina Häußge
9ce9af28c3
Updating versioneer & switch to PEP440 versioning
...
(cherry picked from commit 137db0b )
2015-10-23 09:51:50 +02:00
Nicanor Romero Venier
a9c38cb779
Small bug fix that prevented deleting profiles
2015-10-22 17:02:42 +02:00
Gina Häußge
2c5f2f0bf8
Merge branch 'fix/sdcardFilename' into devel
2015-10-22 13:55:27 +02:00
Gina Häußge
57bf457d97
Fix: current filename in job data should never be prefixed with /
...
That was a tiny detail missing in 8bef18c2a8 that
caused issues with detecting which file was currently selected on the printer's
SD card (for "do not delete that" checks on the API).
2015-10-22 13:42:57 +02:00
Gina Häußge
5fc8e228b8
Travis: Let's see if we can't get the git depth upped a bit
2015-10-22 13:20:11 +02:00
Gina Häußge
bec0013a90
Travis: Migrate from legacy infrastructure
...
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-10-22 12:40:51 +02:00
Gina Häußge
2f86a6acce
Fixed some missing exception capturing
2015-10-22 12:35:23 +02:00
Gina Häußge
02c3bf8115
Fixed existing doctests, added some new ones, enabled doctests in nosetests
2015-10-22 12:34:53 +02:00
Gina Häußge
279f4014a6
Merge branch 'dev/improvedPluginSettingsSaving' into devel
2015-10-22 11:08:44 +02:00
Gina Häußge
53a62ab44e
Added Unit Tests for BlueprintPlugin mixin
2015-10-22 11:07:55 +02:00
Gina Häußge
bcd0f34fc3
Unit tests and some fixes for improved plugin settings processing
2015-10-20 17:57:05 +02:00
Gina Häußge
ffcbdba858
Use get_all_data instead of get([], ...) construct
2015-10-20 15:41:44 +02:00
Gina Häußge
fca7b2ebae
Merge branch 'maintenance' into devel
...
Conflicts:
.versioneer-lookup
CHANGELOG.md
2015-10-20 14:55:46 +02:00
Gina Häußge
adf39cdf21
maintenance branch is now 1.2.8-dev
2015-10-20 14:54:16 +02:00
Gina Häußge
6c622f7c43
Fixed indentation of change log
2015-10-20 12:24:23 +02:00
Gina Häußge
d34790e74e
Unit tests for octoprint.util.RepeatedTimer
...
(cherry picked from commit 7362067 )
2015-10-20 12:07:31 +02:00
Gina Häußge
aa5099340e
Two new callbacks for RepeatedTimer when cancelled or condition untrue
...
(cherry picked from commit 9b9ecfe )
2015-10-20 12:07:24 +02:00
Gina Häußge
693633bd1d
RepeatedTimer now supports callback when timer stops
...
(cherry picked from commit 3c5a976 )
2015-10-20 12:05:12 +02:00
Gina Häußge
758062133c
Updated changelog for 1.2.7
2015-10-20 11:55:34 +02:00
Gina Häußge
7ea1578bda
Fix: Persist all data different from default, not just current changes
...
We need to merge with our current data since we only might get partial data
from our caller.
2015-10-20 10:35:47 +02:00
Gina Häußge
d70fe32750
Make sure only difference to default config is persisted for plugins
...
This change should make sure that only those settings actually make it into config.yaml
per plugin that do differ from the default settings. Up until now the full dictionary as received
e.g. from the REST API was saved, regardless whether it contained (only) default values or not.
That led to a lot of "null" entries in the config.yaml file, which for one looked horrible and also
led to problems when a plugin actually wanted to change its default values.
With this commit, two things are done. One, upon saving a configuration the default
implementation of the save routine in the settings plugin now first diffs the new data against
the defaults and only saves what is different. Two, upon server startup a cleanup method is
now called on settings plugins whose default implementation fetches the current data stored
in config.yaml, diffs that against the defaults and only writes back the diff result. If that is empty
the entry is completely deleted from config.yaml.
2015-10-19 20:17:17 +02:00
Gina Häußge
66fbd1fc6a
Fix: Also provide custom control parameters to custom GCODE scripts
...
Closes #1085
2015-10-19 13:45:40 +02:00
Gina Häußge
4cfc74c344
Fix: Each divider action needs a custom action id
...
Closes #1084
2015-10-19 13:24:16 +02:00
Gina Häußge
c55fea666d
Updated required versions of psutil and netifaces
...
Also see #1090
2015-10-19 09:33:48 +02:00
Salandora
64551580c5
Merge branch 'devel' of github.com:foosel/OctoPrint into dev/folderSupport
2015-10-16 07:18:49 +02:00
Salandora
20676926e6
Fix a typo that broke custom control parameters
2015-10-12 13:54:52 +02:00
Salandora
1bf46d655d
Fix SD disabled error
2015-10-12 10:20:32 +02:00
Salandora
95bcccb84c
Renaming and Refactoring
2015-10-12 10:00:26 +02:00
Salandora
0dacfcdf8d
Fixed Slicing.
...
Normal behaviour is sliced gcode will be placed in same folder as the stl.
2015-10-09 21:50:34 +02:00
Salandora
ca0463b4c0
Merge branch 'dev/folderSupport' of github.com:foosel/OctoPrint into dev/folderSupport
...
Conflicts:
src/octoprint/static/js/app/client/files.js
2015-10-09 19:54:51 +02:00
Salandora
3458f9af43
Refactorings based on Commit comments
2015-10-09 19:51:36 +02:00
Salandora
7671831707
Added copy, move and createFolder to clientlib
2015-10-09 02:39:21 +02:00
Salandora
d719e3cdbf
Added copy and move API commands
2015-10-09 02:38:40 +02:00
Salandora
c3ddbd0b1b
Added create and remove folder API commands
2015-10-09 02:37:42 +02:00
Salandora
fd0456ed26
Some small fixes and cosmetic adjustments
2015-10-09 02:26:33 +02:00
Gina Häußge
12403444c4
Merge branch 'fix/swuReloadDialog' into devel
2015-10-08 17:09:18 +02:00
Gina Häußge
c932e496fa
SWU: Show reload dialog after update
...
The notification and the (forced) dialog afterwards were way too
redundant.
2015-10-08 17:08:36 +02:00
Salandora
070fd4a47f
Merge branch 'devel' of github.com:foosel/OctoPrint into dev/folderSupport
2015-10-08 15:29:36 +02:00
Salandora
7f78b331fa
Added possibility to send a cookie back by the LargeResponseHandler
2015-10-08 15:29:14 +02:00
Salandora
9429456c5f
Fixed some small mistakes
2015-10-08 15:26:58 +02:00