pgweb.git
7 years agoRe-implement password reset token sending natively
Magnus Hagander [Fri, 23 Mar 2018 12:18:55 +0000 (13:18 +0100)]
Re-implement password reset token sending natively

The django version of password reset is broken in multiple way. What's
hurting us in particular is it cannot reset the password of a user where
the old password was generated by a deprecated hasher. Which, of course,
is exactly one of the cases where being able to reset the password is
important.

We still use the same infrastructure, and we use the actual django code
for *changing* the password -- this just replaces the token sender with
something that's a lot simpler and less broken.

7 years agoFix runaway paragraph on developer/core
Daniel Gustafsson [Thu, 22 Mar 2018 20:17:01 +0000 (21:17 +0100)]
Fix runaway paragraph on developer/core

The member profile paragraph was missing the terminating </p> tag.

7 years agoTweak wording around minor rev upgrades
Daniel Gustafsson [Thu, 22 Mar 2018 10:46:57 +0000 (11:46 +0100)]
Tweak wording around minor rev upgrades

Change "risk of upgrading" to "risk associated with upgrading".

7 years agoOnly report "updated list n" if it's actually updated
Magnus Hagander [Wed, 21 Mar 2018 13:40:24 +0000 (14:40 +0100)]
Only report "updated list n" if it's actually updated

7 years agoRemove stupid debugging code left behind
Magnus Hagander [Wed, 21 Mar 2018 13:28:56 +0000 (14:28 +0100)]
Remove stupid debugging code left behind

7 years agoAdd tool to sync list information from archives server
Magnus Hagander [Wed, 21 Mar 2018 13:18:42 +0000 (14:18 +0100)]
Add tool to sync list information from archives server

pgweb is no longer the master of this information, so add a tool to make
it sync it from the archives server.

Any changes made locally will be overwritten by this tool except the
sortkey field on groups which is local. For now.

7 years agoRemove incorrect commented out line
Magnus Hagander [Wed, 21 Mar 2018 13:17:51 +0000 (14:17 +0100)]
Remove incorrect commented out line

Can't use that line without the comment, so get rid of the comment.

7 years agoBackpatch validators into initial migration
Magnus Hagander [Wed, 21 Mar 2018 13:15:27 +0000 (14:15 +0100)]
Backpatch validators into initial migration

It's just silly to do a real migration with this

7 years agoRemove externallink field from Mailinglist model
Magnus Hagander [Wed, 21 Mar 2018 13:12:26 +0000 (14:12 +0100)]
Remove externallink field from Mailinglist model

This is not used for anything...

7 years agoReference mailinglists by name when sending search query
Magnus Hagander [Wed, 21 Mar 2018 12:15:59 +0000 (13:15 +0100)]
Reference mailinglists by name when sending search query

This way we don't have to keep the exact id values in sync between
different systems, which makes it much less evil.

7 years agoRemove temporary API used during pglister migration
Magnus Hagander [Wed, 21 Mar 2018 09:33:54 +0000 (10:33 +0100)]
Remove temporary API used during pglister migration

7 years agoAdded more books to /docs/books/
Jonathan S. Katz [Sun, 18 Mar 2018 15:17:31 +0000 (11:17 -0400)]
Added more books to /docs/books/

Information collected by Sarah Conway <sarah.conway@crunchydata.com>

7 years agoFix model diffing to be compatible with both 1.8 and 1.11
Magnus Hagander [Sat, 10 Mar 2018 15:58:47 +0000 (10:58 -0500)]
Fix model diffing to be compatible with both 1.8 and 1.11

7 years agoRendering a template takes a dict and not a context
Magnus Hagander [Sat, 10 Mar 2018 15:58:26 +0000 (10:58 -0500)]
Rendering a template takes a dict and not a context

This is optional in Django 1.8, but a mandatory change in 1.11.
Backwards compatible.

7 years agoFix context processor class name for newer django
Magnus Hagander [Sat, 10 Mar 2018 15:57:55 +0000 (10:57 -0500)]
Fix context processor class name for newer django

Missed this in 09f904f787616c19080032e1dfe0ef08404007c7

7 years agoFix OAuth URL imports
Magnus Hagander [Sat, 10 Mar 2018 15:57:25 +0000 (10:57 -0500)]
Fix OAuth URL imports

Missed this in 74bb6fbd5a0c7f1af2526e3a693aa6f00b8d76da

7 years agoFix that HttpServerError now takes a request as parameter
Magnus Hagander [Sat, 10 Mar 2018 15:54:13 +0000 (10:54 -0500)]
Fix that HttpServerError now takes a request as parameter

7 years agoShow django version in system_information
Magnus Hagander [Sat, 10 Mar 2018 15:47:00 +0000 (10:47 -0500)]
Show django version in system_information

7 years agoRemove specific url handler for favicon
Magnus Hagander [Sat, 10 Mar 2018 15:40:30 +0000 (10:40 -0500)]
Remove specific url handler for favicon

Only used locally anyway, so we don't care. In production this is
handled by the webserver.

7 years agoReplace NavContext and render_to_response with render_pgweb
Magnus Hagander [Sat, 10 Mar 2018 15:34:50 +0000 (10:34 -0500)]
Replace NavContext and render_to_response with render_pgweb

render_to_response does not work on newer django, so it needs to be
replaced. And using a speicfic context actually overcomplicates things,
it's easier to just use a wrapper function. For those cases where we
don't need NavContext, just use render() (the new shortcut function from
django), which also removes the need to use RequestContext.

7 years agoImport newer version of django-selectable
Magnus Hagander [Fri, 9 Mar 2018 21:43:49 +0000 (16:43 -0500)]
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.

7 years agoUpdate template configuration for newer django
Magnus Hagander [Fri, 9 Mar 2018 20:58:49 +0000 (15:58 -0500)]
Update template configuration for newer django

Also fully backwards compatible

7 years agoUpdate URL formats to be compatible with newer django
Magnus Hagander [Fri, 9 Mar 2018 20:36:02 +0000 (15:36 -0500)]
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.

7 years agoValidate ssh keys as they are entered in the profile
Magnus Hagander [Fri, 9 Mar 2018 20:14:32 +0000 (15:14 -0500)]
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.

7 years agoUpdate Recognized Conference guidelines
Jonathan S. Katz [Mon, 5 Mar 2018 14:34:38 +0000 (09:34 -0500)]
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.

7 years agoSupport contacting archives search server over http
Magnus Hagander [Mon, 5 Mar 2018 12:10:50 +0000 (13:10 +0100)]
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.

7 years agoShoutboux for 20180301 release
Jonathan S. Katz [Thu, 1 Mar 2018 12:42:42 +0000 (07:42 -0500)]
Shoutboux for 20180301 release

7 years agoFix URL reference to the "commands" module and improve language.
Jonathan S. Katz [Wed, 28 Feb 2018 13:43:54 +0000 (08:43 -0500)]
Fix URL reference to the "commands" module and improve language.

Reported by Raymond O'Donnell <rod@iol.ie>

7 years agoAllow unlinked CVEs and poll for valid links
Magnus Hagander [Sun, 25 Feb 2018 17:28:01 +0000 (18:28 +0100)]
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.

7 years agoMake it more clear tha bug reports are public
Magnus Hagander [Tue, 20 Feb 2018 17:50:38 +0000 (18:50 +0100)]
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.

7 years agoPurge /applications-v2.xml when SB apps are changed.
Dave Page [Tue, 20 Feb 2018 12:39:34 +0000 (12:39 +0000)]
Purge /applications-v2.xml when SB apps are changed.

7 years agoFix spelling on docsbug form
Daniel Gustafsson [Fri, 16 Feb 2018 13:59:57 +0000 (14:59 +0100)]
Fix spelling on docsbug form

7 years agoFix "RedHat" type and add instructions for the SUSE rpm repository.
Stefan Kaltenbrunner [Thu, 15 Feb 2018 17:52:02 +0000 (18:52 +0100)]
Fix "RedHat" type and add instructions for the SUSE rpm repository.
Patches by Devrim Gündüz on pgsql-www.

7 years agoFix yum spider for versions with >1 repo rpm
Magnus Hagander [Thu, 15 Feb 2018 15:34:50 +0000 (16:34 +0100)]
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.

7 years agoMark security archives redirect as permanent
Magnus Hagander [Thu, 8 Feb 2018 21:23:39 +0000 (22:23 +0100)]
Mark security archives redirect as permanent

This silences a deprecation warning.

7 years agoFix mailinglist link in README
Daniel Gustafsson [Thu, 8 Feb 2018 21:08:38 +0000 (22:08 +0100)]
Fix mailinglist link in README

Use https rather than http and the new URL for the list page.

7 years agoAdd a top margin on the newstag
Daniel Gustafsson [Thu, 8 Feb 2018 20:57:42 +0000 (21:57 +0100)]
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>

7 years agoFix ordering of CVE entries
Magnus Hagander [Thu, 8 Feb 2018 14:27:17 +0000 (15:27 +0100)]
Fix ordering of CVE entries

7 years agoContent for 2018-02-08 cumulative release.
Jonathan S. Katz [Thu, 8 Feb 2018 13:22:56 +0000 (08:22 -0500)]
Content for 2018-02-08 cumulative release.

7 years agoFix markup on about/advantages
Daniel Gustafsson [Mon, 5 Feb 2018 11:58:25 +0000 (12:58 +0100)]
Fix markup on about/advantages

Close paragraph which was left open, causing the next heading to
be in the wrong context.

7 years agoUpdate SPI address.
Dave Page [Mon, 5 Feb 2018 11:43:37 +0000 (11:43 +0000)]
Update SPI address.

7 years agoRemove undefined class declaration
Daniel Gustafsson [Thu, 1 Feb 2018 20:19:32 +0000 (21:19 +0100)]
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.

7 years agoClose input tags
Daniel Gustafsson [Thu, 1 Feb 2018 20:15:36 +0000 (21:15 +0100)]
Close input tags

XHTML requires all tags to be closed.

7 years agoFix paragraphs on donate page
Daniel Gustafsson [Thu, 1 Feb 2018 20:14:12 +0000 (21:14 +0100)]
Fix paragraphs on donate page

There was a stray opening paragraph, and a missing closing one.
Remove and add.

7 years agoAvoid redirect on opensource.org links
Daniel Gustafsson [Thu, 1 Feb 2018 19:52:33 +0000 (20:52 +0100)]
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.

7 years agoFix incorrect anchors on event archive
Daniel Gustafsson [Thu, 1 Feb 2018 19:50:50 +0000 (20:50 +0100)]
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.

7 years agoUse https for all postgresql.org links
Daniel Gustafsson [Tue, 30 Jan 2018 18:56:57 +0000 (19:56 +0100)]
Use https for all postgresql.org links

7 years agoPresskit 10: rename OSX to macOS
Daniel Gustafsson [Tue, 30 Jan 2018 18:42:19 +0000 (19:42 +0100)]
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.

7 years agoEnsure all <img> tags are closed
Daniel Gustafsson [Tue, 30 Jan 2018 15:25:08 +0000 (16:25 +0100)]
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.

7 years agoUpdate URLs for EDB installers. The old ones were 2 website generations ago, and...
Dave Page [Wed, 31 Jan 2018 10:01:29 +0000 (10:01 +0000)]
Update URLs for EDB installers. The old ones were 2 website generations ago, and incurred at least 2 redirects.

7 years agoClarify some wording
Magnus Hagander [Sat, 27 Jan 2018 11:21:06 +0000 (12:21 +0100)]
Clarify some wording

7 years agoFix typo
Magnus Hagander [Sat, 27 Jan 2018 11:21:02 +0000 (12:21 +0100)]
Fix typo

7 years agoDon't list unsupported versions that have no patches at all
Magnus Hagander [Fri, 26 Jan 2018 10:28:53 +0000 (11:28 +0100)]
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.

7 years agoActivate new security pages
Magnus Hagander [Fri, 26 Jan 2018 10:20:19 +0000 (11:20 +0100)]
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.

7 years agoRemove dead code
Magnus Hagander [Fri, 26 Jan 2018 10:18:39 +0000 (11:18 +0100)]
Remove dead code

7 years agoFix query for version-specific security support list
Magnus Hagander [Fri, 26 Jan 2018 10:18:02 +0000 (11:18 +0100)]
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.

7 years agoSmall refectoring
Magnus Hagander [Fri, 26 Jan 2018 10:12:04 +0000 (11:12 +0100)]
Small refectoring

Makes the code easier to use in future feed support

7 years agoAdd explicit group permissions check for varnish purge and pending mod
Magnus Hagander [Fri, 26 Jan 2018 10:03:10 +0000 (11:03 +0100)]
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.

7 years agoRemove references to vector_other
Magnus Hagander [Thu, 25 Jan 2018 21:30:22 +0000 (22:30 +0100)]
Remove references to vector_other

The actual field was already removed, but references in admin.py were
accidentally left around. Oops.

7 years agoDatabase:ify the list of security patches
Magnus Hagander [Thu, 25 Jan 2018 20:59:13 +0000 (21:59 +0100)]
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.

7 years agoRemove majordomo2 subscription form
Magnus Hagander [Tue, 23 Jan 2018 20:20:19 +0000 (21:20 +0100)]
Remove majordomo2 subscription form

Replace it with a redirect to lists.postgresql.org, where pglister lives.

7 years agoChange mailpref redirect to go to pglister
Magnus Hagander [Tue, 23 Jan 2018 20:12:15 +0000 (21:12 +0100)]
Change mailpref redirect to go to pglister

7 years agoAdd view that lists all available tags as json
Magnus Hagander [Mon, 22 Jan 2018 11:28:46 +0000 (12:28 +0100)]
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.

7 years agoFix admin base for non-notification models
Magnus Hagander [Mon, 22 Jan 2018 11:28:14 +0000 (12:28 +0100)]
Fix admin base for non-notification models

7 years agoAdd a createuser callback for cauth django plugin
Magnus Hagander [Sat, 13 Jan 2018 17:14:13 +0000 (18:14 +0100)]
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.

7 years agoAdd ability to import user to django cauth example
Magnus Hagander [Sat, 13 Jan 2018 17:11:21 +0000 (18:11 +0100)]
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.

7 years agoAdd possibility to turn off django cauth using settings in sample
Magnus Hagander [Sat, 13 Jan 2018 17:09:27 +0000 (18:09 +0100)]
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

7 years agoFix doc comments for devel version
Magnus Hagander [Sat, 6 Jan 2018 16:49:30 +0000 (17:49 +0100)]
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.

7 years agoModify sentence on production PostgreSQL instances on about page.
Jonathan S. Katz [Fri, 5 Jan 2018 18:59:00 +0000 (13:59 -0500)]
Modify sentence on production PostgreSQL instances on about page.

7 years agoAdd URL to @postgresql on global footer and Contact page
Jonathan S. Katz [Thu, 4 Jan 2018 17:19:46 +0000 (12:19 -0500)]
Add URL to @postgresql on global footer and Contact page

7 years agoDon't crash when adding models with optional m2m fields
Magnus Hagander [Thu, 28 Dec 2017 15:09:31 +0000 (16:09 +0100)]
Don't crash when adding models with optional m2m fields

If the m2m field is optional, there will be no "pre" data available, not
even an empty one. Don't crash in this case, just assume it's empty
(which it is).

This could happen when adding a new Organisation, which currently is the
only model we have with optional m2m fields

7 years agoMark text as safe in bug report email
Magnus Hagander [Wed, 27 Dec 2017 11:14:41 +0000 (12:14 +0100)]
Mark text as safe in bug report email

Since we're sending the email as text/plain, we shouldn't be doing HTML
escaping on it.

7 years agoUpdate migration with previous changes
Magnus Hagander [Thu, 21 Dec 2017 10:47:43 +0000 (11:47 +0100)]
Update migration with previous changes

This was missed in ab36183fdac33c699ae7ed076a7ee85a9cbd895e. It's not a
change that actually changes the database in any way, so no need to
create an actual migration.

7 years agoConsistently refer to Community events in submission form
Magnus Hagander [Thu, 21 Dec 2017 10:43:58 +0000 (11:43 +0100)]
Consistently refer to Community events in submission form

Original patch had "badged", and it was renamed to Community event to
make it more clear, but all texts clearly didn't get the memo.

7 years agoRemove support for "remove after notify" on moderation
Magnus Hagander [Wed, 20 Dec 2017 12:58:17 +0000 (13:58 +0100)]
Remove support for "remove after notify" on moderation

This broke when we had ManyToMany relations on a record. We didn't use
to have that, but with tags for news we now do. With this change, the
"reject with a notice" becomes a two step operation, the first one
adding the notification and the second one doing the removal. That'll
have to do for now, and at some point in the future we may create a
completely separate (non /admin/) workflow for moderation and fix it
that way.

7 years agoFix reply-to address for docs comments emails
Magnus Hagander [Mon, 18 Dec 2017 15:24:23 +0000 (16:24 +0100)]
Fix reply-to address for docs comments emails

7 years agoSet sender name on bug report and docs comments email
Magnus Hagander [Mon, 18 Dec 2017 15:22:11 +0000 (16:22 +0100)]
Set sender name on bug report and docs comments email

7 years agoAdd support for setting recipient name and sender name
Magnus Hagander [Mon, 18 Dec 2017 15:21:01 +0000 (16:21 +0100)]
Add support for setting recipient name and sender name

7 years agoSend -bugs and -docs emails from noreply address
Stephen Frost [Mon, 18 Dec 2017 14:59:18 +0000 (15:59 +0100)]
Send -bugs and -docs emails from noreply address

Sending from the submitters address runs afoul to DMARC and other
restrictions. Instead, send the email from a defined noreply address.
Instead, add the original submitter to both the Cc and the Reply-To
header, to make sure they receive followups.

Patch by Stephen, minor changes by Magnus

7 years agoRemove dead file
Magnus Hagander [Mon, 18 Dec 2017 14:56:30 +0000 (15:56 +0100)]
Remove dead file

7 years agoUpdate for new edition of book
Guillaume Lelarge [Fri, 15 Dec 2017 18:05:14 +0000 (19:05 +0100)]
Update for new edition of book

7 years agoAvoid spans overlapping each other when there are many tags
Magnus Hagander [Wed, 13 Dec 2017 20:30:25 +0000 (21:30 +0100)]
Avoid spans overlapping each other when there are many tags

7 years agoPredictable ordering for newstags
Magnus Hagander [Wed, 13 Dec 2017 20:21:05 +0000 (21:21 +0100)]
Predictable ordering for newstags

7 years agoInclude more fields in newstag admin listing
Magnus Hagander [Wed, 13 Dec 2017 20:18:51 +0000 (21:18 +0100)]
Include more fields in newstag admin listing

7 years agoUse proper attribute for script language
Daniel Gustafsson [Wed, 13 Dec 2017 11:12:49 +0000 (12:12 +0100)]
Use proper attribute for script language

The 'language' attribute is deprecated and replaced with 'type' in
xhtml.

7 years agoUse &amp entity instead of bare ampersand in text
Daniel Gustafsson [Wed, 13 Dec 2017 10:34:46 +0000 (11:34 +0100)]
Use &amp entity instead of bare ampersand in text

Using a bare '&' in text elements is sometimes Ok, but always
generate warnings in validation checks. Move to using the amp
entity which is the recommended way to render '&' in xhtml.

7 years agoAdd tag support for news items
Magnus Hagander [Wed, 13 Dec 2017 19:55:07 +0000 (20:55 +0100)]
Add tag support for news items

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.

7 years agoAdd support for notification emails on m2m changes
Magnus Hagander [Wed, 13 Dec 2017 19:49:52 +0000 (20:49 +0100)]
Add support for notification emails on m2m changes

Unfortunately, we'll send one email for each m2m field, instead of
collecting them to a single one. That's because there is no signal
delivered at the end of them all, there will be one sent for each field.

Luckily we don't have a lot of m2m fields at this point, and no model
has more than one, so at this point that part is not a problem.

It also means that if a regular field *and* an m2m field is changed,
then we will get two notifications.

Finally, enable these notifications for the Organisation fields, meaning
we will get a notification when an Organisation changes managers, which
was not working before.

7 years agoAdd support for descriptive texts over m2m checkboxes
Magnus Hagander [Mon, 11 Dec 2017 14:30:50 +0000 (15:30 +0100)]
Add support for descriptive texts over m2m checkboxes

This allows the assignment of "hover mouse to show"-descriptions for m2m
fields with multiple checkboxes.

7 years agoFix submission forms for many2many fields with checkboxes
Magnus Hagander [Mon, 11 Dec 2017 14:29:45 +0000 (15:29 +0100)]
Fix submission forms for many2many fields with checkboxes

This includes proper styling (no more centering of the checkbox itself)
and actually saving the m2m fields on submit.

7 years agoAdd ability for cauth sites to download ssh public keys
Magnus Hagander [Sun, 10 Dec 2017 16:23:03 +0000 (17:23 +0100)]
Add ability for cauth sites to download ssh public keys

This removes the last need to directly access the upstream database
(from the git server), so remove that view as well.

7 years agoRemove community authentication 1.0
Magnus Hagander [Sun, 10 Dec 2017 15:46:43 +0000 (16:46 +0100)]
Remove community authentication 1.0

Community authentication 1.0 relied on PostgreSQL connections between
all servers, and hasn't been used for years.

This includes removing the code that migrates users from the old
community authentication system to the new one. This means that any user
who has not logged in since 2011 will no longer be able to user their
oan account, and have to create a new one.

7 years agoRemove legacy workaround to support old community auth
Magnus Hagander [Sun, 10 Dec 2017 15:40:02 +0000 (16:40 +0100)]
Remove legacy workaround to support old community auth

This workaround enabled a weaker password hasher to work with old
versions of the community authentication plugin. This was already
overridden in prod, but remove the old workaround completely from the
code so we don't accidentally re-enable it.

7 years agoRemove IRIX and Tru64 from /about
Daniel Gustafsson [Sun, 10 Dec 2017 11:14:36 +0000 (12:14 +0100)]
Remove IRIX and Tru64 from /about

Support for SGI IRIX was removed from the postgresql.git repo
in commit ea91a6be8957 with release 9.3 as the last supported
version, and Tru64 in a6d488cb53 with 9.4 as the last version.
Remove from /about to manage expectations.

7 years agoRemove extra space in tweets
Magnus Hagander [Sat, 9 Dec 2017 15:49:53 +0000 (16:49 +0100)]
Remove extra space in tweets

7 years agoImplement automatic tweeting of news
Magnus Hagander [Sat, 9 Dec 2017 15:44:54 +0000 (16:44 +0100)]
Implement automatic tweeting of news

Once a twitter account has been registered (using the twitter_register
management command), the twitter_post command wills start posting all
new news to twitter, once they are approved. It will only post news from
the past 7 days to avoid accidentally flooding with old news.

7 years agoChange personal email to group email for donations
Magnus Hagander [Sat, 9 Dec 2017 14:54:41 +0000 (15:54 +0100)]
Change personal email to group email for donations

Not only is Josh no longer -core, it's better to consistently refer
people to contact the group addresses to make sure they get timely
responses.

7 years agoAdd "Associazione ITPUG" to International sites.
Jonathan S. Katz [Thu, 7 Dec 2017 01:11:08 +0000 (20:11 -0500)]
Add "Associazione ITPUG" to International sites.

7 years agoPrevent changes of column width on events form
Magnus Hagander [Wed, 6 Dec 2017 03:14:37 +0000 (12:14 +0900)]
Prevent changes of column width on events form

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...

7 years agoEnable events to be badged.
Jonathan S. Katz [Wed, 6 Dec 2017 03:06:37 +0000 (12:06 +0900)]
Enable events to be badged.

Adds the "badged" flag to the Event model in order to distinguish
community badged events from other PostgreSQL oriented events.
Seven total events will be displayed on the homepage, with up to
four community events displayed. If there are no upcoming
community events then, then the header "Events" is shown.

The event submission interface allows a user to opt-in to
listing an event as a "community" event and provide an
explanation for moderators as to why the event should be
considered a community event.

Expands the list of News and Planet PostgreSQL blog entries to 10.