Migration to latest rails 2.3 and better navigation
+1
New discussion
Answer
Now, some of the most common libraries are being handled by google.
Mostly prototypes and scriptaculous, for the time being. Maybe later some others.
Very nice of them, plus a good opportunity to clean up some dependencies.
+0
New discussion
Answer
To simplify usage, I’ve added a small feature: the text area used to write now automatically expands with its content.
That is you can write write write, scroll bars shouldn’t appear. Instead the textarea and surrounding page should vertically increase in size.
Technically it’s simple, and it works in firefox and IE. If any one happens to test it in other browsers, please, drop a comment!
For info, here is the javascript code (a lot originally comes from ajaxian):
__ Get vertical position
function findPosY(obj) {
if (!obj) return 0;
var curtop = 0;
if (obj.offsetParent)
while (1) {
curtop += obj.offsetTop;
if (!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
__ Widen the elt until it is moved below or it is wider than its parent elt
__ Used in an "onfocus" event
function widen(elt) {
if (elt.widened) return;
elt.widened = true;
var initialPosition = findPosY(elt);
var initialParentWidth = elt.parentNode.offsetWidth;
while (initialPosition == findPosY(elt) && elt.offsetWidth < initialParentWidth) {
elt.cols = elt.cols + 1;
}
elt.cols = elt.cols - 1;
}
__ Resize text area accordingly to its content
function resize(elt) {
widen(elt);
var lines = elt.value.split('\n');
var newRows = lines.length + 1;
var oldRows = elt.rows;
for (var i = 0; i < lines.length; i++) {
var line = lines[i];
if (line.length >= elt.cols) newRows += Math.floor(line.length / elt.cols);
}
if (newRows > elt.rows) elt.rows = newRows;
if (newRows < elt.rows) elt.rows = Math.max(5, newRows);
}
+1
New discussion
Answer
-1
Sub domains to directly access elements
+1
New discussion
Answer
Automatic widening text area. Rails 2
+1
New discussion
Answer
“Tout sur le soft 100% libre”
Voici un site français pour suivre les mises à jours de nos logiciels.
Parlement est à la page
http://www.jesuislibre.org/user/progdetail.php3?action=view&idprog=599
+1
New discussion
Answer
Heavily modified skin where anonymous users can no longer vote but can write and login at the same time.
Simplified and faster HTML. Shaded border.
+1
New discussion
Answer
PostgreSQL has been upgraded. From version 8.1 to 8.2.
This was a test to alleviate some of the load. Due to the choice of the “nested tree set” algorithm to organize the tree of elements, there were transactions failing when trying to insert new elements at the beginning of the set.
The new database seems much much faster. No more failed transactions (for the time being), and the pages actually render much faster. Generally less than one second for the largest one.
That’s good news! :-)
+2
New discussion
Answer
-1
Better filtering. Periodical updating of visitors, subscribers and elements lists.
+1
New discussion
Answer
Internationalization
+2
New discussion
Answer
-1
Most active forums presented first. Passage to rails 1.2
+2
New discussion
Answer
-1
Democratically moderated mails.
Elements are displayed on the web page or sent by mail when they reach a user chosen voting threshold.
+2
New discussion
Answer
-1
Improved look, particularly the voting and writing part. Long posts and lists now truncated. Permanent login. Positioned elements. Search form (though google).
+1
New discussion
Answer
Users can now filter elements according to an acceptation’s threshold
+0
New discussion
Answer
-1
Avatars
+0
New discussion
Answer
+0
New discussion
Answer
Voting using V and Î buttons (picturing -1 and +1 values, down and up). Clicking on an existing vote resets it (equivalent to a 0 vote).
Votes recorded and replicated as mails. Elements also listed by their approval (rss feed available).
+0
New discussion
Answer