Commit graph

978 commits

Author SHA1 Message Date
Evan Husted
e34227cb6b Optimize build script 2025-01-03 01:07:19 -06:00
Evan Husted
468b064d2f Restrict usage to config-defined guilds 2025-01-03 00:32:39 -06:00
Evan Husted
690a68fdf1 Remove intents, remove caching, remove more volte stuff. 2025-01-03 00:22:51 -06:00
Evan Husted
116ae73688 Remove more Volte specific stuff and remove libraries 2025-01-03 00:16:31 -06:00
Evan Husted
14694f9d71 compat command 2025-01-03 00:08:18 -06:00
Evan Husted
cbb6c1bd17 CSV downloading & DAO 2025-01-02 22:35:24 -06:00
Evan Husted
c84ec93c4e Removing more Volte functions 2025-01-02 22:07:36 -06:00
Evan Husted
69619dac42 rebrand 2025-01-02 21:30:04 -06:00
Evan Husted
51e8359ef0 remove volte functionality 2025-01-02 21:28:11 -06:00
Evan Husted
bced1eafa0 rename classes 2025-01-02 21:16:55 -06:00
Evan Husted
6905f9a75d rename 2025-01-02 21:10:39 -06:00
Evan Husted
b03e5e662b
fix readme license badge 2024-11-04 16:42:09 -06:00
Evan Husted
a735186c3c Many miscellaneous improvements, changes, and fixes.
- Notifications can now be sent from Volte core
- Abstracted XToBrush logic and added LogSourceToBrush
- Log messages now have the Severity & Source as the same color as they are in the console log (thanks @ArchLeaders for helping me figure out ColumnDefinition)
- Made many lambdas static
- Volte.UI now supports a --no-gui option on startup; which basically just runs volte normally.
- Small cleaups & improvements
- CommandEventArgs now contain all the log strings for their relevant data instead of MessageService
-
2024-09-01 01:01:11 -05:00
Evan Husted
69fc0e3743 Use negated pattern matching in more places 2024-08-23 18:54:21 -05:00
Evan Husted
3d6ddcfde3 Various fixes, improvements, and additions
- FontAwesome static helper
- Remove un-needed data binding in Avalonia
- VolteBot is static-based now
- Remove Discord logging-specific handlers & objects, and instead route all dnet LogMessages through our own logger system as a VolteLogEventArgs.
- Removed some explicit instantiation targets
- Shell for notification events
- Config now uses a polymorphic base type to allow for ConfigFactory usage with Volte's config.
2024-08-23 18:51:57 -05:00
Evan Husted
aaf95e92d9 App -> VolteApp
Notifications
Ignore Sentry debug messages in log view
Do a few things via code instead of axaml
2024-08-20 16:19:35 -05:00
Evan Husted
432de8ca2e AppStatus functionality from TKMM. Thanks once again ArchLeaders
Minor differences:
 - status setters use a timespan rather than a double in seconds for a temporary status
 - it is callable from inside the bot project via an event
2024-08-19 14:35:16 -05:00
Evan Husted
45a8b93507 Move Shell view files & make new namespaces
Minor tweaks & fixes
Exceptions are shown in the log view
Page attributes no longer have an index, instead the page type enum's underlying numerical representation is treated as the ordering index.
2024-08-15 09:49:30 -05:00
Evan Husted
ec75812029 Log messages are now monospaced,
Sentry logger translator now uses the event system so it no longer has its own separate impl
Pages auto-register based on an attached UiPage attribute.
Connection status at bottom of UI
2024-08-14 00:43:21 -05:00
Evan Husted
c5bf745922 check if retval is null, not script state, & revert back to current version of csharpscripting (was testing) 2024-08-12 05:24:52 -05:00
Evan Husted
3e4b071ce9 Logs UI page. Updated Avalona & FA 2024-08-12 05:18:19 -05:00
Evan Husted
13cd4d264e Avalonia UI shell. Based on TKMM.
ImGui was very fun to use but ultimately, it's very intensive for what it is. It showed 3 panes and sat at 20% CPU usage on my 13700F. I'm not sure if my code was just bad or if this is how ImGui is.
2024-08-03 21:04:10 -05:00
Evan Husted
e4e66f3ec3 Final iteration of ImGui related code.
More to come ;)
2024-08-01 22:33:36 -05:00
Evan Husted
0bc1321106 Remove custom fonts directory, remove UiFont.ttf from the data folder. Fonts are no longer loaded from disk and instead are loaded into memory, directly from the assembly. Added a helper method to load fonts from a stream.
Updated dependencies.
2024-07-30 06:18:28 -05:00
Evan Husted
6f21f8804d Volte.UI nupkg script & add release notes for update to 1.0.1 on nuget 2024-07-30 01:55:07 -05:00
Evan Husted
7e3b65266d Themes are no longer passed by ref, and instead are passed by pointer.
Layers are now added AFTER UiManager is initialized and the instance is set.
TryCreateUi no longer automatically starts the UI thread, for you to add layers & do any custom ImGui setup before starting the thread.
2024-07-30 01:43:26 -05:00
Evan Husted
adc3dc0513 UI "library" is its own csproject & on NuGet
Moved the bot into src/Bot
2024-07-27 15:53:55 -05:00
Evan Husted
2e0e90a4cd IGNORE THE FILES PLEASE 2024-07-27 15:47:48 -05:00
Evan Husted
84b08314f6 Remove uptime & feedback command.
Uptime can be found in the info command, which also now has uptime as an alias.
Spotify slash command
2024-07-23 09:41:26 -05:00
Evan Husted
03e3ba7c2e Change to a thinner font, and other UI changes 2024-07-22 04:01:32 -05:00
Evan Husted
237985c9d4 Entire UI window is a dockspace now instead of a solid color, but it still has the color on the borders. I like it. 2024-07-21 06:38:28 -05:00
Evan Husted
cd6d3b8f0a Iam/Iamnot slash commands 2024-07-21 05:18:39 -05:00
Evan Husted
febf71ba1e Add EvalEnvironment reference to Eval command description 2024-07-21 04:50:30 -05:00
Evan Husted
74ef8bfe85 Style Editor & Swappable Dark/Light Spectrum theme 2024-07-21 03:02:48 -05:00
Evan Husted
60e36355d5 Emoji constants class instead of a couple props in DiscordHelper 2024-07-21 03:02:27 -05:00
Evan Husted
47aa5426b1 Services self-register event handlers in constructor 2024-07-21 03:00:47 -05:00
Evan Husted
f9417c3b36 Bot Owner, Admin & Mod interaction preconditions 2024-07-20 23:28:07 -05:00
Evan Husted
7d6f0ada18 Results additions 2024-07-20 23:16:10 -05:00
Evan Husted
84f5065f17 Everything else 2024-07-20 22:51:15 -05:00
Evan Husted
b51ef01e80 Interactions work 2024-07-20 22:51:07 -05:00
Evan Husted
d6ce5eb08a Adobe Spectrum ImGui styling
UI font added, JetBrains Mono. Changeable after load by changing the `UiFont.ttf` file in Volte's data directory after first running.
2024-07-20 22:49:42 -05:00
Evan Husted
d211f670ce UI now has an icon, provided via embedded resources.
ImGui layer code changes
It has finally happened: AllowUnsafeBlocks is now true!
2024-07-15 10:09:37 -05:00
Evan Husted
47cd4fb313 Reduce code duplication, panels are now added to a named dictionary in the Layer constructor and rendered from that instead of each one being manually written in 2024-07-14 01:50:00 -05:00
Evan Husted
c773ca22eb Clarifying comment & logic cleanup 2024-07-14 00:08:42 -05:00
Evan Husted
c38556149d Command Stats pane
"Destructive Actions" menu in guild management, it's basically just things you wouldn't want to hit on accident, like leaving the server. it will also have things like resetting the config for a guild. as such you need to hold Left Shift & Left Control to enable clicking the menu.
2024-07-14 00:02:40 -05:00
Evan Husted
6b734ac533 UI now has a guild viewer pane, will be extensively added to as time goes on
Owner-only command to spawn the UI thread, "CreateUI" aka "Cui"
Minor refactoring
2024-07-13 22:35:52 -05:00
Evan Husted
aa78973276 I pushed the crashy version 2024-07-13 17:54:17 -05:00
Evan Husted
1ee29f9df8 Attempt #1 at ImGui panel docking 2024-07-13 17:53:56 -05:00
Evan Husted
690dcbd38e enabled: false on the menu item that reflects what's already the status 2024-07-13 06:58:20 -05:00
Evan Husted
17df10f487 Move the abstract layer into its own file along with abstract state.
Added more UI stuff, namely a bot status selector. Also added a basic async task queue mechanism for more API calls that we will need to do from the UI.
2024-07-13 06:51:19 -05:00