pgcommitfest2.git
7 years agoFix incorrect markup
Daniel Gustafsson [Tue, 20 Jun 2017 06:52:13 +0000 (08:52 +0200)]
Fix incorrect markup

7 years agoProperly close <form> tag.
Daniel Gustafsson [Tue, 20 Jun 2017 06:50:23 +0000 (08:50 +0200)]
Properly close <form> tag.

8 years agoFix header encoding for To and Cc as well
Magnus Hagander [Sat, 11 Mar 2017 18:33:08 +0000 (13:33 -0500)]
Fix header encoding for To and Cc as well

Patch in 2e41b31654b80aeb3e6037fc0b31422c951040c7 only handled From and
missed the ohher tields. To make this cleaner, move the escpaping code
into the UserWrapper class.

Reported by Dagfinn Ilmari Mannsåker, but not using his patch

8 years agoMake http links to the main website be https
Magnus Hagander [Thu, 9 Mar 2017 21:15:26 +0000 (16:15 -0500)]
Make http links to the main website be https

8 years agoProperly handle UTF8 in sender names in emails
Magnus Hagander [Tue, 28 Feb 2017 12:43:08 +0000 (13:43 +0100)]
Properly handle UTF8 in sender names in emails

We need to treat them as structured and escape only the name, not the
email part.

Reported by Dagfinn Ilmari Mannsåker

8 years agoFix incorrect parameter name
Magnus Hagander [Mon, 16 Jan 2017 09:20:20 +0000 (10:20 +0100)]
Fix incorrect parameter name

This changed back when we upgraded django, but this error path is
clearly very seldomly hit.

8 years agoFully qualify parameters to HTTPConnection/HTTPSConnection
Magnus Hagander [Sat, 7 Jan 2017 13:19:01 +0000 (14:19 +0100)]
Fully qualify parameters to HTTPConnection/HTTPSConnection

They go in different orders in the two, so fully specify them to make it
super clear.

8 years agoAttempt to support https in calls to archives
Magnus Hagander [Sat, 7 Jan 2017 13:09:23 +0000 (14:09 +0100)]
Attempt to support https in calls to archives

8 years agoAdd a README describing basic setup etc.
Peter van Hardenberg [Fri, 16 Dec 2016 09:20:56 +0000 (09:20 +0000)]
Add a README describing basic setup etc.

8 years agoFix django version in requirements.txt
Magnus Hagander [Fri, 2 Dec 2016 08:00:21 +0000 (17:00 +0900)]
Fix django version in requirements.txt

9 years agoCC authors of patches on comments and reviews
Magnus Hagander [Wed, 6 Apr 2016 15:45:27 +0000 (17:45 +0200)]
CC authors of patches on comments and reviews

This adds the Cc field when using the Review or the Comment function on
the website, and will add a list of all listed authors of the patch to
this. Should help people highlight it in their inboxes.

Suggested by José Luis Tallón

9 years agoAnd from the main editing form. Oops.
Magnus Hagander [Thu, 10 Mar 2016 13:23:28 +0000 (14:23 +0100)]
And from the main editing form. Oops.

9 years agoSubscribers should be excluded from new patches form
Magnus Hagander [Thu, 10 Mar 2016 13:22:19 +0000 (14:22 +0100)]
Subscribers should be excluded from new patches form

9 years agoMaintain patch status when moving to next CF
Magnus Hagander [Wed, 2 Mar 2016 13:39:17 +0000 (14:39 +0100)]
Maintain patch status when moving to next CF

So a patch that's in "ready for committer" status remains there.

When doing this, also refuse to move any patches that are not either
"waiting for review" or "ready for committer". They will have to have
their existing status changed first, and then be moved.

9 years agoDon't crash on subscribers without a profile
Magnus Hagander [Sat, 27 Feb 2016 14:21:02 +0000 (09:21 -0500)]
Don't crash on subscribers without a profile

9 years agoDon't crash with committers without user profiles
Magnus Hagander [Mon, 15 Feb 2016 09:38:31 +0000 (10:38 +0100)]
Don't crash with committers without user profiles

Userprofiles aren't set for everbody, so catch a missing exception and
just ignore it since we know a user without a profile didn't specifically
ask to get notified (as that's stored in the profile).

9 years agoAdd simple updating script
Magnus Hagander [Sat, 13 Feb 2016 11:59:16 +0000 (12:59 +0100)]
Add simple updating script

Intended to be run manually, but to make life easier at least.

9 years agoImplement notifications
Magnus Hagander [Fri, 12 Feb 2016 17:03:26 +0000 (18:03 +0100)]
Implement notifications

This makes it possible to receive notifications (via email) when a patch
has been updated.

It's possible to subscribe to notifications on a specific patch. It is also
possible to set the user profile up so that one receives notifications for
all patches where one is author, reviewer or committer on.

Notifications are, of course, only sent when other people make modifications
to the entry.

9 years agoAdmin view for user profiles
Magnus Hagander [Fri, 12 Feb 2016 15:58:45 +0000 (16:58 +0100)]
Admin view for user profiles

9 years agoAdd initial django migrations for all apps
Magnus Hagander [Fri, 12 Feb 2016 14:44:05 +0000 (15:44 +0100)]
Add initial django migrations for all apps

Should've been done with the migration to django 1.8, but better late
than never...

9 years agoShow if a committer is active in the admin view
Magnus Hagander [Fri, 12 Feb 2016 14:41:50 +0000 (15:41 +0100)]
Show if a committer is active in the admin view

9 years agoUse OneToOne field instead of unique foreign key
Magnus Hagander [Fri, 12 Feb 2016 14:40:39 +0000 (15:40 +0100)]
Use OneToOne field instead of unique foreign key

Newer djangos give warnings about this...

9 years agoAdd button for New Patch to top of page
Magnus Hagander [Tue, 9 Feb 2016 12:59:50 +0000 (13:59 +0100)]
Add button for New Patch to top of page

Per request during Brussels developer meeting

9 years agoLink status entries to the patch in the individual commitfest
Magnus Hagander [Tue, 2 Feb 2016 15:45:27 +0000 (16:45 +0100)]
Link status entries to the patch in the individual commitfest

As requested by Jim Nasby and Alvaro Herrera

9 years agoProperly show login info on report page
Magnus Hagander [Wed, 20 Jan 2016 21:26:47 +0000 (22:26 +0100)]
Properly show login info on report page

9 years agoAdd report showing author/reviewer stats
Magnus Hagander [Wed, 20 Jan 2016 21:23:15 +0000 (22:23 +0100)]
Add report showing author/reviewer stats

Grouped by each contriubtor, show which patches this person is the
author and reviewer of, to compare how many of each people have.

9 years agoFully qualify more imports
Magnus Hagander [Wed, 6 Jan 2016 16:35:31 +0000 (17:35 +0100)]
Fully qualify more imports

9 years agoNew way for django standalone scripts
Magnus Hagander [Wed, 6 Jan 2016 16:35:23 +0000 (17:35 +0100)]
New way for django standalone scripts

9 years agoAdd a symlink that seems to now be required
Magnus Hagander [Wed, 6 Jan 2016 16:17:23 +0000 (17:17 +0100)]
Add a symlink that seems to now be required

9 years agoProperly require login for lookup
Magnus Hagander [Wed, 6 Jan 2016 15:35:50 +0000 (16:35 +0100)]
Properly require login for lookup

9 years agoReplace on_success_commit with atomic
Magnus Hagander [Wed, 6 Jan 2016 15:34:50 +0000 (16:34 +0100)]
Replace on_success_commit with atomic

9 years agoFix default url import namespace
Magnus Hagander [Wed, 6 Jan 2016 15:34:31 +0000 (16:34 +0100)]
Fix default url import namespace

9 years agoUpdate default settings as required in 1.8
Magnus Hagander [Wed, 6 Jan 2016 15:34:21 +0000 (16:34 +0100)]
Update default settings as required in 1.8

9 years agoFix import that has always been correct
Magnus Hagander [Wed, 6 Jan 2016 15:33:45 +0000 (16:33 +0100)]
Fix import that has always been correct

Somehow this worked on 1.4, probably by accident

9 years agoFully qualify imports
Magnus Hagander [Wed, 6 Jan 2016 15:33:27 +0000 (16:33 +0100)]
Fully qualify imports

9 years agoSwitch simplejson to json
Magnus Hagander [Wed, 6 Jan 2016 15:31:49 +0000 (16:31 +0100)]
Switch simplejson to json

Avoids one import...
T#

9 years agoMove around manage.py and create wsgi.py for django 1.8
Magnus Hagander [Wed, 6 Jan 2016 15:28:25 +0000 (16:28 +0100)]
Move around manage.py and create wsgi.py for django 1.8

9 years agoImport a new version of django-selectable
Magnus Hagander [Wed, 6 Jan 2016 15:27:59 +0000 (16:27 +0100)]
Import a new version of django-selectable

Needed for django 1.8

9 years agoFix incorrect closing tag
Magnus Hagander [Sun, 3 Jan 2016 10:04:14 +0000 (11:04 +0100)]
Fix incorrect closing tag

Noted by Erik Rijkers

9 years agoFix colspan in patches table lists
Oleksandr Shulgin [Mon, 28 Dec 2015 11:20:13 +0000 (12:20 +0100)]
Fix colspan in patches table lists

Account for the Committer column added in 8495806.

9 years agoPut the correct color on labels in patch viewing
Magnus Hagander [Sat, 3 Oct 2015 16:40:22 +0000 (18:40 +0200)]
Put the correct color on labels in patch viewing

Pointed out by Andres that the original patch only did the CF
listing, and not the actual patch viewing.

9 years agoShow the start and end date of commitfests
Magnus Hagander [Wed, 2 Sep 2015 11:19:48 +0000 (13:19 +0200)]
Show the start and end date of commitfests

Per request

9 years agoDon't crash on redirect when multiple CFs are inprogress or open
Magnus Hagander [Mon, 31 Aug 2015 14:44:57 +0000 (16:44 +0200)]
Don't crash on redirect when multiple CFs are inprogress or open

This is an incorrect state, but we shouldn't crash anyway. Instead show
an error message and redirect to the root page.

Reported by Bruce Momjian

9 years agoDon't raise exceptions for "normal errors"
Magnus Hagander [Thu, 27 Aug 2015 07:53:38 +0000 (09:53 +0200)]
Don't raise exceptions for "normal errors"

Exceptions will not show the actual error message on the site, only
send an email to the admins with it. Thus, anything that can normally
happen due to a user error should not use that. Instead of that, use
the messages framework so it renders on the next page.

9 years agoRemove accidental debugging code
Magnus Hagander [Fri, 14 Aug 2015 10:34:51 +0000 (12:34 +0200)]
Remove accidental debugging code

9 years agoEnsure duplicate patches aren't created when an invalid msgid is entered
Magnus Hagander [Fri, 14 Aug 2015 10:34:39 +0000 (12:34 +0200)]
Ensure duplicate patches aren't created when an invalid msgid is entered

10 years agoRename "returned with feedback"->"move to next cf", add new "returned with feedback"
Magnus Hagander [Tue, 28 Apr 2015 16:05:46 +0000 (18:05 +0200)]
Rename "returned with feedback"->"move to next cf", add new "returned with feedback"

Returned with Feedback will now actually close the patch and *not* move it to
the next CF. Since it used to do that, all existing Returned with Feedback patches
are changed to Moved to next CF which does the same thing that Returned with
Feedback used to do. And of course, Moved to next CF is a new option available for
each patch from now on.

10 years agoReturn proper errorcodes from auth plugin
Magnus Hagander [Tue, 21 Apr 2015 12:46:02 +0000 (14:46 +0200)]
Return proper errorcodes from auth plugin

Instead of raising an exception which will cause both a server log
and an email to be sent, return a proper http 400 message when the
incoming authentication request is bad. This will also show the
proper error message to the client, instead of a generic internal
server error.

10 years agoAllow changing status of closed patches in last CF
Magnus Hagander [Tue, 17 Mar 2015 18:13:01 +0000 (19:13 +0100)]
Allow changing status of closed patches in last CF

Without this, once a patch was closed (rejected/committed etc),
it was no longer possible to undo that and reopen it.

We now allow this to be done in the very last commitfest a patch
is on. We cannot change it on a previous commitfest, as that could
end up with the patch being open in two CFs at the same time, but
there is no reason it shouldn't be doable in the last one.

10 years agoGive proper error message for too long annotations
Magnus Hagander [Sat, 14 Mar 2015 12:57:02 +0000 (13:57 +0100)]
Give proper error message for too long annotations

10 years agoUse different types of labels for different patch statuses
Tomas Vondra [Sat, 21 Feb 2015 18:05:45 +0000 (13:05 -0500)]
Use different types of labels for different patch statuses

This highlights the different statuses better in a long list.

10 years agoAdd the ability to copy/paste a msgid when creating an annotation
Magnus Hagander [Sun, 15 Feb 2015 11:23:51 +0000 (12:23 +0100)]
Add the ability to copy/paste a msgid when creating an annotation

10 years agoImplement simple message annotations
Magnus Hagander [Sat, 14 Feb 2015 12:07:48 +0000 (13:07 +0100)]
Implement simple message annotations

This feature makes it possible to "pull in" a message in a thread and highlight
it with an annotation (free text format). This will list the message in a table
along with the annotation and who made it.

Annotations have to be attached to a specific message - for a "generic" one it
makes sense to attach it to the latest message available, as that will put it
at the correct place in time.

10 years agoShow full name in patch history, not just username
Magnus Hagander [Sat, 14 Feb 2015 11:52:53 +0000 (12:52 +0100)]
Show full name in patch history, not just username

Noted by Stefan - we did this for everything except the patch history, so
let's make it consistent.

10 years agoHopefully fix RSS feeds for items with non-ascii
Magnus Hagander [Wed, 11 Feb 2015 19:17:28 +0000 (20:17 +0100)]
Hopefully fix RSS feeds for items with non-ascii

10 years agoCollect and show attachment filenames
Magnus Hagander [Sun, 8 Feb 2015 15:54:12 +0000 (16:54 +0100)]
Collect and show attachment filenames

10 years agoAdd status summary to top of each commitfest list
Magnus Hagander [Sat, 7 Feb 2015 12:31:59 +0000 (13:31 +0100)]
Add status summary to top of each commitfest list

Quick overview of how many patches are in each status, as exist on
the old app.

10 years agoDon't show "Latest email None ( ago)" for patches without email
Magnus Hagander [Fri, 6 Feb 2015 12:11:29 +0000 (13:11 +0100)]
Don't show "Latest email None ( ago)" for patches without email

Reported by Stefan

10 years agoShow full email address of pgsql-hackers
Magnus Hagander [Fri, 6 Feb 2015 12:05:35 +0000 (13:05 +0100)]
Show full email address of pgsql-hackers

Suggested by Stefan K

10 years agoStop using "added self" in history entries
Magnus Hagander [Fri, 6 Feb 2015 11:13:22 +0000 (12:13 +0100)]
Stop using "added self" in history entries

Instead include the actual username. Makes it easier to work with in
the history views, and is also probably more proper english.

10 years agoShow a message when a thread is re-added to the same message
Magnus Hagander [Wed, 4 Feb 2015 20:08:32 +0000 (21:08 +0100)]
Show a message when a thread is re-added to the same message

10 years agoFix attaching of threads whe not logged in
Magnus Hagander [Wed, 4 Feb 2015 20:01:17 +0000 (21:01 +0100)]
Fix attaching of threads whe not logged in

This needs to redirect to the login page and back, so the user is
actually logged in when attaching. This was only partially ipmlemented
before, it turns out.

10 years agoFix sending of comment/review emails
Magnus Hagander [Wed, 4 Feb 2015 17:35:27 +0000 (18:35 +0100)]
Fix sending of comment/review emails

Without using .as_string() on a message, the default is to generate
a string including the envelope header used in a unix mbox. This would
of course generate completely broken messages when passed to smtp.

10 years agoLog to stdout instead of stderr
Magnus Hagander [Wed, 4 Feb 2015 16:40:01 +0000 (17:40 +0100)]
Log to stdout instead of stderr

This plays nicer with our cronjob outputs

10 years agoUse proper logging from cronjobs
Magnus Hagander [Wed, 4 Feb 2015 16:06:25 +0000 (17:06 +0100)]
Use proper logging from cronjobs

This makes it reasonable to redirect it to a file (it now has timestamps),
and also adds the -debug parameter to get more logging when actually
testing something out

10 years agoCentralize stylesheets
Magnus Hagander [Thu, 22 Jan 2015 14:13:16 +0000 (15:13 +0100)]
Centralize stylesheets

Instead of having inline stylesheets, put them all in a separate CSS
file. This really should've been done from the beginning, but was
clearly forgotten before deployment.

10 years agoFix email address in comment
Magnus Hagander [Thu, 22 Jan 2015 14:06:32 +0000 (15:06 +0100)]
Fix email address in comment

10 years agoImplement support for secondary email addresses
Magnus Hagander [Thu, 22 Jan 2015 14:04:09 +0000 (15:04 +0100)]
Implement support for secondary email addresses

Each user can add a secondary email (well, more than one) and then pick
one of those when sending email.

Addresses are validated by sending a token to the newly added address,
with a link to click to confirm it. Only a fully confirmed address can
actually be used.

10 years agoAdd activity log and RSS feeds
Magnus Hagander [Tue, 20 Jan 2015 21:49:30 +0000 (22:49 +0100)]
Add activity log and RSS feeds

This somehow got dropped from the old site in a feature branch that
was never merged...

10 years agoDisable sites framework as we don't use it
Magnus Hagander [Tue, 20 Jan 2015 21:41:57 +0000 (22:41 +0100)]
Disable sites framework as we don't use it

It also breaks the RSS feeds

10 years agoAdd a 404 template
Magnus Hagander [Mon, 19 Jan 2015 21:36:07 +0000 (22:36 +0100)]
Add a 404 template

10 years agoFix sorting of users (committers, authors and reviewers)
Magnus Hagander [Mon, 19 Jan 2015 21:22:56 +0000 (22:22 +0100)]
Fix sorting of users (committers, authors and reviewers)

10 years agoAdd commitfest redirects for /open and /inprogress
Magnus Hagander [Mon, 19 Jan 2015 21:11:31 +0000 (22:11 +0100)]
Add commitfest redirects for /open and /inprogress

Requested by Robert Haas

10 years agoAdd the tool to send email
Magnus Hagander [Mon, 19 Jan 2015 21:02:58 +0000 (22:02 +0100)]
Add the tool to send email

Forgot to git add that one, it seems..

10 years agoFix field accessor for author names in search results
Magnus Hagander [Mon, 19 Jan 2015 20:52:59 +0000 (21:52 +0100)]
Fix field accessor for author names in search results

10 years agoRemove useless debugging output
Magnus Hagander [Mon, 19 Jan 2015 20:49:48 +0000 (21:49 +0100)]
Remove useless debugging output

10 years agoAdd missing continue
Magnus Hagander [Mon, 19 Jan 2015 20:49:39 +0000 (21:49 +0100)]
Add missing continue

10 years agoProperly log diffs in foreign keys
Magnus Hagander [Sun, 11 Jan 2015 21:05:17 +0000 (13:05 -0800)]
Properly log diffs in foreign keys

Instead of saying "topic changed to 2", say "topic changed to
<actual topic>"

10 years agoChange installcheck -> installcheck-world, per Michael
Magnus Hagander [Sun, 4 Jan 2015 16:32:07 +0000 (17:32 +0100)]
Change installcheck -> installcheck-world, per Michael

10 years agoTypo fix, per Michael
Magnus Hagander [Sat, 3 Jan 2015 12:30:12 +0000 (13:30 +0100)]
Typo fix, per Michael

10 years agoAdd functionality to import upstream users
Magnus Hagander [Sat, 19 Jul 2014 13:04:53 +0000 (15:04 +0200)]
Add functionality to import upstream users

10 years agoAdd support for (encrypted) search of upstream users
Magnus Hagander [Sat, 19 Jul 2014 13:04:27 +0000 (15:04 +0200)]
Add support for (encrypted) search of upstream users

10 years agoLet's try again, seems lighttpd behaves differently from manage.py
Magnus Hagander [Tue, 15 Jul 2014 19:07:34 +0000 (21:07 +0200)]
Let's try again, seems lighttpd behaves differently from manage.py

10 years agoDon't require attachments to attach a mail thread to an existing patch
Magnus Hagander [Tue, 15 Jul 2014 18:56:34 +0000 (20:56 +0200)]
Don't require attachments to attach a mail thread to an existing patch

We still require attachments to create a new patch, but it should be
possible to attach a pure discussion thread to an existing patch.

10 years agoFix send button on cf admin emails
Magnus Hagander [Tue, 15 Jul 2014 10:58:31 +0000 (12:58 +0200)]
Fix send button on cf admin emails

10 years agoInclude name of cf username causing emails to be sent in the headers
Magnus Hagander [Tue, 15 Jul 2014 10:57:17 +0000 (12:57 +0200)]
Include name of cf username causing emails to be sent in the headers

10 years agoAdd script to regularly update mail threads from the archives
Magnus Hagander [Tue, 15 Jul 2014 10:42:24 +0000 (12:42 +0200)]
Add script to regularly update mail threads from the archives

10 years agoInclude latest email sent time in the patch overview
Magnus Hagander [Tue, 15 Jul 2014 10:40:32 +0000 (12:40 +0200)]
Include latest email sent time in the patch overview

10 years agoProperly update last email when attaching an existing thread
Magnus Hagander [Tue, 15 Jul 2014 10:38:26 +0000 (12:38 +0200)]
Properly update last email when attaching an existing thread

10 years agoProperly close database connection to avoid logspam
Magnus Hagander [Tue, 15 Jul 2014 10:35:08 +0000 (12:35 +0200)]
Properly close database connection to avoid logspam

10 years agoFix typo. Clearly not tested..
Magnus Hagander [Tue, 15 Jul 2014 10:18:52 +0000 (12:18 +0200)]
Fix typo. Clearly not tested..

10 years agoClear the patch filter when hidden, if it contained anything
Magnus Hagander [Tue, 15 Jul 2014 10:05:47 +0000 (12:05 +0200)]
Clear the patch filter when hidden, if it contained anything

10 years agoAdd proper support for committing patches
Magnus Hagander [Tue, 15 Jul 2014 09:50:10 +0000 (11:50 +0200)]
Add proper support for committing patches

This will prompt for who was the committer, and default to either the user
listed as a committer if there is one, or to the current user if the current
user happens to be a committer.

10 years agoUnify open and close status under one button
Magnus Hagander [Tue, 15 Jul 2014 09:09:08 +0000 (11:09 +0200)]
Unify open and close status under one button

Instead we use subheaders to show the difference between statuses
that keep the patch open, and statuses that close it.

10 years agoProperly normalize table of mailinglist threads
Magnus Hagander [Mon, 14 Jul 2014 17:13:12 +0000 (19:13 +0200)]
Properly normalize table of mailinglist threads

10 years agoRemove accidental debugging statement
Magnus Hagander [Mon, 14 Jul 2014 16:32:38 +0000 (18:32 +0200)]
Remove accidental debugging statement

10 years agoAdd a favicon
Magnus Hagander [Mon, 14 Jul 2014 16:13:41 +0000 (18:13 +0200)]
Add a favicon

10 years agoAdd ability to do global searches
Magnus Hagander [Mon, 14 Jul 2014 16:11:17 +0000 (18:11 +0200)]
Add ability to do global searches

10 years agoChange title of view patch page to actually be name of patch
Magnus Hagander [Mon, 14 Jul 2014 15:30:54 +0000 (17:30 +0200)]
Change title of view patch page to actually be name of patch

10 years agoAdd committer to main table, per req from Simon
Magnus Hagander [Sat, 24 May 2014 16:41:14 +0000 (12:41 -0400)]
Add committer to main table, per req from Simon