|
4255ca0d7a
|
Fix broken doctest
|
2023-01-30 18:35:40 +01:00 |
|
|
e91e89cab1
|
Batch of changes for v0.8.0 (#2)
See changelog for more details.
|
2023-01-30 18:33:50 +01:00 |
|
|
c0ed6189e5
|
Fix search bugs introduced with the previous PR
|
2023-01-30 15:37:41 +01:00 |
|
|
383948c6e6
|
Implement supertypes enum (#11)
|
2023-01-30 00:28:31 +01:00 |
|
|
93451b10ec
|
Introudce a "crystal" segment in Telegram inline query ids
To work around the bizzare caching mechanisms Telegram seems to have.
|
2023-01-15 12:24:35 +01:00 |
|
|
f908f3b5ed
|
Move to Oracle Cloud (free) Object Storage for jpgs
|
2022-12-24 03:48:48 +01:00 |
|
|
325376de55
|
Merge branch 'main' into reqeast
|
2022-10-20 16:30:08 +02:00 |
|
|
d87e19d81f
|
Add underline to deck titles
|
2022-10-18 23:54:51 +02:00 |
|
|
0b438479b7
|
Allow deck codes to be sent with a name (merge #5)
Allow deck codes to be sent with a name
|
2022-10-18 23:46:18 +02:00 |
|
|
5c1d45dddd
|
Fix weird behaviour with CardSet::TheDarkinSaga (merge #3)
|
2022-10-18 23:39:48 +02:00 |
|
|
1f6e05d419
|
Do not try to convert "set" deck code portions to CardSet variants
|
2022-10-18 22:11:41 +02:00 |
|
|
1dfa9d97b7
|
Fix bug in deck! where it was trying to access the caller crate
|
2022-10-18 21:11:35 +02:00 |
|
|
cb00027ff8
|
Document how to send a named deck list
|
2022-10-18 15:24:38 +00:00 |
|
|
961ab2cea8
|
Allow deck names to be specified in the Telegram bot
|
2022-10-18 15:15:32 +00:00 |
|
|
0119dbc515
|
Document ::telegram::inline::deck_to_inlinequeryresult
|
2022-10-18 14:44:25 +00:00 |
|
|
39dbc3f1b7
|
Remove unused import
|
2022-10-18 14:43:13 +00:00 |
|
|
4a9fda45c8
|
Complete fetch methods for CoreBundle and SetBundle
|
2022-10-18 13:47:24 +00:00 |
|
|
6c63d36ca3
|
Document the CardSet::from::<u32> changes
|
2022-10-18 09:44:14 +00:00 |
|
|
8978ccd82e
|
Allow u32::try_from::<CardSet> to work on CardSet::TheDarkinSaga
|
2022-10-18 09:41:14 +00:00 |
|
|
75279c8ba7
|
Remove support for CardSet::Worldwalker::from::<u32>
06 is now ambiguous
|
2022-10-18 09:39:32 +00:00 |
|
|
e5aa83af96
|
Document the CardSet::from_code change
|
2022-10-18 09:35:33 +00:00 |
|
|
11bd4204dd
|
Remove support for CardSet::Worldwalker.from_code
06 is now ambiguous
|
2022-10-18 09:33:26 +00:00 |
|
|
369e97048a
|
Add support for CardSet::TheDarkinSaga.to_code
|
2022-10-18 09:31:29 +00:00 |
|
|
48fb2b275e
|
In tests, reference to the crate with the crate keyword
|
2022-10-17 09:32:27 +00:00 |
|
|
7ecc0242a3
|
Add support for The Darkin Saga keywords
|
2022-09-03 19:50:46 +02:00 |
|
|
6af7304f9a
|
Add support for The Darkin Saga set
|
2022-09-03 19:37:42 +02:00 |
|
|
5fa0e69bfb
|
Fix a formatting mess
|
2022-09-03 19:31:57 +02:00 |
|
|
30a94754cd
|
Run cargo fmt
|
2022-09-03 19:15:44 +02:00 |
|
|
54fc192b6e
|
Load setbundles dynamically
|
2022-08-22 19:56:21 +02:00 |
|
|
f5456980f6
|
Improve debug messages
|
2022-08-22 18:28:32 +02:00 |
|
|
26257ff2a3
|
Hide the entered inline query from logs
For privacy reasons.
|
2022-08-22 18:26:40 +02:00 |
|
|
5cdc617ee7
|
Mention deck previews in the bot's welcome message
|
2022-08-22 18:24:17 +02:00 |
|
|
5a17f7a724
|
Do not make group mutable in Deck::f1_group_cards
|
2022-08-22 18:19:20 +02:00 |
|
|
b432103c56
|
Use ? operator in Deck::min_deckcode_version
|
2022-08-22 18:18:52 +02:00 |
|
|
60060b9a31
|
Remove useless reference in Deck::from_code
|
2022-08-22 18:18:18 +02:00 |
|
|
139de76961
|
Use Result::is_ok() instead of pattern matching in Deck::read_f1_extra
|
2022-08-22 18:18:05 +02:00 |
|
|
d869d6d943
|
Remove useless reference in Deck::write_f1_supergroup
|
2022-08-22 18:17:28 +02:00 |
|
|
5c1075031f
|
Use vec! macro in Deck::f1_group_cards
|
2022-08-22 18:17:11 +02:00 |
|
|
d44391b264
|
Remove useless reference in Deck::encode_code
|
2022-08-22 18:15:54 +02:00 |
|
|
639d84da03
|
Remove useless reference in CardCode::to_card
|
2022-08-22 18:15:40 +02:00 |
|
|
e6e9368082
|
Use matches! macro to determine if CardCode::is_valid
|
2022-08-22 18:15:08 +02:00 |
|
|
f3cc8a0910
|
Do not implement PartialEq::ne for Card
|
2022-08-22 18:13:49 +02:00 |
|
|
89a1eefd25
|
Make Card s Eq based on their Card::code
|
2022-08-22 18:13:23 +02:00 |
|
|
bbfb146087
|
Document deck queries in the bot's instructions
|
2022-08-22 18:01:32 +02:00 |
|
|
7b060feb9c
|
Add decks support (#1)
|
2022-08-22 00:21:41 +02:00 |
|
|
f85df82a0a
|
Fix broken bilgewater test
|
2022-08-13 05:41:33 +00:00 |
|
|
ce0774d5dd
|
Somehow, I've managed to forget about bilgewater
|
2022-08-13 05:30:45 +00:00 |
|
|
5d51c55c9c
|
Remove non-solvable link
|
2022-08-13 04:46:22 +00:00 |
|
|
0d6b7e7fcd
|
Fix links that work locally but not on docs.rs
|
2022-08-13 04:44:59 +00:00 |
|
|
a2cc2cc4c0
|
Configure and run cargo fmt
|
2022-08-13 04:28:46 +00:00 |
|
|
5b7947028f
|
Move the main function to patched_porobot::telegram::main
|
2022-08-13 04:10:25 +00:00 |
|
|
e741d41822
|
Change card-data/ to simply data/
|
2022-08-09 03:55:51 +02:00 |
|
|
a34436bbe1
|
Update docs link
|
2022-08-09 03:48:57 +02:00 |
|
|
674f2eda71
|
Strikethrough unfinished features
|
2022-08-08 23:40:49 +02:00 |
|
|
ad813dfd6c
|
Remove unused imports
|
2022-08-08 23:34:55 +02:00 |
|
|
8cc200b6f4
|
Boost code and name fields, while lowering slightly flavor
|
2022-08-08 23:23:26 +02:00 |
|
|
e59856c656
|
Add basic "unavailable" notices to the unimplemented bots
|
2022-08-08 23:20:23 +02:00 |
|
|
1eeef94eb3
|
Add doc logos to binary targets
|
2022-08-08 23:16:00 +02:00 |
|
|
bc05fc9afa
|
Improve significantly docs
|
2022-08-08 21:06:52 +02:00 |
|
|
d2f922b97f
|
Use AND conjunction by default in the QueryParser
|
2022-08-08 19:58:57 +02:00 |
|
|
bd335b4712
|
Documentation and structure improvements
|
2022-08-08 19:55:59 +02:00 |
|
|
821aaa875b
|
Create empty discord module
|
2022-08-08 18:53:17 +02:00 |
|
|
8c34409ba1
|
Change err-no-query message
|
2022-08-08 18:20:44 +02:00 |
|
|
53186dd959
|
Use explicit format syntax so IntelliJ Rust does not complain about unused vars
|
2022-08-08 16:22:03 +02:00 |
|
|
6300623886
|
Fix newlines in displaying telegram cards
|
2022-08-08 16:21:16 +02:00 |
|
|
67ed228958
|
Move engine inside the inline query handler
Is there a better way to do this?
|
2022-08-08 16:18:55 +02:00 |
|
|
ca82930279
|
Move handlers to telegram::handler
|
2022-08-08 16:10:53 +02:00 |
|
|
d8328cbd22
|
It is (mostly) done!
|
2022-08-08 04:55:07 +02:00 |
|
|
25df599586
|
Complete most of the telegram bot
|
2022-08-08 04:10:59 +02:00 |
|
|
b2a2535b93
|
Add a way to convert Card into InlineQueryResult
|
2022-08-07 17:50:35 +02:00 |
|
|
c945f7e6c5
|
Add branch for telegrambot binary without the required feature
|
2022-08-07 17:50:09 +02:00 |
|
|
b7403c6e0e
|
Use reference in String::from::<&CardType> call
|
2022-08-07 17:32:50 +02:00 |
|
|
56df5bdd86
|
Don't take ownership of CardType when converting to String
|
2022-08-07 17:27:54 +02:00 |
|
|
fb34162fef
|
Fix some issues in the telegram module
|
2022-08-07 17:24:03 +02:00 |
|
|
c6e95322ce
|
Revert Debug and Clone derivations on CardSearchEngine
|
2022-08-07 17:23:46 +02:00 |
|
|
3853b9f006
|
Create the telegrambot binary
|
2022-08-07 17:23:12 +02:00 |
|
|
64d5b8ef70
|
Uncomment the telegram module
|
2022-08-07 17:23:05 +02:00 |
|
|
96fb1c4bc6
|
Make the telegram::display module public
|
2022-08-07 16:47:50 +02:00 |
|
|
c2146f662a
|
Improve the telegram::display module
|
2022-08-07 16:47:29 +02:00 |
|
|
08388c59b3
|
Use the in-game term of "Illustration by"
|
2022-08-07 16:12:18 +02:00 |
|
|
838b88e741
|
Update some docstrings
|
2022-08-07 16:04:42 +02:00 |
|
|
f09c366900
|
Also derive Clone for CardSchemaFields
|
2022-08-07 05:42:21 +02:00 |
|
|
6edc2965a9
|
Derive Debug for more things
|
2022-08-07 05:42:04 +02:00 |
|
|
8ed792bda9
|
Fix some doc warnings
|
2022-08-07 05:41:33 +02:00 |
|
|
838dafd028
|
Fix some clippy lints
|
2022-08-07 05:38:29 +02:00 |
|
|
2da1264681
|
Refactor search::cardsearch module
|
2022-08-07 05:37:43 +02:00 |
|
|
d6cb0f8b56
|
Rename search::card module to search::cardsearch
|
2022-08-06 19:52:27 +02:00 |
|
|
1e4efa6b97
|
Implement From<CardType> for String
|
2022-08-06 19:52:04 +02:00 |
|
|
b013b9f0f2
|
Add missing "Module defining"
|
2022-08-06 19:49:52 +02:00 |
|
|
0bd71f35d4
|
Perfect data module
|
2022-08-06 19:44:44 +02:00 |
|
|
824d2246de
|
Restructure again!
|
2022-08-06 05:07:10 +02:00 |
|
|
26c02d9c2e
|
Nevermind, bundle metadata is definitely out of scope (and useless for LoR)
|
2022-08-06 02:04:35 +02:00 |
|
|
df0524cea3
|
Move BundleMetadata to the schema::bundle module
|
2022-08-06 02:02:55 +02:00 |
|
|
30d605ab5a
|
Model bundle metadata
|
2022-08-06 01:55:59 +02:00 |
|
|
199888dc25
|
Remove some unused imports
|
2022-08-05 18:19:33 +02:00 |
|
|
5fc299d8f9
|
Simplify import in schema::setbundle::card::tests
|
2022-08-05 18:18:47 +02:00 |
|
|
eb43e6b2c8
|
Some more things
|
2022-08-05 03:03:46 +02:00 |
|
|
63a14ab2ef
|
Start work on Telegram card searching
|
2022-08-05 02:48:03 +02:00 |
|
|
3fbdfc68ec
|
Specify locale of CardArt::card_jpg()
|
2022-08-05 02:09:12 +02:00 |
|
|
9a57f59e70
|
Rename flavor_text to localized_flavor_text
|
2022-08-05 02:05:37 +02:00 |
|