improve the perfromance of the javascript autocomplete lookup
This was performing poorly on large lists. The delay can be set down
very low because the list is stored entirely in memory. The current code
only does the lookup when there are >2 characters typed in for a
particular tag.
In my system, with JQuery 1.5, the previous two commits caused *every*
link to load the Flash MP3 mplayer, even though none of these were
playable. This patch fixes that issue.
The issue, as far as I can tell, seems to be due to a change in the
version of JQuery. But I have only looked close enough to fix the bug.
added Thomas Niepraschk's tag autocomplete feature
The work in this patch is taken from the following GH repository:
https://github.com/niepi/scuttle-autocomplete
The work is Copyright (c) Thomas Niepraschk 2011.
Niepraschk's work is not done as a branch to the scuttle git repository,
includes a series of unrelated changes, and involves a few mistakes. In
this branch, I've provided a clean-up of his work but very little of my
own.
I have made the following change over what Thomas did in his repository:
- Reverted the move of config.inc.php from config.inc.php.example
- Changed the script code to not include simple load JQuery from
googleapis.com (introducing some privacy issues) but to load it from
the copies that Thomas included in the repository instead.
- I have also removed from the history several extra files including the
full dump of his database (!) which he them removed in a subsequent
commit.
All credit goes to Thomas Niepraschk for his hard work to build the
functionality. I use it and love it!
Marcus Campbell [Tue, 28 Dec 2010 07:07:14 +0000 (23:07 -0800)]
- Updated default filetypes used for system tags
- Added support for RSS media enclosures
- Restricted registration fields to match DB limits
- Updated debug mode activation
- Updated form style
- Minor code style updates
Signed-off-by: Marcus Campbell <marcus.campbell@gmail.com>
Marcus Campbell [Tue, 21 Dec 2010 08:47:47 +0000 (00:47 -0800)]
- Enforce minimum elapsed time on registration form
- Removed redirection after save
- Show most recent page of results on index, rather than most recent day
- Minor code style updates
- Shameless self-aggrandising
Signed-off-by: Marcus Campbell <marcus.campbell@gmail.com>
Marcus Campbell [Sat, 18 Dec 2010 06:43:48 +0000 (22:43 -0800)]
- Allow blacklisting and whitelisting of e-mail addresses used for new user accounts
- Added hash to the registration form to prevent CRSF
- Added password confirmation to registration form
- Update jQuery to 1.4.4
Signed-off-by: Marcus Campbell <marcus.campbell@gmail.com>
Marcus Campbell [Sun, 13 Jul 2008 01:09:50 +0000 (01:09 +0000)]
* Fixed REG_BADRPT error in isValidEmail() that prevented registration
* Merged cookie fix from trunk
* Set body background to white
* Removed poor seed from _randompassword()
* Minor fix to updateBookmark()
Marcus Campbell [Sat, 9 Dec 2006 06:13:28 +0000 (06:13 +0000)]
Merge trunk fix for [ 1480341 ] Timezone Bug
Merge trunk fix for [ 1493870 ] Problem with required files in gettext.inc
Merge trunk fix for [ 1495135 ] Missing a closing parenthesis in ajaxGetTitle.php
Merged trunk changes for .htaccess file