Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <>
Subject: [Galene] Galene API merged into master
Date: Thu, 11 Apr 2024 18:18:06 +0200	[thread overview]
Message-ID: <> (raw)


I've just merged the "api" branch into master.  If you choose to upgrade,
please check your log file for warnings, they may indicate that you are
using features of the old group file format that cannot be converted to
the new format.

In order to use the API:

0. Upgrade to current master.

1. Set a "users" and "writableGroups"

    "users": {"root": {"permissions": "admin", "password": ...}},
    "writableGroups": true

The value of the password field can be either a plain-text password, or
a hashed password entry as generated by "galene-password-generator".

2. Log into a group with password authentication (not with a token), open
the side menu, choose "change password", and notice that you can now
change your password without editing any JSON files.

3. Say:

    curl -i -u root -X PUT -d '{}' -H 'Content-Type: application/json' -H 'If-None-Match: *'
    curl -i -u root -X PUT -d '{"permissions":"present"}' -H 'Content-Type: application/json' -H 'If-None-Match: *'
    curl -i -u root -X POST -d 'topsecret' -H 'Content-Type: text/plain'

Next steps:

1. Write a simple management UI, just enough to create groups and users.

2. Add token management to the API.

-- Juliusz

                 reply	other threads:[~2024-04-11 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: [Galene] Galene API merged into master' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox