Commit Graph

1046 Commits

Author SHA1 Message Date
ad33b3bb50 Remove left-over debugginng code
Commented out, but should be removed anyway.
2017-05-02 10:44:55 +02:00
afe95ae2fd Strip trailing slashes from symlinks
This avoids double slashes and issues they cause in the ftp browser.

Daniel Gustafsson
2017-05-02 10:40:51 +02:00
fb8ab1c4c5 Remove duplicate closing of </style>
Noted by Peter Eisentraut
2017-04-14 21:37:50 +02:00
d7957a214d Fix font adjustment for double-code embedding
Add additional CSS injection to prevent code tag embedded in code tag
from having its font size adjusted twice.

Discussion: https://postgr.es/m/20170408015201.GA18573@momjian.us
2017-04-14 20:45:12 +02:00
82c28b2b18 Disallow creation of user accounts with @ and _
Mediawiki is just too limiting in which characters it supports, and
having to rename users once they eventually want to do things with the
wiki is getting out of hand. So we limit the global system to the
silliest common denominator, which at this point appears to be
mediawiki.
2017-04-14 17:17:32 +02:00
b6147645d7 Adjust selectors for table style in docs
Older DocBook XSL stylesheets don't have a class on the table element,
but all versions have a surrounding div element with class "table", so
use that instead.
2017-04-12 13:29:07 +02:00
f2065d1e1a Improve admonitions style in new docs
Make admonitions (tip, note, caution, warning) style under XSLT more
similar to previous style.  Previously, tip and note were blockquotes
and caution and warning were tables.  Now everything is just a div.
2017-04-12 13:29:07 +02:00
c513457da7 Make h2 orange in the documentation in new docs
With the XSLT stylesheets, most chunk headings are not h2 instead of
formerly h1, so make h2 orange as well to match the previous style.
2017-04-12 13:29:07 +02:00
b5de3cb8c6 Add PostgreSQL High Performance Cookbook. 2017-04-11 09:49:49 +01:00
c2359941f4 Update "Working with PostgreSQL" book to second edition
Alexey Vasiliev
2017-04-10 14:06:27 +02:00
38a9d1bf2f Fix old typo in function name 2017-04-02 16:48:27 +02:00
d9744cba44 First stab at supporting https for generic sites
Previously only the main website search supported it, which was less
than great for community sites that are now https only.
2017-04-02 16:47:02 +02:00
3408963404 Set textsearch weight on the title of a page 2017-04-02 15:26:36 +02:00
7d46e18363 Explicitly specify the tsearch configuration to use
The main reason this didn't work before was because of server dictionary
configuration, not because of the code. But make it explicit so we're
not relying on session level settings.
2017-04-02 15:15:21 +02:00
1ff67bd26e Seems we'v ebroken the "pg" fts config, so disable temporarily 2017-03-23 17:15:58 +01:00
84eba95dcc Don't break when suburl is not specified 2017-03-23 17:08:41 +01:00
1d6aae3d56 Add support for searching in internal pages
In particular, this re-enables the ability to search in the developer
docs
2017-03-23 17:03:56 +01:00
67d35fca30 New column is isinternal, not internal 2017-03-23 16:43:12 +01:00
42e64878bf Move a bunch of initialization to the parse step
We probably need to clean up more internal state in expat between the
calls.
2017-03-23 16:39:03 +01:00
7edb14284d Teach search crawler about internal sitemap
We only support it for our main website, which uses a sitemap, so
implement it only for that provider. And always probe
sitemap_internal.xml, since we don't even try to access any external
sites on it.
2017-03-23 16:31:39 +01:00
428f299f48 Generate internal sitemap including devel docs
We'll use this to index some things in our own search engine without
exposing it to external sitemap parsers. Not from a security standpoint
of course, but something that will lead to it being possible to search
the devel docs again.
2017-03-23 12:11:22 +01:00
30134cb164 Add PostgreSQL High Availability Cookbook 2nd Edition to the book list. 2017-03-09 09:11:53 +00:00
917b39c2eb Ignore PyCharms project files. 2017-03-09 09:04:38 +00:00
3030b9fb90 Avoid generating empty <ul> tag when no navmenu exists 2017-03-07 22:38:20 -05:00
8c1fc04256 Properly set checked="checked" attribute in search form 2017-02-26 16:14:08 +01:00
e631ebbc37 Trap invalid URLs for submission forms
I still haven't figured out where these come from, but generate a proper
404 when the URL is malformatted rather than trying to render it and
crash with an exception
2017-02-26 16:09:36 +01:00
ce5fa507be Trap SSLError when calling search API
Since we moved to https, timeouts can either be at the socket level or
at the SSL level, so trap both those and give a nicer error than a 500.
2017-02-22 13:21:27 +01:00
e010fa8557 Update roadmap for minor releases
Probably past time to adjust the roadmap for Upcoming minor
releases to account for the Feb 9 2017 releases.

Remove Feb 9 2017, add Feb 8 2018 to the bottom of the list.
2017-02-19 18:17:33 -05:00
7d5fe7dbbb Replace references to OSX with macOS 2017-02-18 19:38:45 +01:00
3ba7ead866 Disable clean flag in tidy calls on new XML based docs build
Let's see if this cleans up some unintentional formatting
2017-02-18 14:09:57 +01:00
097fdce64c Detect both http and https links in feature matrix links
We shouldn't have any http now, and the db will be updated to have only
https, but for safety accept both.

Based on a patch from Daniel Gustafsson
2017-02-18 13:34:11 +01:00
418f34b476 Update for apt repository key
From Christoph Berg
2017-02-15 21:00:04 +01:00
bdbc3a5ce7 Fix markup 2017-02-15 17:30:17 +01:00
e01d81f04e Remove mention of Alpha releases on download page
Commit 42e6854 removed the information on Alpha releases are they
are no longer provided, remove one leftover mention on the download
page.
2017-02-15 17:28:42 +01:00
4d08a6755e Close the opened div containing survey results 2017-02-15 17:27:32 +01:00
fcd64fe0ca And now fix the date 2017-02-09 14:08:34 +00:00
f0c8776aa9 Fix callout title 2017-02-09 14:06:48 +00:00
aec269004c Update for 9.6.2, 9.5.6, 9.4.11, 9.3.16, and 9.2.20 releases 2017-02-09 14:01:15 +00:00
c7bcf81053 Properly close blocks
Close two blocks which when left open cause lots of validation
errors on the page. This change should have no visible changes
as all browsers should've fixed the broken markup while redering.
2017-02-09 07:34:02 -05:00
bb2a33aed3 Archive GSoC page for 2016 and update to 2017. 2017-02-08 22:35:48 -05:00
ea2cb3594a Fix block-level nesting on event list
Replace the <p> element wrapping the rendered event summary with a
<div> since the markdown filter renders <p> elements causing nested
block-levels inside <p>.
2017-02-06 18:40:05 +01:00
0dfe59d111 Use https for git.postgresq.org
As a follow-up to 5335110812, move all
git.postgresql.org links on developer/backend to https.
2017-01-29 13:34:13 +01:00
083c7e4414 Change xhtml namespace back to http
URL is working in itself, but the namespace is a diffeent thing from a
webpage.
2017-01-29 13:32:17 +01:00
6dd35ab88e Fix old presskit typos 2017-01-28 21:46:01 +01:00
88a4256eb2 Fix "what's new" link to point to 9.6 2017-01-28 11:07:47 +01:00
1c1bdd3211 Added "PL/pgSQL y otros lenguajes procedurales en PostgreSQL" to books 2017-01-19 15:00:34 -05:00
58f1b13eb8 Archives search need to be https by default 2017-01-07 17:51:07 +01:00
140bbc2b22 Update 2ndQuadrant sponsor logo 2017-01-04 12:19:42 +01:00
59bb64f409 Fix notifications for ForeignKey fields
Instead of reporting the integer value of the foreign key, we should
report the text value from the related object. This makes the new
submissions more readable, and also makes the system not throw an
exception when trying to diff (as integers cannot be diffed).

THis seems to have broken around the time of the 1.8 upgrade, just went
unnoticed for a long time probably because changing things like which
organization owns a news item doesn't happen very often.
2016-12-17 14:28:01 +01:00
cb8fd07fd7 Don't pretend that notifications for m2m works
They don't... And there is no easy way to make them work either, given
the way that signals are called for m2ms.
2016-12-17 14:25:55 +01:00