Keel - LDH Middleware issueshttps://source.puri.sm/liberty/host/middleware/-/issues2019-08-21T12:31:56Zhttps://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/20Use settings.SITE_TITLE in base.html template2018-11-14T14:15:30ZDavid SeawardUse settings.SITE_TITLE in base.html templateThe `home.html` template currently accesses `settings.SITE_TITLE` via `views.py`. It sets this value in:
* `<meta name="application-name" content="{{ site_title }}">`
* `<h1><img src="..." alt="{{ site_title }}"/></h1>`
We need to s...The `home.html` template currently accesses `settings.SITE_TITLE` via `views.py`. It sets this value in:
* `<meta name="application-name" content="{{ site_title }}">`
* `<h1><img src="..." alt="{{ site_title }}"/></h1>`
We need to set the same values in the `base.html` template.
The meta tag is important, as this defines the name of the web application to user agents that understand it (e.g. GNOME Web aka Epiphany).https://source.puri.sm/liberty/host/middleware/-/issues/47[review] Welcoming to experienced Django developers?2018-12-04T14:23:28ZDavid Seaward[review] Welcoming to experienced Django developers?**User story:** I am an experienced Django developer. I want to easily understand the codebase, so that I can start contributing quickly.
**User story:** I am less experienced developer. I expect the codebase to use well known convent...**User story:** I am an experienced Django developer. I want to easily understand the codebase, so that I can start contributing quickly.
**User story:** I am less experienced developer. I expect the codebase to use well known conventions, or document peculiarities when this is not the case, so that I can easily look up anything I don't understand.
I'd appreciate a quick review of the codebase, highlighting any issues that a Django developer would not understand or dislike.David SeawardDavid Seawardhttps://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