Greg Price [Thu, 17 Apr 2008 03:13:41 +0000 (23:13 -0400)]
improve display of VM list
svn path=/trunk/packages/sipb-xen-www/; revision=424
Greg Price [Thu, 17 Apr 2008 03:01:37 +0000 (23:01 -0400)]
Tighten alpha-service note.
svn path=/trunk/packages/sipb-xen-www/; revision=423
Greg Price [Thu, 17 Apr 2008 02:59:48 +0000 (22:59 -0400)]
more and better titles
* Title with <h1> on VM list
* append 'SIPB Virtual Servers' to each title
* only write title once per page
svn path=/trunk/packages/sipb-xen-www/; revision=422
Greg Price [Thu, 17 Apr 2008 02:35:15 +0000 (22:35 -0400)]
comment out timing info
svn path=/trunk/packages/sipb-xen-www/; revision=421
Greg Price [Thu, 17 Apr 2008 02:13:28 +0000 (22:13 -0400)]
punctuation in about.html
svn path=/trunk/packages/sipb-xen-www/; revision=420
Greg Price [Thu, 17 Apr 2008 02:11:54 +0000 (22:11 -0400)]
sipb-xen-dev@ -> sipb-xen@
svn path=/trunk/packages/sipb-xen-www/; revision=419
Greg Price [Thu, 17 Apr 2008 02:08:50 +0000 (22:08 -0400)]
sipb-xen -> SIPB Virtual Servers externally
I'm open to other names, but 'sipb-xen' is unenlightening to outsiders,
and awkward if we ever change virtualization platforms.
svn path=/trunk/packages/sipb-xen-www/; revision=418
Greg Price [Thu, 17 Apr 2008 01:49:51 +0000 (21:49 -0400)]
Style logged-in message.
Moved to upper right, name in bold.
Also fixed a bug where a tag went unmatched when 'simple' is true.
svn path=/trunk/packages/sipb-xen-www/; revision=417
Greg Price [Thu, 17 Apr 2008 01:40:26 +0000 (21:40 -0400)]
first cut at a more visible navbar
svn path=/trunk/packages/sipb-xen-www/; revision=416
Greg Price [Thu, 17 Apr 2008 01:21:29 +0000 (21:21 -0400)]
clean up CSS, and add blue border.
More targeted changes to the style will follow.
The border style is taken from Debathena, but the color changed;
the heading color is also changed to blue from purple.
svn path=/trunk/packages/sipb-xen-www/; revision=415
Eric Price [Mon, 14 Apr 2008 04:44:00 +0000 (00:44 -0400)]
Resolve #69, by checking that administrators are either users or
groups in the athena cell.
svn path=/trunk/packages/sipb-xen-www/; revision=413
Eric Price [Mon, 14 Apr 2008 04:11:08 +0000 (00:11 -0400)]
Better error messaging for invalid lockers.
svn path=/trunk/packages/sipb-xen-www/; revision=412
Eric Price [Mon, 14 Apr 2008 04:01:30 +0000 (00:01 -0400)]
Fix the bug jbarnold reported, where the real-time access control didn't match the cached version.
svn path=/trunk/packages/sipb-xen-www/; revision=411
Eric Price [Mon, 14 Apr 2008 04:00:36 +0000 (00:00 -0400)]
Expose a useful function.
svn path=/trunk/packages/sipb-xen-www/; revision=410
Eric Price [Mon, 14 Apr 2008 03:59:50 +0000 (23:59 -0400)]
Rename MyException to something reasonable.
svn path=/trunk/packages/sipb-xen-www/; revision=409
Evan Broder [Mon, 7 Apr 2008 00:08:04 +0000 (20:08 -0400)]
Validate the locker name before using it for anything
svn path=/trunk/packages/sipb-xen-www/; revision=408
Greg Price [Thu, 3 Apr 2008 07:12:13 +0000 (03:12 -0400)]
give useful URIs after per-VM commands
I haven't done this for the list page, because the create command's
result message is at least minimally useful and I haven't made a
mechanism for displaying those messages at the standard URIs.
svn path=/trunk/packages/sipb-xen-www/; revision=407
Greg Price [Thu, 3 Apr 2008 06:46:28 +0000 (02:46 -0400)]
default to no boot CD when cloning
svn path=/trunk/packages/sipb-xen-www/; revision=406
Evan Broder [Mon, 31 Mar 2008 09:49:56 +0000 (05:49 -0400)]
And...I should actually read examples before I copy them
svn path=/trunk/packages/sipb-xen-www/; revision=375
Evan Broder [Mon, 31 Mar 2008 09:39:39 +0000 (05:39 -0400)]
Refresh the ACL cache every 5 minutes
svn path=/trunk/packages/sipb-xen-www/; revision=373
Greg Price [Sun, 30 Mar 2008 08:30:00 +0000 (04:30 -0400)]
absolute path to VncViewer.jar (someone's uncommitted change)
svn path=/trunk/packages/sipb-xen-www/; revision=342
Greg Price [Sun, 30 Mar 2008 08:29:19 +0000 (04:29 -0400)]
console tips in popup (broder's uncommitted change)
svn path=/trunk/packages/sipb-xen-www/; revision=341
Greg Price [Sun, 30 Mar 2008 08:28:10 +0000 (04:28 -0400)]
expose cloning autoinstaller in web interface
svn path=/trunk/packages/sipb-xen-www/; revision=340
Eric Price [Sat, 29 Mar 2008 22:45:30 +0000 (18:45 -0400)]
Increment debian version.
svn path=/trunk/packages/sipb-xen-www/; revision=333
Eric Price [Sat, 29 Mar 2008 22:44:45 +0000 (18:44 -0400)]
Preinst script to create sipb-xen group.
svn path=/trunk/packages/sipb-xen-www/; revision=332
Evan Broder [Sat, 29 Mar 2008 22:25:41 +0000 (18:25 -0400)]
Fixed a bug in the DNS startup script and the dependencies for sipb-xen-www
svn path=/trunk/packages/sipb-xen-www/; revision=319
Greg Price [Sat, 29 Mar 2008 15:54:58 +0000 (11:54 -0400)]
move framebuffer tip to /help page
svn path=/trunk/packages/sipb-xen-www/; revision=309
Greg Price [Sat, 29 Mar 2008 15:40:40 +0000 (11:40 -0400)]
err, actually writable
svn path=/trunk/packages/sipb-xen-www/; revision=308
Greg Price [Sat, 29 Mar 2008 15:37:22 +0000 (11:37 -0400)]
keep /var/www/sipb-xen-www writable by our accounts
svn path=/trunk/packages/sipb-xen-www/; revision=307
Evan Broder [Sat, 29 Mar 2008 03:31:01 +0000 (23:31 -0400)]
Today is, in fact, not a Sunday
svn path=/trunk/packages/sipb-xen-iptables/; revision=306
Evan Broder [Sat, 29 Mar 2008 03:18:23 +0000 (23:18 -0400)]
If I'm lucky, I might have a sipb-xen-vnc-client package, too
svn path=/trunk/packages/sipb-xen-www/; revision=305
Eric Price [Sat, 29 Mar 2008 03:09:08 +0000 (23:09 -0400)]
Fix the Makefile to recursively apply make.
svn path=/trunk/packages/sipb-xen-www/; revision=304
Evan Broder [Sat, 29 Mar 2008 02:57:29 +0000 (22:57 -0400)]
Moved sipb-xen-www into a package
svn path=/trunk/web; revision=303
Eric Price [Sat, 29 Mar 2008 02:03:24 +0000 (22:03 -0400)]
Resolve #40 to make powering on/off a post.
svn path=/trunk/web/; revision=301
Evan Broder [Sat, 29 Mar 2008 01:10:53 +0000 (21:10 -0400)]
Ok - I think this will load the iptables rules on boot
svn path=/trunk/packages/sipb-xen-iptables/; revision=294
Eric Price [Fri, 28 Mar 2008 23:14:35 +0000 (19:14 -0400)]
450 pixels is too short. Making it not hard-coded would be nice, though.
svn path=/trunk/web/; revision=285
Greg Price [Fri, 28 Mar 2008 22:21:55 +0000 (18:21 -0400)]
advise users to disable the framebuffer
It'd be great if we could avoid having to hard-code an estimate of
how many pixels high the applet is. Pending that, to make the tip
visible I reduced the estimate to something less conservative.
svn path=/trunk/web/; revision=281
Eric Price [Fri, 28 Mar 2008 22:02:12 +0000 (18:02 -0400)]
Put alpha message in SVN
svn path=/trunk/web/; revision=280
Eric Price [Fri, 7 Mar 2008 18:19:36 +0000 (13:19 -0500)]
Fix bug resulting from partial uptimes list from r261
svn path=/trunk/web/; revision=277
Quentin Smith [Sun, 24 Feb 2008 23:16:42 +0000 (18:16 -0500)]
Fixing VNC client height and turning off "service is being changed" message
svn path=/trunk/web/; revision=267
Quentin Smith [Sat, 2 Feb 2008 08:33:15 +0000 (03:33 -0500)]
Check quotas against the machine's owner and not the user committing the act
svn path=/trunk/web/; revision=266
Eric Price [Wed, 30 Jan 2008 04:47:34 +0000 (23:47 -0500)]
Update acls on creation and don't always through a spurious error
svn path=/trunk/web/; revision=265
Eric Price [Wed, 30 Jan 2008 04:46:07 +0000 (23:46 -0500)]
Fix bug during create/delete clearing the cache
svn path=/trunk/web/; revision=264
Eric Price [Wed, 30 Jan 2008 04:35:48 +0000 (23:35 -0500)]
Modularize cache_acls.py yet more
svn path=/trunk/web/; revision=263
Eric Price [Wed, 30 Jan 2008 04:33:16 +0000 (23:33 -0500)]
Modularize cache_acls.py more
svn path=/trunk/web/; revision=262
Eric Price [Fri, 25 Jan 2008 02:34:53 +0000 (21:34 -0500)]
Use cached ACLs
svn path=/trunk/web/; revision=261
Eric Price [Fri, 25 Jan 2008 02:32:42 +0000 (21:32 -0500)]
Only update the differences (and actually work).
svn path=/trunk/web/; revision=260
Eric Price [Thu, 24 Jan 2008 22:20:30 +0000 (17:20 -0500)]
Do entire ACL update in a transaction, not for each machine.
svn path=/trunk/web/; revision=257
Eric Price [Thu, 24 Jan 2008 22:09:38 +0000 (17:09 -0500)]
Rename misleading relation from users to acl.
svn path=/trunk/web/; revision=256
Anders Kaseorg [Sat, 29 Dec 2007 08:09:59 +0000 (03:09 -0500)]
Remove backdoor.
svn path=/trunk/web/; revision=254
Quentin Smith [Sat, 15 Dec 2007 02:13:43 +0000 (21:13 -0500)]
Allow users to change memory of machines if the machine is blessed
svn path=/trunk/web/; revision=253
Eric Price [Tue, 11 Dec 2007 07:23:21 +0000 (02:23 -0500)]
Allow fully qualified domains in the NICs table to override the
name.servers.csail.mit.edu domains.
svn path=/trunk/web/; revision=252
Eric Price [Tue, 11 Dec 2007 07:08:49 +0000 (02:08 -0500)]
Fix bug in revision 250.
svn path=/trunk/web/; revision=251
Quentin Smith [Tue, 11 Dec 2007 07:01:56 +0000 (02:01 -0500)]
Allow service maintainers to bump memory
svn path=/trunk/web/; revision=250
Eric Price [Tue, 27 Nov 2007 07:15:11 +0000 (02:15 -0500)]
The code to redo the acls that we made a couple weeks ago.
svn path=/trunk/web/; revision=249
Quentin Smith [Tue, 27 Nov 2007 07:11:03 +0000 (02:11 -0500)]
Make the profiling depend on an environment variable "SIPB_XEN_PROFILE" being set, else don't profile.
svn path=/trunk/web/; revision=248
Eric Price [Tue, 27 Nov 2007 07:06:29 +0000 (02:06 -0500)]
Makes deleting VMs work with the access controls.
svn path=/trunk/web/; revision=247
Eric Price [Wed, 14 Nov 2007 01:18:32 +0000 (20:18 -0500)]
Revert to old list method until we start updating the cache.
Fix a bug in getafsgroups.
svn path=/trunk/web/; revision=246
Quentin Smith [Mon, 12 Nov 2007 10:05:26 +0000 (05:05 -0500)]
Remove unnecessary constructors
Rename disk to disk_size in some (but not all!) places
Added MachineAccess to __all__
svn path=/trunk/web/; revision=243
Eric Price [Mon, 12 Nov 2007 09:10:17 +0000 (04:10 -0500)]
(update link).
svn path=/trunk/web/; revision=237
Eric Price [Mon, 12 Nov 2007 09:08:34 +0000 (04:08 -0500)]
Move out of the templates directory.
svn path=/trunk/web/; revision=236
Eric Price [Mon, 12 Nov 2007 08:53:45 +0000 (03:53 -0500)]
Use the compiled Cheetah templates.
This means that you really need to run make after any change to the
template, though.
svn path=/trunk/web/; revision=235
Eric Price [Mon, 12 Nov 2007 08:44:12 +0000 (03:44 -0500)]
Now ignore negative rights, rather than treat them as positive.
Also, rearrange and clean up code.
svn path=/trunk/web/; revision=234
Eric Price [Mon, 29 Oct 2007 04:14:12 +0000 (00:14 -0400)]
Replace 'megabyte' with 'MiB' to please Anders.
svn path=/trunk/web/; revision=229
Eric Price [Mon, 29 Oct 2007 03:57:32 +0000 (23:57 -0400)]
Remove the useless User class (now user is a string)
Allow creation under another owner.
svn path=/trunk/web/; revision=228
Eric Price [Mon, 29 Oct 2007 03:27:32 +0000 (23:27 -0400)]
Remove the hostname as separate from machine name.
svn path=/trunk/web/; revision=227
Quentin Smith [Sun, 28 Oct 2007 06:25:24 +0000 (02:25 -0400)]
Uhh, use SSL...
svn path=/trunk/web/; revision=220
Quentin Smith [Sun, 28 Oct 2007 06:23:22 +0000 (02:23 -0400)]
Use non-auth port 446 to load the VNC applet, so the user doesn't see so many security warnings.
svn path=/trunk/web/; revision=219
Quentin Smith [Sun, 28 Oct 2007 04:13:37 +0000 (00:13 -0400)]
Use daemon/sipb-xen.mit.edu and don't give user fake auth token in an HTML comment.
Closes #31
svn path=/trunk/web/; revision=216
Anders Kaseorg [Mon, 22 Oct 2007 21:41:04 +0000 (17:41 -0400)]
Use standard units.
svn path=/trunk/web/; revision=211
Anders Kaseorg [Mon, 22 Oct 2007 21:40:24 +0000 (17:40 -0400)]
The CSS interferes with the height=100% on the VNC applet. (Also, I
don't approve of my CSS being ripped off for a website it wasn't
designed for.)
svn path=/trunk/web/; revision=210
Eric Price [Sun, 21 Oct 2007 05:35:13 +0000 (01:35 -0400)]
Split main.py in four.
svn path=/trunk/web/; revision=209
Eric Price [Sat, 20 Oct 2007 14:16:32 +0000 (10:16 -0400)]
These shouldn't be here (since they're compiled, and compile differently
with different versions of Cheetah).
svn path=/trunk/web/; revision=208
Eric Price [Sat, 20 Oct 2007 14:14:51 +0000 (10:14 -0400)]
Removed the Javascript, since I realized that
- The way it was was worthless
- The architecture has serious trouble supporting useful js
svn path=/trunk/web/; revision=207
Eric Price [Sat, 20 Oct 2007 12:38:16 +0000 (08:38 -0400)]
(Forget to make this to test it)
svn path=/trunk/web/; revision=206
Eric Price [Sat, 20 Oct 2007 12:28:32 +0000 (08:28 -0400)]
A monster checkin, with a variety of changes to the web
infrastructure.
Adds some support for javascript and asynchronous updates.
Also added prototype.
The interface is *really* *slow*, though.
svn path=/trunk/web/; revision=205
Eric Price [Fri, 19 Oct 2007 02:58:34 +0000 (22:58 -0400)]
Fix to admin
svn path=/trunk/web/; revision=203
Tim Abbott [Tue, 16 Oct 2007 05:07:04 +0000 (01:07 -0400)]
use the new remctl interface
svn path=/trunk/web/; revision=197
Eric Price [Fri, 12 Oct 2007 00:07:29 +0000 (20:07 -0400)]
Bigger applet
svn path=/trunk/web/; revision=192
Eric Price [Thu, 11 Oct 2007 05:56:41 +0000 (01:56 -0400)]
bugfix
svn path=/trunk/web/; revision=188
Eric Price [Thu, 11 Oct 2007 05:55:29 +0000 (01:55 -0400)]
Help, admin, links at the top.
svn path=/trunk/web/; revision=187
Eric Price [Thu, 11 Oct 2007 04:14:59 +0000 (00:14 -0400)]
Remove the MAC address from the summary page.
svn path=/trunk/web/; revision=186
Eric Price [Wed, 10 Oct 2007 14:08:43 +0000 (10:08 -0400)]
And another one.
svn path=/trunk/web/; revision=185
Eric Price [Wed, 10 Oct 2007 14:06:16 +0000 (10:06 -0400)]
Make link relative, not absolute.
svn path=/trunk/web/; revision=184
Eric Price [Wed, 10 Oct 2007 13:52:30 +0000 (09:52 -0400)]
Not clear that skeleton.py should be in the repository, though.
svn path=/trunk/web/; revision=183
Eric Price [Wed, 10 Oct 2007 13:50:49 +0000 (09:50 -0400)]
Create a static/ directory
svn path=/trunk/web/; revision=182
Eric Price [Wed, 10 Oct 2007 07:50:45 +0000 (03:50 -0400)]
Bug fix.
svn path=/trunk/web/; revision=180
Eric Price [Wed, 10 Oct 2007 07:48:42 +0000 (03:48 -0400)]
Leave open the option of administrator acls.
svn path=/trunk/web/; revision=179
Tim Abbott [Wed, 10 Oct 2007 06:54:23 +0000 (02:54 -0400)]
Add CSS!
svn path=/trunk/web/; revision=178
Eric Price [Wed, 10 Oct 2007 05:56:37 +0000 (01:56 -0400)]
Several modifications.
svn path=/trunk/web/; revision=177
Eric Price [Wed, 10 Oct 2007 05:53:49 +0000 (01:53 -0400)]
Another bare except removed.
svn path=/trunk/web/; revision=176
Eric Price [Wed, 10 Oct 2007 03:21:39 +0000 (23:21 -0400)]
don't display uptime, cputime when machine is off.
svn path=/trunk/web/; revision=167
Eric Price [Wed, 10 Oct 2007 03:15:11 +0000 (23:15 -0400)]
Machine name cannot be changed while the machine is running without
confusing the database. So, forbid it.
Help text for the machine change "owner" field.
svn path=/trunk/web/; revision=166
Eric Price [Wed, 10 Oct 2007 02:59:40 +0000 (22:59 -0400)]
Make not modifying the disks work.
svn path=/trunk/web/; revision=165
Eric Price [Wed, 10 Oct 2007 02:50:11 +0000 (22:50 -0400)]
fix invalid input exception, and let you "change" machine to it's own name
svn path=/trunk/web/; revision=164
Eric Price [Wed, 10 Oct 2007 02:29:20 +0000 (22:29 -0400)]
minor bugfix, and check not reusing names.
svn path=/trunk/web/; revision=163
Eric Price [Wed, 10 Oct 2007 02:19:05 +0000 (22:19 -0400)]
No longer force user_ at start of machine name on machine creation.
Modify already doesn't enforce this.
People seem to prefer this convention, and we used transactions to
create and modify machines, so we don't think there are likely to be
problems. It should result in nicer hostnames.
(tabbott ghosting as ecprice again)
svn path=/trunk/web/; revision=162
Eric Price [Wed, 10 Oct 2007 02:08:20 +0000 (22:08 -0400)]
Add support for
(A) modifying VM names, memory, disksize
(B) transferring ownership, hostname
Has issues with multiple disks/nics because of current interface.
(tabbott is the real author here)
svn path=/trunk/web/; revision=161
Eric Price [Wed, 10 Oct 2007 00:10:18 +0000 (20:10 -0400)]
Don't fail to delete the VM because it wasn't running
svn path=/trunk/web/; revision=159
Eric Price [Tue, 9 Oct 2007 23:23:39 +0000 (19:23 -0400)]
destroy machines before trying to delete them.
svn path=/trunk/web/; revision=158