summaryrefslogtreecommitdiff
path: root/source4/web_server/http.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij1-3/+2
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20816: merge from samba3:Stefan Metzmacher1-1/+1
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
2007-10-10r20723: Web Application FrameworkDerrell Lipman1-1/+1
- Clearly no one has ever tried to obtain the Referer from the web server before. :-) - Send the Referer from the web application, in preparation for later security updates. (These updates are not immediately necessary, as ScriptTransport is disabled and we check the content type on XmlHttpTransport. This isn't anything to worry about.) (This used to be commit 33c07f4b92ac349af85dff11e24111fb16d201d0)
2007-10-10r20519: Web Application FrameworkDerrell Lipman1-1/+1
- No path given to web server means use old scripts (missed check-in) - Build Web Application (qooxdoo stuff) from autogen.sh since python isn't available or is differently-configured on various build-farm machines - Don't continually check in generated files - Properly identify SWAT "Statistics" module as "Status and Statistics" (This used to be commit 9d89b7663af218ee6ed941ac6c0597fab93cd03b)
2007-10-10r20444: WEB Application framework / SWAT.Derrell Lipman1-19/+19
We're now at the stage where the web application framework should build and install automatically. Derrell (This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10r19449: ldbbrowse: installation hopefully works now. "Developer" installationsDerrell Lipman1-11/+32
('configure.developer' or 'configure --enable-developer') may still have problems as I'm not sure I got all of the paths right for that. With the changes Tridge has made to the Main Menu in swat, given a non-developer installation, you should be able to get to ldbbrowse via: JSON/qooxdoo -> ldb browser Derrell (This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
2007-10-10r19165: handle errors better for jsonrpc. generate an error object whenever ↵Derrell Lipman1-2/+45
possible (This used to be commit aa8e4227a11d997f7c4c5af2b7a3c7c371b8c1cd)
2007-10-10r19139: typos; consitent ordering of operationsDerrell Lipman1-4/+6
(This used to be commit aaab47cb910fbbec6913bc5f796f0d6d479f729d)
2007-10-10r19111: fixed basic web server operationAndrew Tridgell1-0/+1
(This used to be commit 290468ede533044ae2ea4dcdbb551fb776406c3e)
2007-10-10r19059: allow dash in URLsDerrell Lipman1-1/+1
(This used to be commit 3dade8d761c4a342cf5ee9dba8d10812eb22b877)
2007-10-10r19051: JSON-RPC server work-in-progress. It's almost working.Derrell Lipman1-10/+36
(This used to be commit 6e9cb2ed1cf87aed322fd7821237d088c2fef340)
2007-10-10r18880: JSON-RPC work in progressDerrell Lipman1-25/+60
(This used to be commit 34bffbaebf50c2a75c91285d5ec82e8f377981cc)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17339: pass the event context and messaging context together to theStefan Metzmacher1-2/+12
smb ejs functions metze (This used to be commit 0397911b414518d54f6dba2a8c81a5872b90a034)
2007-10-10r15855: more talloc_set_destructor() typesafe fixes. nearly done ...Andrew Tridgell1-2/+1
(This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
2007-10-10r15400: Move the TLS code behind the socket interface.Andrew Bartlett1-3/+3
This reduces caller complexity, because the TLS code is now called just like any other socket. (A new socket context is returned by the tls_init_server and tls_init_client routines). When TLS is not available, the original socket is returned. Andrew Bartlett (This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)
2007-10-10r14603: Fix building of ejs modules as shared libsJelmer Vernooij1-3/+3
Fix calling of ejs_exception() without requiring --export-dynamic (This used to be commit 8575e9a4903450aae1f29f55aae516085a9528bb)
2007-10-10r14500: Make some more functions publicJelmer Vernooij1-1/+1
(This used to be commit 867fc489228a827fae08de3969e0db2a22192609)
2007-10-10r13941: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit d9da948b0f7f9698decc140a0a549d27675d14e4)
2007-10-10r13926: More header splitups.Jelmer Vernooij1-0/+1
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r12817: Create a ESP variable with the struct socket_address * in it, so weAndrew Bartlett1-1/+5
can pass that do the auth subsystem. Andrew Bartlett (This used to be commit 699f06e5e8ef326808d010fadb51da04972ab385)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-9/+16
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-2/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r9504: use some low level ejs hackery to give much better exception error ↵Andrew Tridgell1-16/+10
messages in both the web server and smbscript. We can now give backtraces for all internal asserts, not just high level errors (This used to be commit 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)
2007-10-10r9409: fix a problem that volker noticed with web page timeouts causing smbdAndrew Tridgell1-1/+10
to crash. This is one of the downsides of the fact that the ejs engine is not event driven, resulting in the rendering of each web page being 'semi-async'. We need to protect the web context from the timeout processing until we have unwound the stack back to the point that the 'web' variable representing the page rendering logic won't be used any more. (This used to be commit 97e3c9eaf1a917eb504a2c3414c5d2b64cd4539a)
2007-10-10r9183: more workarounds for the global variables in ejs. I will discuss ↵Andrew Tridgell1-0/+6
getting rid of these with the mbedthis people. (This used to be commit a5b9e74a5c23e724ae4ee222e6f128133b175494)
2007-10-10r9179: cope with simultaneous web requests using the same session variableAndrew Tridgell1-0/+6
(This used to be commit 7d6e6012198d6fd3770da22ec5e1770c9bcd4ed7)
2007-10-10r8726: increase default session timeout to 15 minutes to be less painful for ↵Andrew Tridgell1-1/+1
developers (This used to be commit d40e590674a20528a5649e1cfd377ee661265bb9)
2007-10-10r8665: fixed a segv at high debug level in the web serverAndrew Tridgell1-1/+4
thanks to volker for finding this (This used to be commit e02d7753f77327e3ca295a86afde9ea74ddcf5e0)
2007-10-10r8632: use <pre> around displayed exceptionsAndrew Tridgell1-1/+3
(This used to be commit 001917cc9dec4bdf8839ef175edad352b2763239)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-1/+1
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-2/+0
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell1-1/+1
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8361: ctype is* macros needs unsigned argumentsLove Hörnquist Åstrand1-1/+1
(This used to be commit 07a7ab0a6af7224c4290043442a304baef656e94)
2007-10-10r8255: enable access to the ejs constants generated by pidl from the web ↵Andrew Tridgell1-0/+2
server esp pages (This used to be commit 354cdf893d7ce36afd6f2776308b3c864f29ce0b)
2007-10-10r7744: converted the web server to use the lib/tls/ generic tls codeAndrew Tridgell1-4/+8
(This used to be commit 023fc567badba38b87895ea73515b2ce0b703a8c)
2007-10-10r7234: that code path is diedSimo Sorce1-1/+0
(This used to be commit efbfabdefab621eca0b644f22b887ae2cdd50bf2)
2007-10-10r7179: remove compiler warningsStefan Metzmacher1-4/+3
metze (This used to be commit 0e1b1c393718cbffea391ba753cf19d359ff36d6)
2007-10-10r7177: fill in REMOTE_ADDR correctlyStefan Metzmacher1-1/+2
metze (This used to be commit aab9b953da8e9416e0756f760a717cf9013b772b)
2007-10-10r7107: detect when a users session has expired and set ↵Andrew Tridgell1-0/+6
request['SESSION_EXPIRED'] (This used to be commit 0c2e42986ca3d10fbd19c91e2ea59af20e4fce30)
2007-10-10r7104: add support into the web server for session[] variables without ↵Andrew Tridgell1-14/+27
cookies by using query strings (This used to be commit 6ca3e3af89df534704eb5cbefb84bba7257f82bb)
2007-10-10r7087: always run the /scripting/preauth.esp page before processing anyAndrew Tridgell1-15/+55
request. If this page produces any output then that output is sent to the browser and the request is not processed This allows us to ensure that all pages are authenticated (This used to be commit 6a876d66119a79f7922f44d36c116eee72dd76f9)
2007-10-10r7079: remember to register the esp callsAndrew Tridgell1-0/+1
(This used to be commit ab27e58c08a065a5a84fcd763d0b4b070eb07886)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell1-1/+1
both esp scripts and ejs scripts. This allows the smbscript program to call all the existing extension calls like lpGet() and ldbSearch() Also fixed smbscript to load smb.conf, and setup logging for DEBUG() I left the unixAuth() routine in web_server/calls.c at the moment, as that is really only useful for esp scripts. I imagine that as we extend esp/ejs, we will put some functions in scripting/ejs/ for use in both ejs and esp, and some functions in web_server/ where they will only be accessed by esp web scripts (This used to be commit e59ae64f60d388a5634559e4e0887e4676b70871)
2007-10-10r7066: Rename http_exception to ejs_exception.Tim Potter1-5/+5
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10r7017: added a esp variable server['TLS_SUPPORT'] which tells the script if ↵Andrew Tridgell1-1/+3
the server can support TLS. This will allow us to auto-redirect if a user connects using the wrong protocol (This used to be commit fbf4552cd5e27863ee1de7d03e4da0fc10f429df)
2007-10-10r7014: added Content-Length header to both esp and non-esp outputAndrew Tridgell1-1/+10
(This used to be commit e0673dcfc0056b3a1b72ef0b10d82948ca8c9819)
2007-10-10r7013: added tls support to the builtin web server. It auto-detects if the ↵Andrew Tridgell1-23/+14
client is using tls by looking at the first byte on the connection. This allows both https and http services to be on the same port (This used to be commit 6369dfb6585ce4d4e3028c557395f2d73c290c92)