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

53 Commits

Author SHA1 Message Date
Rafal Szczesniak
0b11b6e173 r22501: dispatching events explicitly is not necessary.
rafal
(This used to be commit 01b1b2b36b)
2007-10-10 14:51:34 -05:00
Rafal Szczesniak
a07fb56da4 r22500: there's a better way to find out if there are any children
rafal
(This used to be commit ebc67bc0ae)
2007-10-10 14:51:34 -05:00
Rafal Szczesniak
5d2daefcf2 r22499: UsrCtx should be created within UsersView. Tree widget just
opens it and passes the domain name(s) to operate on (selectable
via combo box).

rafal
(This used to be commit c438284adf)
2007-10-10 14:51:34 -05:00
Rafal Szczesniak
9e752901b2 r22487: Add a separate widget class for listing users and reposition
things on NetManager's screen. Qooxdoo layout positioning can
be tricky sometimes...

rafal
(This used to be commit 3face29cc2)
2007-10-10 14:51:32 -05:00
Rafal Szczesniak
c8151033bf r22346: Fix small mistake - after sending rpc request we should go to await
rpc result state instead of idle.

rafal
(This used to be commit 00098b6d55)
2007-10-10 14:51:06 -05:00
Rafal Szczesniak
c2d5d6d046 r22325: Typo fix
rafal
(This used to be commit 543bbb4e56)
2007-10-10 14:51:02 -05:00
Rafal Szczesniak
671d785c16 r22324: Another step closer to nice listing of user accounts.
rafal
(This used to be commit 3f717e7fc7)
2007-10-10 14:51:02 -05:00
Rafal Szczesniak
c0b76be62f r22136: Fix incorrect event handling.
Submitted by John Jorgensen <jorgensen.john@gmail.com>

rafal
(This used to be commit f12a7f223d)
2007-10-10 14:49:54 -05:00
Rafal Szczesniak
cd5745d378 r22005: Add more code (doesn't work at the moment) preparing a place for
listing user accounts.

rafal
(This used to be commit aac34f79d0)
2007-10-10 14:49:41 -05:00
Rafal Szczesniak
fe0d6a1553 r21852: Further work on initialising libnet context from netmgr.
rafal
(This used to be commit 2ee075605e)
2007-10-10 14:49:37 -05:00
Derrell Lipman
894555b0a7 r21810: - The height of a widget is in relation to its enclosing widget. Specifying a
height of 100% means that if the enclosing widget is 100 pixels high, this
  widget should be 100 pixels high.  If this widget is then placed someplace
  other than at the top of the enclosing widget, e.g. with top:20, the bottom
  of this widget will fall off the bottom of the enclosing widget.

  The normal way to solve this is to specify top and bottom attributes rather
  than top and height attributes.  Also, since widgets often look better if
  they don't extend all the way to the very bottom, specifying a bottom
  attribute equal to the top attribute typically has an appealing appearance.

  I've fixed the tree widget so it no longer falls off the bottom of the page.
(This used to be commit 44d5f5ec6d)
2007-10-10 14:49:30 -05:00
Derrell Lipman
0f08bc3ab5 r21809: - If the canvas is never initialized with the tree, the tree will never
appear.  Now that the finite state machine properly ignores events from
  widgets which are not handled, the initialization of the tree should be done
  when the module's canvas appears (i.e. just after the canvas has had the
  module's gui applied to it).
(This used to be commit ab620c9554)
2007-10-10 14:49:30 -05:00
Rafal Szczesniak
0816228a62 r21787: Add new module to the swat application.
rafal
(This used to be commit de0f7c42be)
2007-10-10 14:49:26 -05:00
Rafal Szczesniak
95c3927e2b r21786: My initial attempts in qooxdoo coding. Derrell, please take
a look and I'll have a lot of questions to you.

rafal
(This used to be commit d92604ebd2)
2007-10-10 14:49:25 -05:00
Simo Sorce
17c82f1d12 r21371: Ehmm I was reseting the wrong dataModel...
(This used to be commit 37484924bc)
2007-10-10 14:48:21 -05:00
Simo Sorce
48a75e18c9 r21367: Clear out the table with a deleted object contents after the record is deleted.
Could be confusing otherwise.
(This used to be commit 115a8658c6)
2007-10-10 14:48:21 -05:00
Simo Sorce
bc9939430e r21366: Until we have a schema enforcing module (which will make it
impossible to add object without an objectclass), we need to
use the default ldb search filter (an empty one), to retrieve
all objects, and all record contents.
(This used to be commit fab315bb8c)
2007-10-10 14:48:20 -05:00
Simo Sorce
be8a93a1d8 r21328: Ok, now we can successfully modify the ldb and refresh the tree
but ...
- we have a problem with removeAll() in ldbmodify
- we seem to not properly cactch errors, we always return a "success"
  alert even if the operation is not successful :(
(This used to be commit 8ed568ae10)
2007-10-10 14:48:13 -05:00
Derrell Lipman
cc3add596c r21304: - Get rid of the extra set of scroll bars in the tree. The tree never grows
or needs scroll bars; rather, it's internal areas within the tree widget
  that provide the scroll bars.  (The next version of TreeVirtual will prevent
  setting overflow to anything other than "hidden".)
(This used to be commit 2dc0748640)
2007-10-10 14:48:07 -05:00
Derrell Lipman
6ac408eef8 r21287: Improve user feedback. Cursor now changes to stopwatch during RPC and module loading.
(This used to be commit a6fc47eff3)
2007-10-10 14:45:00 -05:00
Derrell Lipman
7deea1aead r21285: - Add the new ResizeTableColumnModel and make use of it in TreeVirtual. This
allows the Ldb Browser tree to properly size itself upon initially appearing
  and upon window resizes.  There are still a few problems with it that I need
  to resolve, including an occasional set of double scrollbars, and making it
  resize the tree column when the splitter is resized.
(This used to be commit c3c93ad36a)
2007-10-10 14:44:59 -05:00
Simo Sorce
c58ab36d08 r21266: Add/Modify/Delete operations seem to work correctly now
Still no refresh, so the results may seem confusing
(This used to be commit 0cee51ca2e)
2007-10-10 14:44:56 -05:00
Simo Sorce
57a68c9317 r21252: Add operation works now, still to do mod and del ops
Need to implement tree refresh as well
(This used to be commit ed7e00e2a0)
2007-10-10 14:44:53 -05:00
Simo Sorce
f68a4f3d60 r21249: Now the ldif is generated correctly, but still rpc is not happy
(This used to be commit 3367f2fe69)
2007-10-10 14:44:53 -05:00
Derrell Lipman
2811e18da0 r21221: 'make build' should be the default target for us
(This used to be commit ca3b806070)
2007-10-10 14:44:48 -05:00
Derrell Lipman
352729583f r21220: enable 'make source' (and 'make') to work properly
(This used to be commit 341e12496c)
2007-10-10 14:44:48 -05:00
Derrell Lipman
d3eef7270d r21187: - Convert LdbBrowse to use TreeVirtual. This adds the following capabilities
that Simo asked for:

  * One can now open a branch without selecting the row.  The previously
    selected row (if any) remains selected.

  * Selecting a row does not automatically open the branch.  That can be done
    by either clicking on the open/close button or pressing Enter while that
    row is selected.

  * The entire tree can now be disabled.  In LdbBrowse, the fsm is configured
    to disable the tree during each remote procedure call, so that a pile of
    requests don't get queued during RPC.

  The most obvious flaw with TreeVirtual right now, is that the tree does not
  properly resize (or even initially size itself) to its container.  Fixing
  that is my next task.  It's actually a generic Table issue that people have
  been asking for for ages: having columns resize themselves automagically.
(This used to be commit 23a8b77763)
2007-10-10 14:44:44 -05:00
Derrell Lipman
0a5d888c24 r21168: - Step 2: Update swat for the latest qooxdoo version. The build now copies
only those icons which are actually used.  This means that instead of a few
  thousand files getting copied to /usr/local/samba/share/webapps (or
  wherever), the number is less than an order of magnitude fewer.  This should
  make Andrew happier yet.
(This used to be commit 754c4fe01f)
2007-10-10 14:44:39 -05:00
Simo Sorce
e587d7e2dd r21136: First attempt at implementing add/modify rpc calls.
The code does not work, but Derrell asked me to commit to analyze the problem.

Simo.
(This used to be commit 433591c430)
2007-10-10 14:44:32 -05:00
Simo Sorce
66fd3bccec r21126: Enhance the modal window so that it gets focus and just presing enter works.
Still I don't see the cursor :(

Swap -/+ buttons, you risk to delete an attribute by mistake when instead you want to add a new one,
and you might even not notice it.

Simo.
(This used to be commit afa61d5971)
2007-10-10 14:44:31 -05:00
Simo Sorce
11c9a98dc2 r21118: Looks a bit better ...
(This used to be commit e2d1f6d291)
2007-10-10 14:44:30 -05:00
Simo Sorce
0a4617bd9f r21095: Expose all naming contexts
(This used to be commit d25e828dbe)
2007-10-10 14:44:29 -05:00
Simo Sorce
be2ad3d8d4 r21065: The framework is complete (yes the gui layout still sucks but that will
be handled later)
next will be to build out the code to actually commit changes
(This used to be commit f0ddc50382)
2007-10-10 14:44:26 -05:00
Simo Sorce
de37adbf27 r21048: Start coding add/modify widgets.
Not functional yet.
(This used to be commit 9cd488cf57)
2007-10-10 14:44:25 -05:00
Derrell Lipman
926aed2c82 r20937: Update to latest Finite State Machine with properly-handled blocked events
(This used to be commit 98eeba919c)
2007-10-10 14:43:55 -05:00
Simo Sorce
7fba2dbf9a r20927: Remove leftovers
Add Docs
(This used to be commit 4bb77dd918)
2007-10-10 14:43:54 -05:00
Simo Sorce
dfb9407c96 r20926: Modify the classname as well
(This used to be commit 756935f412)
2007-10-10 14:43:54 -05:00
Simo Sorce
58110b8fd9 r20925: Rename file following naming qooxdoo's convention
(This used to be commit eca5d7f293)
2007-10-10 14:43:53 -05:00
Simo Sorce
00f77d9faf r20924: Change the way searches are performed, also change a bit the layouts
Derrel I am experimenting, let me know if you see anything really disgusting :)
(This used to be commit 702048f618)
2007-10-10 14:43:53 -05:00
Derrell Lipman
d657ae5b19 r20753: editorial change
(This used to be commit 261c383751)
2007-10-10 14:40:43 -05:00
Derrell Lipman
ee0ad11f76 r20752: There's no reason to wait 5 seconds before the first Status and Statistics
report is generated.  Upon "appear" events, set timer expiry to 0 seconds for
the first timeout.
(This used to be commit 7b98d6a77f)
2007-10-10 14:40:43 -05:00
Derrell Lipman
332cc82dd2 r20751: It's unlikely that even 1 in 1000 users of SWAT will be running IE. That not
withstanding, although many web sites ignore Gecko and work properly only when
accessed via IE, we should strive to a higher standard.

This check-in makes the Samba4 Web Application Framework work in IE as well.
(This used to be commit fed131747a)
2007-10-10 14:40:43 -05:00
Derrell Lipman
3e608a173e r20601: Web Application Framework
More testing revealed that this isn't yet bug-free...  Sigh.  One of these
days I'll start writing bug-free software...

- Status and Statistics timer wasn't always stopped properly when switching
  away from that module's display.  It seems silly to continue to update
  status and statistics when the page isn't being viewed.

- Single instance of the Login window was not accessible if one switched
  between modules.

- Upon return from a Session Timeout, we can retry the original RPC request,
  but it may fail due to information that was stored in the old session.  This
  was the case in the LDB Browser module, where the open database handle
  became gone with the session.  We now detect a Resource Not Found and
  re-open the database.
(This used to be commit 09a8292033)
2007-10-10 14:37:13 -05:00
Derrell Lipman
9639836022 r20600: Web Application Framework
- Add authentication.  The Web Application Framework can now be called
  directly and it will rqeuire authentication if required, and should re-query
  the user to log in when the session expires.

- General clean-up
(This used to be commit 27c5d7dca6)
2007-10-10 14:37:13 -05:00
Derrell Lipman
33009ef6ad r20574: reorganization of common modules
(This used to be commit 5075e00894)
2007-10-10 14:37:04 -05:00
Derrell Lipman
21664e91ab r20569: Web Application Framework
- Fix handling of predicates in finite state machine

- Make use of predicates to handle a specific PermissionDenied failure, vs
  some other generic failure

- Add JSON-RPC error constants
(This used to be commit 38ae9658cb)
2007-10-10 14:37:02 -05:00
Derrell Lipman
102e4840b3 r20559: Web Application Framework
- Disallow, for now, any ScriptTransport access.  A serious security issue has
  been described, and since we don't currently need it for anything, disable
  it completely.

- Continued clean-up towards implementing the common authentication code
(This used to be commit 07817a5489)
2007-10-10 14:36:56 -05:00
Derrell Lipman
9698b2c282 r20538: Web Application Framework
- correct an error message in the JSON-RPC server

- provide a common RPC request function

- make it easier to have multiple pending RPC requests.  this allows an
  application-specified request to return "not logged in"; authentication
  information to be requested and sent; and the original request to be
  reissued.

- in statistics module, if a time is provided as zero, leave it blank rather
  than displaying 1 Jan 1970.  this showed up in the last_used_at field in the
  SMB status report.

- clean up makefile: remove no-longer-used hard-coded path and install target;
  remove "chmod" and "nice" commands which were part of the original skeleton,
  since that is not deemed appropriate for samba makefiles
(This used to be commit 339ee73ce2)
2007-10-10 14:36:49 -05:00
Derrell Lipman
d0d846cd9b r20519: Web Application Framework
- No path given to web server means use old scripts (missed check-in)

- Build Web Application (qooxdoo stuff) from autogen.sh since python isn't
  available or is differently-configured on various build-farm machines

- Don't continually check in generated files

- Properly identify SWAT "Statistics" module as "Status and Statistics"
(This used to be commit 9d89b7663a)
2007-10-10 14:36:10 -05:00
Derrell Lipman
626bb8efb0 r20517: re-add cleaned-up webapps
(This used to be commit 5a3d6ad0b7)
2007-10-10 14:36:09 -05:00