Skip to main content

Contains code shared by all OneGov applications.

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 Core follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Core uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.core is released under GPLv2

Changelog

Unreleased

0.4.0 (2015-06-26)

  • Removes support for Python 3.3. Use 2.7 or 3.3. [href]

  • Adds colors to the sql debug output. [href]

  • Fix json encoder/decode not working with lists and generators. [href]

0.3.9 (2015-06-23)

  • Moves sanitize_html and linkify functions from onegov.town to core. [href]

0.3.8 (2015-06-18)

  • Remove parentheses from url when normalizing it. [href]

0.3.7 (2015-06-17)

  • Adds a groupby function that returns lists instead of generators. [href]

  • Include a layout base class useful for applications that render html. [href]

  • Stop throwing an error if no translation is registered. [href]

0.3.6 (2015-06-12)

  • Fix encoding error when generating the theme on certain platforms. [href]

  • Make sure the last_change timestamp property works for single objects. [href]

0.3.5 (2015-06-03)

  • Adds a convenience property to timestamps that returns either the modified- or the created-timestamp. [href]

0.3.4 (2015-06-03)

  • Fixes SQL statement debugger failing if a statement is executed with a list of parameters. [href]

0.3.3 (2015-06-02)

  • Accepts wtform’s data attribute in request.get_form. [href]

0.3.2 (2015-05-29)

  • Fix pofile loading not working in certain environments. [href]

0.3.1 (2015-05-28)

  • Adds a method to list all schemas found in the database. [href]

0.3.0 (2015-05-20)

  • Introduces a custom json encoder/decoder that handles additional types. [href]

0.2.0 (2015-05-18)

  • Tighten security around static file serving. [href]

  • Urls generated from titles no longer contain double dashes (’–‘). [href]

  • The browser session now only adds a session_id to the cookies if there’s a change in the browser session. [href]

  • Adds the ability to count and print the sql queries that go into a single request. [href]

  • Store all login information server-side. The client only gets a random session id scoped to the application. [href]

  • Make sure that signatures are only valid for the origin application. [href]

0.1.0 (2015-05-06)

  • The form directive now also accepts a factory function. [href]

0.0.2 (2015-05-05)

  • The CSRF protection now associates a random secret with the session. The random secret is then used to check if the CSRF token is valid. [href]

  • Cache the translator on the request to be slightly more efficient. [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

onegov.core-0.4.0.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

onegov.core-0.4.0-py2-none-any.whl (68.0 kB view details)

Uploaded Python 2

File details

Details for the file onegov.core-0.4.0.tar.gz.

File metadata

  • Download URL: onegov.core-0.4.0.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for onegov.core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0953b1ecd085c146dc97538ad69b7d98e39af69fb5e389dcf7a0215d46f89d33
MD5 a9906d3925040a04a68d4e3a4cdd7c6d
BLAKE2b-256 a372d0f01b3d1b8c4ee97866b65f86c11ad4ee04bb2ae9054c148cc13892e0cd

See more details on using hashes here.

File details

Details for the file onegov.core-0.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for onegov.core-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 ed26b141bd5340df1110d946b3a45d6d022032d54d8938c692f98d72935584a6
MD5 e11b404adf367af9fc06a96bb564b791
BLAKE2b-256 2801c254f5e675cdbec5cf81ffc7611f3aa51b97cd5254fe789700f5d2a30f56

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page