Commit Graph

57 Commits (7ea84005764fdc39a74700e8df01cb05f6144982)

Author SHA1 Message Date
Chris Veilleux 3de9d7bc94 the user's given name is an optional field. treat it as such 2018-10-30 17:14:28 -05:00
Matheus Lima f45caa2583 changed status error and message 2018-10-26 17:52:53 -03:00
Matheus Lima c19ae24161 Created validations for the cases where user doesn't have any skills or the user doesn't have the skill installer 2018-10-26 17:45:38 -03:00
Matheus Lima 8dad2343a7 Merge branch 'multiple-skill-installation' of github.com:MycroftAI/selene into multiple-skill-installation 2018-10-26 14:51:02 -03:00
Matheus Lima 9fbdc45288 Fixing the installer skill to use a parameter to avoind hiding the to_install and to_remove fields. Also, fixing the logic to avoid the same skill being added to the to_install and to_remove fields multiple times 2018-10-26 14:50:46 -03:00
Chris Veilleux 990dc21668 fix to previous fix to handle a skill with no triggers 2018-10-26 12:42:40 -05:00
Matheus Lima 7bf4869bb8 Merge branch 'multiple-skill-installation' of github.com:MycroftAI/selene into multiple-skill-installation 2018-10-24 18:38:29 -03:00
Matheus Lima 0c04ca5945 Changing install endpoint to receive an action to install/remove skills 2018-10-24 18:38:12 -03:00
Chris Veilleux 9a9083271f Added conditional logic to skill detail endpoint for the various hardware platforms 2018-10-23 15:56:01 -05:00
Chris Veilleux 96dee79905 added some comments 2018-10-22 21:32:15 -05:00
Chris Veilleux d54f944ef4 added some comments 2018-10-22 21:30:25 -05:00
Chris Veilleux e86bcc4b00 minor line length refactor and bug fix for missing failure_message on successful installs 2018-10-22 21:26:12 -05:00
Chris Veilleux 0da4aa1612 removed unused imports 2018-10-22 13:10:15 -05:00
Chris Veilleux 202ab8ec1a removed code that is no longer reused in package 2018-10-22 13:09:43 -05:00
Chris Veilleux 42c510665e changed skill install status logic to be its own endpoint 2018-10-22 13:08:00 -05:00
Chris Veilleux 711ef460f9 refactored to only return those values needed by the UI 2018-10-22 13:05:41 -05:00
Chris Veilleux a53f34506b changed string to object 2018-10-22 13:04:52 -05:00
Chris Veilleux a28b6b6e99 fixed a bug with the icon in the data class and added a install status of system to indicate to the UI which skills should not be uninstallable 2018-10-15 23:01:54 -05:00
Chris Veilleux 7af1dcf084 use camel case in response as it is being sent to a javascript 2018-10-11 15:13:56 -05:00
Chris Veilleux 058b03069d changed how install status was communicated and how common functions were structured 2018-10-11 15:08:55 -05:00
Chris Veilleux 45bdcb8d96 added ability to know the install status of each skill 2018-10-11 10:58:53 -05:00
Chris Veilleux 55987b6890 changed logic that got installed skills to handle no installed skills returned, which could happen if a user has a no devices 2018-10-05 17:59:08 -05:00
Chris Veilleux 7dd647cd45 fixed issue where there were two ways to know if user is authenticated 2018-10-05 15:30:53 -05:00
Chris Veilleux b4f3e701c8 changed name of undefined category to a more descriptive "not categorized" 2018-10-05 13:51:55 -05:00
Chris Veilleux 9289db098f enhanced skill search capability to search the skill category, description, summary and triggers 2018-09-30 22:58:46 -05:00
Chris Veilleux ba974a2c7b if a skill has a tag of "system" it is a core skill that should not be uninstalled. put it in a "System" category 2018-09-30 22:38:25 -05:00
Chris Veilleux 842d2f4002 pull the selene-shared container from the docker registry 2018-09-28 00:12:30 -05:00
Chris Veilleux 9d5359d435 Changed endpoints to use new version of base class 2018-09-26 22:01:49 -05:00
Chris Veilleux 346f2f7b4c new version of markdown package 2018-09-26 21:57:52 -05:00
Chris Veilleux 636342999b Use base class and add use real skill URL in skill setting update 2018-09-26 15:14:47 -05:00
Chris Veilleux c81bc58d46 minor name change to the install endpoint 2018-09-26 15:13:30 -05:00
Chris Veilleux c546d3d576 pass the repository URL to the response so that the UI can use it to pass to the install request 2018-09-26 15:13:05 -05:00
Chris Veilleux 9d0a2015fd use the refactored base class 2018-09-25 22:22:55 -05:00
Chris Veilleux 0cdb0094f4 updated to reflect latest packages 2018-09-25 22:22:19 -05:00
Chris Veilleux 2c3f51fd8a added check for "unauthorized" return from the call to get installed skills as user does not have to be logged-in 2018-09-22 16:47:28 -05:00
Chris Veilleux 670c52226e added logic to determine which skills are already installed on a user's device(s). 2018-09-20 17:18:18 -05:00
Chris Veilleux 4ff745995c make the pep 8 goblins happy 2018-09-20 14:12:42 -05:00
Chris Veilleux 73cfe04b4d added flask configs for the production skill service 2018-09-20 10:51:21 -05:00
Chris Veilleux 541664fb77 added test environment config 2018-09-19 20:20:38 -05:00
Chris Veilleux ea25800f78 enhanced temporary skill install logic to tell user how to install the skill with their voice. 2018-09-18 23:06:46 -05:00
Chris Veilleux 1a185aeced Converted markdown found in README content to HTML for better presentation on the UI. 2018-09-14 15:02:58 -05:00
Chris Veilleux 80282fd103 defined defaults for skill icon if none is supplied by author 2018-09-13 22:01:19 -05:00
Chris Veilleux a96b273988 pass the user-defined icon to the marketplace for display 2018-09-13 15:57:46 -05:00
Chris Veilleux abfe248435 changed how the skill author and category data is pulled from the skill DB 2018-09-13 12:42:43 -05:00
Chris Veilleux 04cc5fbc89 re-ordered steps to make image creation more efficient 2018-09-13 12:42:01 -05:00
Chris Veilleux 400d928484 changed market api to use uwsgi instead of gunicorn 2018-09-10 00:05:29 -05:00
Chris Veilleux e2eb79bb85 changed incorrect port mapping 2018-09-04 23:17:32 -05:00
Chris Veilleux 2c8051bfce added Dockerfile for marketplace API 2018-09-04 23:09:04 -05:00
Chris Veilleux 4af009cf2f added gunicorn and selene-util packages 2018-09-04 23:08:42 -05:00
Chris Veilleux fcf7ff2e88 changed values of base URL configs to come from environment variables 2018-09-04 23:08:07 -05:00