Greg Price [Tue, 22 Apr 2008 06:46:25 +0000 (02:46 -0400)]
restore autoinstaller in web interface
svn path=/trunk/packages/sipb-xen-www/; revision=448
Eric Price [Tue, 22 Apr 2008 05:37:50 +0000 (01:37 -0400)]
Avoid html injection.
Cheetah is painful.
svn path=/trunk/packages/sipb-xen-www/; revision=447
Eric Price [Tue, 22 Apr 2008 04:03:45 +0000 (00:03 -0400)]
Update cache for machines on their modification.
svn path=/trunk/packages/sipb-xen-www/; revision=446
Greg Price [Tue, 22 Apr 2008 03:38:55 +0000 (23:38 -0400)]
keep help page at a readable width
svn path=/trunk/packages/sipb-xen-www/; revision=445
Eric Price [Tue, 22 Apr 2008 02:50:54 +0000 (22:50 -0400)]
Support autoinstalls table for creation list.
svn path=/trunk/packages/sipb-xen-www/; revision=443
Eric Price [Tue, 22 Apr 2008 01:22:55 +0000 (21:22 -0400)]
Sort hvm/paravm list alphabetically.
svn path=/trunk/packages/sipb-xen-www/; revision=441
Eric Price [Tue, 22 Apr 2008 01:13:53 +0000 (21:13 -0400)]
Support setting paravm/hvm for off, but already created, VMs.
svn path=/trunk/packages/sipb-xen-www/; revision=440
Eric Price [Mon, 21 Apr 2008 23:22:21 +0000 (19:22 -0400)]
Remove extraneous whitespace and add documentation
svn path=/trunk/packages/sipb-xen-www/; revision=438
Eric Price [Mon, 21 Apr 2008 23:14:17 +0000 (19:14 -0400)]
Cleaner HVM/paravm validation
svn path=/trunk/packages/sipb-xen-www/; revision=437
Greg Price [Mon, 21 Apr 2008 22:39:44 +0000 (18:39 -0400)]
fix my spelling fix on shutdown button
svn path=/trunk/packages/sipb-xen-www/; revision=436
Anders Kaseorg [Mon, 21 Apr 2008 22:04:13 +0000 (18:04 -0400)]
Remove irrelevant CSS.
svn path=/trunk/packages/sipb-xen-www/; revision=435
Eric Price [Mon, 21 Apr 2008 22:03:47 +0000 (18:03 -0400)]
Only autodetect system: when setting the administrator, so new users don't get admin access.
svn path=/trunk/packages/sipb-xen-www/; revision=434
Eric Price [Mon, 21 Apr 2008 21:30:35 +0000 (17:30 -0400)]
Someone forgot to commit their additions to the help text.
svn path=/trunk/packages/sipb-xen-www/; revision=432
Eric Price [Mon, 21 Apr 2008 21:29:42 +0000 (17:29 -0400)]
Nicer error message on admin not being a group.
svn path=/trunk/packages/sipb-xen-www/; revision=431
Greg Price [Thu, 17 Apr 2008 07:01:35 +0000 (03:01 -0400)]
better headings, labels in info page
svn path=/trunk/packages/sipb-xen-www/; revision=430
Greg Price [Thu, 17 Apr 2008 04:53:07 +0000 (00:53 -0400)]
clarify an error message that sent me UTSLing
svn path=/trunk/packages/sipb-xen-www/; revision=429
Greg Price [Thu, 17 Apr 2008 04:49:26 +0000 (00:49 -0400)]
dashed -> solid line under <h1/>
svn path=/trunk/packages/sipb-xen-www/; revision=428
Greg Price [Thu, 17 Apr 2008 04:40:23 +0000 (00:40 -0400)]
turn off max-width on console page
svn path=/trunk/packages/sipb-xen-www/; revision=427
Greg Price [Thu, 17 Apr 2008 03:27:53 +0000 (23:27 -0400)]
Link to help on 'owner' and 'administrator' in list
svn path=/trunk/packages/sipb-xen-www/; revision=426
Greg Price [Thu, 17 Apr 2008 03:20:54 +0000 (23:20 -0400)]
better sectioning in list page
svn path=/trunk/packages/sipb-xen-www/; revision=425
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