Commit graph

209 commits

Author SHA1 Message Date
dawn
c18e72450b
use Arc throught the parser 2026-01-19 17:57:50 +03:00
dawn
f9367ea041
fix infinite loop backtracking for valid branches, cleanup matched tokens type 2026-01-19 17:49:06 +03:00
dawn
9122e64a41
fix command suggestions breaking if specifying a parameter 2026-01-19 00:35:01 +03:00
dawn
dc9b7b3e6b
use original command when ranking for possible commands if the command was from an optional branch 2026-01-18 23:34:58 +03:00
dawn
f72145b3db
add members command to root 2026-01-18 23:09:27 +03:00
dawn
5daa4777f5
fix pk;e taking in id, only take message ref 2026-01-18 22:09:58 +03:00
dawn
aec01d6245
add g alias for member_groups 2026-01-18 21:24:31 +03:00
dawn
c5ce6fb6c0
fix issue with optional branches having wrong flag insert positions 2026-01-17 15:40:07 +03:00
dawn
e2b354aae1
add missing help text and redo the existing ones based on CommandHelp.cs 2026-01-17 11:29:42 +03:00
dawn
bdf6a6c345
organize config command definitions 2026-01-17 10:35:23 +03:00
dawn
d1451a858d
cleanup unneeded .into_iters() and stuff 2026-01-17 10:25:22 +03:00
dawn
553b566595
improve parameter enum macros 2026-01-17 09:42:48 +03:00
dawn
5a6d03ca1a
remove system_members_self since we use optional param in system_members 2026-01-17 07:49:21 +03:00
dusk
32d481c6b9
make use of the new optional parsing and remove the _self commands 2025-11-27 02:00:13 +00:00
dusk
00d3840fd1
fix parsing of optional parameters 2025-11-27 01:28:10 +00:00
dusk
2020939ac0
aliases for displayname flags 2025-11-27 00:43:15 +00:00
dusk
3c59ad62bd
partial broken fix for optional parameters (mostly message and reproxy commands) 2025-11-27 00:40:53 +00:00
dusk
81e0cebb8e
add l alias for list, ls in pk;group list 2025-11-26 17:06:15 +00:00
dusk
271ea9c27b
remove aliases from group member delete so it doesnt conflict with group delete 2025-11-23 20:23:31 +00:00
dusk
c68a77bb32
add clear-embed and clear-attachment aliases for respective flags to edit cmd 2025-11-23 20:07:14 +00:00
dusk
3612cc2277
fix member proxy tags set 2025-11-23 19:56:47 +00:00
dusk
b9fb453c73
fix user ref regex, system ref parsing and add s <id> 2025-11-23 19:27:18 +00:00
dusk
74e7af0ee1
remove new MatchFlag usage, fix glue gen 2025-11-23 17:09:22 +00:00
dusk
a29ed2bda0
Merge remote-tracking branch 'upstream/main' into rust-command-parser 2025-11-23 16:46:43 +00:00
dusk
6aed93ba21
fix edit message no-space flag 2025-11-23 16:06:26 +00:00
dusk
e9933c36ce
make fronthistory and frontpercent work in system commands 2025-11-23 15:05:12 +00:00
dusk
960f735db9
system refs now first parse for a user ref 2025-11-23 14:51:53 +00:00
dusk
b3fdaec68c
fix group, member list related commands to work like on prod 2025-11-23 14:46:18 +00:00
dusk
6bc39d23fb
detect invalid flags before misplaced flags 2025-11-23 14:11:21 +00:00
dusk
d4c80aed00
make random commands consistent by adding missing ones 2025-11-23 11:56:14 +00:00
dusk
5c2c2dceff
s <id> g now also works 2025-11-23 11:07:41 +00:00
dusk
40febd4288
fix cfg proxy switch not being parsed correctly 2025-11-23 10:48:07 +00:00
dusk
d8748b1efc
remove OpaqueStringRemainder and use Remainder like intended 2025-11-23 10:28:46 +00:00
alyssa
83dd880374 chore: move app-commands script to rust 2025-11-09 09:09:50 +00:00
alyssa
c0a5bc81a0 feat(api): improve logging 2025-11-09 09:09:47 +00:00
dusk
67865263c1
fix: 'pk;s f' should query fronter, not list members 2025-11-06 18:34:17 +00:00
dusk
f29e48ea74
fix quotes value being cut off 2025-10-15 20:39:50 +00:00
dusk
376f688ff4
improve error messages for the enum parameters 2025-10-15 20:18:53 +00:00
dusk
2fe747d704
fix some parameters that should parse remainder but werent 2025-10-15 19:10:44 +00:00
dusk
a307dd37c4
fix message edit commands, parse DM message links for ids 2025-10-13 10:25:55 +00:00
dusk
134855f8f8
fix reproxy command not accepting member ref 2025-10-13 08:16:53 +00:00
dusk
ca9f25ff64
use correct name for resolving flags and params in codegen 2025-10-11 05:49:01 +00:00
dusk
42c9429953
hide admin commands from suggestions etc. 2025-10-11 05:17:13 +00:00
dusk
7dd2a4e7e1
add system list alias to top level 2025-10-11 05:09:53 +00:00
dusk
da8ff942c9
fix switch commands ordering so they work properly (sw, sw edit out) 2025-10-11 04:19:25 +00:00
dusk
bbed401314
fix panic when operating inside graphemes while trying to find quotes 2025-10-11 03:54:43 +00:00
alyssa
a9355654df fix docker build 2025-10-08 21:50:58 +00:00
dusk
77444bff2e
add flags for public / private 2025-10-08 17:57:56 +00:00
dusk
dbab8c0eb5
update uniffi to latest 2025-10-08 14:22:10 +00:00
dusk
643f14847a
cargo fmt 2025-10-08 13:35:05 +00:00