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
Quentin Smith [Sun, 9 Aug 2009 22:45:22 +0000 (18:45 -0400)]
Connect to the database on init
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2664
Quentin Smith [Sun, 9 Aug 2009 22:45:21 +0000 (18:45 -0400)]
Stub InvirtWeb implementation
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2663
Quentin Smith [Sun, 9 Aug 2009 22:45:21 +0000 (18:45 -0400)]
CherryPy config files
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2662
Quentin Smith [Sun, 9 Aug 2009 22:45:20 +0000 (18:45 -0400)]
Mount static resources so they can be accessed via CherryPy
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2661
Quentin Smith [Sun, 9 Aug 2009 22:45:19 +0000 (18:45 -0400)]
Basic CherryPy FastCGI handler
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2660
Quentin Smith [Sun, 9 Aug 2009 22:45:18 +0000 (18:45 -0400)]
Mako and SimpleJSON CherryPy hooks
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2659
Quentin Smith [Sun, 9 Aug 2009 22:45:18 +0000 (18:45 -0400)]
Depend on python-cherrypy3 and python-mako in preparation of migrating the web site
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2658
Greg Price [Sat, 2 May 2009 22:53:48 +0000 (18:53 -0400)]
xen-ips: silently ignore already-present IPs
Also from the first hours of April. You all can imagine
how happy I was to be running this code. =)
svn path=/trunk/packages/invirt-web/; revision=2322
Evan Broder [Fri, 17 Apr 2009 16:51:42 +0000 (12:51 -0400)]
When creating a new VM, create the disks in the try/except block so
that everything gets rolled back if that fails.
svn path=/trunk/packages/invirt-web/; revision=2295
Evan Broder [Tue, 7 Apr 2009 02:13:53 +0000 (22:13 -0400)]
Fix a potential quota hole from cross-realm Hesiod entries.
svn path=/trunk/packages/invirt-web/; revision=2293
Evan Broder [Thu, 5 Mar 2009 22:13:42 +0000 (17:13 -0500)]
Power off VMs after a Javascript popup.
svn path=/trunk/packages/invirt-web/; revision=2238
Evan Broder [Sat, 28 Feb 2009 02:13:11 +0000 (21:13 -0500)]
Don't bork of there is no main.fcgi.
svn path=/trunk/packages/invirt-web/; revision=2231
Evan Broder [Sat, 28 Feb 2009 02:07:15 +0000 (21:07 -0500)]
Add a changelog entry for the cache_acls change.
svn path=/trunk/packages/invirt-web/; revision=2227
Evan Broder [Sat, 28 Feb 2009 02:01:05 +0000 (21:01 -0500)]
Don't use a SA 0.5ism
svn path=/trunk/packages/invirt-web/; revision=2226
Evan Broder [Sat, 28 Feb 2009 01:46:23 +0000 (20:46 -0500)]
Start tracking the membership of the adminacl setting in the admins table.
svn path=/trunk/packages/invirt-web/; revision=2223
Evan Broder [Fri, 27 Feb 2009 20:48:19 +0000 (15:48 -0500)]
Use the newly globalized adminacl instead of the old web.adminacl.
svn path=/trunk/packages/invirt-web/; revision=2217
Quentin Smith [Fri, 27 Feb 2009 16:56:20 +0000 (11:56 -0500)]
Add "reusable" column for nics, to avoid reusing addresses that are special in some way.
svn path=/trunk/packages/invirt-web/; revision=2211
Peter Iannucci [Fri, 27 Feb 2009 03:20:10 +0000 (22:20 -0500)]
Fixed other instance of checked attribute
svn path=/trunk/packages/invirt-web/; revision=2190
Peter Iannucci [Thu, 26 Feb 2009 08:22:24 +0000 (03:22 -0500)]
Fixed bug pointed out by Broder with vmtype default and XHTML.
svn path=/trunk/packages/invirt-web/; revision=2189
Peter Iannucci [Sat, 21 Feb 2009 03:28:20 +0000 (22:28 -0500)]
Last fix.
svn path=/trunk/packages/invirt-web/; revision=2186
Peter Iannucci [Sat, 21 Feb 2009 03:26:47 +0000 (22:26 -0500)]
Using socket.getfqdn
svn path=/trunk/packages/invirt-web/; revision=2185
Peter Iannucci [Sat, 21 Feb 2009 03:21:57 +0000 (22:21 -0500)]
Fixed to use uname instead of environ
svn path=/trunk/packages/invirt-web/; revision=2184
Greg Price [Sat, 21 Feb 2009 03:16:57 +0000 (22:16 -0500)]
pkill directly rather than fool around with a CGI
kill.cgi has been broken for a while, and the Makefile has the wrong URI
for dev anyway.
svn path=/trunk/packages/invirt-web/; revision=2183
Peter Iannucci [Sat, 21 Feb 2009 03:09:34 +0000 (22:09 -0500)]
Fixed the log in link for xvm-dev by using environ['HOSTNAME']
svn path=/trunk/packages/invirt-web/; revision=2182
Anders Kaseorg [Tue, 17 Feb 2009 10:01:23 +0000 (05:01 -0500)]
Don't confuse {KB, MB, GB} with {KiB, MiB, GiB}.
svn path=/trunk/packages/invirt-web/; revision=2161
Peter Iannucci [Tue, 17 Feb 2009 07:40:13 +0000 (02:40 -0500)]
fixed a minor bug in validation.py
svn path=/trunk/packages/invirt-web/; revision=2141
Peter Iannucci [Tue, 17 Feb 2009 06:54:26 +0000 (01:54 -0500)]
Added all the other quotas for great win.
svn path=/trunk/packages/invirt-web/; revision=2134
Peter Iannucci [Tue, 17 Feb 2009 04:52:01 +0000 (23:52 -0500)]
RAM quotas at remctl; RAM quota exception script, table, and usage in -web and -remote-create; /etc/nocreate support
svn path=/trunk/packages/invirt-web/; revision=2132
Evan Broder [Sun, 15 Feb 2009 03:18:26 +0000 (22:18 -0500)]
Don't encrypt requests to the PRDB if config.authz.auth is set to False.
svn path=/trunk/packages/invirt-web/; revision=2119
Evan Broder [Thu, 5 Feb 2009 08:24:56 +0000 (03:24 -0500)]
For now, revert r2093-2095, which were committed by accident; I'm not
comfortable with them sitting on HEAD when I don't have time to test
them.
svn path=/trunk/packages/invirt-web/; revision=2097
Evan Broder [Thu, 5 Feb 2009 08:19:30 +0000 (03:19 -0500)]
Get rid of confusing err=True option to invirt.remctl.remctl.
svn path=/trunk/packages/invirt-web/; revision=2095
Edward Z. Yang [Sun, 1 Feb 2009 05:44:55 +0000 (00:44 -0500)]
Changed HTML for info UI to stop using tables for the buttons/inputs.
svn path=/trunk/packages/invirt-web/; revision=2077
Greg Price [Sat, 31 Jan 2009 20:02:54 +0000 (15:02 -0500)]
import CodeError in validation.py, since it uses it
svn path=/trunk/packages/invirt-web/; revision=2064
Greg Price [Sat, 31 Jan 2009 19:59:47 +0000 (14:59 -0500)]
enable Apache modules we need
svn path=/trunk/packages/invirt-web/; revision=2063
Greg Price [Sat, 31 Jan 2009 08:22:22 +0000 (03:22 -0500)]
depend on remctl-client in invirt-base, not invirt-web
svn path=/trunk/packages/invirt-web/; revision=2052
Greg Price [Sat, 31 Jan 2009 08:17:40 +0000 (03:17 -0500)]
organize the 24 dependencies of invirt-web a bit
svn path=/trunk/packages/invirt-web/; revision=2049
Greg Price [Sat, 31 Jan 2009 08:17:33 +0000 (03:17 -0500)]
get mitCAclient.pem from debathena-ssl-certificates
svn path=/trunk/packages/invirt-web/; revision=2048
Greg Price [Sat, 31 Jan 2009 08:17:25 +0000 (03:17 -0500)]
invirt-web: depend on apache2, remctl-client, two others
svn path=/trunk/packages/invirt-web/; revision=2047
Evan Broder [Tue, 27 Jan 2009 22:56:04 +0000 (17:56 -0500)]
Don't assume that the user creating a VM has a locker with the same
name.
This isn't true, for example, for people using root instance tickets
with SPNEGO
svn path=/trunk/packages/invirt-web/; revision=2022
Evan Broder [Tue, 27 Jan 2009 06:36:51 +0000 (01:36 -0500)]
If the autoinstall or initial boot of a VM fails, destroy the VM
immediately.
svn path=/trunk/packages/invirt-web/; revision=2020
Evan Broder [Mon, 26 Jan 2009 04:02:20 +0000 (23:02 -0500)]
Punt on_restart, etc information from Xen, and bootloader options.
None of these options are useful, nor do they change. Plus the values
for on_poweroff and on_crash are misleading to people who aren't
familiar with Xen's use of "destroy".
svn path=/trunk/packages/invirt-web/; revision=2005
Evan Broder [Mon, 26 Jan 2009 01:09:03 +0000 (20:09 -0500)]
Fix-up several packages to include the correct Conflicts and Replaces
lines for config-package-dev
svn path=/trunk/packages/invirt-web/; revision=1989
Greg Price [Thu, 22 Jan 2009 07:31:33 +0000 (02:31 -0500)]
null acl for missing lockers, rather than error
svn path=/trunk/packages/invirt-web/; revision=1986
Evan Broder [Tue, 13 Jan 2009 20:54:46 +0000 (15:54 -0500)]
Update the nics.hostname field to keep it in sync with machine.name
when VMs are renamed.
svn path=/trunk/packages/invirt-web/; revision=1977
Quentin Smith [Tue, 13 Jan 2009 02:27:39 +0000 (21:27 -0500)]
Show hostnames for every NIC
svn path=/trunk/packages/invirt-web/; revision=1976
Greg Price [Thu, 8 Jan 2009 08:22:09 +0000 (03:22 -0500)]
fix an old typo
svn path=/trunk/packages/invirt-web/; revision=1964
Evan Broder [Sun, 4 Jan 2009 02:30:55 +0000 (21:30 -0500)]
Get tokens for a cell before getting a list membership from that cell.
I realize this is possibly the most unelegant way to do this, but I
could never figure out how to get tokens for multiple cells using
kstart.
svn path=/trunk/packages/invirt-web/; revision=1959