Skip to main content

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Run in an iFrame

Winterthur deployments are often run inside iframes on stadt.winterthur.ch.

You can use a helper script to simulate that environment:

iframe/serve http://host-of-local-onegovcloud-instance/path

Conventions

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

tox -e pep8

Onegov Winterthur uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.winterthur is released under GPLv2

Changelog

0.7.5 (2019-08-26)

  • Fixes mission reports not displaying certain mission reports after creation.

0.7.4 (2019-08-06)

  • Removes inline-editing from iframes. [href]

0.7.3 (2019-07-22)

  • Fixes a number of small issues with the daycare calculator. [href]

0.7.2 (2019-07-18)

  • Updates version to generate new urls for upstream theme changes. [href]

0.7.1 (2019-07-10)

  • Adds print button to daycare calculator. [href]

  • Fixes max income notice showing the wrong amount. [href]

  • Adds iFrame support to the daycare calculator. [href]

0.7.0 (2019-06-28)

  • Adds a daycare calculator. [href]

0.6.4 (2019-06-14)

  • Fixes imported missions not being hidden in some cases. [href]

  • Fixes import matching not working in some cases. [href]

0.6.3 (2019-06-11)

  • Adds year parameter to mission report overview. [href]

0.6.2 (2019-06-11)

  • Fixes date/time not being rendered in the right timezone. [href]

  • Fixes picture icon position. [href]

0.6.1 (2019-06-11)

  • Adds the ability to update existing vehicles with vehicle import. [href]

0.6.0 (2019-06-11)

  • Adds import/export commands for mission vehicles. [href]

0.5.3 (2019-06-05)

  • Adjusts the Zivilschutz link. [href]

0.5.2 (2019-06-03)

  • Adds link to Zivilschutz in mission reports. [href]

  • Includes hidden missions in mission reports. [href]

  • Shows a camera icon on mission-reports with pictures. [href]

0.5.1 (2019-05-14)

  • Adds roadwork to iFrame paths. [href]

0.5.0 (2019-05-06)

  • Adds mission-reports. [href]

0.4.4 (2019-04-05)

  • Fixes section filter not working as expected. [href]

0.4.3 (2019-04-03)

  • Fixes GIS link target=_blank not working in iFrame. [href]

0.4.2 (2019-04-03)

  • Excludes roadwork sections in the past. [href]

  • Sorts roadwork by title. [href]

  • Uses _blank for GIS links. [href]

0.4.1 (2019-04-01)

  • Adds GIS information to roadworks directory. [href]

0.4.0 (2019-03-28)

  • Adds a roadworks directory. [href]

0.3.5 (2019-02-28)

  • Fixes external links not targeting “_top”. [href]

0.3.4 (2019-02-22)

  • Disables test on Travis. [href]

0.3.3 (2019-01-30)

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

0.3.2 (2018-12-03)

  • Moves geo code to onegov.gis. [href]

0.3.1 (2018-09-18)

0.3.0 (2018-09-18)

0.2.14 (2018-09-18)

0.2.13 (2018-09-18)

  • Switches map mprojection to ESPG:2056. [href]

0.2.12 (2018-07-31)

  • Sets the target of exernal links to “_top”. [href]

  • Applies the custom museum layout to all directories. [href]

0.2.11 (2018-06-22)

  • Fixes conflict error. [href]

0.2.10 (2018-06-22)

  • Always enables the search widget for directories. [href]

0.2.9 (2018-06-15)

  • Fixes overzealous bullet point replacements. [href]

0.2.8 (2018-06-14)

  • Small design changes. [href]

0.2.7 (2018-06-13)

  • Adjusts directory panel styles. [href]

  • Resets the whole directory if the reset search button is clicked. [href]

  • Sorts search results in order of importance. [href]

  • Shows a clear button in the search box. [href]

  • Limits hover link javascript to .with-thumbnails. [href]

0.2.6 (2018-06-12)

  • Floats images in directories to the right. [href]

0.2.5 (2018-06-12)

  • Decreases fuzziness of search results. [href]

  • Customizes the display of directory entries with thumbnails. [href]

0.2.4 (2018-06-11)

  • Ensures separation of Winterthur maps from org. [href]

0.2.3 (2018-06-11)

  • Fixes non-https url for Winterthur map. [href]

0.2.2 (2018-06-11)

  • Switches global map to the Winterthur custom one. [href]

0.2.1 (2018-06-05)

  • Adds a back-link to the directory entry views inside iframes. [href]

  • Shows a bullet instead of a checkmark in the directory choices. [href]

0.2.0 (2018-05-23)

  • Adjusts the style to be closer to the styleguide. [href]

0.1.8 (2018-04-30)

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

0.1.7 (2018-04-26)

  • Fixes external links not working on IE 11. [href]

0.1.6 (2018-03-28)

  • Scrolls to top whenever we load the iframe. [href]

0.1.5 (2018-03-23)

  • Fixes streetnames getting wrapped. [href]

0.1.4 (2018-03-20)

  • Adjusts framed style. [href]

  • Discards completely irrevant search results. [href]

  • Adds support for streets without addresses. [href]

0.1.3 (2018-03-08)

  • Fixes iframe height being calculated incorrectly. [href]

0.1.2 (2018-03-01)

  • Applies Winterthur’s CD to the framed version. [href]

0.1.1 (2018-02-06)

  • Adds a frame-ancestors whitelist. [href]

0.1.0 (2018-01-31)

  • Initial Release. [href]

Download files

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

Source Distribution

onegov.winterthur-0.7.5.tar.gz (431.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onegov.winterthur-0.7.5-py3-none-any.whl (461.6 kB view details)

Uploaded Python 3

File details

Details for the file onegov.winterthur-0.7.5.tar.gz.

File metadata

  • Download URL: onegov.winterthur-0.7.5.tar.gz
  • Upload date:
  • Size: 431.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for onegov.winterthur-0.7.5.tar.gz
Algorithm Hash digest
SHA256 c9649a03d155f897bfe403d5993cbf2bd3d2132a7973463a2a391fe49d91f03c
MD5 3c77ef4fe9be2e1d18ae617ccb35dbdf
BLAKE2b-256 3996430599e5538323888d128c9199d25f6fa65188fbe1e1728028a5b9d763a9

See more details on using hashes here.

File details

Details for the file onegov.winterthur-0.7.5-py3-none-any.whl.

File metadata

  • Download URL: onegov.winterthur-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 461.6 kB
  • 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.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for onegov.winterthur-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d1fe20aaa6feee438c58b6065207cdd347048a58bdecf40f81f1edb896db0ec2
MD5 816ff3feba7d9d9b9ddf44159deeb1c2
BLAKE2b-256 d15c3c99413665cd681d2ff76c7ff87b08e850002a42a6118a95065d1e3244f4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.5 This release

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.14

1 file

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page