1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

140 Commits

Author SHA1 Message Date
Andrew Tridgell
32015e5cdc r9213: some improvements to the registry editor code
(This used to be commit 5cd33fa9f898f95a78397a387a42977a4839fb20)
2007-10-10 13:31:32 -05:00
Andrew Tridgell
c8dfaec28a r9212: the beginnings of a registry editor in SWAT, using client side javascript and AJAJ
This doesn't work at all well yet, mostly because of my inexperience
with client side javascript and what events are available
(This used to be commit 8073e84c7a5fd8d483685d769661c790a803ff49)
2007-10-10 13:31:31 -05:00
Andrew Tridgell
2dcd55f31f r9211: don't try to encode functions in the AJAJ object encoder
(This used to be commit a08104a13c722b3888aecd365e32aae63ea481e5)
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 c1ef18a590d2f7af4b64c1775376a05da80ac242)
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 11c7e8db3d2501a6a439d3e3a63a5055cc577f51)
2007-10-10 13:31:28 -05:00
Andrew Tridgell
0aa43d9231 r9175: simplify the example code a bit
(This used to be commit fbae29686644198351bb31c3be1cf5630165ef1f)
2007-10-10 13:31:28 -05:00
Stefan Metzmacher
b2b89d654d r9143: print out the rate of rounttrips
metze
(This used to be commit c0e055ac989a24c2b6ad14a0eb2b3f8509cb9bab)
2007-10-10 13:31:22 -05:00
Andrew Tridgell
f8b04830d7 r9140: fixed a typo
(This used to be commit 672b8c397103dddbd5d046a4c43f4686ad51192e)
2007-10-10 13:31:22 -05:00
Andrew Tridgell
e9737799b4 r9139: cleanup the layout a bit
(This used to be commit c21fe071e795888f8e4ed0f535dc1bbc8d0731a5)
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 b6b531533e2c4d6d927df29905e49a775e92f3c1)
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 678b0cc08f6026fe35b522d5705ab0c1baf3c359)
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 530717122a3c7e34258db8ed0bfd0cc00624b903)
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 631a56da39ed0daae46ca89e57c10b09cf41c718)
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 b91e6053485ada50f66aa763e0ccff3b71991fa5)
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 b37a2de9a89853393bcc9d20cfcffae96df9a90e)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
7c948bb2a3 r8831: Clarify data wipe-out statement
(This used to be commit 981e17eea449faa591b7a8b0c2baaa02461fbf4f)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
b1e8d70123 r8830: Fix provision script after data split
(This used to be commit 99d676d732dffbbf428cc0f012da26c47e6bb66d)
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 f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
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 eeeeab5eb7aff4fa3b25fa07a352eda74c44db6c)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
3c2a5aa63c r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
dc2635efe3 r8723: fix esptest menu
(This used to be commit 5a52729d5b81336973adaf277d265445b78b2ea7)
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 c2a450bb9967caa666628f067a8e732227854ce2)
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 c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
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 c6c1b2998c68b40496fe605097900071704d6474)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
0b650edc83 r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)
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 78fb559c08d55c01f5ede81d43cdd857cce8d338)
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 8d0c9557a29a802800257af1bab38bfe57928c17)
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 c2691ef7126ddcee5f95970b78759b40a049d0a7)
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 760cc6bea5661245a8e4e18f103148281e31aaac)
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 ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
86d628a292 r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
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 a978484738168b82441c4dc4f5f803d349769a4b)
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 9e07c08a71908e99c2f44efc40a3249facd6850f)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
6c38e3324a r8594: more placeholder pages for server status
(This used to be commit 1ad6b5878352708fb8863b85492e308a6c588a54)
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 1aa658b756903e7cb598302eddd18b7734937c83)
2007-10-10 13:29:42 -05:00
Deryck Hodge
8638d01a28 r8578: Fix overlapping sections in SWAT.
deryck
(This used to be commit 28cc020a1aaa2575b08b45f6334ab6b4de0b12f5)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
18d64b6b7c r8565: put the docs menu on the right
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
948183cb38 r8560: added a newuser page in swat
(This used to be commit da366042f48c70b4cd2e6efcae23a7f1777d3ed4)
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 de6d5efadeb1ac5c44c6c87481d20de3afbedb78)
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 cf35818648b5b649d0cd25f115a04b7b5b5311aa)
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 98c9c4ecb87e1b140002390067892806464849da)
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 3093057d9735cbb62f57e7159264d5a28b85320f)
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 7ddc3ed5b87687a66995d2555c683efcb93be7e2)
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 af893fe83346f516402d0d6271533eedefa0ce4b)
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 156e090c2c0ec2c7bdf66405c3742839b82fe757)
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 7476cb94132cf2849ec19360468904ca6fe8de2c)
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 c6f7ace3333af31bc0d37264b3d8a75c79bb88e4)
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 eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
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 4d4a062af4ee34c5a3a2027ac1950ae3c8d39447)
2007-10-10 13:19:33 -05:00