1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

55 Commits

Author SHA1 Message Date
Derrell Lipman
de2eb8df0c r19140: allow own authentication handling by jsonrpc apps 2007-10-10 14:20:39 -05:00
Deryck Hodge
e7015c1937 r10228: Reorganizing a bit, trying to simplify. This is an attempt
to find what's going wrong in IE formatting.

This is some better, but still IE needs help.

deryck
2007-10-10 13:38:09 -05:00
Deryck Hodge
3264ccf743 r10212: An IE fix. Must set initial values in the onload function.
deryck
2007-10-10 13:38:08 -05:00
Deryck Hodge
f0c7b43767 r9779: Add a contextmenu function to be used by all window/widget objects.
deryck
2007-10-10 13:35:00 -05:00
Deryck Hodge
a70b52bb04 r9763: Add the start bar as a widget from the
desktop file.  This is more portable to IE, though
there are still some IE issues hanging around.

deryck
2007-10-10 13:34:57 -05:00
Deryck Hodge
6acc7ec7c2 r9761: Move initial widget setup to desktop library. Now, just by including
desktop.js, you get the basic desktop layout.

deryck
2007-10-10 13:34:57 -05:00
Deryck Hodge
92d6bb90a6 r9759: Create some wrappers for QxWidget. This gives us some pre-fabbed
windows, which set size and positioning.

To use:

var myWin = new Window.large("Some Window Title");
var myWin = new Window.standard("Some Window Title");
var myWin = new Window.small("Some Window Title");

You can omit the title if you don't need one.  Also,
var myWin = new Window();  will give you the random
positioning and no predetermined sizing.

deryck
2007-10-10 13:34:57 -05:00
Deryck Hodge
4acd4489c9 r9710: Filename change for clarity's sake.
deryck
2007-10-10 13:34:52 -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
c22baee5aa r9498: converted the SWAT regedit backend code to use the OO calls 2007-10-10 13:34:22 -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
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
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
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
a08104a13c r9211: don't try to encode functions in the AJAJ object encoder 2007-10-10 13:31:31 -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
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
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
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
a978484738 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
2007-10-10 13:29:48 -05:00
Andrew Tridgell
1aa658b756 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
2007-10-10 13:29:42 -05:00
Andrew Tridgell
ed02d9989f r8565: put the docs menu on the right 2007-10-10 13:29:38 -05:00
Deryck Hodge
7ddc3ed5b8 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
2007-10-10 13:23:07 -05:00
Deryck Hodge
af893fe833 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
2007-10-10 13:23:07 -05:00
Tim Potter
156e090c2c r8403: Reinstate linkpad.gif at Deryck's suggestion.
Install *.gif from swat/images when installing swat.
2007-10-10 13:22:58 -05:00
Andrew Tridgell
7476cb9413 r8372: - split out provisioning logic into a separate ejs library
- added a provisioning web page
2007-10-10 13:20:13 -05:00
Andrew Tridgell
c6f7ace333 r8354: work around a js bug found by tpot 2007-10-10 13:20:10 -05:00
Tim Potter
eaf9c455de 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'.
2007-10-10 13:20:10 -05:00
Andrew Tridgell
2a444dedbe 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
2007-10-10 13:19:33 -05:00
Andrew Tridgell
eb354f6da7 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.
2007-10-10 13:19:26 -05:00
Andrew Tridgell
d0374ffc87 r7136: fixed a typo 2007-10-10 13:17:21 -05:00
Andrew Tridgell
aa43111aa5 r7134: a number of small changes to make the pages HTML compliant. The
builtin web validator in firefox sure is useful!
2007-10-10 13:17:20 -05:00
Andrew Tridgell
ac978d4124 r7132: - start a convention of making object constructors end in Obj, so we
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.
2007-10-10 13:17:20 -05:00
Andrew Tridgell
134f42655e r7131: support sub-object arrays when displaying objects. This allows the ldb test to
correctly display multi-value attributes like objectClass
2007-10-10 13:17:20 -05:00
Andrew Tridgell
104d47a745 r7106: the web interface now works completely with or without cookies. If you have cookies
they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end.
2007-10-10 13:17:17 -05:00
Andrew Tridgell
33d21d35fe r7096: added support for select lists in forms 2007-10-10 13:17:15 -05:00
Andrew Tridgell
ddccf6d2f5 r7093: - added a new Form() ejs object for producing simple forms.
- tidied up the html generation a bit
2007-10-10 13:17:15 -05:00