1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

88 Commits

Author SHA1 Message Date
Andrew Tridgell
2dcd55f31f r9211: don't try to encode functions in the AJAJ object encoder
(This used to be commit a08104a13c)
2007-10-10 13:31:31 -05:00
Andrew Tridgell
c28816e74b r9177: setup a credentials object in authinfo on login
(This used to be commit c1ef18a590)
2007-10-10 13:31:28 -05:00
Andrew Tridgell
9f4444331a r9176: added a much neater method of calling printf on the server from client side js. Just
use srv_printf() and normal printf arguments
(This used to be commit 11c7e8db3d)
2007-10-10 13:31:28 -05:00
Andrew Tridgell
0aa43d9231 r9175: simplify the example code a bit
(This used to be commit fbae296866)
2007-10-10 13:31:28 -05:00
Stefan Metzmacher
b2b89d654d r9143: print out the rate of rounttrips
metze
(This used to be commit c0e055ac98)
2007-10-10 13:31:22 -05:00
Andrew Tridgell
f8b04830d7 r9140: fixed a typo
(This used to be commit 672b8c3971)
2007-10-10 13:31:22 -05:00
Andrew Tridgell
e9737799b4 r9139: cleanup the layout a bit
(This used to be commit c21fe071e7)
2007-10-10 13:31:22 -05:00
Andrew Tridgell
baf66d8626 r9136: made the 'AJAJ' code portable to IE and Opera
(This used to be commit b6b531533e)
2007-10-10 13:31:21 -05:00
Andrew Tridgell
a281077935 r9135: added a sample page that demonstrates using AJAJ to make remote calls
that update an object
(This used to be commit 678b0cc08f)
2007-10-10 13:31:21 -05:00
Andrew Tridgell
3a02c8b116 r9134: added the client side js library code for handling remote 'AJAJ' calls
into our web server
(This used to be commit 530717122a)
2007-10-10 13:31:21 -05:00
Andrew Tridgell
8808465e5b r9133: a huge import of the qooxdoo infrastructure. I decided to import all 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 631a56da39)
2007-10-10 13:31:20 -05:00
Rafal Szczesniak
1254a6da23 r8969: Make password field a password field, that is - prevent them from
displaying plain text.

rafal
(This used to be commit b91e605348)
2007-10-10 13:31:01 -05:00
Andrew Bartlett
d14fd78a43 r8844: Actually, both types of provision wipe the DB. But we do need a way
to explian the tie between 'Initial Provision' and the next step being
a SamSync or a Samba3 import etc.

Andrew Bartlett
(This used to be commit b37a2de9a8)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
7c948bb2a3 r8831: Clarify data wipe-out statement
(This used to be commit 981e17eea4)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
b1e8d70123 r8830: Fix provision script after data split
(This used to be commit 99d676d732)
2007-10-10 13:30:10 -05:00
Andrew Tridgell
f6d2892faa r8821: continue the trend to move to a more OO style of interface for our js
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 f7b49ecd08)
2007-10-10 13:30:08 -05:00
Andrew Tridgell
6e2ef3fa25 r8725: redirect to the base install page not the provisioning page on first
use
(This used to be commit eeeeab5eb7)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
3c2a5aa63c r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c8)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
dc2635efe3 r8723: fix esptest menu
(This used to be commit 5a52729d5b)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
fdb322876d r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
(This used to be commit c2a450bb99)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
23924170cc r8720: split form object out to separate include file, and make it a real
object, with a display() method
(This used to be commit c45c4e335e)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
66526f5e4a r8718: try to improve the 2 level menu a bit.
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 c6c1b2998c)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
0b650edc83 r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
2fd92cb1b4 r8648: automatically redirect to provisioning if not yet provisioned when the
home page in swat is accessed
(This used to be commit 78fb559c08)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
4512f76c1b r8645: updated the ldb esp test for the new ldb ejs syntax
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 8d0c9557a2)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
2f5f01567b r8643: - make lp_configfile() work again
- 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 c2691ef712)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
238a7e2f4c r8642: - fixed install of new swat files
- removed old provisioning items from esptest menu
(This used to be commit 760cc6bea5)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
d5ac1f9bf4 r8640: continue the trend by moving the ejs random calls into an object
(This used to be commit ed4fb68ef7)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
86d628a292 r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
620301858a r8638: continue the trend of maknig our C functions true ejs objects by 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 a978484738)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
e9c925f872 r8629: - moved the getDomainList() call out of smbcalls_auth.c and into 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 9e07c08a71)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
6c38e3324a r8594: more placeholder pages for server status
(This used to be commit 1ad6b58783)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
342d11e354 r8591: - added a simple 2 level menu structure to swat. Deryck, I know this
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 1aa658b756)
2007-10-10 13:29:42 -05:00
Deryck Hodge
8638d01a28 r8578: Fix overlapping sections in SWAT.
deryck
(This used to be commit 28cc020a1a)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
18d64b6b7c r8565: put the docs menu on the right
(This used to be commit ed02d9989f)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
948183cb38 r8560: added a newuser page in swat
(This used to be commit da366042f4)
2007-10-10 13:29:38 -05:00
Deryck Hodge
632b7ec0d0 r8504: Temporary fix to #content width/height just to
pretty up things while I work.

deryck
(This used to be commit de6d5efade)
2007-10-10 13:29:33 -05:00
Andrew Tridgell
94d99612b9 r8488: after discussions with simo, moved to a full OO interface, so you 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 cf35818648)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
4f62205cad r8486: switched to a separate connection operation in ldb interface
(a suggestion from simo)
(This used to be commit 98c9c4ecb8)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
63535f566e r8481: switched ldb ejs called over to an OO interface, so you do:
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 3093057d97)
2007-10-10 13:23:07 -05:00
Deryck Hodge
cac606ed8e r8479: * Sync CSS with current samba.org stylesheets.
* 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 7ddc3ed5b8)
2007-10-10 13:23:07 -05:00
Deryck Hodge
3b18fe06d6 r8477: Simplify header/footer handling. esp variables allow
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 af893fe833)
2007-10-10 13:23:07 -05:00
Tim Potter
b4f6a348bb r8403: Reinstate linkpad.gif at Deryck's suggestion.
Install *.gif from swat/images when installing swat.
(This used to be commit 156e090c2c)
2007-10-10 13:22:58 -05:00
Andrew Tridgell
adb7fd18e5 r8372: - split out provisioning logic into a separate ejs library
- added a provisioning web page
(This used to be commit 7476cb9413)
2007-10-10 13:20:13 -05:00
Andrew Tridgell
102e247611 r8354: work around a js bug found by tpot
(This used to be commit c6f7ace333)
2007-10-10 13:20:10 -05:00
Tim Potter
fdb91826aa r8353: Use a PNG instead of a GIF for padding. Also fixes a file not found
error as only PNG files were being installed by 'make installswat'.
(This used to be commit eaf9c455de)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
3fb52d1b6e r8299: make the samr swat test use the samr.js lib
(This used to be commit 4d4a062af4)
2007-10-10 13:19:33 -05:00
Andrew Tridgell
f9ff72cbda r8298: - started building a library of js routines in scripting/libjs/
- switched the existing test programs over to using the library

- added install of js lib
(This used to be commit 2a444dedbe)
2007-10-10 13:19:33 -05:00
Andrew Tridgell
a343050b2b r8257: add a samr rpc test page in the web server. It lists all level3
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 eb354f6da7)
2007-10-10 13:19:26 -05:00