Hirrolot
051a3ba671
Merge pull request #387 from teloxide/simplify-simple-commands-bot-send
...
Don't use `.send()` in `examples/simple_commands_bot`
2021-05-20 22:00:03 +06:00
Hirrolot
1d5859507a
Remove feature(extended_key_value_attributes)
2021-05-20 21:54:41 +06:00
Hirrolot
c3bcdca549
Don't use .send()
in examples/simple_commands_bot
2021-05-20 21:37:53 +06:00
Waffle Lapkin
9d243b50c8
Merge pull request #386 from teloxide/default-tls
...
Enable TLS by default
2021-05-19 09:47:17 +03:00
Waffle
0eef5b8487
Enable TLS by default
...
We use HTTPS which doesn't work without TLS implementation.
2021-05-18 18:52:29 +03:00
Hirrolot
e351a6695b
Merge pull request #383 from teloxide/norm_docs3
...
Normalize docs (take 3)
2021-05-16 08:33:38 +06:00
Waffle
02a4df4b5c
Switch to developement teloxide-core version
2021-05-15 23:37:14 +03:00
Waffle
9b34586a04
Normalize docs
2021-05-15 23:37:14 +03:00
Hirrolot
509a93536c
Merge pull request #382 from teloxide/fix-command-off-docs
...
Document the `"off"` value as a command description
2021-05-09 23:18:51 -07:00
Temirkhan Myrzamadi
c0e3064785
Fmt
2021-05-10 12:13:07 +06:00
Hirrolot
7f578a8918
Paraphrase src/utils/command.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-05-09 23:06:35 -07:00
Temirkhan Myrzamadi
cf3639f68b
Document the "off" value as a command description
2021-05-10 08:55:43 +06:00
Hirrolot
d8d3044efa
Merge pull request #369 from teloxide/fix-remove-dialogue-sqlite
...
Try to remove a dialogue in `Storage::remove_dialogue` even if it does not exist
2021-05-08 06:39:48 -07:00
Waffle Lapkin
f911ab9974
Remove duplicate from README
2021-05-08 16:31:19 +03:00
Temirkhan Myrzamadi
3b7ca4dabd
Merge
2021-05-08 19:02:35 +06:00
Temirkhan Myrzamadi
27eda5759c
RowNotFound -> DialogueNotFound
2021-05-08 19:00:38 +06:00
Hirrolot
de52ea25f9
Update src/dispatching/dialogue/storage/mod.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-05-08 05:43:34 -07:00
Hirrolot
80e1afaeed
Update src/dispatching/dialogue/storage/in_mem_storage.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-05-08 05:43:27 -07:00
Temirkhan Myrzamadi
d14e0a49e9
Merge branch 'fix-remove-dialogue-sqlite' of https://github.com/teloxide/teloxide into fix-remove-dialogue-sqlite
2021-05-08 18:41:53 +06:00
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