Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

OneGov official notices website.

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Install jest and run it:

npm install
npm t

Conventions

Onegov Gazette follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Gazette uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.gazette is released under GPLv2

Changelog

1.17.2 (2018-10-02)

  • Fixes tests failing with latest click release. [href]

1.17.1 (2018-09-24)

  • Allows publishers to delete accepted notices. [msom]

1.17.0 (2018-09-19)

  • Adds phone numbers to users. [msom]
  • Allows publishers to manage groups and editors. [msom]
  • Shows the email address of the owner in the details view of a notice. [msom]
  • Fixes test. [msom]

1.16.4 (2018-08-16)

  • Uses a custom CSRF expired error message. [msom]

1.16.3 (2018-08-13)

  • Adds IE 11 compatibility. [msom]

1.16.2 (2018-07-19)

  • Fixes tab menu dropdown styling. [msom]

1.16.1 (2018-07-06)

  • Fixes inactive categories and organizations not striked-through. [msom]
  • Requires the user to provide a billing address if liable to pay costs. [msom]

1.16.0 (2018-07-03)

  • Adds PDF previews of notices. [msom]
  • Adds PDF index. [msom]

1.15.4 (2018-06-28)

  • Don’t send accept mails for imported notices. [msom]

1.15.3 (2018-06-28)

  • Fixes SOGC configuration testing. [msom]

1.15.2 (2018-06-28)

  • Removes unnecessary SOGC login. [msom]

1.15.1 (2018-06-28)

  • Fixes throwing an error on unexpected principal configuration options. [msom]

1.15.0 (2018-06-26)

  • Adds SOGC import. [msom]
  • Reorganizes the backend menu. [msom]
  • Adds import/export for issues, categories and organizations. [msom]
  • Improves the archive view. [msom]
  • Removes fastclick. [msom]
  • Fixes quill editor does not focus on click. [msom]
  • Add compatibility with wtforms 2.2. [msom]
  • Adds an option for disabling publishing. [msom]
  • Resizes chosen responsively. [msom]

1.13.17 (2018-05-15)

  • Adds compatibility with latest onegov.core release. [href]

1.13.16 (2018-05-14)

  • Adds the number of rejections by user to the statistics. [msom]

1.13.15 (2018-04-26)

  • Updates translation. [msom]
  • Hides print only option for editors. [msom]

1.13.14 (2018-03-23)

  • Adjusts texts/translations. [msom]
  • Adjusts the publish mail. [msom]

1.13.13 (2018-03-21)

  • Let the rich text editor grow when needed. [msom]
  • Remember notice filter settings when changing states. [msom]

1.13.12 (2018-03-20)

  • Makes the rich text editor bigger. [msom]
  • Fixes collection filters not used in pagination. [msom]

1.13.11 (2018-03-20)

  • Fixes PDF attachments not displayed in browser. [msom]

1.13.10 (2018-03-20)

  • Adds some help texts to the notice form. [msom]

1.13.9 (2018-03-12)

  • Allows to search by notice id. [msom]
  • Limits the title of a notice to 60 characters. [msom]

1.13.8 (2018-03-06)

  • Splits e-mails into transactional/marketing. [href]

1.13.7 (2018-02-14)

  • Makes the author name a multi line text field. [msom]
  • Adds some help texts to the notice form. [msom]
  • Changes layout of print only and at cost options. [msom]

1.13.6 (2018-02-07)

  • Adds author fields (name, date, place) to notices. [msom]
  • Fixes label of rich text editor fields not visible. [msom]

1.13.5 (2018-02-06)

  • Shows print only options only to publishers. [msom]
  • Print only is always disabled when copying notices. [msom]
  • Updates translations. [msom]

1.13.4 (2018-01-19)

  • Assigns publication numbers when publishing the issue. [msom]

1.13.3 (2018-01-18)

  • Fixes print only option not set when creating a new notice. [msom]

1.13.2 (2018-01-18)

  • Fixes handling of whitespace in the PDF. [msom]
  • Adds a print only option to notices. [msom]

1.13.1 (2018-01-11)

  • Includes attachments in PDFs. [msom]
  • Fixes handling of whitespace in the PDF. [msom]
  • Improves the readability of the PDF layout. [msom]
  • Requires Python 3.6. [href]

1.13.0 (2017-12-12)

  • Allows to publish notices and to generate weekly PDFs. [msom]

1.12.1 (2017-12-11)

  • Fixes mails with attachments. [msom]
  • Adds changelog entries when editing attachments. [msom]

1.12.0 (2017-12-11)

  • Adds attachments to notices. [msom]

1.11.1 (2017-12-08)

  • Cleanup code. [msom]

1.11.0 (2017-12-05)

  • Adds billing address to notices. [msom]

1.10.5 (2017-11-27)

  • Updates translation. [msom]
  • Uses a bigger reject comment field. [msom]
  • Adds missing title slot. [msom]

1.10.4 (2017-11-16)

  • Allows publishers to manage organizations and categories. [msom]

1.10.3 (2017-11-16)

  • Fixes failing test. [msom]

1.10.2 (2017-11-10)

  • Order parents in organization form by their order. [msom]
  • Fixes setting the initial external ID of an organization. [msom]
  • Fixes sorting of sub-organizations. [msom]

1.10.1 (2017-11-10)

  • Uses a chosen select for parent organizations. [msom]
  • Fixes setting the initial ID of a category or organization. [msom]
  • Checks the category and organization before submitting and accepting notices. [msom]
  • Displays a warning when editing a notice with an invalid category or organization. [msom]
  • Uses an external organization name for accepted mails instead of the name. [msom]

1.10.0 (2017-11-09)

  • Allows to manage categories, organizations and issues. [msom]
  • Adds an unrestricted edit view for admins.

1.9.4 (2017-11-15)

  • Skips failing test. [href]

1.9.3 (2017-11-09)

  • Fixes initialization of fields. [msom]
  • Uses latest onegov.quill release. [msom]
  • Adds a notice modified message. [msom]
  • Changes the order of the items in the admin menu. [msom]
  • Always shows the first and last pagination element. [msom]

1.9.2 (2017-10-26)

  • Uses the HSTORES for category and organization ID from the latest onegov.notice. [msom]

1.9.1 (2017-10-26)

  • Fixes redirects for various views. [msom]
  • Fixes typo. [msom]

1.9.0 (2017-10-24)

  • Adds an XLSX export of all publishers and editors. [msom]
  • Adds a configurable help link. [msom]
  • Updates the subject of the publish mail. [msom]
  • Updates RavenJs to 3.19.1. [msom]

1.8.0 (2017-10-18)

  • Adds a script to import members. [msom]

1.7.0 (2017-10-13)

  • Allows to sort notices by group and user names. [msom]
  • Allows to filter notices by categories, organizations, group names and user names. [msom]

1.6.0 (2017-10-05)

  • Adds session managment for users. [msom]
  • Orders the list of users by email. [msom]
  • Updates RavenJs to 3.18.1. [msom]
  • Fixes rejecting a notice of a deleted user throwing an error. [msom]

1.5.0 (2017-09-29)

  • Allows publishers to edit, submit and delete any notice. [msom]
  • Allows publishers to manage issues past the deadline [msom]
  • Checks the deadlines/issue dates before submitting and accepting notices. [msom]
  • Shows a warning in the edit notice view in case of past or overdue issues. [msom]
  • Uses warnings instead of callouts in forms. [msom]
  • Fixes dashboard warnings. [msom]
  • Assume issue dates and times to be UTC. [msom]

1.4.1 (2017-09-22)

  • Suppresses the IE/Edge popup when closing the preview. [msom]

1.4.0 (2017-09-21)

  • Exports statistics as XLSX instead of CSV. [msom]

1.3.5 (2017-09-21)

  • Updates chosen to 1.8.2. [msom]
  • Configures chosen to search within words, too. [msom]

1.3.4 (2017-09-20)

  • Patches the chosen library to fix searching for non-ascii characters. [msom]

1.3.3 (2017-09-15)

  • Fixes reset password link not working when creating users with groups. [msom]

1.3.2 (2017-09-14)

  • Improves print styles. [msom]

1.3.1 (2017-09-11)

  • Improves styles for IE. [msom]
  • Adds a link to the rejected notice in the rejected email. [msom]
  • Redirects to the manage notices view when working with notices. [msom]
  • Redirects to the login screen after setting the password. [msom]
  • Sends directly the password reset link when creating a user. [msom]

1.3.0 (2017-09-05)

  • Adds a user name validator. [msom]
  • Updates translation. [msom]
  • Requires to select an organization when adding a notice. [msom]
  • Doesn’t use italic in the editor. [msom]

1.2.1 (2017-09-04)

  • Uses latest onegov.quill release. [msom]

1.2.0 (2017-09-01)

  • Uses quill editor instead of redactor. [msom]

1.1.0 (2017-08-31)

  • Fixes chosen sprites. [msom]
  • Adds a close button to the preview. [msom]
  • Allows publishers to add notices. [msom]

1.0.0 (2017-08-31)

  • Fixes clear search/dates view. [msom]
  • Shows the preview in a separate window. [msom]
  • Fixes test failing due to changes in the memory backend. [msom]
  • Adjusts email texts. [msom]
  • Adjusts dashboard warnings. [msom]
  • Orders issues by issue year/number. [msom]
  • Allows to set a reply to address when publishing. [msom]
  • Reorders meta data column in notice detail view. [msom]
  • Allows ordered and unordered lists in the editor. [msom]
  • Allows to fold issues after unfolding again. [msom]
  • Removes the principal name below the logo. [msom]
  • Allows to filter notices by date. [msom]
  • Shows state filters on notices view. [msom]
  • Translates chosen strings. [msom]
  • Moves the login/logout links to the top right. [msom]
  • Adds an option to indicate if one needs to pay to publish a specific notice. [msom]
  • Adds a print button to the preview. [msom]

0.1.2 (2017-08-22)

  • Shows the publisher menu entries for the admin as well. [msom]
  • Fixes delete icon on user managemenet view. [msom]

0.1.1 (2017-08-21)

  • Fixes ordering by first issue. [msom]

0.1.0 (2017-08-21)

  • Shows the name of the logged-in user. [msom]
  • Reduces the font size of the title in the preview. [msom]
  • Omits the emails on publishing. [msom]
  • Sends an email when creating a user. [msom]
  • Adds statistics to the menu. [msom]
  • Adds a state filter to the statistics. [msom]
  • Shows the weekday in the add/edit notice form. [msom]
  • Adds comments for rejecting notices. [msom]
  • Sanitizes HTML much stricter. [msom]
  • Allows to delete users with official notices. [msom]
  • Allows to filter notices by a search term. [msom]
  • Allows admins to delete submitted and published notices. [msom]
  • Adds organizations to notices. [msom]
  • Removes hierarchy from categories. [msom]
  • Allows to order notices. [msom]
  • Adds filters for organizations and categories to the edit/create notice views. [msom]
  • Allows to show the later issues in the edit/create notice views, too. [msom]
  • Adds deadlines to issues. [msom]
  • Adds date filters to statistices. [msom]
  • Adds an accepted state. [msom]
  • Caches the user and group name on notices in case they get deleted. [msom]
  • Caches the user name on notice changes in case they get deleted. [msom]
  • Shows notices for the same group. [msom]

0.0.4 (2017-08-03)

  • Switches from onegov.testing to onegov_testing. [href]

0.0.3 (2017-07-17)

  • Add github deploy key. [msom]

0.0.2 (2017-07-17)

  • Sends emails on publish/reject. [msom]
  • Adds a copy option. [msom]
  • Adds statistics views. [msom]
  • Adds a preview view. [msom]

0.0.1 (unreleased)

  • Initial Release. [msom]

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
onegov.gazette-1.17.2-py3-none-any.whl (976.3 kB) Copy SHA256 hash SHA256 Wheel py3 Oct 2, 2018
onegov.gazette-1.17.2.tar.gz (923.2 kB) Copy SHA256 hash SHA256 Source None Oct 2, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page