renovate[bot]
a0b0450dac
fix(deps): update rust crate serde_with to 3.8
2024-04-25 00:09:04 +00:00
Abdulla Abdurakhmanov
ff71300bb4
Update getting-started.md
2024-04-22 14:18:44 +02:00
Abdulla Abdurakhmanov
b7c5a14b5d
Fix cargo audit setup
2024-04-22 14:10:15 +02:00
Abdulla Abdurakhmanov
47da5c29f4
chore: Release slack-morphism version 2.2.0
2024-04-22 12:49:10 +02:00
Abdulla Abdurakhmanov
849e500ebc
Fixed a warning
2024-04-22 12:48:25 +02:00
Abdulla Abdurakhmanov
493505e833
Merge pull request #261 from abdolence/feature/signature-verifier-strengthen-security
...
Constant time hash comparison in SlackEventSignatureVerifier and more tests
2024-04-22 12:38:23 +02:00
Abdulla Abdurakhmanov
a819a44f08
Constant time hash comparison in SlackEventSignatureVerifier and more tests
2024-04-22 12:38:03 +02:00
renovate[bot]
a695c4ffaf
chore(deps): update rust crate hyper to 1.3 ( #258 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 11:08:32 +02:00
Gerry Agbobada
d3946f6028
fix: allow deserialization of recent link_shared ( #260 )
...
`link_shared` events in the Slack developer sandboxes do not contain the
`source` and `unfurl_id` options anymore, as the associated
[`chat.unfurl`](https://api.slack.com/methods/chat.unfurl ) API method
now mandates passing the `(channel, ts)` tuple over the
`(source, unfurl_id)` one
> Both channel and ts must be provided together, or unfurl_id and source
must be provided together.
_And_ `channel`, `ts` are marked as required arguments.
Close : #259
2024-04-19 10:31:44 +02:00
David Rousselie
3fca16d346
fix: Make user_id attribute on SlackBotInfo ( #253 )
...
According to the [Slack documentation](https://api.slack.com/methods/bots.info ), `user_id` is optional:
> If the bot corresponds directly to a bot user account, the bot will also have a `user_id`
2024-03-23 23:33:25 +01:00
renovate[bot]
8fcca12b96
fix(deps): update rust crate serde_with to 3.7 ( #251 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:18:07 +01:00
David Rousselie
f0f23caec0
feat: Add stars.add and stars.remove methods ( #250 )
2024-03-11 09:19:26 +01:00
Abdulla Abdurakhmanov
3080ece690
Docs update
2024-03-04 20:10:23 +01:00
Abdulla Abdurakhmanov
d42cb054ec
(cargo-release) start next development iteration 2.1.1-alpha.0
2024-03-04 20:08:50 +01:00
Abdulla Abdurakhmanov
864b480233
(cargo-release) version 2.1.0
2024-03-04 20:08:18 +01:00
renovate[bot]
b8a02ff221
fix(deps): update rust crate http to 1.1 ( #249 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 20:06:21 +01:00
renovate[bot]
ee052cda02
fix(deps): update rust crate base64 to 0.22 ( #248 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-02 11:54:46 +01:00
Abdulla Abdurakhmanov
b036d76c34
Configurable Slack URL for testing purposes ( #247 )
2024-03-01 21:32:21 +01:00
David Rousselie
9ed349bc9a
fix: Make SlackStarsItem* struct attributes public ( #245 )
...
For destructuring such struct, it's required to set attributes visibility to public
2024-03-01 12:44:53 +01:00
David Rousselie
43423cd8fb
feat: Add support for stars events ( #241 )
...
Add support for `star_added` and `star_removed` Slack events.
It has now been renamed "saved for later" in the Slack UI.
2024-02-28 18:24:40 +01:00
David Rousselie
4bd1bfcdd6
feat: Disable signature verification when not needed ( #242 )
...
`ring` is failing to compile for wasm targets.
Only the signature verification requires `ring` and is only useful
when either `hyper` or `axum` features are enabled.
This add a `signature-verifier` feature which enable the optional
dependency `ring`.
The feature `hyper` enables the feature `signature-verifier`.
2024-02-28 18:14:03 +01:00
renovate[bot]
750ac1b8cb
chore(deps): update rust crate hyper to 1.2 ( #244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 23:17:59 +01:00
renovate[bot]
c58f90338d
chore(deps): update rust crate cargo-audit to 0.20 ( #243 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 11:25:06 +01:00
renovate[bot]
7ca7008767
fix(deps): update rust crate serde_with to 3.6 ( #239 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 00:38:13 +01:00
renovate[bot]
18317c7f75
chore(deps): update rust crate cargo-audit to 0.19 ( #240 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 00:49:06 +01:00
Abdulla Abdurakhmanov
4978ab4fae
Less strict access to multipart functions to make them available for extensions
2024-01-27 15:08:50 +01:00
Abdulla Abdurakhmanov
bfa1dfc773
(cargo-release) start next development iteration 2.0.1-alpha.0
2024-01-27 15:00:10 +01:00
Abdulla Abdurakhmanov
3f936f0954
(cargo-release) version 2.0.0
2024-01-27 14:58:42 +01:00
Abdulla Abdurakhmanov
3bd8d3fb99
Remove obsolete form encoded upload. Update docs for 2.0. ( #238 )
...
* Fixed content type for file upload
* AsRef instead of ToString
* Multipart upload separate module
* Remove URL encoded uploader
* Docs update
2024-01-27 14:57:48 +01:00
renovate[bot]
96cda999a7
fix(deps): update rust crate serde_with to 3.5 ( #237 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 20:35:32 +01:00
Abdulla Abdurakhmanov
b5ca4cc1da
Security policy update
2024-01-14 15:16:29 +01:00
Abdulla Abdurakhmanov
61e575b4f1
Removed deprecated method for v2
2024-01-14 15:01:31 +01:00
Abdulla Abdurakhmanov
4de0d4ab17
multipart to multipart_form to avoid confusion
2024-01-14 14:46:52 +01:00
Abdulla Abdurakhmanov
a26894adf7
Ver up for v2.0
2024-01-14 14:44:01 +01:00
Abdulla Abdurakhmanov
8638c4f5e8
Removed duplicate dep ref
2024-01-14 14:43:17 +01:00
renovate[bot]
7b29d6db30
chore(deps): update rust crate hyper to 1.1 ( #220 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 14:29:24 +01:00
Natsuki Ikeguchi
7d1cf6d271
feat: Upgrade http / hyper to 1.0 with axum 0.7 ( #232 )
...
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
2024-01-14 14:19:55 +01:00
Abdulla Abdurakhmanov
d6fb475dd5
(cargo-release) start next development iteration 1.17.1-alpha.0
2024-01-14 13:46:05 +01:00
Abdulla Abdurakhmanov
7999a2da8d
Ver up
2024-01-14 13:45:45 +01:00
Abdulla Abdurakhmanov
e6ce68baab
(cargo-release) version 1.17.0
2024-01-14 13:44:35 +01:00
Abdulla Abdurakhmanov
a3f79356ae
Binary files upload support via multipart/form ( #235 )
2024-01-14 13:44:03 +01:00
Abdulla Abdurakhmanov
a425ca7eed
(cargo-release) start next development iteration 1.16.2-alpha.0
2023-12-14 14:24:45 +01:00
Abdulla Abdurakhmanov
59d9030d19
(cargo-release) version 1.16.1
2023-12-14 14:23:53 +01:00
Natsuki Ikeguchi
ca88bdd3e6
fix!: Include SlackMessageSender in SlackMessageEventEdited ( #230 )
...
* fix!: Include SlackMessageSender in SlackMessageEventEdited
BREAKING CHANGE: SlackMessageEventEdited::user is moved to sender.user and now it is optional.
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
* test: Assert value of sender.user and sender.bot_id
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
---------
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
2023-12-14 14:22:35 +01:00
Abdulla Abdurakhmanov
fa6a7d112c
A few json tests for models ( #228 )
...
* SlackApiAppsManifestCreateRequest test
* SlackHomeView
* SlackDateTime
2023-12-08 19:50:48 +01:00
renovate[bot]
1d7b76ddcb
fix(deps): update rust crate serde_with to v3 ( #185 )
...
* fix(deps): update rust crate serde_with to v3
* feat: Replace serde_with usages using serde_as macro (#214 )
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
---------
Signed-off-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Natsuki Ikeguchi <n_ikeguchi@yumemi.co.jp>
2023-12-08 19:27:42 +01:00
renovate[bot]
6d09af9bdc
fix(deps): update rust crate url to 2.5 ( #221 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 19:25:46 +01:00
Abdulla Abdurakhmanov
cd4d24bc69
(cargo-release) start next development iteration 1.16.1-alpha.0
2023-12-08 08:14:52 +01:00
Abdulla Abdurakhmanov
00602d571d
(cargo-release) version 1.16.0
2023-12-08 08:14:08 +01:00
Abdulla Abdurakhmanov
bb5f4a5bf9
Ver up
2023-12-08 08:13:58 +01:00