Skip to main content

Models for OpenGever directory service (Maintainer 4teamwork AG)

Project description

Introduction

This package contains the SQLAlchemy models for the OpenGever directory service.

The purpose of making opengever.ogds.models its own package is to allow other appliactions than OpenGever to use its models, for example the so called “bridge” (a small Pyramid application).

Therefore opengever.ogds.models should not have any Plone dependencies (except for testing, using the [tests] extra), but instead only depend on SQLAlchemy and possibly other pure Python libraries.

Changelog

2.4.2 (2016-03-17)

  • Handle missing OGDS user in AdminUnit.is_user_assigned(). [lgraf]

  • Add optimized method for checking if a user is assigned to an AdminUnit. [buchi]

2.4.1 (2016-03-15)

  • Optimize performance of assigned_users() method of an AdminUnit. [buchi]

2.4.0 (2015-12-11)

  • Move plone-group creation to opengever.core and refactor OrgUnitBuilder to have smaller methods that can be overwritten. [deiferni]

  • Also create plone groups when creating ogds-groups for org-units. [deiferni]

  • Add a method to query ogds groups from the service. [deiferni]

2.3.1 (2015-08-19)

  • Add an UnicodeCoercingText TypeDecorator for the Text type that always returns unicode for values fetched from the DB. This allows us to have a guarantee to always receive unicode for Text types, even when using Oracle as the backend. The effect of this TypeDecorator should be the same as the cxOracle dialect option coerce_to_unicode, which unfortunately only affects String columns. [lgraf]

2.3.0 (2015-08-03)

  • Add active column to Group model. (Corresponding upgrade-step is in opengever.ogds.base:default) [lgraf]

  • Adapt imports for SQLAlchemy 1.x. [lgraf]

2.2.0 (2015-06-01)

  • Factor out common column lengths into constants. [lgraf]

  • Increase several column lengths in preparation for factoring out common column lengths to constants. (Corresponding upgrade-step is in opengever.ogds.base:default) [lgraf]

  • Move extend_query_with_textfilter functionality to a separte method. [phgross]

2.1.0 (2015-03-12)

  • Added query helper by_searchable_text to the BaseQuery. [phgross]

2.0.1 (2014-10-27)

  • Harmonize column lengths of groupid and userid columns. [phgross]

2.0.0 (2014-10-24)

  • Add abbreviation column to admin_unit table. [phgross]

  • Add OGDSService which provides an entry point to query data. [phgross, deiferni]

  • Add OrgUnit and AdminUnit model definitions, OrgUnit replaces Client. [phgross, deiferni]

  • Move some functionality from opengever.core utility functions to methds on our model classes for better encapsulation. [phgross, deiferni]

  • Add common base-class with query helper methods for all models. [phgross, deiferni]

  • Add ftw.builder SQL-Builders for all model classes. [phgross, deiferni]

1.0.3 (2014-06-05)

  • Fixed backref name of the groups_user join table. [phgross]

1.0.2 (2014-02-18)

  • Fixed include in MANIFEST that caused previous brown bag release. [lknoepfel]

1.0.1 (2013-12-15)

  • Moved package to GitHub. [lknoepfel]

  • Added helper function alter_column_length (used by upgrade steps in og.core). [lgraf]

  • Increased lengths for userid and groupid columns to 255. [lgraf]

  • Dropped Plone 4.1 compatibility. Only 4.2 and up are supported. [lgraf]

1.0 (2011-11-17)

  • Final release [phgross]

1.0a2 (2011-10-04)

  • added manifest.in

1.0a1 (2011-09-29)

  • Initial release

Project details


Download files

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

Source Distribution

opengever.ogds.models-2.4.2.tar.gz (15.0 kB view details)

Uploaded Source

File details

Details for the file opengever.ogds.models-2.4.2.tar.gz.

File metadata

File hashes

Hashes for opengever.ogds.models-2.4.2.tar.gz
Algorithm Hash digest
SHA256 c8eabb9cfeae253c7876e1c2d0f8d731310bf7bae34dddab444fe738ec668921
MD5 7366a1537ab2d817802356bb477fe35f
BLAKE2b-256 17a2662e0cc87b0b7d5c5f06c8526e16f30bcd20a1e081ee55a980de602eaf60

See more details on using hashes here.

Supported by

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