Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
791c247
feat(api): add stop and start API route
Akinator31 Oct 10, 2025
964a1f4
refactor(api): update base api port
Akinator31 Oct 12, 2025
3e34deb
refactor(start): start the bot if the config file is correct and add …
Akinator31 Oct 13, 2025
3b9773f
feat(panel): add base for docs page
Akinator31 Oct 14, 2025
e6b1875
fix(panel): fixed yew page router
Akinator31 Oct 14, 2025
ee51645
feat(auth): add discord auth for /panel route
Akinator31 Oct 15, 2025
48fec3f
feat(panel): session now stored in DB and panel can be accessed even …
Akinator31 Oct 15, 2025
d75e23e
feat(panel): add i18n system for traductions
Akinator31 Oct 16, 2025
45c19a8
fix(panel): add the LanguageSwitcher component only on pages that req…
Akinator31 Oct 16, 2025
f1e9155
feat(panel): add logout feature on panel
Akinator31 Oct 16, 2025
62d6782
fix(panel): welcome message on panel is now translated
Akinator31 Oct 16, 2025
effcc40
refactor(start): reload config when starting the bot with api
Akinator31 Oct 16, 2025
28073f0
refactor(panel): add traductions for docs panel page
Akinator31 Oct 16, 2025
362a203
refactor(panel): create component for logout button
Akinator31 Oct 16, 2025
ab295b8
feat(panel): add navbar and user's avatar to panel page
Akinator31 Oct 17, 2025
a9a5af2
refactor(panel): add missing sqlx files for new sessions_panel sql table
Akinator31 Oct 17, 2025
f172897
fix(panel): users who had a basic Discord profile picture were not se…
Akinator31 Oct 17, 2025
48a695f
fix(panel): fixed invalid match for building discord avatar url
Akinator31 Oct 17, 2025
5389cbd
fix(panel): remove user_id from cookie
Akinator31 Oct 17, 2025
348c60e
feat(api): add get status route to fetch bot's status
Akinator31 Oct 17, 2025
c9ed987
feat(panel): add configuration component for editing bot's config
Akinator31 Oct 17, 2025
260be75
feat(panel): add ticket component for showing closed tickets
Akinator31 Oct 17, 2025
872c62a
refactor(panel): adapt config and ticket component to home panel page
Akinator31 Oct 17, 2025
eb0e153
refactor(panel): protect bot's api routes with auth middleware
Akinator31 Oct 18, 2025
741dc1b
feat(panel): added a system that certifies the authenticity of reques…
Akinator31 Oct 18, 2025
17f96ed
refactor(db): add missing fields to threads table usefull for the rus…
Akinator31 Oct 18, 2025
8365799
refactor(db): add missing fields to scheduled_closures table usefull …
Akinator31 Oct 18, 2025
64aa1e2
feat(api): add tickets route to fetch bot's tickets
Akinator31 Oct 19, 2025
c535761
refactor(close): registered all missing threads data when closing a t…
Akinator31 Oct 19, 2025
9e25d62
feat(utils): add functions to retrieve data from closed threads
Akinator31 Oct 19, 2025
5f8b374
refactor(db): deleted useless db functions
Akinator31 Oct 19, 2025
03efa40
feat(panel): added complete tickets and configuration page
Akinator31 Oct 19, 2025
ad5d032
fix(panel): add missing sqlx file
Akinator31 Oct 19, 2025
75f8ffb
refactor(panel): added all missing panel's traductions
Akinator31 Oct 20, 2025
b3b94a5
feat(panel): add 'redirect_url' config option for discord auth
Akinator31 Oct 20, 2025
4d298f0
fix(recover): fixed a bug that prevented messages from being retrieve…
Akinator31 Oct 21, 2025
00ea20f
Merge pull request #198 from Rustmail/184-recover-messages
Akinator31 Oct 21, 2025
2f9decc
refactor(interation): add pagination arguments to textuals commands
Akinator31 Oct 21, 2025
6df2ed6
fix(poll): reformat code
Akinator31 Oct 21, 2025
2e9e8e2
feat(db): add functions to fetch all user's logs
Akinator31 Oct 21, 2025
10d96b0
refactor(button_builder): add paramater to set a button disable
Akinator31 Oct 21, 2025
dfd6bb3
feat(commands): add logs textual command
Akinator31 Oct 21, 2025
29bd7b6
refactor(code): reformat code
Akinator31 Oct 21, 2025
5ebb5d5
refactor(panel): add missing sqlx files
Akinator31 Oct 22, 2025
ed25d89
refactor(panel): add disable option to logs command's buttons
Akinator31 Oct 22, 2025
21ce91b
refactor(commands): add pagination to slash commands
Akinator31 Oct 22, 2025
19e4e0a
feat(dict): add trads for logs command
Akinator31 Oct 22, 2025
1c611e2
feat(commands): add logs slash command
Akinator31 Oct 22, 2025
f6d7745
refactor(code): reformat code
Akinator31 Oct 23, 2025
7611cd9
refactor(commands): add missing trads for logs slash command
Akinator31 Oct 23, 2025
b9edc4f
Merge pull request #200 from Rustmail/181-logs-command
Akinator31 Oct 23, 2025
2755c9c
refactor(config): add option to auto-detect server ip at startup
Akinator31 Oct 23, 2025
8954019
refactor(thread): add complete user_recap in user and staff ticket
Akinator31 Oct 23, 2025
edff115
fix(thread): make message_number optional to avoid sql conflicts
Akinator31 Oct 23, 2025
00e6690
refactor(thread): welcome message is now registered in db
Akinator31 Oct 23, 2025
117b2c9
refactor(commands): remove add_staff user context since it’s useless …
Akinator31 Oct 23, 2025
18caef2
feat(commands): enable new_thread context on both staff and community…
Akinator31 Oct 23, 2025
783cc9d
fix(add_reminder): reminder can now be set for the day after
Akinator31 Oct 23, 2025
451f37b
Merge pull request #201 from Rustmail/187-ensure-that-the-new_thread-…
Akinator31 Oct 23, 2025
eff84b4
fix(reminder): add error message when trying to set the same reminder…
Akinator31 Oct 23, 2025
8fc3864
refactor(db): add missing sqlx files
Akinator31 Oct 24, 2025
816b573
refactor(commands): rename 'add_reminder' command to 'remind' and 'rem'
Akinator31 Oct 24, 2025
5fe87e0
refactor(commands): rename 'add_staff' command to 'addmod' and 'am'
Akinator31 Oct 24, 2025
6a4ecea
refactor(commands): rename 'remove_reminder' command to 'unremind' an…
Akinator31 Oct 24, 2025
e174556
refactor(commands): rename 'remove_staff' command to 'delmod' and 'dm'
Akinator31 Oct 24, 2025
02fe58f
Merge pull request #203 from Rustmail/186-too-long-command-names
Akinator31 Oct 24, 2025
e3e7a08
refactor(move_command): use channel option instead of string for 'cat…
Akinator31 Oct 24, 2025
ce899bb
Merge pull request #204 from Rustmail/199-ensure-that-the-slash-comma…
Akinator31 Oct 24, 2025
76cf032
refactor(move_command): lower category name match tolerance
Akinator31 Oct 24, 2025
de6b3a5
Merge pull request #205 from Rustmail/196-move-command-lower-the-simi…
Akinator31 Oct 24, 2025
acbc3f0
refactor(alert): add warning message if an alert is already set for a…
Akinator31 Oct 24, 2025
8747cec
Merge pull request #206 from Rustmail/194-alert-command-notify-if-an-…
Akinator31 Oct 24, 2025
fd17cac
refactor(commands): add Arc<GuildMessageHandler> to all textual comma…
Akinator31 Oct 24, 2025
1842a2b
feat(commands): add doc's method to set commands documentation
Akinator31 Oct 26, 2025
dc1188a
refactor(trads): add all traductions for command's description
Akinator31 Oct 26, 2025
9d562b0
refactor(commands): implement doc's method in all commands
Akinator31 Oct 26, 2025
9f8e8ca
fix(trad): add missing '_' on help message
Akinator31 Oct 27, 2025
ef0b216
Merge pull request #207 from Rustmail/202-add-docs-function-to-genera…
Akinator31 Oct 27, 2025
a98e1e1
Merge pull request #208 from Rustmail/195-rework-command-help
Akinator31 Oct 27, 2025
14911bd
refactor(commands): add more help in remind command helper
Akinator31 Oct 27, 2025
4020946
Merge pull request #209 from Rustmail/191-reminder-command-add-more-h…
Akinator31 Oct 27, 2025
f071d23
refactor(messages): all bot's messages are now recorded in db
Akinator31 Oct 27, 2025
c11a3cf
Merge pull request #210 from Rustmail/197-verify-that-all-system-mess…
Akinator31 Oct 27, 2025
dd0b805
fix(panel): redirect user to desired url after login
Akinator31 Oct 27, 2025
996d83b
merge(main): merge main into panel
Akinator31 Oct 27, 2025
922cceb
feat(commands): add take command
Akinator31 Oct 27, 2025
7d07e30
Merge pull request #216 from Rustmail/211-take-command
Akinator31 Oct 27, 2025
6e4cf42
feat(panel): add markdown support for ticket page
Akinator31 Oct 27, 2025
4d25e70
Merge pull request #218 from Rustmail/217-markdown-support-on-panel
Akinator31 Oct 27, 2025
262b975
feat(commands): add partial release command
Akinator31 Oct 27, 2025
a8a9a39
feat(commands): add complete release command
Akinator31 Oct 28, 2025
05dda65
refactor(bot): reformat code
Akinator31 Oct 28, 2025
c8ca64e
Merge pull request #220 from Rustmail/219-release-command
Akinator31 Oct 28, 2025
a315045
refactor(commands): add 'command' argument to help command
Akinator31 Oct 28, 2025
08e9d32
Merge pull request #222 from Rustmail/221-rework-help-command
Akinator31 Oct 28, 2025
b02ee87
fix(modules): defered all modals interactions
Akinator31 Oct 28, 2025
699511d
refactor(imports): add prelude for easiest imports
Akinator31 Oct 28, 2025
b6accb0
fix(commands): incorect channel's name format
Akinator31 Oct 28, 2025
00a1d6e
refactor(commands): put take/release command logic into tokio task fo…
Akinator31 Oct 28, 2025
b70943a
refactor(imports): add complete prelude
Akinator31 Oct 29, 2025
0ac7ac0
Merge pull request #225 from Rustmail/223-refactor-imports
Akinator31 Oct 30, 2025
945c040
Merge branch 'main' into panel
Akinator31 Oct 30, 2025
ce9cf89
refactor(prisma): remove prisma from project source tree
Akinator31 Oct 30, 2025
0dce6e8
feat(status): add bases for ticket status updates
Akinator31 Oct 30, 2025
b3cb6af
refactor(threads): add timeout for thread's status updates
Akinator31 Oct 30, 2025
a598587
refactor(db): add missing sqlx files
Akinator31 Oct 30, 2025
5c9594b
refactor(db): only fetch thread_status entries with active threads
Akinator31 Oct 31, 2025
0136217
refactor(db): add missing sqlx files
Akinator31 Oct 31, 2025
14f5c8d
refactor(status): add tokio task for updating channel's names
Akinator31 Oct 31, 2025
5c34cbe
Merge pull request #226 from Rustmail/224-full-featured-channels-name
Akinator31 Oct 31, 2025
25d7fac
refactor(gitignore): add config.toml.backup file in gitignore
Akinator31 Nov 14, 2025
1a29f76
feat(types): add rustmail_types crate for shared types
Akinator31 Nov 14, 2025
7511e87
feat(api): add api route for update rustmail config file
Akinator31 Nov 14, 2025
b588ad2
refactor(config): rustmail config now use shared rustmail types
Akinator31 Nov 14, 2025
03edd8f
feat(config): add complete panel's configuration page
Akinator31 Nov 14, 2025
3538065
refactor(trads): add all traductions for panel's configuration page
Akinator31 Nov 14, 2025
cee78dc
refactor(tickets): add research bar and sort options for panel's tick…
Akinator31 Nov 14, 2025
f4ee185
refactor(db): add missing sqlx files
Akinator31 Nov 15, 2025
c86ec58
refactor(panel): add pagination for tickets tab
Akinator31 Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 17 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,21 @@ jobs:
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

- name: Set up Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- name: Install trunk and wasm target
run: |
rustup target add wasm32-unknown-unknown
cargo install trunk --locked

- name: Build frontend
working-directory: rustmail_panel
run: trunk build --release --dist ../rustmail/static --config Trunk.toml

- name: Build Rust backend
run: cargo build --verbose -p rustmail

- name: Run tests
run: cargo test --verbose -p rustmail
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/target
config.toml
/src/generated/prisma
config.toml.backup
node_modules
.env
db/db.sqlite
db/
.idea
.vscode/
package-lock.json
bin
bin
rustmail/static
rustmail_panel/dist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading