Difference between revisions of "Intersect"

From Nottinghack Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Intersect is a temporary VM running [http://www.discourse.org/ Discourse].  This is to test the software as a possible replacement for Google Groups
+
{{archive|May 2019}}
 +
 
 +
There is now a Discourse forum at [https://talk.nottinghack.org.uk talk.nottinghack.org.uk]
 +
{{grey-start}}
 +
Intersect was a temporary VM running [http://www.discourse.org/ Discourse].  This is to test the software as a possible replacement for Google Groups
  
 
==Discourse==
 
==Discourse==
Line 5: Line 9:
 
Discourse has been installed as per [https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md these instructions].  Currently it is relaying outgoing emails through [[Holly]]
 
Discourse has been installed as per [https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md these instructions].  Currently it is relaying outgoing emails through [[Holly]]
  
===Major Changes===
+
===Notes===
 +
 
 +
Needs to support mailing list functionality.  Seems to support send of the messages posted via email, if a little slow.  Still need to investigate the following:
 +
 
 +
* Reply by email
 +
* Start topic by email
  
 
Using Amazon S3 for uploads and backups.  Keeps space used on the server to a minimum.
 
Using Amazon S3 for uploads and backups.  Keeps space used on the server to a minimum.
 +
 +
Everything runs in the container.  Changes to container will be destroyed when it is rebuilt.
 +
 +
enter container (for logs, etc) using
 +
 +
<pre>root@server: /var/docker# ./launcher ssh app</pre>
 +
 +
logs are at (in the container)
 +
 +
<pre>/var/www/discourse/log/</pre>
 +
 +
===Rebuild===
 +
 +
To rebuild the app, use these commands:
 +
 +
<pre>
 +
root@server: /var/docker# ./launcher rebuild app
 +
root@server: /var/docker# ssh-keygen -f "/root/.ssh/known_hosts" -R [0.0.0.0]:2222
 +
</pre>
  
 
===Admin Changes===
 
===Admin Changes===
Line 15: Line 43:
 
====Required====
 
====Required====
  
 +
* '''title:''' Nottinghack Discussions
 
* '''site description:''' Testing version of Nottinghack's possible future
 
* '''site description:''' Testing version of Nottinghack's possible future
 
* '''contact email:''' newsletter@nottinghack.org.uk
 
* '''contact email:''' newsletter@nottinghack.org.uk
Line 21: Line 50:
 
** Not sure about this.  On one hand I want to call the entire thing Intersect, on the other hand, that's a bit geeky!
 
** Not sure about this.  On one hand I want to call the entire thing Intersect, on the other hand, that's a bit geeky!
 
* '''site contact username:''' geeksareforlife
 
* '''site contact username:''' geeksareforlife
 
+
* '''logo url:''' default logo size 122x33
 +
* '''logo small url:''' default logo size 33x33
 +
* '''favicon url:''' favicon from nottinghack.org.uk
 +
* '''apple touch icon url:''' apple touch from nottinghack.org.uk
 
* '''company full name:''' Nottingham Hackspace Limited
 
* '''company full name:''' Nottingham Hackspace Limited
 
* '''company short name:''' Nottingham Hackspace
 
* '''company short name:''' Nottingham Hackspace
Line 30: Line 62:
 
* '''ga universal tracking code:''' Tracking code for Google Analytics.
 
* '''ga universal tracking code:''' Tracking code for Google Analytics.
 
** saved in info@ google account
 
** saved in info@ google account
 +
* '''category_colors:''' Add some more colours in
 +
** Specifically #663399 - beccapurple
  
 
====Users====
 
====Users====
  
 
* '''max username length:''' 30
 
* '''max username length:''' 30
 +
* '''enable google oauth2 logins:''' true
 +
* '''google oauth2 client id:''' Client ID
 +
* '''google oauth2 client secret:''' Client Secret
 +
** See https://meta.discourse.org/t/configuring-google-oauth2-login-for-discourse/15858 for more details
  
 
====Posting====
 
====Posting====
 +
* '''min post length:''' 1
 +
* '''min private message post length:''' 1
 +
* '''body min entropy:''' 1
 +
* '''min topic title length:''' 1
 +
* '''title min entropy:''' 1
 +
* '''title sanitize:''' ticked
 +
* '''min private message title length:''' 1
 +
* '''newuser max images:''' 1
 +
** may also want to look at the other newuser maxes.
 +
** this is all related to the trust levels
 +
 +
 +
Things not changed, but of interest:
  
* '''min topic title length:''' 10
+
* '''allow uncategorized topics'''
* '''title sanitize:''' ticked
+
** Currently true, but setting to false (with decent categories) would be forum-like
 +
** How would this affect email-in topics?
  
 
====Emails====
 
====Emails====
 +
 +
* '''email time window mins:''' 1
 +
* '''default digest email frequency:''' daily
 +
* '''reply by email enabled:''' true
 +
* '''reply by email address:''' group+%{reply_key}@nottinghack.org.uk
 +
* '''pop3s polling enabled:''' true
 +
* '''pop3s polling period mins:''' 1
 +
* '''pop3s polling host:''' mail.mjhosting.co.uk
 +
* '''pop3s polling username:''' group.nottinghack
 +
* '''pop3s polling password:''' **********
 +
* '''email prefix:''' Nottinghack
 +
** This is what is shown on email subject lines: [Nottinghack]
  
 
====Files====
 
====Files====
Line 57: Line 121:
  
 
====Spam====
 
====Spam====
 +
 +
There are some interesting settings here that need further investigation and thought
  
 
====Rate Limits====
 
====Rate Limits====
Line 74: Line 140:
  
 
====Uncategorized====
 
====Uncategorized====
 +
 +
* '''show create topics notice:''' false
  
 
===User Changes===
 
===User Changes===
Line 80: Line 148:
  
 
===Other stuff to think about===
 
===Other stuff to think about===
 +
 +
 +
==If we decide to change==
 +
 +
* [https://meta.discourse.org/t/its-too-complicated-complain-the-users-how-did-you-find-the-user-migration-experience/16518/2 “It’s too complicated” complain the users. How did you find the user migration (Discourse forum)]
 +
{{grey-end}}
 +
 +
[[Category:Network]]
 +
[[Category:Online Presence]]

Latest revision as of 09:04, 22 May 2019

There is now a Discourse forum at talk.nottinghack.org.uk

Intersect was a temporary VM running Discourse. This is to test the software as a possible replacement for Google Groups

Discourse

Discourse has been installed as per these instructions. Currently it is relaying outgoing emails through Holly

Notes

Needs to support mailing list functionality. Seems to support send of the messages posted via email, if a little slow. Still need to investigate the following:

  • Reply by email
  • Start topic by email

Using Amazon S3 for uploads and backups. Keeps space used on the server to a minimum.

Everything runs in the container. Changes to container will be destroyed when it is rebuilt.

enter container (for logs, etc) using

root@server: /var/docker# ./launcher ssh app

logs are at (in the container)

/var/www/discourse/log/

Rebuild

To rebuild the app, use these commands:

root@server: /var/docker# ./launcher rebuild app
root@server: /var/docker# ssh-keygen -f "/root/.ssh/known_hosts" -R [0.0.0.0]:2222

Admin Changes

This section details the changes made from the default install for each of the admin area sections.

Required

  • title: Nottinghack Discussions
  • site description: Testing version of Nottinghack's possible future
  • contact email: newsletter@nottinghack.org.uk
    • this should probably be info@, but is that checked?
  • notification email: group@nottinghack.org.uk
    • Not sure about this. On one hand I want to call the entire thing Intersect, on the other hand, that's a bit geeky!
  • site contact username: geeksareforlife
  • logo url: default logo size 122x33
  • logo small url: default logo size 33x33
  • favicon url: favicon from nottinghack.org.uk
  • apple touch icon url: apple touch from nottinghack.org.uk
  • company full name: Nottingham Hackspace Limited
  • company short name: Nottingham Hackspace
  • company domain: www.nottinghack.org.uk

Basic Setup

  • ga universal tracking code: Tracking code for Google Analytics.
    • saved in info@ google account
  • category_colors: Add some more colours in
    • Specifically #663399 - beccapurple

Users

Posting

  • min post length: 1
  • min private message post length: 1
  • body min entropy: 1
  • min topic title length: 1
  • title min entropy: 1
  • title sanitize: ticked
  • min private message title length: 1
  • newuser max images: 1
    • may also want to look at the other newuser maxes.
    • this is all related to the trust levels


Things not changed, but of interest:

  • allow uncategorized topics
    • Currently true, but setting to false (with decent categories) would be forum-like
    • How would this affect email-in topics?

Emails

  • email time window mins: 1
  • default digest email frequency: daily
  • reply by email enabled: true
  • reply by email address: group+%{reply_key}@nottinghack.org.uk
  • pop3s polling enabled: true
  • pop3s polling period mins: 1
  • pop3s polling host: mail.mjhosting.co.uk
  • pop3s polling username: group.nottinghack
  • pop3s polling password: **********
  • email prefix: Nottinghack
    • This is what is shown on email subject lines: [Nottinghack]

Files

  • enable s3 uploads: true
  • s3 access key id: key id from S3, should be a restricted user
  • s3 secret access key: key from S3, should be a restricted user
  • s3 region: region of the bucket we want to use for uploads
  • s3 upload bucket: intersect-testing-nottinghack

Trust Levels

Security

Onebox

Spam

There are some interesting settings here that need further investigation and thought

Rate Limits

Developer

Embedding

Legal

Backups

  • backup daily: true
  • enable s3 backups: true
  • s3 backup bucket: bucket for backups. Must be accessible by the above user and in the same region as the above bucket


Uncategorized

  • show create topics notice: false

User Changes

This section details any changes made to user settings to allow Discourse to run as a mailing list (if any)

Other stuff to think about

If we decide to change