1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00
Commit graph

305 commits

Author SHA1 Message Date
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
12d5517c46
Use new png icon in README 2022-08-07 17:33:21 +02:00
e59c085bec
Delete "wrong" jpg icon 2022-08-07 17:33:10 +02:00
b7403c6e0e
Use reference in String::from::<&CardType> call 2022-08-07 17:32:50 +02:00
dfedc23bab
Fully create the cargo project layout 2022-08-07 17:30:56 +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
0795ee3add
Use implicit targets in Cargo.toml 2022-08-07 17:22:56 +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
05a8a5c4a3
Make the icon a png
perhaps it should be remade losslessly
2022-08-06 18:47:28 +02:00
f59b302401
Make the icon round 2022-08-06 18:42:30 +02:00
1bff970647
Add icon 2022-08-06 18:40:55 +02:00
ccae4bf046
Bump version to 0.3.0 2022-08-06 05:07:33 +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
261e00a7dc
Add the exec feature 2022-08-05 18:14:02 +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
d5b2fa40ab
Create tantivy search objects 2022-08-04 22:06:50 +02:00
af6d7d8939
Add more globals loading features 2022-08-04 22:06:26 +02:00
d3568ca9b9
Readd itertools to dependencies 2022-08-04 22:06:05 +02:00
31f5e0ed55
Since this is now a library, commit cargo.lock 2022-08-04 21:41:01 +02:00