Joshua Oreman [Sun, 8 May 2011 02:18:48 +0000 (22:18 -0400)]
Require invirt-web POSTs to have proper referers
Quentin Smith [Sun, 23 Jan 2011 02:27:14 +0000 (21:27 -0500)]
Add support for amd64 and i386 squeeze autoinstalls.
Quentin Smith [Wed, 29 Dec 2010 17:47:30 +0000 (12:47 -0500)]
Show a label for the CPU graph
Quentin Smith [Wed, 29 Dec 2010 07:23:20 +0000 (02:23 -0500)]
Show historical domain CPU usage if available.
Quentin Smith [Tue, 28 Dec 2010 07:02:41 +0000 (02:02 -0500)]
Add support for amd64 debathena lucid autoinstalls.
Quentin Smith [Mon, 27 Dec 2010 19:17:43 +0000 (14:17 -0500)]
Add lucid autoinstalls
Quentin Smith [Mon, 27 Dec 2010 05:31:53 +0000 (00:31 -0500)]
Support debian-installer based preseeded installations
Joshua Oreman [Mon, 18 Oct 2010 18:50:59 +0000 (14:50 -0400)]
Reenable VM creation until we can get it properly dependent on disk space available
Peter Iannucci [Tue, 5 Oct 2010 00:55:13 +0000 (20:55 -0400)]
Adds support for conditionally disabling VM creation.
Greg Brockman [Thu, 26 Aug 2010 05:05:00 +0000 (01:05 -0400)]
Use expandOwner/expandAdmin rather than removed expandLocker
Andrew M. Farrell [Wed, 25 Aug 2010 05:07:31 +0000 (01:07 -0400)]
Rename code/ to /var/www/invirt-web/ in binary-fixup
Remove git checkout steps. Do not symlink /var/www/invirt-web/ to
code/ .
Greg Brockman [Mon, 23 Aug 2010 19:06:13 +0000 (15:06 -0400)]
Checkout the current HEAD when building
Greg Brockman [Thu, 5 Aug 2010 03:25:39 +0000 (23:25 -0400)]
Add gitweb configuration
Greg Brockman [Thu, 5 Aug 2010 03:20:35 +0000 (23:20 -0400)]
Switch from svn to git
Greg Brockman [Thu, 5 Aug 2010 02:36:04 +0000 (22:36 -0400)]
Remove crufty invirt-web-iptables files
Quentin Smith [Sun, 27 Jun 2010 00:33:53 +0000 (20:33 -0400)]
Allow partial success when modifying a VM, so the database will more likely match reality
svn path=/trunk/packages/invirt-web/; revision=3027
Anders Kaseorg [Mon, 17 May 2010 03:56:26 +0000 (23:56 -0400)]
Don’t double-escape the helppopup subject.
svn path=/trunk/packages/invirt-web/; revision=3004
Evan Broder [Sun, 21 Feb 2010 05:55:52 +0000 (00:55 -0500)]
Clear all objects from the SQLAlchemy session at the start of each request.
The SA identity mapper isn't *supposed* to be a cache, but it sure can
act like one sometimes.
svn path=/trunk/packages/invirt-web/; revision=2993
Peter Iannucci [Mon, 1 Feb 2010 20:47:14 +0000 (15:47 -0500)]
Made cache_acls use invirt.authz.
svn path=/trunk/packages/invirt-web/; revision=2981
Quentin Smith [Mon, 1 Feb 2010 04:45:01 +0000 (23:45 -0500)]
Work around quirk of CherryPy dispatching that causes username munging to not happen by the time dispatching happens
svn path=/trunk/packages/invirt-web/; revision=2979
Quentin Smith [Thu, 21 Jan 2010 08:06:28 +0000 (03:06 -0500)]
Put the MOTD at /etc/invirt/motd.html and parse it as HTML
svn path=/trunk/packages/invirt-web/; revision=2910
Greg Brockman [Tue, 19 Jan 2010 06:32:22 +0000 (01:32 -0500)]
Removed nonexistance makefile target and redundant ch{mod,gp}ing
svn path=/trunk/packages/invirt-web/; revision=2909
Paul Weaver [Tue, 19 Jan 2010 00:50:07 +0000 (19:50 -0500)]
Cleared up cert language
svn path=/trunk/packages/invirt-web/; revision=2907
Evan Broder [Thu, 14 Jan 2010 19:35:11 +0000 (14:35 -0500)]
Cleanup the invirt-web iptables so that what their doing is clearer.
svn path=/trunk/packages/invirt-web/; revision=2874
Paul Weaver [Mon, 11 Jan 2010 21:57:39 +0000 (16:57 -0500)]
Added service message to https, modified cert line
svn path=/trunk/packages/invirt-web/; revision=2871
Evan Broder [Sun, 3 Jan 2010 21:43:08 +0000 (16:43 -0500)]
Merge invirt-web-iptables into invirt-web and use the new
invirt-iptables interface.
svn path=/trunk/packages/invirt-web/; revision=2863
Evan Broder [Wed, 30 Dec 2009 20:55:42 +0000 (15:55 -0500)]
Fix modifying powered-on machines.
svn path=/trunk/packages/invirt-web/; revision=2815
Paul Weaver [Wed, 30 Dec 2009 20:42:23 +0000 (15:42 -0500)]
Moved all code for service messages to unauth.make
svn path=/trunk/packages/invirt-web/; revision=2814
Paul Weaver [Wed, 30 Dec 2009 20:26:18 +0000 (15:26 -0500)]
changed <table> to <div>
svn path=/trunk/packages/invirt-web/; revision=2812
Paul Weaver [Wed, 30 Dec 2009 20:24:27 +0000 (15:24 -0500)]
Fixed some style errors
svn path=/trunk/packages/invirt-web/; revision=2811
Paul Weaver [Wed, 30 Dec 2009 20:18:56 +0000 (15:18 -0500)]
Added some code to display a service message from the xvm team to the unauth page of the website. The message lives in /etc/invirt/message, which would be symlinked to afs
svn path=/trunk/packages/invirt-web/; revision=2810
Paul Weaver [Wed, 30 Dec 2009 08:27:22 +0000 (03:27 -0500)]
made link to auth using Personal Certificates more clear
svn path=/trunk/packages/invirt-web/; revision=2808
Paul Weaver [Wed, 30 Dec 2009 07:46:54 +0000 (02:46 -0500)]
Added a like for kerberos authentication for the website
svn path=/trunk/packages/invirt-web/; revision=2807
Evan Broder [Mon, 28 Dec 2009 19:15:30 +0000 (14:15 -0500)]
Stylize the results box a bit more so it's more visible.
svn path=/trunk/packages/invirt-web/; revision=2804
Evan Broder [Mon, 28 Dec 2009 19:03:33 +0000 (14:03 -0500)]
Add more user-friendly error handling for common errors, so they don't
send us e-mail. (LP: #307296)
svn path=/trunk/packages/invirt-web/; revision=2803
Quentin Smith [Mon, 28 Dec 2009 01:17:03 +0000 (20:17 -0500)]
There's two trs
svn path=/trunk/packages/invirt-web/; revision=2797
Quentin Smith [Mon, 28 Dec 2009 01:13:29 +0000 (20:13 -0500)]
Don't use JavaScript to stripe rows
svn path=/trunk/packages/invirt-web/; revision=2796
Evan Broder [Mon, 28 Dec 2009 00:49:17 +0000 (19:49 -0500)]
Adjust the Makefile shipped with the website to kill invirt.fcgi,
instead of main.fcgi.
svn path=/trunk/packages/invirt-web/; revision=2795
Evan Broder [Mon, 28 Dec 2009 00:25:09 +0000 (19:25 -0500)]
Add label tags to group <input> tags with their labels. Also add
missing </td> tags.
svn path=/trunk/packages/invirt-web/; revision=2794
Evan Broder [Sun, 27 Dec 2009 17:29:17 +0000 (12:29 -0500)]
Nuke an extra </form> tag.
svn path=/trunk/packages/invirt-web/; revision=2793
Evan Broder [Sun, 27 Dec 2009 17:29:13 +0000 (12:29 -0500)]
The <input /> tag is always empty, so having a separate closing
</input> tag is meaningless.
svn path=/trunk/packages/invirt-web/; revision=2792
Evan Broder [Sun, 27 Dec 2009 17:21:07 +0000 (12:21 -0500)]
Don't escape a string in one of the Mako templates.
svn path=/trunk/packages/invirt-web/; revision=2791
Evan Broder [Sun, 27 Dec 2009 17:21:03 +0000 (12:21 -0500)]
Don't over-escape Javascript in the web templates.
$ doesn't need to be escaped in Mako templates when it's followed by
an open parenthesis.
svn path=/trunk/packages/invirt-web/; revision=2790
Evan Broder [Mon, 21 Dec 2009 18:10:57 +0000 (13:10 -0500)]
Do some config cleanup in invirt-web.
svn path=/trunk/packages/invirt-web/; revision=2765
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