summaryrefslogtreecommitdiffstats
path: root/swat/scripting
Commit message (Collapse)AuthorAgeFilesLines
* r10228: Reorganizing a bit, trying to simplify. This is an attemptDeryck Hodge2007-10-102-62/+0
| | | | | | | | | 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)
* r10212: An IE fix. Must set initial values in the onload function.Deryck Hodge2007-10-101-6/+7
| | | | | deryck (This used to be commit 3264ccf7438e003c3ed217f2d4a7315aceb05eb1)
* r9779: Add a contextmenu function to be used by all window/widget objects.Deryck Hodge2007-10-101-22/+15
| | | | | deryck (This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)
* r9763: Add the start bar as a widget from theDeryck Hodge2007-10-101-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)
* r9761: Move initial widget setup to desktop library. Now, just by includingDeryck Hodge2007-10-101-0/+23
| | | | | | | desktop.js, you get the basic desktop layout. deryck (This used to be commit 6acc7ec7c2957e1487ee72f883079e1680dd9896)
* r9759: Create some wrappers for QxWidget. This gives us some pre-fabbedDeryck Hodge2007-10-101-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)
* r9710: Filename change for clarity's sake.Deryck Hodge2007-10-101-0/+0
| | | | | deryck (This used to be commit 4acd4489c9f016f7f48ba1cff231cbfc56925547)
* r9668: Cross-browser fix for IE, when adding scripts on the fly.Deryck Hodge2007-10-101-2/+9
| | | | | deryck (This used to be commit 1f4e65ce96ec8c4335bfabbe54989a8cb431d773)
* r9663: Portability fix for IE.Deryck Hodge2007-10-101-2/+2
| | | | | deryck (This used to be commit 87cb23aae377a9cdce790881c65535ed4d3931e1)
* r9651: Start to group all SWAT specific windowing, widgets, etc. in oneDeryck Hodge2007-10-101-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)
* r9635: Seperate window logic from registry js file.Deryck Hodge2007-10-103-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)
* r9610: use a list of allowable extensions for unauthenticated access rather thanAndrew Tridgell2007-10-101-8/+8
| | | | | a list of file names (This used to be commit ef61c8de2fa62d37486ea93d5773198d21c1a2c4)
* r9579: Desktop SWAT opens now with a little server status window.Deryck Hodge2007-10-102-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)
* r9498: converted the SWAT regedit backend code to use the OO callsAndrew Tridgell2007-10-101-6/+4
| | | | (This used to be commit c22baee5aafb2937ddfb71942eef5c69544e823c)
* r9470: non-working attempt to add a little table for values to the reg editorAndrew Tridgell2007-10-101-5/+27
| | | | | hopefully deryck will be able to tell me what I've screwed up :-) (This used to be commit e68db751f064a0d968bd0995805141ffe5938ee7)
* r9466: add display of values as well as keys in the registry editorAndrew Tridgell2007-10-102-11/+66
| | | | (This used to be commit 62d55a250afa3e3923a6b9da7b59177ad59d55a3)
* r9465: handle encoding and decoding of pointers, representing them as aAndrew Tridgell2007-10-101-1/+1
| | | | | string containing "(POINTER)" (This used to be commit 6f69eeb8f258063f1ac911ab38e667e7743ccba3)
* r9434: moved the registry editor into a common js library. Deryck, does thisAndrew Tridgell2007-10-102-0/+153
| | | | | look ok? Apologies if this treads on your toes. (This used to be commit 8295eb01c0e1eec4f7c5bd211eac80b92ff9549e)
* r9397: Playing with qooxdoo a bit and saving my work, so IDeryck Hodge2007-10-102-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)
* r9230: Star out passwords and add confim text input for provisioning.Deryck Hodge2007-10-101-0/+19
| | | | | | | Also, add addMethod() to form elements now. deryck (This used to be commit 79f276df47ebc93e1505c7411fb1acd4b004047c)
* r9228: cleanup and simplify the AJAJ code - part 2Andrew Tridgell2007-10-101-6/+26
| | | | (This used to be commit bb3ab2c47b098ed57af358c4f5c6ad4d4d26eb33)
* r9227: cleanup and simplify the AJAJ codeAndrew Tridgell2007-10-101-1/+0
| | | | (This used to be commit ceb7669e5991e9dda759d60a09a0a65e6caba991)
* r9211: don't try to encode functions in the AJAJ object encoderAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit a08104a13c722b3888aecd365e32aae63ea481e5)
* r9176: added a much neater method of calling printf on the server from ↵Andrew Tridgell2007-10-102-9/+64
| | | | | | | client side js. Just use srv_printf() and normal printf arguments (This used to be commit 11c7e8db3d2501a6a439d3e3a63a5055cc577f51)
* r9139: cleanup the layout a bitAndrew Tridgell2007-10-101-2/+0
| | | | (This used to be commit c21fe071e795888f8e4ed0f535dc1bbc8d0731a5)
* r9136: made the 'AJAJ' code portable to IE and OperaAndrew Tridgell2007-10-101-1/+32
| | | | (This used to be commit b6b531533e2c4d6d927df29905e49a775e92f3c1)
* r9134: added the client side js library code for handling remote 'AJAJ' callsAndrew Tridgell2007-10-102-0/+122
| | | | | into our web server (This used to be commit 530717122a3c7e34258db8ed0bfd0cc00624b903)
* r9133: a huge import of the qooxdoo infrastructure. I decided to import all ↵Andrew Tridgell2007-10-101-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)
* r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell2007-10-103-51/+62
| | | | | menu hierarchy is now in /menu.js (This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
* r8720: split form object out to separate include file, and make it a realAndrew Tridgell2007-10-102-84/+93
| | | | | object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
* r8718: try to improve the 2 level menu a bit.Andrew Tridgell2007-10-101-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)
* r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell2007-10-101-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)
* r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell2007-10-102-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)
* r8565: put the docs menu on the rightAndrew Tridgell2007-10-101-1/+8
| | | | (This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
* r8479: * Sync CSS with current samba.org stylesheets.Deryck Hodge2007-10-103-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)
* r8477: Simplify header/footer handling. esp variables allowDeryck Hodge2007-10-106-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)
* r8403: Reinstate linkpad.gif at Deryck's suggestion.Tim Potter2007-10-103-3/+3
| | | | | Install *.gif from swat/images when installing swat. (This used to be commit 156e090c2c0ec2c7bdf66405c3742839b82fe757)
* r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell2007-10-101-2/+29
| | | | | - added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
* r8354: work around a js bug found by tpotAndrew Tridgell2007-10-101-3/+4
| | | | (This used to be commit c6f7ace3333af31bc0d37264b3d8a75c79bb88e4)
* r8353: Use a PNG instead of a GIF for padding. Also fixes a file not foundTim Potter2007-10-103-4/+3
| | | | | error as only PNG files were being installed by 'make installswat'. (This used to be commit eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
* r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2007-10-101-167/+0
| | | | | | | - switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
* r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell2007-10-102-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)
* r7136: fixed a typoAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit d0374ffc87da225dfe8e57d9c4ae859b288fc913)
* r7134: a number of small changes to make the pages HTML compliant. TheAndrew Tridgell2007-10-102-8/+31
| | | | | builtin web validator in firefox sure is useful! (This used to be commit aa43111aa5f9a183395ebd840d8f77867730ab23)
* r7132: - start a convention of making object constructors end in Obj, so weAndrew Tridgell2007-10-101-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)
* r7131: support sub-object arrays when displaying objects. This allows the ↵Andrew Tridgell2007-10-101-4/+23
| | | | | | | ldb test to correctly display multi-value attributes like objectClass (This used to be commit 134f42655ed2e5e13dee25921b8cd4e1ca9a1396)
* r7106: the web interface now works completely with or without cookies. If ↵Andrew Tridgell2007-10-102-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)
* r7096: added support for select lists in formsAndrew Tridgell2007-10-101-5/+16
| | | | (This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)
* r7093: - added a new Form() ejs object for producing simple forms.Andrew Tridgell2007-10-101-0/+57
| | | | | - tidied up the html generation a bit (This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
* r7092: added some js for formatting table results in a nicer fashionAndrew Tridgell2007-10-101-0/+31
| | | | (This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)