Package: gargoyle-yplan
GargoyleRetired: this project is no longer maintained.I (Adam Johnson) no longer
have time to continue maintaining this. I was doing so since I took on this
project, and its related packagesdjango-modeldictandnexus, for my ex-employer YPlan. If
you’d like to sponsor ongoing maintenance or take it over yourself, please
contactme@adamj.eu.Gargoyle is a platform built on top of Django which allows you to switch functionality of your application on and off
based on conditions.It was originally created byDisqus, but due to the inactivity we at YPlan have
taken over maintenance on this fork.RequirementsTested with all combinations of:Python: 3.6Django: 1.11, 2.0, 2.1, 2.2Python 3.4+ supported.InstallInstall it withpip:pipinstallgargoyle-yplanIf you are upgrading from the original to this fork, you will need to run the following first, since the packages clash:pipuninstalldjango-modeldictgargoyleFailing to do this will mean thatpip uninstall gargoylewill also erase the files forgargoyle-yplan, and
similarly for ourdjango-modeldictfork.DocumentationThe documentation is available atRead The Docs.HistoryPending Release2.1.1 (2019-05-17)Retired: this project is no longer maintained.I (Adam Johnson) no longer
have time to continue maintaining this. I was doing so since I took on this
project, and its related packagesdjango-modeldictandnexus, for my ex-employer YPlan. If
you’d like to sponsor ongoing maintenance or take it over yourself, please
contactme@adamj.eu.2.1.0 (2019-04-28)Drop Django 1.8, 1.9, and 1.10 support. Only Django 1.11+ is supported now.Depend onnexus-yplan >= 2.1.0which also dropped old Django support.Tested on Django 2.2. No changes were needed for compatibility.2.0.0 (2019-03-03)Drop Python 2 support, only Python 3.4+ is supported now.1.5.0 (2018-12-29)Added protection against conflicting conditions being added to a switch.1.4.0 (2018-08-05)Addedinitial_statusoption toGARGOYLE_SWITCH_DEFAULTS1.3.0 (2017-10-28)Added missing argument message and documents for management commandsDjango 2.0b1 support1.2.7 (2016-12-01)Added three built-in condition sets for checking if today is before or after
a date -UTCTodayConditionSet,AppTodayConditionSet, andActiveTimezoneTodayConditionSet.1.2.6 (2016-08-03)Set requirements to excludedjango-jsonfield==1.0.0which is broken for
PostgreSQL - use1.0.1+instead.Madegargoyle.register()usable as a decoratorMadegargoyle.unregister()return the boolean value of whether something
was unregistered.Fixed removing conditions where the value is the empty string.1.2.5 (2016-05-09)Removed debug prints fromconditions.pywhich spammed your WSGI logs.1.2.4 (2016-05-02)Added a migration to tidy upbytesversusstrforchoicesonSwitch.status. It’s no-op aschoicesis in-memory only.1.2.3 (2016-04-11)Bugfix for@switcheswhich didn’t work onTestCaseclasses properly
in 1.2.2.1.2.2 (2016-04-11)Removed the South Migrations, since South doesn’t support Django 1.7+, and
Gargoyle only supports Django 1.8+.Added all__future__imports to all files for Python 2.7/3
compatibility.Made@switchesusable as a class decorator forunittest.TestCaseclasses as well, where it applies fromsetUpClassthrough all tests totearDownClass. This adds a dependency oncontextdecoratoron Python
2.7.1.2.1 (2016-02-25)Simplified autodiscovery code to useAppConfig.ready(). It’s no longer
necessary to add a call togargoyle.autodiscover()in yoururls.py,
when not using Nexus.Fixed urlpatternswarnings that appear on Django 1.91.2.0 (2016-02-12)Fixed the splitting ofRangeconditions, a merge of disqus/gargoyle#55,
thanks @matclayton.Fixed the parsing ofRangeconditions for the Nexus admin interface.Fixed the Nexus interface to work with Switches that contain dots in their
names, a merge of disqus/gargoyle#73, thanks @Raekkeri.Removed all inline javascript.Addedifnotswitchtemplate tag, a merge of disqus/gargoyle#92, thanks
@mrfuxi.Fixed Nexus admin interface for Switches with spaces in their keys, an issue
reported in disqus/gargoyle#98, thanks @arnaudlimbourg.1.1.1 (2016-01-15)Fix jQuery Templates1.1.0 (2016-01-14)This version has a broken UI, please upgradeSupport for Django 1.9Use the YPlan fork ofdjango-modeldictRemoved support for Django 1.7Added support for Python 3.4 and 3.51.0.1 (2015-12-09)Fix requirements to usenexus-yplannotnexus1.0.0 (2015-12-09)Forked by YPlanDjango 1.8 compatibility - use Django migrations0.11.0 (2015-02-03)Better support for Django 1.6 and Django 1.7Dropped support for Django 1.2 and Django 1.3Usemodel_namein favour ofmodule_nameif available (deprecation in Django 1.6)DateTimeFields now utilize the auto_now=True kwargTravis now tests on Django 1.6/Django 1.70.7.3 (2012-01-31)Bump ModelDict version to handle expiration in Celery tasks.0.7.2 (2012-01-31)Correct issue with trying to serialize datetime objects.0.7.1 (2012-01-31)Changed the behavior of gargoyle.testutils.switches to monkey patch
the is_active method which should solve scenarios where switches
are reloaded during the context.0.7.0 (2012-01-27)Added confirmation message for enabling switches globally.Added date modified and sorts for switches on index view.0.6.1 (2011-12-19)Require Nexus >= 0.2.00.6.0 (2011-12-16)Added basic switch inheritance.Added auto collapsing of switch details in interface.Added simple search filtering of switches in interface.0.5.2 (2011-12-06)Improved display of Gargoyle dashboard widget.0.5.1 (2011-12-06)Fixed switch_condition_removed signal to passswitchinstance.0.5.0 (2011-12-06)Updated signals to pass more useful information in each one (including the switch).0.4.0The percent field is now available on all ModelConditionSet’s by default.Fixed a CSRF conflict issue with Nexus.0.3.0 (2011-08-15)Added gargoyle.testutils.with_switches decoratorAdded gargoyle.testutils.SwitchContextManager0.2.4Updated autodiscovery code to resemble Django’s newer exampleUpdated django-modeldict to 1.1.6 to solve a threading issue with registrationAdded GARGOYLE_AUTO_CREATE setting to disable auto creation of new switchesAdded the ability to pass arbitrary objects to the ifswitch template tag.0.2.3 (2011-07-12)Ensure HostConditionSet is registered0.2.2 (2011-07-06)Moved tests outside of gargoyle namespace0.2.1UI tweaks0.2.0[Backwards Incompatible] SELECTIVE switches without conditions are now inactiveAdded ConditionSet.has_active_condition, and support for default NoneType instances
for global / environment checks.Added HostConditionSet which allows you to specify a switch for a single
server hostname