diff --git a/apps/plus_groups/templates/group_item.html b/apps/plus_groups/templates/group_item.html index bac7c4e9..46d11a71 100644 --- a/apps/plus_groups/templates/group_item.html +++ b/apps/plus_groups/templates/group_item.html @@ -12,6 +12,6 @@
Hubspace will be down on Sunday, 21st February for planned maintainence.
diff --git a/install.txt b/install.txt index 72c5cf4d..6de6dfb5 100644 --- a/install.txt +++ b/install.txt @@ -4,7 +4,7 @@ Application setup ----------------- # create psn user -useradd -m -s /bin/bash psn +useradd -m -s /bin/bash psn # get python dev apt-cache search python-dev @@ -16,8 +16,8 @@ sudo mkdir opt/apphomes sudo mkdir opt/apphomes/mhpss cd opt/apphomes -sudo chown -R psn:adm mhpss/ -cd mhpss +sudo chown -R psn:adm mhpss/ +cd mhpss # become psn user sudo -i -u psn @@ -26,21 +26,21 @@ sudo -i -u psn git clone git://github.com/pinax/pinax.git #check the tags available -git-tag -l +git-tag -l # NOTE that this makes a new branch called mhpss (containing the tag version 0.7beta3 git checkout -b mhpss 0.7beta3 # edit pinax-boot.py --> comment out django 1.0.4 and add 1.1 -python scripts/pinax-boot.py --development --django-version=1.1 /opt/apphomes/mhpss/pinax +python scripts/pinax-boot.py --development --django-version=1.1 /opt/apphomes/mhpss/pinax source ./pinax-env/bin/activate # get our hub+ repo git clone git://github.com/thehub/hubplus.git hubplus -# and run the startup the following script which adds a git-hook to your repo. May do more in future +# and run the startup the following script which adds a git-hook to your repo. May do more in future ./on_clone/RUNME.sh @@ -72,7 +72,7 @@ sudo apt-get install postgresql sudo cp -a /etc/postgresql/8.3/main/postgresql.conf /etc/postgresql/8.3/main/postgresql.conf.ORIG sudo cp -a /etc/postgresql/8.3/main/pg_hba.conf /etc/postgresql/8.3/main/pg_hba.conf.ORIG -# In Postgresql's config, set directive "listen_addresses" to +# In Postgresql's config, set directive "listen_addresses" to # the local *private* IP address sudo sed -e "s/^#\(listen_addresses =\) 'localhost'/\1 '172.24.2.72'/" -i /etc/postgresql/8.3/main/postgresql.conf @@ -109,15 +109,15 @@ pg_dump -U thehub -Fc psn > new.dump On mhpss-db : # as admin -cd +cd rcp phil@pinaxdev.the-hub.net:/home/phil/test/pinax-env/psn_demo/new.dump . # make sure you copy to somewhere where admin can write and user postgres can read # become postgres -sudo -i -u postgres +sudo -i -u postgres -# +# dropdb psn createdb psn @@ -126,7 +126,7 @@ pg_restore -O -U psn -d psn new.dump # find the password for user psn in the local_settings on the app server -Pulling files +Pulling files ------------- Login to mhpss-app as admin-xx (eg. admin-pj) @@ -167,9 +167,9 @@ HubPlus' fulltext search uses Django-Haystack so in theory you could use lots of Go to the index server : # create psn user -useradd -m -s /bin/bash psn +useradd -m -s /bin/bash psn -# get python dev (including jetty) +# get python dev (including jetty) sudo apt-get install git-core curl emacs22-nox jetty python-setuptools # stop standard jetty server (we don't want it to become a public web-server) @@ -178,7 +178,7 @@ sudo rm /etc/rc2.d/S20jetty cd /opt sudo mkdir homeapps -sudo mkdir homeapps/solr +sudo mkdir homeapps/solr chown -R psn:adm homeapps @@ -218,9 +218,9 @@ python manage.py build_solr_schema To reindex your data -------------------- -python manage.py rebuild_index +python manage.py rebuild_index # or once the index has been created -python manage.py update_index +python manage.py update_index Supervisord @@ -230,10 +230,10 @@ The supervisord is a python program to manage a number of processes, which we'll On the index server -# Install +# Install sudo easy_install supervisor -# +# # restart supervisor sudo /etc/init.d/supervisord restart @@ -258,7 +258,7 @@ Configuring Lighttpd # After any change, always run syntax checking - + lighttpd -t -f /etc/lighttpd/lighttpd.conf # restart lighty (or reload could be faster) @@ -275,6 +275,6 @@ tar xvzf redis-1.02.tar.gz cd redis-1.02 make -# test run the redis server with +# test run the redis server with ./redis-server # but would be better to put this under supervisord control diff --git a/media/base.css b/media/base.css index 668aece2..9fe76985 100644 --- a/media/base.css +++ b/media/base.css @@ -218,7 +218,7 @@ span.notice_time { table.notice_settings td { line-height: 90%; padding: 5px 10px; - + } span.notice_type_description { color: #666; @@ -429,15 +429,15 @@ div.tweet .reply { padding: 2px 5px; cursor: default; display: block; - /* - if width will be 100% horizontal scrollbar will apear + /* + if width will be 100% horizontal scrollbar will apear when scroll mode will be used */ /*width: 100%;*/ font: menu; font-size: 12px; - /* - it is very important, if line-height not setted or setted + /* + it is very important, if line-height not setted or setted in relative units scroll will be broken in firefox */ line-height: 16px; @@ -565,7 +565,7 @@ p.what_next { float: left; margin-left: 30px; } -.blog-post-meta img { +.blog-post-meta img { border: 1px solid #666; } .blog-list tr.odd { @@ -643,7 +643,7 @@ h2.task_resolved, h2.task_closed { padding: 20px 0; } .gallery-photo-thumb { - width: 100px; + width: 100px; margin: 10px 10px 20px 0; float: left; text-align: center; @@ -755,7 +755,7 @@ div.embed { font-size: 11px; } -#basic-form .button{ +#basic-form .button{ clear:both; width:125px; height:31px; @@ -829,5 +829,5 @@ div#ymap { width: 350px; height: 200px; float: right; - border: 1px solid gray; + border: 1px solid gray; } \ No newline at end of file diff --git a/media/base.js b/media/base.js index 80cfd461..57726e42 100644 --- a/media/base.js +++ b/media/base.js @@ -13,11 +13,11 @@ $(function() { var ymap = document.getElementById('ymap'); if(ymap) { var map = new YMap(ymap); - // Add map type control - map.addTypeControl(); - // Add map zoom (long) control - map.addZoomLong(); - // Add the Pan Control + // Add map type control + map.addTypeControl(); + // Add map zoom (long) control + map.addZoomLong(); + // Add the Pan Control map.addPanControl(); for(var i = 0; i < _geo.length; ++i) { var g = _geo[i]; @@ -30,7 +30,7 @@ $(function() { var myMarkerContent = g[2]; // When the marker is clicked, show the SmartWindow YEvent.Capture(myMarker, EventsList.MouseClick, function() { - myMarker.openSmartWindow(myMarkerContent); + myMarker.openSmartWindow(myMarkerContent); }); // Put the marker on the map map.addOverlay(myMarker); diff --git a/media/jquery.bgiframe.js b/media/jquery.bgiframe.js index 7faef4b3..e292b8da 100644 --- a/media/jquery.bgiframe.js +++ b/media/jquery.bgiframe.js @@ -1,5 +1,5 @@ /* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) - * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $LastChangedDate: 2007-07-22 01:45:56 +0200 (Son, 22 Jul 2007) $ diff --git a/media/jquery.dimensions.js b/media/jquery.dimensions.js index 4c80c2f2..c39c6369 100644 --- a/media/jquery.dimensions.js +++ b/media/jquery.dimensions.js @@ -11,33 +11,33 @@ */ (function($){ - + $.dimensions = { version: '@VERSION' }; // Create innerHeight, innerWidth, outerHeight and outerWidth methods $.each( [ 'Height', 'Width' ], function(i, name){ - + // innerHeight and innerWidth $.fn[ 'inner' + name ] = function() { if (!this[0]) return; - + var torl = name == 'Height' ? 'Top' : 'Left', // top or left borr = name == 'Height' ? 'Bottom' : 'Right'; // bottom or right - + return this[ name.toLowerCase() ]() + num(this, 'padding' + torl) + num(this, 'padding' + borr); }; - + // outerHeight and outerWidth $.fn[ 'outer' + name ] = function(options) { if (!this[0]) return; - + var torl = name == 'Height' ? 'Top' : 'Left', // top or left borr = name == 'Height' ? 'Bottom' : 'Right'; // bottom or right - + options = $.extend({ margin: false }, options || {}); - + return this[ name.toLowerCase() ]() + num(this, 'border' + torl + 'Width') + num(this, 'border' + borr + 'Width') + num(this, 'padding' + torl) + num(this, 'padding' + borr) @@ -49,19 +49,19 @@ $.each( [ 'Height', 'Width' ], function(i, name){ $.each( ['Left', 'Top'], function(i, name) { $.fn[ 'scroll' + name ] = function(val) { if (!this[0]) return; - + return val != undefined ? - + // Set the scroll offset this.each(function() { this == window || this == document ? - window.scrollTo( + window.scrollTo( name == 'Left' ? val : $(window)[ 'scrollLeft' ](), name == 'Top' ? val : $(window)[ 'scrollTop' ]() ) : this[ 'scroll' + name ] = val; }) : - + // Return the scroll offset this[0] == window || this[0] == document ? self[ (name == 'Left' ? 'pageXOffset' : 'pageYOffset') ] || @@ -74,33 +74,33 @@ $.each( ['Left', 'Top'], function(i, name) { $.fn.extend({ position: function() { var left = 0, top = 0, elem = this[0], offset, parentOffset, offsetParent, results; - + if (elem) { // Get *real* offsetParent offsetParent = this.offsetParent(); - + // Get correct offsets offset = this.offset(); parentOffset = offsetParent.offset(); - + // Subtract element margins offset.top -= num(elem, 'marginTop'); offset.left -= num(elem, 'marginLeft'); - + // Add offsetParent borders parentOffset.top += num(offsetParent, 'borderTopWidth'); parentOffset.left += num(offsetParent, 'borderLeftWidth'); - + // Subtract the two offsets results = { top: offset.top - parentOffset.top, left: offset.left - parentOffset.left }; } - + return results; }, - + offsetParent: function() { var offsetParent = this[0].offsetParent; while ( offsetParent && (!/^body|html$/i.test(offsetParent.tagName) && $.css(offsetParent, 'position') == 'static') ) diff --git a/my_grep.sh b/my_grep.sh index ede7e0b9..e495c072 100755 --- a/my_grep.sh +++ b/my_grep.sh @@ -1,3 +1,3 @@ #!/bin/bash -grep -r $1 $2 | grep -v 'pyc' | grep -v 'py~' | grep -v 'py#' | grep -v 'Binary' \ No newline at end of file +grep -r $1 $2 | grep -v 'pyc' | grep -v 'py~' | grep -v 'py#' | grep -v 'Binary' \ No newline at end of file diff --git a/on_clone/RUNME.sh b/on_clone/RUNME.sh index 96bf2ed6..f061dfa4 100755 --- a/on_clone/RUNME.sh +++ b/on_clone/RUNME.sh @@ -15,5 +15,5 @@ ensure 'css' ensure 'js' ensure 'themes' ensure 'images' -ensure 'member_res' +ensure 'member_res' ensure 'avatars' diff --git a/scripts/patches.sh b/scripts/patches.sh index c886f81b..4688853c 100755 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -2,7 +2,7 @@ python manage.py execfile scripts/patch_permissions.py # patch the all_members group to have "display_name" from theme settings -python manage.py execfile scripts/patch_all_members.py +python manage.py execfile scripts/patch_all_members.py # assign virtual homehub to those who have none python manage.py execfile scripts/fix_homehub.py \ No newline at end of file diff --git a/site_media_src/css/forms.css b/site_media_src/css/forms.css index 60154a72..aa99e383 100644 --- a/site_media_src/css/forms.css +++ b/site_media_src/css/forms.css @@ -72,10 +72,10 @@ textarea { width: 300px; } input.link_text { - width: 90%; + width: 90%; } input.url_text { - width: 90%; + width: 90%; } .large input.text, input.text.large { @@ -375,7 +375,7 @@ form fieldset .checkboxes select { border-color: #bbb #999 #999 #bbb; color : #222; cursor : pointer; - padding : 3px 5px 3px; + padding : 3px 5px 3px; text-transform : uppercase; } diff --git a/site_media_src/css/header.css b/site_media_src/css/header.css index 175fe694..b15495ba 100644 --- a/site_media_src/css/header.css +++ b/site_media_src/css/header.css @@ -30,7 +30,7 @@ right : 0; top : 0; } - + #header #account_navigation li { float : left; margin-left : 15px; @@ -66,7 +66,7 @@ font-size : 1.6em; letter-spacing : 1px; line-height : 1.4em; - list-style : none; + list-style : none; position : absolute; right : 0; } diff --git a/site_media_src/css/jit.css b/site_media_src/css/jit.css index c919cfaa..a9820790 100644 --- a/site_media_src/css/jit.css +++ b/site_media_src/css/jit.css @@ -25,8 +25,8 @@ background-color: black; } -#tags #left-container, -#tags #right-container, +#tags #left-container, +#tags #right-container, #tags #center-container { height:600px; position:absolute; @@ -48,7 +48,7 @@ background-image:url('col2.png'); background-position:center right; border-left:1px solid #ddd; - + } #tags #right-container { diff --git a/site_media_src/css/jquery.autocomplete.css b/site_media_src/css/jquery.autocomplete.css index 91b62283..416cde1b 100644 --- a/site_media_src/css/jquery.autocomplete.css +++ b/site_media_src/css/jquery.autocomplete.css @@ -19,15 +19,15 @@ padding: 2px 5px; cursor: default; display: block; - /* - if width will be 100% horizontal scrollbar will apear + /* + if width will be 100% horizontal scrollbar will apear when scroll mode will be used */ /*width: 100%;*/ font: menu; font-size: 12px; - /* - it is very important, if line-height not setted or setted + /* + it is very important, if line-height not setted or setted in relative units scroll will be broken in firefox */ line-height: 16px; diff --git a/site_media_src/css/list-edit-table.css b/site_media_src/css/list-edit-table.css index fdfa9610..3be202c5 100644 --- a/site_media_src/css/list-edit-table.css +++ b/site_media_src/css/list-edit-table.css @@ -1,4 +1,4 @@ -table.draglist { +table.draglist { position: relative; border-spacing: 10px; border-collapse: separate; @@ -12,7 +12,7 @@ table.draglist { } table.draglist tr { margin: 1px; - cursor: move; + cursor: move; background-color: #F4F4F4; border: 2px solid #560005; height: 30px; @@ -23,9 +23,9 @@ table.draglist td.add_remove { table.draglist tr a { color: #660007; } -table.draglist_alt { +table.draglist_alt { position: relative; - width: 200px; + width: 200px; list-style: none; margin:0; padding:0; @@ -33,10 +33,10 @@ table.draglist_alt { } table.draglist_alt tr { margin: 1px; - cursor: move; + cursor: move; } -#user_actions { - float: right; +#user_actions { + float: right; } div.logger{ position:absolute; @@ -45,7 +45,7 @@ div.edit_list { float: left; } div.edit_list a { - color: #660007; + color: #660007; } div#edit_list_left { height: 10px; diff --git a/site_media_src/css/main.css b/site_media_src/css/main.css index 665fb6af..f371f0c9 100755 --- a/site_media_src/css/main.css +++ b/site_media_src/css/main.css @@ -502,7 +502,7 @@ th { color : #999; font-size : 0.625em; line-height : 1em; - vertical-align : top; + vertical-align : top; } .tabbed ul.tabbed_navigation li.selected a .count { @@ -649,7 +649,7 @@ th { .results .thumb { position : absolute; left : 0; - top : 10px; + top : 10px; } .results h3, @@ -731,7 +731,7 @@ th { } .message_headers dd { - float : left; + float : left; width : 70%; } @@ -1024,7 +1024,7 @@ list-style-position:inside; /* Side Blocks: Add */ #feature_add { - margin-bottom : 10px; + margin-bottom : 10px; } diff --git a/site_media_src/css/overlay.css b/site_media_src/css/overlay.css index fda2291a..316e9952 100644 --- a/site_media_src/css/overlay.css +++ b/site_media_src/css/overlay.css @@ -1,4 +1,4 @@ -/* Overlay */ +/* Overlay */ div.overlay { /* growing background image */ @@ -8,7 +8,7 @@ div.overlay { width : 800px; height : 624px; - /* initially overlay is hidden */ + /* initially overlay is hidden */ display : none; /* some padding to layout nested elements nicely */ diff --git a/site_media_src/css/permissions.css b/site_media_src/css/permissions.css index a67609d8..db08ff61 100644 --- a/site_media_src/css/permissions.css +++ b/site_media_src/css/permissions.css @@ -11,7 +11,7 @@ HUB PLUS 2009 list-style : none; overflow : hidden; text-align : center; - position:relative; + position:relative; width : 100%; vertical-align: top; } @@ -28,7 +28,7 @@ HUB PLUS 2009 .permissions_slider .attribute_column { width : 15%; - text-align : center; + text-align : center; } .permissions_slider .group_column, diff --git a/site_media_src/css/site.css b/site_media_src/css/site.css index 9a61b79d..43ff6eed 100755 --- a/site_media_src/css/site.css +++ b/site_media_src/css/site.css @@ -102,7 +102,7 @@ body { left : 0; position : absolute; top : 0; - width : 1px; + width : 1px; visibility : hidden; } diff --git a/site_media_src/css/ui.tabs.css b/site_media_src/css/ui.tabs.css index c2ed2493..867b1e2d 100644 --- a/site_media_src/css/ui.tabs.css +++ b/site_media_src/css/ui.tabs.css @@ -15,7 +15,7 @@ background: #fff; border: 1px solid black; border-width: 1px 1px 0; - white-space: nowrap; /* required in IE 6 */ + white-space: nowrap; /* required in IE 6 */ } .ui-tabs .ui-tabs-nav li a span { display: block; padding: 0 10px 2px;} .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0;} diff --git a/site_media_src/design_uploads/explore.html b/site_media_src/design_uploads/explore.html index d97b18ba..62b14eaa 100644 --- a/site_media_src/design_uploads/explore.html +++ b/site_media_src/design_uploads/explore.html @@ -270,7 +270,7 @@