Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.
This will help to bring more content "above-the-fold" and in
particular help with the scrollability of pages that tend to have
much more content, e.g. mail archives.
The base HTML structure enables the responsiveness for the
website. In addition to the primary base template, the generic
page and form templates are also modernized.
Authors: Sarah Conway <sarah.conway@crunchydata.com> and me
This also adds Bootstrap, Font Awesome to the codebase with license info.
Bootstrap and Font Awesome are CSS and font frameworks respectively
that ease modern web development.
The new CSS allows the PostgreSQL.org website to be responsive
based on browser window size as well as provide a modern look
and feel.
The redesign is built on top off the Bootstrap and Font Awesome
CSS and font frameworks respectively.
Authors: Sarah Conway <sarah.conway@crunchydata.com> and me
This finally moves the patches into the db, which makes it a lot easier
to filter patches in the views.
It also adds the new way of categorising patches, which is assigning
them a CVSSv3 score.
For now, there are no public views to this, and the old static pages
remain. This is so we can backfill all existing security patches before
we make it public.
This lets us separate things like project news from other OSS and from
commercial postings, for example, allowing for people to subscribe to
different feeds with just the parts they are interested in.
Do this by setting the max width of the lefthand column in the table, so
it doesn't change when the checkbox for community events is clicked.
A better solution would of course be to make the forms properly
responsive, but that's part of a "next generation website", rather than
a quick fix...
It's too much of a pain to regenerate the images when a header needs to
change in some way, and having text is better for searching too. This
slightly changes the strength of the headers, but mostly things look the
same as before.
This creates Google, Github, Microsoft and Facebook login integrations.
Other providers can also be added if needed. Accounts still need to be
created in the community auth system, and will be automatically created
on first login, when the user also gets to pick a username. Once an
account exists, it will be matched on email address from the external
systems.
No methods are enabled by default, as they all require encryption keys
and identities configured in local_settings.py.
Review by Stephen Frost, Jonathan Katz and Daniel Gustafsson.
Older DocBook XSL stylesheets don't have a class on the table element,
but all versions have a surrounding div element with class "table", so
use that instead.
Make admonitions (tip, note, caution, warning) style under XSLT more
similar to previous style. Previously, tip and note were blockquotes
and caution and warning were tables. Now everything is just a div.
This change properly handles symlinks by expanding any it finds in the path
and issuing a redirect to the canonical location.
Whilst we're here, display links as such on the pages, sort directory listings
so the parent link is always at the top, and avoid unnecessary redirects caused
by missing /'s on URLs.