GithubHelp home page GithubHelp logo

yunohost-apps / ssbroom_ynh Goto Github PK

View Code? Open in Web Editor NEW
12.0 7.0 0.0 337 KB

Secure Scuttlebutt room server package for YunoHost.

License: GNU Affero General Public License v3.0

Shell 79.21% Python 20.79%
scuttlebutt yunohost-apps closember

ssbroom_ynh's Introduction

Scuttlebutt Room for YunoHost

Integration level Working status Maintenance status

Install Scuttlebutt Room with YunoHost

Read this README is other languages.

This package allows you to install Scuttlebutt Room quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

A Scuttlebutt room is a service for connecting scuttlebutt users.

It includes a web interface for managing who is in the room, creating invites, and creating a code of conduct for the room.

For a comprehensive introduction to rooms 2.0, watch this video.

Features

  • Rooms v1 (tunnel.connect, tunnel.endpoints, etc.)
  • User management (allow- & denylisting + moderator & administrator roles), all administered via the web dashboard
  • Multiple privacy modes
  • Sign-in with SSB
  • HTTP Invites
  • Alias management

Shipped version: 2.0.6~ynh7

Demo: https://hermies.club/

Screenshots

Screenshot of Scuttlebutt Room

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/ssbroom_ynh/tree/testing --debug
or
sudo yunohost app upgrade ssbroom -u https://github.com/YunoHost-Apps/ssbroom_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

ssbroom_ynh's People

Contributors

alexaubin avatar ericgaspar avatar mhfowler avatar oniricorpe avatar salamandar avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ssbroom_ynh's Issues

installing: the certificate for "files.commoninternet.net" is not trusted and has expired.

Describe the bug

Installing ssbroom on Yunohost fails because the certificate for "files.commoninternet.net" is not trusted and has expired.

Context

  • Hardware: old laptop
  • YunoHost version: 11.1.20 (stable)
  • I have access to my server: through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: ssbroom

Steps to reproduce

  1. *Go to install applications
  2. fill in ssb id and select domain
  3. *Click on install
  4. See error: ERROR: unable to install ssbroom: an error occured inside the app installation script
  5. few lines above it says: "files.commoninternet.net" is not trusted and has expired.

Expected behavior

the app to install

Logs

2023-06-08 10:26:32,996: DEBUG - + out='ERROR: The certificate of ‘files.commoninternet.net’ is not trusted.
2023-06-08 10:26:32,997: DEBUG - ERROR: The certificate of ‘files.commoninternet.net’ has expired.
2023-06-08 10:26:32,998: DEBUG - The certificate has expired'
2023-06-08 10:26:32,998: DEBUG - + ynh_die '--message=ERROR: The certificate of ‘files.commoninternet.net’ is not trusted.
2023-06-08 10:26:32,999: DEBUG - ERROR: The certificate of ‘files.commoninternet.net’ has expired.
2023-06-08 10:26:33,000: DEBUG - The certificate has expired'
2023-06-08 10:26:33,005: DEBUG - ERROR: The certificate of ‘files.commoninternet.net’ has expired.
2023-06-08 10:26:33,006: DEBUG - The certificate has expired'
2023-06-08 10:26:33,049: WARNING - ERROR: The certificate of ‘files.commoninternet.net’ is not trusted.
2023-06-08 10:26:33,050: WARNING - ERROR: The certificate of ‘files.commoninternet.net’ has expired.
2023-06-08 10:26:33,050: WARNING - The certificate has expired
2023-06-08 10:26:33,051: DEBUG - ERROR: The certificate of ‘files.commoninternet.net’ has expired.
2023-06-08 10:26:33,051: DEBUG - The certificate has expired'
2023-06-08 10:26:33,051: DEBUG - + ynh_exit_properly
2023-06-08 10:26:33,051: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2023-06-08 10:26:33,557: DEBUG - + ynh_clean_setup
2023-06-08 10:26:33,558: DEBUG - + ynh_clean_check_starting
2023-06-08 10:26:33,559: DEBUG - + '[' -n '' ']'
2023-06-08 10:26:33,560: DEBUG - + '[' -n '' ']'
2023-06-08 10:26:34,570: ERROR - Unable to install ssbroom: An error occurred inside the app installation script

" or # in password leads to failed installation

Describe the bug

When I try to install the YH app, the install fails when having " and # as a part of the password. I am not sure if it's specifically " or # since it worked after removing special characters.

Context

  • Hardware: RPi 3b+
  • YunoHost version: 4.3.3
  • I have access to my server: Through SSH, through the webadmin and direct access via keyboard / screen
  • Are you in a special context: Yes, the URL access is bypassed, only access through LAN IP.
  • Using, or trying to install package version/branch: 2.0.6~ynh3

Steps to reproduce

Use " and # as part of the password

Expected behavior

It works or there's a warning label on the YH app info page.

Logs

2021-11-21 13:35:46,802: DEBUG - Enter Password:
2021-11-21 13:35:46,803: WARNING - extra characters after close-quote
2021-11-21 13:35:46,805: WARNING - while executing
2021-11-21 13:35:46,808: WARNING - "send -- "Removed standard AlphaNumericals"#"
2021-11-21 13:35:46,817: DEBUG - + ynh_exit_properly
2021-11-21 13:35:47,327: DEBUG - + ynh_clean_setup
2021-11-21 13:35:47,329: DEBUG - + true
2021-11-21 13:35:48,335: ERROR - Unable to install ssbroom: An error occurred inside the app installation script

Subdomains (aliases) are not pointing to the user's account

Describe the bug

The app lets the user create a subdomain for their account that looks like alias.domain.tld. However, this is not pointing to the account but rather to the yunohost login page.

Context

  • Hardware: VPS bought online
  • YunoHost version: 4.3.6.3
  • I have access to my server: *Through SSH | through the webadmin *
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

Install the app and log in using any SSB application. Create an alias for your account.

Expected behavior

The subdomain (alias.domain.tld) links to the user's account.

ssbrooms app prohibits roundcube webmail app

Describe the bug

After successfully installing ssbrooms I was unable to install roundcube webmail app.

Context

  • Hardware: *VPS 50GB SSD, 2048 RAM, 1 core CPU
  • Linux ozcotalk.nohost.me 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64
  • I have access to my server through SSH and the webadmin
  • ssbroom version: 2.0.6~ynh5
  • roundcube version: 1.6.0~ynh3
  • YunoHost version:
    root@ozcotalk:/home/admin# yunohost --version
    yunohost: repo: stable version: 11.0.10.2
    yunohost-admin: repo: stable version: 11.0.11
    moulinette: repo: stable version: 11.0.9
    ssowat: repo: stable version: 11.0.9

Steps to reproduce

Install ssbrooms app on yunohost from the list of applications.
Initiate the installation of the roundcube webmail app from the list of applications using the default url /webmail.
An error will result:

This URL is either unavailable, or conflicts with the already installed app(s):
* <mydomain.nohost.me/ → roomName (ssbroom)

Expected behavior

ssbrooms should not prohibit other web apps on yunohost

Logs

The error above says it all; the yunohost log list and diagnostics reveal no abnormalities.

Unable to change URL of ssbroom app

After installing the go-ssb-rooms app on yunohost v11.0.10.2, I was unable to configure it. I uninstalled it from yunohost expecting to reinstall it, but it was no longer available in the list of yunohost apps.

VPS with 2GB ram, Linux kernel 5.10.0-14-amd64, Debian 11.5
yunohost version: 11.0.10.2 (stable)
yunohost-admin version: 11.0.11 (stable)
moulinette version: 11.0.9 (stable)
ssowat version: 11.0.9 (stable)
ssbroom v2.0.6~ynh4

DNS records are correctly configured for domain ozcotalk.nohost.me (category basic)

  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
  • no special context

Steps to reproduce (on web interface)

  1. Install the app, provide an existing ssb account. Open to public or only yunohost users option has no effect either way.
  2. Click on app in list of installed apps, and under "Change the access URL of this application (domain and/or path)" add a new path under the domain tld. Click Save button.

Same error trying to to the change via ssh cmd line.

Logs

https://paste.yunohost.org/raw/omayatipid

In looking at the detailed log, not sure if "maindomain.tld.d" is just a placeholder. When attempting change via cmd line the file path looks correct, so I suspect it is just a placeholder that sed replaces.

There is no port variable in that file tho. There is a port in one location block:

location @proxy {
  proxy_pass http://localhost:8899;

but I doubt that's what the error is referring to.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.