Commit Graph

82 Commits

Author SHA1 Message Date
Andre Julius e9a7108f90 Fix deprecation warning of base64 crate.
See: https://github.com/M3DZIK/imgurs/actions/runs/3871046426/jobs/6598478600
2023-04-03 20:29:17 +02:00
Andre Julius b6e715accf album_title can be null. account_id can be a string or a number 2022-12-11 09:40:18 +01:00
MedzikUser 986a3b365c
chore(release): v0.11.0 2022-11-07 17:13:50 +01:00
MedzikUser 25cc96774c
fix: rename function to `with_http_client` 2022-11-07 17:05:01 +01:00
Andre Julius 89a7969353 Add `with_http_client` method to ImgurClient
This will allow customization of the http client or just providing an already existing http client.
In my use case I already have a client I'd like to reuse.
2022-11-07 08:30:13 +01:00
MedzikUser 1bd632e906
chore(release): v0.10.0
Add configuration for tls using features (rustls-tls or native-tls).
2022-10-01 18:43:08 +02:00
MedzikUser 2ac3424338
fix(test): disable run get album info test 2022-09-05 21:11:59 +02:00
MedzikUser ecb5855e75
feat: add get_album function (#76)
Co-authored-by: Andre Julius <noromoron@gmail.com>
2022-09-05 21:07:21 +02:00
MedzikUser 31c737689c
fix: clippy warnings 2022-09-05 20:54:59 +02:00
MedzikUser 8ddfeb3c19
fix: delete broken 0x0 2022-09-05 20:51:50 +02:00
MedzikUser c6b6bd1af7
fix(0x0): fix builder error 2022-08-24 17:02:13 +02:00
MedzikUser ad117bf3ec
feat: move cli to other crate and add The Null Pointer (0x0.st) 2022-08-24 15:35:51 +02:00
MedzikUser f26170bc12
update 2022-07-08 11:54:48 +02:00
MedzikUser 71d124f435
chore(webhook): delete discord webhook 2022-07-08 11:38:16 +02:00
MedzikUser 7081367bae
update 2022-06-22 20:34:16 +02:00
MedzikUser 3c5507adaa
chore(release): v0.8.1 and use `serde` instead of `serde_derive` 2022-06-17 23:07:12 +02:00
MedzikUser 2d1f1a4001
add missing doc 2022-06-17 23:00:45 +02:00
MedzikUser 3f2af4f6f9
update 2022-06-12 18:22:45 +02:00
MedzikUser b396ccce19
chore: format code 2022-06-12 17:41:50 +02:00
MedzikUser 80dcd27bc1
chore(release): v0.8.0 2022-06-12 17:38:52 +02:00
MedzikUser 831f816447
refactor code 2022-06-12 17:28:25 +02:00
MedzikUser 9538ca5be8
fix: typo 2022-05-29 11:13:56 +02:00
MedzikUser aac9819bc5
fix: fix clipboard on windows and macos 2022-05-18 21:25:35 +02:00
MedzikUser fb72dc1112
chore(release): v0.7.3 2022-05-18 20:58:00 +02:00
MedzikUser f4e0044678
chore: change `String` to `&str` 2022-05-18 20:56:15 +02:00
MedzikUser 6f9559c6d8
chore: remove unnecessary map_err 2022-05-18 20:26:29 +02:00
MedzikUser 9b7705ed26
chore: change Result to anyhow::Result 2022-05-18 20:16:42 +02:00
MedzikUser aabbea4182
chore: small changes 2022-05-18 19:48:39 +02:00
MedzikUser 1048ea298f
hotfix: upload image from file (revert encode bytes to base64) 2022-04-05 17:04:13 +02:00
MedzikUser 8cd1a31b72
docs: add `;` at the end of the line in the rust example code 2022-04-04 19:08:33 +02:00
MedzikUser c3718579db
v0.7.1 2022-04-04 19:04:49 +02:00
MedzikUser b0e871cbf6
chore (release): v0.7.0 2022-04-03 21:43:50 +02:00
MedzikUser d98208f677
documentation: add in lib.rs 2022-04-03 21:32:42 +02:00
MedzikUser 08c25212ae
fix clippy 2022-04-03 21:11:11 +02:00
MedzikUser b1bfe52a4c
check CHANGELOG.md for a list of variables 2022-04-03 21:01:58 +02:00
MedzikUser 9f22754fc3
rustfmt 2022-03-10 22:08:01 +01:00
MedzikUser 60b0dc0d84
read commit description
- webhook: added url in title
- cli: change image domain to your own (set in config)
- if the configuration file cannot be open, ask the user whether to overwrite the file instead of overwriting it without asking
- logger: max_level_debug in debug binary
2022-03-10 22:02:03 +01:00
MedzikUser 52cceb1ec1
rustfmt 2022-03-07 20:21:46 +01:00
MedzikUser a1c29a08c1
change webhook to discord-webhook (to use rustls) 2022-03-07 20:10:58 +01:00
MedzikUser ef1f9342ee
rustfmt 2022-03-04 19:46:58 +01:00
MedzikUser 6abb99d50a
feat(webhook): add discord webhook 2022-03-04 18:57:02 +01:00
MedzikUser 572899509f
feat(webhook): add discord webhook
example https://i.imgur.com/fgSyFZP.png
2022-03-03 21:14:43 +01:00
MedzikUser 6c7c334ede
update 2022-03-02 22:16:44 +01:00
MedzikUser adc52ba207
feat(lib): if body length is > 30 return `body is too length` 2022-03-02 22:10:56 +01:00
MedzikUser ee66bc93c4
fix(clippy): try using a `char` instead: `:` 2022-02-28 23:29:16 +01:00
MedzikUser a591d427f3
chore: rename anyhow_err to anyhow::Error 2022-02-28 23:26:35 +01:00
MedzikUser 4ad662e35e
feat(clipboard): add support for xclip and termux 2022-02-28 23:20:50 +01:00
Medzik e129ab0d65 if upload image error send notify 2022-02-27 12:32:20 +01:00
MedzikUserBot 24d7be84fa rustfmt 2022-02-27 11:06:34 +00:00
Medzik b7c98934e6
add gen manpage and completion for elvish 2022-02-27 12:06:02 +01:00