Permalink
Switch branches/tags
Nothing to show
Commits on Jan 6, 2018
  1. Fix doc comments for devel version

    mhagander committed Jan 6, 2018
    Don't say version 0.0 in the emails that are sent out. That's what we
    call it internally, but the URL should have /devel/ in it. Fix this both
    in the template, and then if it comes through in the form again in case
    the user picked up a link elsewhere that is incorrect.
Commits on Jan 5, 2018
Commits on Jan 4, 2018
Commits on Dec 28, 2017
  1. Don't crash when adding models with optional m2m fields

    mhagander committed Dec 28, 2017
    If the m2m field is optional, there will be no "pre" data available, not
    even an empty one. Don't crash in this case, just assume it's empty
    (which it is).
    
    This could happen when adding a new Organisation, which currently is the
    only model we have with optional m2m fields
Commits on Dec 27, 2017
  1. Mark text as safe in bug report email

    mhagander committed Dec 27, 2017
    Since we're sending the email as text/plain, we shouldn't be doing HTML
    escaping on it.
Commits on Dec 21, 2017
  1. Update migration with previous changes

    mhagander committed Dec 21, 2017
    This was missed in ab36183. It's not a
    change that actually changes the database in any way, so no need to
    create an actual migration.
  2. Consistently refer to Community events in submission form

    mhagander committed Dec 21, 2017
    Original patch had "badged", and it was renamed to Community event to
    make it more clear, but all texts clearly didn't get the memo.
Commits on Dec 20, 2017
  1. Remove support for "remove after notify" on moderation

    mhagander committed Dec 20, 2017
    This broke when we had ManyToMany relations on a record. We didn't use
    to have that, but with tags for news we now do. With this change, the
    "reject with a notice" becomes a two step operation, the first one
    adding the notification and the second one doing the removal. That'll
    have to do for now, and at some point in the future we may create a
    completely separate (non /admin/) workflow for moderation and fix it
    that way.
Commits on Dec 18, 2017
  1. Send -bugs and -docs emails from noreply address

    sfrost committed with mhagander Dec 18, 2017
    Sending from the submitters address runs afoul to DMARC and other
    restrictions. Instead, send the email from a defined noreply address.
    Instead, add the original submitter to both the Cc and the Reply-To
    header, to make sure they receive followups.
    
    Patch by Stephen, minor changes by Magnus
  2. Remove dead file

    mhagander committed Dec 18, 2017
Commits on Dec 15, 2017
  1. Update for new edition of book

    gleu committed with mhagander Dec 15, 2017
Commits on Dec 13, 2017
  1. Use proper attribute for script language

    danielgustafsson committed with mhagander Dec 13, 2017
    The 'language' attribute is deprecated and replaced with 'type' in
    xhtml.
  2. Use &amp entity instead of bare ampersand in text

    danielgustafsson committed with mhagander Dec 13, 2017
    Using a bare '&' in text elements is sometimes Ok, but always
    generate warnings in validation checks. Move to using the amp
    entity which is the recommended way to render '&' in xhtml.
  3. Add tag support for news items

    mhagander committed Dec 13, 2017
    This lets us separate things like project news from other OSS and from
    commercial postings, for example, allowing for people to subscribe to
    different feeds with just the parts they are interested in.
  4. Add support for notification emails on m2m changes

    mhagander committed Dec 13, 2017
    Unfortunately, we'll send one email for each m2m field, instead of
    collecting them to a single one. That's because there is no signal
    delivered at the end of them all, there will be one sent for each field.
    
    Luckily we don't have a lot of m2m fields at this point, and no model
    has more than one, so at this point that part is not a problem.
    
    It also means that if a regular field *and* an m2m field is changed,
    then we will get two notifications.
    
    Finally, enable these notifications for the Organisation fields, meaning
    we will get a notification when an Organisation changes managers, which
    was not working before.
Commits on Dec 11, 2017
  1. Add support for descriptive texts over m2m checkboxes

    mhagander committed Dec 11, 2017
    This allows the assignment of "hover mouse to show"-descriptions for m2m
    fields with multiple checkboxes.
  2. Fix submission forms for many2many fields with checkboxes

    mhagander committed Dec 11, 2017
    This includes proper styling (no more centering of the checkbox itself)
    and actually saving the m2m fields on submit.
Commits on Dec 10, 2017
  1. Add ability for cauth sites to download ssh public keys

    mhagander committed Dec 10, 2017
    This removes the last need to directly access the upstream database
    (from the git server), so remove that view as well.
  2. Remove community authentication 1.0

    mhagander committed Dec 10, 2017
    Community authentication 1.0 relied on PostgreSQL connections between
    all servers, and hasn't been used for years.
    
    This includes removing the code that migrates users from the old
    community authentication system to the new one. This means that any user
    who has not logged in since 2011 will no longer be able to user their
    oan account, and have to create a new one.
  3. Remove legacy workaround to support old community auth

    mhagander committed Dec 10, 2017
    This workaround enabled a weaker password hasher to work with old
    versions of the community authentication plugin. This was already
    overridden in prod, but remove the old workaround completely from the
    code so we don't accidentally re-enable it.
  4. Remove IRIX and Tru64 from /about

    danielgustafsson committed with mhagander Dec 10, 2017
    Support for SGI IRIX was removed from the postgresql.git repo
    in commit ea91a6be8957 with release 9.3 as the last supported
    version, and Tru64 in a6d488cb53 with 9.4 as the last version.
    Remove from /about to manage expectations.
Commits on Dec 9, 2017
  1. Remove extra space in tweets

    mhagander committed Dec 9, 2017
  2. Implement automatic tweeting of news

    mhagander committed Dec 9, 2017
    Once a twitter account has been registered (using the twitter_register
    management command), the twitter_post command wills start posting all
    new news to twitter, once they are approved. It will only post news from
    the past 7 days to avoid accidentally flooding with old news.
  3. Change personal email to group email for donations

    mhagander committed Dec 9, 2017
    Not only is Josh no longer -core, it's better to consistently refer
    people to contact the group addresses to make sure they get timely
    responses.
Commits on Dec 7, 2017
Commits on Dec 6, 2017
  1. Prevent changes of column width on events form

    mhagander committed Dec 6, 2017
    Do this by setting the max width of the lefthand column in the table, so
    it doesn't change when the checkbox for community events is clicked.
    
    A better solution would of course be to make the forms properly
    responsive, but that's part of a "next generation website", rather than
    a quick fix...
  2. Enable events to be badged.

    jkatz committed with mhagander Dec 6, 2017
    Adds the "badged" flag to the Event model in order to distinguish
    community badged events from other PostgreSQL oriented events.
    Seven total events will be displayed on the homepage, with up to
    four community events displayed. If there are no upcoming
    community events then, then the header "Events" is shown.
    
    The event submission interface allows a user to opt-in to
    listing an event as a "community" event and provide an
    explanation for moderators as to why the event should be
    considered a community event.
    
    Expands the list of News and Planet PostgreSQL blog entries to 10.
  3. Replace frontpage header images with text

    jkatz committed with mhagander Dec 6, 2017
    It's too much of a pain to regenerate the images when a header needs to
    change in some way, and having text is better for searching too. This
    slightly changes the strength of the headers, but mostly things look the
    same as before.
Commits on Dec 4, 2017