plewww.git
13 years agoSetting tag plewww-4.3-45 plewww-4.3-45
Barış Metin [Tue, 15 Jun 2010 13:53:08 +0000 (15:53 +0200)]
Setting tag plewww-4.3-45
encode strings properly in forms.
(also testing git module tagging)

13 years agoencode special chars
Barış Metin [Thu, 10 Jun 2010 16:09:53 +0000 (18:09 +0200)]
encode special chars

14 years agoSetting tag PLEWWW-4.3-44
S.Çağlar Onur [Wed, 28 Apr 2010 15:15:20 +0000 (15:15 +0000)]
Setting tag PLEWWW-4.3-44
Use readfile() function to reduce the memory footprint

14 years agoUse readfile() function to reduce the memory footprint (and solve following);
S.Çağlar Onur [Fri, 16 Apr 2010 19:46:24 +0000 (19:46 +0000)]
Use readfile() function to reduce the memory footprint (and solve following);

PHP Fatal error:  Allowed memory size of 157286400 bytes exhausted (tried to allocate 92702721 bytes) in /var/www/html/planetlab/nodes/node_downloads.php on line 63

14 years agoSetting tag PLEWWW-4.3-43
Thierry Parmentelat [Fri, 2 Apr 2010 13:29:56 +0000 (13:29 +0000)]
Setting tag PLEWWW-4.3-43
removed all deprecated functions for PHP-5.3 on fedora 12

14 years agono more php-5.3 deprecated stuff
Thierry Parmentelat [Thu, 1 Apr 2010 11:04:05 +0000 (11:04 +0000)]
no more php-5.3 deprecated stuff

14 years agoereg is deprecated in f12
Thierry Parmentelat [Wed, 31 Mar 2010 15:03:52 +0000 (15:03 +0000)]
ereg is deprecated in f12

14 years agoSetting tag PLEWWW-4.3-42
Barış Metin [Tue, 16 Mar 2010 14:06:21 +0000 (14:06 +0000)]
Setting tag PLEWWW-4.3-42
* exclude DNS from subnet checking
* redirect pi's and techs to register wizard. only display 'Insuffieient privs' error to users'
* allow longer abbreviated names
* don't let empty strings kill the server (postgresql and apache)

14 years agoexclude DNS from subnet checking
S.Çağlar Onur [Sun, 7 Mar 2010 19:27:45 +0000 (19:27 +0000)]
exclude DNS from subnet checking

14 years agoredirect pi's and techs to register wizard. only display 'Insuffieient privs' error...
Tony Mack [Thu, 25 Feb 2010 22:28:34 +0000 (22:28 +0000)]
redirect pi's and techs to register wizard. only display 'Insuffieient privs' error to users'

14 years agoallow longer abbreviated names
S.Çağlar Onur [Tue, 2 Feb 2010 20:52:25 +0000 (20:52 +0000)]
allow longer abbreviated names

14 years agodon't let empty strings kill the server (postgresql and apache)
Barış Metin [Thu, 28 Jan 2010 12:03:52 +0000 (12:03 +0000)]
don't let empty strings kill the server (postgresql and apache)

14 years ago30 character limit for URL raised to 128 as it's short for some sites
S.Çağlar Onur [Thu, 21 Jan 2010 21:47:42 +0000 (21:47 +0000)]
30 character limit for URL raised to 128 as it's short for some sites

14 years agoSetting tag PLEWWW-4.3-41
Thierry Parmentelat [Sat, 9 Jan 2010 07:46:43 +0000 (07:46 +0000)]
Setting tag PLEWWW-4.3-41
disable drupal user registration (hard: patching the user module)

14 years agothis one was lingering too
Thierry Parmentelat [Fri, 8 Jan 2010 20:22:12 +0000 (20:22 +0000)]
this one was lingering too

14 years agosomehow forgot that one file
Thierry Parmentelat [Fri, 8 Jan 2010 12:13:31 +0000 (12:13 +0000)]
somehow forgot that one file

14 years agorevert previous commit.
Barış Metin [Fri, 8 Jan 2010 11:21:08 +0000 (11:21 +0000)]
revert previous commit.
Thierry suggets to do this in db-config.d, to fix the issue for
current deployments too.

14 years agodon't allow user registration by default.
Barış Metin [Fri, 8 Jan 2010 10:35:22 +0000 (10:35 +0000)]
don't allow user registration by default.

14 years agoSetting tag PLEWWW-4.3-40
Barış Metin [Wed, 16 Dec 2009 14:09:03 +0000 (14:09 +0000)]
Setting tag PLEWWW-4.3-40
* show error messages for update interface
* 'Add Node' is admin only
* add site selector for 'Add Node'

14 years ago- "Add Node" is admin only.
Barış Metin [Fri, 11 Dec 2009 12:22:56 +0000 (12:22 +0000)]
- "Add Node" is admin only.
- Let admins select a site for the node.

14 years agodisplay error when failed to update interface.
Barış Metin [Fri, 27 Nov 2009 14:06:32 +0000 (14:06 +0000)]
display error when failed to update interface.

14 years agoSetting tag PLEWWW-4.3-39
Thierry Parmentelat [Thu, 26 Nov 2009 11:22:58 +0000 (11:22 +0000)]
Setting tag PLEWWW-4.3-39
new add-interface page : now has a checkbox for non-primary interfaces to chose between virtual or physical
this affects the settings of ifname and alias that were formerly set unconditionally
review the interface-checking javascript code
changed the interface to plekitform, method is now optional and part of an options hash

14 years agouse Null instead of an empty array to filter.
Barış Metin [Mon, 23 Nov 2009 15:48:49 +0000 (15:48 +0000)]
use Null instead of an empty array to filter.

14 years agotypo
Barış Metin [Mon, 23 Nov 2009 09:54:53 +0000 (09:54 +0000)]
typo

14 years agoadd a non-primary interface : user to select for virtual or physical interface (set...
Thierry Parmentelat [Fri, 20 Nov 2009 09:58:49 +0000 (09:58 +0000)]
add a non-primary interface : user to select for virtual or physical interface (set ifname/alias)
thoroughly rewrote the add-interface add-node javascript helpers
form interface has changed, method now passed as part of an options hash, new options now supported
more focused redirections after actions (prrof-of-concept, needs more work)
node view mentions the number of tags for each interface for faster checks

14 years agoSetting tag PLEWWW-4.3-38
Thierry Parmentelat [Tue, 17 Nov 2009 22:43:59 +0000 (22:43 +0000)]
Setting tag PLEWWW-4.3-38
can't use php objects for showing node status, this is too slow
fix interface add page

14 years agofix add interface page
Thierry Parmentelat [Tue, 17 Nov 2009 22:42:16 +0000 (22:42 +0000)]
fix add interface page

14 years agousing as many as one php object per node was killing the UI
Thierry Parmentelat [Tue, 17 Nov 2009 15:55:17 +0000 (15:55 +0000)]
using as many as one php object per node was killing the UI

14 years agoSetting tag PLEWWW-4.3-37
Thierry Parmentelat [Mon, 16 Nov 2009 23:23:42 +0000 (23:23 +0000)]
Setting tag PLEWWW-4.3-37
consistency in the way nodes status is displayed in the node and slice areas
extra tags columns show up on the nodes page as well, tweaked in the process
roles management in person page fixed

14 years agoconsistency in the way nodes status is displayed in the node and slice areas
Thierry Parmentelat [Mon, 16 Nov 2009 23:09:19 +0000 (23:09 +0000)]
consistency in the way nodes status is displayed in the node and slice areas
takes into account observed, preferred if missing, last_contact & stale (moved up to 2 hours)
review the nodes page, remove type (report actual type in last column if not regular)

14 years agooops, missing file
Thierry Parmentelat [Mon, 16 Nov 2009 14:23:17 +0000 (14:23 +0000)]
oops, missing file

14 years agofixed roles management in the person page
Thierry Parmentelat [Mon, 16 Nov 2009 14:00:23 +0000 (14:00 +0000)]
fixed roles management in the person page

14 years agoSetting tag PLEWWW-4.3-36
Thierry Parmentelat [Sun, 15 Nov 2009 22:30:33 +0000 (22:30 +0000)]
Setting tag PLEWWW-4.3-36
displaying node tags in the nodes page as well
table headers now can have a 'title' that shows up when hovering on the column header

14 years agoshow extra tags in the nodes page as well
Thierry Parmentelat [Sun, 15 Nov 2009 22:28:05 +0000 (22:28 +0000)]
show extra tags in the nodes page as well
feature extracted in includes/plc_visibletags.php
fancier table headers with an optional title - could make footnotes less crucial
going to the slice page from the slices page opens the node toggle and closes details

14 years agoSetting tag PLEWWW-4.3-35
Thierry Parmentelat [Sat, 14 Nov 2009 13:26:24 +0000 (13:26 +0000)]
Setting tag PLEWWW-4.3-35
bugfix for the custom sortAlphaNumeric{Bottom,Top} sortable types

14 years agobug fix
Thierry Parmentelat [Sat, 14 Nov 2009 13:24:12 +0000 (13:24 +0000)]
bug fix

14 years agoSetting tag PLEWWW-4.3-34
Thierry Parmentelat [Fri, 13 Nov 2009 13:38:07 +0000 (13:38 +0000)]
Setting tag PLEWWW-4.3-34
extensible set of columns in the nodes area of the (my)slice page
nodegroups can be added/deleted/updated
tags management improved marginally

14 years agotwo new classes for sorting
Thierry Parmentelat [Fri, 13 Nov 2009 13:31:30 +0000 (13:31 +0000)]
two new classes for sorting

14 years ago(*) slices list has links towards the slice page with the details area closed and...
Thierry Parmentelat [Fri, 13 Nov 2009 10:52:31 +0000 (10:52 +0000)]
(*) slices list has links towards the slice page with the details area closed and the nodes area open
(*) slice page reviewed for displaying node status and optional node tags
tags displayed are the ones for which the category matches 'node*/ui*'
the category may also convey tunings for rendering the column
(*) cosmetics in the slice page renewal area
(*) nodegroups : UI can now add/delete/update nodegroups
managing the contents of a nodegroup still can be tedious though
(*) tag page fixed, slice/sliver count was wrong, was not showing nodegroups

14 years agorecently we had made the address fields optional. While filing site registration...
Anil-Kumar Vengalil [Wed, 4 Nov 2009 21:40:20 +0000 (21:40 +0000)]
recently we had made the address fields optional. While filing site registration, if address is not given, the site record in PLCDB is created without any address_ids attached to it. Hence sophy could not update the address from the join request review page. this commit fixes the probelm

14 years agoSetting tag PLEWWW-4.3-33
Thierry Parmentelat [Tue, 20 Oct 2009 12:45:05 +0000 (12:45 +0000)]
Setting tag PLEWWW-4.3-33
fix pending sites page - was getting fooled by ext_consortium_id=None

14 years agoNone is equal to zero for php. use === operator to check the type
Barış Metin [Tue, 20 Oct 2009 08:23:09 +0000 (08:23 +0000)]
None is equal to zero for php. use === operator to check the type

14 years agoSetting tag PLEWWW-4.3-32
Thierry Parmentelat [Tue, 20 Oct 2009 07:41:43 +0000 (07:41 +0000)]
Setting tag PLEWWW-4.3-32
resetting tag as something went wrong when setting 31

14 years agofix
Thierry Parmentelat [Tue, 20 Oct 2009 07:38:45 +0000 (07:38 +0000)]
fix

14 years agoreview the registration process to mark with ext_consortium_id=0 the pending sites
Thierry Parmentelat [Fri, 16 Oct 2009 17:13:01 +0000 (17:13 +0000)]
review the registration process to mark with ext_consortium_id=0 the pending sites
this in turn will be used by monitor to avoid sending actions to those sites
also made the address block optional
pending sites rendering nicer

14 years agouse ext_consortium_id for pending sites
Barış Metin [Fri, 16 Oct 2009 10:21:06 +0000 (10:21 +0000)]
use ext_consortium_id for pending sites

14 years agoSetting tag PLEWWW-4.3-30
Thierry Parmentelat [Wed, 7 Oct 2009 08:57:37 +0000 (08:57 +0000)]
Setting tag PLEWWW-4.3-30
nicer look for slice creation, (public) sites
users show with all their sites in the persons page

14 years ago- PIs can add/remove tech and user roles
Barış Metin [Mon, 5 Oct 2009 15:16:52 +0000 (15:16 +0000)]
- PIs can add/remove tech and user roles

14 years agocosmetic, for larger default in pagesize
Thierry Parmentelat [Mon, 5 Oct 2009 09:57:22 +0000 (09:57 +0000)]
cosmetic, for larger default in pagesize

14 years agopublic sites page sortable/searcheable -- has a link to the KML/googlemaps stuff
Thierry Parmentelat [Thu, 1 Oct 2009 14:12:12 +0000 (14:12 +0000)]
public sites page sortable/searcheable -- has a link to the KML/googlemaps stuff

14 years agodisplay all sites in the persons page
Thierry Parmentelat [Mon, 28 Sep 2009 13:29:42 +0000 (13:29 +0000)]
display all sites in the persons page

14 years agointerface page shows number of tags in toggle header
Thierry Parmentelat [Mon, 28 Sep 2009 12:44:37 +0000 (12:44 +0000)]
interface page shows number of tags in toggle header

14 years agoslice creation page - sites sorted and correctly show current site - layout reviewed
Thierry Parmentelat [Mon, 21 Sep 2009 14:34:57 +0000 (14:34 +0000)]
slice creation page - sites sorted and correctly show current site - layout reviewed
register node not shown in planetlab.module to simple users
various cosmetic

14 years agoSetting tag PLEWWW-4.3-29
Thierry Parmentelat [Fri, 18 Sep 2009 12:01:49 +0000 (12:01 +0000)]
Setting tag PLEWWW-4.3-29
reviewed registration pages for persons and sites

14 years agoregistration pages reviewed and nicer - check for existing email
Thierry Parmentelat [Fri, 18 Sep 2009 11:15:38 +0000 (11:15 +0000)]
registration pages reviewed and nicer - check for existing email

14 years agoshow PI/Tech title on pending request page
Barış Metin [Thu, 17 Sep 2009 12:44:58 +0000 (12:44 +0000)]
show PI/Tech title on pending request page

14 years agoSetting tag PLEWWW-4.3-28
Thierry Parmentelat [Fri, 11 Sep 2009 14:38:23 +0000 (14:38 +0000)]
Setting tag PLEWWW-4.3-28
increase memory limit in the nodes page

14 years agomore memory needed for the nodes page
Thierry Parmentelat [Fri, 11 Sep 2009 14:37:34 +0000 (14:37 +0000)]
more memory needed for the nodes page

14 years agoSetting tag PLEWWW-4.3-27
Thierry Parmentelat [Thu, 10 Sep 2009 20:32:27 +0000 (20:32 +0000)]
Setting tag PLEWWW-4.3-27
fixes one typo

14 years agofix typo in sites list, N is the number of nodes not of sites
Thierry Parmentelat [Thu, 10 Sep 2009 12:36:16 +0000 (12:36 +0000)]
fix typo in sites list, N is the number of nodes not of sites

14 years agoSetting tag PLEWWW-4.3-26
Thierry Parmentelat [Mon, 7 Sep 2009 12:40:24 +0000 (12:40 +0000)]
Setting tag PLEWWW-4.3-26
minor/cosmetic

14 years agosort sites on person page.
Stephen Soltesz [Mon, 31 Aug 2009 18:45:44 +0000 (18:45 +0000)]
sort sites on person page.

14 years agobe able to set max_slices to zero
Barış Metin [Thu, 27 Aug 2009 15:08:46 +0000 (15:08 +0000)]
be able to set max_slices to zero

14 years agoSetting tag PLEWWW-4.3-25
Stephen Soltesz [Mon, 10 Aug 2009 18:16:53 +0000 (18:16 +0000)]
Setting tag PLEWWW-4.3-25
Add default Interface tags to extra interfaces.
Add clearer 'Add New PCU' link on node page.
Disable user registration for tech and PI roles.

14 years agomake bwlimit None if it is not set to a value. Previously, an empty value
Stephen Soltesz [Thu, 6 Aug 2009 15:44:59 +0000 (15:44 +0000)]
make bwlimit None if it is not set to a value.  Previously, an empty value
would translate into zero.  This caused NM to enforce a zero bwlimit on the
node, which caused node to act very very slowly.

14 years agoAutomatically add the ifname and alias InterfaceTags to extra interfaces.
Stephen Soltesz [Fri, 31 Jul 2009 23:18:32 +0000 (23:18 +0000)]
Automatically add the ifname and alias InterfaceTags to extra interfaces.
This will allow BootCDs to be generated correctly for nodes with extra
interfaces without any extra configuration by the user or admin.  Without this
fix, extra interfaces over-write ifcfg-eth0 on the bootcd and prevent booting
with the correct network settings.

14 years agoadd note and column
Barış Metin [Thu, 23 Jul 2009 12:18:54 +0000 (12:18 +0000)]
add note and column

14 years agonow that most of the nodes have run_level set by monitor-runlevelagent, let's display...
Barış Metin [Thu, 23 Jul 2009 12:08:30 +0000 (12:08 +0000)]
now that most of the nodes have run_level set by monitor-runlevelagent, let's display this as the state. If
run_level is stale boot_state will be displayed with an * appended.

14 years agoadd additional clarifying text; after adding a pcu for their first node using
Stephen Soltesz [Thu, 16 Jul 2009 19:32:50 +0000 (19:32 +0000)]
add additional clarifying text; after adding a pcu for their first node using
the 'add one here' link, user did not identify the '+' icon as  a link for
adding a new pcu for their second node, and failed to add second pcu.

14 years agono longer letting folks register as PI/Tech, as its basically NEVER used correctly
Marc Fiuczynski [Thu, 16 Jul 2009 03:17:47 +0000 (03:17 +0000)]
no longer letting folks register as PI/Tech, as its basically NEVER used correctly

14 years agoadd 'add interface' link when there is no primary interface.
Stephen Soltesz [Tue, 14 Jul 2009 16:38:24 +0000 (16:38 +0000)]
add 'add interface' link when there is no primary interface.

14 years agocheck the return value.
Barış Metin [Fri, 10 Jul 2009 09:58:39 +0000 (09:58 +0000)]
check the return value.

14 years agoTagging module PLEWWW - PLEWWW-4.3-24
Thierry Parmentelat [Thu, 2 Jul 2009 18:21:49 +0000 (18:21 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-24
new 'controller' instantiation state available in add slice page

14 years ago;-)
Thierry Parmentelat [Thu, 2 Jul 2009 18:20:23 +0000 (18:20 +0000)]
;-)

14 years agoTagging module PLEWWW - PLEWWW-4.3-23
Barış Metin [Thu, 2 Jul 2009 16:00:46 +0000 (16:00 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-23
exclude datepicler.js from jsmin
table sort function for Last Contact columns
drop options for generic boot images

14 years agoAdd description for nm-controller.
Faiyaz Ahmed [Thu, 2 Jul 2009 14:52:53 +0000 (14:52 +0000)]
Add description for nm-controller.

14 years agosort function for Last Contact columns
Barış Metin [Thu, 2 Jul 2009 14:25:53 +0000 (14:25 +0000)]
sort function for Last Contact columns

14 years agodrop options for generic boot images
Thierry Parmentelat [Thu, 2 Jul 2009 12:14:36 +0000 (12:14 +0000)]
drop options for generic boot images

14 years agodon't minify datepicker.js it fails to work due to the semicolumns here and there.
Barış Metin [Wed, 1 Jul 2009 13:16:08 +0000 (13:16 +0000)]
don't minify datepicker.js it fails to work due to the semicolumns here and there.

14 years agoTagging module PLEWWW - PLEWWW-4.3-22
Thierry Parmentelat [Wed, 1 Jul 2009 12:12:15 +0000 (12:12 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-22
displays editable mac address for interfaces
properly sorts bandwidths
new 'controller' slice instantiation method
bugfix, division by zero when displaying a just-changed node

14 years agoAdd the nm-controller instantiation to support delegated slivers.
Faiyaz Ahmed [Mon, 29 Jun 2009 21:21:05 +0000 (21:21 +0000)]
Add the nm-controller instantiation to support delegated slivers.

14 years agomake 'mac' field on an interface editable.
Stephen Soltesz [Wed, 24 Jun 2009 19:04:14 +0000 (19:04 +0000)]
make 'mac' field on an interface editable.

14 years agofix div-by-zero error
Barış Metin [Wed, 24 Jun 2009 10:53:06 +0000 (10:53 +0000)]
fix div-by-zero error

14 years agonotify users when they're added/removed to/from a slice.
Barış Metin [Mon, 22 Jun 2009 12:42:26 +0000 (12:42 +0000)]
notify users when they're added/removed to/from a slice.

14 years agodisplay up & down sort arrow on bw limits
Thierry Parmentelat [Thu, 18 Jun 2009 05:06:14 +0000 (05:06 +0000)]
display up & down sort arrow on bw limits

14 years agobugfix for ticket #540
Thierry Parmentelat [Thu, 18 Jun 2009 04:50:16 +0000 (04:50 +0000)]
bugfix for ticket #540
display bandwidths in a human readable way
fix IP-sorting on the nodes table as well

14 years agonot sure why this was missing
Stephen Soltesz [Wed, 17 Jun 2009 21:04:19 +0000 (21:04 +0000)]
not sure why this was missing

14 years agoTagging module PLEWWW - PLEWWW-4.3-21
Thierry Parmentelat [Tue, 16 Jun 2009 15:59:07 +0000 (15:59 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-21
bugfix with linetabs

14 years agodon't duplicate hidden field
Barış Metin [Tue, 16 Jun 2009 14:24:28 +0000 (14:24 +0000)]
don't duplicate hidden field

14 years agoTagging module PLEWWW - PLEWWW-4.3-20
Thierry Parmentelat [Tue, 16 Jun 2009 10:26:46 +0000 (10:26 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-20
fix add interface from the node page

14 years agocorrected behavior of Add Interface button. PlekitForm strips url of arguments,
Stephen Soltesz [Mon, 15 Jun 2009 23:27:07 +0000 (23:27 +0000)]
corrected behavior of Add Interface button.  PlekitForm strips url of arguments,
preventing correct behavior in old usage at this patch.  to resolve, I used existing
'actions.php' template to redirect to 'interface?node_id=xxx'

14 years agoTagging module PLEWWW - PLEWWW-4.3-19
Stephen Soltesz [Mon, 15 Jun 2009 19:06:14 +0000 (19:06 +0000)]
Tagging module PLEWWW - PLEWWW-4.3-19
only add users that are enabled and not yet a member of the slice
fix to plc_peers
my sites, my nodes, my persons improvements for users with multiple sites
adds a script to minimize the java script files.

14 years agoonly display 'Add Node' to admins
Stephen Soltesz [Mon, 15 Jun 2009 18:33:03 +0000 (18:33 +0000)]
only display 'Add Node' to admins

14 years agoadd "No Site" message to show accounts w/ empty site_ids
Barış Metin [Mon, 15 Jun 2009 15:47:37 +0000 (15:47 +0000)]
add "No Site" message to show accounts w/ empty site_ids

14 years ago- remove inconsistency between user/account (rename all to account)
Barış Metin [Mon, 15 Jun 2009 13:31:21 +0000 (13:31 +0000)]
- remove inconsistency between user/account (rename all to account)
- make persons pages' linetabs to show the page (for admins)

14 years agoseveral fixes
Barış Metin [Mon, 15 Jun 2009 13:20:36 +0000 (13:20 +0000)]
several fixes
- linetabs: show current page
- make menu items and linetabs consistent on all pages
- fix slices.php&person_id

14 years agopass/get active linetab to select it.
Barış Metin [Mon, 15 Jun 2009 11:44:12 +0000 (11:44 +0000)]
pass/get active linetab to select it.

14 years agofix active tab selection. "this" changes regarding the context
Barış Metin [Mon, 15 Jun 2009 11:43:27 +0000 (11:43 +0000)]
fix active tab selection. "this" changes regarding the context

14 years agomissing semi-column
Barış Metin [Mon, 15 Jun 2009 11:41:07 +0000 (11:41 +0000)]
missing semi-column

14 years agoupdate-node action requires hostname too
Barış Metin [Mon, 15 Jun 2009 08:10:30 +0000 (08:10 +0000)]
update-node action requires hostname too