summaryrefslogtreecommitdiff
path: root/webapps
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23994: Finish my work to ensure that non-root and non-administrator usersAndrew Bartlett4-166/+193
cannot vampire, provision or upgrade a Samba4 server via SWAT. (The previous commit was an accident, and not complete). This should get Samba4 closer to being 'secure' for an alpha release. Andrew Bartlett (This used to be commit 3b6695de36bcea8a76001c9a5585eac871646450)
2007-10-10r23966: It isn't great, but at least now we have some access control in SWATAndrew Bartlett2-50/+62
This patch prevents non-root and non-administrator users from running the provision, upgrade and vampire pages. *I think* the rest of SWAT is LDB operations, or otherwise authenticated, so we should now be secure. I wish I had a better way to 'prove' we got this right, but this is better than nothing, and moves us closer to an alpha. Andrew Bartlett (This used to be commit d61061052dc4711f886199e49bc303002c8f9b11)
2007-10-10r23351: Merge from SAMBA_4_0_RELEASE:Andrew Bartlett1-2/+2
Fix a nasty issue we had with SWAT. We could not provision into a different domain, as we didn't re-calcuate the DOMAINDN after the user changed it in the form. Andrew Bartlett (This used to be commit 430c998dc9ea41ea29cf184d03404b50ef14f78d)
2007-10-10r23325: Remove items from menu that have been removed from SVN long ago, withAndrew Bartlett1-10/+0
the start of the transition to the new SWAT. Andrew Bartlett (This used to be commit 96df61e3a8824c02dda5b46a4e48d2af30391d29)
2007-10-10r23286: In SWAT, it was not possible to use a domain name other than the ↵Andrew Bartlett1-0/+3
default. Fix this in the same way the setup/provision script does. Andrew Bartlett (This used to be commit bed522df4bd976851ad983e8af3946c7bb7bcd4f)
2007-10-10r22501: dispatching events explicitly is not necessary.Rafal Szczesniak2-2/+0
rafal (This used to be commit 01b1b2b36b05b49a34becbbd20bb4abdc0e86d1e)
2007-10-10r22500: there's a better way to find out if there are any childrenRafal Szczesniak1-2/+2
rafal (This used to be commit ebc67bc0ae71662e9adef23838a8c7b632bf4ea2)
2007-10-10r22499: UsrCtx should be created within UsersView. Tree widget justRafal Szczesniak3-18/+90
opens it and passes the domain name(s) to operate on (selectable via combo box). rafal (This used to be commit c438284adf17faff2cd76d14c9de252e995166bd)
2007-10-10r22487: Add a separate widget class for listing users and repositionRafal Szczesniak2-35/+83
things on NetManager's screen. Qooxdoo layout positioning can be tricky sometimes... rafal (This used to be commit 3face29cc2a69b456b78f2384e1b306417b6817d)
2007-10-10r22346: Fix small mistake - after sending rpc request we should go to awaitRafal Szczesniak1-1/+1
rpc result state instead of idle. rafal (This used to be commit 00098b6d554d54c5a13b5a58a8b0372239c4c985)
2007-10-10r22325: Typo fixRafal Szczesniak1-1/+1
rafal (This used to be commit 543bbb4e5603a1941e63458bbf7b8476e7a7d304)
2007-10-10r22324: Another step closer to nice listing of user accounts.Rafal Szczesniak2-24/+185
rafal (This used to be commit 3f717e7fc7b0876de01cac375ef3151700066e0d)
2007-10-10r22136: Fix incorrect event handling.Rafal Szczesniak2-4/+10
Submitted by John Jorgensen <jorgensen.john@gmail.com> rafal (This used to be commit f12a7f223dbd6e744df85308098a093b4e48cadb)
2007-10-10r22005: Add more code (doesn't work at the moment) preparing a place forRafal Szczesniak2-34/+81
listing user accounts. rafal (This used to be commit aac34f79d05654d094c8d91ad8e8b7f8e17710d6)
2007-10-10r21852: Further work on initialising libnet context from netmgr.Rafal Szczesniak2-14/+69
rafal (This used to be commit 2ee075605e54813ebdae20995deb0e090faa5a9a)
2007-10-10r21810: - The height of a widget is in relation to its enclosing widget. ↵Derrell Lipman1-1/+1
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-10r21809: - If the canvas is never initialized with the tree, the tree will neverDerrell Lipman1-3/+3
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-10r21808: - Fix a nasty bug in the finite state machine that allowed an event ↵Derrell Lipman1-2/+21
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-10r21787: Add new module to the swat application.Rafal Szczesniak1-0/+4
rafal (This used to be commit de0f7c42be10d87dd9e5f230bb8e708dfb4b740b)
2007-10-10r21786: My initial attempts in qooxdoo coding. Derrell, please takeRafal Szczesniak3-0/+261
a look and I'll have a lot of questions to you. rafal (This used to be commit d92604ebd2f9d8d2d0a8883c193110780102912f)
2007-10-10r21371: Ehmm I was reseting the wrong dataModel...Simo Sorce1-1/+3
(This used to be commit 37484924bcf7a5a0cacafeefa060a56038000ef8)
2007-10-10r21367: Clear out the table with a deleted object contents after the record ↵Simo Sorce1-2/+5
is deleted. Could be confusing otherwise. (This used to be commit 115a8658c647df1fdc8a38e555412e559065b890)
2007-10-10r21366: Until we have a schema enforcing module (which will make itSimo Sorce1-2/+2
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-10r21328: Ok, now we can successfully modify the ldb and refresh the treeSimo Sorce2-31/+56
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-10r21326: get rid of old qooxdoo version.Derrell Lipman2493-247923/+0
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
2007-10-10r21325: delete children in reverse order since the array is manipulated ↵Derrell Lipman1-1/+1
during the recursive delete (This used to be commit 4ee68f55da5446ebd44173bd2f67056cd6502e1b)
2007-10-10r21321: - Allow pruning all of the children of a node without removing the nodeDerrell Lipman2-17/+24
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-10r21304: - Get rid of the extra set of scroll bars in the tree. The tree ↵Derrell Lipman1-1/+1
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-10r21297: Remove the GTK+ tools and library from the main repository. They are ↵Jelmer Vernooij1-75/+75
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-10r21287: Improve user feedback. Cursor now changes to stopwatch during RPC ↵Derrell Lipman3-2/+41
and module loading. (This used to be commit a6fc47eff3aa87b1dfe4eaf25719b51b24c88425)
2007-10-10r21286: Tree column now resizes wiith splitter adjustment, but scrollbars ↵Derrell Lipman4-18/+24
don't yet update properly (This used to be commit a66b64026a5d80a1e16b2fc9665143512975a53e)
2007-10-10r21285: - Add the new ResizeTableColumnModel and make use of it in ↵Derrell Lipman7-31/+1131
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-10r21266: Add/Modify/Delete operations seem to work correctly nowSimo Sorce3-62/+269
Still no refresh, so the results may seem confusing (This used to be commit 0cee51ca2e81c3119a9f428b22909baf0c4535e8)
2007-10-10r21252: Add operation works now, still to do mod and del opsSimo Sorce3-70/+106
Need to implement tree refresh as well (This used to be commit ed7e00e2a0ab2d2254959f53f7a4f661f9a4c1b3)
2007-10-10r21249: Now the ldif is generated correctly, but still rpc is not happySimo Sorce1-4/+6
(This used to be commit 3367f2fe69b8d2c3abad8718991378986d2d85dd)
2007-10-10r21248: - Test for Simo: no change of selected row(s) upon open/close click. ↵Derrell Lipman1-0/+2
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-10r21221: 'make build' should be the default target for usDerrell Lipman1-2/+7
(This used to be commit ca3b806070b924a455954cdfe124d726b38da87a)
2007-10-10r21220: enable 'make source' (and 'make') to work properlyDerrell Lipman1-1/+2
(This used to be commit 341e12496ced6f3b0f110be7465538d4548b1b46)
2007-10-10r21187: - Convert LdbBrowse to use TreeVirtual. This adds the following ↵Derrell Lipman2-82/+98
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-10r21185: Fix PNG images in TreeVirtual, for when using IEDerrell Lipman1-2/+8
(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)
2007-10-10r21169: - Step 3: Upgrade qooxdoo release code with latest qooxdoo svn's ↵Derrell Lipman15-498/+1303
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-10r21168: - Step 2: Update swat for the latest qooxdoo version. The build now ↵Derrell Lipman16-247/+107
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-10r21167: - Upgrade to latest released qooxdoo. This is step 1 of the upgrade ↵Derrell Lipman1690-0/+179278
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-10r21136: First attempt at implementing add/modify rpc calls.Simo Sorce3-6/+83
The code does not work, but Derrell asked me to commit to analyze the problem. Simo. (This used to be commit 433591c430891fd5f0859fe3b685287b4fb166e5)
2007-10-10r21126: Enhance the modal window so that it gets focus and just presing ↵Simo Sorce1-42/+57
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-10r21118: Looks a bit better ...Simo Sorce1-13/+26
(This used to be commit e2d1f6d291602d56011c7099485ecd1a5767fca5)
2007-10-10r21095: Expose all naming contextsSimo Sorce2-23/+53
(This used to be commit d25e828dbe479347894b197c94199c5540ac34e5)
2007-10-10r21065: The framework is complete (yes the gui layout still sucks but that willSimo Sorce2-4/+88
be handled later) next will be to build out the code to actually commit changes (This used to be commit f0ddc503820aeec3557fe8d80b31c971fae7cdc1)
2007-10-10r21048: Start coding add/modify widgets.Simo Sorce2-15/+313
Not functional yet. (This used to be commit 9cd488cf576929a51ec993fc61a215081fcedc29)
2007-10-10r21008: We added a new argument to the provision() function, but I forgot toAndrew Bartlett2-2/+2
update SWAT. Andrew Bartlett (This used to be commit b3fdbfbe812e61319a62fe9158d4c0fa70e7c25b)