Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. matrix.org (communication)

matrix.org (communication)

Scheduled Pinned Locked Moved Solved App Wishlist
149 Posts 20 Posters 90.6k Views 22 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by yusf
    #92

    I looked into the possibility of a new try to host Riot and Synapse on the same (sub)domain. Here’s the reply:

    yusf:
    Or is there, if it’s decided to host both on same (sub)domain, any method to reduce XSS attack probability?

    Riot dude:
    Basically the attack surface is such that any code which gets executed with access to that subdomain in a browser will have access to that user's matrix access token. So if you run things like synapse or other things on same subdomain and they end up serving malicious code then bad things can happen.

    It's a very narrow surface, csp can make it even more narrow.

    How then to use the CSP setting??

    1 Reply Last reply
    0
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by
      #93

      Another useful tool to possibly embed in this app package is matrix-corporal, though as an opt-in by default (enabled but void of policy) https://github.com/devture/matrix-corporal

      1 Reply Last reply
      0
      • M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #94

        just pushed an update for v1.8.0, apparently there were some changes in the config at some point, so when you're using log_file, you might need to remove that in order to be able to start the latest version.

        In case it doesn't, jump on a terminal, check if it's actually running (ps -ax) and if not, manually launch with gosu www-data python3 -m synapse.app.homeserver --config-path homeserver.yaml from /app/data/synapse and check the errormessage.

        1 Reply Last reply
        1
        • yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #95

          @msbt said in matrix.org (communication):

          when you're using log_file

          What do you mean by this?

          M 1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #96

            @msbt Can you put in a LICENSE file into the repo (preferably MIT like the other app packages), so I can get this pushed to unstable?

            murgeroM 1 Reply Last reply
            2
            • girishG girish

              @msbt Can you put in a LICENSE file into the repo (preferably MIT like the other app packages), so I can get this pushed to unstable?

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by
              #97

              @girish Having it in unstable would be awesome.

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

              1 Reply Last reply
              1
              • yusfY yusf

                @msbt said in matrix.org (communication):

                when you're using log_file

                What do you mean by this?

                M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by
                #98

                @yusf in earlier versions the homeserver.yaml contained a config item

                # File to write logging to. Ignored if log_config is specified.
                log_file: "/run/synapse/homeserver.log"
                

                This got removed by moving it into the log_config itself which is set in log_config: "/app/data/synapse/..." - apparently the config for my main matrix server had that still in there because it's rather old and always migrated including this setting. Matrix wouldn't start after the latest update if you had this still enabled so I had to #comment it out be able to start afterwards.

                @girish sure thing, I'll look into it later today

                1 Reply Last reply
                2
                • M Offline
                  M Offline
                  msbt
                  App Dev
                  wrote on last edited by
                  #99

                  @girish there you go: riot and matrix, I hope this is alright πŸ˜„

                  1 Reply Last reply
                  2
                  • W Offline
                    W Offline
                    will
                    wrote on last edited by
                    #100

                    I'm pinging for this one as well! NextGen tech on Cloudron would be great!

                    1 Reply Last reply
                    1
                    • W Offline
                      W Offline
                      why42
                      wrote on last edited by why42
                      #101

                      Hi there,
                      thanks for all your work to build an app for cloudron.
                      I am interested in Matrix/Synapse , too. I would like to as to put in the unstable apps section.

                      1 Reply Last reply
                      1
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #102

                        @msbt Thanks for updating the license.

                        OK, this was stupid. I didn't see that you had a riot app, so I ended up making the front end of my own πŸ˜• https://git.cloudron.io/cloudron/riot-web-app . It's pretty much the same as yours except I don't use nginx (I will probably put your nginx code into mine).

                        I have pushed Riot Web to unstable now.

                        I will push out your matrix in the next few days. Thanks!

                        W ultravioletU yusfY 3 Replies Last reply
                        4
                        • girishG girish

                          @msbt Thanks for updating the license.

                          OK, this was stupid. I didn't see that you had a riot app, so I ended up making the front end of my own πŸ˜• https://git.cloudron.io/cloudron/riot-web-app . It's pretty much the same as yours except I don't use nginx (I will probably put your nginx code into mine).

                          I have pushed Riot Web to unstable now.

                          I will push out your matrix in the next few days. Thanks!

                          W Offline
                          W Offline
                          will
                          wrote on last edited by
                          #103

                          @girish What are the setup instructions?

                          1 Reply Last reply
                          0
                          • girishG girish

                            @msbt Thanks for updating the license.

                            OK, this was stupid. I didn't see that you had a riot app, so I ended up making the front end of my own πŸ˜• https://git.cloudron.io/cloudron/riot-web-app . It's pretty much the same as yours except I don't use nginx (I will probably put your nginx code into mine).

                            I have pushed Riot Web to unstable now.

                            I will push out your matrix in the next few days. Thanks!

                            ultravioletU Offline
                            ultravioletU Offline
                            ultraviolet
                            App Dev
                            wrote on last edited by
                            #104

                            @girish hi when do you think it will be published to the app store?

                            1 Reply Last reply
                            3
                            • girishG girish

                              @msbt Thanks for updating the license.

                              OK, this was stupid. I didn't see that you had a riot app, so I ended up making the front end of my own πŸ˜• https://git.cloudron.io/cloudron/riot-web-app . It's pretty much the same as yours except I don't use nginx (I will probably put your nginx code into mine).

                              I have pushed Riot Web to unstable now.

                              I will push out your matrix in the next few days. Thanks!

                              yusfY Offline
                              yusfY Offline
                              yusf
                              wrote on last edited by
                              #105

                              @girish Will the package be compatible with previous app versions by @msbt? If so, should I upgrade to the latest msbt app version manually before upgrading to this package?

                              1 Reply Last reply
                              0
                              • W Offline
                                W Offline
                                will
                                wrote on last edited by
                                #106

                                Super stoked on this, Riot/Matrix & Mastadon in such a short time span? Youn guys are crushing it!

                                1 Reply Last reply
                                1
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #107

                                  @will The goal for this year is to get many more app packages out πŸ™‚

                                  1 Reply Last reply
                                  4
                                  • T Offline
                                    T Offline
                                    timka
                                    wrote on last edited by
                                    #108

                                    I'm totaly looking forward to matrix.
                                    Any news? ^^

                                    1 Reply Last reply
                                    3
                                    • yusfY Offline
                                      yusfY Offline
                                      yusf
                                      wrote on last edited by
                                      #109

                                      Riot is a few versions behind (current stable is v1.5.10). Is there any movement on bringing the Matrix app to the App Store?

                                      1 Reply Last reply
                                      2
                                      • W Offline
                                        W Offline
                                        why42
                                        wrote on last edited by
                                        #110

                                        I am really looking forward to the Matrix app and an updated Riot version.

                                        1 Reply Last reply
                                        3
                                        • yusfY Offline
                                          yusfY Offline
                                          yusf
                                          wrote on last edited by
                                          #111

                                          Glancing turnserver.conf TURN doesn't seem to have been integrated yet so that should probably be done before App Store release.

                                          1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search