summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-10r7103: fix make installswat again:-)Stefan Metzmacher1-1/+1
metze (This used to be commit 46e3f57f0eebe500ecc5b7b39e05d9ea335e5c7a)
2007-10-10r7102: fix subcontext(0)Stefan Metzmacher1-2/+3
metze (This used to be commit 81c878b7b2e0cb5f4c042fab4d27953c3ef1e9c9)
2007-10-10r7101: moved favicon into images/Andrew Tridgell1-0/+0
(This used to be commit df7280c5c814c3c86fad1d2b0286b865a1f37179)
2007-10-10r7100: install lately added files tooStefan Metzmacher1-0/+5
metze (This used to be commit 067f3a4da2b1ac2f0bfd6edf26001436106c8f69)
2007-10-10r7099: make the password field a password field...Stefan Metzmacher1-0/+1
metze (This used to be commit ad2d3991ba56d2779df66ff88ccbeb165ac23376)
2007-10-10r7098: - make use of the NDR table instead of the IDL table in the client ↵Stefan Metzmacher7-102/+153
and server generation - add 'noid' property to allow functions to be not present in the function table, and not generate client and server functions for them - print out a warning about [id()] not being correctly supported yet metze (This used to be commit 189730d1430e7f728d62dd5dc52f2a90c1a556d7)
2007-10-10r7097: removed a debug lineAndrew Tridgell1-1/+0
(This used to be commit b45ddce5dd192d26a4799ae7f69cf236750fc09e)
2007-10-10r7096: added support for select lists in formsAndrew Tridgell2-6/+24
(This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)
2007-10-10r7095: more html tidyingAndrew Tridgell2-12/+7
(This used to be commit 314bc44afe44ac6e9fcb194d54b8e1848adf94ed)
2007-10-10r7094: use the Form() object in a few more placesAndrew Tridgell3-15/+18
(This used to be commit 9b8546f92179dba826e7ca5ed009b24486ef7a2c)
2007-10-10r7093: - added a new Form() ejs object for producing simple forms.Andrew Tridgell6-53/+81
- tidied up the html generation a bit (This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
2007-10-10r7092: added some js for formatting table results in a nicer fashionAndrew Tridgell3-39/+52
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10r7091: added some more useful linksAndrew Tridgell1-1/+4
(This used to be commit d1d82686755e44ffd389114880a6ae2109595ccc)
2007-10-10r7090: added back in the showvars testAndrew Tridgell1-1/+1
(This used to be commit 90b50ed983dd1d6aa4f80e38622d1e7dba13b49a)
2007-10-10r7089: ensure that headers['HOST'] is setupAndrew Tridgell1-0/+7
(This used to be commit cb896a141a028ad386d92b0beb503af657a77813)
2007-10-10r7088: start on some real structure for the SWAT web pagesAndrew Tridgell26-146/+610
- this imports the basic css pages from samba.org - i have created some useful ejs scripts in common.js that will be included by all pages - added a real login page, and a logout button showing who you are logged in as - added page_header() and page_footer() functions that take a page type, allowing for "plain" or "columms" pages - added some simple menus on the left of the columns page type, with links to the esp tests and some useful links for samba4 developers (This used to be commit 86d2ecf0f2a8de8abfdcc5f2aae7d4d969d19339)
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-10r7086: make include() recognise the ".esp" extension and include the file asAndrew Tridgell1-5/+17
an esp script instead of as a ejs script (This used to be commit af97ded8d4151d33767d2b98bfcc3ca9a4fedc10)
2007-10-10r7085: fixed a bug in ejs with setting up the arguments[] arrayAndrew Tridgell1-0/+2
(This used to be commit 722950c21365982ac9a62f97360b6c4a0bdd4acc)
2007-10-10r7084: - readd the work from rev 6516,6517,6572Stefan Metzmacher6-130/+217
- use a single list of scalars - let "string" not be so special anymore - fix support for "string_array" metze (This used to be commit e1fa7ae6c8420dc582578e084b9c0d641bcfbd73)
2007-10-10r7083: Add a ejs hook to the resolve_name() function.Tim Potter1-0/+51
We need to figure out what the best way to return NTSTATUS codes. In the Python wrappers I threw an exception which could be caught by some code, but I'm not sure whether this is possible in ejs. (This used to be commit 6911e46c6a576a379ea06f9ba3ef6a62653170f0)
2007-10-10r7082: Call load_interfaces() in smbscript initialisation.Tim Potter1-0/+2
(This used to be commit 54051bf8bbb18653adafb37cc6181617ca60b781)
2007-10-10r7081: Add mprToInt() function.Tim Potter1-0/+9
(This used to be commit 790a46f53bd5b6994cbf6aed670df1407a44e2f3)
2007-10-10r7080: Fix typo in error message.Tim Potter1-1/+1
(This used to be commit fcf177c86e2bfbc993352b80824487e5df0a3f63)
2007-10-10r7079: remember to register the esp callsAndrew Tridgell1-0/+1
(This used to be commit ab27e58c08a065a5a84fcd763d0b4b070eb07886)
2007-10-10r7078: - fix an uninitialised variable in smbscriptAndrew Tridgell2-5/+5
- fixed handle passing in the smb/ejs interface calls, so they can be called safely from esp (This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
2007-10-10r7077: pull in a bunch more libs for smbscript. I plan on making a whole lotAndrew Tridgell1-1/+2
of internal functions available to ejs, including rpc functions. This should hopefully fix the link on solaris10 as well (This used to be commit caceb31be841041a0e20c7e261badad2cce82c6a)
2007-10-10r7076: added demos of using ARGV[]Andrew Tridgell2-3/+15
(This used to be commit 9679f2027209543108428e985bf699b370385eeb)
2007-10-10r7075: added support for ARGV[] in ejs scriptsAndrew Tridgell1-1/+12
(This used to be commit 3db568eb6bb383c4c1e1fd0c7f043a9914dcc3cc)
2007-10-10r7074: we should load all shares in smbscriptAndrew Tridgell1-1/+1
(This used to be commit 92f85507df2bce5e246484860a43748321f2291e)
2007-10-10r7073: added some simple example scripts for use with smbscriptAndrew Tridgell2-0/+43
(This used to be commit f1d0c006600d6d57bce2ede87a1aae0ccfc2c412)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell7-370/+446
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-10r7071: allow access to the current mpr memory context from ejs callsAndrew Tridgell2-0/+8
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
2007-10-10r7070: fix redirection when the clientStefan Metzmacher1-1/+5
doesn't send a 'Host' header metze (This used to be commit ccc4d51927eb1564c6f5de07dda83dd008bb8a9e)
2007-10-10r7069: Add a little usage message to smbscript and fix a compiler warning. MyVolker Lendecke1-1/+7
compiler still complains about "handle" (scripting/ejs/smbscrip.c:46) possibly not being initialized and to me this looks true. Running smbscript with the trivial write("Hello, world\n"); also leaves some memory around. Volker (This used to be commit 06d27a19213dc8fe6dfc948a5e8cbafa74db7a29)
2007-10-10r7068: Missed one!Tim Potter1-0/+2
(This used to be commit cebbce9bf57d293dad3c35b1c76c74dd917620e0)
2007-10-10r7067: older versions of gnutls don't have GNUTLS_KP_TLS_WWW_SERVERAndrew Tridgell1-0/+2
(This used to be commit 9b568eb957c8ecbe8ebe29bcffdcad3bf7eef8c2)
2007-10-10r7066: Rename http_exception to ejs_exception.Tim Potter3-8/+8
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10r7065: Move ejs from web_server to lib so it can be shared with smbscript.Tim Potter17-29/+29
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
2007-10-10r7064: Clean up handle parameter passing after peeking at tridge's ejstest.cTim Potter1-4/+4
(This used to be commit 805b6c7cf0f1e05fbb690bdfc93938747e13e6cd)
2007-10-10r7063: Do error checking on the ejs functions.Tim Potter1-9/+19
Tridge says there is a bug in defining per-engine CFunction's so move calls to ejsDefineStringCFunction() above the ejsOpenEngine() call. Test script now works! (This used to be commit 5e2458ae6c863ff29b85fff3d093f7f4fa9dc2be)
2007-10-10r7062: Merge scripting/swig/config.mk with scripting/config.mkTim Potter3-6/+14
(This used to be commit e14c00c4c1cc51dac9452c1e950445907d883e46)
2007-10-10r7061: A ejs scripting client. This should allow javascript to be run in aTim Potter3-0/+71
command line environment instead of inside the web server. It doesn't work yet though, rather an exception is thrown when trying to call ejsDefineStringCFunction(). (This used to be commit 3444cd5429dfef5a67d5bf7818ae08e4e8cc5ccc)
2007-10-10r7060: Fix use of uninitialised variable.Tim Potter1-1/+1
(This used to be commit 7568fcbfc58c91a81a8fcbadea48ffdc9e58bb27)
2007-10-10r7059: Use namespaces for pidl and the build system, so we can later onJelmer Vernooij21-73/+118
call out to the build system to compile the various pidl tests (without having to rely on shared library support). Initial work on an ndr_array test. (This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
2007-10-10r7058: Add experimenthal pam authentication for web pagesSimo Sorce7-5/+480
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10r7057: remove some ^M at end of linesSimo Sorce1-20/+20
(This used to be commit 1fb60dc07dbf6f1faa0d7af3959c20469a8e36f6)
2007-10-10r7056: added links to ejs and esp info pagesAndrew Tridgell1-1/+8
(This used to be commit 624c7a76e848a0fd8296fd7afceeb9f22c803b12)
2007-10-10r7055: automatically add the dn to all ldbSearch resultsAndrew Tridgell1-1/+8
(This used to be commit d6fa28080831700f80ff46320e0b0831337b822a)