Switch branches/tags
Nothing to show
Commits on Dec 9, 2017
  1. Add missing import

    mhagander committed Dec 9, 2017
Commits on Dec 8, 2017
  1. Properly format email headers with non-ascii

    mhagander committed Dec 8, 2017
    When sending an email to non-ascii names, the actual email address
    should not be part of the encoded section. It should have a separate
    section that's not encoded.
    Ported over from the pgeu install
Commits on Nov 18, 2017
  1. Validate twitter accounts when submitting a new blog

    mhagander committed Nov 18, 2017
    Do this by connecting to the twitter API and actually validate both that
    the account exists, and that it's not protected. Protected accounts will
    cause the follower-sync script to keep trying over and over again for
    following, and there's not any point in promoting those anyway.
    This adds a dependency on requests_oauthlib, but that's already used in
    other pgweb projects so shouldn't be a problem.
  2. Don't crash when feedurl is not given

    mhagander committed Nov 18, 2017
    Instead, give a proper error message as intended.
Commits on Jun 13, 2017
  1. When redirecting, ignore querystring part (after ?) of URL

    mhagander committed Jun 13, 2017
    This can sometimes be added by some broken trackers, but we can safely
    ignore it completely.
    Reported by Stefan Kaltenbrunner
Commits on May 25, 2017
  1. Update blogurls from the contents of the feeds

    mhagander committed May 25, 2017
    If somebodys blog url changes in the feed, pick it up and store the new
    one. Also send an email to the person letting them know it happened, as
    well as a notice to moderators. But don't require new moderation when it
    happens, just do manual post-moderation in the event that something goes
  2. Decode emails in the queue

    mhagander committed May 25, 2017
    Makes it easier to do debugging. Patch copied over from the pgeu
Commits on Mar 31, 2017
  1. Nicer handling of images and smileys

    mhagander committed Mar 31, 2017
    Allow images to go up to 300px, and explicitly make wordpress smileys
    (since we have lot of wordpress blogs) normal size and inline instead of
    overriding them.
    Petr Jelinek
Commits on Nov 22, 2016
  1. Planet postgresql is now https

    mhagander committed Nov 22, 2016
Commits on Nov 21, 2016
Commits on Nov 20, 2016
  1. Use https for

    mhagander committed Nov 20, 2016
Commits on Aug 16, 2016
  1. Don't re-approve a blog that was already approved

    mhagander committed Aug 16, 2016
    This will cause extra emails to be sent, which isn't very user-friendly.
Commits on May 21, 2016
  1. Serve planet layout images from the local webserver

    mhagander committed May 21, 2016
    It's kind of silly to pull them down from each time.
    And with the switch to https-only there, it will also lead to a bunch of
    extra redirects which will slow things down.
Commits on Apr 11, 2016
  1. Set a default socket timeout of 10 seconds

    mhagander committed Apr 11, 2016
    Any feed that doesn't complete the socket operation in 10 seconds
    will fail - we'll still retry it on the next run of course.
Commits on Mar 29, 2016
  1. Cap blog entries at todays date

    mhagander committed Mar 29, 2016
    This avoids cases where a blog entry might be unintentionally (or intentionally)
    set with a date in the future in the incoming RSS feed and as such stays at the
    frontpage of planet until that date is reached.
    Instead, whenever something is parsed to be in the future, set the post date to
    the time of the parsing (because it clearly exists at this time).
  2. Fix indentation that caused logic error

    mhagander committed Mar 29, 2016
    We updatet he newest entry date in other ways as well, but this code
    clearly didn't run.
Commits on Mar 21, 2016
  1. Fix typo

    mhagander committed Mar 21, 2016
    Reported by David Rowley, though Alvaro
  2. Don't put a space before P in shortlinks

    mhagander committed Mar 21, 2016
    Sideeffect of some re-indenting, any short URL that had a P
    in it would get %20P instead, making it not work. Oops.
Commits on Mar 8, 2016
Commits on Mar 3, 2016
  1. Source header images locally

    mhagander committed Mar 3, 2016
    Previously these were loaded from, which caused a mixed-content
    warning when using the registration interface.
Commits on Feb 18, 2016
Commits on Feb 16, 2016
  1. Log is not a separate page anymore, so fix links

    mhagander committed Feb 16, 2016
    Also add an anchor on the edit page to deal with it
Commits on Feb 15, 2016
  1. Link to moderation admin view

    mhagander committed Feb 15, 2016
    Don't encourage using the django admin view.
Commits on Feb 12, 2016
  1. Fix accidentaly reversed condition

    mhagander committed Feb 12, 2016
    Blogs would display as error in list and warning on the details page,
    and the other way around. Oops.
Commits on Feb 11, 2016
  1. Remove leftover debugging code

    mhagander committed Feb 11, 2016
  2. Add managers to teams

    mhagander committed Feb 11, 2016
    This is a single user that's in charge of a team. The manager will get an
    email whenever somebody tries to join a team. The team will also show up
    on the managers /register/ page with the ability to remove people from it.
  3. Don't try to store status updates for fake blog entries

    mhagander committed Feb 11, 2016
    We create fake entries when scanning for saved blogs, and they should
    never be saved to the db.
    This was broken by baefbd4 which pushed
    the save into the aggregator. Now, make it optional.
  4. Add search fields to admin

    mhagander committed Feb 11, 2016