Commit graph

2317 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
cb02b83520 Apply review suggestions 2021-05-08 18:41:34 +06:00
Hirrolot
94e61d3403
Refactor src/dispatching/dialogue/storage/redis_storage.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-05-08 05:39:18 -07:00
Temirkhan Myrzamadi
5585143ac2 Don't capitalise letters after dashes 2021-05-08 18:21:11 +06:00
Temirkhan Myrzamadi
03837c66f2 Revert the previous ports in tests/redis.rs 2021-05-08 17:44:22 +06:00
Temirkhan Myrzamadi
721feb0082 Fix the tests 2021-05-08 17:38:03 +06:00
Temirkhan Myrzamadi
58c8015e78 Re-export InMemStorageError unconditionally 2021-05-08 17:25:53 +06:00
Temirkhan Myrzamadi
08bf40e555 Fail Storage::remove_dialogue if a dialogue doesn't exist 2021-05-08 17:21:24 +06:00
Hirrolot
b889ae6f13
Merge pull request #376 from teloxide/WaffleLapkin-patch-1
Point users to discussions
2021-04-28 09:51:45 -07:00
Hirrolot
8f53e5e8d6
Merge pull request #375 from teloxide/issue-template-change-labels
Update issue templates
2021-04-28 09:51:24 -07:00
Waffle Lapkin
42dbd7b423
Point users to discussions 2021-04-27 19:22:39 +03:00
Waffle Lapkin
6352698655 Update issue templates
Change labels for `Parse error` and `Unknown telegram error` templates
2021-04-27 19:10:24 +03:00
Temirkhan Myrzamadi
ef8c8f4cb5 Revert CHANGELOG.md
This fix affects only the current dev branch.
2021-04-22 05:45:05 +06:00
Temirkhan Myrzamadi
9e0de46918 Always remove a dialogue in SqliteStorage::remove_dialogue 2021-04-22 05:42:05 +06:00
Hirrolot
8d8041ad6d
Merge pull request #365 from teloxide/move-features-to-docs
Move the features section to `lib.rs`
2021-04-05 09:46:25 -07:00
Temirkhan Myrzamadi
17d14d2d53 Yet another dirty hack to please rustfmt 2021-04-05 21:19:29 +06:00
Temirkhan Myrzamadi
bc9972bdf2 Move the features section to lib.rs 2021-04-05 19:48:56 +06:00
Waffle Lapkin
2155e2b975
Merge pull request #363 from teloxide/must-use-storage
Mark all the functions of `Storage` as `#[must_use]`
2021-04-03 11:31:18 +03:00
Temirkhan Myrzamadi
bf8d2fa51b Paraphrase #[must_use] 2021-04-03 14:21:06 +06:00
Temirkhan Myrzamadi
44956a4f85 Add descriptions of #[must_use] in Storage 2021-04-03 13:28:26 +06:00
Temirkhan Myrzamadi
617c861d26 Mark all the functions of Storage as #[must_use] 2021-04-03 06:53:02 +06:00
Waffle Lapkin
dfcf3d9d11
Merge pull request #362 from ukewea/patch-1
Fix a typo in the Cargo.toml example in README
2021-04-02 16:47:14 +03:00
ukewea
0c7c9232a5
Fix a typo in the Cargo.toml example in README
The current example will cause warnings while compiling:
    warning: dependency (teloxide) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
    warning: unused manifest key: dependencies.teloxide.verison

By fixing the typo we can get rid of them.
2021-04-02 20:13:13 +08:00
Waffle Lapkin
cba87f2630
Merge pull request #360 from teloxide/specify-auto-send-readme
Specify the 'auto-send' feature in README.md
2021-03-29 17:38:44 +03:00
Hirrolot
3e2548cd1d
Specify the 'auto-send' feature in README.md 2021-03-29 20:10:52 +06:00
Waffle Lapkin
b150af772a
Merge pull request #356 from teloxide/fix-storage-persistency
Fix the storage persistency bug
2021-03-29 09:33:56 +03:00
Temirkhan Myrzamadi
fff0b670fb Fix RedisStorage::update_dialogue 2021-03-29 12:20:17 +06:00
Hirrolot
ca60e52f43
Update src/dispatching/dialogue/storage/redis_storage.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-28 22:18:47 -07:00
Hirrolot
701dcbcb68 Amalgamate 'Fixed' sections in CHANGELOG.md 2021-03-28 16:39:11 +06:00
Hirrolot
75a36feca5
Merge branch 'dev' into fix-storage-persistency 2021-03-28 03:36:03 -07:00
Temirkhan Myrzamadi
68135d004f ToOwned<Owned = D> -> D: Clone 2021-03-28 16:30:12 +06:00
Waffle Lapkin
3ba26abc41
Merge pull request #357 from teloxide/automatically-delete-webhook
Automatically delete a webhook if it was set up
2021-03-28 11:43:43 +03:00
Waffle Lapkin
b1cb87270d
Merge pull request #358 from teloxide/log-code-style
Enforce writing log::<op>!(...) in CODE_STYLE.md
2021-03-28 11:42:01 +03:00
Hirrolot
5affdf1759
Enforce writing log::<op>!(...) in CODE_STYLE.md 2021-03-28 09:00:36 +06:00
Temirkhan Myrzamadi
b7e2f14307 Automatically delete a webhook if it was set up 2021-03-28 08:51:57 +06:00
Temirkhan Myrzamadi
eac67af27a Update CHANGELOG.md 2021-03-28 08:30:05 +06:00
Temirkhan Myrzamadi
9b75378572 Fix the tests and examples 2021-03-28 08:20:35 +06:00
Temirkhan Myrzamadi
01b7b91bda Document how Storage failures are handled in DialogueDispatcher 2021-03-28 06:30:35 +06:00
Temirkhan Myrzamadi
abbbc41892 Fix RedisStorage, SqliteStorage 2021-03-28 06:20:13 +06:00
Temirkhan Myrzamadi
bf1ed601ac Fix the storage persistency bug 2021-03-28 05:34:25 +06:00
Waffle Lapkin
afa9c8f8f5
Merge pull request #355 from teloxide/fix-readme-tokio
Fix the usage of Tokio in deps (README.md)
2021-03-27 22:29:39 +03:00
Hirrolot
b4eea72203
Fix the usage of Tokio in deps (README.md) 2021-03-28 00:02:19 +06:00
Waffle Lapkin
c438c38d50
Merge pull request #354 from diegopy/dev
Remove reqwest dependency
2021-03-27 09:05:04 +03:00
Diego Roig
10a7dfb721 remove reqwest dependency 2021-03-26 18:33:36 -05:00
Diego Roig
6724f265e3 remove reqwest dependency 2021-03-26 17:34:39 -05:00
Hirrolot
f8192a24a7
Merge pull request #335 from teloxide/change-tg-vimhelpbot-url
Provide new url for tg-vimhelpbot
2021-03-26 13:49:47 -07:00
Waffle Lapkin
aeedae540b
Merge pull request #353 from teloxide/enhance-readme
Enhance README.md
2021-03-26 23:36:48 +03:00
Maximilian Siling
94a2151775 Merge branch 'dev' into change-tg-vimhelpbot-url 2021-03-26 23:36:09 +03:00
Hirrolot
0322a19a48
Enhance README.md 2021-03-27 02:29:40 +06:00
Hirrolot
6885e4ab3a
Merge pull request #352 from teloxide/updating-guide-v0.4.0
Embed an updating guide to v0.4.0 (README.md)
2021-03-26 10:35:23 -07:00
Hirrolot
ffdc7043c4
Update README.md 2021-03-26 10:29:17 -07:00