4b69c8a990
Merge pull request #1 from teppyboy/dependabot/cargo/shlex-1.3.0
...
chore(deps): bump shlex from 1.2.0 to 1.3.0
2024-01-24 00:53:44 +07:00
a317d4f28b
chore: add regexify-text debug command
2024-01-24 00:51:26 +07:00
9609e1b217
fix(katana): proper check for ascii alphanumeric
2024-01-24 00:34:44 +07:00
43a869660f
fix(tesseract): catches panic in init thread
2024-01-23 23:40:46 +07:00
dependabot[bot]
547a6457f8
chore(deps): bump shlex from 1.2.0 to 1.3.0
...
Bumps [shlex](https://github.com/comex/rust-shlex ) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/comex/rust-shlex/commits )
---
updated-dependencies:
- dependency-name: shlex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 21:54:53 +00:00
093503cd97
fix: fix a bug in previous commit
...
Fk Rust
2024-01-21 22:41:14 +07:00
8ed238455d
fix(katana): a -> [ao] in regex
...
I plan to move to ScyllaDB once Mongo gets too slow
2024-01-21 22:38:22 +07:00
1933a1fda2
fix(katana): remove last X and x in regex query
2024-01-19 21:16:05 +07:00
d7b9540004
fix(katana): wrong method 💀
2024-01-17 02:26:04 +07:00
744b1a9065
fix(katana): do not add word boundary if we detect a special character
2024-01-17 02:15:23 +07:00
d5ab4169f0
fix(katana): regex
2024-01-14 19:37:30 +07:00
389efeac0d
fix(katana): implement regex for short strings
...
Pls work
2024-01-14 18:27:48 +07:00
a3b247bcb9
fix(katana): handle calf error "?" wishlist
2024-01-14 17:06:45 +07:00
4f8a29230f
fix(katana): add [a-z0-9] to regex
...
Because we defined word boundary
2024-01-13 02:52:10 +07:00
0ab5c23a3b
fix(katana): for real
2024-01-12 19:03:13 +07:00
d13e26c076
fix(katana): ah shit regex
2024-01-12 18:48:47 +07:00
0f97ec8810
ci: install rust nightly
2024-01-12 18:30:27 +07:00
b1ebd75c88
chore: install tesseract first
2024-01-12 18:27:17 +07:00
36f3cb76c3
chore: create rust.yml
2024-01-12 18:21:54 +07:00
8c581348c1
chore: add git hash to info command
2024-01-12 18:15:30 +07:00
50c4b69eb5
fix(katana): add more workaround & partial match
2024-01-12 18:14:50 +07:00
6c3c60b141
fix(katana): aaa
2024-01-11 22:19:08 +07:00
cce8dedccf
fix(katana): a chain of Ok Err
2024-01-11 22:18:39 +07:00
17dd04645a
chore: use autosharded
2024-01-11 22:15:37 +07:00
4341695c74
fix(katana): index out of range
...
Also handle some error instead of unwrapping it
2024-01-11 22:09:18 +07:00
cde01d45d7
fix(katana): add more workaround to regex
...
💀
2024-01-10 23:05:32 +07:00
d46e0f8e6f
fix(katana): add more workarounds
2024-01-10 22:59:34 +07:00
8c1e39708f
fix(katana): only regex if the word length is > 2
2024-01-10 15:32:30 +07:00
f13d50e0f6
chore: remove log level restriction in debug commands
2024-01-10 12:44:58 +07:00
952467d4b1
chore(katana): move regex building to swordfish
...
Welp, I can add my dirty workaround now
2024-01-10 12:31:29 +07:00
5accadf277
fix(katana): algo
2024-01-10 06:30:37 +07:00
ba0bdfee37
fix(katana): for real
...
Basically a partial revert of 6f35d05a3e
and also using char instead
2024-01-10 06:20:32 +07:00
5d614df9f9
fix(katana): fix broken text algorithm
2024-01-10 06:16:10 +07:00
2b6dc03040
feat(katana): implement character parsing from Calf's analysis
...
Also fix bug in kc o:w parsing
2024-01-10 02:09:34 +07:00
6f35d05a3e
fix(katana): improve the image analyzing process
...
Zamn, decreasing contrast and also copying Nori code.
2024-01-10 01:24:22 +07:00
1b943f5698
fix(katana): add () to allowed chars
2024-01-08 23:45:46 +07:00
c347abd07d
chore: restructure the structs and its functions a bit
2024-01-08 20:56:02 +07:00
b757dfc13a
chore: add FUNDING.yml
...
Hehe
2024-01-08 20:14:25 +07:00
301feb415b
chore: redo the ping command
2024-01-08 20:04:29 +07:00
53212d8b11
chore: remove obsolete command detection
...
That was used to test serenity
2024-01-08 19:43:26 +07:00
56e51c8d2f
fix(katana): detect 4 cards dropping
...
I forgor
2024-01-08 19:42:32 +07:00
0f9331ba60
feat: introduce querying card with partial match using regex
2024-01-08 12:44:04 +07:00
872e551157
fix(katana): Il -> II at the end of the string
2024-01-08 00:00:56 +07:00
b7519ac75a
feat: multithreading
...
Multithreading in tokio::main and also a new queue system for LepTess (libtesseract)
2024-01-07 23:52:49 +07:00
077c3bfd2a
fix(tesseract): wrong variable
2024-01-07 22:41:09 +07:00
53e576ab56
fix(katana): update the libtesseract code
2024-01-07 22:38:51 +07:00
fa9ecaf59c
feat(tesseract): set DPI to 70
...
I copied Nori code.
2024-01-07 22:34:47 +07:00
6d735e76cc
fix(katana): replace all, not just once
2024-01-07 20:59:49 +07:00
ab6f42d5e6
feat(user): add dotenvy
...
.env easier for my life
2024-01-07 20:14:27 +07:00
95288e7c1e
fix(katana): parse wishlist from lookup
...
So if there's no koibito then the Wishlisted section will move up...
Also fixes parsing when wl > 1000 because it'll have a "," to make it easier for human to read.
2024-01-07 20:10:31 +07:00