Magnus Hagander [Thu, 20 Dec 2018 14:47:24 +0000 (15:47 +0100)]
Move google analytics and scrolling code into main.js
This moves the remaining inline javascript out of the base templates
Magnus Hagander [Thu, 20 Dec 2018 14:42:57 +0000 (15:42 +0100)]
Move scripts from admin changeform to their own JS file
Could be made more efficient by combining some files, but tihs is just
the /admin/ interface so not used very often.
Magnus Hagander [Thu, 20 Dec 2018 14:34:29 +0000 (15:34 +0100)]
Use autofocus html attribute instead of javascript
Magnus Hagander [Thu, 20 Dec 2018 14:31:25 +0000 (15:31 +0100)]
Move javascript for forms into separate JS file
In passing also clean up a few things that can be passed directly in the
template instead, and simplify things now that we have jquery all the
time.
Magnus Hagander [Thu, 20 Dec 2018 10:21:21 +0000 (11:21 +0100)]
Move debian/ubuntu downloads javascript into main.js
Magnus Hagander [Thu, 20 Dec 2018 10:15:31 +0000 (11:15 +0100)]
Move featurematrix javascript into a separate script file
Magnus Hagander [Thu, 20 Dec 2018 15:23:30 +0000 (16:23 +0100)]
Remove unused templates
Magnus Hagander [Sun, 16 Dec 2018 15:10:40 +0000 (16:10 +0100)]
Don't crash on an incorrectly quoted suburl parameter
Magnus Hagander [Wed, 5 Dec 2018 15:38:38 +0000 (16:38 +0100)]
Remove training events
The way these were handled they weren't really providing any value to
users, because a lot of sessions were registered and never run etc etc,
but did cause a lot of work for our moderators.
The general feature may return later in the form of "training providers"
or similar as part of the professional services section, but for now
there is no point in maintaining this data.
Daniel Gustafsson [Tue, 4 Dec 2018 20:51:08 +0000 (21:51 +0100)]
Fix typos in comments
Review by Stephen Frost and Jonathan S. Katz
Discussion: https://postgr.es/m/
6EEB2B47-D274-4E65-83B1-
2EF8C917C55F%40yesql.se
Daniel Gustafsson [Tue, 4 Dec 2018 20:49:09 +0000 (21:49 +0100)]
Fix user facing typos
Review by Stephen Frost and Jonathan S. Katz
Discussion: https://postgr.es/m/
6EEB2B47-D274-4E65-83B1-
2EF8C917C55F%40yesql.se
Daniel Gustafsson [Tue, 4 Dec 2018 11:36:18 +0000 (12:36 +0100)]
Remove duplicate <tbody>
Commit
5f8ca8d67285000f16a9bdd0f6a99a0a41c0d418 accidentally copy
pasted one row too many when adding a new entry, and duplicated the
<tbody> tag. Fix by removing.
Dave Page [Mon, 3 Dec 2018 10:00:32 +0000 (10:00 +0000)]
Add PostgreSQL 11 Server Side Programming Quick Start Guide book
Jonathan S. Katz [Tue, 27 Nov 2018 11:51:21 +0000 (06:51 -0500)]
Make "Support" section on "Contact" page more prominent.
There has been a recent uptick in emails asking general questions and
support going to special purpose mailing lists. This renames the
"Technical Support" section to "Support," moves is further up the page,
and rewords it to help guide people to the appropriate places to help
get their questions answered.
Dave Page [Tue, 20 Nov 2018 13:46:13 +0000 (13:46 +0000)]
Fix image link
Dave Page [Tue, 20 Nov 2018 13:44:55 +0000 (13:44 +0000)]
Add new book.
Magnus Hagander [Sat, 17 Nov 2018 18:56:10 +0000 (19:56 +0100)]
Re-enable markdown safe mode
This was removed when django removed support for it, but we then
switched markdown library and didn't re-enable it.
Since all content is moderated it's not so bad (per previous commit
message), but better safe than sorry.
Jonathan S. Katz [Thu, 8 Nov 2018 20:40:09 +0000 (15:40 -0500)]
Add buttons on homepage to submit new events and news.
It was not necessarily obvious how to do this from our navigation,
so this should help.
Jonathan S. Katz [Thu, 8 Nov 2018 16:44:20 +0000 (11:44 -0500)]
s/9.5.13/9.5.15/
Jonathan S. Katz [Mon, 5 Nov 2018 22:07:06 +0000 (17:07 -0500)]
2018-11-08 cumulative release.
Daniel Gustafsson [Tue, 6 Nov 2018 19:39:10 +0000 (20:39 +0100)]
Fix typo
Enrique Benitez via Github
Jonathan S. Katz [Sun, 4 Nov 2018 15:26:21 +0000 (10:26 -0500)]
Added Japanese translation for the Code of Conduct.
As this is the first translation of the Code of Conduct to be added
to pgweb, this also includes the "infratstructure" to add additional
translations.
Jonathan S. Katz [Mon, 5 Nov 2018 22:08:57 +0000 (17:08 -0500)]
Add link to Code of Conduct in the website footer.
Jonathan S. Katz [Mon, 5 Nov 2018 15:50:14 +0000 (10:50 -0500)]
Use "old-style" string format on doc URL redirect.
This eliminates a unicode error.
Jonathan S. Katz [Sun, 4 Nov 2018 16:43:04 +0000 (11:43 -0500)]
Allow checkboxes that have help text associated with be visible to user.
For instances, the "Community Event" check box has instructions for how a
user can verify whether or not they are submitting a community event.
Jonathan S. Katz [Sun, 4 Nov 2018 15:47:54 +0000 (10:47 -0500)]
Remove "Description for Community Event" from form and deprecrate for admins.
This was used primarily to collect information about potential community
events in the beginning of the process. Now that we have about a years'
worth of data, we don't need this form anymore, and can start to sunset
it out.
Jonathan S. Katz [Mon, 5 Nov 2018 15:32:03 +0000 (10:32 -0500)]
Update help text for core.Version.eoldate in the migration file.
The change to the help text was introduced in
669b3782, which caused
a Django migration warning, even though schema changes were introduced.
This also shows the proper way for updating non-schema-altering
field changes that are introduced into Django.
Jonathan S. Katz [Sun, 4 Nov 2018 16:34:41 +0000 (11:34 -0500)]
Remove references to the (static|interactive) path to documentation.
While the permanent redirect will fix this over the course of time,
it is still better that we do not reference the old path from pgweb.
Jonathan S. Katz [Sun, 4 Nov 2018 16:32:18 +0000 (11:32 -0500)]
Remove "/static/" from doc URLs.
This creates a permanent redirect for any doc URL that references the
"static" path (i.e. all doc URLs), which allows a format similar to:
/docs/current/index.html
This is in response to not having "interactive" as an available option,
which should lead to shorter, less confusing URLs.
Jonathan S. Katz [Sun, 4 Nov 2018 15:52:29 +0000 (10:52 -0500)]
Make "Included in Distribution" on par with other headings on Red Hat page.
Suggested to help make it easier to follow post-installation directions.
Jonathan S. Katz [Sun, 4 Nov 2018 15:15:10 +0000 (10:15 -0500)]
Add missing <span> tags on PG11 presskit.
Jonathan S. Katz [Sun, 4 Nov 2018 15:14:03 +0000 (10:14 -0500)]
Fix <i> to be <em> on CoC page.
<i> is just used for icons; <em> is used for italicizing text.
Jonathan S. Katz [Sun, 4 Nov 2018 14:43:22 +0000 (09:43 -0500)]
Make CTA for submitting new news/events/etc. more clear.
Instead of a hyperlink, this appears as a button, so it is not
as hidden on the page.
Jonathan S. Katz [Sun, 4 Nov 2018 14:39:30 +0000 (09:39 -0500)]
Break up "Awaiting Moderation" and "Approved" articles/events/etc.
This was becoming illegible and also hard to maintain based on how
we changed up the look/feel of the entire site. That way, we have
two distinct categories for both types of objects, which makes it
easier for the user to understand what is what.
Also reworded the explanation for what is going on, both based on
the structural change and because it read like a literal interpretation
of the code.
Jonathan S. Katz [Sun, 4 Nov 2018 13:19:48 +0000 (08:19 -0500)]
Specify which red indicates an item that is awaiting moderator approval.
As all the links are red now, this will ensure the user knows what is
still in moderation.
Jonathan S. Katz [Wed, 24 Oct 2018 22:45:54 +0000 (23:45 +0100)]
Fix regression where doc search would not search over current version.
Jonathan S. Katz [Wed, 24 Oct 2018 11:20:32 +0000 (12:20 +0100)]
Modify supported platforms for Windows/OS X installers.
This fix came from feedback about confusion whether or not the installers
supported PostgreSQL 11, which upon manual inspection, they do.
Jonathan S. Katz [Tue, 23 Oct 2018 13:31:47 +0000 (14:31 +0100)]
On RedHat page, improve "Included in Distro / Post-installation" grouping
The aforementioned sections appeared as their own instead of being
subgroups of the main "PostgreSQL Yum Repository" section. This
brings those two sections underneath "PostgreSQL Yum Repository."
Reported By: Keith Fiske
Jonathan S. Katz [Mon, 22 Oct 2018 11:52:22 +0000 (12:52 +0100)]
Remove padding from inline documentation elements.
In some situations, this would make it look like some directives
required spaces (e.g. .pgpass file set up), which would be incorrect.
Reported By: Vik Fearing
Jonathan S. Katz [Thu, 18 Oct 2018 16:39:13 +0000 (09:39 -0700)]
Added Presskit FAQ item about the Code of Conduct.
Author: Mark Wong
Jonathan S. Katz [Thu, 18 Oct 2018 13:24:44 +0000 (09:24 -0400)]
Fixed typo on homepage for PG11 release.
Jonathan S. Katz [Wed, 17 Oct 2018 20:08:58 +0000 (16:08 -0400)]
PostgreSQL 11 Released!
Jonathan S. Katz [Tue, 9 Oct 2018 01:32:09 +0000 (21:32 -0400)]
Update various language across website to reflect PostgreSQL 11 release.
Jonathan S. Katz [Mon, 8 Oct 2018 19:43:54 +0000 (15:43 -0400)]
International press kits for PostgreSQL 11 Release
Jonathan S. Katz [Wed, 17 Oct 2018 00:16:29 +0000 (20:16 -0400)]
Allow for blue section headers for tables in older documentation.
Some of the loaded documentation uses "<b>" tags instead of "<p>"
tags, so this accounts for those documents.
Jonathan S. Katz [Wed, 17 Oct 2018 00:01:55 +0000 (20:01 -0400)]
Make section headers for tables in documentation more clear.
Ensure the section headers for tables in the documentation are both
blue and bold.
Jonathan S. Katz [Tue, 16 Oct 2018 14:39:34 +0000 (10:39 -0400)]
Title case for "Events Archive" "Upcoming Events" & "Latest News"
Jonathan S. Katz [Tue, 16 Oct 2018 14:35:47 +0000 (10:35 -0400)]
Fix text on CTA buttons.
The anchor tag updates were overriding the font color on the CTA buttons. This
ensures that they should not be overriden.
Author: Sarah Conway
Jonathan S. Katz [Tue, 16 Oct 2018 14:30:05 +0000 (10:30 -0400)]
Ensure "Versioning Policy" is titlecased.
Jonathan S. Katz [Tue, 16 Oct 2018 14:20:37 +0000 (10:20 -0400)]
Ensure all navigation URLs match top nav colors.
This should create more consistency for the navigation experience.
Jonathan S. Katz [Tue, 16 Oct 2018 14:13:28 +0000 (10:13 -0400)]
Use title-casing on the homepage banner.
This was affected by the patch that stopped automatically uppercasing
all banners.
Sarah Conway [Thu, 11 Oct 2018 20:01:29 +0000 (13:01 -0700)]
Apply modern pgweb styles to web-based documentation.
This patch brings the web-based documentation to match the current styles
on the main postgresql.org website. The CSS supports the generated markup
from the main PostgreSQL documentation and supports the new/old class
that are visible in the documentation (e.g. uppercase classes pre-v10).
Authors: Sarah Conway, Jonathan Katz
Jonathan S. Katz [Sun, 16 Sep 2018 20:32:12 +0000 (16:32 -0400)]
Modify preformatted block / code styles.
Based on feedback, this should help readability.
Author: Sarah Conway
Jonathan S. Katz [Sun, 16 Sep 2018 20:30:06 +0000 (16:30 -0400)]
Apply padding to shoutbox for larger screen sizes.
Prior to this, there was limited padding on the shoutbox and it would look
smushed.
Author: Sarah Conway
Jonathan S. Katz [Sun, 16 Sep 2018 21:24:26 +0000 (17:24 -0400)]
Updated color of anchor tags in body of site.
This should allow more distinction between main content and clickable
URLs.
Authors: Sarah Conway, Jonathan Katz
Jonathan S. Katz [Sun, 16 Sep 2018 20:28:14 +0000 (16:28 -0400)]
Change global site font color.
This should make the text crisper and easier to read on the entire site.
Author: Sarah Conway
Jonathan S. Katz [Sun, 16 Sep 2018 20:47:56 +0000 (16:47 -0400)]
Update font and style for headers.
The global headers by default were uppercase and at times were challenging to
read. This modification sets the font to be the same throughout the entire site,
and allows the text author to decide whether or not content should be
capitalized.
Author: Sarah Conway
Jonathan S. Katz [Mon, 15 Oct 2018 21:55:43 +0000 (17:55 -0400)]
Fixed broken URL to presskit on the "Press" page.
This was inadvertently during the removal of the legacy URLs.
Magnus Hagander [Fri, 12 Oct 2018 11:53:59 +0000 (13:53 +0200)]
Retire some legacy URL redirects
Some of this goes back to the old website, and some goes back even
further. Clean some up, leave those that are still clearly in use.
Jonathan S. Katz [Tue, 9 Oct 2018 13:12:23 +0000 (09:12 -0400)]
PostgreSQL 11 RC 1 release.
Jonathan S. Katz [Tue, 9 Oct 2018 01:28:03 +0000 (21:28 -0400)]
Provided additional language on the "Testing" page.
Additional guidance on what the content on this page is for and how
to work with the unstable builds.
Jonathan S. Katz [Mon, 8 Oct 2018 16:18:47 +0000 (12:18 -0400)]
Remove "Regional Press Contacts" page
Press enquiries are consolidated to the press@postgresql.org mailing
list. This will cut down on the administrative overhead for the
sysadmins team as well as for future work on the press release process
itself.
Jonathan S. Katz [Mon, 8 Oct 2018 15:55:49 +0000 (11:55 -0400)]
Rewrite of some language on "Beta Information page"
Primarily, this is to help more clearly define what a release candidate
is and isn't, but also took the time to add more clarifying language
around the beta process, what to expect, and what the community needs.
Magnus Hagander [Tue, 25 Sep 2018 08:52:35 +0000 (10:52 +0200)]
Oops, fix generated messageid to include <>
Magnus Hagander [Mon, 24 Sep 2018 20:50:17 +0000 (22:50 +0200)]
Generate bug-specific messsageids when generating bug reports
This makes the messageids shorter and easier to identify when linking to
them in the archives.
Stephen Frost [Mon, 24 Sep 2018 14:04:49 +0000 (10:04 -0400)]
Update references for NOTIFICATION_EMAIL
This updates various references to use NOTIFICATION_EMAIL, since that's
what we actually send the emails too.
Also change the moderators group to be 'pgweb moderators'.
Stephen Frost [Thu, 20 Sep 2018 14:40:40 +0000 (10:40 -0400)]
Fix pgsql-docs address
The pgsql-docs mailing list is now pgsql-docs@lists.postgresql.org,
update the docsbug page to refer to that address.
Stephen Frost [Thu, 20 Sep 2018 14:38:11 +0000 (10:38 -0400)]
Fix pgsql-bugs address
The pgsql-bugs mailing list is now pgsql-bugs@lists.postgresql.org,
update the support page to refer to that address.
Jonathan S. Katz [Thu, 20 Sep 2018 01:13:33 +0000 (21:13 -0400)]
PostgreSQL 11 Beta 4 release
Jonathan S. Katz [Thu, 20 Sep 2018 00:56:23 +0000 (20:56 -0400)]
Additional adjustments to language on versioning page.
"Release History" => "Releases"
"Expected Final Release" => "Final Release"
Jonathan S. Katz [Tue, 18 Sep 2018 20:04:29 +0000 (16:04 -0400)]
Modify version policy language to be more clear about how releases occur.
In essence, a release is supported until its 5 year anniversary, and
will receive one additional set of fixes after that. This is inline
with what we are currently doing, but should help make it more clear.
Dave Page [Tue, 18 Sep 2018 10:16:48 +0000 (11:16 +0100)]
Publish the COC.
Jonathan S. Katz [Sat, 15 Sep 2018 15:19:20 +0000 (11:19 -0400)]
Add `list_filter` to Feature admin.
This makes it easier to look at features in particular groups.
Jonathan S. Katz [Fri, 14 Sep 2018 13:21:22 +0000 (09:21 -0400)]
Language cleanups and answer updates to FAQ page.
Includes adddition/removal of companies with cloud & clustering solutions.
Jonathan S. Katz [Wed, 12 Sep 2018 16:44:22 +0000 (12:44 -0400)]
Disallow minor version numbers in URLs for security page.
Jonathan S. Katz [Thu, 6 Sep 2018 14:13:47 +0000 (07:13 -0700)]
Clarifying language on how PGDG supports a project and EOL date => EOL month.
Jonathan S. Katz [Mon, 3 Sep 2018 02:58:20 +0000 (22:58 -0400)]
Remove extra "</div>" in base template.
Jonathan S. Katz [Fri, 31 Aug 2018 14:51:56 +0000 (10:51 -0400)]
Add ability to search over feature matrix features in admin.
Jonathan S. Katz [Fri, 31 Aug 2018 14:49:15 +0000 (10:49 -0400)]
Admin enhancements to make it easier to work with feature matrix.
This exposes more fields in the admin to understand how feature groups are
being ordered.
Jonathan S. Katz [Fri, 24 Aug 2018 12:58:18 +0000 (08:58 -0400)]
Have the mailing list URL on the support page go to /list/
Previously was going to PGLister, which was confusing. This now conforms
to the previous behavior.
Magnus Hagander [Tue, 14 Aug 2018 11:37:23 +0000 (13:37 +0200)]
Allow empty 'next' link when asking for community auth consent
Per crashdump
Jonathan S. Katz [Thu, 9 Aug 2018 13:26:39 +0000 (09:26 -0400)]
Instructions to download Beta 3 source code, not Beta 2
Jonathan S. Katz [Thu, 9 Aug 2018 13:25:40 +0000 (09:25 -0400)]
Update August 2019 roadmap date to be in 2019
Jonathan S. Katz [Wed, 8 Aug 2018 20:29:54 +0000 (16:29 -0400)]
2018-08-09 cumulative release.
This includes the release details for 10.5, 9.6.10, 9.5.14, 9.4.19,
and 9.3.24, as well as 11 beta 3.
Magnus Hagander [Mon, 16 Jul 2018 09:31:21 +0000 (11:31 +0200)]
Update purge hook for non-template updates
For /media/ changes, generate a classic purge based on the URL. For
anything tha'ts not templates *or* media, just don't generate any purges
at all (of course).
Magnus Hagander [Mon, 16 Jul 2018 09:19:03 +0000 (11:19 +0200)]
Update commit count
(Yes, mainly to test the previous commit)
Magnus Hagander [Mon, 16 Jul 2018 09:10:42 +0000 (11:10 +0200)]
Add a purgehook script that will auto-purge pages on git push
This will integrate with the gitdeployer script to automatically purge
pages using specific templates using the xkeys that were added some time
ago.
Magnus Hagander [Fri, 6 Jul 2018 13:32:50 +0000 (15:32 +0200)]
Make the varnish purge admin form nicer
Have the output list the actual type of purge instead of just they
keycode, and add possibility to purge both expressions and xkey.
Magnus Hagander [Fri, 6 Jul 2018 13:32:14 +0000 (15:32 +0200)]
Teach varnish purging code about xkey purges
It's just another type of purge, so it's added as an extra option with
'K' as the key (as 'X' was already taken).
Magnus Hagander [Fri, 6 Jul 2018 13:08:36 +0000 (15:08 +0200)]
Fix function signatures of varnish sql funcs in dev env
This should be the same as are used in the prodiction. We don't use them
in a way that has any effect on this today, but in case we do in the
future.
Magnus Hagander [Wed, 4 Jul 2018 17:40:34 +0000 (19:40 +0200)]
Handle OAuth providers that return NULL for first or last name
We already handled those that returns empty, but it appears that at
least Microsoft can also return null/None. If those show up, just treat
them as empty.
Magnus Hagander [Wed, 4 Jul 2018 17:40:16 +0000 (19:40 +0200)]
Fix comment typo
Jonathan S. Katz [Mon, 2 Jul 2018 23:13:24 +0000 (19:13 -0400)]
Added "PostgreSQL for Beginners" book.
Magnus Hagander [Fri, 29 Jun 2018 17:40:45 +0000 (19:40 +0200)]
Pass pg context to render when rendering static pages
This is where we set both the gitrev and the do_esi, both of which are
needed. This means that gitrev has been broken on static pages since
forever - oops.
Magnus Hagander [Fri, 29 Jun 2018 17:22:56 +0000 (19:22 +0200)]
Add debugging comment in non-esi ouptut
Magnus Hagander [Fri, 29 Jun 2018 17:16:31 +0000 (19:16 +0200)]
Oops, remove debugging code
Magnus Hagander [Fri, 29 Jun 2018 15:59:26 +0000 (17:59 +0200)]
Move "blue topbar" to ESI page
Magnus Hagander [Fri, 29 Jun 2018 15:59:04 +0000 (17:59 +0200)]
Add support for doing ESI on pages in Varnish
Magnus Hagander [Thu, 26 Apr 2018 18:21:01 +0000 (20:21 +0200)]
Add support for automatic template based xkey
This adds an xkey header to all outgoing requests with the hash of the
name of all templates loaded. In the future we will be able to use this
to purge "all pages that included a specific template", regardless of
where in the hierarchy it was loaded.
Do this by faking a template loader that never finds anything -- but it
will record the path of the template that it tried to load, and then
leave it to another template loader to actually load it. Store this in
thread local storage (it's a bit ugly, but it's the only thing Django
supports for storing things at the request level from a template
loader), and fetch it from the middleware.
Magnus Hagander [Fri, 29 Jun 2018 11:39:43 +0000 (13:39 +0200)]
Remove unused variable references