summaryrefslogtreecommitdiff
path: root/swat/esptest
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24985: Start to revert us back to the old-style SWAT, while trying not toAndrew Bartlett11-0/+495
loose some of the fixes in the meantime. Andrew Bartlett (This used to be commit 13acff5ed259e7b5859fd2324ea7740b8f9e5fd7)
2007-10-10r20446: rename swat directory to swat.obsolete; keeping it around since ↵Derrell Lipman11-495/+0
there is lots of useful info in it. (This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b)
2007-10-10r12232: I hate SWAT code being outside 'source'. Add in code to push theAndrew Bartlett1-0/+2
user's session info into ldb structure for the ldb tests. Andrew Bartlett (This used to be commit 4e1a60a24f7c38170a22d6092b4d5392f5bca5d3)
2007-10-10r9635: Seperate window logic from registry js file.Deryck Hodge1-2/+13
This allows for flexibility in display format, which will make more sense when I start working on windows, tabs, etc. Add the beginnings of a document.js object that allows us to add and remove scripts as we use them, which will ensure we only load what we need. A desktop GUI runs from a single page, so we can't load js files by changing pages. deryck (This used to be commit b4f6f81d7bbf87fcb7c7c9bd4a7164aabaeedc1c)
2007-10-10r9434: moved the registry editor into a common js library. Deryck, does thisAndrew Tridgell1-130/+24
look ok? Apologies if this treads on your toes. (This used to be commit 8295eb01c0e1eec4f7c5bd211eac80b92ff9549e)
2007-10-10r9327: Rename parent to fParent to prevent confusion with window.parent object.Deryck Hodge1-13/+13
(Thanks, Derrell, for the reminder.) Rename child to fChild, to be consistent and maintain readability. deryck (This used to be commit 6040f9401eedb195aef160b3b58462a1a6728af7)
2007-10-10r9232: Rename some objects to make code clear.Deryck Hodge1-24/+24
deryck (This used to be commit 8a3445499e3f913693196aa1d1b5bbeec5469cf2)
2007-10-10r9227: cleanup and simplify the AJAJ codeAndrew Tridgell4-62/+64
(This used to be commit ceb7669e5991e9dda759d60a09a0a65e6caba991)
2007-10-10r9213: some improvements to the registry editor codeAndrew Tridgell1-19/+8
(This used to be commit 5cd33fa9f898f95a78397a387a42977a4839fb20)
2007-10-10r9212: the beginnings of a registry editor in SWAT, using client side ↵Andrew Tridgell2-0/+157
javascript and AJAJ This doesn't work at all well yet, mostly because of my inexperience with client side javascript and what events are available (This used to be commit 8073e84c7a5fd8d483685d769661c790a803ff49)
2007-10-10r9176: added a much neater method of calling printf on the server from ↵Andrew Tridgell1-3/+2
client side js. Just use srv_printf() and normal printf arguments (This used to be commit 11c7e8db3d2501a6a439d3e3a63a5055cc577f51)
2007-10-10r9175: simplify the example code a bitAndrew Tridgell1-18/+7
(This used to be commit fbae29686644198351bb31c3be1cf5630165ef1f)
2007-10-10r9143: print out the rate of rounttripsStefan Metzmacher1-1/+7
metze (This used to be commit c0e055ac989a24c2b6ad14a0eb2b3f8509cb9bab)
2007-10-10r9140: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 672b8c397103dddbd5d046a4c43f4686ad51192e)
2007-10-10r9139: cleanup the layout a bitAndrew Tridgell1-1/+1
(This used to be commit c21fe071e795888f8e4ed0f535dc1bbc8d0731a5)
2007-10-10r9135: added a sample page that demonstrates using AJAJ to make remote callsAndrew Tridgell2-0/+136
that update an object (This used to be commit 678b0cc08f6026fe35b522d5705ab0c1baf3c359)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell1-2/+2
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell10-21/+9
menu hierarchy is now in /menu.js (This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
2007-10-10r8720: split form object out to separate include file, and make it a realAndrew Tridgell4-8/+16
object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
2007-10-10r8645: updated the ldb esp test for the new ldb ejs syntaxAndrew Tridgell1-1/+1
simo, when changing ejs syntax, please grep -r through the *.js and *.esp files to fix all the callers. Thanks :) (This used to be commit 8d0c9557a29a802800257af1bab38bfe57928c17)
2007-10-10r8642: - fixed install of new swat filesAndrew Tridgell1-2/+0
- removed old provisioning items from esptest menu (This used to be commit 760cc6bea5661245a8e4e18f103148281e31aaac)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell2-6/+8
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8598: move provisioning to /install/ directory from /esptest/Andrew Tridgell2-96/+0
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
2007-10-10r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell11-10/+17
isn't very pretty, and please feel free to do this much more nicely :-) - added a top level menu listing our main servers - added placeholder pages for the main servers - added NBT server statistics (This used to be commit 1aa658b756903e7cb598302eddd18b7734937c83)
2007-10-10r8560: added a newuser page in swatAndrew Tridgell2-0/+42
(This used to be commit da366042f48c70b4cd2e6efcae23a7f1777d3ed4)
2007-10-10r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell1-4/+5
don't need to keep a 'db' variable around. The ldb object knows what it is connected to. Added a simple ldb testsuite in testprogs/ldb.js (This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
2007-10-10r8486: switched to a separate connection operation in ldb interfaceAndrew Tridgell1-5/+4
(a suggestion from simo) (This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell1-3/+4
var ldb = ldb_init(); res = ldb.search(dbfile, "(objectClass=user)"); you can also do: ldbSearch = ldb.search; res = ldbSearch(dbfile, "(objectClass=user)"); if you want the old interface (ie. you can use this to import functions into the global or local namespace). (This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
2007-10-10r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell2-0/+56
- added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
2007-10-10r8299: make the samr swat test use the samr.js libAndrew Tridgell1-2/+3
(This used to be commit 4d4a062af4ee34c5a3a2027ac1950ae3c8d39447)
2007-10-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell2-0/+36
information from QueryUserInfo for all users in the domain. If you want to see why I am putting the effort into ejs, then please read swat/scripting/samr.js, and compare it to other methods of rpc access for our web management interface. Using ejs like this will make building a rich interface _much_ easier. (This used to be commit eb354f6da7ed79eb080f2ba47df2ea655e1891db)
2007-10-10r7231: remove some old stuffSimo Sorce1-48/+0
(This used to be commit 2e3316be9faf696fbb84e0a183de47418d7b9acd)
2007-10-10r7134: a number of small changes to make the pages HTML compliant. TheAndrew Tridgell3-7/+5
builtin web validator in firefox sure is useful! (This used to be commit aa43111aa5f9a183395ebd840d8f77867730ab23)
2007-10-10r7132: - start a convention of making object constructors end in Obj, so weAndrew Tridgell4-4/+4
now have FormObj(). This follows the style in the ejs manual - make a new MenuObj object type, with a display_menu() to display it. This will make it easier to make different types of menus. Currently only veritical simple menus are supported. (This used to be commit ac978d4124f773d872dd15205d90a41dcec8a38f)
2007-10-10r7106: the web interface now works completely with or without cookies. If ↵Andrew Tridgell1-7/+7
you have cookies they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end. (This used to be commit 104d47a7458ecf03c0d5f969eaf2a98346928679)
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 Tridgell1-1/+8
(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 Tridgell4-47/+16
- 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 Tridgell1-39/+5
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10r7090: added back in the showvars testAndrew Tridgell1-1/+1
(This used to be commit 90b50ed983dd1d6aa4f80e38622d1e7dba13b49a)
2007-10-10r7088: start on some real structure for the SWAT web pagesAndrew Tridgell11-126/+57
- 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-10r7058: Add experimenthal pam authentication for web pagesSimo Sorce2-1/+53
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10r7056: added links to ejs and esp info pagesAndrew Tridgell1-1/+8
(This used to be commit 624c7a76e848a0fd8296fd7afceeb9f22c803b12)
2007-10-10r7054: added a example script showing ldbSearch() usageAndrew Tridgell2-1/+65
(This used to be commit 0fe835b16c8e8c4fbd801a447aca1f077934e84c)
2007-10-10r7044: vance is right that mixing http and https elements gives a warning in IEAndrew Tridgell1-5/+1
(This used to be commit 5912cf2cd4405185fb40833d896c640c7d24a87a)
2007-10-10r7019: - added esp call lpServices() which returns a list of services in ↵Andrew Tridgell1-0/+3
smb.conf. - added a test of lpServices() in the esptest scripts (This used to be commit 94308d8fed7796ddfc32883a1c27ec8ebfff842d)
2007-10-10r7015: use a scripting trick to force images to be sent with http instead of ↵Andrew Tridgell1-1/+5
https, which should make the server more responsive (This used to be commit 814c3674f8e0aa20fb3ee3657173bab05d7f3ded)
2007-10-10r7005: added a esp page to demonstrate exception handlingAndrew Tridgell2-1/+39
(This used to be commit 96c15646d2f29dd2839a2bab4b9e57bddfd2cee1)