<commit_before>*********
Changelog
*********

3.x series
==========

All releases in the 3.x series are named after types of toothpaste.

3.0.1 "Cavity Protection" (?? May 2012)
---------------------------------------

This is the first point release, intended for some bug fixing.

* Switched ``backend`` and ``captivity`` to use ``daemon`` instead of ``python-daemon`` module.
* ``backend``: Fix DBus service not working when run as a daemon.
* ``backend``: Fix integer overflow in get_all_users_quota_remaining for users who had used more than 4GB quota.
* ``backend``: Fix regression when ``TPROXY``-based captivity was introduced that broke port forwarding functionality.
* ``frontend``: Added scraper detection for Foxconn, HTC, Murata, RIM and Samsung.
* ``frontend``: Added workaround for MySQL stopping accounting for quota at 4GB (``mysql_bigint_patch``), migrated all byte counters to use bigger integers (limit is now about 8.16 EiB).
* ``frontend``: Fix port forward user online colour always being red (no).
* ``frontend``: Fix template syntax error on internet-login-success page.
* ``frontend``: Fix template error on "my devices and quota" page when being offered a free reset (`Issue #21`_)
* ``frontend``: Internet usage report now shows when quota is unmetered for a user. (`Issue #22`_)
* ``frontend``: Port forward creator field is now filled in automatically, and no longer allows user changes of it. (`Issue #16`_)
* ``frontend``: Prevented creation of new events with overlapping times, start times after the end date, or non-unique event names. (`Issue #23`_)

.. _Issue #16: https://github.com/micolous/tollgate/issues/16
.. _Issue #21: https://github.com/micolous/tollgate/issues/21
.. _Issue #22: https://github.com/micolous/tollgate/issues/22
.. _Issue #23: https://github.com/micolous/tollgate/issues/23


3.0.0 "Cavity Protection" (5th May 2012)
----------------------------------------

This represents the first public stable release of tollgate (formerly portal2).  Changes from 2.8.3 (September 2010):

* Added basic IPv4 port/protocol forwarding ability.
* Application migrated to ``setuptools``-based deployment, and can be hosted inside of another Django project in typical deployment. (`Issue #7`_)
* Implemented proper rollover handling, so when there is no current event or the event changes, access is revoked appropriately. (`Issue #13`_)
* Improved documentation.
* License changed to Affero GPL v3.
* Major repository shuffle and cleanups.

* ``api``: NetworkHost objects now report a bit more information about the vendor (not just the type of console), match many non-console items.  Consoles are now identified by a new ``is_console`` field.

* ``backend``: Tollgate `backend` daemonised, renamed files.  Created init scripts.
* ``backend``: Configuration file absence now handled better. (`Issue #10`_)
* ``backend``: Default configuration location is now ``/etc/tollgate/backend.ini``.
* ``backend``: New ``TPROXY``-based captivity handler backported from experimental IPv6 branch.
* ``builder``: Added new ``tollgatebuilder`` script for experimental deployment documentation. ;)

* ``frontend``: Absence of ``python-dbus`` is handled more gracefully, allowing testing and development of the frontend on non-DBUS systems (Windows).
* ``frontend``: Added system for automatically downloading and parsing MAC OUIs for system identification.
* ``frontend``: All StreetGeek and SAGA-specific authentication code has been removed, as well as all external authentication code.
* ``frontend``: All sign-ins and events are now handled locally, and locally administerable with sign-in wizard.<commit_msg>Update changelog with recent bugs that were fixed (Issues #20, #27, #28, #29, #30)<commit_after>*********
Changelog
*********

3.x series
==========

All releases in the 3.x series are named after types of toothpaste.

3.0.1 "Cavity Protection" (?? May 2012)
---------------------------------------

This is the first point release, intended for some bug fixing.

* Improve daemon behaviours so they write PID files, fix Debian init scripts so that you can stop the daemons properly. (`Issue #29`_)
* Switched ``backend`` and ``captivity`` to use ``daemon`` instead of ``python-daemon`` module.
* ``backend``: Fix DBus service not working when run as a daemon.
* ``backend``: Fix integer overflow in get_all_users_quota_remaining for users who had used more than 4GB quota.
* ``backend``: Fix regression when ``TPROXY``-based captivity was introduced that broke port forwarding functionality.
* ``backend``: Fix backend continuing to count rejected connection attempts after quota has been exceeded.  Quota will continue to be counted if it has been allowed through the standard mechanisms (so CARP setups may continue to show negative amounts).  (`Issue #20`_)
* ``frontend``: Added scraper detection for Foxconn, HTC, Murata, RIM and Samsung.
* ``frontend``: Added workaround for MySQL stopping accounting for quota at 4GB (``mysql_bigint_patch``), migrated all byte counters to use bigger integers (limit is now about 8.16 EiB).
* ``frontend``: Fix missing CSRF toden on captive landing page, which would prevent you logging in using that view. (`Issue #28`_)
* ``frontend``: Fix port forward user online colour always being red (no).
* ``frontend``: Fix template syntax error on internet-login-success page.
* ``frontend``: Fix template error on "my devices and quota" page when being offered a free reset (`Issue #21`_)
* ``frontend``: Fix usage graph so that it shows the correct speed used (in KiB/s rather than KiB/ms). (`Issue #30`_)
* ``frontend``: Improve display of quota when internet access has been revoked so it makes a bit more sense. (`Issue #27`_)
* ``frontend``: Internet usage report now shows when quota is unmetered for a user. (`Issue #22`_)
* ``frontend``: Port forward creator field is now filled in automatically, and no longer allows user changes of it. (`Issue #16`_)
* ``frontend``: Prevented creation of new events with overlapping times, start times after the end date, or non-unique event names. (`Issue #23`_)

.. _Issue #16: https://github.com/micolous/tollgate/issues/16
.. _Issue #20: https://github.com/micolous/tollgate/issues/20
.. _Issue #21: https://github.com/micolous/tollgate/issues/21
.. _Issue #22: https://github.com/micolous/tollgate/issues/22
.. _Issue #23: https://github.com/micolous/tollgate/issues/23
.. _Issue #27: https://github.com/micolous/tollgate/issues/27
.. _Issue #28: https://github.com/micolous/tollgate/issues/28
.. _Issue #29: https://github.com/micolous/tollgate/issues/29
.. _Issue #30: https://github.com/micolous/tollgate/issues/30


3.0.0 "Cavity Protection" (5th May 2012)
----------------------------------------

This represents the first public stable release of tollgate (formerly portal2).  Changes from 2.8.3 (September 2010):

* Added basic IPv4 port/protocol forwarding ability.
* Application migrated to ``setuptools``-based deployment, and can be hosted inside of another Django project in typical deployment. (`Issue #7`_)
* Implemented proper rollover handling, so when there is no current event or the event changes, access is revoked appropriately. (`Issue #13`_)
* Improved documentation.
* License changed to Affero GPL v3.
* Major repository shuffle and cleanups.

* ``api``: NetworkHost objects now report a bit more information about the vendor (not just the type of console), match many non-console items.  Consoles are now identified by a new ``is_console`` field.

* ``backend``: Tollgate `backend` daemonised, renamed files.  Created init scripts.
* ``backend``: Configuration file absence now handled better. (`Issue #10`_)
* ``backend``: Default configuration location is now ``/etc/tollgate/backend.ini``.
* ``backend``: New ``TPROXY``-based captivity handler backported from experimental IPv6 branch.
* ``builder``: Added new ``tollgatebuilder`` script for experimental deployment documentation. ;)

* ``frontend``: Absence of ``python-dbus`` is handled more gracefully, allowing testing and development of the frontend on non-DBUS systems (Windows).
* ``frontend``: Added system for automatically downloading and parsing MAC OUIs for system identification.
* ``frontend``: All StreetGeek and SAGA-specific authentication code has been removed, as well as all external authentication code.
* ``frontend``: All sign-ins and events are now handled locally, and locally administerable with sign-in wizard.
{'fraction_non_alphanumeric': 0.12961647727272727, 'fraction_numerical': 0.019412878787878788, 'mean_word_length': 4.426461143224149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1023925', 'n_tokens_mistral': 2476, 'n_tokens_neox': 2259, 'n_words': 1036}