Matheus Lima
00ecba1166
Refreshing device session using either refresh token or device id
2019-05-22 20:05:31 -03:00
Matheus Lima
dab7301556
Fix typo
2019-05-22 17:15:12 -03:00
Matheus Lima
9d87bc0170
Fixing path in the metrics service
2019-05-22 17:04:14 -03:00
Chris Veilleux
43ef249d00
change public API to use a different connection pooling mechanism
2019-05-22 13:12:23 -05:00
Matheus Lima
1092f8f1ed
Allowing skill_gid in the skill manifest
2019-05-22 05:22:08 -03:00
Matheus Lima
c3a1d74fc3
Adding uuid in the response returned by the endpoint to get the device
2019-05-21 20:39:03 -03:00
Matheus Lima
80061cf855
Fixing response return
2019-05-17 18:35:46 -03:00
Matheus Lima
ccb104a11f
Changing back base class of the Oauth callback endpoint
2019-05-17 18:32:04 -03:00
Matheus Lima
aa73066d95
Fixing base class used in the OauthCallbackEndpoint. The previous one had an authorization validation
2019-05-17 18:18:22 -03:00
Matheus Lima
8ca34db143
Returning correct response in the oauth endpoints
2019-05-16 17:51:44 -03:00
Matheus Lima
1f2d76e331
Properly loading the OAUTH_BASE_URL variable
2019-05-16 17:13:48 -03:00
Matheus Lima
379894b257
Added oauth callback endpoint
2019-05-09 12:36:45 -03:00
Matheus Lima
44ab3758cc
Fixed wolfram alpha spoken endpoint to extend the correct class. Created unit test.
2019-04-30 14:08:45 -03:00
Matheus Lima
8bf7610f8c
Moving oauth endpoint back to the public api project
2019-04-23 19:39:13 -03:00
Matheus Lima
7d560946ca
Fixing url
2019-04-23 19:39:13 -03:00
Matheus Lima
a86cc568d4
Refactoring oauth endpoint
2019-04-23 19:39:13 -03:00
Matheus Lima
1058b057dc
Moving the endpoint to get the oauth url to the shared project
2019-04-23 19:39:13 -03:00
Matheus Lima
8c0425f333
Implemented endpoints to communicate with the oauth gateway service
2019-04-23 19:39:13 -03:00
Chris Veilleux
2ee471a6e1
add api metrics table and collection. in the process, changed the database connection mechanism to only get a connection from the pool once per request.
2019-04-22 16:58:28 -05:00
Chris Veilleux
322bdabee6
Merge remote-tracking branch 'origin/test' into test
2019-04-18 12:50:36 -05:00
Chris Veilleux
bb4fbd0ac2
Added logic to update a device from the UI, which led to some ancillary changes in logic to add a device. Minor refactoring also done.
2019-04-18 12:49:06 -05:00
Matheus Lima
2af381cf00
Fixing skills settings and skills manifest uploading
2019-04-16 18:11:14 -03:00
Chris Veilleux
ad7eb63536
Merge pull request #104 from MycroftAI/test
...
added logging config to public api
2019-04-04 13:27:45 -05:00
Chris Veilleux
bf4991007b
added logging config to public api
2019-04-04 13:19:22 -05:00
Matheus Lima
c8a86076f9
Configuring logging root
2019-04-03 22:53:35 -03:00
Matheus Lima
8d4df9928e
Adding logging to the skill manifest endpoint
2019-04-03 22:08:58 -03:00
Matheus Lima
3992787355
Fixing skill validation
2019-04-02 16:58:24 -03:00
Matheus Lima
7f1e83c8d5
Fixing skill validation
2019-04-02 16:37:45 -03:00
Matheus Lima
492a778d40
Added etag support to the endpoint to get skill settings
2019-04-02 13:42:45 -03:00
Matheus Lima
07757f6dbc
Fixing the skills setting and skills manifest uploading
2019-04-01 18:46:59 -03:00
Matheus Lima
aabc779647
fixing bug with google stt and fixing device's setting to properly return date format and time format
2019-03-27 13:11:38 -03:00
Matheus Lima
dac786238d
Minor refactor
2019-03-27 11:34:29 -03:00
Matheus Lima
cab65636db
Created API call to fetch the skills manifest
2019-03-27 11:23:59 -03:00
Matheus Lima
e23d9ab840
Created endpoint to upload skills manifest
2019-03-27 11:23:59 -03:00
Matheus Lima
0deb202125
Added etag support to the device location endpoint
2019-03-27 11:21:26 -03:00
Matheus Lima
f3e67f9677
Created endpoint to fetch a location associated with a device
2019-03-27 11:21:26 -03:00
Chris Veilleux
425be9a0a8
merge dev into add-device
2019-03-21 12:08:38 -05:00
Chris Veilleux
db230cc208
removed add device endpoint as it now exists in the account API
2019-03-20 17:12:32 -05:00
Matheus Lima
c0ee6224d9
Created functions to epire etags from the device entity and the device's settings entity, at device and account level. Fixed the query used to fetch the devices from a user
2019-03-19 12:42:16 -03:00
Matheus Lima
b422de76c2
Implemented etag support on the endpoint `GET /device/{uuid}/setting`
2019-03-18 20:21:46 -03:00
Matheus Lima
df14af5322
Implemented etag support on the endpoint `GET /device/{uuid}`
2019-03-18 16:34:34 -03:00
Matheus Lima
d29a3ee857
Starting to implement the stripe integration
2019-03-15 11:07:12 -03:00
Matheus Lima
5ebad16060
Starting to implement the stripe integration
2019-03-08 19:37:45 -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
Matheus Lima
164d2280f9
Adding the /v1 prefix to the endpoints
2019-03-07 23:08:19 -03: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