Instead of prepopulating a GET request that could generate a session,
createa a form with different submit buttons and use that. In the brave
new world of AI bots, nobody cares about robots.txt anymore, so we'd get
hit by a lot of requests specifically for these logins that were then
thrown away because they couldn't log in on the third party site.
This is not the prettiest at the moment as the server sponsor page doesn't
include logos, but we are obliged to display the Fastly one in return for the
services they provide. We may want to redesign this page at some point in
the future to group by sponsor and work more cleanly with non-server hosting
sponsors.
This adds a few new logos for organizations being recognized
as sponsors of the PostgreSQL project. This commit simultaneously
removes logos of sponsors that are no longer recognized.
Moving forwards we'll have three types of sponsors:
- Contributing - those that the sponsor team are responsible for.
- Financial - those who donate to an NPO.
- Servers - those who provide servers/infrastructure.
For the financial sponsors, there are a few rules:
- "NPO" means a recognised NPO, (which includes SPI and PGCA).
- Each NPO may choose whether or not to list any sponsors on this page.
- Each NPO may define the criteria under which sponsors are listed, and
any levels they wish to use.
- Conference/event sponsorship does not count; it must be sponsorship of the
organisation itself.
- Sponsors may be listed once under each NPO they have donated to.
Note that the same sponsor may be listed in any or all of the categories
(contributing, financial, servers).
Patch by myself and Jonathan.
When somebody posts a news article, make it possible to delete it before
it's submitted to moderation (or after it's been withdrawn or bounced),
instead of forcing the user to leave it around ForEver (TM).
Do this by adding some generic functionality for confirmation popups,
that can also be used for other things in the future.
This was likely introduced with 5389adf8 and dark mode, as
the "!important" on all input elements was overriding the
desired styles for the submission buttons in light mode.
But forcing that style is really not that important, so
we can let CSS do it's thing to render the button in its
desired state.
Reported-by: Andreas 'ads' Scherbaum <ads@pgug.de>
This patch also changes the stylesheets to use CSS vars for all
the colour definitions. Dark mode is enabled automatically if the
users browser prefers it.
Patch by me, with improvements from Jonathan Katz.
Review by Jonathan Katz, Vik Fearing, and Hubert Depesz Lubaczewski.
This font was being served from a remote source. All of the other
assets are being served from .org, so it makes sense that this is
too.
Reported-by: Drew DeVault <sir@cmpwn.com>
Code snippets in h2 blocks looked smushed, so this gives them
a bit more space.
Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Whens submitting a new object, the instructions for how to do markdown
didn't show up until after the object had been saved once.
This turns out to be because the performance optimization to take an
empty string markdown and turn it into an empty string html wrote the
(empty) result to the wrong field, thereby overwriting the instructions.