Difference between revisions of "SAC:Discourse"

From OSGeo
Jump to navigation Jump to search
Line 20: Line 20:
  
 
We tweak the login form CSS a little in order to fix the LDAP button background, the labels, and to tweak the display order of the options.
 
We tweak the login form CSS a little in order to fix the LDAP button background, the labels, and to tweak the display order of the options.
 +
 
This is done from https://discourse.osgeo.org/admin/customize/themes/1/common/scss/edit
 
This is done from https://discourse.osgeo.org/admin/customize/themes/1/common/scss/edit
  
Line 42: Line 43:
  
 
.btn.oidc {
 
.btn.oidc {
     order: 3;
+
     order: 2;
 
}
 
}
  
Line 54: Line 55:
 
}
 
}
  
.btn.github {
+
.btn.passkey-login-button {
     order: 2;
+
     order: 3;
 
}
 
}
  
.btn.passkey-login-button {
+
.btn.github {
 
     order: 4;
 
     order: 4;
 
}
 
}

Revision as of 23:21, 3 September 2025

OSGeo hosts a Discourse server accessible at https://discourse.osgeo.org

The server is an LXD VM running on hosted on osgeo9 machine and administered by the OSGeo System Administration Committee.

It current allows OSGeo LDAP, OSGeo Gitea, GitHub, and sign up.

Gory details are in private https://git.osgeo.org/gitea/sac/discourse/wiki/discourse

Administration

All administrative tasks are done via the web interface.

Mailing list migration

Some of mailman mailing lists have been migrated to Discourse.

Details on how to ask for migration of your list are here https://discourse.osgeo.org/docs?topic=6765

Theming

We tweak the login form CSS a little in order to fix the LDAP button background, the labels, and to tweak the display order of the options.

This is done from https://discourse.osgeo.org/admin/customize/themes/1/common/scss/edit

.btn.ldap {
    background-color: #fff;
    order: 1;
}

.btn.ldap:hover {
    background-color: var( --primary-medium );
}

.btn.ldap span.btn-social-title {
    visibility: hidden;
}

.btn.ldap span.btn-social-title:before {
    visibility: visible;
    content: 'Log in with OSGeo UserID (LDAP)';
}

.btn.oidc {
    order: 2;
}

.btn.oidc span.btn-social-title {
    visibility: hidden;
}

.btn.oidc span.btn-social-title:before {
    visibility: visible;
    content: 'Log in with OSGeo Gitea';
}

.btn.passkey-login-button {
    order: 3;
}

.btn.github {
    order: 4;
}