Commit Graph

1241 Commits

Author SHA1 Message Date
6ffc1d4811 Import newer version of django-selectable
Sync up to the same version we have on the commitfest app, which will
also be required for eventual django 1.11 support.
2018-03-09 16:43:49 -05:00
09f904f787 Update template configuration for newer django
Also fully backwards compatible
2018-03-09 15:58:49 -05:00
74bb6fbd5a Update URL formats to be compatible with newer django
This format is supported both on the current 1.8 deployment and on newer
versions, so no incompatibilities to worry about.
2018-03-09 15:36:02 -05:00
b1aa5e1f21 Validate ssh keys as they are entered in the profile
In particular, reject ssh-dss keys here. They don't work anymore since
an upgrade, for security reasons, but there was not really a way for the
user to know why. With this they will at least know if when they try to
save or change the keys.
2018-03-09 15:15:33 -05:00
7576a97108 Update Recognized Conference guidelines
Update the recognized conference guidelines in the "Financial"
section to be clearer as to how to create a statement of how
financial proceeds are applied.
2018-03-05 09:34:38 -05:00
d37b7396ff Support contacting archives search server over http
This makes it a lot easier to do local testing. Of course, in production
we use https and by default.
2018-03-05 13:11:28 +01:00
8f9c35099e Shoutboux for 20180301 release 2018-03-01 07:42:42 -05:00
c40429e4dc Fix URL reference to the "commands" module and improve language.
Reported by Raymond O'Donnell <rod@iol.ie>
2018-02-28 08:43:54 -05:00
852aec21e3 Allow unlinked CVEs and poll for valid links
This way new CVEs that are added will start off being listed, but not
with a link. When upstream (currently redhat) publishes the CVE, a
cronjob will pick this up and update it with a link.

Of course, we still only show CVEs that are listed as public, but this
should hopefully get rid of some of the questions of why we link to a
404.
2018-02-25 18:31:43 +01:00
90b7e2a637 Make it more clear tha bug reports are public
Make it super clear that bug reports and docs corrections are both
posted to a public mailinglist and archived in the public archives.
2018-02-20 18:50:38 +01:00
7ae43a4314 Purge /applications-v2.xml when SB apps are changed. 2018-02-20 12:39:34 +00:00
8377be7790 Fix spelling on docsbug form 2018-02-16 14:59:57 +01:00
0fccb6a154 Fix "RedHat" type and add instructions for the SUSE rpm repository.
Patches by Devrim Gündüz on pgsql-www.
2018-02-15 18:52:02 +01:00
4339b112d0 Fix yum spider for versions with >1 repo rpm
The code was supposed to pick the latest version of the repo rpm in this
scenario, but at some point the data structure was updated and the code
was not, so it ended up actually picking the *oldest* version of the
repo rpm.
2018-02-15 16:34:50 +01:00
705bb5600f Mark security archives redirect as permanent
This silences a deprecation warning.
2018-02-08 22:24:04 +01:00
293c43e9dc Fix mailinglist link in README
Use https rather than http and the new URL for the list page.
2018-02-08 22:08:38 +01:00
fd2295ebf5 Add a top margin on the newstag
The newstag label was sitting close on the textblock, add a bit of
top-margin to create separation.

Reviewed by: Magnus Hagander <magnus@hagander.net>
2018-02-08 21:57:42 +01:00
52230d3731 Fix ordering of CVE entries 2018-02-08 15:27:25 +01:00
86791bbbe8 Content for 2018-02-08 cumulative release. 2018-02-08 08:55:46 -05:00
574d1f8caf Fix markup on about/advantages
Close paragraph which was left open, causing the next heading to
be in the wrong context.
2018-02-05 12:59:39 +01:00
60a30512e8 Update SPI address. 2018-02-05 11:43:46 +00:00
2e8f1dad0d Remove undefined class declaration
There is no navFooter class defined in the CSS, a fact made quite
clear due to one of its uses being misspelled without any problems.
Remove class declaration.
2018-02-01 21:19:32 +01:00
cfa9bf2cea Close input tags
XHTML requires all tags to be closed.
2018-02-01 21:15:36 +01:00
68039ae361 Fix paragraphs on donate page
There was a stray opening paragraph, and a missing closing one.
Remove and add.
2018-02-01 21:14:12 +01:00
c4a6afe023 Avoid redirect on opensource.org links
http://www.opensource.org/licenses/postgresql redirects with a
301 to its https counterpart, update the link to save a redirect
for our users.

This link is present in all the presskits as well, but the amount
of clicks there should be low enough to not bother.
2018-02-01 20:52:33 +01:00
040b14e93a Fix incorrect anchors on event archive
The name attribute of an anchor link cannot contain spaces,
pass the header name via the slugify filter to ensure it's
compliant.
2018-02-01 20:50:50 +01:00
0f16d870e8 Use https for all postgresql.org links 2018-02-01 17:43:06 +01:00
ce3fb1a271 Presskit 10: rename OSX to macOS
There is no such thing as OSX anymore, it is now macOS. This
updates the version 10 presskit, but leaves the backbranch
presskits even though Apple has retroactively renamed the old
versions macOS as well.
2018-02-01 17:42:27 +01:00
b77667799a Ensure all <img> tags are closed
The <img .. /> tag is required to be to closed in XHTML, as opposed
to HTML where <img ..> is valid. Properly close all currently open
img tags and also add alt="" attributes where missing.
2018-02-01 17:41:41 +01:00
9bfc084458 Update URLs for EDB installers. The old ones were 2 website generations ago, and incurred at least 2 redirects. 2018-01-31 10:01:29 +00:00
2cd523b348 Clarify some wording 2018-01-27 12:21:06 +01:00
7293ae9c33 Fix typo 2018-01-27 12:21:02 +01:00
283d1f710c Don't list unsupported versions that have no patches at all
That just generates a completely empty page in the output, so remove the
link completely instead.

For supported versions we list all of them, including if they have no
patches.
2018-01-26 11:28:53 +01:00
7812369535 Activate new security pages
This also removes the two previous static pages for this information.
Access to the old "security archives" URL is now redirected back to the
main security page, since the archive is replaced with a dynamically
built of per-version security patches.
2018-01-26 11:20:19 +01:00
9dcecdff67 Remove dead code 2018-01-26 11:18:39 +01:00
89f7171bfd Fix query for version-specific security support list
When asking for version x, we should still list all versions the patch
in question applies to, not limit it to the current one.
2018-01-26 11:18:02 +01:00
e896caf1d4 Small refectoring
Makes the code easier to use in future feed support
2018-01-26 11:12:04 +01:00
2e1b4a5f08 Add explicit group permissions check for varnish purge and pending mod
Previously we just used "is member of staff", but for better granuality
explicitly also check membership of groups. This introduces the new
group "varnish purgers" for that permission.
2018-01-26 11:03:10 +01:00
648be8555c Remove references to vector_other
The actual field was already removed, but references in admin.py were
accidentally left around. Oops.
2018-01-25 22:31:18 +01:00
0cb56d9355 Database:ify the list of security patches
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.
2018-01-25 21:59:13 +01:00
d0aa8ac119 Remove majordomo2 subscription form
Replace it with a redirect to lists.postgresql.org, where pglister lives.
2018-01-23 21:20:19 +01:00
3a3ea2f5cc Change mailpref redirect to go to pglister 2018-01-23 21:12:15 +01:00
689f9d9b8b Add view that lists all available tags as json
For external consumption. Only tag and description is viewed, but URLs
to the feeds and pages can easily be constructed using it.
2018-01-22 12:28:46 +01:00
597824f09f Fix admin base for non-notification models 2018-01-22 12:28:14 +01:00
7ed70f1067 Add a createuser callback for cauth django plugin
This callback can prevent new users from being created based on specific
criteria. The plugin is defined in settings.py, so it can be any python
code. For example, it can look up in a specific table if this user is
supposed to be allowed to log in at all.
2018-01-13 18:14:13 +01:00
79659ae1dc Add ability to import user to django cauth example
This has been in used around a number of community sites already,
backpatch it into the upstream master.
2018-01-13 18:11:21 +01:00
38ff645d5d Add possibility to turn off django cauth using settings in sample
This sample is used across most of our other sites, so add functionality
to install without having a local master repo.

Back-patch of pgeu commit 3e4d8c9101c2d309b134c2f5638aa40db8ef2cf5
2018-01-13 18:09:27 +01:00
e1cda9861d Fix doc comments for devel version
Don't say version 0.0 in the emails that are sent out. That's what we
call it internally, but the URL should have /devel/ in it. Fix this both
in the template, and then if it comes through in the form again in case
the user picked up a link elsewhere that is incorrect.
2018-01-06 17:51:25 +01:00
5d6e902dd9 Modify sentence on production PostgreSQL instances on about page. 2018-01-05 13:59:00 -05:00
c3898a04de Add URL to @postgresql on global footer and Contact page 2018-01-04 12:27:44 -05:00