1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

30 Commits

Author SHA1 Message Date
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
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 38ae9658cb52149d66f910582d8b55fe954650fb)
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 07817a5489dd8cc6c85c10116f4dba43d798ef03)
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 339ee73ce2809905f608b1003cc645231f256420)
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 9d89b7663af218ee6ed941ac6c0597fab93cd03b)
2007-10-10 14:36:10 -05:00
Derrell Lipman
eab632c31e r20518: reapply finite state machine mods which got lost in the webapps remove/restore process
(This used to be commit 1d867863b64fb39aedbf713f7f3dd17948b433ef)
2007-10-10 14:36:10 -05:00
Derrell Lipman
626bb8efb0 r20517: re-add cleaned-up webapps
(This used to be commit 5a3d6ad0b7cf0ecf8b57b4088b19f7d4291c990b)
2007-10-10 14:36:09 -05:00
Derrell Lipman
eeddcf8cc8 r20516: svn gets royally screwed up when renaming or relocating files. attempt to correct.
(This used to be commit efffee706d62a4260b2d9782b19a9df1971dddb2)
2007-10-10 14:36:07 -05:00
Derrell Lipman
2e7c59c244 r20515: Continued work on the Web Application Framework. Until we get all 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-10 14:36:06 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
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-10 14:30:39 -05:00
Derrell Lipman
1170417cee r20414: Start to make SWAT usable by others. This is just a start...
(This used to be commit 26a34037a7ca6fbd05c5a6f7c2d5973e34bc6918)
2007-10-10 14:30:29 -05:00