Mahesh Bansod
|
dc059b947d
|
fix: create new session when the current expires
|
2021-11-19 18:56:28 +05:30 |
Mahesh Bansod
|
a1d3c64765
|
Caching the ServerInformation for CLI
|
2021-11-07 20:27:38 +05:30 |
Mahesh Bansod
|
2fcfbe9e67
|
Moved Display impl from types to cli crate. added pager to feed.
|
2021-11-07 18:29:14 +05:30 |
Mahesh Bansod
|
bb5763deb0
|
put client init code in utils
|
2021-11-07 15:27:17 +05:30 |
Mahesh Bansod
|
1e293c67aa
|
Added delete-post subcommand
|
2021-11-07 13:51:44 +05:30 |
Mahesh Bansod
|
6fa77b8812
|
added subcommands `feed`, `get-post`, `like`, `unlike`
|
2021-11-06 03:46:27 +05:30 |
Mahesh Bansod
|
50d94160af
|
Replaced `get-profile` command with `profile` to get any peers profile
|
2021-11-05 17:11:38 +05:30 |
Mahesh Bansod
|
a038b6f7da
|
Added methods + cli commands for `network.{get_followers,get_following,follow_peer,unfollow_peer}`
|
2021-11-05 17:03:06 +05:30 |
Mahesh Bansod
|
c95c71c1bd
|
Added InvalidPeerInput Validation error case for Display trait + removed multisession errors from SocialVoidError
|
2021-11-05 16:42:57 +05:30 |
Mahesh Bansod
|
acf8eadf47
|
Switched CLI to use single session + made it work with the new restructured api
|
2021-11-03 12:41:38 +05:30 |
Mahesh Bansod
|
351fe65450
|
Made CLI subcommands use structopt's subcommands options
|
2021-10-27 19:06:57 +05:30 |
Mahesh Bansod
|
f2283f236c
|
Ask to confirm password for register + removed unnecessary clone
|
2021-10-24 02:49:51 +05:30 |
Mahesh Bansod
|
7419d0eee6
|
Added config command to set session and see current session
|
2021-10-24 02:40:15 +05:30 |
Mahesh Bansod
|
a5fabda8eb
|
fix: session update on new login/register
|
2021-10-24 01:56:16 +05:30 |
Mahesh Bansod
|
f0d24ec03b
|
Added methods to change session and get current session index
|
2021-10-24 00:38:33 +05:30 |
Mahesh Bansod
|
19ef4c4d03
|
Clippy stuff
|
2021-10-23 21:46:39 +05:30 |
Mahesh Bansod
|
c782d6166b
|
current_session will be managed by clientlib itself instead of the CLI.
|
2021-10-23 21:26:06 +05:30 |
Mahesh Bansod
|
27aa49685b
|
Wrapper around raw errors to support client errors
|
2021-10-23 19:52:08 +05:30 |
Mahesh Bansod
|
f10a43ba2e
|
Added `get-profile` command + implemented Display trait for Profile
|
2021-10-21 22:06:27 +05:30 |
Mahesh Bansod
|
dc2eff4312
|
Added `MyFriendlyError` for the CLI.
|
2021-10-20 21:13:45 +05:30 |
Mahesh Bansod
|
56d0a7a3a6
|
Added `set-profile` with `pic`
|
2021-10-20 20:50:13 +05:30 |
Mahesh Bansod
|
605b23aff1
|
Fix: check if the vector for sessions is empty and create a session if so
|
2021-10-20 20:49:38 +05:30 |
Mahesh Bansod
|
bbea7cda91
|
Converted some crates to modules
|
2021-10-18 21:29:28 +05:30 |
Mahesh Bansod
|
9ae31ee544
|
rename all crates to add prefix socialvoid_
|
2021-10-18 20:44:34 +05:30 |
Mahesh Bansod
|
ac7482b4ac
|
Resolve CDN server url from ServerInformation
|
2021-10-16 12:08:52 +05:30 |
Mahesh Bansod
|
d3e48e024f
|
Clippy suggestions - redundant field name, unnecessary cast, empty instead of len zero check, unnecessary let binding
|
2021-10-15 20:41:55 +05:30 |
Mahesh Bansod
|
843a1a6d9c
|
lazy evaluation by adding closures i.e. `*_or(` to `*_or_else(|_?|` wherever possible
|
2021-10-15 20:37:17 +05:30 |
Mahesh Bansod
|
e156ed11c8
|
Updated binary name to `socialvoid-cli` & updated README
|
2021-10-10 19:16:07 +05:30 |
Mahesh Bansod
|
fe7e5466e4
|
Added Register subcommand
|
2021-10-10 15:20:02 +05:30 |
Mahesh Bansod
|
6e343c1d79
|
Refactored + delete a session if expired or not found
|
2021-10-10 14:41:47 +05:30 |
Mahesh Bansod
|
fc30e42d17
|
Added basic CLI - login, get_me
|
2021-10-10 13:35:48 +05:30 |