1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

115 Commits

Author SHA1 Message Date
Jelmer Vernooij
b1844905d2 r9718: Work a bit on the SWAT interface 2007-10-10 13:34:53 -05:00
Deryck Hodge
4acd4489c9 r9710: Filename change for clarity's sake.
deryck
2007-10-10 13:34:52 -05:00
Andrew Tridgell
2673bebf13 r9674: r9678@blu: tridge | 2005-08-27 16:32:30 +1000
- removed the initial provision button. It is just way too confusing.
 We should have a separate 'migration' page instead, but in the
 meantime to migrate please use the command line

 - added a check for a blank password. If blank, then ask them
  to reenter it
2007-10-10 13:34:39 -05:00
Deryck Hodge
1f4e65ce96 r9668: Cross-browser fix for IE, when adding scripts on the fly.
deryck
2007-10-10 13:34:38 -05:00
Deryck Hodge
87cb23aae3 r9663: Portability fix for IE.
deryck
2007-10-10 13:34:38 -05:00
Deryck Hodge
9d5482d2aa r9651: Start to group all SWAT specific windowing, widgets, etc. in one
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
2007-10-10 13:34:38 -05:00
Deryck Hodge
b4f6f81d7b r9635: Seperate window logic from registry js file.
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
2007-10-10 13:34:36 -05:00
Andrew Tridgell
ef61c8de2f r9610: use a list of allowable extensions for unauthenticated access rather than
a list of file names
2007-10-10 13:34:34 -05:00
Deryck Hodge
f95bf0adf7 r9579: Desktop SWAT opens now with a little server status window.
This includes a table layout that can be reused (see
QxListView in status.js).

Some formatting fixes, too.

deryck
2007-10-10 13:34:31 -05:00
Andrew Tridgell
10b1f95790 r9501: fixed the SWAT login page for the changes to the userAuth() function that Mimir made
earlier today
2007-10-10 13:34:23 -05:00
Andrew Tridgell
c22baee5aa r9498: converted the SWAT regedit backend code to use the OO calls 2007-10-10 13:34:22 -05:00
Deryck Hodge
93e648ade2 r9471: Rough first pass at a menu system. It's hacked together, but
I wanted to just get it working to play with it.  Only the
reg editor works from this menu.  The rest will follow later.

deryck
2007-10-10 13:34:19 -05:00
Andrew Tridgell
e68db751f0 r9470: non-working attempt to add a little table for values to the reg editor
hopefully deryck will be able to tell me what I've screwed up :-)
2007-10-10 13:34:19 -05:00
Deryck Hodge
eeacd73ef2 r9469: Add a right-click menu to the SWAT desktop.
This includes a generic showMessage() for opening
a dialog window to the user.

Next is a start menu, and then I'll move on to more
practical functionality... user manager, server config, etc.

deryck
2007-10-10 13:34:19 -05:00
Andrew Tridgell
62d55a250a r9466: add display of values as well as keys in the registry editor 2007-10-10 13:34:19 -05:00
Andrew Tridgell
6f69eeb8f2 r9465: handle encoding and decoding of pointers, representing them as a
string containing "(POINTER)"
2007-10-10 13:34:18 -05:00
Deryck Hodge
dadc89f883 r9443: We can now move windows around anywhere on our SWAT "desktop".
QxWidget doesn't accept percentages, so I feed the toplevel
widget the actual brower height/width onload and onresize.

deryck
2007-10-10 13:34:15 -05:00
Andrew Tridgell
8295eb01c0 r9434: moved the registry editor into a common js library. Deryck, does this
look ok? Apologies if this treads on your toes.
2007-10-10 13:34:14 -05:00
Deryck Hodge
435467f90d r9397: Playing with qooxdoo a bit and saving my work, so I
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
2007-10-10 13:33:34 -05:00
Deryck Hodge
71291f0d56 r9328: Remove background:ThreeDFace from qooxdoo styles to
get our samba.org background bacl.

deryck
2007-10-10 13:33:24 -05:00
Deryck Hodge
6040f9401e r9327: Rename parent to fParent to prevent confusion with window.parent object.
(Thanks, Derrell, for the reminder.)
Rename child to fChild, to be consistent and maintain readability.

deryck
2007-10-10 13:33:24 -05:00
Deryck Hodge
8a3445499e r9232: Rename some objects to make code clear.
deryck
2007-10-10 13:31:34 -05:00
Deryck Hodge
79f276df47 r9230: Star out passwords and add confim text input for provisioning.
Also, add addMethod() to form elements now.

deryck
2007-10-10 13:31:34 -05:00
Andrew Tridgell
bb3ab2c47b r9228: cleanup and simplify the AJAJ code - part 2 2007-10-10 13:31:34 -05:00
Andrew Tridgell
ceb7669e59 r9227: cleanup and simplify the AJAJ code 2007-10-10 13:31:34 -05:00
Andrew Tridgell
5cd33fa9f8 r9213: some improvements to the registry editor code 2007-10-10 13:31:32 -05:00
Andrew Tridgell
8073e84c7a 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
2007-10-10 13:31:31 -05:00
Andrew Tridgell
a08104a13c r9211: don't try to encode functions in the AJAJ object encoder 2007-10-10 13:31:31 -05:00
Andrew Tridgell
c1ef18a590 r9177: setup a credentials object in authinfo on login 2007-10-10 13:31:28 -05:00
Andrew Tridgell
11c7e8db3d r9176: added a much neater method of calling printf on the server from client side js. Just
use srv_printf() and normal printf arguments
2007-10-10 13:31:28 -05:00
Andrew Tridgell
fbae296866 r9175: simplify the example code a bit 2007-10-10 13:31:28 -05:00
Stefan Metzmacher
c0e055ac98 r9143: print out the rate of rounttrips
metze
2007-10-10 13:31:22 -05:00
Andrew Tridgell
672b8c3971 r9140: fixed a typo 2007-10-10 13:31:22 -05:00
Andrew Tridgell
c21fe071e7 r9139: cleanup the layout a bit 2007-10-10 13:31:22 -05:00
Andrew Tridgell
b6b531533e r9136: made the 'AJAJ' code portable to IE and Opera 2007-10-10 13:31:21 -05:00
Andrew Tridgell
678b0cc08f r9135: added a sample page that demonstrates using AJAJ to make remote calls
that update an object
2007-10-10 13:31:21 -05:00
Andrew Tridgell
530717122a r9134: added the client side js library code for handling remote 'AJAJ' calls
into our web server
2007-10-10 13:31:21 -05:00
Andrew Tridgell
631a56da39 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 2007-10-10 13:31:20 -05:00
Rafal Szczesniak
b91e605348 r8969: Make password field a password field, that is - prevent them from
displaying plain text.

rafal
2007-10-10 13:31:01 -05:00
Andrew Bartlett
b37a2de9a8 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
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
981e17eea4 r8831: Clarify data wipe-out statement 2007-10-10 13:30:10 -05:00
Alexander Bokovoy
99d676d732 r8830: Fix provision script after data split 2007-10-10 13:30:10 -05:00
Andrew Tridgell
f7b49ecd08 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);
2007-10-10 13:30:08 -05:00
Andrew Tridgell
eeeeab5eb7 r8725: redirect to the base install page not the provisioning page on first
use
2007-10-10 13:29:59 -05:00
Andrew Tridgell
5b28bdb9c8 r8724: some boilerplate installation text 2007-10-10 13:29:59 -05:00
Andrew Tridgell
5a52729d5b r8723: fix esptest menu 2007-10-10 13:29:59 -05:00
Andrew Tridgell
c2a450bb99 r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
2007-10-10 13:29:59 -05:00
Andrew Tridgell
c45c4e335e r8720: split form object out to separate include file, and make it a real
object, with a display() method
2007-10-10 13:29:58 -05:00
Andrew Tridgell
c6c1b2998c 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" ?
2007-10-10 13:29:58 -05:00
Andrew Tridgell
f5e6547c28 r8708: fixed an assert that abartlet found 2007-10-10 13:29:56 -05:00