4342 Commits

Author SHA1 Message Date
Sergey Ponomarev
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
Guus der Kinderen
20a5264c95 SPARK-2368 review feedback: fix casing of "Content-Type" 2025-10-21 11:39:14 +02:00
Guus der Kinderen
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
Guus der Kinderen
d2181c486d SPARK-2367: Improve performance of message reordering 2025-10-21 11:34:55 +02:00
Guus der Kinderen
eaa5e42819 SPARK-2371: Use a sensible timeout when waiting for a HTTP connection 2025-10-21 11:34:23 +02:00
Guus der Kinderen
27e1d35bce SPARK-2369: Prevent NPE in User-has-joined event 2025-10-21 11:29:13 +02:00
Guus der Kinderen
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
Guus der Kinderen
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
Guus der Kinderen
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
Guus der Kinderen
05b8e82499 Addressing review feedback 2025-10-10 12:34:04 +02:00
Guus der Kinderen
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
Guus der Kinderen
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
Sergey Ponomarev
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
Sergey Ponomarev
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
Sergey Ponomarev
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
Sergey Ponomarev
629353c6e2 SPARK-2352: BookmarkPlugin.setBookmarks(): avoid NPE on null names 2025-10-09 18:00:25 +02:00
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
transifex-integration[bot]
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
Sergey Ponomarev
445389d988 LocalPreferences: getDeactivatedPlugins() simplify 2025-10-09 16:15:55 +02:00
Sergey Ponomarev
f1850b38ac LocalPreferences: remove exception handling: it will never occur 2025-10-09 16:15:55 +02:00
Sergey Ponomarev
1c312634b9 SPARK-2353: LocalPreferences: By default disable user join or leave notification 2025-10-09 16:15:55 +02:00
Sergey Ponomarev
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
Sergey Ponomarev
dc0f625f25 SPARK-2355: Use getExtension(Class) and hasExtension(Class) 2025-10-09 16:12:34 +02:00
Sergey Ponomarev
efda43bf5d SPARK-2355: Use hasExtension() 2025-10-09 16:12:34 +02:00
Sergey Ponomarev
91a421009a SPARK-2355: Add QNAME field to classes that implements ExtensionElement 2025-10-09 16:12:34 +02:00
Sergey Ponomarev
1e7860fe70 fileupload plugin: simplify description 2025-10-09 15:50:08 +02:00
Sergey Ponomarev
be71fcf376 SPARK-2122: spark.doap: add implemented XEPs 2025-10-08 12:38:09 +02:00
daryl herzmann
40604c1d64
Merge pull request #890 from akrherz/install4j_11
SPARK-2348 Install4J 11.0.4 Updates
2025-09-26 16:07:55 -05:00
transifex-integration[bot]
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
Sergey Ponomarev
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
Sergey Ponomarev
68ce7b08ae LanguagePlugin: Use locale.getDisplayName() 2025-09-21 11:32:05 +02:00
Sergey Ponomarev
4499d1eaf2 LanguagePlugin: inline fields to avoid long living garbage 2025-09-21 11:32:05 +02:00
Sergey Ponomarev
8856e6dd3b SPARK-2350: MainWindow: avoid NPE when running from IDE and attempt to restart 2025-09-21 11:30:41 +02:00
Sergey Ponomarev
fae3cf7e4b i18n: remove preamble from files 2025-09-20 14:23:59 +02:00
daryl herzmann
e8af490b2a
Merge pull request #903 from igniterealtime/dependabot/github_actions/github-actions-c096e0448c
Bump the github-actions group across 1 directory with 3 updates
2025-09-01 14:08:02 -05:00
akrherz
b624309a50
set java distribution to zulu 2025-09-01 14:05:01 -05:00
dependabot[bot]
c0c8e2fa1a
Bump the github-actions group across 1 directory with 3 updates
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-java](https://github.com/actions/setup-java) and [actions/cache](https://github.com/actions/cache).


Updates `actions/checkout` from 4 to 5
- [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/v4...v5)

Updates `actions/setup-java` from 1 to 5
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1...v5)

Updates `actions/cache` from 3 to 4
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 17:59:48 +00:00
Dele Olajide
9ae83f21a1
Merge pull request #899 from stokito/meeting_disco
Online Meeting plugin: cleanup and refactoring
2025-08-11 13:11:23 +01:00
Sergey Ponomarev
fb3d5d763e SparkMeetPlugin: reduce logging 2025-07-26 10:59:27 +03:00
Sergey Ponomarev
f212d884d0 SparkMeetPlugin: Use getBareJid().getLocalpart() 2025-07-26 10:59:26 +03:00
Sergey Ponomarev
fdd6ac67ca sparkmeet i18n 2025-07-26 10:28:38 +03:00
Sergey Ponomarev
269f50118e sparkmeet_i18n.properties: remove unused key sparkmeetEnabled 2025-07-26 10:28:29 +03:00
Sergey Ponomarev
7926dd0cd2 SparkMeetPlugin: initializeOnlineMeetings() use early return 2025-07-26 07:54:52 +03:00
Sergey Ponomarev
4943a05c44 SparkMeetPlugin: extract separate initializeOnlineMeetings() 2025-07-26 07:51:49 +03:00