Keel - LDH Middleware issueshttps://source.puri.sm/liberty/host/middleware/-/issues2019-09-03T10:45:22Zhttps://source.puri.sm/liberty/host/middleware/-/issues/75[cleanup] Remove references to librem.one and puri.sm2019-09-03T10:45:22ZDavid Seaward[cleanup] Remove references to librem.one and puri.smldh_middleware should be a host-neutral and provider-neutral solution. Please review for any references that have crept in and remove them. (References to authorship and source code should obviously remain.)ldh_middleware should be a host-neutral and provider-neutral solution. Please review for any references that have crept in and remove them. (References to authorship and source code should obviously remain.)Boring badger 2https://source.puri.sm/liberty/host/middleware/-/issues/68Parameterise footer in base.html2019-08-19T15:06:12ZDavid SeawardParameterise footer in base.htmlIn `limitmonitor/jinja2/limitmonitor/userlimit.html` we parameterize the operator details in the footer.
```
<em>{{ site_title }}</em> provided by <a href="{{ site_provider_link }}">{{ site_provider }}</a>
```
Let's do the same in `lda...In `limitmonitor/jinja2/limitmonitor/userlimit.html` we parameterize the operator details in the footer.
```
<em>{{ site_title }}</em> provided by <a href="{{ site_provider_link }}">{{ site_provider }}</a>
```
Let's do the same in `ldapregister/templates/base.html`Boring badger 2https://source.puri.sm/liberty/host/middleware/-/issues/59Add DOAP file2019-08-21T12:31:56ZDavid SeawardAdd DOAP filePer [Librem 5 contribution guidelines](https://developer.puri.sm/Contributing.html) add a DOAP file to this repo.
See https://source.puri.sm/Librem5/phosh/blob/master/phosh.doap for an example.Per [Librem 5 contribution guidelines](https://developer.puri.sm/Contributing.html) add a DOAP file to this repo.
See https://source.puri.sm/Librem5/phosh/blob/master/phosh.doap for an example.Boring badger 2https://source.puri.sm/liberty/host/middleware/-/issues/36Handle closed registration2019-08-19T15:06:43ZDavid SeawardHandle closed registrationGiven the user is logged in
When the user visits any page
Then display "Logged in as" message and links
Given `REGISTRATION_OPEN=True`
When the user visits any page
Then display "Log in" link
And display "Register" link...Given the user is logged in
When the user visits any page
Then display "Logged in as" message and links
Given `REGISTRATION_OPEN=True`
When the user visits any page
Then display "Log in" link
And display "Register" link
Given `REGISTRATION_OPEN=False`
When the user visits any page
Then display "Log in" link
But do not display "Register" link
Notes:
* As a fallback, create a "registration_closed" template file.
* Also handle user visiting registration URL when `REGISTRATION_OPEN=False`
Boring badger 2