810 Commits

Author SHA1 Message Date
f8dd5b7296 move JAMS manual to https://docs.jami.net/jams/
Simplify documentation.
Remove duplicate instances of the JAMS manual.
Consolidate Jami/JAMS manuals.

JAMS manual is available at https://docs.jami.net/jams/ and contains
improvements.

Change-Id: I00b1203d262493c024de63bee4a8a13913f456f6
2025-10-21 17:10:27 -04:00
e2a17961ef i18n: automatic bump
Change-Id: I7fa4f306770ab9ae5c9dc7c0bf8e8bb7191c7d7d
2025-10-20 09:36:13 -04:00
2531240373 i18n: automatic bump
Change-Id: I6c5d5585ad361801f65274d9d07e9f28a3cb4dc1
2025-09-22 09:36:29 -04:00
e68281a091 i18n: automatic bump
Change-Id: Icd61aa20f9e34b8c5e61b1270d2d62b5ccb540e2
2025-09-01 09:36:17 -04:00
21c863bb3c ci: update java to 21
Change-Id: If12d31797b54552aa45bd37803bba98e601b0a95
2025-08-18 14:49:09 -04:00
bf515e4777 docker: update to Java 21
Change-Id: Ie98b06800fb7a8555f79bf0b1be77481335a62ca
2025-08-18 14:43:27 -04:00
a3d3845d03 i18n: automatic bump
Change-Id: I5c37b5f31f7fc1f6b70f478061b63c6e81a83ece
2025-02-17 09:36:16 -05:00
a38926545d Profile Names: Correctly resolve the first and last names.
searchUserProfiles does a LIKE SQL query, which may return multiple user profiles.
It then selects the first result, which could belong to a different user with a longer name.
e.g. if both Michel and Michelle are registered, Michel is incorrectly resolved as Michelle.

GitLab: #135
Change-Id: Ib9bacb8e6cb2fc747ea7d4acd206b0841deea37d
2025-02-13 16:21:17 -05:00
92b54295d8 tests: fix nameserver test for user registration
use test server ns-test.jami.net instead of ns.jami.net
Name registration had 2 issues :
wrong adress: it should be 40 characters long and be unique
signature and publickey can be "" but not null

Change-Id: I7c160de816b8527316111af8f1489b564f546986
2025-02-10 10:48:48 -05:00
e06bdf66c9 Nameserver: complete public registration with public key and signature
Add publicKey and signature in the nameserver with user registration.

Disabled test RegisterUserFlowTest.java because the user is not correctly created and user.getCertificate() is null causing the test to fail

Gitlab: #150

Change-Id: I5735e578b775aea9a934b1889c833aa5e14a1cc4
2025-02-10 10:48:36 -05:00
6f0ee4f832 Display name: return "" if first or last name is not set in LDAP/AD
Change the return API to avoid displaying "null" as name in every client
Usefull when first and/or last name is left blank during LDAP/AD creation

GitLab: #145
Change-Id: I48270ad514d6ffaa33c58678354b2fc146d5d18f
2025-02-07 14:02:44 -05:00
942e9f6b68 User name: First or last name empty instead of "unefined"
If a first or last name is not defined during LDAP/AD user creation,
it is not displayed, instead of showing "undefined"

Change-Id: I8cef34d504c14739ae958caec35754ca83aa8228
2025-02-07 11:27:07 -05:00
5eb213dcee Server name: regex accepts "-"
"my-jams-server.domain.com" is now a valid name

GitLab: #152
Change-Id: I83c9e287fdcc718df9d2578ee3dafbc9dd04a78c
2025-02-07 10:38:39 -05:00
619af71f92 accountDiscovery: set default to false
Disable account discorvery and publish in default setup and default blueprint
For privacy reasons, account discovery and publish should be false by default

Change-Id: I7d906433bc53222e7bd8befd7d789477884e80aa
2025-02-03 15:32:35 -05:00
402c5d8a6d logs: remove empty conversation filter error log
Removed empty conversation filter error log.
This log was triggered even when there were no conversation requests,
which is normal behavior.

Change-Id: Ibed0cc595470660abeb1885263be657d14e7537f
2025-02-03 13:22:44 -05:00
f811ec282d i18n: automatic bump
Change-Id: I02a9144130dd5aa8357950f2a947f0f3f5662d13
2025-02-03 09:36:15 -05:00
0e21b41138 public nameserver: fix registration error
this commit fix the error when creating user while using the public nameserver
replace http by https in the nameserver address
add Publickey and Signature to the registration request

Gitlab: #150
Change-Id: I124fe47a7d6f3c263f441dc8a3fe454a23c91742
2025-01-27 17:38:24 -04:00
473dc18c7e i18n: automatic bump
Change-Id: I24bc218ebe2cc9fbb2fda32dd42823f9a12a27e3
2025-01-27 09:36:21 -05:00
a54c664c58 signin: Add required property for country (CA)
During the Certificate Authority creation, the admin must choose a country.
This is required and locked, but the property was missing, so the "*" was not displayed.
However, it was already not possible to create a CA without a country; this change is purely visual.

Change-Id: I7a852ccb9d6f13a1552d4d17cab1a8bc1696a463
2025-01-24 12:51:52 -05:00
37c44a1be7 OCSP: fix 404 error caused by null extension
Extensions object cannot be constructed with empty Extension.
However, an extension is not required in addResponse function
Corrected the issue by splitting the function between those two cases
Gitlab: #151

Change-Id: I584329ee88457d88198ab3d1457ff41c2b00c40a
2025-01-23 16:48:47 -05:00
a8fc4c9215 Hide revoked: implement the button Hide revoked users
This button was not effective, this is the implementation
Add an atribute in UserProfile to check if revoked

Change-Id: I40a80c177e323627d1d76ceab8a41d2bf3f47594
2025-01-21 16:19:20 -05:00
bbe118f6bf fix typo: name server
Change-Id: Iab3511b6aceb99db20e104d1021a843d47dd3e1d
2025-01-16 10:39:45 -05:00
570b5f8b88 certificate: restore ca.crt
Change-Id: I75702bcde5e880a5d7f0c72b9a3fb44e327a51f2
2025-01-16 10:27:59 -05:00
0e6e743b98 lint: fix lint error
Change-Id: I3f3b5239cb24c1f918efdbd22268e54620abc7a8
2025-01-13 15:58:46 -05:00
b44096ea1c SSL cert: use system default SSL context instead of custom truststore
Removed the manual KeyStore creation and switched to SSLContexts.createSystemDefault()
to rely on Java’s built-in truststore for validating SSL certificates.
It fixes the SSLHandshakeException.

Change-Id: I4cc8afda87825c2da95ddc8f2b74d3d93d0994e6
2025-01-13 15:50:02 -05:00
d087426c17 i18n: automatic bump
Change-Id: Ide5b6a7a70e530a3ff09df69771edde2581aef99
2025-01-13 09:36:15 -05:00
010c6bb40a jupiter test: http to https to fix the broken tests
By changing the nameserver adress from http to https,
the unit tests from jams-server now pass

Change-Id: If673e37b2d3f05187dae56a0819e6a49075dcf9d
2025-01-10 11:13:49 -05:00
79be09d734 misc: unify terminology
Are you sure you → Do you really → Do you
community version of JAMS → JAMS Community Edition
purchase → buy
Would you like → Do you want

Change-Id: I78a99471fb06722fef8f4b434cfd73c242962a26
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1730
2024-12-01 21:18:10 -04:00
f64a22eeb7 i18n: automatic bump
Change-Id: If41b5279ced690c829ef5bfb0f151870eb3d2cef
2024-10-28 09:36:13 -04:00
47694e260a misc: unify terminology
A(n) [type] error occurred while [attempting to] {verb} {noun}.
{cannot, can not, can't, could not} → unable to
has occurred →  occurred while
get → fetch
occured (typo) → occurred
serialisation (en-GB) → serialization (en-US)
serialised (en-GB) → serialized (en-US)
serialising (en-GB) → serializing (en-US)
succesfully (typo) → successfully
Successfully {adjective} {noun}. → {Noun} {adjective} successfully.
trial → attempt → while
tried to → attempted to → while
trying to → attempting to → while
users's (typo) → user's (singular possessive)

Change-Id: I1ca68038b17b0e8c4331c63de94b08ea4e097b20
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730
2024-10-01 11:13:19 -04:00
9164f6de0b i18n: automatic bump
Change-Id: Ice3349f71d3e4735ee441736b6e6c6b2a6510c2c
2024-09-23 09:36:12 -04:00
60df797998 i18n: automatic bump
Change-Id: I3478b0ea0aa0268d4878dc653782a731a6b8c694
2024-09-16 13:53:09 -04:00
c665d02938 ad/ldap-connector: fix directory search when ldap/ad server is down
The LDAP and the AD connector now falls back to its internal database
whenever it is not able to access its authentication server. This fixes
a null pointer exception that was otherwise raised in the SearchDirectoryServlet.

Ticket: https://redmine.savoirfairelinux.com/issues/7666
Change-Id: Ifa0df8956d14c9715730e389a1cd6ae68e6bfb48
2024-09-16 13:33:16 -04:00
1df46520ee jams-server: prevent server start if CA failed to load
If the config.json file is corrupted, JAMS may start even though its CA
is null. In this state, the server cannot authenticate any user and is
not operational.

Ticket: https://redmine.savoirfairelinux.com/issues/7668
Change-Id: I61e69200af1089a085991176fa6bb6273ecc2e82
2024-09-06 15:49:42 -04:00
a7a5933b93 ad-connector: fix all users revoked when AD is down
Fix f037a08d didn't work for active directory since
UserProfileService.getUserProfile returns an empty array instead of null
for Active Directory. In this case we must also check for an empty array
in order to identify that the AD server is down.

Ticket: https://redmine.savoirfairelinux.com/issues/7656
Change-Id: Icda219ec5f85b5b40e7a0c56957b2eb1dcd4f866
2024-09-06 12:59:01 -04:00
2309ed6acc jams-react-client: fix UI issues
UserProfileFieldsList component: max-width: 50%; should be removed on info fields
Contact:
    ConversationId icon should be outlined
    Building should be a suitcase for company name
UiCustomization
    Separate with a line with margin top and bottom 3 sections: title/description, background and logo
    Show color picker directly instead of a button that then displays a color picker
    Fix customization overflowing on mobile
Put action back in the right column table

Ticket: https://redmine.savoirfairelinux.com/issues/7465
Change-Id: I07d5ea053faaabc8dc6847726a8b9fb3ba11b27c
2024-08-23 10:26:22 -04:00
f037a08da0 ad/ldap-connector: prevent revocation if AD/LDAP is down
Ticket: https://redmine.savoirfairelinux.com/issues/7656
Change-Id: Ibd79d6db688ec4662aa756d82051cd03a3493127
2024-08-23 09:37:00 -04:00
484b43dc22 i18n: automatic bump
Change-Id: I22a7b28fa8f7b3593a40e3e96af60ef23798dac1
2024-08-05 09:36:14 -04:00
91ba4afd62 authentication-module: allow client side authentication with Nginx as a
reverse proxy

Ticket: https://redmine.savoirfairelinux.com/issues/7479
Change-Id: I1114d741c15ac2bbed7fcf137be289c5fecf44de
2024-07-05 13:26:05 -04:00
261c9421ee jams-server: fix ssl error after initial setup
Modifications to the keystore.jks file are not taken into account by the jvm until jams is restarted once after setup. The issue turned out to be an underlying tomcat bug that is now resolved by bumping its version.

https: //redmine.savoirfairelinux.com/users/329
Change-Id: I4408d89e4241afb9a7a179ea3d7e415f6a575a2e
2024-06-13 16:38:55 -04:00
15af91e54c i18n: automatic bump
Change-Id: I5d86c4027143ce042e9d828d95408e4443ac7b7e
2024-05-27 09:36:53 -04:00
565b6c6f67 ad-connector: fix user revocation
fixing a bug where users that should not be revoked are getting revoked
automatically with Active Directory
Ticket: https://redmine.savoirfairelinux.com/issues/7520

Change-Id: Icb7a0292eb195cdab6dec1af642211ca1ee69f09
2024-05-05 17:15:34 -04:00
a2ababcfe8 i18n: automatic bump
Change-Id: Ia33b17df7a47749fc6abba499d4d0f42abf6208d
2024-04-15 09:36:17 -04:00
87a8460887 jams-react-client: Added checks to prevent admin api call in user authenticated state
Ticket: https://redmine.savoirfairelinux.com/issues/7436
Change-Id: Ib10183a524a0ae96373c9ff1151ecaa09ed66c05
2024-04-02 13:25:41 -04:00
1771740f74 jams-react-client: Revamp UI/UX
Fixed general text alignements and margins
Set all icons with wired styles
Fixed responsive styles
Fix form errors display
Ticket: https://redmine.savoirfairelinux.com/issues/7437

Change-Id: I04b84ed40a24579c4d1d3dbf1e9ba2ba1e60c2a3
2024-04-02 11:04:27 -04:00
ad6ff4b64e jams-react-client: Handle revoked contact
Fixes holes in the contact list where contact that are revoked user where still attempted to be
displayed
Ticket: https://redmine.savoirfairelinux.com/issues/7449

Change-Id: Ib3fddf6c4b24bbd90e30d15b00c45cb306443bec
2024-04-02 11:03:41 -04:00
8988640b67 jams-react-client: Cleaned up console logs
Removed debug console logs
Fixed call to undefined error.response attribute
Ticket: https://redmine.savoirfairelinux.com/issues/7436

Change-Id: If54cf6fbf1112aed7ea9380b93742af10250303f
2024-04-02 10:54:00 -04:00
39cd6e5c12 jams-react-client: Added GNU GPL V3 license to the client
Ticket: https://redmine.savoirfairelinux.com/issues/7397
Change-Id: Ieff126b6b6729394e681b0e90cdad382a49c9ca0
2024-03-27 11:53:41 -04:00
9a2779989e jams-react-client: Added linting stage
Executes eslint and tsc on the client
Executes google-java-format on the server
Ticket: https://redmine.savoirfairelinux.com/issues/7361

Change-Id: I52c8a70661a4711fd037604ba541c3e7a0d6b3cf
2024-03-27 11:53:26 -04:00
31d599fa75 jams-react-client: Fixed client bugs introduced by strict typing
Fixed add contact in admin and authenticated state
Fixed Blueprints permissions, configuration and UI customization state not being saved
Ticket: https://redmine.savoirfairelinux.com/issues/7360

Change-Id: I5dff06247b9384ea5d1882ca1152214c95ee3d29
2024-03-27 11:49:10 -04:00