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

38 Commits

Author SHA1 Message Date
Simo Sorce
b7bc13209f r7267: REMOTE_HOST is a better choice
(This used to be commit 41bae267e29614d300ec2505c927ab17ccbbe64f)
2007-10-10 13:17:34 -05:00
Simo Sorce
266c37e5dc r7238: Add pam auth support in swat
(This used to be commit 8a98572a3b5dba58181dc402dbebae5452656012)
2007-10-10 13:17:30 -05:00
Simo Sorce
9783b104e6 r7231: remove some old stuff
(This used to be commit 2e3316be9faf696fbb84e0a183de47418d7b9acd)
2007-10-10 13:17:29 -05:00
Deryck Hodge
2db5c6b1f8 r7171: Just learning my way around the new SWAT, and updating some
docs/specs in the menu...

Linking to XHTML specs since we're sending the pages as XHTML.
Also, added a link to CSS specs to go along with the CSS quick
reference card.
(This used to be commit 95337ad27bd0bb9bf45d03427eb7ec5422dca270)
2007-10-10 13:17:22 -05:00
Andrew Tridgell
d9c199a9f8 r7136: fixed a typo
(This used to be commit d0374ffc87da225dfe8e57d9c4ae859b288fc913)
2007-10-10 13:17:21 -05:00
Andrew Tridgell
ee21d32b25 r7134: a number of small changes to make the pages HTML compliant. The
builtin web validator in firefox sure is useful!
(This used to be commit aa43111aa5f9a183395ebd840d8f77867730ab23)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
580b5bb8ef r7132: - start a convention of making object constructors end in Obj, so we
now have FormObj(). This follows the style in the ejs manual

- make a new MenuObj object type, with a display_menu() to display
  it. This will make it easier to make different types of
  menus. Currently only veritical simple menus are supported.
(This used to be commit ac978d4124f773d872dd15205d90a41dcec8a38f)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
b8b680f3aa r7131: support sub-object arrays when displaying objects. This allows the ldb test to
correctly display multi-value attributes like objectClass
(This used to be commit 134f42655ed2e5e13dee25921b8cd4e1ca9a1396)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
a0986dd424 r7108: display a session expired message
(This used to be commit 3f87d53d6614b514f1725b09e9964629b91dbbcc)
2007-10-10 13:17:17 -05:00
Andrew Tridgell
419598e1d1 r7106: the web interface now works completely with or without cookies. If you have cookies
they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end.
(This used to be commit 104d47a7458ecf03c0d5f969eaf2a98346928679)
2007-10-10 13:17:17 -05:00
Andrew Tridgell
0d00eba376 r7105: fixed a typo
(This used to be commit 790f861538c490fab0ab1028cef6ae1797dd2c15)
2007-10-10 13:17:17 -05:00
Andrew Tridgell
b77ba6e4d4 r7101: moved favicon into images/
(This used to be commit df7280c5c814c3c86fad1d2b0286b865a1f37179)
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
e39bdcf930 r7099: make the password field a password field...
metze
(This used to be commit ad2d3991ba56d2779df66ff88ccbeb165ac23376)
2007-10-10 13:17:16 -05:00
Andrew Tridgell
9ab8ed3bab r7097: removed a debug line
(This used to be commit b45ddce5dd192d26a4799ae7f69cf236750fc09e)
2007-10-10 13:17:16 -05:00
Andrew Tridgell
69ed145260 r7096: added support for select lists in forms
(This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
2f055ca68b r7095: more html tidying
(This used to be commit 314bc44afe44ac6e9fcb194d54b8e1848adf94ed)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
1bf7a917b2 r7094: use the Form() object in a few more places
(This used to be commit 9b8546f92179dba826e7ca5ed009b24486ef7a2c)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
0f7314ea01 r7093: - added a new Form() ejs object for producing simple forms.
- tidied up the html generation a bit
(This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
3f4f393c98 r7092: added some js for formatting table results in a nicer fashion
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
11009ee2d7 r7091: added some more useful links
(This used to be commit d1d82686755e44ffd389114880a6ae2109595ccc)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
235789a25a r7090: added back in the showvars test
(This used to be commit 90b50ed983dd1d6aa4f80e38622d1e7dba13b49a)
2007-10-10 13:17:15 -05:00
Andrew Tridgell
575ebb4c7f r7089: ensure that headers['HOST'] is setup
(This used to be commit cb896a141a028ad386d92b0beb503af657a77813)
2007-10-10 13:17:14 -05:00
Andrew Tridgell
ca6b9f370b r7088: start on some real structure for the SWAT web pages
- this imports the basic css pages from samba.org

- i have created some useful ejs scripts in common.js that will be included by all pages

- added a real login page, and a logout button showing who you are logged in as

- added page_header() and page_footer() functions that take a page type, allowing
  for "plain" or "columms" pages

- added some simple menus on the left of the columns page type, with links to the esp
  tests and some useful links for samba4 developers
(This used to be commit 86d2ecf0f2a8de8abfdcc5f2aae7d4d969d19339)
2007-10-10 13:17:14 -05:00
Stefan Metzmacher
1cada76520 r7070: fix redirection when the client
doesn't send a 'Host' header

metze
(This used to be commit ccc4d51927eb1564c6f5de07dda83dd008bb8a9e)
2007-10-10 13:17:12 -05:00
Simo Sorce
26ced62131 r7058: Add experimenthal pam authentication for web pages
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10 13:17:10 -05:00
Andrew Tridgell
b1722f62bd r7056: added links to ejs and esp info pages
(This used to be commit 624c7a76e848a0fd8296fd7afceeb9f22c803b12)
2007-10-10 13:17:09 -05:00
Andrew Tridgell
2e315315e5 r7054: added a example script showing ldbSearch() usage
(This used to be commit 0fe835b16c8e8c4fbd801a447aca1f077934e84c)
2007-10-10 13:17:09 -05:00
Andrew Tridgell
15ca4bb558 r7044: vance is right that mixing http and https elements gives a warning in IE
(This used to be commit 5912cf2cd4405185fb40833d896c640c7d24a87a)
2007-10-10 13:17:08 -05:00
Andrew Tridgell
4979181861 r7019: - added esp call lpServices() which returns a list of services in smb.conf.
- added a test of lpServices() in the esptest scripts
(This used to be commit 94308d8fed7796ddfc32883a1c27ec8ebfff842d)
2007-10-10 13:17:07 -05:00
Andrew Tridgell
590f56d564 r7018: take advantage of the server[TLS_SUPPORT] variable to auto-redirect the home
page of swat to https:// if TLS is initialised OK
(This used to be commit 519bdcac966755b18990ec5382838b2130394daf)
2007-10-10 13:17:07 -05:00
Andrew Tridgell
5ad5d0fb43 r7015: use a scripting trick to force images to be sent with http instead of https, which
should make the server more responsive
(This used to be commit 814c3674f8e0aa20fb3ee3657173bab05d7f3ded)
2007-10-10 13:17:06 -05:00
Andrew Tridgell
96df7fcbf9 r7005: added a esp page to demonstrate exception handling
(This used to be commit 96c15646d2f29dd2839a2bab4b9e57bddfd2cee1)
2007-10-10 13:17:05 -05:00
Andrew Tridgell
da817b1550 r7003: added an example script for fetching smb.conf parameters from esp scripts
(This used to be commit a9f0caaaf3c72548e61311fe071c6158177bc7f4)
2007-10-10 13:17:04 -05:00
Andrew Tridgell
26a8394ee9 r6999: - renamed our html files to esp
- added a favicon.ico so bookmarks show a samba icon

- added a session.esp demonstration of session variables
(This used to be commit 092ffc733916f8091c8ff1e7a1306810e516d613)
2007-10-10 13:17:04 -05:00
Andrew Tridgell
74dda39226 r6989: - added support for esp style includes (which include a esp file, instead of a ejs file)
- added a test of esp style includes to the esptest html
(This used to be commit af3de9468ee5ba490c991901b7a4aa260c839876)
2007-10-10 13:17:03 -05:00
Andrew Tridgell
98046f0372 r6988: added a test of esp include() calls
(This used to be commit a1eb98722d935b838b2ffaf5d329456d655c7b78)
2007-10-10 13:17:02 -05:00
Andrew Tridgell
9f9b8aa8ea r6985: rearranged the directory structure so as to make it possible to support esp include() call
(This used to be commit d747b063393097c05ab1d2c0f78178f166eb6b92)
2007-10-10 13:17:02 -05:00
Andrew Tridgell
fd82bfce3d r6983: add some sample esp pages to demonstrate the use of some of the features of the server
side scripting language
(This used to be commit 519608bbf9c2a032261c00fce9a4f84eb73d1a9e)
2007-10-10 13:17:02 -05:00