Evan Prodromou
0a6d2d24b1
MeteorPlugin uses Plugin::path()
2011-02-03 10:51:59 -05:00
Evan Prodromou
429cbb66b4
Mapstraction plugin uses Plugin::path()
2011-02-03 10:50:11 -05:00
Evan Prodromou
52c3c4468d
BlankAd uses plugins server
2011-02-03 10:46:56 -05:00
Evan Prodromou
f06e661a9b
new methods for paths to plugin static files
2011-02-03 10:36:25 -05:00
Brion Vibber
d1a96dc7af
work in progress: prepping for storage of extended profile details
2011-02-02 17:29:34 -08:00
Brion Vibber
59f4734985
Edit page placeholder, link on main profile to details
2011-02-02 16:38:54 -08:00
Siebrand Mazeland
308e615a3f
Localisation updates from http://translatewiki.net .
2011-02-03 01:31:31 +01:00
Brion Vibber
7a97243abf
ExtendedProfile plugin initial checkin: stub mockup page
2011-02-02 16:23:24 -08:00
Brion Vibber
ec93184d7b
Merge branch '3022' into testing
2011-02-01 14:37:46 -08:00
Brion Vibber
7977454456
Ticket #3022 : fix formatting output for ApiAction::clientError and ApiAction::serverError when caller doesn't explicitly pass the format.
...
Format's already available as a member variable, so use it!
Fixes some error reponses in api/statusnet/groups/leave.json which were coming through as XML.
May fix some others as well.
2011-02-01 14:35:42 -08:00
Zach Copley
b595c3f0d5
API - Return integers instead of strings for group IDs and DM sender/recipients in JSON output
2011-01-31 21:01:03 -08:00
Zach Copley
e029eef9c2
API - Return integers instead of strings for group IDs and DM sender/recipients in JSON output
2011-01-31 18:57:19 -08:00
Zach Copley
317d22f565
Remove old Facebook Plugin (use FacebookBridge now)
2011-01-31 23:51:27 +00:00
Zach Copley
c35d8e3a3e
Remove old Facebook Plugin (use FacebookBridge now)
2011-01-31 23:50:22 +00:00
Zach Copley
ad12384d8c
FacebookPlugin: Fix up FBML canvas app so it keeps working after
...
Facebook removed Profile Boxes and some API calls it relied upon.
See: http://developers.facebook.com/roadmap/deprecations
2011-01-31 23:48:25 +00:00
Zach Copley
071d6e72e0
FacebookPlugin: Fix up FBML canvas app so it keeps working after
...
Facebook removed Profile Boxes and some API calls it relied upon.
See: http://developers.facebook.com/roadmap/deprecations
2011-01-31 23:47:33 +00:00
Zach Copley
7f1b872088
FacebookPlugin: Fix up FBML canvas app so it keeps working after
...
Facebook removed Profile Boxes and some API calls it relied upon.
See: http://developers.facebook.com/roadmap/deprecations
2011-01-31 23:42:43 +00:00
Brion Vibber
1e746da545
Fix "$s"s that slipped into double-quoted translatable strings' '%1$s' pattern. Switch to single-quote to fix.
2011-01-31 14:01:46 -08:00
Brion Vibber
b46ce3b67d
Fix "$s"s that slipped into double-quoted translatable strings' '%1$s' pattern. Switch to single-quote to fix.
2011-01-31 14:00:22 -08:00
Brion Vibber
de7726dd00
Performance counters: records number of total and unique cache get/set/incr/deletes and queries, and logs to syslog.
...
$config['site']['logperf'] = true; // to record & dump total hits of each type and the runtime to syslog
$config['site']['logperf_detail'] = true; // very verbose -- dump the individual cache keys and queries as they get used (may contain private info in some queries)
Seeing 180 cache gets on a timeline page seems not unusual currently; since these run in serial, even relatively small roundtrip times can add up heavily.
We should consider ways to reduce the number of round trips, such as more frequently storing compound objects or the output of processing in memcached.
Doing parallel multi-key lookups could also help by collapsing round-trip times, but might not be easy to fit into SN's object model. (For things like streams this should actually work pretty well -- grab the list, then when it's returned go grab all the individual items in parallel and return the list)
2011-01-31 13:12:56 -08:00
Brion Vibber
b896a37da0
Use cachedQuery on File::getAttachments, plus other cleanups:
...
* dropped unnecessary join on notice table
* made the function actually static, since it makes no sense as an instance variable. The only caller (in AttachmentList) is updated.
2011-01-31 12:22:50 -08:00
Brion Vibber
2a29738dc1
Revert "Session GC fix: save session.modified field as UTC so our comparisons work." - no longer needed with ticket #3020 fix to time zone settings
...
This reverts commit a7abb2323e
.
2011-01-31 11:50:24 -08:00
Brion Vibber
47f31bce47
Merge branch 'master' into testing
...
Conflicts:
classes/Profile.php
2011-01-31 11:50:06 -08:00
Brion Vibber
54f7154db8
Fix for ticket #3020 : set MySQL session time_zone variable to UTC ('+0:00') so TIMESTAMP column values are comparable against our other UTC timestamp values.
...
MySQL stores TIMESTAMP columns as UTC, but with a local time interface. (SRSLY?!) DATETIME columns are always bare and assumed to be local time, but we keep only UTC in them.
Forcing the session time_zone to UTC means we won't have to worry as much about what we're sending/receiving in there.
Also will let us remove the hack in master commit a7abb2323e
for session tweaks
2011-01-31 11:45:19 -08:00
Brion Vibber
5b8e74f8d4
normalize line endings in shiny/css/display.css
2011-01-31 11:09:20 -08:00
Brion Vibber
9573f725c1
Merge branch '0.9.x' into testing
2011-01-31 11:08:15 -08:00
Brion Vibber
9567308b70
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2011-01-31 11:03:46 -08:00
Brion Vibber
b2f4a02377
Update jquery.form.js to 2.63 -- 2.60 fixed our Opera regression per issue #3015
...
Thanks to the fine folks at http://forum.jquery.com/topic/regression-form-plugin-ajaxform-cannot-access-xml-return-data-in-opera#14737000001950332 :D
2011-01-31 11:02:29 -08:00
Evan Prodromou
adaad5bb5e
Merge branch 'runtime' into testing
2011-01-31 14:02:17 -05:00
Evan Prodromou
ca4bf54131
add a comment to show runtime at the end of a page
2011-01-31 13:59:38 -05:00
Siebrand Mazeland
f41dcb644c
Update translator documentation, remove FIXME and add comment.
2011-01-31 18:43:39 +01:00
Siebrand Mazeland
13991f7eb9
* add/update translator documentation.
...
* remove superfluous whitespace.
* update punctuation on form validation messages.
* L10n tweaks.
* add fixme for missing class documentation.
2011-01-31 18:16:55 +01:00
Siebrand Mazeland
dd5721848f
* tag i18n issue.
...
* add translator documentation.
* remove superfluous whitespace.
2011-01-31 17:12:39 +01:00
Siebrand Mazeland
8f776ec12d
* update/add translator documentation.
...
* fix L10n issues.
* update comments and tag missing documentation on some classes.
* remove superfluous whitespace
*
2011-01-31 16:39:54 +01:00
Siebrand Mazeland
3fc323f8f9
Localisation updates from http://translatewiki.net .
2011-01-31 00:04:03 +01:00
Siebrand Mazeland
9c8b2b567f
* Add/update translator documentation.
...
* L10n tweaks (mostly domain MENU assignments).
* Remove superfluous whitespace.
2011-01-30 19:03:55 +01:00
Siebrand Mazeland
691f374a52
* Add/update translator documentation.
...
* Update punctuation in form validation message for consistency.
* Remove superfluous whitespace.
2011-01-30 19:01:55 +01:00
Siebrand Mazeland
c29a938895
* update punctuation for translator documentation.
...
* remove superfluous whitespace.
2011-01-30 18:48:09 +01:00
Siebrand Mazeland
e6e402cefd
Localisation updates from http://translatewiki.net .
2011-01-29 23:10:15 +01:00
Siebrand Mazeland
7db24c32d6
* fix some i18n and L10n issues
...
* update/add translator documentation
* remove superfluous whitespace
2011-01-29 00:33:13 +01:00
Brion Vibber
a7abb2323e
Session GC fix: save session.modified field as UTC so our comparisons work.
...
Had to tweak statusnet.ini to remove the DB_DATAOBJECT_MYSQLTIMESTAMP bitfield constant on session.modified; while it sounds like a useful and legit setting, it actually just means that DB_DataObject silently fails to pass through any attempts to explicitly set the value. As a result, MySQL does its default behavior which is to insert the current *LOCAL* time, which is useless.
This was leading to early GC west of GMT, or late GC east of it. Early GC could at worst destroy all live sessions (whoever's session *triggered* GC is fine, as the session then gets saved right back.)
2011-01-27 12:27:31 -08:00
Brion Vibber
433ec21119
Add $config['sessions']['gc_limit'] to limit how much work we do in each session GC; defaulting to killing 1000 sessions at a time.
2011-01-27 12:08:24 -08:00
Evan Prodromou
1a96a5e695
create privacy settings on new group
2011-01-26 18:48:13 -07:00
Evan Prodromou
2682915b99
events for creating a group
2011-01-26 18:35:01 -07:00
Evan Prodromou
5fee38b025
events for modifying group edit form
2011-01-26 18:21:43 -07:00
Brion Vibber
ea4ebe280a
Merge branch 'testing' into filesize
2011-01-26 15:53:05 -08:00
Brion Vibber
54e98ffe22
Fix ticket #3013 : MAX_FILE_SIZE hidden fields were incorrectly placed
...
In order to apply to PHP's POST processing, the MAX_FILE_SIZE field must appear *before* the file upload field. They were incorrectly placed after, where they had no effect on POST processing.
2011-01-26 15:49:57 -08:00
Brion Vibber
625405910f
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2011-01-26 14:59:35 -08:00
Brion Vibber
c65480fb33
Fix ticket #3016 : when using non-AJAX form of the ostatus subscription initiation for non-local group joins, show the "group" field instead of a blank "user" field
2011-01-26 14:59:24 -08:00
Brion Vibber
ee9e368aa8
Fix ticket #3016 : when using non-AJAX form of the ostatus subscription initiation for non-local group joins, show the "group" field instead of a blank "user" field
2011-01-26 14:57:52 -08:00