Commit Graph

4410 Commits

Author SHA1 Message Date
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
a51282fd21 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
76859908f1 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
bac85fc61d 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
c20f075c5d 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
804297cf71 Translate fastpath_i18n.properties in zh_CN
100% translated source file: 'fastpath_i18n.properties'
on 'zh_CN'.
2025-10-09 16:18:03 +02:00
445389d988 LocalPreferences: getDeactivatedPlugins() simplify 2025-10-09 16:15:55 +02:00
f1850b38ac LocalPreferences: remove exception handling: it will never occur 2025-10-09 16:15:55 +02:00
1c312634b9 SPARK-2353: LocalPreferences: By default disable user join or leave notification 2025-10-09 16:15:55 +02:00
443f6441fb SPARK-2349: fix NPE when adding yourself to contact list
In this case you'll get the presence from PresenceManager constants that doesn't have the from field.
This make a two NPEs.
2025-10-09 16:13:46 +02:00
dc0f625f25 SPARK-2355: Use getExtension(Class) and hasExtension(Class) 2025-10-09 16:12:34 +02:00
efda43bf5d SPARK-2355: Use hasExtension() 2025-10-09 16:12:34 +02:00
91a421009a SPARK-2355: Add QNAME field to classes that implements ExtensionElement 2025-10-09 16:12:34 +02:00
1e7860fe70 fileupload plugin: simplify description 2025-10-09 15:50:08 +02:00