summaryrefslogtreecommitdiff
path: root/swat
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24985: Start to revert us back to the old-style SWAT, while trying not toAndrew Bartlett1359-0/+4016
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 Lipman3464-157075/+0
there is lots of useful info in it. (This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b)
2007-10-10r20445: add README file indicating that the swat directory is no longer relevantDerrell Lipman1-0/+2
(This used to be commit bea98d5f1a341b2867ef6d10fd1d2bd56ae887d0)
2007-10-10r20414: Start to make SWAT usable by others. This is just a start...Derrell Lipman16-2931/+0
(This used to be commit 26a34037a7ca6fbd05c5a6f7c2d5973e34bc6918)
2007-10-10r20399: More SWAT updatesDerrell Lipman11-57/+1145
The LDB Browser has now been rewritten as a SWAT module. That brings the current number of modules to three: Samba Statistics/Status, LDB Browser and API Documentation. This should provide a good working example for Brad and his class, for how additional modules can be added. The basic infrastructure for SWAT is now entirely in place. Next step is to deal with putting the qooxdoo developers' kit someplace, as it is required for making changes to SWAT, and reorganizing the swat directory hierarchy to remove (or move to elsewhere) a bunch of old cruft. The final step will be ensuring that SWAT installs during a Samba build, so that it becomes useful. (Much of this "next" and "final" step stuff will likely have to wait until after New Years. Derrell (This used to be commit 1f33d1276c1b207a1e235f347fef66f316a88f65)
2007-10-10r20376: make module registration substantially cleanerDerrell Lipman3-51/+81
(This used to be commit 466f17ea3c8fa4a0a93047abd3529651b4fc9bdc)
2007-10-10r20367: don't re-load API documentation each time the module is selectedDerrell Lipman3-1/+74
(This used to be commit 233fc754c44692034c15c82fbafbc47cc40edeb6)
2007-10-10r20366: remove auto-genereated fileDerrell Lipman1-1/+0
(This used to be commit 2080227ac69101a3409e77f47e3ae6869ab604a6)
2007-10-10r20365: SWAT updates, part 2Derrell Lipman3-0/+726
(This used to be commit 5b6b134a0375a527b123617d7d94fa52d7604c02)
2007-10-10r20364: SWAT updates, part 1Derrell Lipman10-248/+191
These next few check-ins will add a working Statistics module to SWAT, and add an API Documentation module as well. Next step will be to modify the LDB browser to work with this new module and fsm structure. Derrell (This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)
2007-10-10r20350: configure svn:ignore values via a .ignore fileDerrell Lipman1-0/+1
(This used to be commit 53c5ac7ea6bded2f6019c93027511d5583166bb7)
2007-10-10r20348: don't check in auto-generated codeDerrell Lipman1-313/+0
(This used to be commit 7ddf1247eee19f8d1430c9487c6823e7d6d51c42)
2007-10-10r20347: added generic rpc fsm and statistics-specific fsm. next step: ↵Derrell Lipman9-18/+690
statistics gui (This used to be commit 68fd2c76e4377ce59636aac6e3ce7a2ba798f402)
2007-10-10r20346: This is the beginnings of a framework for a complete SWAT. It will ↵Derrell Lipman8-0/+711
provide for easily adding modules, and using as much common code as possible. Although all modules are loaded to the browser as part of the application, modules are not actually initialized, their finite state machines generated, or their graphical user interfaces built until they are selected to be viewed for the first time. I'm checking this in at this early stage because I promised Brad some check-ins a week ago, and the flu has kept me unable to do anything for the past 10 days. Now that I'm back in working order, I hope to be building on this regularly over the next few days. Derrell (This used to be commit 9302ef10173a8eaa31935323f899e65f6e7ae95c)
2007-10-10r20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWATDerrell Lipman4-0/+392
functionality: basic admin console. (This used to be commit 23f8dd44cbf85e05e4b3d38de9ed7798dd21defb)
2007-10-10r19449: ldbbrowse: installation hopefully works now. "Developer" installationsDerrell Lipman1-43/+53
('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-10r19407: add a copyright noticeDerrell Lipman1-0/+10
(This used to be commit 802ede34e83014fe216a5b7bcdf18586327a8a09)
2007-10-10r19406: ldbbrowse: done!Derrell Lipman4-11/+158
With ldbbrowse, you can issue searches or browse the database in tree format. To try it, ensure that "make installswat" is done (it's run by "make install" so you shouldn't have to do anything special). Run smbd and connect with your browser to http://localhost:901/apps/samba/utils/ldbbrowse.html (It looks great in firefox. There's some problem with the layout in IE. Maybe if I get really really motivated one of these days, I'll look into that.) There's lots more that could be done with it, but as an example of using qooxdoo and JSON-RPC, I think it accomplishes its task. Enjoy! Derrell (This used to be commit 0888c7098daefc23738dd47fe1c072516ba55feb)
2007-10-10r19384: ldbbrowse now has all basic functionality.Derrell Lipman1-315/+75
Issues left for the enterprising developers: - Selection of the ldb file to open. This version always browses sam.ldb. - When issuing a search which returns a huge amount of data, firefox times out while adding the data to the page. The ldb functions on the server should be upgraded to allow providing a starting offset in the result set, and a limit of how many results to return. The application can then issue multiple requests if necessary, to limit the amount of processing needed to handle any single result set. Next step for me is to make it look more like a Samba application and less like a qooxdoo example application. Per Tridge's request, I'll leave the debug console on the page. Derrell (This used to be commit 41ed250e020a0860d1769a3144ec7a153f138b57)
2007-10-10r19382: latest qooxdoo runtime buildDerrell Lipman1-1/+1
(This used to be commit 7789ad2372ce5f6cca287bf31d9d08979112a8c4)
2007-10-10r19357: More ldbbrowse work.Derrell Lipman2-37/+251
The 'Browse' tab is now doing something seemingly fairly reasonable. It's entirely usable. Still pending is dealing with attribute values whose length exceeds the width of the column (even if dynamic resizing of the column is inadequate). A tooltip which pops up would be nice, but seems difficult to achieve with the Table implementation since it's 'virtual' and the whole table is one widget. Derrell (This used to be commit ec63bd551b69c751290cef3376e2d80dda80918a)
2007-10-10r19318: Because we don't test the vampire code in SWAT very regularly, it ↵Andrew Bartlett1-3/+10
bit-rotted. Fix up interfaces and interaction between the two.. Andrew Bartlett (This used to be commit 9b77d285d8cd8999547c0d17e97681d236acbdb0)
2007-10-10r19306: ldbbrowse: handle input of Base and Scope in search tabDerrell Lipman1-18/+93
(This used to be commit 6536e5a3c0f2fd3c20099fc5a53345ceadc2b49f)
2007-10-10r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.Derrell Lipman1-39/+144
(This used to be commit 039069b3fd10e2ea614c385c6b432b235e1c226b)
2007-10-10r19282: make the recent qooxdoo work that Derrell has done available via theAndrew Tridgell1-1/+7
main menu (This used to be commit b0fee976edd35c35b315637253297169afac35ab)
2007-10-10r19259: An ldb browser.Derrell Lipman1-0/+555
This has the layout complete so anyone interested can see what a qooxdoo application might look like. It doesn't yet issue any JSON-RPC calls to do anything useful (that's next), and it still has the appearance of a qooxdoo test rather than something unique to Samba. I'll adjust the appearance later. This layout is loosely (or not so loosely) based on 'gq'. A few things in this layout won't apply to an ldb browser, but they're there for the time being anyway until I decide exactly what to do with them. Derrell (This used to be commit 0780cbcdcc7672932b055966a9d0480d2cd705b4)
2007-10-10r19141: add a reasonable subset of the qooxdoo runtime environment, and ↵Derrell Lipman2098-0/+151833
example applications (This used to be commit ff28ab7314ff1eebcd62f387678b816091af8121)
2007-10-10r19140: allow own authentication handling by jsonrpc appsDerrell Lipman1-0/+8
(This used to be commit de2eb8df0c1aa361adbf14a5984b1719e17f70cb)
2007-10-10r13102: fixed the vampire code to correctly setup foreign sids and defaultAndrew Tridgell1-1/+10
unix name mappings (This used to be commit dc74d8ccf15b9324cd8b90ef9d41cf293b9de8e3)
2007-10-10r13100: removed unused menu itemAndrew Tridgell1-1/+0
(This used to be commit 1b587563665821a49dd80b95baa4d33be073b685)
2007-10-10r13075: tell the admin what needs to be done to finish the installAndrew Tridgell1-1/+13
(This used to be commit a6f5ad5289bb635be3b6c490a03dc7a1913baa30)
2007-10-10r12945: Try to move closer to getting Samba3 import working again.Andrew Bartlett1-7/+20
There still a few things to work out Andrew Bartlett (This used to be commit 701558b5fe917555416eb0d100ef756f8ef7cf65)
2007-10-10r12928: This patch improves the interaction between the vampire and provsion ↵Andrew Bartlett2-19/+27
code. Previously, we had to know (or guess) the host and domain guid at the provision stage. Now we query the database post-provision, to extract the values and fill in the zone file. This allows us to generate a correct zone file in the Windows migration case. In an effort to make SWAT easier to use, I have removed and renamed some of the provision options. I have also fixed a nasty issue in my js code. I had implictly declared a global variable of the name 'join', with disasterious results for any subsequent user of the string utility function: esp exception - ASSERT at lib/appweb/ejs/ejsParser.c:2064, 0 Backtrace: [ 0] substitute_var:20 -> list[i] = join("", list2) [ 1] setup_file:9 -> data = substitute_var(data, subobj) Andrew Bartlett (This used to be commit a38ceefd11f8b748f30383ef36a4752f178bfca1)
2007-10-10r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.Andrew Bartlett2-1/+93
Doing this required reworking ejsnet, particularly so it could take a set of credentials, not just a username and password argument. This required fixing the ejsnet.js test script, which now adds and deletes a user, and is run from 'make test'. This should prevent it being broken again. Deleting a user from ejsnet required that the matching backend be added to libnet, hooking fortunetly onto already existing code for the actual deletion. The js credentials interface now handles the 'set machine account' flag. New functions have been added to provision.js to wrap the basic operations (so we can write a command line version, as well as the web based version). Andrew Bartlett (This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
2007-10-10r12887: Add the icon from samba.org to SWAT.Andrew Bartlett1-0/+0
Andrew Bartlett (This used to be commit 630b4b4dc516fc28c74f815a0c1fb467ec576029)
2007-10-10r12826: The base DN is very tied to the realm. Allowing it to be changed hereAndrew Bartlett2-2/+0
only allows stuffups, but doesn't benifit anyone. (If we were to allow it, we should have it change every time the realm is modified, character by character). The command line provision script doesn't allow this either. Andrew Bartlett (This used to be commit fd176997b691ecf8a1126b0afba3a5cb28818ed1)
2007-10-10r12823: Fix up the provison and newuser code in SWAT. This also cleans up theAndrew Bartlett3-16/+23
main provision script a bit, as the argument list was getting out of control. (It has been replaced in part with an object). This also returns the session_info from the auth code into ejs. We still need access control allowing only root to re-provision. Andrew Bartlett (This used to be commit 002cdcf3cab6563909d31edc5d825e857dc0a732)
2007-10-10r12819: Fix swat authentication again. We need to pass the socket_addressAndrew Bartlett1-2/+5
structure around, so the auth code knows where the request came from. Andrew Bartlett (This used to be commit 7a7b2668c00d4d22bcf8aa3ba256af88f70c38c4)
2007-10-10r12739: Add support for using credentials in the provision process.Andrew Bartlett1-1/+1
This should allow us to provision to a 'normal' LDAP server. Also add in 'session info' hooks (unused). Both of these need to be hooked in on the webserver. Andrew Bartlett (This used to be commit b349d2fbfefd0e0d4620b9e8e0c4136f900be1ae)
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-10r10228: Reorganizing a bit, trying to simplify. This is an attemptDeryck Hodge3-88/+61
to find what's going wrong in IE formatting. This is some better, but still IE needs help. deryck (This used to be commit e7015c19374e1db8165790c623cb45e33b0a92df)
2007-10-10r10225: Adding back a style rule to qooxdoo that was originallyDeryck Hodge1-0/+1
removed. This is a cross browser hack that makes for better performance amone differing browsers. deryck (This used to be commit b10d1d522cab53f50d7b3268b617c68e51b411a5)
2007-10-10r10212: An IE fix. Must set initial values in the onload function.Deryck Hodge1-6/+7
deryck (This used to be commit 3264ccf7438e003c3ed217f2d4a7315aceb05eb1)
2007-10-10r10190: Do some very basic input checking when provisioning.Jelmer Vernooij1-0/+2
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
2007-10-10r9831: Check whether the two admin passwords entered were equal.Jelmer Vernooij1-7/+24
(This used to be commit d02834f88d6a26f77549ec9db8f2492eacc9b043)
2007-10-10r9816: Work on testsuite for upgradeJelmer Vernooij2-3/+9
Add 'paths' object to provision code. (This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10r9779: Add a contextmenu function to be used by all window/widget objects.Deryck Hodge2-46/+57
deryck (This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)
2007-10-10r9763: Add the start bar as a widget from theDeryck Hodge2-7/+20
desktop file. This is more portable to IE, though there are still some IE issues hanging around. deryck (This used to be commit a70b52bb04689de90ee5ec59109d669175b91c04)
2007-10-10r9761: Move initial widget setup to desktop library. Now, just by includingDeryck Hodge2-36/+37
desktop.js, you get the basic desktop layout. deryck (This used to be commit 6acc7ec7c2957e1487ee72f883079e1680dd9896)
2007-10-10r9759: Create some wrappers for QxWidget. This gives us some pre-fabbedDeryck Hodge2-18/+59
windows, which set size and positioning. To use: var myWin = new Window.large("Some Window Title"); var myWin = new Window.standard("Some Window Title"); var myWin = new Window.small("Some Window Title"); You can omit the title if you don't need one. Also, var myWin = new Window(); will give you the random positioning and no predetermined sizing. deryck (This used to be commit 92d6bb90a64591b13f4d1bec77ebebcd1198914d)