summaryrefslogtreecommitdiff
path: root/swat/esptest/ldb.esp
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell1-1/+1
menu hierarchy is now in /menu.js (This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
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-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell1-1/+2
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell1-1/+1
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-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-10r7092: added some js for formatting table results in a nicer fashionAndrew Tridgell1-39/+5
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10r7088: start on some real structure for the SWAT web pagesAndrew Tridgell1-14/+17
- 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-10r7054: added a example script showing ldbSearch() usageAndrew Tridgell1-0/+63
(This used to be commit 0fe835b16c8e8c4fbd801a447aca1f077934e84c)