4352 Commits

Author SHA1 Message Date
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
be71fcf376 SPARK-2122: spark.doap: add implemented XEPs 2025-10-08 12:38:09 +02:00
40604c1d64 Merge pull request #890 from akrherz/install4j_11
SPARK-2348 Install4J 11.0.4 Updates
2025-09-26 16:07:55 -05:00
7925f667b5 Translate spark_i18n.properties in ru_RU
100% translated source file: 'spark_i18n.properties'
on 'ru_RU'.
2025-09-21 11:32:51 +02:00
73715fa0fb SPARK-2351 LanguagePlugin: Always show Language in menu item for non en locales to help those who accidentally changed language 2025-09-21 11:32:05 +02:00
68ce7b08ae LanguagePlugin: Use locale.getDisplayName() 2025-09-21 11:32:05 +02:00
4499d1eaf2 LanguagePlugin: inline fields to avoid long living garbage 2025-09-21 11:32:05 +02:00
8856e6dd3b SPARK-2350: MainWindow: avoid NPE when running from IDE and attempt to restart 2025-09-21 11:30:41 +02:00
fae3cf7e4b i18n: remove preamble from files 2025-09-20 14:23:59 +02:00