TheBestJohn and Aaron Power
ab1e5f86f0
Fixed the registration of new apps as well as url of statuses is now an Option<String> ( #23 )
...
* Changes IDs to Strings for compliance with APIv1
* - Changed Scope to Scopes to coencide with a quirk of the Mastodon API. Initial registration of the app asks for "Scopes" and authorization asks for "Scope"
- Swapped spaces for urlencoded spaces in the scopes serde definition to prevent broken links
- url of status is returned as a Map not a string"
* Fixed tests and updated Version number
* Fixed tests and verified now... learning experience
2018-02-10 18:22:30 +00:00
Johannes and Aaron Power
0b5441e52c
Changes IDs to Strings for compliance with APIv1 ( #20 )
2018-02-10 18:21:58 +00:00
Klaus Purer and Aaron Power
0ee5806534
fix(errors): Directly pass up Serde errors for easier debugging ( #16 )
...
* fix(errors): Directly pass up Serde errors for easier debugging
* refactor(errors): Also check for API errors
* tests(errors): Add test case
* tests(upload): Ignore integration test with real Mastodon connection per default
* fix(tests): Fix error assertion after change of field ordering
* refactor(json): Create a shared function for response JSON converting
2018-02-10 18:21:12 +00:00
Aaron Power
3761118f10
Version 0.9.1
2018-01-06 19:07:37 +00:00
Klaus Purer and Aaron Power
09fa9deb56
tests(upload): Ignore integration test with real Mastodon connection per default ( #17 )
2017-12-21 16:56:35 +00:00
Paul Woolcock and Aaron Power
dfe317f329
Add PartialEq to Data struct ( #19 )
2017-12-21 16:56:14 +00:00
Aaron Power
b445197381
docs(all): Added documentation to missing parts
2017-11-11 11:50:09 +00:00
Aaron Power
87bcc139bb
refactor(error): Better errors from the Mastodon API
2017-11-11 10:21:12 +00:00
Aaron Power and GitHub
845294996c
Update README.md
2017-11-10 16:56:56 +00:00
Aaron Power
f8aa32f003
Version 0.9, Changed API to use Cow<'static, str>
...
Added documentation to Error enum
2017-11-09 13:56:50 +00:00
Aaron Power
b6d350f29e
updated reqwest and fixed media route
...
reqwest updated to 0.8
removed Result for creating Mastodon client as result of reqwest update
added Meta and ImageDetails struct for Attachment
Changed Attachment.id to String
Added test for media route.
Changed paramaters for media from Vec<u8> of image data to String of
file path.
Added dotenv for testing
2017-11-09 13:05:30 +00:00
Paul Woolcock and Aaron Power
a0c69aac43
Implement std::error::Error for the Error enum ( #12 )
2017-11-09 11:43:53 +00:00
Aaron Power
b9968c6dcb
Added travis
2017-07-03 13:17:01 +01:00
Bryan Tsang and Aaron Power
974f9241e1
Fix incompatible serde versions, misspelled reference ( #9 )
2017-07-03 12:42:38 +01:00
Aaron Power
f14363956f
Updated README
2017-06-05 11:00:29 +01:00
Aaron Power
a6450f3445
Version bump
2017-06-05 10:57:25 +01:00
wariuni and Aaron Power
34f17ebcc0
Fix the attributes of Attachment ( #5 )
...
* Fix Attachment.text_url not being nullable
* Add missing "unknown" attribute to MediaType, which is not in the documentation by TootSuite
https://github.com/tootsuite/mastodon/blob/b97ebaf6202debb8c24d6f726886a594f02a6d3b/app/models/media_attachment.rb#L24
2017-06-05 10:55:50 +01:00
Aaron Power
d1063570f6
Updated dependencies, and version bump
2017-06-01 16:03:30 +01:00
wariuni and Aaron Power
9515b89690
Add missing #[serde(rename = "type")] to Notification::notification_type ( #4 )
2017-06-01 15:39:10 +01:00
Aaron Power
5332b47ede
v6.1 fixed routes not deserialising correctly.
2017-05-08 15:19:25 +01:00
Aaron Power
39e539646b
Version 0.6
...
Added proper error handling
impl fmt::Display for apps::Scope
make StatusBuilder.status public
2017-05-06 22:04:37 +01:00
Aaron Power and GitHub
52f8d5e500
Merge pull request #3 from carols10cents/chrono
...
Lock down chrono version to one that uses serde 0.9
2017-05-06 21:49:18 +01:00
Carol (Nichols || Goulding)
b9c31dfc7d
Lock down chrono version to one that uses serde 0.9
2017-05-06 16:26:40 -04:00
Aaron Power
1fb3d16843
Fixed website not being nullable, added static version of urls
2017-04-23 00:30:56 +01:00
Aaron Power
d36c861c19
fixed error handling.
2017-04-23 00:12:01 +01:00
Aaron Power
2dd0c83b55
0.5 Added API Error handling
2017-04-22 23:29:30 +01:00
Aaron Power
5a06265e87
Added serde rename for notificiation, and updated repo link
2017-04-21 18:53:54 +01:00
Aaron Power
69cec5bf7e
Updated status to handle more nulls
2017-04-21 15:18:11 +01:00
Aaron Power
a528624dc3
0.3.0 Redone registration api, added debug/clone
2017-04-21 12:06:30 +01:00
Aaron Power
686c5129f3
0.2 corrected oauth, and added some documentation
2017-04-21 10:41:46 +01:00
Aaron Power and GitHub
1875ca099d
Update README.md
2017-04-10 23:37:38 +01:00
Aaron Power
36ae371beb
Initial commit
2017-04-10 18:00:07 +01:00