| Commit message (Expand) | Author | Age |
* | wsgi.conf: Fix the path in the Directory directive•••The path in <Directory> didn't match the one defined in Alias.
While at it, remove the unnecessary quotes.
Reported-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
| Damien Lespiau | 2015-10-26 |
* | Update documentation and default settings to suit patchwork deployment model•••We've always allowed configuration without altering any of the
version-controlled files. With the recent settings changes, we have an
extra level of indirection with the dev/prod settings modules.
Since we have to edit a config file anyway, this change moves the
prod.py settings file to a template, which is then used directly by
mange.py (and the wsgi application).
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2015-05-28 |
* | lib/apache2: Update sample configuration files for new staticfiles application•••The static files app will collect all of the static files into
STATIC_ROOT, which is under htdocs/static/.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2015-05-27 |
* | lib/apache2: use django-1.7-compatible wsgi application•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2015-05-27 |
* | Move to a more recent django project structure•••This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.
This gives us the manage.py script in the top-level now.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2015-05-27 |
* | Update manage.py to post a post-1.4 version.•••Django version 1.6 deprecates some of the django.core.management API, so
we need a post-1.4 version.
The semantics with app include paths have changed with this version, so
update the urlconf to use the same path as manage.py.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2014-04-22 |
* | helpers: Change patchwork.wsgi to include the apps/ dir in sys.path•••Without this, templates will crash as they reference patchwork.<module>
directly.
Also removes the patchwork.wsgi symlink from the root and use the real
file in patchwork.wsgi.conf instead, as suggested by Dirk Wallenstein.
Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Guilherme Salgado | 2011-02-28 |
* | lib/apache2: Add WSGI Handler•••Patchwork/Django can be run directly with WSGI, which is bound to be
faster and less complex than FastCGI. This patch provides the necessary
Apache configuration and the WSGI handler, as well as an update to the
docs.
Since python-flup is deprecated and WSGI supersedes FastCGI, it should
be(come) the preferred method. Hence I documented it first.
For the xmlrpc interface to work with WSGI, the HTTP authorization
information needs to be passed to the WSGI handler. This is done by
setting WSGIPassAuthorization On in the apache2 config file snippet.
Ref: http://www.arnebrodowski.de/blog/508-Django,-mod_wsgi-and-HTTP-Authentication.html
Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Martin Krafft | 2010-08-10 |
* | Pass Authorization headers in fastcgi application•••By default, mod_fcgi doens't allow the Authorization header, so
enable -pass-header, and handle the different header name in the
xmlrpc view
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2008-09-09 |
* | mod_python example configuration fixes•••These fixes correct the example patchwork.mod_python.conf file to
actually work properly:
* Patchwork base directory needs to be in PythonPath so that
things like "apps.urls" will import
* Set DJANGO_SETTINGS_MODULE to "settings" instead of
"patchwork.settings" so that it can find the settings file to
import
* Use LocationMatch instead of Location in order for the pattern
matching to work (this was causing none of the images/stylesheets
to be found when using mod_python)
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Nate Case | 2008-09-08 |
* | Inital commit•••Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| Jeremy Kerr | 2008-08-21 |