Quentin Smith [Tue, 22 Sep 2009 03:41:51 +0000 (23:41 -0400)]
Ensure Kerberos tickets get passed to the ssh that ajaxterm spawns
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2764
Quentin Smith [Fri, 21 Aug 2009 20:57:56 +0000 (16:57 -0400)]
Handle control characters from Safari (they arrive pre-translated)
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2763
Quentin Smith [Fri, 21 Aug 2009 20:57:55 +0000 (16:57 -0400)]
Remove dependency on qweb framework
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2762
Quentin Smith [Fri, 21 Aug 2009 16:42:41 +0000 (12:42 -0400)]
Use browser-based dupe suppression, so multiple clients can connect to the same terminal and not miss updates
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2761
Eric Price [Fri, 21 Aug 2009 16:13:45 +0000 (12:13 -0400)]
Update focus rules to failback in safari
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2760
Eric Price [Fri, 21 Aug 2009 16:13:44 +0000 (12:13 -0400)]
disable GETting to post keyboards to ajaxterm
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2759
Eric Price [Fri, 21 Aug 2009 16:13:43 +0000 (12:13 -0400)]
Make ajaxterm only seize keypresses when focused.
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2758
Eric Price [Fri, 21 Aug 2009 16:13:43 +0000 (12:13 -0400)]
Clear stale fds out of cache in ajaxterm
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2757
Eric Price [Fri, 21 Aug 2009 16:13:42 +0000 (12:13 -0400)]
Fix race condition in ajaxterm
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2756
Quentin Smith [Fri, 14 Aug 2009 01:54:59 +0000 (21:54 -0400)]
Link to the web terminal page from the VM list for paravms
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2755
Quentin Smith [Thu, 13 Aug 2009 02:08:25 +0000 (22:08 -0400)]
Compress ajaxterm redraws with gzip, to reduce latency
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2754
Quentin Smith [Tue, 11 Aug 2009 05:15:07 +0000 (01:15 -0400)]
Allow reconnecting to the same terminal session
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2753
Quentin Smith [Tue, 11 Aug 2009 04:54:09 +0000 (00:54 -0400)]
ajaxterm!
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2752
Quentin Smith [Tue, 11 Aug 2009 04:54:08 +0000 (00:54 -0400)]
Add terminal page
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2751
Quentin Smith [Tue, 11 Aug 2009 04:54:08 +0000 (00:54 -0400)]
Allow pages to specify extra header elements
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2750
Quentin Smith [Tue, 11 Aug 2009 04:54:07 +0000 (00:54 -0400)]
Make ajaxterm play nicely with CherryPy
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2749
Quentin Smith [Tue, 11 Aug 2009 04:54:06 +0000 (00:54 -0400)]
Allow passing a different command for each ajaxterm invocation
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2748
Quentin Smith [Tue, 11 Aug 2009 03:40:26 +0000 (23:40 -0400)]
Import upstream ajaxterm 0.10
svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2747
Greg Price [Mon, 21 Dec 2009 05:35:57 +0000 (00:35 -0500)]
invirt.fcgi: Document wrapper scripts more explicitly.
svn path=/trunk/packages/invirt-web/; revision=2743
Greg Price [Mon, 21 Dec 2009 05:25:57 +0000 (00:25 -0500)]
Fix format string usage.
svn path=/trunk/packages/invirt-web/; revision=2742
Greg Price [Mon, 21 Dec 2009 05:22:22 +0000 (00:22 -0500)]
invirt.fcgi: fix usage message, simplify option-parsing logic
svn path=/trunk/packages/invirt-web/; revision=2741
Quentin Smith [Mon, 21 Dec 2009 05:14:15 +0000 (00:14 -0500)]
Merge auth.fcgi and unauth.fcgi fixes from the old branch
svn path=/trunk/packages/invirt-web/; revision=2740
Quentin Smith [Mon, 21 Dec 2009 05:05:15 +0000 (00:05 -0500)]
Properly separate the auth.fcgi and unauth.fcgi scripts
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2739
Evan Broder [Mon, 21 Dec 2009 04:27:10 +0000 (23:27 -0500)]
Merge cherrypy-rebased branch of invirt-web into trunk.
svn path=/trunk/packages/invirt-web/; revision=2737
Quentin Smith [Mon, 21 Dec 2009 04:07:23 +0000 (23:07 -0500)]
Add an icon to be shown when a VM is being installed
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2736
Greg Price [Mon, 21 Dec 2009 01:55:22 +0000 (20:55 -0500)]
Fix dumb mistakes in my r2655.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2734
Greg Price [Mon, 21 Dec 2009 01:26:02 +0000 (20:26 -0500)]
Deduplicate the code in auth.fcgi and unauth.fcgi
But call the reunited code "invirt.fcgi" rather than the old "main.fcgi",
which was always annoying for tab-completion against "main.py".
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2733
Evan Broder [Mon, 21 Dec 2009 00:49:32 +0000 (19:49 -0500)]
Don't calculate static_dir in the fcgi files - we no longer use it
there.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2732
Evan Broder [Mon, 21 Dec 2009 00:35:08 +0000 (19:35 -0500)]
Remove the "checkpoint" code for timing measurements.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2731
Evan Broder [Sun, 20 Dec 2009 22:26:48 +0000 (17:26 -0500)]
Setup hosting for static resources in the InvirtWeb and
InvirtUnauthWeb classes, instead of in the fcgi configuration.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2730
Evan Broder [Sun, 20 Dec 2009 22:20:19 +0000 (17:20 -0500)]
Use separate fcgi files for the authed and unauthed site.
This allows both of them to be mounted on / in their respective
CherryPy apps, which in turn eliminates any discrepancy between
"internal URLs" and "external URLs".
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2729
Evan Broder [Sun, 20 Dec 2009 21:03:12 +0000 (16:03 -0500)]
Fix the unauthenticated web interface.
Separate the separate components of the web app by the authenticated
webapp class at /auth and the unauthenticated app at /unauth.
These are purely internal URLs, but used to allow a single CherryPy
instance to serve both the authenticated and unauthenticated website.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2728
Evan Broder [Sun, 20 Dec 2009 03:41:33 +0000 (22:41 -0500)]
Punt some RewriteRules for deprecated URLs we no longer use.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2727
Greg Price [Sun, 20 Dec 2009 03:30:08 +0000 (22:30 -0500)]
command: recognize new "internal" name for delete
This fixes the bug where delete leads back to the now-broken info page.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2726
Greg Price [Sun, 20 Dec 2009 03:00:13 +0000 (22:00 -0500)]
Fill in changelog with the many things that changed.
I might still be missing something.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2725
Greg Price [Sun, 20 Dec 2009 03:00:10 +0000 (22:00 -0500)]
view.py: fix long lines
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2724
Greg Price [Sun, 20 Dec 2009 03:00:08 +0000 (22:00 -0500)]
view.py: double blank lines at toplevel
This is a style convention that makes it easier to see where one
definition ends and the next begins. It's particularly necessary
in this file, because it can separate the CherryPy glue associated
with one function from the unrelated function below it.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2723
Greg Price [Sun, 20 Dec 2009 03:00:06 +0000 (22:00 -0500)]
view.py: clean up remote_user_login
Remove dead code, and make the docstring clear about what the function is
actually doing.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2722
Greg Price [Sun, 20 Dec 2009 03:00:05 +0000 (22:00 -0500)]
view.py: fix a docstring
The first line of a docstring should be self-contained, followed by a
blank line if there is any more text. Just like a commit message.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2721
Greg Price [Sun, 20 Dec 2009 03:00:02 +0000 (22:00 -0500)]
main.py: small Python style improvement
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2720
Greg Price [Sun, 20 Dec 2009 02:59:59 +0000 (21:59 -0500)]
list.mako: map/lambda make Guido sad, use a comprehension
In Python jargon this is not actually a "comprehension", which is
reserved for list comprehensions, but a "generator expression".
Just in case someone cares.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2719
Greg Price [Sun, 20 Dec 2009 02:59:57 +0000 (21:59 -0500)]
info.mako: cut no-longer-used hidden field
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2718
Evan Broder [Wed, 16 Dec 2009 18:01:46 +0000 (13:01 -0500)]
Bump the version on the invirt-web package since we changed
invirt-cache-acls.
svn path=/trunk/packages/invirt-web/; revision=2611
Evan Broder [Tue, 8 Dec 2009 03:05:27 +0000 (22:05 -0500)]
Update the cherrypy branch to use authz.afs.cells instead of just
authz.cells, to stay in sync with r2590.
(Again, this isn't really a cherry-pick, but whatever)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2717
Evan Broder [Tue, 8 Dec 2009 02:33:43 +0000 (21:33 -0500)]
Store AFS cell configuration at authz.afs.cells instead of just
authz.cells, to be more clear about purpose.
svn path=/trunk/packages/invirt-web/; revision=2590
Evan Broder [Mon, 23 Nov 2009 02:02:31 +0000 (21:02 -0500)]
"Cherry-pick" r2557 (Re-arrange the authz configuration.) to the
cherrypy branch.
(It's somewhat tenuous to claim this is a cherry-pick, given that all
of the changes would have conflicted had I actually tried to
cherry-pick the change. Oh well)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2716
Evan Broder [Mon, 23 Nov 2009 01:54:11 +0000 (20:54 -0500)]
Re-arrange the authz configuration.
In particular, even if we allow for mixing of multiple authz
mechanisms at some point, you won't have multiple instances of the
locker authz type, so the "type" shouldn't be a property of each of
the cells we specify how to authenticate against.
svn path=/trunk/packages/invirt-web/; revision=2557
Quentin Smith [Thu, 29 Oct 2009 07:27:33 +0000 (03:27 -0400)]
Document MachineView.__getattr__
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2715
Quentin Smith [Thu, 29 Oct 2009 07:23:48 +0000 (03:23 -0400)]
Make changelog entries describe package changes, not packaging changes
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2714
Quentin Smith [Thu, 29 Oct 2009 07:18:05 +0000 (03:18 -0400)]
Clarify the operation of MakoHandler
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2713
Quentin Smith [Thu, 29 Oct 2009 06:12:01 +0000 (02:12 -0400)]
Revert "Replace weird username logic with the old logic."
This reverts r2519. The "weird username logic" is in fact correctly
implementing the documented CherryPy authentication API.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2712
Greg Price [Thu, 29 Oct 2009 06:03:29 +0000 (02:03 -0400)]
fix a syntax error from my r2526
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2711
Greg Price [Thu, 29 Oct 2009 05:36:44 +0000 (01:36 -0400)]
Restore explanatory comment on random.seed().
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2710
Greg Price [Thu, 29 Oct 2009 05:36:43 +0000 (01:36 -0400)]
style tweaks
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2709
Greg Price [Thu, 29 Oct 2009 05:36:43 +0000 (01:36 -0400)]
tighten a bit of code
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2708
Greg Price [Thu, 29 Oct 2009 05:36:42 +0000 (01:36 -0400)]
main.py: FieldStorage is history, so revert to sugared getitem.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2707
Greg Price [Thu, 29 Oct 2009 05:36:41 +0000 (01:36 -0400)]
fix super-long lines
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2706
Greg Price [Thu, 29 Oct 2009 05:36:40 +0000 (01:36 -0400)]
tighten a bit of code
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2705
Greg Price [Thu, 29 Oct 2009 05:36:39 +0000 (01:36 -0400)]
cut a leftover comment, fix a bit of spacing
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2704
Greg Price [Thu, 29 Oct 2009 05:36:38 +0000 (01:36 -0400)]
cut uninformative comment and blank line
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2703
Greg Price [Thu, 29 Oct 2009 05:36:37 +0000 (01:36 -0400)]
main.fcgi: usage, fix a bit of spacing
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2702
Greg Price [Thu, 29 Oct 2009 05:36:35 +0000 (01:36 -0400)]
small style fix
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2701
Greg Price [Thu, 29 Oct 2009 05:36:34 +0000 (01:36 -0400)]
Replace weird username logic with the old logic.
remote_user_login() was just like the old getUser(), but different
in puzzling ways.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2700
Greg Price [Thu, 29 Oct 2009 05:36:33 +0000 (01:36 -0400)]
style nit
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2699
Paul Weaver [Thu, 29 Oct 2009 03:01:43 +0000 (23:01 -0400)]
Removed useless method
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2698
Quentin Smith [Tue, 20 Oct 2009 04:53:01 +0000 (00:53 -0400)]
Remove unused external_remote_user_login function
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2697
Evan Broder [Tue, 29 Sep 2009 03:28:28 +0000 (23:28 -0400)]
Revert punting the "moocow" password in invirt-web and
invirt-vnc-client, since we can't change the VNC passwod of running
VMs.
This reverts parts of commit r2487
svn path=/trunk/packages/invirt-web/; revision=2492
Evan Broder [Tue, 29 Sep 2009 01:45:16 +0000 (21:45 -0400)]
Punt the "moocow" VNC password - it's dumb, and we already have our
own authentication mechanism (that uses real authentication).
This commit cherry-picks r2487.
Except for the part where the entire commit conflicted.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2696
Quentin Smith [Tue, 29 Sep 2009 19:52:40 +0000 (15:52 -0400)]
Remove unused template code
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2695
Quentin Smith [Tue, 29 Sep 2009 19:51:55 +0000 (15:51 -0400)]
Use contact address from config on error page
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2694
Evan Broder [Tue, 29 Sep 2009 01:26:38 +0000 (21:26 -0400)]
Punt the "moocow" VNC password - it's dumb, and we already have our
own authentication mechanism (that uses real authentication).
svn path=/trunk/packages/invirt-web/; revision=2487
Quentin Smith [Mon, 28 Sep 2009 07:04:33 +0000 (03:04 -0400)]
Full error handling
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2693
Quentin Smith [Mon, 28 Sep 2009 07:04:32 +0000 (03:04 -0400)]
Unauthenticated front page
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2692
Quentin Smith [Mon, 28 Sep 2009 04:58:53 +0000 (00:58 -0400)]
Make modify form work
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2691
Quentin Smith [Sun, 27 Sep 2009 23:55:09 +0000 (19:55 -0400)]
Implement administrator mode
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2690
Quentin Smith [Tue, 11 Aug 2009 03:40:27 +0000 (23:40 -0400)]
Update the errortest handler for cherrypy
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2689
Evan Broder [Mon, 10 Aug 2009 22:55:58 +0000 (18:55 -0400)]
Only aklog to a cell if encryption is actually needed.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2688
Quentin Smith [Mon, 10 Aug 2009 04:41:46 +0000 (00:41 -0400)]
Show installer status on the front page, and unbreak the autoinstall fields in validation logic
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2687
Quentin Smith [Mon, 10 Aug 2009 04:21:52 +0000 (00:21 -0400)]
Clarify that staff can receive Windows license keys from MIT
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2686
Quentin Smith [Mon, 10 Aug 2009 03:38:06 +0000 (23:38 -0400)]
Write handler for create form, and consolidate code to require POST into a CherryPy tool
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2685
Quentin Smith [Mon, 10 Aug 2009 01:07:28 +0000 (21:07 -0400)]
Make commands work from list and info pages
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2684
Quentin Smith [Mon, 10 Aug 2009 00:13:20 +0000 (20:13 -0400)]
Use RESTful URLs for commands
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2683
Evan Broder [Mon, 10 Aug 2009 00:08:33 +0000 (20:08 -0400)]
Translate newlines to break tags in the machine description.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2682
Quentin Smith [Sun, 9 Aug 2009 23:16:26 +0000 (19:16 -0400)]
Mount app on / regardless of whether it's fastcgi
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2681
Quentin Smith [Sun, 9 Aug 2009 23:16:25 +0000 (19:16 -0400)]
Port vnc page to Mako and CherryPy
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2680
Quentin Smith [Sun, 9 Aug 2009 22:45:36 +0000 (18:45 -0400)]
Remove calls to helppopup from outside templates
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2679
Quentin Smith [Sun, 9 Aug 2009 22:45:35 +0000 (18:45 -0400)]
Upgrade info page to Mako, and use REST-style URLs.
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2678
Quentin Smith [Sun, 9 Aug 2009 22:45:35 +0000 (18:45 -0400)]
Get username from cherrypy request object
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2677
Quentin Smith [Sun, 9 Aug 2009 22:45:34 +0000 (18:45 -0400)]
Implement help handler
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2676
Quentin Smith [Sun, 9 Aug 2009 22:45:33 +0000 (18:45 -0400)]
Show the cherrypy request object on the helloworld page
Add kwargs to helloworld for debugging purposes
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2675
Quentin Smith [Sun, 9 Aug 2009 22:45:30 +0000 (18:45 -0400)]
Use global imports for Mako templates
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2674
Quentin Smith [Sun, 9 Aug 2009 22:45:30 +0000 (18:45 -0400)]
Allow global imports to be specified for Mako templates
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2673
Quentin Smith [Sun, 9 Aug 2009 22:45:28 +0000 (18:45 -0400)]
Move the help popup code into the templates where it belongs
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2672
Quentin Smith [Sun, 9 Aug 2009 22:45:27 +0000 (18:45 -0400)]
Provide basic authentication on the development server
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2671
Quentin Smith [Sun, 9 Aug 2009 22:45:27 +0000 (18:45 -0400)]
Get login information from Apache, if available
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2670
Quentin Smith [Sun, 9 Aug 2009 22:45:26 +0000 (18:45 -0400)]
Get username and state from CherryPy request
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2669
Quentin Smith [Sun, 9 Aug 2009 22:45:25 +0000 (18:45 -0400)]
Port list to Mako
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2668
Quentin Smith [Sun, 9 Aug 2009 22:45:24 +0000 (18:45 -0400)]
Port functions to Mako
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2667
Quentin Smith [Sun, 9 Aug 2009 22:45:24 +0000 (18:45 -0400)]
skeleton and helloworld Mako templates
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2666
Quentin Smith [Sun, 9 Aug 2009 22:45:23 +0000 (18:45 -0400)]
Add list method, require authentication for it, and add a hello world via mako
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2665