Evan Prodromou
5a1ea0b9b2
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.
2010-01-04 08:59:19 -10:00
Evan Prodromou
8f362e9956
user_id is a non-autoincrement pkey for user_location_prefs
2010-01-04 08:53:28 -10:00
Evan Prodromou
bfa3aa0e7f
Remove logging from default cache
2010-01-03 11:28:15 -10:00
Evan Prodromou
1053abd2e8
Debug utility to log cache access
2010-01-03 11:28:00 -10:00
Evan Prodromou
07236058f4
don't try to set an expiry for XCache
2010-01-03 11:27:36 -10:00
Evan Prodromou
eebc5d0d59
add keyTypes() for User_greeting_count
2010-01-03 11:27:09 -10:00
Evan Prodromou
d5fb88e1c0
Revert "use keys() instead of keyTypes() so plugin data object work"
...
This reverts commit ec380887f7
.
2010-01-03 11:24:05 -10:00
Evan Prodromou
e940790241
update SamplePlugin.php also
2010-01-03 11:18:26 -10:00
Evan Prodromou
1348c6e819
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.
2010-01-03 11:02:36 -10:00
Evan Prodromou
ec380887f7
use keys() instead of keyTypes() so plugin data object work
2010-01-03 10:52:24 -10:00
Evan Prodromou
121c696267
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-03 06:38:55 -10:00
Evan Prodromou
249b2632f2
First version of cache plugin for XCache variable cache
2010-01-03 06:38:15 -10:00
Siebrand Mazeland
b1f11d3527
Localisation updates for !StatusNet from !translatewiki.net !sntrans
2010-01-03 11:48:21 +01:00
Evan Prodromou
8679bc6c7b
add LGPL
2010-01-02 22:46:50 -10:00
Evan Prodromou
de74c64490
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-02 21:35:46 -10:00
Evan Prodromou
d7436c10d0
Add a caching plugin for APC variable cache
2010-01-02 21:34:15 -10:00
Evan Prodromou
cc5534d180
First version of Memcache plugin
2010-01-02 21:16:59 -10:00
Evan Prodromou
1e1062ca9c
Make cache.php PHPCS-clean
2010-01-02 21:00:42 -10:00
Evan Prodromou
65d07b657d
invert if for cache handling
2010-01-02 20:37:30 -10:00
Evan Prodromou
e1de1bf0fe
fix default array implementation checks
2010-01-02 20:32:56 -10:00
Evan Prodromou
c5d23e27a6
Make caching a plugin system
2010-01-02 20:26:33 -10:00
Evan Prodromou
7b452e4f71
Merge branch '0.9.x' into cacheplugin
2010-01-02 19:47:56 -10:00
Evan Prodromou
90a2563a90
Merge branch 'master' into 0.9.x
...
Conflicts:
classes/Memcached_DataObject.php
2010-01-02 19:47:34 -10:00
Evan Prodromou
d32fb7c7c4
return false from Memcached_DataObject::staticGet() on not found, like DB_DataObject
2010-01-02 16:28:46 -10:00
Evan Prodromou
3b912ac97e
fixup memcache functions
2010-01-02 16:27:04 -10:00
Evan Prodromou
2bd32dfad7
change harmless check of to check of in Memcached_DataObject
2010-01-02 16:21:19 -10:00
Sarven Capadisli
94af0d1279
Fix end tag
2010-01-03 02:07:55 +00:00
Sarven Capadisli
467ae9d9e7
Button should return false
2010-01-03 02:00:12 +00:00
Sarven Capadisli
aef31280f3
Moved location container's buttons inside enabled state
2010-01-03 01:48:41 +00:00
Sarven Capadisli
4983564949
Reset location icon when container button.close is clicked
2010-01-03 01:17:51 +00:00
Sarven Capadisli
0a07aeb25a
Updated pin icon
2010-01-03 01:13:42 +00:00
Sarven Capadisli
503d0acd49
Added minimize functionality to selected location container
2010-01-03 01:02:32 +00:00
Sarven Capadisli
ec5850d26a
Changed location share representation to be more like the file
...
attachment. Init UI. Probably a little buggy.
2010-01-03 00:33:41 +00:00
Evan Prodromou
52fbd10162
incorrectly used empty() instead of isset() for a variable that could be 0
2010-01-02 08:36:47 -10:00
Sarven Capadisli
f990237c03
Don't need margin-bottom for share location option
2010-01-01 22:49:42 +00:00
Evan Prodromou
2851296c8d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-01 11:30:44 -10:00
Evan Prodromou
d2bbf65f19
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-01-01 11:27:28 -10:00
Evan Prodromou
79c2e3f720
Revert "add cleanup method to cleanup a single row"
...
This reverts commit b0527801d9
.
2010-01-01 11:27:13 -10:00
Evan Prodromou
a9d8359208
Merge branch 'master' into 0.9.x
...
Conflicts:
classes/Memcached_DataObject.php
2010-01-01 11:20:25 -10:00
Sarven Capadisli
1b3917c6a7
Included geotag icon file separately
2010-01-01 21:12:49 +00:00
Sarven Capadisli
e6ea91a84b
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-01 21:12:22 +00:00
Sarven Capadisli
f6ab4ea136
Added geotag icon from http://www.geotagicons.com/
2010-01-01 21:11:32 +00:00
Evan Prodromou
b0527801d9
add cleanup method to cleanup a single row
2010-01-01 11:02:56 -10:00
Evan Prodromou
727978332a
stop using DB_DataObject's staticGet() which caches
2010-01-01 10:57:22 -10:00
Siebrand Mazeland
c11b339dc3
Localisation updates for !StatusNet from !translatewiki.net !sntrans
2010-01-01 19:20:12 +01:00
Zach Copley
e6c8f6a8f8
Removed crazy redundant broadcasting of notices by the FB app
2009-12-31 22:53:46 +00:00
Zach Copley
962eed904c
- 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.
2009-12-31 22:39:01 +00:00
Zach Copley
5621f85835
Change inline CSS stylesheet to be on a single line so it doens't blow out syntax highlighting in my editor
2009-12-31 22:39:01 +00:00
Zach Copley
450cd6774a
Update to external Facebook libs
2009-12-31 22:39:01 +00:00
Evan Prodromou
053b8c600d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-31 09:14:55 -10:00