Commit Graph

7767 Commits

Author SHA1 Message Date
Craig Andrews
7a2d72fe28 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 1e9c03e199 which was apparently lost during pluginization)
2010-01-04 12:49:25 -05:00
Sarven Capadisli
a0f7896f22 Ran NoticeLocationAttach() through jslint 2010-01-04 13:44:32 +00:00
Sarven Capadisli
dcc9497099 Removed unneeded line-height 2010-01-04 13:30:07 +00:00
Sarven Capadisli
9a742dd2a2 Removed comma 2010-01-04 13:28:42 +00:00
Sarven Capadisli
dcd3292f57 Relocated @title removal 2010-01-04 12:44:48 +00:00
Sarven Capadisli
30f58bf15f Updated element id for notice_data-geo 2010-01-04 12:43:56 +00:00
Sarven Capadisli
ad323575e6 Refactored geo location removal to removeNoticeDataGeo() 2010-01-04 10:07:32 +00:00
Sarven Capadisli
fe8927a42c 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.
2010-01-04 09:52:35 +00:00
Sarven Capadisli
d1998adb13 Trim whitespace from label's textContent 2010-01-04 09:29:41 +00:00
Sarven Capadisli
9f9dcd2bf5 Using object value instead of inline string 2010-01-04 09:14:14 +00:00
Sarven Capadisli
50af9c5c40 Open geoname URL in a new window 2010-01-04 09:10:21 +00: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
e33b9a8ab8 Merge branch 'master' into batchlocation 2010-01-01 11:26:50 -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