Chris Veilleux
e552c55ce4
fixed bug where jsonified null value was being inserted instead of null value if there are no skill settings
2019-07-08 19:31:42 -05:00
Chris Veilleux
21501d3612
bug fix - the UI was throwing errors when a skill did not have settings. initialize an empty settings section to fix.
2019-07-08 19:30:25 -05:00
Chris Veilleux
c720fefe1b
bug fix - if a label field has a value, that value remained in the json object stored in the database
2019-07-08 19:29:03 -05:00
Chris Veilleux
276340ec67
fixed typo in audio file
2019-07-08 15:56:36 -05:00
Chris Veilleux
67ac45c829
fixed typo in metric schema
2019-07-06 15:55:00 -05:00
Chris Veilleux
a94e69f5ba
refactoring
2019-07-06 15:47:51 -05:00
Chris Veilleux
919d0a71fc
uncomment and fix device pairing tests
2019-07-06 15:38:27 -05:00
Chris Veilleux
3c535c0c05
fixed errors in log messages
2019-07-06 15:20:26 -05:00
Chris Veilleux
40cbf36923
define pairing token Redis key in the cache module
2019-07-06 14:46:05 -05:00
Chris Veilleux
d3d652973b
added docstrings
2019-07-06 14:37:43 -05:00
Chris Veilleux
eb35e140af
removed TODO
2019-07-05 18:04:37 -05:00
Chris Veilleux
a8307be1db
added logging and module level docstring
2019-07-05 18:04:17 -05:00
Chris Veilleux
fd5678139e
fixed a bug when a device sends skill settings before it sends the skill manifest. to address the bug, if settings are sent for a skill not yet assigned to a device, insert the device_skill row
2019-07-03 15:53:21 -05:00
Chris Veilleux
083c298811
improve error reporting for setup issues
2019-07-03 15:37:58 -05:00
Chris Veilleux
a096381333
enhanced docstring and added a constant for the device pairing key
2019-07-02 15:55:20 -05:00
Chris Veilleux
08d9491edf
refactored
2019-07-02 15:46:49 -05:00
Chris Veilleux
05ba05f50d
write out the .flac and .stt files for users that opt-in for tagging purposes.
2019-07-01 21:57:22 -05:00
Chris Veilleux
613ea71d99
fixed a bug with the metrics api insert and another with the skill settings endpoint
2019-06-30 17:27:52 -05:00
Chris Veilleux
e6d14d792d
Next iteration through the job scheduler:
...
-- added docstrings
-- converted run_job method into a JobRunner class
-- added a test job to run in non-production environments
-- added ability to override the default run date
2019-06-30 14:34:21 -05:00
Chris Veilleux
abf3556b36
renamed metrics schema to metric, because I am one anal MF
2019-06-28 22:38:38 -05:00
Chris Veilleux
1d80903939
changed duration column to be numeric
2019-06-28 22:06:22 -05:00
Chris Veilleux
f36fd3b3e5
fixed bug with logging
2019-06-28 21:03:44 -05:00
Chris Veilleux
4f0517fe30
fixed a bug with the decimal conversion of duration
2019-06-28 15:03:52 -05:00
Chris Veilleux
63793dfc91
removed unique index and added an index on access_ts
2019-06-28 14:52:42 -05:00
Chris Veilleux
5aec4bf654
fixed a bug where number of seconds was truncated from the api call duration
2019-06-28 14:52:11 -05:00
Chris Veilleux
7fd4e2d908
fixed a bug where the code expected skill_gid to always be in the request but some devices do not support skill_gid yet
2019-06-28 12:04:40 -05:00
Chris Veilleux
1bf8a57fdd
fixed a bug that was causing the preferences page to return a 500
2019-06-28 09:57:24 -05:00
Chris Veilleux
332a79f7cf
new service for batch job scheduling
2019-06-27 17:54:23 -05:00
Chris Veilleux
d8b5cc311b
add if __name__ == '__main__' to scripts
2019-06-27 17:48:47 -05:00
Chris Veilleux
61a7b6b7a0
fixed a minor bug in how the logger is created
2019-06-27 17:23:37 -05:00
Chris Veilleux
57bbf00baa
removed unique constraint as they are not allowed on partitioned tables
2019-06-27 12:51:14 -05:00
Chris Veilleux
e0b95fdca8
fixed some automated testing error introduced by recent changes
2019-06-27 12:36:23 -05:00
Chris Veilleux
1e50da5c6a
fixed some automated testing error introduced by recent changes
2019-06-27 12:36:05 -05:00
Chris Veilleux
ac2f48a299
Merge remote-tracking branch 'remotes/origin/master' into dev
...
# Conflicts:
# api/public/public_api/endpoints/device_skills.py
# api/public/tests/features/steps/device_skills.py
# shared/selene/data/skill/repository/device_skill.py
2019-06-27 12:22:23 -05:00
Chris Veilleux
c8a231bef8
Merge remote-tracking branch 'origin/dev' into dev
2019-06-27 12:20:22 -05:00
Chris Veilleux
e68621ac04
add new api_history table to bootstrap
2019-06-27 12:17:15 -05:00
Chris Veilleux
15fb5b42e6
Merge pull request #190 from MycroftAI/metrics-partition
...
Introduce partitioning of metrics data and fix a couple of new account issues
2019-06-27 12:15:36 -05:00
Chris Veilleux
ec272636f5
change GitHub authentication to not require a publicly available email address
2019-06-27 12:05:33 -05:00
Chris Veilleux
f4ad4f213b
add GitHub as an allowed federated platform
2019-06-27 11:58:33 -05:00
Chris Veilleux
8e286f2084
added docstring
2019-06-27 01:27:07 -05:00
Chris Veilleux
bd8739b407
new script to move data from transient metrics.api table to the partitioned metrics.api_history table to help with query performance
2019-06-27 01:24:57 -05:00
Chris Veilleux
de3030b11e
new api_history partitioned table to help with query performance of millions of rows per day
2019-06-27 01:23:46 -05:00
Chris Veilleux
7c1c18d275
expose the execute method for ddl type SQL statements and add copy to/from functionality
2019-06-27 01:22:40 -05:00
Chris Veilleux
b8e1c4dece
enhance to allow for dynamic sql
2019-06-27 01:21:43 -05:00
Chris Veilleux
7e9887447e
enhance to rollback if any issues occur within the transaction and commit if everything is successful
2019-06-27 01:21:04 -05:00
Chris Veilleux
bb3769cd1f
Merge pull request #187 from MycroftAI/fix-duplicate-skills
...
Fix duplicate skills
2019-06-26 11:08:31 -05:00
Chris Veilleux
54719b81c7
Merge branch 'dev' into fix-duplicate-skills
2019-06-26 11:05:14 -05:00
Chris Veilleux
76f0976a6e
minor bug fix
2019-06-26 11:04:06 -05:00
Chris Veilleux
6ecfcbcba5
removed unused code
2019-06-25 18:21:02 -05:00
Chris Veilleux
12dc2175d2
updated the skill settings endpoint in the public API handle more use cases
2019-06-25 18:12:34 -05:00