4423 Commits

Author SHA1 Message Date
7e1a1ace13 ChatRoom.insertMessage(): check for message null 2026-01-05 20:39:37 +01:00
9be82c2219 ChatContainer.groupChatMessageCheck(): lazy init lastChatMessage; 2026-01-05 20:39:37 +01:00
5b095b04b5 SendFileTransfer.saveEventToHistory(): pass receiver JID 2026-01-05 20:39:37 +01:00
9305561037 SendFileTransfer.saveEventToHistory(): use message setters 2026-01-05 20:39:37 +01:00
0a64afb5e4 ReceiveFileTransfer.saveEventToHistory(): pass requestor JID instead of nickname 2026-01-05 20:39:37 +01:00
357c1cd30e ReceiveFileTransfer.saveEventToHistory(): use Message setters 2026-01-05 20:39:37 +01:00
885a018672 BroadcastDialog.sendBroadcasts(): rearrange lines 2026-01-05 20:39:37 +01:00
089bd3941a BroadcastDialog.sendBroadcasts(): simplify message.setType() 2026-01-05 20:39:37 +01:00
e7d167931e ChatRoomDecorator and SparkMeetPlugin: message.To is set in sendMessage() 2026-01-05 20:39:37 +01:00
b04b4d1581 GroupChatRoom.addToTranscript(): use copy constructor 2026-01-05 20:39:37 +01:00
fda11ae212 GroupChatRoom.sendMessage(): move message set out of try 2026-01-05 20:39:37 +01:00
4d76f039c7 ChatRoom: remove unused addToTranscript(String to, String from, String body, Date date) 2026-01-05 20:39:37 +01:00
a5468137fe SparkFileUploadPlugin: remove empty lines 2026-01-05 20:39:37 +01:00
a6987246cf SparkFileUploadPlugin.messageReceived() avoid NPE 2026-01-05 20:39:37 +01:00
27f2d20c18 SPARK-2355: UserStatusListener: remove empty methods, they are default in internface 2026-01-05 20:39:37 +01:00
cc425f8a86 SPARK-2374: TranslatorPlugin: don't clear body if translation failed 2026-01-05 20:39:37 +01:00
7a933d7db0 TranslatorPlugin: use MessageFilter instead of MessageEventListener
The MessageFilter intended to change text body of messages
2026-01-05 20:39:37 +01:00
46da3d6db5 TranslatorPlugin: extract transcriptWindow variable 2026-01-05 20:39:37 +01:00
421b8db512 GroupChatRoom: extract text variable 2026-01-05 20:39:37 +01:00
1c589086f3 Merge pull request #933 from igniterealtime/dependabot/github_actions/github-actions-97f38a5d32
Bump actions/cache from 4 to 5 in the github-actions group
2026-01-01 05:49:30 -06:00
a66771aac3 Bump actions/cache from 4 to 5 in the github-actions group
Bumps the github-actions group with 1 update: [actions/cache](https://github.com/actions/cache).


Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 07:17:47 +00:00
dbc1c49630 Merge pull request #932 from igniterealtime/dependabot/github_actions/github-actions-76468cb07f
Bump actions/checkout from 5 to 6 in the github-actions group
2025-12-01 05:43:13 -06:00
2d11a75b1b Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
5d0db27c25 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
40ab0be4cc Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
db77c554f2 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
64c2633619 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
6650ffacd1 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-12-01 10:43:40 +01:00
b9dae05e19 Bump actions/checkout from 5 to 6 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 08:15:19 +00:00
a3e1225288 emoticons: switch PNG extension to png 2025-11-30 21:03:05 +00:00
2aac6dfece GroupChatRoom: use constants for colors 2025-11-30 21:03:05 +00:00
6294835844 Fix NPE when FRAME_IMAGE not found
The FRAME_IMAGE is an app icon and it can be overridden via skin. It's ok that it's not found
2025-10-21 11:54:43 +02:00
20a5264c95 SPARK-2368 review feedback: fix casing of "Content-Type" 2025-10-21 11:39:14 +02:00
87b614f32c SPARK-2368: Proof-of-concept: display images
This is a very quick and dirty approach to rendering images.

This change bypasses imporant security checks.

Additional functionality is likely desired (such as: don't display images immediately, but show a button, which could prevent harm when abuse images are being received).
2025-10-21 11:39:14 +02:00
d2181c486d SPARK-2367: Improve performance of message reordering 2025-10-21 11:34:55 +02:00
eaa5e42819 SPARK-2371: Use a sensible timeout when waiting for a HTTP connection 2025-10-21 11:34:23 +02:00
27e1d35bce SPARK-2369: Prevent NPE in User-has-joined event 2025-10-21 11:29:13 +02:00
90defcc4bb SPARK-2370: Show chat room event messages
When a chat room is destroyed, the user in the room gets to see a message explaining what happened. Spark should not assume that the server will provide this message. Show a default message in case the server doesn’t sent one.
2025-10-21 11:25:38 +02:00
7705a3e72c SPARK-2372: Async chat leave
The ‘leave chat’ event can be executed asynchronously, so that the UI isn’t needlessly waiting for things.
2025-10-10 14:19:00 +02:00
8313e43eb4 SPARK-2360: Isolate bugs, log improvements
There is a slew of minor issues, such as operating on non-existing images, that throw unchecked exceptions and break the application badly.

To isolate these occurrences, exception handling can be put in place, with some logging being generated. That won’t solve the underlying issue, but it should limit the impact of these issues.
2025-10-10 12:34:32 +02:00
05b8e82499 Addressing review feedback 2025-10-10 12:34:04 +02:00
0734d54743 SPARK-2356: Guard against missing resources
When a resource is missing, Spark should log and return null, rather than throw an unchecked exception.
2025-10-10 12:34:04 +02:00
834a6fe8a7 SPARK-2357: Don't consider every file ending with jpeg to be an image
Fixes an obvious mistake with file name handling.
2025-10-10 11:24:08 +02:00
9c888f4fef Avoid NPE on getResourceAsStream() calls
When the resource i.g. properties file is not available the getResourceAsStream() returns null and this cuauses unhandled NPE.
2025-10-10 10:47:38 +02:00
5349f7b519 Use Boolean.parseBoolean() instead of str.equalsIgnoreCase("true")
The parseBoolean() is null safe so we can remove the null checks.
2025-10-10 10:47:38 +02:00
0d4987dc9b org.jivesoftware.resource.Default.getBoolean(): The replace(" ","") replaced with trim()
This was the intention. Also avoid NPE
2025-10-10 10:47:38 +02:00
629353c6e2 SPARK-2352: BookmarkPlugin.setBookmarks(): avoid NPE on null names 2025-10-09 18:00:25 +02:00
7a7ba03249 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-10-09 16:18:57 +02:00
a9490f339b Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-10-09 16:18:57 +02:00
af42976cd8 Translate spark_i18n.properties in zh_CN
100% translated source file: 'spark_i18n.properties'
on 'zh_CN'.
2025-10-09 16:18:57 +02:00