summaryrefslogtreecommitdiff
path: root/webapps/swat
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-10r21287: Improve user feedback. Cursor now changes to stopwatch during RPC ↵Derrell Lipman2-1/+40
and module loading. (This used to be commit a6fc47eff3aa87b1dfe4eaf25719b51b24c88425)
2007-10-10r21285: - Add the new ResizeTableColumnModel and make use of it in ↵Derrell Lipman1-6/+0
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-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-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-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-10r20937: Update to latest Finite State Machine with properly-handled blocked ↵Derrell Lipman2-85/+129
events (This used to be commit 98eeba919c63e58782aedde45dd9e9b3e400baf8)
2007-10-10r20927: Remove leftoversSimo Sorce1-9/+18
Add Docs (This used to be commit 4bb77dd918b516efc3a9cd6b07adb47849e1ded7)
2007-10-10r20926: Modify the classname as wellSimo Sorce3-11/+15
(This used to be commit 756935f41255a741c63ddf86b99730891bfba8d7)
2007-10-10r20925: Rename file following naming qooxdoo's conventionSimo Sorce1-0/+0
(This used to be commit eca5d7f2935112841d467c8967f08a0b46512b0f)
2007-10-10r20924: Change the way searches are performed, also change a bit the layoutsSimo Sorce3-190/+182
Derrel I am experimenting, let me know if you see anything really disgusting :) (This used to be commit 702048f618d625c53201cd16a161b706435c44c2)
2007-10-10r20753: editorial changeDerrell Lipman1-1/+1
(This used to be commit 261c38375115565b2dc844a3ad7b03c1894a9265)
2007-10-10r20752: There's no reason to wait 5 seconds before the first Status and ↵Derrell Lipman1-4/+23
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-10r20751: It's unlikely that even 1 in 1000 users of SWAT will be running IE. ↵Derrell Lipman4-28/+9
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-10r20601: Web Application FrameworkDerrell Lipman4-27/+58
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-10r20600: Web Application FrameworkDerrell Lipman6-23/+398
- 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-10r20574: reorganization of common modulesDerrell Lipman13-66/+66
(This used to be commit 5075e008941177d5be1d9471387c9d27aba65f81)
2007-10-10r20569: Web Application FrameworkDerrell Lipman1-16/+152
- 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 38ae9658cb52149d66f910582d8b55fe954650fb)
2007-10-10r20559: Web Application FrameworkDerrell Lipman4-71/+67
- 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 07817a5489dd8cc6c85c10116f4dba43d798ef03)
2007-10-10r20538: Web Application FrameworkDerrell Lipman5-92/+174
- 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 339ee73ce2809905f608b1003cc645231f256420)
2007-10-10r20519: Web Application FrameworkDerrell Lipman1-1/+1
- 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 9d89b7663af218ee6ed941ac6c0597fab93cd03b)
2007-10-10r20517: re-add cleaned-up webappsDerrell Lipman16-0/+2931
(This used to be commit 5a3d6ad0b7cf0ecf8b57b4088b19f7d4291c990b)
2007-10-10r20515: Continued work on the Web Application Framework. Until we get all ↵Derrell Lipman16-2931/+0
of the functionality of the old scripts incorporated into the new framework, the old scripts need to still be available. I've reverted to having the old scripts be the default pages, and added an option to access the preview of the new SWAT. (This used to be commit b43620d4b8eff815f4a6dc02522a8dfc9fdcaef4)
2007-10-10r20444: WEB Application framework / SWAT.Derrell Lipman1-3/+3
We're now at the stage where the web application framework should build and install automatically. Derrell (This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10r20414: Start to make SWAT usable by others. This is just a start...Derrell Lipman16-0/+2931
(This used to be commit 26a34037a7ca6fbd05c5a6f7c2d5973e34bc6918)