Upgrade hive database version to 14

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-04 19:35:16 +07:00
committed by Dat H. Pham
parent 7523ddf07b
commit 51c95bbc69
14 changed files with 152 additions and 63 deletions
@@ -346,9 +346,9 @@ void main() {
const eventDescription = '\nhttps://example1.com\nhttps://example2.com';
const expectedEventDescription = '<html><head></head><body>'
'<br>'
'<a href="https://example1.com" target="_blank" rel="noreferrer">example1.com</a>'
'<a href="https://example1.com" target="_blank" rel="noreferrer" style="white-space: nowrap; word-break: keep-all;">example1.com</a>'
'<br>'
'<a href="https://example2.com" target="_blank" rel="noreferrer">example2.com</a>'
'<a href="https://example2.com" target="_blank" rel="noreferrer" style="white-space: nowrap; word-break: keep-all;">example2.com</a>'
'</body></html>';
final blobId = Id('abc123');
final calendarEvent = CalendarEvent(
@@ -402,9 +402,9 @@ void main() {
'\n<a href="javascript:alert(1)">href xss</a>';
const expectedEventDescription = '<html><head></head><body>'
'<br>'
'<a href="https://example1.com" target="_blank" rel="noreferrer">example1.com</a>'
'<a href="https://example1.com" target="_blank" rel="noreferrer" style="white-space: nowrap; word-break: keep-all;">example1.com</a>'
'<br>'
'<a href="https://example2.com" target="_blank" rel="noreferrer">example2.com</a>'
'<a href="https://example2.com" target="_blank" rel="noreferrer" style="white-space: nowrap; word-break: keep-all;">example2.com</a>'
'<br>'
'<br>'
'<a>href xss</a>'