Metadata-Version: 2.0
Name: onegov.core
Version: 0.4.2
Summary: Contains code shared by all OneGov applications.
Home-page: http://github.com/seantis/onegov.core
Author: Seantis GmbH
Author-email: info@seantis.ch
License: GPLv2
Platform: any
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Dist: sqlalchemy (>=0.9)
Requires-Dist: zope.sqlalchemy
Requires-Dist: onegov.server (>=0.0.3)
Requires-Dist: bleach
Requires-Dist: isodate
Requires-Dist: pylru
Requires-Dist: networkx
Requires-Dist: click
Requires-Dist: cached-property
Requires-Dist: sqlparse
Requires-Dist: pyreact
Requires-Dist: passlib
Requires-Dist: psycopg2
Requires-Dist: webtest
Requires-Dist: python-magic
Requires-Dist: pylibmc
Requires-Dist: itsdangerous
Requires-Dist: purl
Requires-Dist: fs
Requires-Dist: py-bcrypt
Requires-Dist: chameleon
Requires-Dist: more.webassets
Requires-Dist: pytz
Requires-Dist: morepath
Requires-Dist: more.transaction
Requires-Dist: delorean
Requires-Dist: unidecode
Requires-Dist: translationstring
Requires-Dist: wtforms
Requires-Dist: polib
Requires-Dist: alembic
Requires-Dist: dogpile.cache
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'
Requires-Dist: freezegun; extra == 'test'
Requires-Dist: mock; extra == 'test'
Requires-Dist: onegov.testing; extra == 'test'


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 <http://semver.org/>`_

Build Status
------------

.. image:: https://travis-ci.org/OneGov/onegov.core.png
  :target: https://travis-ci.org/OneGov/onegov.core
  :alt: Build Status

Coverage
--------

.. image:: https://coveralls.io/repos/OneGov/onegov.core/badge.png?branch=master
  :target: https://coveralls.io/r/OneGov/onegov.core?branch=master
  :alt: Project Coverage

Latests PyPI Release
--------------------
.. image:: https://pypip.in/v/onegov.core/badge.png
  :target: https://crate.io/packages/onegov.core
  :alt: Latest PyPI Release

License
-------
onegov.core is released under GPLv2

Changelog
---------

Unreleased
~~~~~~~~~~

0.4.2 (2015-06-29)
~~~~~~~~~~~~~~~~~~~

- Added a new 'hidden_from_public' property which may be set on any model
  handled by onegov.core Applications. If said property is found and it is
  True, anonymous users are forbidden from viewing it.

  This enables applications to dynamically set the visibilty of any model.
  [href]

0.4.1 (2015-06-26)
~~~~~~~~~~~~~~~~~~~

- Ensure that the bind schema doesn't stick around to cause test failures.
  [href]

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]


