Commit Graph

1515 Commits

Author SHA1 Message Date
f5ed2399d4 Pdf wrapper should not inherit from django model
It was already storing the version as a field, the inheriting from the
actual model was never used. Remove it, since newer django tries to
access a table based on the class name..
2018-03-23 14:16:23 +01:00
f49e1b870b Fix unnecessary warning
null=False means nothing on a ManyToMany, new django warns about it.
2018-03-23 13:54:22 +01:00
91b7e0ce5a Fix more template syntax error
Can't use = for comparison, must use ==. Been broken for a long time,
but older django painted over the problem.
2018-03-23 13:47:31 +01:00
d475058fea Fix template syntax error 2018-03-23 13:45:27 +01:00
d033d5f036 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.
2018-03-23 13:21:16 +01:00
cbf8b7c3e7 Fix runaway paragraph on developer/core
The member profile paragraph was missing the terminating </p> tag.
2018-03-22 21:17:01 +01:00
a37288c887 Tweak wording around minor rev upgrades
Change "risk of upgrading" to "risk associated with upgrading".
2018-03-22 11:46:57 +01:00
aea6cc82a2 Only report "updated list n" if it's actually updated 2018-03-21 14:40:24 +01:00
d48c7b3406 Remove stupid debugging code left behind 2018-03-21 14:28:56 +01:00
f4b7d00503 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.
2018-03-21 14:18:42 +01:00
dff46c8f7c Remove incorrect commented out line
Can't use that line without the comment, so get rid of the comment.
2018-03-21 14:17:51 +01:00
3d3edb7d57 Backpatch validators into initial migration
It's just silly to do a real migration with this
2018-03-21 14:16:22 +01:00
26fcd668e2 Remove externallink field from Mailinglist model
This is not used for anything...
2018-03-21 14:16:17 +01:00
d9c9d91da7 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.
2018-03-21 13:16:43 +01:00
6714054c48 Remove temporary API used during pglister migration 2018-03-21 13:16:43 +01:00
88e3c9d4d9 Added more books to /docs/books/
Information collected by Sarah Conway <sarah.conway@crunchydata.com>
2018-03-18 11:17:31 -04:00
9fdaaab726 Fix model diffing to be compatible with both 1.8 and 1.11 2018-03-10 10:58:47 -05:00
f499a1ef2f 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.
2018-03-10 10:58:26 -05:00
10b8ee7de4 Fix context processor class name for newer django
Missed this in 09f904f787
2018-03-10 10:57:55 -05:00
127b29edec Fix OAuth URL imports
Missed this in 74bb6fbd5a
2018-03-10 10:57:25 -05:00
487d86bee3 Fix that HttpServerError now takes a request as parameter 2018-03-10 10:54:13 -05:00
890f85be76 Show django version in system_information 2018-03-10 10:47:00 -05:00
06fe58aefd Remove specific url handler for favicon
Only used locally anyway, so we don't care. In production this is
handled by the webserver.
2018-03-10 10:40:30 -05:00
fd37389a3b 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.
2018-03-10 10:38:11 -05:00
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