{ "info": { "author": "Doug Napoleone", "author_email": "doug.napoleone+django-auth-fogbugz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "===================================================================\ndjango-auth-fogbugz - Django FogBugz Authentication Backend\n===================================================================\n\nThis authentication backend for django, will authenticate against a\nFogBugz (http://www.fogcreek.com/fogbugz/) issue tracker. It uses the\npython interface (https://developers.fogbugz.com/default.asp?W199)\nto the FogBugz API (http://fogbugz.stackexchange.com/fogbugz-xml-api).\n\nSource code, and issues can be found on GitHub (https://github.com/dougn/django-auth-fogbugz).\nFull documentation is on PyPi packages (http://packages.python.org/django-auth-fogbugz/).\n\n.. warning::\n It is HIGHLY recommended that you use an SSL connection to the FogBugz\n server for secure authentication.\n\nUser Model Extension\n-----------------------------\nThere is an extension profile model which is included with this auth backend\nto help with integrating with the FogBugz API when you set\n``AUTH_FOGBUGZ_ENABLE_PROFILE`` to ``True`` in your settings, and include\n``django-auth-fogbugz`` as an application in INSTALLED_APPS (see below)::\n\n user.fogbugzprofile.token\n user.fogbugzprofile.ixPerson\n user.fogbugzprofile.is_normal\n user.fogbugzprofile.is_community\n user.fogbugzprofile.is_administrator\n\n\nExample:\n\n.. code:: python\n\n import fogbugz\n from django.conf import settings\n\n fb = fogbugz.FogBugz(settings.AUTH_FOGBUGZ_SERVER,\n user.fogbugzprofile.token)\n resp = fb.search(q='assignedTo:\"me\" status:\"Active\"',\n cols=\"ixBug,sTitle\",\n max=10)\n top_ten = ''\n for case in resp.cases.findAll('case'):\n top_ten += \"%s: %s\\n\" % (case.ixbug.string, \n case.stitle.string.encode('UTF-8'))\n\n\nSettings\n--------\n\n.. code:: python\n\n\n AUTH_FOGBUGZ_SERVER = \"https://my_account.fogbugz.com/\"\n \n # By default community users will not be authenticated. If you wish to include\n # FogBugz community user logins, set this to True.\n #\n AUTH_FOGBUGZ_ALLOW_COMMUNITY = False\n \n # Have django-auth-fogbugz create the django user if it does not already\n # exist, and the user authenticates.\n #\n AUTH_FOGBUGZ_AUTO_CREATE_USERS = False\n \n # If your FogBugz server is using the LDAP integration for authentication, then\n # You need to set this to True in order to have authentication work properly.\n # If you are also have AUTH_FOGBUGZ_AUTO_CREATE_USERS set to True, then the\n # first time a user logs in to the django site, they must use their LDAP\n # username, and not their e-mail address.\n #\n AUTH_FOGBUGZ_SERVER_USES_LDAP = False\n \n # FogBugz has a concept if a superuser, the 'administrator' flag on accounts.\n # The following settings will map this information to the django account.\n #\n AUTH_FOGBUGZ_MAP_ADMIN_AS_SUPER = False\n AUTH_FOGBUGZ_MAP_ADMIN_AS_STAFF = False\n\n # There is an extension profile model which is included with this auth backend\n # to help with integrating with the FogBugz API::\n #\n # user.fogbugzprofile.ixPerson\n # user.fogbugzprofile.is_community\n # user.fogbugzprofile.is_administrator\n #\n #\n # You must also add 'django-auth-fogbugz' as django app in your\n # INSTALLED_APPS when enabling this.\n #\n AUTH_FOGBUGZ_ENABLE_PROFILE = False\n\n # With the fogbugz profile extension enabled, there is the option to store\n # the serurity login token for the FogBugz user. This token can be used\n # instead of the username and password to log into the FogBugz server.\n # The authentication token can be accessed via the profile::\n #\n # user.fogbugzprofile.token\n #\n #\n # ..note:: If you enable token storage, make sure your SESSION_COOKIE_AGE\n # is less than or equal to the FogBugz expiration time (2 weeks,\n # same as the django default) and that FogBugz Server\n # Configuraition for Authentication logon is set to\n # ``\"Remember Me\" Allowed``.\n #\n # ..warning:: Enabling the profile token extension will allow any code with\n # access to the user models to have a login authentication token\n # for non-expired users. This could allow Django code to access\n # the FogBugz server as those users.\n #\n # You must also add 'django-auth-fogbugz' as django app in your\n # INSTALLED_APPS and set AUTH_FOGBUGZ_ENABLE_PROFILE to true\n # when enabling this.\n #\n AUTH_FOGBUGZ_ENABLE_PROFILE_TOKEN = False\n \n # Keep ModelBackend around for per-user permissions and maybe a local\n # superuser.\n AUTHENTICATION_BACKENDS = (\n 'django_auth_fogbugz.backend.FogBugzBackend',\n 'django.contrib.auth.backends.ModelBackend',\n )", "description_content_type": null, "docs_url": "https://pythonhosted.org/django-auth-fogbugz/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dougn/django-auth-fogbugz/", "keywords": "django,fogbugz,authentication,auth", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-auth-fogbugz", "package_url": "https://pypi.org/project/django-auth-fogbugz/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-auth-fogbugz/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dougn/django-auth-fogbugz/" }, "release_url": "https://pypi.org/project/django-auth-fogbugz/1.2.0/", "requires_dist": null, "requires_python": null, "summary": "Django FogBugz authentication backend", "version": "1.2.0" }, "last_serial": 1520222, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4fa5f35e642147d65bc50978623dee9c", "sha256": "e9461fd63ec30c6097c0f90db22e5489ab7d74e07affd5bc4f4e767200459eda" }, "downloads": -1, "filename": "django-auth-fogbugz-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4fa5f35e642147d65bc50978623dee9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6192, "upload_time": "2012-12-04T06:35:55", "url": "https://files.pythonhosted.org/packages/b7/be/5b3be84b3ebd085cba86f39639b2537ffa3a09b4868356abe7f65fcfda8c/django-auth-fogbugz-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "94c891ac85dc5711554c35572abef6dd", "sha256": "5109492ec5d89c4c5ae1469a391982dbf9c0afbaa48b4c4af3452e46bcbbcec2" }, "downloads": -1, "filename": "django-auth-fogbugz-0.1.2.tar.gz", "has_sig": false, "md5_digest": "94c891ac85dc5711554c35572abef6dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6398, "upload_time": "2012-12-04T07:05:13", "url": "https://files.pythonhosted.org/packages/67/db/a32e83b6b3e9fb2d32f37101eaf3f3ade42f819ee182ba88f2cdb08c0b4d/django-auth-fogbugz-0.1.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "991f73b13ca101b90d847c37f8332006", "sha256": "3542f8a1b1d35c37066a000f32792a5694edef9fc6cb1ad7ecc5d58dc7d1b43d" }, "downloads": -1, "filename": "django-auth-fogbugz-1.0.0.tar.gz", "has_sig": false, "md5_digest": "991f73b13ca101b90d847c37f8332006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19018, "upload_time": "2012-12-07T17:35:58", "url": "https://files.pythonhosted.org/packages/ae/67/66283693020c239392571b7807284974c1217759b53fcc2dd3dd5294d1bf/django-auth-fogbugz-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "866e19bb00ed40b2b1ecf96cea11d902", "sha256": "fd89f533e06326c46be9a1fbcb6e31cdb47b8ab6e518acf316c4c6e9eaac6352" }, "downloads": -1, "filename": "django-auth-fogbugz-1.1.0.tar.gz", "has_sig": false, "md5_digest": "866e19bb00ed40b2b1ecf96cea11d902", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19180, "upload_time": "2013-08-16T20:45:39", "url": "https://files.pythonhosted.org/packages/97/5b/4c44879da1b4bfa9aa2829887bedfdd40938fad8a082ee61a73b320591d1/django-auth-fogbugz-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "e43c13a4f2d1a2a120cbf49e2a58b69b", "sha256": "9374d3dc840bd783f1d417aaab06fa3e487ac72fe4f2443b908f880d87315b78" }, "downloads": -1, "filename": "django-auth-fogbugz-1.2.0.tar.gz", "has_sig": false, "md5_digest": "e43c13a4f2d1a2a120cbf49e2a58b69b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19142, "upload_time": "2015-04-24T21:19:04", "url": "https://files.pythonhosted.org/packages/7e/ef/f7f9b908e2e1e692a3520ea7714bdf3d84c9b8a264fc8ce2f80118be552f/django-auth-fogbugz-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e43c13a4f2d1a2a120cbf49e2a58b69b", "sha256": "9374d3dc840bd783f1d417aaab06fa3e487ac72fe4f2443b908f880d87315b78" }, "downloads": -1, "filename": "django-auth-fogbugz-1.2.0.tar.gz", "has_sig": false, "md5_digest": "e43c13a4f2d1a2a120cbf49e2a58b69b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19142, "upload_time": "2015-04-24T21:19:04", "url": "https://files.pythonhosted.org/packages/7e/ef/f7f9b908e2e1e692a3520ea7714bdf3d84c9b8a264fc8ce2f80118be552f/django-auth-fogbugz-1.2.0.tar.gz" } ] }