Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-02 | Move python modules from source4/scripting/python/ to python/. | Jelmer Vernooij | 1 | -1/+1 | |
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104 | |||||
2012-12-05 | wsgi: Serve '500 Internal Server Error' page when errors occur. | Jelmer Vernooij | 1 | -0/+19 | |
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Dec 5 18:40:25 CET 2012 on sn-devel-104 | |||||
2012-12-05 | wsgi: When encountering error in Python code, print traceback to logs. | Jelmer Vernooij | 1 | -9/+52 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2012-11-22 | web_server: the web server is not multi-process, indicate so in WSGI. | Jelmer Vernooij | 1 | -1/+1 | |
This is a requirement for some of the paster middleware used by SWAT2. Reviewed-by: Matthieu Patou <mat@matws.net> | |||||
2012-11-22 | web_server: Properly decrement reference counters for python objects in wsgi. | Jelmer Vernooij | 1 | -29/+81 | |
Reviewed-by: Matthieu Patou <mat@matws.net> | |||||
2012-11-22 | web_server: Properly set SCRIPT_NAME and PATH_INFO. | Jelmer Vernooij | 1 | -2/+5 | |
Reviewed-by: Matthieu Patou <mat@matws.net> | |||||
2012-11-22 | web_server: Create a string object for SERVER_PORT variable. | Jelmer Vernooij | 1 | -1/+1 | |
This matches the behaviour of other wsgi server implementations. Reviewed-by: Matthieu Patou <mat@matws.net> | |||||
2012-11-22 | web_server/wsgi: Don't segfault when wsgi app doesn't return iterable. | Jelmer Vernooij | 1 | -0/+5 | |
There is a bug in the application if this happens, but invalid Python code shouldn't cause segfaults. Reviewed-by: Matthieu Patou <mat@matws.net> | |||||
2011-02-07 | s4-python Don't force "bin" into the python sys.path | Andrew Bartlett | 1 | -1/+2 | |
This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is now set properly at all times, incluidng for installed and build-directory binaries. So we don't need to make assumptions about bin being magic any more. Andrew Bartlett | |||||
2011-01-17 | web_server: Avoid references to swat. Load samba.web_server instead. | Jelmer Vernooij | 1 | -5/+8 | |
2011-01-01 | s4-python: Only set BASETYPE flag if subclassing is supported. | Jelmer Vernooij | 1 | -3/+3 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104 | |||||
2010-12-12 | s4:dsdb/pydsdb.c and web_server/wsgi.c - remove accidentally introduced ↵ | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
Py_RETURN_NONE This was only thought for Python 2.3 which we generally no longer support (only pyldb in the LDB library is an exception). | |||||
2010-12-12 | s4:web_server/*.c - optimise includes | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 18:23:05 CET 2010 on sn-devel-104 | |||||
2010-12-12 | s4:web_server/wsgi.c - fix a counter type | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-12-12 | s4:web_server/wsgi.c - add missing Python compatibility code | Matthias Dieter Wallnöfer | 1 | -0/+11 | |
2010-11-14 | web_server: Build as module. | Jelmer Vernooij | 1 | -4/+4 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 14 17:58:05 UTC 2010 on sn-devel-104 | |||||
2010-05-30 | s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an ↵ | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
"asprintf" failure | |||||
2010-05-28 | s4:web_server/wsgi.c - provide a better out-of-memory handling for an ↵ | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
"asprintf" call | |||||
2010-05-28 | s4:web_server/wsgi.c - fix "asprintf" call | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
2010-04-28 | s4:web_server: use tsocket_address functions to get the local ip and port | Stefan Metzmacher | 1 | -5/+11 | |
metze (cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405) | |||||
2010-04-27 | Revert "s4:web_server: use tsocket_address functions to get the local ip and ↵ | Matthias Dieter Wallnöfer | 1 | -11/+5 | |
port" This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405. This broke the build. | |||||
2010-04-27 | s4:web_server: use tsocket_address functions to get the local ip and port | Stefan Metzmacher | 1 | -5/+11 | |
metze | |||||
2010-02-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-02-02 | s4:web_server: s/private/private_data | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -4/+4 | |
2008-12-23 | Fix more compiler warnings in various places. | Jelmer Vernooij | 1 | -4/+0 | |
2008-10-11 | Fix include paths to new location of libutil. | Jelmer Vernooij | 1 | -2/+2 | |
2008-09-21 | Support POST requests again, provide more variables in environment. | Jelmer Vernooij | 1 | -31/+75 | |
2008-09-21 | First GET request works. SWAT now displays a Hello world message. | Jelmer Vernooij | 1 | -2/+1 | |
2008-09-21 | Properly call WSGI request handler when requests come in. | Jelmer Vernooij | 1 | -28/+176 | |
2008-09-21 | Remove support for ESP in the web server. | Jelmer Vernooij | 1 | -7/+7 | |
2008-09-21 | Remove some dependencies of the web server on esp. | Jelmer Vernooij | 1 | -9/+15 | |
2008-09-21 | Add input / error stream objects in WSGI implementation. | Jelmer Vernooij | 1 | -13/+100 | |
2008-09-21 | Add more parts of the WSGI implementation. | Jelmer Vernooij | 1 | -2/+40 | |
2008-09-21 | Add initial work on WSGI support in the web server. | Jelmer Vernooij | 1 | -0/+69 | |