Paul Woolcock
57cc44368c
Document "everything"
...
This is a good start but many things need to be documented better, but
this will at least allow us to turn on #[deny(missing_docs)]
6 years ago
Paul Woolcock
1ec37e2370
rustfmt pass
6 years ago
Paul Woolcock
b4a43dc783
Add some more tests
6 years ago
Paul Woolcock
0df3f9fa2b
Rework the `Registration` and `App` APIs
...
This puts `register` back to the way it was, and changes the "new"
`register` to `build`.
6 years ago
Paul Woolcock
a407249fa5
Remove `elefren::apps::prelude`
...
Since we don't need `App` in a prelude anymore, just move `Registration`
and `Scopes` to the main prelude and get rid of `elefren::apps::prelude`
6 years ago
Paul Woolcock
1436c28e42
duplicate the AppBuilder api in Registration
...
Closes #13
6 years ago
Paul Woolcock
8636e690c3
rustfmt pass
6 years ago
Paul Woolcock
0f5e295ea9
Revamp registration & auth process
6 years ago
Paul Woolcock
e5175f09fe
make apps::prelude and use the preludes in the tests
6 years ago
Paul Woolcock
a9b6b52890
Change mammut references to elefren
6 years ago
Aaron Power
523d83022e
Fixed example code, and {un}follow routes.
6 years ago
TheBestJohn
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
7 years ago
Aaron Power
b445197381
docs(all): Added documentation to missing parts
7 years ago
Aaron Power
39e539646b
Version 0.6
...
Added proper error handling
impl fmt::Display for apps::Scope
make StatusBuilder.status public
8 years ago
Aaron Power
686c5129f3
0.2 corrected oauth, and added some documentation
8 years ago
Aaron Power
36ae371beb
Initial commit
8 years ago