summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r7054: added a example script showing ldbSearch() usageAndrew Tridgell2-1/+65
(This used to be commit 0fe835b16c8e8c4fbd801a447aca1f077934e84c)
2007-10-10r7053: added a ldbSearch() call to espAndrew Tridgell1-13/+191
It takes two forms, one with a set of attributes, the other without: res = ldbSearch("dbfile", "expression"); var attrs = new Array("attr1", "attr2", "attr3"); res = ldbSearch("dbfile", "expression", attrs); (This used to be commit 1ba602e32ba116016af6fb72e5929cdc026c8f0d)
2007-10-10r7052: added a case insensitive str_list_check_ci() version of str_list_check()Andrew Tridgell1-0/+13
(This used to be commit 5654330b6100a7291cee3631815cfb898100cf23)
2007-10-10r7051: remove an unused fileAndrew Tridgell1-2259/+0
(This used to be commit 7e6fbd4889a92ec985b8c6c70005cab76d64d262)
2007-10-10r7050: fix linking of smbdStefan Metzmacher1-1/+1
metze (This used to be commit d2af8eaefa58b56dbacfce10d74152a03d1becc2)
2007-10-10r7049: auto-create the private/tls/ directory on installAndrew Tridgell1-1/+1
(This used to be commit a4a5eea7b741a78b45d19d7021805f674f48f44a)
2007-10-10r7048: added auto-generation of TLS self-signed certificates if none exist ↵Andrew Tridgell3-8/+164
already This allows smbd to be setup from scratch over ssl without having to know how to create valid certificates (which can be quite tricky unless you've done it before) Of course, a good admin will provide real certificates, and smbd will use them if specified (This used to be commit 00b67efc99eac7bca386dea03f03bbb9470ab002)