Commit Graph

745 Commits

Author SHA1 Message Date
9befb73a3a add new book in russian - per request from Alexey Vasiliev on -www 2014-09-21 20:43:37 +02:00
35336e318a Oops, it would appear that date is in two places 2014-07-24 13:01:26 +02:00
cfca6ddb0b Update the date of beta2 as well... 2014-07-24 12:34:44 +02:00
48690d712a Update for 9.4beta2 2014-07-24 12:22:08 +02:00
21f6071417 Include links to beta documentation under manuals 2014-07-24 11:46:00 +02:00
c6c43c1689 Implement user searching in the community auth system
This lets downstream systems securely search for users that are in
the system, so they can populate their local database with users
before they have logged in if necessary. This can be used for example
for the commitfest management system to be able to flag users as
authors and reviewers even before they have logged in.
2014-07-19 15:12:27 +02:00
e839e38976 Sync up auth demo plugin with what's actually used
The newer version is at least used by the pgeu system and by the
new commitfest one, and has some fallback for the duplicate-email
issue.
2014-07-19 15:12:27 +02:00
fa3bc9b2ad Add a link to the archives policy. 2014-07-18 16:29:40 +01:00
83dd724d3d Do not allow admin users to modify a username after it has been created
This involves some changes to how the default Django UserAdmin is handled with
respect to saving the form, but we simply override the changes to keep all
of the default Django functionality intact, minus allowing a username to be
modified on edit.
2014-06-26 10:47:17 -04:00
596520ba13 Implement workaround for django bug #15152 for badly encoded URLs
Hopefully this will stop the system spamming us..
2014-06-03 09:26:48 +02:00
8c4898e988 Give a 404 error when trying to load docs version 0.0
Noted by Josh Kupershmidt
2014-05-28 19:52:03 +02:00
9796310942 update apt.postgresql.org key with an extended lifetime till 2019 to cover
Ubuntu trusty per Christoph Berg
2014-05-26 17:08:53 +02:00
1a104cc0f2 Add support for sorting search results by reverse date
This obviously only applies to mail search, but now lets you search
in a way to get the oldest possible hit first.

Request from Tom Lane
2014-05-23 16:46:37 -04:00
06c37ea657 further clarified sentence wording on beta testing page 2014-05-17 00:37:59 -04:00
0241c93165 fixed language on the developer/beta page 2014-05-17 00:12:57 -04:00
1432dd7d28 Add 9.4 to the feature matrix 2014-05-15 16:27:39 +02:00
257e9f624b Fix title and a URL 2014-05-15 14:48:33 +01:00
05ac6ba933 v9.4 Beta 1 2014-05-15 14:06:59 +01:00
d00f61fd7f Fixed URL on document index page to point to 9.3 release
Fixed the "what's new" URL on the document index page to
point to the 9.3 release.

Issue discovered by and fixed by Euler Taveira
2014-05-13 11:54:16 -04:00
98f79d39c2 Allow professional services to be searchable in the admin
Enables an admin to search over professional services, and additionally
filter the services by whether or not they are approved.
2014-04-30 08:13:37 -04:00
478bc1a4fe Fix git pull from the wrong directory :O 2014-04-13 14:59:47 +02:00
40d3ed798e IP restrictions don't currently work on SSL
Since we pipe all SSL through frontends, and explicitly reject directly
accessing the main host. However, this call has no payload, so we can
safely allow it without SSL through the frontends. Do that for now, while
we should look at fixing the SSL issue sometime in the future
2014-04-13 14:53:48 +02:00
7986232ce5 Reorder update script to pull static repo first
Prior to this, the static repo would only update if there were
*some* changes in the main repo, which clearly wasn't intended.

Also, shorten the forced delay to 10 seconds.
2014-04-13 14:16:31 +02:00
b39a87fa5f Add API url that drops a trigger file for updates
The idea is a git repository hook will send a POST to this URL, which
will drop a trigger file somewhere. A cronjob (or inotify listener if
we want to be really fancy sometiem in the future) will pick up that
cronjob and run the update script. The goal being to shorten the time
required to process an update.
2014-04-13 14:11:19 +02:00
86fdf3539a Fix spelling error in comments 2014-04-13 14:06:09 +02:00
bf6e7a81c0 Fix accidentally swapped CVE numbers
Reported by Steve Christey Coley
2014-03-28 19:21:23 +01:00
e75b927122 Fix date. 2014-03-20 14:13:57 +00:00
dbe0efe27b PostgreSQL updates 9.3.4, 9.2.8, 9.1.13, 9.0.17, and 8.4.21 released 2014-03-20 14:11:16 +00:00
e495cae03c Replace locally-hosted jQuery with CDN-hosted version. 2014-03-15 14:35:59 +00:00
abeaa24106 Remove hardcoding of list of unsupported versions
Instead, query it from the database, so that it's properly updated when
a new release goes out of support.
2014-03-15 15:03:24 +01:00
92d2b72c15 Add filters to feature matrix.
As the feature matrix is useful for seeing how far PostgreSQL has come, we
still want to keep older versions on display.  However, this is causing
problems displaying the newer versions on smaller screens.

This change adds a filter which only shows supported versions by default,
and allows folk to choose which versions they wish to compare.  This will
have no effect on browsers with Javascript disabled.
2014-03-13 15:26:19 +00:00
ffaccf95c0 Fix indentation
Yay for spaces vs tabs!
2014-03-01 14:08:43 -05:00
07902d6eda Remove obvious debugging code left in 2014-03-01 14:06:56 -05:00
1be7fe8e0c the sorting in the ftpbrowser for source tarballs has always been odd,
this is a small hack to make it better for the most common usecases...
2014-02-28 21:51:50 +01:00
5ace77f1d9 avoid creating a header field with a completely empty value, should
reduce the chance that SA is getting confused on it
2014-02-28 20:53:31 +01:00
2f8d17b4cd Update GSoC page now that we've been approved for participation. 2014-02-24 18:53:38 +00:00
36b32a50f3 2014-02-20 releases. 2014-02-20 14:44:01 +00:00
b3c83d7452 Correct which version of django is used (and is in Wheezy)
Vik Fearing
2014-02-18 19:52:28 +01:00
0bf1aa2530 Actually commit the changes to the summer of code page this time. 2014-02-14 10:15:15 +00:00
8337b19569 Archive GSoC 2013 and update all dates and links for 2014. 2014-02-14 09:23:12 +00:00
78c698c180 Remove links to smaller/normal text size
This functionality is already implemented in browsers, there is no need
for us to have our own implementation.
2014-02-09 13:58:34 +01:00
88f81115f4 Fix (hopefully) unicode encodings in moderation messages
It worked perfectly fine to have unicode in text fields, but if there
were unicode characters in one of the dropdown fields, then sometimes
it would not be possible to save the entries since the moderation email
generation would crash even if they run through the same codepath.

Hopefully this fix will take care of some of the random errors that have
shown up with submissions - there might be more issues like it around the
code, however.
2014-02-08 17:30:07 +01:00
16fd7d43e9 Truncate titles to 128 characters
That's all we can store in the database anyway...
2014-01-17 10:40:46 +01:00
4c058a0013 Add Message-Id header to emails
The previous code, which was submitting locally, apparently didn't
need to provide a Message-Id header.  However, now that we're
directly submitting to a remote system, we need to make sure that
a Message-Id header exists or the emails will get bounced.

In addition, the Python docs for this module state that Message-Id
is really one of the required fields anyway.  It's unclear how many
real bugs we lost because of this, but I got involved when there
was complaining on IRC that a bug submitted didn't show up on the
-bugs list.

In case folks are wondering why I'm committing/pushing this (or how),
I've already fixed this on wrigleys (thanks to Andrew Gierth for
helping me debug and test the changes) and subsequently gave myself
access to this repo, to get this commit in, before anyone else
commits and overwrites my local hacks and breaks the bugs form again.
2014-01-12 22:49:41 -05:00
bfa9b2a105 Track which emails are "user generated" for different antispam treatment
Basically, user generated email (bug report form) will be sent to the mail
frontends for antispam. Any errors generated there will be ignored and
the mails "dropped on the floor". Other emails keep entering the system
through localhost and delivered there.
2014-01-11 20:46:48 +01:00
6d250eb7aa Add the Postgres Succinctly book. 2014-01-11 15:44:50 +00:00
8f0b7e6b50 Switch email sending go through a queue table in the database
Import the code from the PostgreSQL Europe website to handle this, since it's
well proven by now.

Any points that send email now just write them to the database using the
functions in queuedmail.util. This means we can now submit notification
emails and such things within transactions and have them properly roll bcak
if something goes wrong (so no more incorrect notifications when there is
a database error).

These emails are picked up by a cronjob that runs frequently (typically
once per minute or once every 2 minutes) that submits them to the local
mailserver. By doing it out of line, this gives us a much better way of
dealing with cases where mail delivery is really slow.

The submission from the cronjob is now done with smtp to localhost instead
of opening a pipe to the sendmail command - though this should have no
major effects on anything.

This also removes the setting SUPPRESS_NOTIFICATIONS, as no notifications
are actually ever sent unless the cronjob is run. On development systems
they will just go into the queuedmail table, and can be deleted from there.
2014-01-11 12:33:06 +01:00
c2b6d459e9 Wrong order of decorators
We really need to clean the code up so this does not matter...
2014-01-02 12:04:54 +01:00
048a17ae4b Don't redirect dynamic CSS from https to http
This can break things (d'uh).

Do this by introducing a new decorator, @ssl_optional. When this is
present, no SSL redirection will happen, regardless of whether the
access comes in over http or https.

This decorator overrides @ssl_required, but for redability's sake,
never use both at the same time.
2014-01-02 12:00:32 +01:00
137d4295f3 Remove unused code causing warnings 2014-01-01 16:41:27 +01:00