pgweb.git
7 years ago"Upcoming Community Events" => "Upcoming Events" on homepage.
Jonathan S. Katz [Thu, 24 May 2018 16:18:52 +0000 (12:18 -0400)]
"Upcoming Community Events" => "Upcoming Events" on homepage.

7 years agoPostgreSQL 11 Beta 1 release.
Jonathan S. Katz [Wed, 23 May 2018 15:56:34 +0000 (11:56 -0400)]
PostgreSQL 11 Beta 1 release.

7 years agoFixed spelling of Berkely.
Jonathan S. Katz [Tue, 22 May 2018 21:06:45 +0000 (17:06 -0400)]
Fixed spelling of Berkely.

7 years agoOnly call `datetime.date.today` once on the homepage.
Jonathan S. Katz [Fri, 18 May 2018 17:18:53 +0000 (13:18 -0400)]
Only call `datetime.date.today` once on the homepage.

7 years agoUpdate homepage event display algorithm.
Jonathan S. Katz [Fri, 18 May 2018 17:16:09 +0000 (13:16 -0400)]
Update homepage event display algorithm.

The event display algorithm shows up to two non-badged events
that take place over the next three months.  Subsequently, up to
seven minus |non-badged events| are returned.

7 years agoPut ordering on event querysets on homepage.
Jonathan S. Katz [Fri, 18 May 2018 13:55:49 +0000 (09:55 -0400)]
Put ordering on event querysets on homepage.

As we are getting the first X of each event queryset, we need to
ensure there is ordering so it is the first X by date.

7 years agoUpdated event display algorithm on home page.
Jonathan S. Katz [Thu, 17 May 2018 16:25:27 +0000 (12:25 -0400)]
Updated event display algorithm on home page.

The homepage will now display seven events, allowing up to two
events that are not community badged to be present.

7 years agoCumulative 2018-05-10 release content updates.
Jonathan S. Katz [Thu, 10 May 2018 13:07:47 +0000 (06:07 -0700)]
Cumulative 2018-05-10 release content updates.

7 years agoAdd PostgreSQL 10 High Performance book
Dave Page [Wed, 9 May 2018 12:09:38 +0000 (13:09 +0100)]
Add PostgreSQL 10 High Performance book

7 years agoEnsure "Donate via SPI" button submits form and redirects to SPI.
Jonathan S. Katz [Tue, 8 May 2018 05:10:12 +0000 (22:10 -0700)]
Ensure "Donate via SPI" button submits form and redirects to SPI.

7 years agoRemove duplicate text
Devrim Gündüz [Mon, 7 May 2018 00:05:45 +0000 (01:05 +0100)]
Remove duplicate text

7 years agoUpdate min supported Fedora version
Devrim Gündüz [Sun, 6 May 2018 21:14:02 +0000 (22:14 +0100)]
Update min supported Fedora version

7 years agoUpdate Fedora information for latest releases
Devrim Gündüz [Sun, 6 May 2018 21:04:08 +0000 (22:04 +0100)]
Update Fedora information for latest releases

7 years agoUpdate examples for Debian packages to for PostgreSQL 10.
Christoph Berg [Sat, 5 May 2018 18:03:40 +0000 (14:03 -0400)]
Update examples for Debian packages to for PostgreSQL 10.

7 years agoAdd package information for Ubuntu LTS 18.04
Christoph Berg [Sat, 5 May 2018 18:02:54 +0000 (14:02 -0400)]
Add package information for Ubuntu LTS 18.04

7 years agoDo not show news article byline if author is "_migrated"
Jonathan S. Katz [Fri, 4 May 2018 17:56:31 +0000 (13:56 -0400)]
Do not show news article byline if author is "_migrated"

7 years agoLink "Browse Archives" in "News" on homepage to news archives.
Jonathan S. Katz [Thu, 3 May 2018 20:38:09 +0000 (16:38 -0400)]
Link "Browse Archives" in "News" on homepage to news archives.

7 years agoDon't allow docs comments on unsupported versions
Magnus Hagander [Thu, 3 May 2018 17:44:11 +0000 (19:44 +0200)]
Don't allow docs comments on unsupported versions

7 years agoUpdated Google Summer of Code page with 2018 details.
Stephen Frost [Thu, 3 May 2018 12:51:49 +0000 (08:51 -0400)]
Updated Google Summer of Code page with 2018 details.

7 years agoFix spacing between content and navigation in archives code.
Sarah Conway [Wed, 2 May 2018 19:34:04 +0000 (15:34 -0400)]
Fix spacing between content and navigation in archives code.

7 years agoAdd missing trailing slash to generated URL for sitemap.
Jonathan S. Katz [Wed, 2 May 2018 16:18:43 +0000 (12:18 -0400)]
Add missing trailing slash to generated URL for sitemap.

7 years agoFix generation of static templates URLs for sitemap.xml
Jonathan S. Katz [Wed, 2 May 2018 16:05:49 +0000 (12:05 -0400)]
Fix generation of static templates URLs for sitemap.xml

Cause of issue is speculated to be due to different relative path
handling since upgrade of Django versions.  For the static pages,
the path is handled relative to the file that is generating the
URLs for the sitemap.

7 years agoRename NOREPLY_FROM to ACCOUNTS_NOREPLY_FROM
Magnus Hagander [Tue, 1 May 2018 15:52:15 +0000 (17:52 +0200)]
Rename NOREPLY_FROM to ACCOUNTS_NOREPLY_FROM

This is today only used for things coming out of the accounts system,
like new accounts and password resets. To make sure we don't
accidentally start using it for something else, change the name of the
parameter.

7 years agoFix typo on the "About" page.
Jonathan S. Katz [Thu, 26 Apr 2018 21:36:29 +0000 (14:36 -0700)]
Fix typo on the "About" page.

7 years agoRefactor the navigation bar for desktop, tablet, and mobile.
Jonathan S. Katz [Wed, 25 Apr 2018 21:01:04 +0000 (14:01 -0700)]
Refactor the navigation bar for desktop, tablet, and mobile.

Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.

7 years agoAdd a new PostGIS book.
Dave Page [Wed, 25 Apr 2018 10:19:09 +0000 (11:19 +0100)]
Add a new PostGIS book.

7 years agoReturn "Why Upgrade?" and "Security" to prominence on homepage.
Jonathan S. Katz [Tue, 24 Apr 2018 18:44:44 +0000 (11:44 -0700)]
Return "Why Upgrade?" and "Security" to prominence on homepage.

7 years agoUse Bootstrap's default for line height.
Jonathan S. Katz [Sun, 22 Apr 2018 00:09:02 +0000 (20:09 -0400)]
Use Bootstrap's default for line height.

This will help to bring more content "above-the-fold" and in
particular help with the scrollability of pages that tend to have
much more content, e.g. mail archives.

7 years agoConvert formatting of Planet Postgres listing to table.
Sarah Conway [Sat, 21 Apr 2018 23:56:24 +0000 (16:56 -0700)]
Convert formatting of Planet Postgres listing to table.

This changes the structural display of the Planet Postgres listing on
the Community page from a dl tag to table. This allows for better padding
and less dense display of the post titles.

7 years agoRemove padding from month/tread view tables in archives.
Jonathan S. Katz [Sat, 21 Apr 2018 22:03:38 +0000 (18:03 -0400)]
Remove padding from month/tread view tables in archives.

This will help improve "information density" available on a given
page.

7 years agoAdjust color of <strong> tags to help them stand out more.
Sarah Conway [Sat, 21 Apr 2018 02:38:40 +0000 (19:38 -0700)]
Adjust color of <strong> tags to help them stand out more.

7 years agoChange colors for visited links.
Sarah Conway [Sat, 21 Apr 2018 02:34:38 +0000 (19:34 -0700)]
Change colors for visited links.

This changes the color for visited links to be a darker blue shade
in order to make it easier to distinguish between visited/unvisited
URLs.

7 years agoFix broken link on "About" page to tutorial.
Jonathan S. Katz [Sat, 21 Apr 2018 00:34:39 +0000 (20:34 -0400)]
Fix broken link on "About" page to tutorial.

7 years agoCSS changes related to mailing list message view fix.
Jonathan S. Katz [Sat, 21 Apr 2018 00:18:29 +0000 (20:18 -0400)]
CSS changes related to mailing list message view fix.

The CSS will help with the mobile scrolling / viewport wrapping
of text.

7 years agoUpdate language on "Contact" page related to donations.
Jonathan S. Katz [Fri, 20 Apr 2018 22:22:39 +0000 (18:22 -0400)]
Update language on "Contact" page related to donations.

7 years agoAdd more references on how to report bugs and security issues.
Jonathan S. Katz [Fri, 20 Apr 2018 22:16:31 +0000 (18:16 -0400)]
Add more references on how to report bugs and security issues.

Based on user feedback, it was challenging to find how to do so.
This should make it a little easier.

7 years agoAdd View Archives button to mailing lists box
xenophenes [Thu, 19 Apr 2018 23:45:38 +0000 (16:45 -0700)]
Add View Archives button to mailing lists box

7 years agoCSS changes to go with pgarchives changes for easier scrolling
Jonathan S. Katz [Thu, 19 Apr 2018 03:17:47 +0000 (23:17 -0400)]
CSS changes to go with pgarchives changes for easier scrolling

7 years agoChange submit button on "Submit a Bug" to "Submit and Send Email"
Jonathan S. Katz [Thu, 19 Apr 2018 02:27:00 +0000 (22:27 -0400)]
Change submit button on "Submit a Bug" to "Submit and Send Email"

7 years agoAdd CSS styles for pgarchives changes.
Jonathan S. Katz [Wed, 18 Apr 2018 20:21:10 +0000 (16:21 -0400)]
Add CSS styles for pgarchives changes.

This is because there is some shared infrastructure between the
two apps.

7 years agoFix typo
Magnus Hagander [Wed, 18 Apr 2018 19:08:54 +0000 (21:08 +0200)]
Fix typo

7 years agoAdd label for the search term box
Magnus Hagander [Wed, 18 Apr 2018 16:37:04 +0000 (18:37 +0200)]
Add label for the search term box

This is in particular needed when there is already something there --
the placeholder is only shown on an empty form.

7 years agoRemove duplicated list dropdown
Magnus Hagander [Wed, 18 Apr 2018 16:32:21 +0000 (18:32 +0200)]
Remove duplicated list dropdown

7 years agoFix for rendering of search results.
Jonathan S. Katz [Wed, 18 Apr 2018 16:26:02 +0000 (12:26 -0400)]
Fix for rendering of search results.

Author: Sarah Conway <sarah.conway@crunchydata.com>

7 years agoWrap search results in a <p> block.
Jonathan S. Katz [Wed, 18 Apr 2018 16:12:35 +0000 (12:12 -0400)]
Wrap search results in a <p> block.

The search results need a bit more work to look modern, but this
will alleviate formatting issues.

7 years agoUpdated "License" page with modern design and structure.
Jonathan S. Katz [Mon, 16 Apr 2018 04:03:55 +0000 (00:03 -0400)]
Updated "License" page with modern design and structure.

This also changes some of the language around "Why our License"
to provide more context around why the community chose our license
and where to find out more information about the license.

7 years agoUpdated survey results page with modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 04:02:47 +0000 (00:02 -0400)]
Updated survey results page with modern design.

7 years agoUpdated "Search" pages with modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 04:01:35 +0000 (00:01 -0400)]
Updated "Search" pages with modern design.

7 years agoUpdated Support, Security, and Versioning with modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 03:59:49 +0000 (23:59 -0400)]
Updated Support, Security, and Versioning with modern design.

Authors: Sarah Conway <sarah.conway@crunchydata.com> andme.

7 years agoUpdate "Event" and "News" archive to reflect new designs.
Jonathan S. Katz [Mon, 16 Apr 2018 03:55:14 +0000 (23:55 -0400)]
Update "Event" and "News" archive to reflect new designs.

7 years agoUpdated "About" pages for modern design and workflow.
Jonathan S. Katz [Mon, 16 Apr 2018 03:50:29 +0000 (23:50 -0400)]
Updated "About" pages for modern design and workflow.

This patch also removes a few pages, including:

- Advantages
- Awards
- Case Studies
- Featured Users
- Quotes

The upkeep of and traffic to these pages made them expendable
for the purposes of the new workflow.

7 years agoCreate "Online Resources" page.
Jonathan S. Katz [Mon, 16 Apr 2018 03:45:18 +0000 (23:45 -0400)]
Create "Online Resources" page.

The online resources page guides users to other digital resources
for learning about and better utilizing PostgreSQL.

Author: Sarah Conway <sarah.conway@crunchydata.com>

7 years agoUpdate Documentation and Bug Report pages to use modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 03:44:49 +0000 (23:44 -0400)]
Update Documentation and Bug Report pages to use modern design.

7 years agoUpdate "Downloads" pages for redesign.
Jonathan S. Katz [Mon, 16 Apr 2018 03:40:00 +0000 (23:40 -0400)]
Update "Downloads" pages for redesign.

The downloads workflow remains the same, but adds more structured
elements to the page for easier viewing.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me.

7 years agoRestructure "Books" page to use new styles.
Jonathan S. Katz [Mon, 16 Apr 2018 03:33:02 +0000 (23:33 -0400)]
Restructure "Books" page to use new styles.

As the books page is not dynamically generated, this is a rather
large diff, but the changes are fairly straightforward.

Author: Sarah Conway <sarah.conway@crunchydata.com>

7 years agoAdapt the press kit for PostgreSQL 10 to the modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 03:30:45 +0000 (23:30 -0400)]
Adapt the press kit for PostgreSQL 10 to the modern design.

As the PostgreSQL 10 press kit is still visible, apply structural
changes to ensure it is legible to viewers.

Author: Sarah Conway <sarah.conway@crunchydata.com>

7 years agoUpdate "Developer" pages with new design and workflow.
Jonathan S. Katz [Mon, 16 Apr 2018 03:23:15 +0000 (23:23 -0400)]
Update "Developer" pages with new design and workflow.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me

7 years agoUpdated "Community" pages for new design and workflow.
Jonathan S. Katz [Mon, 16 Apr 2018 03:17:56 +0000 (23:17 -0400)]
Updated "Community" pages for new design and workflow.

This also marks the retirement of the "Propaganda" and the
"Resources" page.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me.

7 years agoUpdate user profile management pages.
Jonathan S. Katz [Mon, 16 Apr 2018 03:12:58 +0000 (23:12 -0400)]
Update user profile management pages.

This applies the new CSS and HTML framework to the user profile
management pages.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me.

7 years agoUpdated Feature Matrix to reflect changes to website.
Jonathan S. Katz [Mon, 16 Apr 2018 03:04:05 +0000 (23:04 -0400)]
Updated Feature Matrix to reflect changes to website.

The feature matrix is now modified to be helpful for newer users.
Entries now go from neweset version to oldest, as well as
displaying all entries by default.

7 years agoUpdated Navigation Context for updated user flow.
Jonathan S. Katz [Mon, 16 Apr 2018 02:59:52 +0000 (22:59 -0400)]
Updated Navigation Context for updated user flow.

This takes into account some pages that have been deprecrated,
some new pages, and some updated URLs.

7 years agoUpdate "About" page with new look and feel as well as content.
Jonathan S. Katz [Mon, 16 Apr 2018 02:58:10 +0000 (22:58 -0400)]
Update "About" page with new look and feel as well as content.

The content is geared more towards people first discovering
PostgreSQL as well as providing guidance over history and
usage of the project.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me

7 years agoHomepage redesign utilizing new CSS and base HTML.
Jonathan S. Katz [Mon, 16 Apr 2018 02:57:50 +0000 (22:57 -0400)]
Homepage redesign utilizing new CSS and base HTML.

The new look of the homepage is optimized for both desktop and
mobile views and is setup to help guide new and returning users
to appropriate PostgreSQL content.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me

7 years agoNew base HTML for PostgreSQL.org
Jonathan S. Katz [Mon, 16 Apr 2018 02:57:05 +0000 (22:57 -0400)]
New base HTML for PostgreSQL.org

The base HTML structure enables the responsiveness for the
website. In addition to the primary base template, the generic
page and form templates are also modernized.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me

7 years agoNew CSS base for the PostgreSQL website.
Jonathan S. Katz [Mon, 16 Apr 2018 02:14:53 +0000 (22:14 -0400)]
New CSS base for the PostgreSQL website.

This also adds Bootstrap, Font Awesome to the codebase with license info.

Bootstrap and Font Awesome are CSS and font frameworks respectively
that ease modern web development.

The new CSS allows the PostgreSQL.org website to be responsive
based on browser window size as well as provide a modern look
and feel.

The redesign is built on top off the Bootstrap and Font Awesome
CSS and font frameworks respectively.

Authors: Sarah Conway <sarah.conway@crunchydata.com> and me

7 years agoAllow "About" page to be render dynamically.
Jonathan S. Katz [Mon, 16 Apr 2018 02:05:59 +0000 (22:05 -0400)]
Allow "About" page to be render dynamically.

In prep for the new "About" page to serve dynamic (though
periodically cached) content.

7 years agoUse UK spelling for words on "Core" page.
Jonathan S. Katz [Sun, 15 Apr 2018 23:56:22 +0000 (19:56 -0400)]
Use UK spelling for words on "Core" page.

7 years agoAdd missing </p> tag on "Backend" page.
Jonathan S. Katz [Sun, 15 Apr 2018 23:53:42 +0000 (19:53 -0400)]
Add missing </p> tag on "Backend" page.

7 years agoPoint "History" to the "History" section in documentation.
Jonathan S. Katz [Sun, 15 Apr 2018 20:13:26 +0000 (16:13 -0400)]
Point "History" to the "History" section in documentation.

Part of the website refresh; this points the "History" page to
the current version of the documentation, using "current" as
the pointer.

7 years agoUse <h2> instead of <h3> on the Donate page.
Jonathan S. Katz [Sun, 15 Apr 2018 20:06:02 +0000 (16:06 -0400)]
Use <h2> instead of <h3> on the Donate page.

7 years agoAdd "Read More..." to the news archive list.
Jonathan S. Katz [Sun, 15 Apr 2018 19:58:44 +0000 (15:58 -0400)]
Add "Read More..." to the news archive list.

7 years agoBreak up product count and category description.
Jonathan S. Katz [Sun, 15 Apr 2018 19:53:48 +0000 (15:53 -0400)]
Break up product count and category description.

This puts the product count and the description of the product
category onto separate lines.

7 years agoAdd byline to detailed News view and archive list.
Jonathan S. Katz [Sun, 15 Apr 2018 19:48:10 +0000 (15:48 -0400)]
Add byline to detailed News view and archive list.

This will let users know who is posting the news.

7 years agoUpdated Press FAQ with information about PostgreSQL 11
Jonathan S. Katz [Sun, 15 Apr 2018 19:44:08 +0000 (15:44 -0400)]
Updated Press FAQ with information about PostgreSQL 11

7 years agoAppend "/" to pgweb hosted URLs that currently lack one.
Jonathan S. Katz [Sun, 15 Apr 2018 19:14:04 +0000 (15:14 -0400)]
Append "/" to pgweb hosted URLs that currently lack one.

By default, Django expects URLs to end with a "/" but if it
accepts a request without a trailing slash, it will issue a
permanent redirect with the slash appended. While this is great,
it does mean an extra request to the server.

This patch adds a "/" to anchor tags that did not have one
already appended to it, thus helping to save time for a user
browsing .org as well as for the server.

7 years agoReplace <b> and <i> tags with <strong> and <em> respectively.
Jonathan S. Katz [Sun, 15 Apr 2018 19:01:46 +0000 (15:01 -0400)]
Replace <b> and <i> tags with <strong> and <em> respectively.

The semantics of <b> and <i> tags have changed as the web has
evolved. <b> is specified to only be used as a last resort
whereas <i> can be used for other purposes (e.g. rendering icons).
Bold and italic text should be rendered using <strong> and <em>
respectively.

This patch makes this replacement in all pages except for pages
that will be deprecrated soon and in the presskits.

7 years agoTitleize "Additional Software" on the "Downloads" page.
Jonathan S. Katz [Sun, 15 Apr 2018 18:56:40 +0000 (14:56 -0400)]
Titleize "Additional Software" on the "Downloads" page.

7 years agoUpdate GSoC page
Jonathan S. Katz [Sun, 15 Apr 2018 18:55:46 +0000 (14:55 -0400)]
Update GSoC page

7 years agoCreate link back to www.postgresql.org on server sponsors page.
Jonathan S. Katz [Sun, 15 Apr 2018 18:20:53 +0000 (14:20 -0400)]
Create link back to postgresql.org on server sponsors page.

7 years agoUpdate language for how to reach out to start a user group.
Jonathan S. Katz [Sun, 15 Apr 2018 18:16:50 +0000 (14:16 -0400)]
Update language for how to reach out to start a user group.

Includes language updates on the "Contact" page for reaching out
to user group liaison as well as on the "Local User Group" page.

7 years agoEnsure UK spelling for language across pgweb.
Jonathan S. Katz [Sun, 15 Apr 2018 18:09:06 +0000 (14:09 -0400)]
Ensure UK spelling for language across pgweb.

7 years agoAlphabetize functions in pgfilters for easier mainetnance.
Jonathan S. Katz [Sun, 15 Apr 2018 17:42:49 +0000 (13:42 -0400)]
Alphabetize functions in pgfilters for easier mainetnance.

7 years agoAdd helpful Django filters created for PGLister.
Jonathan S. Katz [Sun, 15 Apr 2018 17:39:21 +0000 (13:39 -0400)]
Add helpful Django filters created for PGLister.

PGLister adds several filters that make it easier to work with
Django forms with HTML, particularly with the Bootstrap framework.

These filters will be utilized as pgweb shifts to a newer design
framework.

The original code can be found here:

https://gitlab.com/pglister/pglister/blob/master/web/pglister/lists/templatetags/pglister.py

7 years agoAdd "mailto" anchor to Professional Services
Jonathan S. Katz [Sun, 15 Apr 2018 17:35:24 +0000 (13:35 -0400)]
Add "mailto" anchor to Professional Services

7 years agoAdd "mailto" anchors to help text for News & Event submissions.
Jonathan S. Katz [Sun, 15 Apr 2018 17:25:35 +0000 (13:25 -0400)]
Add "mailto" anchors to help text for News & Event submissions.

7 years agoUpdate language on "Submit Documentation Comment" page.
Jonathan S. Katz [Sun, 15 Apr 2018 17:16:05 +0000 (13:16 -0400)]
Update language on "Submit Documentation Comment" page.

The language is more thorough in describing how to use the form,
in an effort to help improve the overall quality of submissions to
pgsql-docs.

7 years agoEnsure "News Article" and "Professional Service" are titles.
Jonathan S. Katz [Sun, 15 Apr 2018 17:05:15 +0000 (13:05 -0400)]
Ensure "News Article" and "Professional Service" are titles.

In the "Your Account" workflow, ensure that "News Article" and
"Professional Service" appear as titles throughout.

7 years agoChange title of submitbug save button
Magnus Hagander [Thu, 5 Apr 2018 17:43:40 +0000 (19:43 +0200)]
Change title of submitbug save button

7 years agoChange field labels for docs comments form
Magnus Hagander [Thu, 5 Apr 2018 17:42:23 +0000 (19:42 +0200)]
Change field labels for docs comments form

Clearly indicate what's subject, what's body, and that it's sending an
email.

7 years agoRemove setting no longer used
Magnus Hagander [Wed, 4 Apr 2018 16:25:02 +0000 (18:25 +0200)]
Remove setting no longer used

7 years agoTurn off tidy indent on docs older than 11
Magnus Hagander [Tue, 3 Apr 2018 13:04:47 +0000 (15:04 +0200)]
Turn off tidy indent on docs older than 11

It seems the newer tidy in Debian Stretch breaks with the output from
the old docs toolchain, causing indention to happen inside <pre> blocks
which clearly breaks rendering.

Turn it off for thos, but keep it enabled for version 11 and up (at this
point that's just dev), because the output becomes a lot easier to read
when trying to debug things.

7 years agoUpdate scrubbing script for new reality
Magnus Hagander [Mon, 2 Apr 2018 10:31:41 +0000 (12:31 +0200)]
Update scrubbing script for new reality

7 years agoDon't send notifications generated internally in the system
Magnus Hagander [Thu, 29 Mar 2018 10:00:05 +0000 (12:00 +0200)]
Don't send notifications generated internally in the system

Django 1.11 fires the save signals in more cases than 1.8 did it seems,
so we can generate extra notifications for example when the twitter
script posts a news item to twitter.

To avoid this, just don't send notification if the user is unknown
(=None).

Per discussion with Jonathan

7 years agoFix template loaders for django 1.11
Magnus Hagander [Sun, 25 Mar 2018 14:51:48 +0000 (16:51 +0200)]
Fix template loaders for django 1.11

Seems django 1.11 automatically enables caching template loader, which
of course breaks the ability to make any changes to the pages of a
website without restarting it. And there is no way to turn it off other
than to explicitly configure individual loders (the logic to turn it on
in non-debug configurations is hardcoded and cannot be changed).

7 years agoPdf wrapper should not inherit from django model
Magnus Hagander [Fri, 23 Mar 2018 13:16:23 +0000 (14:16 +0100)]
Pdf wrapper should not inherit from django model

It was already storing the version as a field, the inheriting from the
actual model was never used. Remove it, since newer django tries to
access a table based on the class name..

7 years agoFix unnecessary warning
Magnus Hagander [Fri, 23 Mar 2018 12:54:22 +0000 (13:54 +0100)]
Fix unnecessary warning

null=False means nothing on a ManyToMany, new django warns about it.

7 years agoFix more template syntax error
Magnus Hagander [Fri, 23 Mar 2018 12:47:31 +0000 (13:47 +0100)]
Fix more template syntax error

Can't use = for comparison, must use ==. Been broken for a long time,
but older django painted over the problem.

7 years agoFix template syntax error
Magnus Hagander [Fri, 23 Mar 2018 12:45:27 +0000 (13:45 +0100)]
Fix template syntax error

7 years agoRe-implement password reset token sending natively
Magnus Hagander [Fri, 23 Mar 2018 12:18:55 +0000 (13:18 +0100)]
Re-implement password reset token sending natively

The django version of password reset is broken in multiple way. What's
hurting us in particular is it cannot reset the password of a user where
the old password was generated by a deprecated hasher. Which, of course,
is exactly one of the cases where being able to reset the password is
important.

We still use the same infrastructure, and we use the actual django code
for *changing* the password -- this just replaces the token sender with
something that's a lot simpler and less broken.

7 years agoFix runaway paragraph on developer/core
Daniel Gustafsson [Thu, 22 Mar 2018 20:17:01 +0000 (21:17 +0100)]
Fix runaway paragraph on developer/core

The member profile paragraph was missing the terminating </p> tag.