Chris Veilleux
b37a566b51
moved shared package out of dev
2019-03-13 21:21:52 -03:00
Matheus Lima
0508824702
Starting to implement the stripe integration
2019-03-13 21:21:52 -03:00
Matheus Lima
4f401285bd
minor fix to make the core more readable
2019-03-08 17:48:29 -03:00
Matheus Lima
8484d8289b
- Changing the validation in the endpoints used to update the device fields and to activate the device and to upload the skill settings
...
- Checking the authentication token in the before_request function. This is a tricky to make the api compatible with the mycroft core is expecting today. Today tartarus returns 401 when it calls and endpoint with a non existent path (like /device/{uuid} without pass the uuid). That is the value core expect to check if it needs to perform a device pairing. We should change that in future versions
- Changed device endpoint to send the user uuid together with the device
2019-03-08 17:09:53 -03:00
Chris Veilleux
38494522de
Merge pull request #72 from MycroftAI/put-v1-public-api
...
Adding the /v1 prefix to the endpoints
2019-03-07 20:14:35 -06:00
Matheus Lima
164d2280f9
Adding the /v1 prefix to the endpoints
2019-03-07 23:08:19 -03:00
Chris Veilleux
3053c5f15a
added uwsgi to project requirements
2019-03-07 18:13:57 -06:00
Chris Veilleux
789a07b020
added uwsgi.ini file
2019-03-07 17:16:26 -06:00
Matheus Lima
e4bd9930d7
Created endpoint to patch device fields
2019-03-06 22:39:34 -03:00
Matheus Lima
4dc2b47c63
Applying the new authentication logic in the endpoints of the public API
2019-03-06 22:10:59 -03:00
Matheus Lima
e8fc54d657
Moved logic related to create a device login session to a python function, allowing it being used by the creating and refreshing token endpoint and by the behavioral tests
2019-03-06 21:31:49 -03:00
Matheus Lima
c44284fbef
Implemented authentication mechanism for the public API
2019-03-06 18:15:45 -03:00
Matheus Lima
a4ecbae369
Moving the cache instance to the PublicEndpoint class
2019-03-06 17:11:16 -03:00
Matheus Lima
fe8466a309
Created test to validate that when we update the skills settings, the device API is able to fetch the skill settings with the new values
2019-03-06 16:42:57 -03:00
Matheus Lima
c1f0e70980
Created test to validate that when we update the skills settings, the device API is able to fetch the skill settings with the new values
2019-03-06 15:35:35 -03:00
Matheus Lima
b85809f316
Implemented skill uploading
2019-03-06 15:35:35 -03:00
Matheus Lima
fabcba8c54
Created endpoint to communicate with the wolfram alpha spoken api
2019-03-06 15:33:39 -03:00
Matheus Lima
e8e30f9d6e
Created endpoint to refresh device oauth token
2019-03-06 15:22:45 -03:00
Chris Veilleux
b7cbc5a733
fixed a bug where the request data was not un-serialized before processing
2019-03-05 22:39:06 -06:00
Chris Veilleux
c806bcc689
added configs to uwsgi.ini files
2019-03-05 21:34:25 -06:00
Chris Veilleux
84965186dc
added geography endpoint and the repository code to support it
2019-03-05 16:04:38 -06:00
Chris Veilleux
1bfa7800c5
added voice endpoint and the repository code to support it
2019-03-05 15:43:32 -06:00
Chris Veilleux
a039bcfb0e
new endpoint to manage wake words and the repository changes to support it
2019-03-05 15:23:24 -06:00
Chris Veilleux
a16bdae969
new account api endpoint to retreive account preferences, along with the necessary repository changes
2019-03-05 15:22:09 -06:00
Chris Veilleux
ac7f1cb593
added device endpoint to account api and altered repository to serve it data
2019-03-05 15:20:31 -06:00
Chris Veilleux
59872f4d24
socket change
2019-03-04 00:43:56 -06:00
Chris Veilleux
f1bd6ce1e2
added a uwsgi.ini file for the account api
2019-03-03 22:20:14 -06:00
Matheus Lima
a5dcdf0c94
Applying model changes
2019-03-03 22:46:00 -03:00
Matheus Lima
a90833f178
Fixing tests after rebase
2019-03-03 22:46:00 -03:00
Matheus Lima
737167b854
Fixed skill endpoints applying the changes related to the skill settings model.
2019-03-03 22:46:00 -03:00
Chris Veilleux
c422ed26f5
changed environment setup to deal with new naming
2019-03-03 19:11:27 -06:00
Chris Veilleux
9595eef5c2
changed behavior tests to deal with naming changes
2019-03-03 19:09:16 -06:00
Chris Veilleux
2f4206a2ab
removed hash column again because it was determined to be used in a device ownership feature that will be deprecated.
2019-03-03 18:20:47 -06:00
Chris Veilleux
581bf1812d
renamed a few items in the database schema
2019-03-01 20:33:35 -06:00
Chris Veilleux
0d6cb7d3f1
resolve merge conflicts
2019-02-28 22:01:21 -06:00
Chris Veilleux
7cd7967091
added skill setting update logic. also added logic to return a number of devices per account
2019-02-28 21:48:35 -06:00
Chris Veilleux
c3608a10bf
Merge pull request #56 from MycroftAI/populate-profile-page
...
Populate profile page
2019-02-28 20:44:22 -06:00
Chris Veilleux
61e884b0f6
implemented a sql trick to group by json that made the code a lot simpler
2019-02-26 14:09:31 -06:00
Chris Veilleux
638b74206d
added some logic on how to determine the skill name displayed in the ui
2019-02-26 09:37:56 -06:00
Chris Veilleux
d19a1fcdf6
new endpoint for account skills
2019-02-25 23:27:54 -06:00
Matheus Lima
eccb83ed44
- Refactoring to use a AccountRepository to get an account using the device id
...
- Created tests for the metrics service
2019-02-25 19:03:08 -03:00
Matheus Lima
a6533fbe32
Removed blocking operation from the db transaction
2019-02-25 16:42:11 -03:00
Matheus Lima
edc43ed39a
Created endpoint to communicate with metrics service
2019-02-25 16:42:11 -03:00
Matheus Lima
e722e519bf
Fixed the endpoint used to get the subscription type of a device and created tests for this endpoint
2019-02-25 16:28:14 -03:00
Matheus Lima
88aaccd073
Adding test for the device setting endpoint
2019-02-25 16:28:14 -03:00
Matheus Lima
588525ea47
Created test to the endpoint used to fetch a device
2019-02-25 16:28:14 -03:00
Matheus Lima
ae5c148b92
Removing unused import
2019-02-22 14:23:43 -03:00
Matheus Lima
b68dabe0b9
Clean up and adding tests for the device email endpoint
2019-02-22 14:23:43 -03:00
Matheus Lima
577c470d90
- Using schematics to validate POST data
...
- Fixed test
- Fixed error handler to present a better error message
2019-02-22 14:23:43 -03:00
Matheus Lima
af45f633d1
Created endpoint to send email to the account associated to a device
2019-02-22 14:23:43 -03:00