Matt Baer
035ffcde5f
Relicense under GPL
5 years ago
Matt Baer
18ce1fc0e3
Update UpdatePost and DeletePost calls to v2
5 years ago
Matt Baer
8156f21643
Change WIP version to 1.99-dev
5 years ago
Matt Baer
e05f5bd943
Add Debian installation instructions
5 years ago
Matt Baer
910b09274e
Update README with v1.2 links
5 years ago
Matt Baer
a98f507cfd
Merge branch 'master' into local-workflow
5 years ago
Matt Baer
f45f03b408
Bump version to 1.2
5 years ago
Matt Baer
72444b09aa
Add --md flag
This returns URLs with Markdown enabled. Part of #14
5 years ago
Matt Baer
70c9e28db3
Update OSes in GUIDE
5 years ago
Matt Baer
3bd82e36e5
Create .writeas_user file in Write.as posts dir
5 years ago
Matt Baer
be18239017
Make "already auth'd" error more helpful
5 years ago
Matt Baer
13cf6d1eda
Bump version to 1.2-dev
5 years ago
Matt Baer
3f1ac7df4f
Update "not logged in" error message
Leave out -u option in writeas auth command
5 years ago
Matt Baer
42374c4102
Support the -v/--verbose flag on all commands
5 years ago
Matt Baer
2e95856826
Add 1.1 changes to Debian changelog
5 years ago
Matt Baer
74fe88fa61
Merge branch 'debian'
5 years ago
Matt Baer
9d9bfa4018
Merge branch 'debian' into local-workflow
5 years ago
Matt Baer
8f9418246a
Don't require -u flag for writeas auth
Instead of writeas auth -u <username>, now you can just use
writeas auth <username>
5 years ago
Matt Baer
62263e5ce6
Import v2 of go-writeas repo
5 years ago
Matt Baer
3011646553
Support changing post language
5 years ago
Matt Baer
9807b0090e
Automatically detect language when publishing
5 years ago
Matt Baer
23d4a69204
Extract title when publishing or updating posts
5 years ago
Matt Baer
b37d9f6996
Use dev endpoints when env var WRITEAS_DEV=1
5 years ago
Matt Baer
40880f3167
Support updating auth'd user posts
5 years ago
Matt Baer
e3dc39245c
Show post title when fetching posts
5 years ago
Matt Baer
9d0b93785b
Delete local file when deleting anonymous post
5 years ago
Matt Baer
abd989376c
Support deleting auth'd user posts
5 years ago
Matt Baer
90641dd12b
Save post locally on publish
Only with `writeas publish` right now, and only if posts directory has
already been set up.
5 years ago
Matt Baer
2c0fd7583f
Support sending post language with --lang flag
5 years ago
Matt Baer
a83410b717
Support publishing files
Adds new `writeas publish <file>` command
5 years ago
Matt Baer
a2569848ec
Include title in fetched posts
5 years ago
Matt Baer
a63445f92a
Fix Exists() test in fileutils
5 years ago
Matt Baer
052c792391
Add `writeas fetch` command
This configures a directory for posts and downloads all posts on the
authenticated account into the directory, organizing collection posts
into their own subdirectories.
5 years ago
Matt Baer
fe4c67ba00
Move "not auth'd" error to newClient()
This adds a new parameter that determines whether or not authentication
is required, and also returns an error now.
5 years ago
Matt Baer
db3450b8cc
Support logging out
5 years ago
Matt Baer
5ec4a02c7a
Support publishing to a blog
Closes #16
5 years ago
Matt Baer
257b969216
Make authenticated requests
If you're logged in, now requests will be made with the saved token
5 years ago
Matt Baer
97f29319ee
Save authenticated user information in JSON
Instead of using an INI file for the access token, this stores it and
other user information in a single JSON file.
5 years ago
Matt Baer
48b51417ff
Prevent authenticating when user already did that
5 years ago
Matt Baer
fca81a9456
Update docs with updated flags + new auth command
5 years ago
Matt Baer
02145b3acb
Support user authentication
Adds new `writeas auth` command and saves user's access token to a new
local configuration file.
This closes #10 / T191
5 years ago
Matt Baer
d6c9ede87c
Move --tor flag checking to options.go
5 years ago
Matt Baer
4a092cfbf8
Move userAgent func to options.go
5 years ago
Matt Baer
5c3deaa07f
Migrate API calls to v2 / go-writeas library
This closes #9
5 years ago
Matt Baer
0fbdecb85c
Remove unused readAPIURL var
5 years ago
Matt Baer
4daad02a62
Fix macOS download URL
5 years ago
Matt Baer
6f3b425144
Bump version to 1.1
5 years ago
Matt Baer
91182658d6
Add features to README and tweak copy
5 years ago
Matt Baer
cbb44f2859
Use code.as/core/socks instead of h12.me/socks
5 years ago
Matt Baer
f494e6d185
Support setting custom User-Agent
5 years ago