Releases: openplans/shareabouts
Shareabouts 4.0.0
New Features:
- Updated to Django 3.2
- Support patching in model sync -- This makes it possible to modify the visibility of an idea, even when it has a logged-in submitter.
- A few more tests -- The Shareabouts client has been woefully light on tests, which has made me squeamish about major updates in the past. Trying to not let that hold the project back in the future.
Upgrade Steps:
- The Shareabouts configuration should be backwards-compatible with 3.26.0, with the exception of any Django settings that may be in a local_settings.py file. If you have any settings in that file that aren't specific to Shareabouts, please refer to the appropriate Django release notes.
Shareabouts 3.26.0
-
Allow overriding config parameters with environment variables
The majority of the configuration values in config.yml can be overridden
with environment variables. You can determine what the environment
variable to override a setting should be called by joining the setting's
path with double underscores, converting to uppercase, and prepending with
SHAREABOUTS__
. For example, say you have the configuration options:place: adding_supported: from: 2017-03-07 09:00 -0500 until: 2017-04-04 09:00 -0400
You could override these settings with the two env variables:
SHAREABOUTS__PLACE__ADDING_SUPPORTED__FROM = 2017-03-07 09:00 -0500 SHAREABOUTS__PLACE__ADDING_SUPPORTED__UNTIL = 2017-04-04 09:00 -0400
-
Allow hiding/showing places and comments with appropriate permissions.
The following handlebars helpers can be used to check the current user's
permissions:{{# can_add_places }}
-- Checks whether adding is supported or the
current user is in aplace.editors
group.{{# can_moderate_places }}
-- Checks whether the current user is in a
place.moderators
group. Moderators can show or hide places.{{# can_edit_places }}
-- Checks whether the current user is in a
place.editors
group. Editors can change the content of places, and
add places outside of the adding supported time.
When
can_add_places
is true, the add button show up on the interface.
Whencan_edit_places
orcan_moderate_places
is true, a control bar with
show/hide and delete buttons is available on each place detail page.
Shareabouts 3.25.0
Pegging current version at 3.25.0
Shareabouts 3.17.8
Collect the language code being use (for analytics)
Shareabouts 3.17.7
- Bugfix: Simply opening the place form did a reverse geocode and cleared 'drag the map' requirement. No longer reverse geocode when opening the place form panel.
Shareabouts 3.17.6
Update the Spanish language translations
Shareabouts 3.17.4/5
Page slug navigation now works with nested page configurations
Shareabouts 3.17.3
Allow overriding of the language picker template separate from the rest of the base template.
Shareabouts 3.17.2
- IE8 bug fixes (handle trim, indexOf, getComputedStyle)
Shareabouts 3.17.1
- Bug fix: start page no longer appears on page load