c6ef55cb0c
Add a separator before the 'Posted from' message if showClient is set to true.
master
Storm Dragon2024-05-12 20:57:57 -04:00
05f236df25
A few more changes, added the ability to show the client in posts.
Storm Dragon2024-05-12 17:55:17 -04:00
a6849cceea
Added the ability to give a post a title.
Storm Dragon2024-05-12 17:37:05 -04:00
5eff83b3ca
Updates to the music function so that it now uses the post_status function to do the actual work of posting. Fixed problems of visibility not respecting the setting.
Storm Dragon2024-05-12 17:33:49 -04:00
2e8bb5961a
Lots of updates, removed the timeline display code because it's buggy and the web client does it better anyway. Repurposed this program to do posting from the cli, so for music, or from other programs, or quick posts without having the leave the cli.
Storm Dragon2024-05-11 18:16:00 -04:00
cc1dab3fdb
Experimental new code using getopt, it seems to work better, but who knows lol.
stormdragon29762023-02-04 00:05:31 -05:00
da6a960bcd
I think I fixed the weird posting bug. Posts from within the main loop should work as expected now.
stormdragon29762023-02-02 20:43:30 -05:00
cabe5058ff
Updated displayed text for timelines. Trying to get only new stuff to show up when it's refreshed, but that's not quite working yet.
stormdragon29762023-02-02 03:19:46 -05:00
d7aa704cf1
Not much luck improving the jq stuff yet, but I did fix ' showing up as '.
stormdragon29762023-02-01 22:51:26 -05:00
36513b8db6
I think there's now decent error detection for posting music.
stormdragon29762023-02-01 17:55:28 -05:00
fb97aab81f
Improved handling for posts, now they can be piped through ratatoskr.sh -p. Also, with no pipe and no arguments, type your message and hit control+d when done to post.
stormdragon29762023-02-01 02:02:18 -05:00
a6da379c5f
A bit of code reorganization. Added /refresh command. Actually displaying stuff and grabbing the latest only still needs some work.
stormdragon29762023-01-31 18:18:39 -05:00
ebad002e73
Got a start on the main loop, but jq is being vicious currently, so going to come back to it later.
stormdragon29762023-01-30 18:57:42 -05:00
13aeccd78f
I think we have our first fully complete flag, -M should now post music and let you know if it was successful or if there were errors.
stormdragon29762023-01-30 00:23:54 -05:00
661f00217c
Music posting with -M is now working. I still need to deal with the resulting json, so be prepared for spam.
stormdragon29762023-01-29 23:59:59 -05:00
9578307c7a
It's alive! Well, sort of, added a -p flag to post, be warned, thar be spam in them thar outputs.
stormdragon29762023-01-29 19:45:43 -05:00
82ee21407d
Access token now generating and storing in file
lilmike2023-01-29 15:53:17 -08:00
73c3ae9cc6
Reorganized the code that puts the url into the clipboard if possible.
stormdragon29762023-01-29 16:35:08 -05:00
d419435462
Found the documentation to get the token without having a redirect rui that is a website.
stormdragon29762023-01-29 15:42:54 -05:00
a55ce4db79
Nearly have music posting working. Currently if you use it there is a lot of output because curl is in verbose mode. It is giving an Invalid credentials error.
stormdragon29762023-01-29 14:32:13 -05:00
5a4abe1643
Command line argument parsing set up. Help system added. Place holder for post_music function.
stormdragon29762023-01-29 04:23:46 -05:00
a8f0d6eee3
Access token now works. Added html file that is deployed on the server for showing the code.
lilmike2023-01-29 00:42:10 -08:00
a6c8fd9277
If xclip is installed, tries to place the url into your clipboard.
stormdragon29762023-01-28 18:12:39 -05:00
a7ac37b77c
More friendly url entry. Will now add https:// if not provided.
stormdragon29762023-01-28 18:05:06 -05:00
c03ae7f739
Added quotes around the entries in the configuration file.
stormdragon29762023-01-28 15:43:21 -05:00
96107693f7
Generates the url, but for some reason it's only showing "read" premission.
stormdragon29762023-01-28 15:41:06 -05:00
ffd63c98f6
I was doing the client_id bit completely wrong. This should be much better.
stormdragon29762023-01-28 14:57:45 -05:00
886bb8eb07
Good start on getting oauth token. It currently does not display the application name when requesting access though.
stormdragon29762023-01-28 13:19:59 -05:00