Chris Veilleux
|
83b88ac649
|
remove authentication
|
2020-12-04 13:13:02 -06:00 |
Chris Veilleux
|
55f3ff01cf
|
new precise API endpoint for retrieving a list of sample files for a specified wake word that have been designated since the specified date
|
2020-12-01 17:54:31 -06:00 |
Chris Veilleux
|
483f8a7d4d
|
Merge fix
|
2020-11-30 18:04:26 -06:00 |
Chris Veilleux
|
f0f1966e2f
|
Merge branch 'feature/wake-word-designation' into feature/add-speech-tag
# Conflicts:
# api/precise/precise_api/endpoints/tag.py
|
2020-11-30 18:03:04 -06:00 |
Chris Veilleux
|
aded8d85df
|
Move the retrieval/creation of taggers and sessions sooner into the workflow.
|
2020-11-30 17:15:25 -06:00 |
Chris Veilleux
|
5b9f7ff478
|
Enhance to be smarter about how files are selected for tagging based on the designations and tags that have been applied to the file up to this point.
|
2020-11-30 11:34:09 -06:00 |
Chris Veilleux
|
17bd500394
|
New script to make file designations out of file tags.
|
2020-11-05 22:21:36 -06:00 |
Chris Veilleux
|
2eb5532c35
|
Fixed tests that were breaking due to the new request format.
|
2020-11-03 14:16:40 -06:00 |
Chris Veilleux
|
af6618fd51
|
Pin pyjwt to version 1.7.1 to fix a testing issue where one virtualenv was running 2.0.0a1.
|
2020-11-02 19:28:31 -06:00 |
Chris Veilleux
|
efcd9b8b4f
|
PyLint fixes
|
2020-11-02 15:44:08 -06:00 |
Chris Veilleux
|
df59fe437c
|
PyLint fixes
|
2020-11-02 14:52:21 -06:00 |
Chris Veilleux
|
df3efccebd
|
PyLint fixes
|
2020-11-02 14:43:52 -06:00 |
Chris Veilleux
|
a9802afac4
|
PyLint fixesç
|
2020-11-02 14:32:25 -06:00 |
Chris Veilleux
|
e2ef562125
|
Improve randomization of query to get a file to tag. Also, change logic to only return non-wake word tags when the sample is designated as a wake word.
|
2020-10-30 14:19:20 -05:00 |
Chris Veilleux
|
dade8fbc36
|
Fixed PyLint issues
|
2020-10-29 18:19:51 -05:00 |
Chris Veilleux
|
bd41dbcfae
|
wake words coming from device may contain a dash. remove it to find the right wake word on the database.
|
2020-10-29 16:03:12 -05:00 |
Chris Veilleux
|
161e1eef09
|
de-linted
|
2020-10-29 15:01:33 -05:00 |
Chris Veilleux
|
9a599df7f3
|
change to use new wake word data object
|
2020-10-29 14:59:15 -05:00 |
Chris Veilleux
|
0f6da41e78
|
change to use new wake word data object
|
2020-10-29 14:59:02 -05:00 |
Chris Veilleux
|
30bb8979f9
|
fix issue where UI uses title case for wake word names while database uses lower case
|
2020-10-29 14:58:29 -05:00 |
Chris Veilleux
|
671134ab91
|
removed unused import
|
2020-10-24 00:52:21 -05:00 |
Chris Veilleux
|
92a7666d56
|
fixed a copy paste error and named the flask app correctly
|
2020-10-22 23:40:20 -05:00 |
Chris Veilleux
|
36986ef456
|
pass a session id around to help with the wake word file selection process.
|
2020-10-21 23:12:57 -05:00 |
Chris Veilleux
|
222bbbe1ca
|
Merge remote-tracking branch 'origin/feature/file-name-hashing' into feature/tagger
|
2020-10-21 17:24:43 -05:00 |
Chris Veilleux
|
91557c4f73
|
fixed a breaking environmental cleanup for the behavioral tests.
|
2020-10-21 16:26:04 -05:00 |
Chris Veilleux
|
5624a73871
|
changed wake word to be passed as a query parameter.
|
2020-10-20 14:17:14 -05:00 |
Chris Veilleux
|
0f771ca69c
|
implement precise API endpoints for the tagger
|
2020-10-20 12:22:56 -05:00 |
Chris Veilleux
|
9a506a0740
|
Stub files for new precise API
|
2020-10-08 13:18:45 -05:00 |
Chris Veilleux
|
22ec4ee385
|
removed duplicate licensing info
|
2020-10-08 13:12:36 -05:00 |
Chris Veilleux
|
22b4fdd685
|
update the environment.py file to use a new helper function
|
2020-10-06 01:10:45 -05:00 |
Chris Veilleux
|
40dbcd0c8a
|
change logic that names files to use a hash of the file contents as the file name.
|
2020-10-06 01:08:53 -05:00 |
Chris Veilleux
|
09fe436cce
|
Fixed PyLint errors discovered in CI process
|
2020-10-02 13:46:56 -05:00 |
Chris Veilleux
|
15d75621b1
|
remove file location row if added in a test
|
2020-09-17 15:45:20 -05:00 |
Chris Veilleux
|
d521bec189
|
add logic to set the wake word file status to "pending delete" when an account with associated files is deleted.
|
2020-09-17 15:30:44 -05:00 |
Chris Veilleux
|
2dbfd1265c
|
add logic to existing code handling the new status column on the wake word file table
|
2020-09-17 15:29:25 -05:00 |
Chris Veilleux
|
699ab4f1d2
|
added endpoint to Public API for uploading a wake word sample file.
|
2020-09-02 13:57:00 -05:00 |
Chris Veilleux
|
2b074ef10d
|
Moved wake_word and wake_word_settings tables to a new wake_word schema.
|
2020-08-27 13:16:28 -05:00 |
Chris Veilleux
|
dc5f7fd9db
|
Code review changes
|
2020-07-09 23:16:59 -05:00 |
Chris Veilleux
|
2680fe652c
|
updated pipenv lock files
|
2020-07-09 22:51:28 -05:00 |
Chris Veilleux
|
c9a0fefe4e
|
add comments to fix linting errors
|
2020-07-09 22:51:22 -05:00 |
Chris Veilleux
|
86998c13ec
|
added pylint to public API dependencies
|
2020-07-09 22:51:20 -05:00 |
Chris Veilleux
|
328135d234
|
fix lint errors
|
2020-07-09 22:51:16 -05:00 |
Chris Veilleux
|
e05f0640e6
|
add missing docstrings
|
2020-07-09 22:51:14 -05:00 |
Chris Veilleux
|
2b1afa4fa9
|
Changed code check phase to work with multiple applications in the same repository.
|
2020-07-09 22:51:11 -05:00 |
Chris Veilleux
|
e7d27ec6f0
|
installed allure-behave for test reporting
trying new labelledShell plugin
|
2020-07-09 22:50:59 -05:00 |
Chris Veilleux
|
5fa49da734
|
Fixed an issue with how one test was using the before_tag environmental control.
|
2020-07-09 22:46:45 -05:00 |
Chris Veilleux
|
91fcdada24
|
Fixed a typo
|
2020-07-09 22:42:28 -05:00 |
Chris Veilleux
|
9bb708ab09
|
Applied code review changes.
|
2020-06-22 19:19:43 -05:00 |
Chris Veilleux
|
6df6ce1eed
|
Merge remote-tracking branch 'remotes/origin/dev' into account-api-tests
# Conflicts:
# api/account/Pipfile.lock
|
2020-06-17 14:34:18 -05:00 |
Chris Veilleux
|
c5497f7e9f
|
Apply code review changes.
|
2020-05-27 20:02:59 -05:00 |
Chris Veilleux
|
7e9082a016
|
fixed a failing test
|
2020-05-26 23:01:58 -05:00 |
Chris Veilleux
|
ec356eec12
|
added logic to populate the *_active columns in the account_activity metrics table.
|
2020-05-26 22:35:50 -05:00 |
Chris Veilleux
|
5e23c0c06f
|
reworded a "then" clause
|
2020-05-26 22:26:22 -05:00 |
Chris Veilleux
|
c92fae67d5
|
fixed a date issue in one of the tests.
|
2020-05-24 14:09:44 -05:00 |
Chris Veilleux
|
8ab1cb571c
|
added logic to track open dataset count on account_activity table.
|
2020-05-22 21:01:13 -05:00 |
Chris Veilleux
|
dd292fcfa1
|
added logic to track membership count on account_activity table.
|
2020-05-22 13:15:06 -05:00 |
Chris Veilleux
|
c89f5bd691
|
removed commented out steps
|
2020-05-21 17:36:42 -05:00 |
Chris Veilleux
|
9a5ed1ddc4
|
add ability to track new and deleted accounts on the new account activity table.
add ability to track new and deleted accounts on the new account activity table.
|
2020-05-21 17:36:42 -05:00 |
Chris Veilleux
|
1ce0c45dca
|
updated package locks
|
2020-05-14 16:02:23 -05:00 |
Chris Veilleux
|
0ce365e1ec
|
replace feature-specific tests with common tests
|
2020-05-12 17:16:27 -05:00 |
Chris Veilleux
|
42df611c21
|
added PyLint and Blacked dependencies
|
2020-05-12 14:17:45 -05:00 |
Chris Veilleux
|
5d391ebd6f
|
Delinted and Blacked
|
2020-05-12 14:17:07 -05:00 |
Chris Veilleux
|
407c73a74f
|
new feature test for changing password.
|
2020-05-11 18:53:51 -05:00 |
Chris Veilleux
|
180fa3acfc
|
request validation was not being done
|
2020-05-11 15:36:06 -05:00 |
Chris Veilleux
|
630d89786a
|
added tests for Google and GitHub logins
|
2020-05-11 15:26:26 -05:00 |
Chris Veilleux
|
06176db455
|
fix an issue where test would fail when the date in local time would not match the UTC date
|
2020-05-10 20:32:37 -05:00 |
Chris Veilleux
|
d60dbcb485
|
add test for agreement endpoints to single sign on API tests.
|
2020-05-10 16:31:39 -05:00 |
Chris Veilleux
|
706f573e24
|
move account creation tests into single sign on API, where account creation now occurs
|
2020-05-10 16:02:04 -05:00 |
Chris Veilleux
|
a7513a4799
|
refactor to use common steps for failure
|
2020-05-10 16:02:02 -05:00 |
Chris Veilleux
|
a97e62b469
|
minor refactor
|
2020-05-10 16:02:02 -05:00 |
Chris Veilleux
|
919904e459
|
Fix breaking single sign on tests.
|
2020-05-10 16:02:01 -05:00 |
Chris Veilleux
|
442251bc98
|
apply code review changes
|
2020-02-19 10:36:38 -06:00 |
Chris Veilleux
|
50b51e52ac
|
fixed to persist existing settings values when other settings values change
|
2020-02-18 15:18:32 -06:00 |
Chris Veilleux
|
d0e8418c81
|
changed tests to detect persistence of existing settings values when other settings values are changed
|
2020-02-18 15:17:52 -06:00 |
Chris Veilleux
|
d6f4f74e25
|
Merge remote-tracking branch 'remotes/origin/dev' into bug/stt-stats
|
2019-12-03 13:00:46 -06:00 |
Chris Veilleux
|
a24791836a
|
do not write stt files if user is not opted in.
|
2019-12-03 12:57:41 -06:00 |
Chris Veilleux
|
d34bdd9692
|
converted decimals to float for serialization
|
2019-11-06 14:33:28 -06:00 |
Chris Veilleux
|
97e003d41c
|
removed code that prevented geographic coordinates from being passed to core. the weather skill uses coordinates to make API calls.
|
2019-10-21 20:36:05 -05:00 |
Chris Veilleux
|
758bfe68a8
|
Merge remote-tracking branch 'remotes/origin/dev' into feature/timezone_endpoint
# Conflicts:
# api/public/Pipfile.lock
# shared/selene/data/geography/repository/city.py
|
2019-10-11 12:52:55 -05:00 |
Chris Veilleux
|
ad3eb20a78
|
Merge remote-tracking branch 'remotes/origin/dev' into feature/publish_repo
# Conflicts:
# api/account/Pipfile.lock
# api/public/public_api/endpoints/device_skill.py
# shared/selene/data/device/__init__.py
|
2019-09-30 11:54:54 -05:00 |
Chris Veilleux
|
06c8afe45b
|
minor refactor
|
2019-09-26 16:16:13 -05:00 |
Chris Veilleux
|
a113282ec1
|
better handle requests in lower-case characters
|
2019-09-26 16:13:24 -05:00 |
Chris Veilleux
|
41789eca3f
|
un-comment the token check that was commented for testing
|
2019-09-26 16:12:40 -05:00 |
Chris Veilleux
|
71a78b8d55
|
renamed geolocation endpoint url
|
2019-09-26 12:03:13 -05:00 |
Chris Veilleux
|
8e0f6c53ea
|
new public API endpoint to extrapolate a geolocation from a string.
|
2019-09-25 17:26:29 -05:00 |
Chris Veilleux
|
b2b99e9dbd
|
ensure settings values written to the database are in their native datatype
|
2019-09-17 14:17:31 -05:00 |
Chris Veilleux
|
ed76bf6c48
|
fixed bug with formatting of last contact ts from redis
|
2019-09-12 14:58:34 -05:00 |
Chris Veilleux
|
900557c9e8
|
updated definition of AccountSkillSetting dataclass
|
2019-09-11 13:45:20 -05:00 |
Chris Veilleux
|
4b45b5b060
|
minor bug fix
|
2019-09-11 13:40:32 -05:00 |
Chris Veilleux
|
3a0bb267bd
|
improved log message
|
2019-09-11 13:40:15 -05:00 |
Chris Veilleux
|
3e981d1732
|
added logic to copy existing settings, if they exist, when a device has none
|
2019-09-11 12:45:26 -05:00 |
Chris Veilleux
|
dfc531988c
|
added docstring
|
2019-09-10 14:51:07 -05:00 |
Chris Veilleux
|
4891de7fee
|
ensure all settings values sent to devices running 19.02 or earlier are strings.
|
2019-09-10 14:47:25 -05:00 |
Chris Veilleux
|
a6878ad274
|
added check for empty list string ("[]"). convert to empty list
|
2019-09-10 14:16:04 -05:00 |
Chris Veilleux
|
86306d5695
|
default an empty string numeric value to zero
|
2019-09-10 11:08:03 -05:00 |
Chris Veilleux
|
7ed386e650
|
removed deprecated fields that will no longer be passed from the device
|
2019-09-09 14:58:20 -05:00 |
Chris Veilleux
|
f5db96ff84
|
added color field for backwards compatibility
|
2019-09-09 11:53:55 -05:00 |
Chris Veilleux
|
b17ebd0380
|
fixed issue with raising DataError
|
2019-09-09 10:59:00 -05:00 |
Chris Veilleux
|
a5dbb5715d
|
updated API to use new endpoints
|
2019-09-05 18:45:51 -05:00 |
Chris Veilleux
|
cc27f7b80f
|
new endpoint to communicate skill settings values to devices
|
2019-09-05 18:31:34 -05:00 |
Chris Veilleux
|
6535652a68
|
fixed an issue found in testing where a skill can have multiple skill definitions.
|
2019-09-05 18:27:12 -05:00 |
Chris Veilleux
|
c8a257dad9
|
remove device skill deletion from skill settings endpoint. should be done in manifest endpoint
|
2019-09-05 12:08:37 -05:00 |
Chris Veilleux
|
f3ae6b19b6
|
endpoint for accepting the skill settings definition defined by the skill author from the device
|
2019-09-05 11:29:30 -05:00 |
Chris Veilleux
|
e396dd2a6f
|
added a device status as it relates to communication with the backend. this is a preliminary step to fixing the skill installation issue in the marketplace.
|
2019-08-17 17:37:52 -05:00 |
Chris Veilleux
|
e52994d0e0
|
force flask version 1.0.4 as 1.1 breaks one of the api calls
|
2019-08-17 17:35:30 -05:00 |
Chris Veilleux
|
b326067f2e
|
Merge remote-tracking branch 'remotes/origin/dev' into feature/publish_repo
|
2019-08-16 19:00:49 -05:00 |
Chris Veilleux
|
9ecb80e956
|
Merge branch 'dev' into bug/skill-settings
|
2019-08-16 18:43:02 -05:00 |
Chris Veilleux
|
f7e963fe0a
|
Fixes to skill settings page showing skills multiple times.
|
2019-08-16 18:30:25 -05:00 |
Chris Veilleux
|
5aa2c4b578
|
force flask version 1.0.4 as 1.1 breaks one of the api calls
|
2019-08-15 19:57:42 -05:00 |
Chris Veilleux
|
cdf5654c0e
|
ensure pipfiles are up-to-date before publishing repo
|
2019-08-15 19:23:30 -05:00 |
Steve Penrod
|
9dc4d62490
|
Adding the basics to prepare for publishing this repo
Changes include:
* Adding AGPL 3.0 license template (TODO: Apply to all 200+ *.py files)
* Adding AGPL license files
* Add generic public repo files (CONTRIBUTING, etc)
* Simple README updates
* Adding other generic files, e.g. .github templates
|
2019-07-27 18:44:23 -05:00 |
Chris Veilleux
|
474da1469f
|
fixed a bug where a previous change broke an import statement
|
2019-07-10 13:41:35 -05:00 |
Chris Veilleux
|
108d21d888
|
Merge remote-tracking branch 'remotes/origin/test'
|
2019-07-08 19:51:22 -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
|
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
|
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
|
abf3556b36
|
renamed metrics schema to metric, because I am one anal MF
|
2019-06-28 22:38:38 -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
|
e0b95fdca8
|
fixed some automated testing error introduced by recent changes
|
2019-06-27 12:36:23 -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
|
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
|
12dc2175d2
|
updated the skill settings endpoint in the public API handle more use cases
|
2019-06-25 18:12:34 -05:00 |
Chris Veilleux
|
e411332667
|
fixed to use skill_id in the skill manifest object
|
2019-06-25 18:11:19 -05:00 |
Chris Veilleux
|
32ad6a0921
|
fixed a minor issue
|
2019-06-25 18:10:34 -05:00 |
Chris Veilleux
|
ec5ea8af9a
|
add re-usable check for when and endpoint returns a 304 "Not Modified" http code when etags are hit
|
2019-06-25 18:09:30 -05:00 |
Chris Veilleux
|
4ec2410ad7
|
minor refactor
|
2019-06-25 17:42:57 -05:00 |
Chris Veilleux
|
4082b53af5
|
use canned test data instead of depending on real data being on the database
|
2019-06-25 17:42:34 -05:00 |
Chris Veilleux
|
e534bc7091
|
fixed to no longer pass account id
|
2019-06-25 17:42:00 -05:00 |
Matheus Lima
|
709c805c34
|
Merge branch 'test'
|
2019-06-25 16:33:05 -03:00 |
Matheus Lima
|
7e72507d6b
|
Created stripe webhook
|
2019-06-25 16:25:15 -03:00 |
Chris Veilleux
|
5931125608
|
removed unused imports
|
2019-06-21 14:10:01 -05:00 |
Chris Veilleux
|
861b043238
|
removed account_id from constructor as not all methods use it
|
2019-06-20 20:58:35 -05:00 |
Chris Veilleux
|
2291892636
|
moved cache key into the cache util file
|
2019-06-20 11:37:51 -05:00 |
Chris Veilleux
|
0df2cfe3ec
|
added error conditions
|
2019-06-20 10:59:43 -05:00 |
Chris Veilleux
|
297d18d221
|
remove the API call to get a skill manifest as it is not used by the device
|
2019-06-20 10:52:29 -05:00 |
Chris Veilleux
|
93a212e673
|
added logic to the skill manifest endpoint to reconcile the manifest uploaded by the device with the manifest stored on the database
|
2019-06-19 22:18:32 -05:00 |