]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agocached id streams can be empty, compare against false
Evan Prodromou [Mon, 4 Jan 2010 20:03:57 +0000 (10:03 -1000)]
cached id streams can be empty, compare against false

14 years agocarefully compare cached settings against false for Config
Evan Prodromou [Mon, 4 Jan 2010 20:02:59 +0000 (10:02 -1000)]
carefully compare cached settings against false for Config

14 years agoMemcached_DataObject stores empty values in the cache
Evan Prodromou [Mon, 4 Jan 2010 20:00:17 +0000 (10:00 -1000)]
Memcached_DataObject stores empty values in the cache

There's great value in knowing that something doesn't exist. We
now cache this information, and carefully compare the results from
cache as $results !== false instead of !empty($results), since some
empty values (null, 0, empty array, empty string) are stored in the
cache.

Caching staticGet() and pkeyGet() now store DB misses in the cache,
and cachedQuery() checks for empty results from the cache.

14 years agodefault value for cache::get() changed from null to false
Evan Prodromou [Mon, 4 Jan 2010 19:59:47 +0000 (09:59 -1000)]
default value for cache::get() changed from null to false

14 years agoDifferentiate between empty values and cache misses in CacheLogPlugin
Evan Prodromou [Mon, 4 Jan 2010 19:57:48 +0000 (09:57 -1000)]
Differentiate between empty values and cache misses in CacheLogPlugin

14 years agomake compression threshold and min savings config attrs for MemcachePlugin
Evan Prodromou [Mon, 4 Jan 2010 19:09:59 +0000 (09:09 -1000)]
make compression threshold and min savings config attrs for MemcachePlugin

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 4 Jan 2010 19:01:23 +0000 (09:01 -1000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoStop caching unfindable keys
Evan Prodromou [Mon, 4 Jan 2010 18:59:19 +0000 (08:59 -1000)]
Stop caching unfindable keys

There were some problems with the automated cache/uncache system
for data objects that made us cache unfindable keys (with null
attributes and sometimes null names). Fixed those problems and
refactored the encache() and decache() methods so they use a helper
to find the cache keys to use.

14 years agouser_id is a non-autoincrement pkey for user_location_prefs
Evan Prodromou [Mon, 4 Jan 2010 18:53:28 +0000 (08:53 -1000)]
user_id is a non-autoincrement pkey for user_location_prefs

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 4 Jan 2010 18:43:45 +0000 (10:43 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoDrop the overly-prominent link to checklibs display; it's unnecessary and just confus...
Brion Vibber [Mon, 4 Jan 2010 18:41:52 +0000 (10:41 -0800)]
Drop the overly-prominent link to checklibs display; it's unnecessary and just confuses people.
The ability's still there to aid in debugging, but it won't be tempting people to click on it.

14 years agoDon't spew notices when building tag cloud if there is no popularity sum to divide by.
Brion Vibber [Mon, 4 Jan 2010 18:39:11 +0000 (10:39 -0800)]
Don't spew notices when building tag cloud if there is no popularity sum to divide by.

14 years agoAllow an authentication plugin with the same provider_name other than the one that...
Craig Andrews [Mon, 4 Jan 2010 18:33:52 +0000 (13:33 -0500)]
Allow an authentication plugin with the same provider_name other than the one that actually checked the password to autoregister a user

Allows for SSO-type plugins that don't have any information about the user other than their username to do autoregistration

14 years agoFix for auto_increment parameter in auto-created tables via checkschema.
Brion Vibber [Mon, 4 Jan 2010 18:30:19 +0000 (10:30 -0800)]
Fix for auto_increment parameter in auto-created tables via checkschema.
Update FeedSub plugin for non-Plugin_DataObject setup and working checkschema updates.

14 years agoEnable memcache automatic compression, starting at 20k and only if compression gain...
Craig Andrews [Mon, 4 Jan 2010 17:49:25 +0000 (12:49 -0500)]
Enable memcache automatic compression, starting at 20k and only if compression gain is greater than 20%.

Allows storage of larger objects (over 1mb in size uncompressed), such as huge LDAP schemas.
Should also improve cache efficiency (allows more stuff to be stored in same memory) and reduce network latency (less data transfer)

(redo commit 1e9c03e1993b5d2978ac4c5213a8a64e0150b4a2 which was apparently lost during pluginization)

14 years agoRan NoticeLocationAttach() through jslint
Sarven Capadisli [Mon, 4 Jan 2010 13:44:32 +0000 (13:44 +0000)]
Ran NoticeLocationAttach() through jslint

14 years agoRemoved unneeded line-height
Sarven Capadisli [Mon, 4 Jan 2010 13:30:07 +0000 (13:30 +0000)]
Removed unneeded line-height

14 years agoRemoved comma
Sarven Capadisli [Mon, 4 Jan 2010 13:28:42 +0000 (13:28 +0000)]
Removed comma

14 years agoRelocated @title removal
Sarven Capadisli [Mon, 4 Jan 2010 12:44:48 +0000 (12:44 +0000)]
Relocated @title removal

14 years agoUpdated element id for notice_data-geo
Sarven Capadisli [Mon, 4 Jan 2010 12:43:56 +0000 (12:43 +0000)]
Updated element id for notice_data-geo

14 years agoRefactored geo location removal to removeNoticeDataGeo()
Sarven Capadisli [Mon, 4 Jan 2010 10:07:32 +0000 (10:07 +0000)]
Refactored geo location removal to removeNoticeDataGeo()

14 years agoAdded errorCallback() to geoCurrentPosition() i.e., if user doesn't
Sarven Capadisli [Mon, 4 Jan 2010 09:52:35 +0000 (09:52 +0000)]
Added errorCallback() to geoCurrentPosition() i.e., if user doesn't
grant permission, removes the Geo processing and (if any) existing geo
location data from notice form.

14 years agoTrim whitespace from label's textContent
Sarven Capadisli [Mon, 4 Jan 2010 09:29:41 +0000 (09:29 +0000)]
Trim whitespace from label's textContent

14 years agoUsing object value instead of inline string
Sarven Capadisli [Mon, 4 Jan 2010 09:14:14 +0000 (09:14 +0000)]
Using object value instead of inline string

14 years agoOpen geoname URL in a new window
Sarven Capadisli [Mon, 4 Jan 2010 09:10:21 +0000 (09:10 +0000)]
Open geoname URL in a new window

14 years agoRemove logging from default cache
Evan Prodromou [Sun, 3 Jan 2010 21:28:15 +0000 (11:28 -1000)]
Remove logging from default cache

14 years agoDebug utility to log cache access
Evan Prodromou [Sun, 3 Jan 2010 21:28:00 +0000 (11:28 -1000)]
Debug utility to log cache access

14 years agodon't try to set an expiry for XCache
Evan Prodromou [Sun, 3 Jan 2010 21:27:36 +0000 (11:27 -1000)]
don't try to set an expiry for XCache

14 years agoadd keyTypes() for User_greeting_count
Evan Prodromou [Sun, 3 Jan 2010 21:27:09 +0000 (11:27 -1000)]
add keyTypes() for User_greeting_count

14 years agoRevert "use keys() instead of keyTypes() so plugin data object work"
Evan Prodromou [Sun, 3 Jan 2010 21:24:05 +0000 (11:24 -1000)]
Revert "use keys() instead of keyTypes() so plugin data object work"

This reverts commit ec380887f71a1eadc75bad0289f9a0dbee7f2913.

14 years agoupdate SamplePlugin.php also
Evan Prodromou [Sun, 3 Jan 2010 21:18:26 +0000 (11:18 -1000)]
update SamplePlugin.php also

14 years agoExpand SamplePlugin to show other best practices
Evan Prodromou [Sun, 3 Jan 2010 21:02:36 +0000 (11:02 -1000)]
Expand SamplePlugin to show other best practices

I modified the SamplePlugin to show how to do some real processing,
adding a data class and an action class and modifying the main
menu to link to the new action. I added documentation comments to
all the methods and made sure the modules were PHPCS-clean.

14 years agouse keys() instead of keyTypes() so plugin data object work
Evan Prodromou [Sun, 3 Jan 2010 20:52:24 +0000 (10:52 -1000)]
use keys() instead of keyTypes() so plugin data object work

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sun, 3 Jan 2010 16:38:55 +0000 (06:38 -1000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoFirst version of cache plugin for XCache variable cache
Evan Prodromou [Sun, 3 Jan 2010 16:38:15 +0000 (06:38 -1000)]
First version of cache plugin for XCache variable cache

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sun, 3 Jan 2010 10:48:21 +0000 (11:48 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoadd LGPL
Evan Prodromou [Sun, 3 Jan 2010 08:46:50 +0000 (22:46 -1000)]
add LGPL

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sun, 3 Jan 2010 07:35:46 +0000 (21:35 -1000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoAdd a caching plugin for APC variable cache
Evan Prodromou [Sun, 3 Jan 2010 07:34:15 +0000 (21:34 -1000)]
Add a caching plugin for APC variable cache

14 years agoFirst version of Memcache plugin
Evan Prodromou [Sun, 3 Jan 2010 07:16:59 +0000 (21:16 -1000)]
First version of Memcache plugin

14 years agoMake cache.php PHPCS-clean
Evan Prodromou [Sun, 3 Jan 2010 07:00:42 +0000 (21:00 -1000)]
Make cache.php PHPCS-clean

14 years agoinvert if for cache handling
Evan Prodromou [Sun, 3 Jan 2010 06:37:30 +0000 (20:37 -1000)]
invert if for cache handling

14 years agofix default array implementation checks
Evan Prodromou [Sun, 3 Jan 2010 06:32:56 +0000 (20:32 -1000)]
fix default array implementation checks

14 years agoMake caching a plugin system
Evan Prodromou [Sun, 3 Jan 2010 06:26:33 +0000 (20:26 -1000)]
Make caching a plugin system

14 years agoMerge branch '0.9.x' into cacheplugin
Evan Prodromou [Sun, 3 Jan 2010 05:47:56 +0000 (19:47 -1000)]
Merge branch '0.9.x' into cacheplugin

14 years agoMerge branch 'master' into 0.9.x
Evan Prodromou [Sun, 3 Jan 2010 05:47:34 +0000 (19:47 -1000)]
Merge branch 'master' into 0.9.x

Conflicts:
classes/Memcached_DataObject.php

14 years agoreturn false from Memcached_DataObject::staticGet() on not found, like DB_DataObject
Evan Prodromou [Sun, 3 Jan 2010 02:28:46 +0000 (16:28 -1000)]
return false from Memcached_DataObject::staticGet() on not found, like DB_DataObject

14 years agofixup memcache functions
Evan Prodromou [Sun, 3 Jan 2010 02:27:04 +0000 (16:27 -1000)]
fixup memcache functions

14 years agochange harmless check of to check of in Memcached_DataObject
Evan Prodromou [Sun, 3 Jan 2010 02:21:19 +0000 (16:21 -1000)]
change harmless check of  to check of  in Memcached_DataObject

14 years agoFix end tag
Sarven Capadisli [Sun, 3 Jan 2010 02:07:55 +0000 (02:07 +0000)]
Fix end tag

14 years agoButton should return false
Sarven Capadisli [Sun, 3 Jan 2010 02:00:12 +0000 (02:00 +0000)]
Button should return false

14 years agoMoved location container's buttons inside enabled state
Sarven Capadisli [Sun, 3 Jan 2010 01:48:41 +0000 (01:48 +0000)]
Moved location container's buttons inside enabled state

14 years agoReset location icon when container button.close is clicked
Sarven Capadisli [Sun, 3 Jan 2010 01:17:51 +0000 (01:17 +0000)]
Reset location icon when container button.close is clicked

14 years agoUpdated pin icon
Sarven Capadisli [Sun, 3 Jan 2010 01:13:42 +0000 (01:13 +0000)]
Updated pin icon

14 years agoAdded minimize functionality to selected location container
Sarven Capadisli [Sun, 3 Jan 2010 01:02:32 +0000 (01:02 +0000)]
Added minimize functionality to selected location container

14 years agoChanged location share representation to be more like the file
Sarven Capadisli [Sun, 3 Jan 2010 00:33:41 +0000 (00:33 +0000)]
Changed location share representation to be more like the file
attachment. Init UI. Probably a little buggy.

14 years agoincorrectly used empty() instead of isset() for a variable that could be 0
Evan Prodromou [Sat, 2 Jan 2010 18:36:47 +0000 (08:36 -1000)]
incorrectly used empty() instead of isset() for a variable that could be 0

14 years agoDon't need margin-bottom for share location option
Sarven Capadisli [Fri, 1 Jan 2010 22:49:42 +0000 (22:49 +0000)]
Don't need margin-bottom for share location option

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Fri, 1 Jan 2010 21:30:44 +0000 (11:30 -1000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 1 Jan 2010 21:27:28 +0000 (11:27 -1000)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoRevert "add cleanup method to cleanup a single row"
Evan Prodromou [Fri, 1 Jan 2010 21:27:13 +0000 (11:27 -1000)]
Revert "add cleanup method to cleanup a single row"

This reverts commit b0527801d9c2b84408bbfdf82bbdc5b778f72cfc.

14 years agoMerge branch 'master' into 0.9.x
Evan Prodromou [Fri, 1 Jan 2010 21:20:25 +0000 (11:20 -1000)]
Merge branch 'master' into 0.9.x

Conflicts:
classes/Memcached_DataObject.php

14 years agoIncluded geotag icon file separately
Sarven Capadisli [Fri, 1 Jan 2010 21:12:49 +0000 (21:12 +0000)]
Included geotag icon file separately

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Fri, 1 Jan 2010 21:12:22 +0000 (21:12 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoAdded geotag icon from http://www.geotagicons.com/
Sarven Capadisli [Fri, 1 Jan 2010 21:11:32 +0000 (21:11 +0000)]
Added geotag icon from http://www.geotagicons.com/

14 years agoadd cleanup method to cleanup a single row
Evan Prodromou [Fri, 1 Jan 2010 21:02:56 +0000 (11:02 -1000)]
add cleanup method to cleanup a single row

14 years agostop using DB_DataObject's staticGet() which caches
Evan Prodromou [Fri, 1 Jan 2010 20:57:22 +0000 (10:57 -1000)]
stop using DB_DataObject's staticGet() which caches

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Fri, 1 Jan 2010 18:20:12 +0000 (19:20 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoRemoved crazy redundant broadcasting of notices by the FB app
Zach Copley [Thu, 31 Dec 2009 22:53:46 +0000 (22:53 +0000)]
Removed crazy redundant broadcasting of notices by the FB app

14 years ago- Use a stripped down new notice form for FB app because FB canvas apps
Zach Copley [Thu, 31 Dec 2009 22:32:10 +0000 (22:32 +0000)]
- Use a stripped down new notice form for FB app because FB canvas apps
  can't support image upload via multipart/form-data (and location sharing
  is iffy).
- Deal with new error code 100 from Facebook, which seem to be for
  inactive accounts.

14 years agoChange inline CSS stylesheet to be on a single line so it doens't blow out syntax...
Zach Copley [Wed, 30 Dec 2009 23:09:12 +0000 (23:09 +0000)]
Change inline CSS stylesheet to be on a single line so it doens't blow out syntax highlighting in my editor

14 years agoUpdate to external Facebook libs
Zach Copley [Wed, 30 Dec 2009 20:33:10 +0000 (20:33 +0000)]
Update to external Facebook libs

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Thu, 31 Dec 2009 19:14:55 +0000 (09:14 -1000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoInitial UI for geo location share option in notice form
Sarven Capadisli [Thu, 31 Dec 2009 18:41:10 +0000 (18:41 +0000)]
Initial UI for geo location share option in notice form

14 years agoMoving notice_data-location_wrap after notice form fieldset
Sarven Capadisli [Thu, 31 Dec 2009 18:27:05 +0000 (18:27 +0000)]
Moving notice_data-location_wrap after notice form fieldset

14 years agoMoved JavaScript dependant stuff out of noticeform.
Sarven Capadisli [Thu, 31 Dec 2009 18:08:21 +0000 (18:08 +0000)]
Moved JavaScript dependant stuff out of noticeform.

14 years agojQuery select SN.C.S.NoticeLocationName once.
Sarven Capadisli [Thu, 31 Dec 2009 17:02:02 +0000 (17:02 +0000)]
jQuery select SN.C.S.NoticeLocationName once.

14 years agoRemoved style information out of HTML
Sarven Capadisli [Thu, 31 Dec 2009 16:44:24 +0000 (16:44 +0000)]
Removed style information out of HTML

14 years agoUsing semicolon to seperate lat and long; RFC2426
Sarven Capadisli [Thu, 31 Dec 2009 16:37:46 +0000 (16:37 +0000)]
Using semicolon to seperate lat and long; RFC2426

14 years agoNoticeLocationAttach() slightly more readable
Sarven Capadisli [Thu, 31 Dec 2009 16:34:07 +0000 (16:34 +0000)]
NoticeLocationAttach() slightly more readable

14 years agoCompare by type
Sarven Capadisli [Thu, 31 Dec 2009 16:25:51 +0000 (16:25 +0000)]
Compare by type

14 years agoIf UA doens't support navigation.geolocation or have JavaScript
Sarven Capadisli [Thu, 31 Dec 2009 16:19:49 +0000 (16:19 +0000)]
If UA doens't support navigation.geolocation or have JavaScript
enabled, the user should still be able to enable/disable their share
location setting per notice.

14 years agolength is faster than size()
Sarven Capadisli [Thu, 31 Dec 2009 16:15:24 +0000 (16:15 +0000)]
length is faster than size()

14 years agoUse the location setting profile as secondary
Sarven Capadisli [Thu, 31 Dec 2009 15:46:43 +0000 (15:46 +0000)]
Use the location setting profile as secondary

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Thu, 31 Dec 2009 14:37:23 +0000 (14:37 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoIf user is sharing their location (based on profile setting), then
Sarven Capadisli [Thu, 31 Dec 2009 14:34:07 +0000 (14:34 +0000)]
If user is sharing their location (based on profile setting), then
enable it for form notice by default. This can be overriden by the
cookie to preserve states.

14 years agoIf user doesn't want to share their location (which is globally set
Sarven Capadisli [Thu, 31 Dec 2009 14:24:27 +0000 (14:24 +0000)]
If user doesn't want to share their location (which is globally set
from their profile settings), don't bother to output form data for
lat/long in the notice form.

14 years agoFix to grab and use the actual lat/lon values from the user profile
Sarven Capadisli [Thu, 31 Dec 2009 14:23:11 +0000 (14:23 +0000)]
Fix to grab and use the actual lat/lon values from the user profile

14 years agoMoved shareLocation data from formActions() to formData()
Sarven Capadisli [Thu, 31 Dec 2009 12:52:39 +0000 (12:52 +0000)]
Moved shareLocation data from formActions() to formData()

14 years agoFixed Event end name
Sarven Capadisli [Thu, 31 Dec 2009 12:43:33 +0000 (12:43 +0000)]
Fixed Event end name

14 years agoTake Memcached_DataObject destructor back out to check whether it might be causing...
Brion Vibber [Thu, 31 Dec 2009 00:42:57 +0000 (16:42 -0800)]
Take Memcached_DataObject destructor back out to check whether it might be causing some under-the-hood problems.

14 years agoRevert debugging code
Brion Vibber [Thu, 31 Dec 2009 00:40:59 +0000 (16:40 -0800)]
Revert debugging code

14 years agoEnable memcache automatic compression, starting at 20k and only if compression gain...
Craig Andrews [Thu, 31 Dec 2009 00:29:38 +0000 (19:29 -0500)]
Enable memcache automatic compression, starting at 20k and only if compression gain is greater than 20%.

Allows storage of larger objects (over 1mb in size uncompressed), such as huge LDAP schemas.
Should also improve cache efficiency (allows more stuff to be stored in same memory) and reduce network latency (less data transfer)

14 years agoAdd missing required line so this plugin works if it's the first (or only) Authentica...
Craig Andrews [Thu, 31 Dec 2009 00:16:32 +0000 (19:16 -0500)]
Add missing required line so this plugin works if it's the first (or only) Authentication Plugin in use

14 years agosubbug debug info to check on free ordering
Brion Vibber [Wed, 30 Dec 2009 23:55:15 +0000 (15:55 -0800)]
subbug debug info to check on free ordering

14 years agotemp debug logging hack for subscriber list early cutoff bug - we can see a cut off...
Brion Vibber [Wed, 30 Dec 2009 23:09:24 +0000 (15:09 -0800)]
temp debug logging hack for subscriber list early cutoff bug - we can see a cut off list at http://identi.ca/petercook/subscribers but haven't been able to explain it. will log a little data on the execution through the list

14 years agoRemove trailing space in checkbox text.
Siebrand Mazeland [Wed, 30 Dec 2009 19:26:23 +0000 (20:26 +0100)]
Remove trailing space in checkbox text.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Wed, 30 Dec 2009 19:12:01 +0000 (20:12 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoMerge branch 'locshunt2' into 0.9.x
Evan Prodromou [Wed, 30 Dec 2009 18:57:39 +0000 (08:57 -1000)]
Merge branch 'locshunt2' into 0.9.x

Conflicts:
classes/User_location_prefs.php

14 years agoAdd magic formula to keep DB_DataObject from treating location prefs pkey as autoincr...
Evan Prodromou [Wed, 30 Dec 2009 18:56:43 +0000 (08:56 -1000)]
Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement