Matheus Lima
bdcdeffe18
Created PATCH request to update membership
2019-03-13 21:21:52 -03:00
Matheus Lima
9ba79f4a2d
Implemented stripe integration
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
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
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
Matheus Lima
1ad957142a
Applying requested changes
2019-02-20 20:25:21 -03:00
Matheus Lima
af83a190db
Applying requested changes
2019-02-20 20:25:21 -03:00
Matheus Lima
23e056ca96
Created test to validate device pairing workflow
2019-02-20 20:25:21 -03:00
Matheus Lima
640f08ffbe
Refactoring
2019-02-20 20:25:21 -03:00
Matheus Lima
750921fb7d
Created endpoint to activate a device that is in a pairing process
2019-02-20 20:25:21 -03:00
Matheus Lima
5b6776c92e
- Created endpoint to add a device to an account using a pairing code
...
- Renamed selene_cache module to cache
2019-02-20 20:25:21 -03:00
Matheus Lima
64e513a7df
Created endpoint to get the device pairing code
2019-02-20 20:25:21 -03:00
Matheus Lima
dea0e6737f
Changing code to use relative imports
2019-02-19 10:06:30 -03:00
Matheus Lima
c02f308392
Created behave test for the google stt endpoint
2019-02-19 10:06:30 -03:00
Matheus Lima
d6bab8fb8f
Removed unused import
2019-02-19 10:06:30 -03:00
Matheus Lima
6c25c2f85d
Migrating the project from flask-restful to flask
2019-02-19 10:06:30 -03:00
Matheus Lima
ed2e7eada6
Refactoring
2019-02-19 10:06:30 -03:00
Matheus Lima
73ad03c7b6
Created endpoint to communicate with the Google STT API
2019-02-19 10:06:30 -03:00
Matheus Lima
6f6cd0aac6
Using relative imports
2019-02-08 16:13:32 -03:00
Matheus Lima
7a41eaabe7
Created endpoint to communicate with the Open Weather Map API
2019-02-08 13:10:07 -03:00
Chris Veilleux
bfed3ab8f3
new location for response formatter
2019-02-07 19:55:20 -06:00
Matheus Lima
793caa4142
Created endpoint to communicate with the Wolfram Alpha API
2019-02-07 22:00:14 -03:00
Matheus Lima
492d298a1e
Using relative imports to define package level APIs
2019-02-07 17:48:39 -03:00