summaryrefslogtreecommitdiff
path: root/swat
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell1-2/+2
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8725: redirect to the base install page not the provisioning page on firstAndrew Tridgell1-1/+1
use (This used to be commit eeeeab5eb7aff4fa3b25fa07a352eda74c44db6c)
2007-10-10r8724: some boilerplate installation textAndrew Tridgell1-0/+14
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)
2007-10-10r8723: fix esptest menuAndrew Tridgell1-1/+1
(This used to be commit 5a52729d5b81336973adaf277d265445b78b2ea7)
2007-10-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell28-122/+135
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 Tridgell9-95/+115
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-10r8708: fixed an assert that abartlet foundAndrew Tridgell1-1/+3
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)
2007-10-10r8648: automatically redirect to provisioning if not yet provisioned when theAndrew Tridgell1-0/+6
home page in swat is accessed (This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)
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-10r8643: - make lp_configfile() work againAndrew Tridgell1-1/+12
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8642: - fixed install of new swat filesAndrew Tridgell1-2/+0
- removed old provisioning items from esptest menu (This used to be commit 760cc6bea5661245a8e4e18f103148281e31aaac)
2007-10-10r8640: continue the trend by moving the ejs random calls into an objectAndrew Tridgell1-1/+2
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell2-6/+8
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
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-10r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵Andrew Tridgell1-3/+2
libjs/auth.js - tried to make the ejs_userAuth() call work for the sam, not just for unix auth. I didn't get this working. Andrew, when you get a chance can you see what I'm doing wrong? I suspect its because we aren't supplying a challenge, but a challenge doesn't really make sense in a 'is this username/password' correct call. (This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)
2007-10-10r8598: move provisioning to /install/ directory from /esptest/Andrew Tridgell5-2/+14
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
2007-10-10r8594: more placeholder pages for server statusAndrew Tridgell5-10/+52
(This used to be commit 1ad6b5878352708fb8863b85492e308a6c588a54)
2007-10-10r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell22-17/+120
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-10r8578: Fix overlapping sections in SWAT.Deryck Hodge1-1/+1
deryck (This used to be commit 28cc020a1aaa2575b08b45f6334ab6b4de0b12f5)
2007-10-10r8565: put the docs menu on the rightAndrew Tridgell1-1/+8
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
2007-10-10r8560: added a newuser page in swatAndrew Tridgell2-0/+42
(This used to be commit da366042f48c70b4cd2e6efcae23a7f1777d3ed4)
2007-10-10r8504: Temporary fix to #content width/height just toDeryck Hodge1-0/+8
pretty up things while I work. deryck (This used to be commit de6d5efadeb1ac5c44c6c87481d20de3afbedb78)
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-10r8479: * Sync CSS with current samba.org stylesheets.Deryck Hodge8-88/+275
* 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 Potter5-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 Tridgell3-2/+85
- 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 Potter5-4/+3
error as only PNG files were being installed by 'make installswat'. (This used to be commit eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
2007-10-10r8299: make the samr swat test use the samr.js libAndrew Tridgell1-2/+3
(This used to be commit 4d4a062af4ee34c5a3a2027ac1950ae3c8d39447)
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 Tridgell4-18/+209
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-10r7267: REMOTE_HOST is a better choiceSimo Sorce1-1/+7
(This used to be commit 41bae267e29614d300ec2505c927ab17ccbbe64f)
2007-10-10r7238: Add pam auth support in swatSimo Sorce1-14/+25
(This used to be commit 8a98572a3b5dba58181dc402dbebae5452656012)
2007-10-10r7231: remove some old stuffSimo Sorce1-48/+0
(This used to be commit 2e3316be9faf696fbb84e0a183de47418d7b9acd)
2007-10-10r7171: Just learning my way around the new SWAT, and updating someDeryck Hodge1-5/+7
docs/specs in the menu... Linking to XHTML specs since we're sending the pages as XHTML. Also, added a link to CSS specs to go along with the CSS quick reference card. (This used to be commit 95337ad27bd0bb9bf45d03427eb7ec5422dca270)
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 Tridgell7-18/+39
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 Tridgell7-21/+62
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-10r7108: display a session expired messageAndrew Tridgell1-0/+5
(This used to be commit 3f87d53d6614b514f1725b09e9964629b91dbbcc)
2007-10-10r7106: the web interface now works completely with or without cookies. If ↵Andrew Tridgell4-12/+33
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-10r7105: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 790f861538c490fab0ab1028cef6ae1797dd2c15)
2007-10-10r7101: moved favicon into images/Andrew Tridgell1-0/+0
(This used to be commit df7280c5c814c3c86fad1d2b0286b865a1f37179)
2007-10-10r7099: make the password field a password field...Stefan Metzmacher1-0/+1
metze (This used to be commit ad2d3991ba56d2779df66ff88ccbeb165ac23376)
2007-10-10r7097: removed a debug lineAndrew Tridgell1-1/+0
(This used to be commit b45ddce5dd192d26a4799ae7f69cf236750fc09e)
2007-10-10r7096: added support for select lists in formsAndrew Tridgell2-6/+24
(This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)