Skip to main content

Summer activities by Pro Juventute for OneGov Cloud

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

tox -e pep8

Onegov Activity uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.activity is released under GPLv2

Changelog

0.8.10 (2017-05-19)

  • Fixes activity collection pagination not recognizing the active element. [href]

0.8.9 (2017-05-12)

  • The deadline is now inclusive (including the day it ends) for dates. [href]

0.8.8 (2017-05-12)

  • Adds the ability to filter the activities by weekday. [href]

0.8.7 (2017-05-10)

  • Consider all bookings for matchings except for the cancelled ones. [href]

  • Adds a method to check if an activity has an occasion in a given period. [href]

  • Adds helper methods for prebooking checks (before, during, after). [href]

0.8.6 (2017-05-08)

  • Adds a relationship between invoice_item and user. [href]

0.8.5 (2017-05-08)

  • Encodes the period bound booking state on the booking. [href]

0.8.4 (2017-05-04)

  • Adds support for ESR reference numbers in payments. [href]

0.8.3 (2017-05-02)

  • Adds elasticsearch indexing to the attendees (private only). [href]

0.8.2 (2017-04-11)

  • Fixes reference code in ISO20022 statements not being detected in some cases. [href]

0.8.1 (2017-03-23)

  • Fixes accept_booking falsly claiming a booking was in conflict. [href]

0.8.0 (2017-03-14)

  • Removes the ‘denied’ state for activities. [href]

  • Adds the ability to cancel a booking without cascading changes. [href]

  • Check the booking limit of the attendee when accepting a booking. [href]

0.7.0 (2017-03-02)

  • Adds active days to the activity/occasion models. [href]

  • Fix age calcualation not being correct on some birthdays. [href]

  • Fixes activity delete not working if there are attached occasions. [href]

0.6.3 (2017-02-28)

  • Adds the ability to nobble bookings. [href]

0.6.2 (2017-02-27)

  • Adds user reference to bookings and attendees. [href]

0.6.1 (2017-02-24)

  • Adds a meeting point to the occasion, a location to the activity. [href]

  • Adds the ability to filter the booking counts per username by state. [href]

0.6.0 (2017-02-24)

  • Adds attendee-based limits. [href]

  • Adds a way to control the deadline to the period. [href]

0.5.1 (2017-02-21)

  • Enable state changes to all states except to the proposed state. [href]

0.5.0 (2017-02-16)

  • Adds the ability to exclude certain occasions from overlapping with others. [href]

  • Adds the ability to enforce time between occasions during matching. [href]

  • Fixes stability check not working correctly with cascades. [href]

0.4.2 (2017-02-15)

  • Adds a helper method to verify a given birth date’s age for an occasion. [href]

0.4.1 (2017-02-14)

  • Adds the ability to clear all dates of an occasion. [href]

0.4.0 (2017-02-09)

  • Reworks the occasions database model to include multiple dates per occasion. [href]

  • Do not start the wishlist-phase before its start date. [href]

  • Adds a notes field to the attendees. [href]

  • Adds a gender field to the attendees. [href]

0.3.0 (2017-01-30)

  • Adds a source field to the invoice items to note the source of the tid. [href]

  • Adds a simple ISO20022 parser to process payments. [href]

  • Adds a code field to the invoice items for online banking reference. [href]

0.2.0 (2016-12-13)

  • Adds an ‘outstanding’ property to the invoice item collection. [href]

  • Adds the ability to cancel an occasion. [href]

  • Make sure direct bookings have the correct cost set. [href]

0.1.2 (2016-12-01)

  • Adds columns for payment/booking costs. [href]

  • Adds the ability to limit the number of matched bookings. [href]

  • Adds the ability to create invoices for bookings. [href]

  • Fixes matching resulting in an error in certain constellations. [href]

0.1.1 (2016-11-25)

  • Adds a finalized flag to the periods which indicates that the period transitioned from the booking to the payment phase. [href]

  • Adds the ability to accept/cancel bookings in a confirmed period. [href]

  • Adds an accepted booking count to the occasion, along with properties to check for operable and/or full occasions. [href]

  • Adds a custom data column to the period. [href]

  • Introduces the ability to configure custom scoring functions for matching. [href]

  • Starring a booking no longer leads to a cascade of updates. [href]

0.1.0 (2016-11-18)

  • Periods now have a confirmed flag. Confirmed periods can be booked directly, while unconfirmed bookings an be booked through the wishlist and matched using the matching algorithm. [href]

  • Adds an implementation of Deferred Acceptance as a matching algorithm. [href]

  • Introduces a happiness function on the attendee which returns a value between 0.0 and 1.0 depending on how happy the attendee is assumed to be with the bookings confirmed for the given period. [href]

  • Adds the denormalized period_id to the bookings. [href]

  • Make sure all models are hashable. [href]

0.0.11 (2016-11-02)

  • Adds the ability to star/unstar a booking. [href]

  • Adds the ability to switch the username or period on the bookings collection. [href]

  • Adds the ability to filter the bookings by username or period. [href]

  • Includes a count method for bookings per user. [href]

  • Adds an attendee model. [href]

0.0.10 (2016-10-20)

  • Reworks the datamodel to include a period linked to the occasion/bookings. [href]

0.0.9 (2016-10-17)

  • Improves the performance of the used_tags method. [href]

0.0.8 (2016-10-14)

  • Adds the ability to filter the activites by one or many owners. [href]

  • Adds the ability to filter the activites by age ranges. [href]

0.0.7 (2016-10-10)

  • Adds the ability to filter activites by the duration of their occasions. [href]

  • Adds a db constraint ensuring that an occasion always starts before it ends. [href]

  • Adds an archived state to occasions. [href]

0.0.6 (2016-10-06)

  • Adds a reporter column to activites. [href]

0.0.5 (2016-10-04)

  • Occasions and bookings can no longer be orphaned. [href]

  • Location is now optional. [href]

  • Adds an occasion collection. [href]

0.0.4 (2016-10-03)

  • Overhauls the occasion model. [href]

0.0.3 (2016-09-29)

  • Adds the ability to directly access the user object from the activity. [href]

0.0.2 (2016-09-26)

  • Adds the ability to override the query base on a subclass. [href]

  • Adds the ability to filter the collection by state. [href]

  • Adds the ability to get the set of used activity tags. [href]

0.0.1 (2016-09-22)

  • Initial Release

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.activity-0.8.10.tar.gz (52.9 kB view details)

Uploaded Source

Built Distribution

onegov.activity-0.8.10-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

Details for the file onegov.activity-0.8.10.tar.gz.

File metadata

File hashes

Hashes for onegov.activity-0.8.10.tar.gz
Algorithm Hash digest
SHA256 cbf32b10cd43d94df4c4b8dc23e1cac30e8a4bf01c4fdf30ed228a1251eda34e
MD5 75e9974de7dbd1888ae1233b41de45e9
BLAKE2b-256 2e8843041a29119098c3c84f621ec2560bfc026a45b7ae36cc0d9142c77ac95b

See more details on using hashes here.

File details

Details for the file onegov.activity-0.8.10-py3-none-any.whl.

File metadata

File hashes

Hashes for onegov.activity-0.8.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0b89cbc0128ecdfcaea5e20cded33f4efc17166a7002a27cd2c758a885c6773f
MD5 a5cef57c3557d5ef0ca6f9e19f5d1ef2
BLAKE2b-256 6e4cf59ec7407047ac2cf3fd7ef7538ac2f404e544380dff53286bc8affc1c69

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