Skip to content

Releases: pytition/Pytition

v2.8.1 Release

20 Nov 20:05
Compare
Choose a tag to compare

Minor fixes related to documentation generation and readthedocs integration.
Also, update django-mailer to be compatible with Django 4.2
If you have django-mailer enabled in your config (USE_MAIL_QUEUE=True setting), updating to v2.8 most likely failed while doing the manage.py migrate phase.
This release fixes this issue.

Full Changelog: v2.8...v2.8.1

v2.8 Release

04 Nov 16:13
95df6a0
Compare
Choose a tag to compare

The most notable change in this release is the update from Django 2.2 (previous LTS) to Django 4.2 (current LTS).
This should have no impact on administrators nor visitors. However this enables the Pytition project to keep getting regular bug fixes and security updates from the Django project.
This release also contains lots of UI improvements and bug fixes as well as YunoHost integration related fixes.

IMPORTANT You MUST update your config.py file. You must remove this line TINYMCE_JS_URL = STATIC_URL + TINYMCE_JS_PATH after the DO NOT EDIT AFTER THIS BANNER

What's Changed

  • Update to Django 4.2 (LTS) by @fallen in #308
  • Show publication date on petition page by @rsk2 in #299
  • [UI] Make it more clear when seeing an unpublished petition because you own it #307
  • [UI] Only show "go back to dashboard" button when necessary #164
  • [UI] Improvements to the Petition page
    • Fix newsletter subscription checkbox label layout
    • Remove the ":" label suffix of the checkbox
    • Fix some display issues with progress-bar
    • Big clean-up/refactor of Petition page CSS. Replace lots of custom CSS with Bootstrap grid logic.
    • Fix responsive design issues: the formular column was not displayed correctly when reducing browser window width
    • Fix checkbox label that was disappearing in some cases
    • Remove extra valid/invalid checkmarks in the formular
  • [UI] Fix petition edit page showing the 'style & apparence' pane by default
  • [UI] Fix error messages not showing in formulars
  • [UI] Fixed invalid error message saying text field was required
  • [FIX] Prevent information extraction about organization memberships
  • [FIX] Petition template edit page was broken
  • [FIX] Fix signature confirmation link sent by e-mail in case Pytition is hosted in a subdirectory (like what YunoHost does)
  • [LANG] Some French translation fixes.
  • Update dependencies (mostly due to Django 4.2 update)
    • django-colorfield: 0.1.15 -> 0.10.1
    • django-tinymce: 2.8.0 -> 3.6.1
    • psycopg: 2.8.4 -> 3.1.8
  • CI infrastructure fixes (Update Jenkins server to Debian 12 and update Jenkins version)
  • General code cleanup and refactor

New Contributors

  • @rsk2 made their first contribution in #299

Full Changelog: v2.7...v2.8

v2.7 Release

27 Jan 16:21
Compare
Choose a tag to compare

What's Changed

  • Fixed a bug preventing to pre-visualize an unpublished petition if it is owned by an organization.
  • Documentation improvements
  • Fixed several issues related to petition templates that were not working correctly.

Full Changelog: v2.6...v2.7

v2.6 Release

29 Aug 14:28
Compare
Choose a tag to compare

What's Changed

  • Add optional sharing buttons on petition signing page by @fallen in #290
  • Fix #255 - Add phone number validation to sign form by @Benbb96 in #292
  • Fix social-network image preview: make OpenGraph image URLs absolute.
  • Fix running testsuite while being in same directory as manage.py
  • Fix template edition page

New Contributors

Full Changelog: v2.5.1...v2.6

v2.5.1 Release

14 May 21:02
Compare
Choose a tag to compare

This is a bugfix release that fixes issues in TinyMCE editor when uploading images if STATIC_ROOT is not '/static/'
This is the case for instance in the Yunohost packaging of Pytition.

Full Changelog: v2.5...v2.5.1

v2.5 Release

14 May 14:46
Compare
Choose a tag to compare

The most notable changes in this release are the fixes around image uploads and TinyMCE editors which were necessary for the Pytition Yunohost package to work correctly.
The very good news is that Pytition is already available in Yunohost application catalog. It is barely tested though so prepare yourself to report bugs should you use it.
An announcement will be done when it is considered "stable".

Changes:

New features:

  • Allow to publish/unpublish a petition from the edit page #257
  • Also show the "Create petition" button on public instances home page, regardless on whether the visitor is logged-in or not. This helps bootstrap someone quickly on petition creation process.

Fixes:

  • Fix image uploads, it was broken with recent Django 2.2.xx versions. Also force using at lease 2.2.28 version of Django to make sure the Storage API uses the recent behavior.
  • Fix TinyMCE editors when STATIC_URL is not '/static/'. Also improve documentation about this topic. Users must now define TINYMCE_JS_URL in their config file.
  • Fix CI and documentation builds

Misc:

  • French translation improvements
  • German translation improvements
  • Updated to mysqlclient 2.0.1
  • Updated to Django at least 2.2.28 and forbid version >= 3.x
  • Updated django-formtools to 2.2 to support newer Django 2.2.28

Full Changelog: v2.4...v2.5

v2.4 Release

26 Jun 18:57
Compare
Choose a tag to compare

The most notable change in this release is the new Moderation feature. It's just a start and lacks administration GUI (graphical user interface) but it can be used in CLI (command line interface) for now.

Changes:

New features:

  • Add a "maintenance mode"
  • Add a "maintenance mode" command in manage.py to enable/disable maintenance mode
  • Add basic moderation support
    • manage.py CLI now has moderation command to manage moderation reasons and to list moderation requests, sort them by number of requests and (un)moderate petitions.
    • new report to moderation button on petition pages

Fixes:

  • Show password reset link on login page, even when registration is disabled via ALLOW_REGISTER setting.
  • Show username if no firstname/lastname in organization member list instead of empty item
  • re-send confirmation email button was sending to all signatories instead of only those who did not confirm

Documentation:

Misc:

  • Make "update" command more quiet
  • Updated Occitan translation
  • Updated French translation
  • Updated Italian translation
  • Updated Spanish translation
  • Start of Kabyle translation
  • Start of Portuguese translation

v2.3 Release

27 Dec 18:05
Compare
Choose a tag to compare

Enjoy this new end-of-2020 release : v2.3 \o/

Changes:

UI enhancements:

  • Add pagination for petitions
  • Make signature success messages more visible
  • Demo site: make it more visible that it is open source software, that you can self-host it and you should not be using the demo website for serious stuff
  • Allow to chronogically sort petitions

New features:

  • Add "update" command to manage.py
  • Add "medias_orphan" command to manage.py to detect unused medias in your Pytition instance
  • Add basic captcha to user registration form
  • Allow to use non-ascii user names
  • A welcome e-mail is now sent upon creating a user account
  • Pytition can generate a mass-subscription text you can copy/paste to Sympa, containing the e-mail address of signatories who checked the "I am OK with newsletter" checkbox

Fixes:

  • Fixed install instructions

Documentation:

  • Add update instructions
  • document the "DEFAULT_NOREPLY_EMAIL" configuration

Misc:

  • Add more unit tests
  • Fixed typo in French translation
  • Beginning effort of translations to Japanese and Swedish

v2.3 Release Candidate 1

02 Sep 17:07
Compare
Choose a tag to compare
Pre-release

This is Release Candidate 1 of v2.3

v2.2 Release

11 Jun 07:20
Compare
Choose a tag to compare

Official v2.2 minor release.
This fixes a security issue, please update to v2.2 as soon as possible.
You are impacted if your instance allows users to register or if you have users that you don't trust.

Change log:

  • Improved documentation support for Ubuntu 20.04 installs
  • Enabled Italian translation in base config
  • Implemented image upload for social network image of the petition (#126)
  • Implemented management commands in Django's manage.py
  • Added Maildev tool by default in Docker setup for development to view emails sent by Pytition.
  • Fixes in unix permissions for uploaded files
  • Add a configuration flag DISABLE_USER_PETITION to prevent users from creating petitions. This is oriented toward organization-only instance. Should be used with the following one. #227
  • Add a configuration flag RESTRICT_ORG_CREATION to restrict organization creation to super-users (admin) only #228
  • Add (hidden - for now) feature to dump signatures as a "email name\n" text format to do copy paste in Sympa (mailing list sw) mass subscribing interface. See ab2499a. It only dumps signatures that checked the "I want to subscribe" checkbox.
  • (UI) Remove signature form from petition page after successful signature #232
  • (security) Fix wrong permission checks for CSV signature export and signature management views. Also for petition transfer checks.
  • Bug fixes (#225)