OneGov web application for small towns.
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
Conventions
Onegov Town follows PEP8 as close as possible. To test for it run:
tox -e pep8
Onegov Town uses Semantic Versioning
Build Status
Coverage
Latests PyPI Release
License
onegov.town is released under GPLv2
Note that Imperavi Redactor (assets/js/redactor.min.js) itself is a proprietary commercial software, owned by Imperavi. We (Seantis GmbH) bought an OEM license to distribute Redactor alongside onegov.town, so you may use it for free, but you are not allowed to use it independently of onegov.town.
Changelog
1.15.10 (2019-07-26)
Fixes failure when saving homepage settings. [href]
1.15.9 (2019-01-09)
Reorganises settings into separate views. [href]
1.15.8 (2018-12-03)
Hides map provider. [href]
1.15.7 (2018-11-27)
Adds stock images to initial events. [href]
1.15.6 (2018-10-23)
Improves German translation. [href]
1.15.5 (2018-10-15)
Adds support for the latest onegov.org release. [href]
1.15.4 (2018-10-11)
Shows the publications view on the homepage. [href]
Requires Python 3.6. [href]
1.15.3 (2017-11-20)
Includes the version, current user and role in javascript error reports. [href]
1.15.2 (2017-11-20)
Moves yubikey/user registration toggles to configuration. [href]
1.15.1 (2017-11-14)
Fixes new towns not containing the people/fotos widget. [href]
1.15.0 (2017-11-08)
Adds directories widget to homepage. [href]
1.14.1 (2017-10-12)
Fixes settings view not being customised anymore. [href]
1.14.0 (2017-09-28)
Adds french translation. [href]
1.13.3 (2017-08-03)
Switch onegov.testing to onegov_testing. [href]
1.13.2 (2017-07-17)
Fixes failing tests. [msom]
1.13.1 (2017-06-16)
Fixes failing tests. [href]
1.13.0 (2017-03-28)
Switches to Elasticsearch 5. [href]
1.12.4 (2017-03-21)
Replaces onegov.libres with onegov.reservation. [href]
1.12.3 (2017-01-30)
Depend on latest onegov.org release. [href]
1.12.2 (2017-01-19)
Depend on latest onegov.org release. [href]
1.12.1 (2017-01-19)
Depend on latest onegov.org release. [href]
1.12.0 (2017-01-19)
Update to latest onegov.org release (with improved design). [href]
Improves the initial content. [href]
1.11.10 (2017-01-10)
Update to latest onegov.org release. [href]
1.11.9 (2016-10-26)
Update to latest onegov.org release. [href]
1.11.8 (2016-09-29)
Update to latest onegov.org release. [href]
1.11.7 (2016-09-12)
Update to the latest onegov.org release. [href]
1.11.6 (2016-09-12)
Fixes cli not working. [href]
1.11.5 (2016-09-12)
Fixes initial content being filled by the org, not the town. [href]
1.11.4 (2016-09-12)
Improves the separation of onegov.org/onegov.town. [href]
1.11.3 (2016-08-31)
Rely on latest onegov.org release. [href]
1.11.2 (2016-08-26)
Fixes problem with daily ticket statistics mail. [href]
1.11.1 (2016-08-25)
Rely on latest onegov.org release. [href]
1.11.0 (2016-08-25)
Moves most code to onegov.org to allow for customized town-like apps. [href]
1.10.4 (2016-08-19)
Fixes another image captions width edge case in Safari. [href]
1.10.3 (2016-08-19)
Fixes image captions getting the wrong width with cached images. [href]
1.10.2 (2016-08-19)
Limits the alt text caching time to one minute. [href]
Make sure that the alt text in manage images is never stale. [href]
Makes the location of an event mandatory. [href]
Adds an organizer field to the event form. [href]
Fixes image captions sometimes getting the wrong width. [href]
1.10.1 (2016-07-28)
Depend on latest onegov.core/onegov.server releases which fix a bug. [href]
1.10.0 (2016-07-28)
Large image lists are now lazy loaded. [href]
Adds the ability to organize images in albums. [href]
Converts all existing images/files to onegov.file, which offers more features, including transaction support for file operations. [href]
Fixes allocations spanning more than a year leading to a 502 on the sever. [href]
Adds compatibility with python-magic 0.4.12. [msom]
1.9.1 (2016-06-22)
Depend on latest onegov.ticket release which fixes a critical bug. [href]
1.9.0 (2016-06-22)
Tickets now include a reaction and a process time. [href]
Builtin forms may now be deleted/edited just like custom forms. [href]
Fixes telephone number on people records being unclickable. [href]
1.8.4 (2016-06-08)
Fixes Excel export failing on certain resources. [href]
1.8.3 (2016-06-06)
Adds a shortcut to create reservation n with the start/end of reservation n - 1. [href]
Always select the first field when opening a reservation popup. [href]
Accepts a wider range of inputs when changing the reservation start/end. [href]
Fixes calendar performance regression introduced in 1.7.0. [href]
Adds the ability to import Digirez reservations using a cli script. [href]
1.8.2 (2016-05-31)
Depend on onegov.core 0.20.1 that includes some bugfixes. [href]
1.8.1 (2016-05-30)
Fixes empty reservation card leading to a view with insufficent permissions. [href]
Adds the ability to remove towns through the cli. [href]
1.8.0 (2016-05-17)
Adds the ability to export the reservations of a resource. [href]
Adds an occupancy report on resource for reservations. [href]
Fixes unreserved allocations showing associated tickets. [href]
1.7.4 (2016-05-05)
Fixes search for public users returning irrelevant results. [href]
1.7.3 (2016-05-02)
Fixes incorrect reservation submissions not retaining their values. [href]
1.7.2 (2016-04-29)
Fixes reservation delete not working correctly. [href]
1.7.1 (2016-04-29)
Fix onegov.search reindex not working. [href]
1.7.0 (2016-04-29)
Adds the ability to create multiple reservations in one ticket. [href]
Adds the ability to deny selected dates from a reservation ticket. [href]
Adds the ability to filter the tickets by group. [href]
Adds the ability to group resources in the overview. [href]
Adds full history and url sharing support to the calendar. [href]
Merges the resevation forms into a single step. [href]
Shows an error if an uploaded’s filename is too long. [href]
Removes extra text in ticket closed e-mail. [href]
Improve legibility for ticket badges with numbers > 99. [href]
Enables hpyhenation in browsers that support it. [href]
Fix modal redactor dialogs being “jumpy” (moving the background when opened). [href]
Limits search queries to 100 characters. [href]
Adds compatibility with Morepath 0.13. [href]
1.6.1 (2016-04-06)
Adds a proper margin to the map in the event view. [href]
1.6.0 (2016-04-05)
Adds the ability to add coordinates to pages, forms, resources and events. [href]
Gives admins the ability to manage subscriptions. [href]
Limit search fuzziness to avoid slow search queries. [href]
Stops raising an exception if no color was selected in the settings. [href]
Automatically embeds youtube and vimeo links. [href]
Adds CSV export view for occurrences. [msom]
Removes the footer height discrepancy between Gecko and Webkit. [href]
Improves the print styles with a focus on printing tickets. [href]
Changes the look and feel of the formcode field to be more like other fields. [href]
Various accessibility improvements. [href]
Fixes the upload widget in forms having an unintended design. [href]
1.5.4 (2016-02-15)
Depend on latest onegov.core release which fixes an issue with email sending. [href]
1.5.3 (2016-02-10)
Sort forms definitions correctly, even if the title changes. [href]
1.5.2 (2016-02-10)
Fixes date errors showing up before the input field. [href]
Adds missing translation of subscription e-mail. [href]
1.5.1 (2016-02-09)
Stops including unconfirmed subscriptions in the newsletter views. [href]
1.5.0 (2016-02-09)
Adds the ability to send newsletters to subscribers. [href]
Stops search box from consuming arrow key presses too eagerly. [href]
Maching titles now get a slight boost in the search results. This ensures that maching titles in search results are shown further up. [href]
Adds compatibility with latest onegov.core release. [herf]
1.4.6 (2016-01-27)
Adds the ability to define a custom reply to address when creating a town. [href]
1.4.5 (2016-01-27)
Uses the latest onegov.core release. [href]
1.4.4 (2016-01-27)
Adds an unsubscribe link to regular e-mails. [href]
Improves wording of initial news. [href]
Include the town name in the demo events. [href]
1.4.3 (2016-01-25)
Fixes html tags being escaped in the initial news entry. [href]
1.4.2 (2016-01-25)
Fixes the ticket url and some typos in the initial news entry. [href]
1.4.1 (2016-01-23)
Stops build artifact ‘requirements.txt’ from ending up with a git url. [href]
1.4.0 (2016-01-22)
Adds a news article which is added upon town generation. [href]
Adds a generic coat of arms for newly created towns. [href]
Moves the builtin forms update to the dedicated update step. [href]
Fixes minor annoyances in the settings form. [href]
Adds support for bright primary colors. [href]
Make sure a town exists before answering any requests for it.
This paves the way for the upcoming onboarding application. [href]
1.3.0 (2016-01-13)
Adds more information about tickets to the tickets overview. [href]
Adds an identicon to each user which is displayed in the tickets overview. [href]
Stops non-existing ressource paths from triggering an exceptions. [href]
Fixes person list looking unorganized. [href]
1.2.3 (2016-01-07)
Fixes daily e-mail sometimes being sent twice. [href]
1.2.2 (2016-01-05)
Fixes cronjobs not working with more than one process. [href]
1.2.1 (2016-01-04)
Fixes news link on homepage. [href]
1.2.0 (2016-01-04)
Adds a status mail sent to all users daily at 08:30. [href]
Adds a user profile where users can change their settings. [href]
Shows the contact address in emails in a single line. [href]
Greys out the ‘reserve’ link for unavailable allocations. [href]
Adds the ability to add extra notes to people. [href]
1.1.0 (2015-12-30)
Fixes being unable to save a page after a linked person has been deleted. [href]
Adds an “all news” link to the homepage and removes the ‘more…’ links. [href]
Adds the ability to filter the news page by year. In addition each available year is linked on the frontpage. [href]
Adds a custom 404 page. [href]
Improves printing styles, especially the printing of tickets. [href]
Ensures that page links are always rendered right after the text. [href]
Only updates the builtin forms if there have been any changes. This leads to faster startup time and improves the page rendering time if elasticsearch is offline when the process is restarted. [href]
Improves ticket confirmation text. [href]
Improves the event publication terms and conditions text. [href]
1.0.2 (2015-12-21)
Depends on latest onegov.core which fixes an issue with date display. [href]
Is more consistent with the use of secondary buttons in input fields. [href]
1.0.1 (2015-12-17)
Shows a helpful error if a form with an existing name is added. [href]
Enables picture upload on person edit view. [href]
Fixes datetime picker not working in the events view. [href]
1.0.0 (2015-12-17)
Localize date input format. [msom]
Opens links pointing to files in a new tab. [href]
Improves ticket state change error handling. [href]
Replaces the town name with the contact info in the email footer. [href]
Improves datetime picker on Firefox/Safari/Internet Explorer. [href]
0.11.2 (2015-12-08)
Displays a helpful error when the daypass quota is invalid. [href]
Ensures a difference between the pending and the open tickets color. [href]
0.11.1 (2015-12-07)
Properly uses singular/plural for ticket display. [href]
Improves the display of the footer. [href]
0.11.0 (2015-12-04)
Adds the ability to select images, files and internal links throug dialogs. [href]
Adds terms to events submission form. [msom]
Improves the display of open/pending tickets for logged in users. [href]
Fixes invalid start/end times in allocations leading to an exception. [href]
Stops person/page move from leading to an exception in certain cases. [href]
Displays the function of a person in the overview. [href]
0.10.1 (2015-11-30)
Adds people re-ordering for forms and resources in addition to pages. [href]
Improvres readability of fullcalendar. [href]
0.10.0 (2015-11-27)
Adds an extra confirmation step to the reservations to be more consistent with the way form and event submissions work. [href]
Adds the ability to reserve parts of an allocation. Allocations in rooms are partly reservable by default. [href]
Adds the ability to re-order people in the people’s panel. Works just like page reorderings do. [href]
Don’t show a grey box below images with an empty alt text. [href]
Removes extra spaces occurring on certain contact panels. [href]
Fixes umlauts in the search box leading to decoding errors. [href]
0.9.2 (2015-11-24)
Fixes display issue in the calendar. [href]
0.9.1 (2015-11-24)
Hides ‘no lead-in’ hint on news overview. [href]
Renders image captions a bit more subtle. [href]
Improves the legibility of small allocations in the calendar. [href]
Improves display of new reservation form. [href]
0.9.0 (2015-11-20)
Hides hidden resources in the overview. [href]
Shows missing lead info on resources and forms in addition to pages. [href]
The user is no longer logged-in right after a password reset.
This increases security by making sure that this is not a backdoor to circumvent future 2FA implementations. [href]
Removes the double scrollbars in the file select dialog. [href]
Improves file/image upload styling, adding a progress bar for uploads. [href]
0.8.1 (2015-11-18)
Fixes a critical issue which could result in lost reservations. [href]
0.8.0 (2015-11-18)
Adds the ability to override the default labels for the online counter, the reservations and the sbb daypass on the homepage. [href]
Improves print styles. [msom]
Adds image captions. [msom]
Improves event list for mobiles. [msom]
Adds ticket reference to event mails. [msom]
Hides “open in new tab” and “text orientation” in image edit dialog. [msom]
Fixes generation of faulty empty tags in mark_images. [msom]
Sorts uploaded files alphabetically. [msom]
Adds social media links. [msom]
Adds links to contact page and opening hours page. [msom]
Visualizes the contrast ratio of the primary color with a meter. [msom]
Shows a warning if a page contains no lead. [msom]
0.7.1 (2015-10-26)
Makes sure the page move api only accepts numbers for its ids. [href]
Introduces a delay to drag & drop operations to prevent accidents. [href]
0.7.0 (2015-10-22)
Adds the ability to have topics and links appear on the frontpage by selecting a checkbox on the edit dialog. [href]
Adds the ability to order pages using drag & drop in the sidebar. [href]
People are now always rendered “Firstname Lastname”, without salutation. [href]
0.6.6 (2015-10-19)
Change default locale from ‘de_ch’ to ‘de_CH’, as the former does not exist. [href]
0.6.5 (2015-10-16)
Updates redactor to 10.2.5. [href]
Switch from ‘de’ to ‘de_CH’ to properly support Swiss formatting. [href]
Removes Python 2.x support. [href]
Logouts now redirect to the current page, just like logins. [href]
Fixes various little design issues. [href]
Fixes elasticsearch offline warning being recorded mistakenly. [href]
0.6.4 (2015-09-29)
Fixes search being unable to find certain people. [href]
0.6.3 (2015-09-29)
Adds catalog A-Z. [href]
0.6.2 (2015-09-29)
Fixes small design issues on mobile. [href]
0.6.1 (2015-09-28)
Limits the height of the people’s list in the edit dialog. [href]
Updates redactor to 10.2.4. [href]
0.6.0 (2015-09-25)
Adds a fulltext search feature with fast results and autocomplete. [href]
Adds URLs to ical exports. [msom]
0.5.1 (2015-09-10)
Improves the error handling in form definitions. [href]
The people’s portraits are now always covering their surrounding block. [href]
Fixes page link ordering below page content. [href]
Adds ical exports to events. [msom]
Disables delete event link if a ticket exists. [msom]
0.5.0 (2015-09-04)
Adds the ability to enter, list and manage events (parties, concerts, etc.). [msom]
Adds a function field to the person. [href]
Adds the ability to clean up unused allocations. [href]
Updates redactor to 10.2.3. [href]
Adds the ability to filter tickets by handler. [href]
Adds the ability to show all tickets of all states in one table. [href]
Adds a link between allocation and tickets. [href]
Sorts the children pages on the homepage by A-Z as well. [href]
Includes the submitter e-mail address on the ticket view. [href]
0.4.0 (2015-08-28)
The allocation availability calculation is now faster and accurate. [href]
Expired reservation sessions are now automatically removed. [href]
Adds the ability to create reservations and to accept/reject them. [href]
The edit links for the model shown on the ticket view are now only visible if the ticket is in ‘pending’ state. To change something on the model, the ticket needs to be accepted/reopened. [href]
All forms now retain the posted value if a validation error occurs. [href]
Adds the ability to define the reservation form on the resource. [href]
0.3.10 (2015-08-25)
Replaces the broken ‘jsmin’ filter with the not so broken ‘rjsmin’ filter. [href]
Depends on latest onegov.core - with this release the upgrade tables should be set up correctly when creating new schemas. [href]
0.3.9 (2015-08-20)
Reservation allocations can now be created/modified and deleted. [href]
Adds the ability to confirm the confirmation dialog using enter. To cancel press escape. [href]
A person’s academic title is now a person’s salutation. [href]
Removes Gravatar support. [href]
0.3.8 (2015-08-14)
Emails are now sent only if the db transaction is successful. [href]
0.3.7 (2015-08-12)
Fixes some email sending issues. [href]
0.3.6 (2015-08-12)
Makes sure that all person links are valid. [href]
When inserting a defined link, the dropdown now starts with an empty selection. [href]
0.3.5 (2015-08-11)
Fix code editor not working in form definition editor. [href]
0.3.4 (2015-08-11)
Depends on latest onegov.form release to fix installation issue. [href]
The onegov.town.element classes now use less memory. [href]
0.3.3 (2015-08-10)
Improves upon the requirements.txt generation. No other changes. [href]
0.3.2 (2015-08-10)
No changes worth mentioning. Experimental requirements.txt generation on release. [href]
0.3.1 (2015-08-07)
Adds the ability to insert site links in the redactor through a dropdown. [href]
Limit the deletion of pages including subpages to users with the admin role. [href]
Adds a copy&paste mechanism for pages, links and news. [href]
Add the ability to define room/daypass resources and allocations (no way to do reservations just yet). [href]
Group images by dates. [msom]
0.3.0 (2015-08-03)
Correctly sort the the pages even if the title has changed. [href]
Limits the news list on the homepage to two entries. [href]
Adds the datetimepicker plugin. [msom]
Add retrieve password functionality. [msom]
0.2.6 (2015-07-16)
Fixes encoding issue in Apple Mail. [href]
0.2.5 (2015-07-16)
Shows a ticket count at the top of every page for logged in users. [href]
Adds e-mail notifications for open/close ticket. [href]
Adds reopen ticket functionality. [msom]
Adds analytics code snippet. [msom]
0.2.4 (2015-07-14)
Integrates tickets through onegov.ticket. [href]
Form submissions automatically generate a onegov.ticket in the backend. [href]
The old form submissions colleciton view is no more. This is now done through the ticketing system. [href]
Form submissions, tickets and news are now shown with a relative date (e.g. 5 hours ago). [href]
0.2.3 (2015-07-09)
Each form must now contain at least one required e-mail address field. [href]
The login link always redirects to the original site now. [href]
Show an alert for every form that contains errors. [href]
Adds a reply-to address for automated e-mails. [href]
Show the edit/delete links outside the dropdown. [href]
Adds the ability to add an address block to topics, news and forms. [href]
Adds the ability to add people to topics, news and forms. [href]
0.2.2 (2015-07-03)
Show sidebar below the content on smaller screens. [href]
Adds the ability to keep a directory of people related to the town. [href]
Fix lists not showing a dot in the redactor editor. [href]
Adds files upload and listing. [treinhard]
Use more pronounced colors for various elements. [href]
Adds the ability to hide news, pages or forms from anonymous users. [href]
Fix sticky footer being partly rendered out of the viewport. [href]
Updates Redactor to 10.2. [href]
0.2.1 (2015-06-26)
Adds support for onegov.core.upgrade. [href]
Remove support for Python 3.3. [href]
Pages are now always sorted from A to Z. [href]
Fixes form dependency javascript not working with multiple choices. [href]
Fixes greyscale scss mixin not working in Firefox. [href]
Adds many new builtin forms. [freinhard]
Adds minor style adjustments. [freinhard]
0.2.0 (2015-06-10)
Adds the ability to use builtin forms, define custom forms and manage submissions.
The ‘more…’ news link is only showed if there actually is more to read. [href]
Paragraphs are now limited in width, images are 100% width. [href]
Fix sticky footer jumping in Chrome by fixating it using CSS. [href]
0.1.0 (2015-05-07)
Adds a news section. [href]
Refactors pages to be easily be able to define new kind of pages. [href]
Adds contact and opening hours as a footer. [href]
0.0.2 (2015-05-05)
Images are now always shown in order of their creation. [href]
Adds image thumbnails and the ability to select previously uploaded images in the html editor. [href]
Adds support for image uploads through the html editor. [href]
Replaces the markdown editor with a WYSIWYG html editor. [href]
Upgrade to Zurb Foundation 5.5.2. [href]
Show a wildcard next to required form fields. [href]
Adds hints to form fields, rendered as placemarks. [href]
The page markdown editor no longer steals the focus when opening the page. [href]
0.0.1 (2015-04-29)
Initial release. [href]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file onegov.town-1.15.10.tar.gz
.
File metadata
- Download URL: onegov.town-1.15.10.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca82b693f0ef061c18c0fe0fcd12281950e71b1746bbfe6c5f58af1e9929894 |
|
MD5 | bae1e283ed1370f41f1d0fd0cdb24653 |
|
BLAKE2b-256 | 98b329de35bd97d659f904c38b6a9f62a39a2ee69053cbfb286ad8f43cc59e9a |
File details
Details for the file onegov.town-1.15.10-py3-none-any.whl
.
File metadata
- Download URL: onegov.town-1.15.10-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 071efd25a432d643dfcd50821167b48f1a414df7498c8e580f0d5e1177b135d4 |
|
MD5 | 315bb1cfbc0b080d1817c0d882614473 |
|
BLAKE2b-256 | e020408e338c595bbcf915935d3c2efc0d3a60f5204ebfbb9c58c344939ff195 |