1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

60 Commits

Author SHA1 Message Date
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 aac34f79d05654d094c8d91ad8e8b7f8e17710d6)
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 2ee075605e54813ebdae20995deb0e090faa5a9a)
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 44d5f5ec6db76c981f94e7322f82592e5d85be9f)
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 ab620c9554642f1289d6d0136fb104e475f22316)
2007-10-10 14:49:30 -05:00
Derrell Lipman
3330a53acc r21808: - Fix a nasty bug in the finite state machine that allowed an event from a
non-handled widget to be processed as if the event originated from a handled
  widget.  This was allowing the appear event for the module's canvas in
  Mimir's Net Manager (an event which was not handled) to load the tree,
  followed by the tree appear event (intended to be handled, albeit
  incorrectly -- see subsequent check-in of Mimir's Fsm.js) to again load the
  tree, thus the double entry.

  Wow, the above paragraph is really hard to read. :-)
(This used to be commit 512dc61e846669311b1605c6c4e1b49241c1c8be)
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 de0f7c42be10d87dd9e5f230bb8e708dfb4b740b)
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 d92604ebd2f9d8d2d0a8883c193110780102912f)
2007-10-10 14:49:25 -05:00
Simo Sorce
17c82f1d12 r21371: Ehmm I was reseting the wrong dataModel...
(This used to be commit 37484924bcf7a5a0cacafeefa060a56038000ef8)
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 115a8658c647df1fdc8a38e555412e559065b890)
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 fab315bb8cf00d2df6276c4dece05e1644a210bf)
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 8ed568ae10e9068874c90058b9777658f1e58df5)
2007-10-10 14:48:13 -05:00
Derrell Lipman
b79bf06232 r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
2007-10-10 14:48:12 -05:00
Derrell Lipman
ecfbc670c2 r21325: delete children in reverse order since the array is manipulated during the recursive delete
(This used to be commit 4ee68f55da5446ebd44173bd2f67056cd6502e1b)
2007-10-10 14:48:11 -05:00
Derrell Lipman
ad2f5649dd r21321: - Allow pruning all of the children of a node without removing the node
itself.

- By default, create only one meta column if only the tree is displayed.  If
  additional columns are displayed, then put all of them in a separate meta
  column, and the tree in the first meta column by itself.
(This used to be commit 6c86cd416b64e97071f6bbd2d63f33a950a28ec0)
2007-10-10 14:48:10 -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 2dc07486405967dfa74fc6f4a6586fb9da8e5ed7)
2007-10-10 14:48:07 -05:00
Jelmer Vernooij
97416e6b01 r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
(This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
2007-10-10 14:48:04 -05:00
Derrell Lipman
6ac408eef8 r21287: Improve user feedback. Cursor now changes to stopwatch during RPC and module loading.
(This used to be commit a6fc47eff3aa87b1dfe4eaf25719b51b24c88425)
2007-10-10 14:45:00 -05:00
Derrell Lipman
cb89806824 r21286: Tree column now resizes wiith splitter adjustment, but scrollbars don't yet update properly
(This used to be commit a66b64026a5d80a1e16b2fc9665143512975a53e)
2007-10-10 14:44:59 -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 c3c93ad36a9e850865aa8b09e319a77441243b01)
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 0cee51ca2e81c3119a9f428b22909baf0c4535e8)
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 ed7e00e2a0ab2d2254959f53f7a4f661f9a4c1b3)
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 3367f2fe69b8d2c3abad8718991378986d2d85dd)
2007-10-10 14:44:53 -05:00
Derrell Lipman
cce1a4d323 r21248: - Test for Simo: no change of selected row(s) upon open/close click. Simo,
I haven't done any testing of this.  Please let me know the side effects, if
  any, of this change.
(This used to be commit c3c3030a7d9a9f6a67c09f1b260ea0589638c0a5)
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 ca3b806070b924a455954cdfe124d726b38da87a)
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 341e12496ced6f3b0f110be7465538d4548b1b46)
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 23a8b777638f7f40d95e125de97d077ae964e796)
2007-10-10 14:44:44 -05:00
Derrell Lipman
3798666804 r21185: Fix PNG images in TreeVirtual, for when using IE
(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)
2007-10-10 14:44:44 -05:00
Derrell Lipman
a45ea9069c r21169: - Step 3: Upgrade qooxdoo release code with latest qooxdoo svn's Table and
TreeVirtual.  The TreeVirtual that was in the release was a very early
  pre-release, and had a number of problems and missing features.  This brings
  it up-to-date and provides what seems to be a pretty well-working and highly
  useful widget.
(This used to be commit 194880f1ffde7f01997c120136854acd145189e9)
2007-10-10 14:44:39 -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 754c4fe01f91ecdbf156c757804118ef301bffe3)
2007-10-10 14:44:39 -05:00
Derrell Lipman
ef256c9580 r21167: - Upgrade to latest released qooxdoo. This is step 1 of the upgrade process,
which involves adding the latest SDK.  This new version has not 2, but 4
  icon themes.  In order to quiet Andrew B. who thinks that 9000+ files in a
  gui api is too many (come on, disk space is free these days :-), I have
  removed 3 of the 4 icon themes, leaving only the default, Nuvola.  That
  lowers the file count by 1/3.  I'm sure Andrew still isn't happy, but I hope
  he's a bit happier...  Step 2 will make him happier yet.
(This used to be commit d161c1382c36238105b85d0499d5a1011f580f52)
2007-10-10 14:44:34 -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 433591c430891fd5f0859fe3b685287b4fb166e5)
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 afa61d59714686ceef1e33c46e8b504d5030eb10)
2007-10-10 14:44:31 -05:00
Simo Sorce
11c9a98dc2 r21118: Looks a bit better ...
(This used to be commit e2d1f6d291602d56011c7099485ecd1a5767fca5)
2007-10-10 14:44:30 -05:00
Simo Sorce
0a4617bd9f r21095: Expose all naming contexts
(This used to be commit d25e828dbe479347894b197c94199c5540ac34e5)
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 f0ddc503820aeec3557fe8d80b31c971fae7cdc1)
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 9cd488cf576929a51ec993fc61a215081fcedc29)
2007-10-10 14:44:25 -05:00
Andrew Bartlett
11ba614ebb r21008: We added a new argument to the provision() function, but I forgot to
update SWAT.

Andrew Bartlett
(This used to be commit b3fdbfbe812e61319a62fe9158d4c0fa70e7c25b)
2007-10-10 14:44:20 -05:00
Derrell Lipman
926aed2c82 r20937: Update to latest Finite State Machine with properly-handled blocked events
(This used to be commit 98eeba919c63e58782aedde45dd9e9b3e400baf8)
2007-10-10 14:43:55 -05:00
Simo Sorce
7fba2dbf9a r20927: Remove leftovers
Add Docs
(This used to be commit 4bb77dd918b516efc3a9cd6b07adb47849e1ded7)
2007-10-10 14:43:54 -05:00
Simo Sorce
dfb9407c96 r20926: Modify the classname as well
(This used to be commit 756935f41255a741c63ddf86b99730891bfba8d7)
2007-10-10 14:43:54 -05:00
Simo Sorce
58110b8fd9 r20925: Rename file following naming qooxdoo's convention
(This used to be commit eca5d7f2935112841d467c8967f08a0b46512b0f)
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 702048f618d625c53201cd16a161b706435c44c2)
2007-10-10 14:43:53 -05:00
Derrell Lipman
d657ae5b19 r20753: editorial change
(This used to be commit 261c38375115565b2dc844a3ad7b03c1894a9265)
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 7b98d6a77f02c2dc145630b0cf9e8bb6a1b25c92)
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 fed131747a8a8f7c3ff2db1fe78d2e198b996073)
2007-10-10 14:40:43 -05:00
Derrell Lipman
2c5a1e6bdd r20723: Web Application Framework
- Clearly no one has ever tried to obtain the Referer from the web server
  before. :-)

- Send the Referer from the web application, in preparation for later security
  updates.  (These updates are not immediately necessary, as ScriptTransport
  is disabled and we check the content type on XmlHttpTransport.  This isn't
  anything to worry about.)
(This used to be commit 33c07f4b92ac349af85dff11e24111fb16d201d0)
2007-10-10 14:40:31 -05:00
Simo Sorce
f1c81fdecd r20689: "pdc" and "bdc" have been replaced by "domain controller"
(This used to be commit 6976f283fc30a401bcc1d2c5089135c3fe8f1728)
2007-10-10 14:40:23 -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 09a82920336d1502c204725a4b518a1fa4a0d68d)
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 27c5d7dca6fa4e0811c1b8bb52d1db3d1824462c)
2007-10-10 14:37:13 -05:00
Derrell Lipman
33009ef6ad r20574: reorganization of common modules
(This used to be commit 5075e008941177d5be1d9471387c9d27aba65f81)
2007-10-10 14:37:04 -05:00