-
-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into fix/conversion-wa…
…rnings
- Loading branch information
Showing
8 changed files
with
554 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule settings
updated
10 files
+8 −0 | CHANGELOG.md | |
+3 −1 | CMakeLists.txt | |
+43 −0 | include/pajlada/settings/backup.hpp | |
+10 −0 | include/pajlada/settings/detail/rename.hpp | |
+2 −4 | include/pajlada/settings/settingmanager.hpp | |
+68 −0 | src/settings/backup.cpp | |
+28 −0 | src/settings/detail/rename.cpp | |
+11 −86 | src/settings/settingmanager.cpp | |
+1 −0 | tests/CMakeLists.txt | |
+246 −0 | tests/src/backup.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
{ | ||
"input": "@room-id=11148817;rm-received-ts=1729627607652;tmi-sent-ts=1729627607545;historical=1 :tmi.twitch.tv CLEARCHAT #pajlada", | ||
"output": [ | ||
{ | ||
"badgeInfos": { | ||
}, | ||
"badges": [ | ||
], | ||
"channelName": "", | ||
"count": 1, | ||
"displayName": "", | ||
"elements": [ | ||
{ | ||
"element": { | ||
"color": "System", | ||
"flags": "Timestamp", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"20:06" | ||
] | ||
}, | ||
"flags": "Timestamp", | ||
"format": "", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"time": "20:06:47", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TimestampElement" | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"Chat" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"has" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"been" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"cleared" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"by" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"a" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"moderator." | ||
] | ||
} | ||
], | ||
"flags": "System|DoNotTriggerNotification", | ||
"id": "", | ||
"localizedName": "", | ||
"loginName": "", | ||
"messageText": "Chat has been cleared by a moderator.", | ||
"searchText": "Chat has been cleared by a moderator.", | ||
"serverReceivedTime": "", | ||
"timeoutUser": "", | ||
"usernameColor": "#ff000000" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
{ | ||
"input": "@historical=1;rm-received-ts=1729627965650;msg-id=emote_only_on :tmi.twitch.tv NOTICE #pajlada :This room is now in emote-only mode.", | ||
"output": [ | ||
{ | ||
"badgeInfos": { | ||
}, | ||
"badges": [ | ||
], | ||
"channelName": "", | ||
"count": 1, | ||
"displayName": "", | ||
"elements": [ | ||
{ | ||
"element": { | ||
"color": "System", | ||
"flags": "Timestamp", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"20:12" | ||
] | ||
}, | ||
"flags": "Timestamp", | ||
"format": "", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"time": "20:12:45", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TimestampElement" | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"This" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"room" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"is" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"now" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"in" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"emote-only" | ||
] | ||
}, | ||
{ | ||
"color": "System", | ||
"flags": "Text", | ||
"link": { | ||
"type": "None", | ||
"value": "" | ||
}, | ||
"style": "ChatMedium", | ||
"tooltip": "", | ||
"trailingSpace": true, | ||
"type": "TextElement", | ||
"words": [ | ||
"mode." | ||
] | ||
} | ||
], | ||
"flags": "System|DoNotTriggerNotification", | ||
"id": "", | ||
"localizedName": "", | ||
"loginName": "", | ||
"messageText": "This room is now in emote-only mode.", | ||
"searchText": "This room is now in emote-only mode.", | ||
"serverReceivedTime": "", | ||
"timeoutUser": "", | ||
"usernameColor": "#ff000000" | ||
} | ||
] | ||
} |
Oops, something went wrong.