summaryrefslogtreecommitdiff
path: root/swat/scripting/common.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19140: allow own authentication handling by jsonrpc appsDerrell Lipman1-0/+8
(This used to be commit de2eb8df0c1aa361adbf14a5984b1719e17f70cb)
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-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell1-42/+0
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 Tridgell1-84/+0
object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
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 Tridgell1-1/+2
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-10r8479: * Sync CSS with current samba.org stylesheets.Deryck Hodge1-1/+3
* 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-10r8403: Reinstate linkpad.gif at Deryck's suggestion.Tim Potter1-1/+1
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 Potter1-2/+1
error as only PNG files were being installed by 'make installswat'. (This used to be commit eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
2007-10-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell1-18/+6
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 Tridgell1-7/+30
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 Tridgell1-1/+20
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)
2007-10-10r7088: start on some real structure for the SWAT web pagesAndrew Tridgell1-0/+56
- 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)