summaryrefslogtreecommitdiff
path: root/swat/scripting
AgeCommit message (Collapse)AuthorFilesLines
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-10r9779: Add a contextmenu function to be used by all window/widget objects.Deryck Hodge1-22/+15
deryck (This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)
2007-10-10r9763: Add the start bar as a widget from theDeryck Hodge1-2/+18
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 Hodge1-0/+23
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 Hodge1-16/+58
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)
2007-10-10r9710: Filename change for clarity's sake.Deryck Hodge1-0/+0
deryck (This used to be commit 4acd4489c9f016f7f48ba1cff231cbfc56925547)
2007-10-10r9668: Cross-browser fix for IE, when adding scripts on the fly.Deryck Hodge1-2/+9
deryck (This used to be commit 1f4e65ce96ec8c4335bfabbe54989a8cb431d773)
2007-10-10r9663: Portability fix for IE.Deryck Hodge1-2/+2
deryck (This used to be commit 87cb23aae377a9cdce790881c65535ed4d3931e1)
2007-10-10r9651: Start to group all SWAT specific windowing, widgets, etc. in oneDeryck Hodge1-0/+99
file. This allows basic style and event code to be set in one place, though we'll still have to override for a specific position or look. More to come... deryck (This used to be commit 9d5482d2aaff2082d85d626c288f2ad16e20b6ae)
2007-10-10r9635: Seperate window logic from registry js file.Deryck Hodge3-33/+60
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-10r9610: use a list of allowable extensions for unauthenticated access rather thanAndrew Tridgell1-8/+8
a list of file names (This used to be commit ef61c8de2fa62d37486ea93d5773198d21c1a2c4)
2007-10-10r9579: Desktop SWAT opens now with a little server status window.Deryck Hodge2-0/+76
This includes a table layout that can be reused (see QxListView in status.js). Some formatting fixes, too. deryck (This used to be commit f95bf0adf760b8799ec02ec68ce42516ca40b6d2)
2007-10-10r9498: converted the SWAT regedit backend code to use the OO callsAndrew Tridgell1-6/+4
(This used to be commit c22baee5aafb2937ddfb71942eef5c69544e823c)
2007-10-10r9470: non-working attempt to add a little table for values to the reg editorAndrew Tridgell1-5/+27
hopefully deryck will be able to tell me what I've screwed up :-) (This used to be commit e68db751f064a0d968bd0995805141ffe5938ee7)
2007-10-10r9466: add display of values as well as keys in the registry editorAndrew Tridgell2-11/+66
(This used to be commit 62d55a250afa3e3923a6b9da7b59177ad59d55a3)
2007-10-10r9465: handle encoding and decoding of pointers, representing them as aAndrew Tridgell1-1/+1
string containing "(POINTER)" (This used to be commit 6f69eeb8f258063f1ac911ab38e667e7743ccba3)
2007-10-10r9434: moved the registry editor into a common js library. Deryck, does thisAndrew Tridgell2-0/+153
look ok? Apologies if this treads on your toes. (This used to be commit 8295eb01c0e1eec4f7c5bd211eac80b92ff9549e)
2007-10-10r9397: Playing with qooxdoo a bit and saving my work, so IDeryck Hodge2-0/+40
can get to it later today at work. Not much to see yet, and not linked to from SWAT yet. Playing with the idea of a web-based desktop, and just seeing how widgets can be used. deryck (This used to be commit 435467f90d809899c3d0efeaf991fb659d97202d)
2007-10-10r9230: Star out passwords and add confim text input for provisioning.Deryck Hodge1-0/+19
Also, add addMethod() to form elements now. deryck (This used to be commit 79f276df47ebc93e1505c7411fb1acd4b004047c)
2007-10-10r9228: cleanup and simplify the AJAJ code - part 2Andrew Tridgell1-6/+26
(This used to be commit bb3ab2c47b098ed57af358c4f5c6ad4d4d26eb33)
2007-10-10r9227: cleanup and simplify the AJAJ codeAndrew Tridgell1-1/+0
(This used to be commit ceb7669e5991e9dda759d60a09a0a65e6caba991)
2007-10-10r9211: don't try to encode functions in the AJAJ object encoderAndrew Tridgell1-1/+1
(This used to be commit a08104a13c722b3888aecd365e32aae63ea481e5)
2007-10-10r9176: added a much neater method of calling printf on the server from ↵Andrew Tridgell2-9/+64
client side js. Just use srv_printf() and normal printf arguments (This used to be commit 11c7e8db3d2501a6a439d3e3a63a5055cc577f51)
2007-10-10r9139: cleanup the layout a bitAndrew Tridgell1-2/+0
(This used to be commit c21fe071e795888f8e4ed0f535dc1bbc8d0731a5)
2007-10-10r9136: made the 'AJAJ' code portable to IE and OperaAndrew Tridgell1-1/+32
(This used to be commit b6b531533e2c4d6d927df29905e49a775e92f3c1)
2007-10-10r9134: added the client side js library code for handling remote 'AJAJ' callsAndrew Tridgell2-0/+122
into our web server (This used to be commit 530717122a3c7e34258db8ed0bfd0cc00624b903)
2007-10-10r9133: a huge import of the qooxdoo infrastructure. I decided to import all ↵Andrew Tridgell1-1/+4
the widgets to make experimenting easy during development. We can trim this back later to only the pieces we use (This used to be commit 631a56da39ed0daae46ca89e57c10b09cf41c718)
2007-10-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell3-51/+62
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 Tridgell2-84/+93
object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
2007-10-10r8718: try to improve the 2 level menu a bit.Andrew Tridgell1-1/+3
Deryck, if you get a chance, could you see how to make this a little "left and up" arrow instead of "Main Menu" ? (This used to be commit c6c1b2998c68b40496fe605097900071704d6474)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+2
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell2-2/+6
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-10r8565: put the docs menu on the rightAndrew Tridgell1-1/+8
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
2007-10-10r8479: * Sync CSS with current samba.org stylesheets.Deryck Hodge3-4/+8
* Add wide.css so it's availble for future pages. * Move SWAT specific styles to swat.css to make future syncs easier. deryck (This used to be commit 7ddc3ed5b87687a66995d2555c683efcb93be7e2)
2007-10-10r8477: Simplify header/footer handling. esp variables allowDeryck Hodge6-11/+12
for individual page titles, so we don't need the split header/footer here like we do on samba.org. deryck (This used to be commit af893fe83346f516402d0d6271533eedefa0ce4b)
2007-10-10r8403: Reinstate linkpad.gif at Deryck's suggestion.Tim Potter3-3/+3
Install *.gif from swat/images when installing swat. (This used to be commit 156e090c2c0ec2c7bdf66405c3742839b82fe757)
2007-10-10r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell1-2/+29
- added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
2007-10-10r8354: work around a js bug found by tpotAndrew Tridgell1-3/+4
(This used to be commit c6f7ace3333af31bc0d37264b3d8a75c79bb88e4)
2007-10-10r8353: Use a PNG instead of a GIF for padding. Also fixes a file not foundTim Potter3-4/+3
error as only PNG files were being installed by 'make installswat'. (This used to be commit eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell1-167/+0
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell2-18/+173
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-10r7136: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit d0374ffc87da225dfe8e57d9c4ae859b288fc913)
2007-10-10r7134: a number of small changes to make the pages HTML compliant. TheAndrew Tridgell2-8/+31
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 Tridgell1-8/+36
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-10r7131: support sub-object arrays when displaying objects. This allows the ↵Andrew Tridgell1-4/+23
ldb test to correctly display multi-value attributes like objectClass (This used to be commit 134f42655ed2e5e13dee25921b8cd4e1ca9a1396)
2007-10-10r7106: the web interface now works completely with or without cookies. If ↵Andrew Tridgell2-3/+22
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-10r7096: added support for select lists in formsAndrew Tridgell1-5/+16
(This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)
2007-10-10r7093: - added a new Form() ejs object for producing simple forms.Andrew Tridgell1-0/+57
- 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-0/+31
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10r7089: ensure that headers['HOST'] is setupAndrew Tridgell1-0/+7
(This used to be commit cb896a141a028ad386d92b0beb503af657a77813)