Skip to content

Commit aefac23

Browse files
authored
Merge pull request #9 from khakers/feature/upstream-4.2-merge
Feature/upstream 4.2 merge
2 parents 85b140e + c30c9e9 commit aefac23

21 files changed

Lines changed: 5633 additions & 627 deletions

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ LOG_URL=https://logviewername.herokuapp.com/
33
GUILD_ID=1234567890
44
OWNERS=Owner1ID,Owner2ID,Owner3ID
55
CONNECTION_URI=mongodb+srv://mongodburi
6+
DISABLE_AUTOUPDATES=true

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
ko_fi: raidensakura

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,40 @@ however, insignificant breaking changes do not guarantee a major version bump, s
2020
- Added `content_type` to attachments stored in the database.
2121
- `?log key <key>` to retrieve the log link and view a preview using a log key. ([PR #3196](https://github.com/modmail-dev/Modmail/pull/3196))
2222
- Add Forced plugins. Allows auto installing un-removable plugins via `FORCED_PLUGINS` environment variable contain a comma separate list of plugins. (GH#5)
23+
Commands:
24+
* `snooze`: Initiates a snooze action.
25+
* `snoozed`: Displays snoozed items.
26+
* `unsnooze`: Reverses the snooze action.
27+
* `clearsnoozed`: Clears all snoozed items.
28+
29+
Configuration Options:
30+
* `max_snooze_time`: Sets the maximum duration for snooze.
31+
* `snooze_title`: Customizes the title for snooze notifications.
32+
* `snooze_text`: Customizes the text for snooze notifications.
33+
* `unsnooze_text`: Customizes the text for unsnooze notifications.
34+
* `unsnooze_notify_channel`: Specifies the channel for unsnooze notifications.
35+
* `thread_min_characters`: Minimum number of characters required.
36+
* `thread_min_characters_title`: Title shown when the message is too short.
37+
* `thread_min_characters_response`: Response shown to the user if their message is too short.
38+
* `thread_min_characters_footer`: Footer displaying the minimum required characters.
39+
40+
* `unsnooze_history_limit`: Limits the number of messages replayed when unsnoozing (genesis message and notes are always shown).
41+
* `snooze_behavior`: Choose between `delete` (legacy) or `move` behavior for snoozing.
42+
* `snoozed_category_id`: Target category for `move` snoozing; required when `snooze_behavior` is `move`.
43+
* Thread-creation menu: Adds an interactive select step before a thread channel is created.
44+
* Commands:
45+
* `threadmenu toggle`: Enable/disable the menu.
46+
* `threadmenu show`: List current top-level options.
47+
* `threadmenu option add`: Interactive wizard to create an option.
48+
* `threadmenu option edit/remove/show`: Manage or inspect an existing option.
49+
* `threadmenu submenu create/delete/list/show`: Manage submenus.
50+
* `threadmenu submenu option add/edit/remove`: Manage options inside a submenu.
51+
* Configuration / Behavior:
52+
* Per-option `category` targeting when creating a thread; falls back to `main_category_id` if invalid/missing.
53+
* Optional selection logging (`thread_creation_menu_selection_log`) posts the chosen option in the new thread.
54+
* Anonymous prompt support (`thread_creation_menu_anonymous_menu`).
55+
56+
2357

2458
### Changed
2559
- Changing a threads title or NSFW status immediately updates the status in the database.
@@ -41,6 +75,15 @@ however, insignificant breaking changes do not guarantee a major version bump, s
4175
- `is_image` now is true only if the image is actually an image.
4276
- Fix contact command reporting user was blocked when they weren't.
4377
- Cleanup imports after removing/unloading a plugin. ([PR #3226](https://github.com/modmail-dev/Modmail/pull/3226))
78+
- Make Modmail keep working when typing is disabled due to an outage caused by Discord.
79+
- Resolved an issue where forwarded messages appeared as empty embeds.
80+
- Fixed internal message handling and restoration processes.
81+
- Eliminated duplicate logs and notes.
82+
- Addressed inconsistent use of `logkey` after ticket restoration.
83+
- Fixed issues with identifying the user who sent internal messages.
84+
- Solved an ancient bug where closing with words like `evening` wouldn't work.
85+
- Fixed the command from being included in the reply in rare conditions.
86+
4487

4588
### Internal
4689
- Add `update_title` and `update_nsfw` methods to `ApiClient` to update thread title and nsfw status in the database.

0 commit comments

Comments
 (0)