summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-10-08Merge branch 'schema-x' of /Users/brion/pages/mublog into schema-xBrion Vibber
2010-10-08Starting on adapting postgresql schema class to look stuff up in the new ↵Brion Vibber
drupalish format... Fetching basic column data and unique indexes. Still needs detail work, multi-value indexes, foreign keys, and distinguishing the primary key. Since we don't get comments and such, for cleaner comparisons we should probably do a filtering on supported features.
2010-10-07Some more poking at schema stuff, on the road towards a more portable ↵Brion Vibber
table-modification with the new schema bits
2010-10-07fix up some more 'not null's and suchBrion Vibber
2010-10-07Fix detection of auto_increment fields in MySQL (sets them as 'serial' type)Brion Vibber
2010-10-07Some cleanup on detecting typesBrion Vibber
2010-10-07Finish patching up the index fetching in new schema stuff for mysqlBrion Vibber
2010-10-06Work in progress on fetching table defs from existing tables in new format ↵Brion Vibber
-- unfinished
2010-10-06Merge branch '1.0.x' into schema-xBrion Vibber
Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-10-06Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-10-06Basic validation of UTF-8 input via GET/POST vars: invalid UTF-8 sequences ↵Brion Vibber
will cause the string to drop. Not necessarily super-thorough; should be improved in future to drop individual bad sequences, do normalization of combining forms, etc. General input validation (for ints, types of strings, etc) still would be good to have!
2010-10-05Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-10-04Urgh... fix for fix for horrific $ escaping problems (some awful mix of ↵Brion Vibber
single and double-quoted strings in the terror that is mail.php)
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-10-04Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
Conflicts: actions/hostmeta.php actions/imsettings.php classes/User.php lib/adminpanelaction.php lib/channel.php lib/default.php lib/router.php lib/util.php
2010-09-30Add a $config['plugins']['locale_path'] which can be set to override the ↵Brion Vibber
individual plugins' locale subdirectories. This will apply to *ALL* plugins in *ALL* languages, so should probably only be used when doing site customization... You'd probably do: $config['site']['locale_path'] = '/srv/awesome/data/locale'; $config['plugins']['locale_path'] = '/srv/awesome/data/locale'; with a structure like: srv/ awesome/ data/ locale/ en/ LC_MESSAGES/ statusnet.po OpenID.po AnonymousFave.po etc, all alongside each other. You could separate plugins from the core if you like. Where locale files have not already been generated, you can build one for a plugin like so: php scripts/update_po_templates.php --plugin=MyPlugin and pull out the template file: plugins/MyPlugin/locale/MyPlugin.pot Edit that (make sure you at least set the CHARSET, probably to UTF-8) and save your customized .po files into the structure as above, and use msgfmt to generate .mo files for final output.
2010-09-30Add a $config['plugins']['locale_path'] which can be set to override the ↵Brion Vibber
individual plugins' locale subdirectories. This will apply to *ALL* plugins in *ALL* languages, so should probably only be used when doing site customization... You'd probably do: $config['site']['locale_path'] = '/srv/awesome/data/locale'; $config['plugins']['locale_path'] = '/srv/awesome/data/locale'; with a structure like: srv/ awesome/ data/ locale/ en/ LC_MESSAGES/ statusnet.po OpenID.po AnonymousFave.po etc, all alongside each other. You could separate plugins from the core if you like. Where locale files have not already been generated, you can build one for a plugin like so: php scripts/update_po_templates.php --plugin=MyPlugin and pull out the template file: plugins/MyPlugin/locale/MyPlugin.pot Edit that (make sure you at least set the CHARSET, probably to UTF-8) and save your customized .po files into the structure as above, and use msgfmt to generate .mo files for final output.
2010-09-30ForceGroup plugin: optionally force new users to join a particular group or ↵Brion Vibber
set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core.
2010-09-30ForceGroup plugin: optionally force new users to join a particular group or ↵Brion Vibber
set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core.
2010-09-30Merge branch 'anon-fave-plugin' into 0.9.xZach Copley
2010-09-30Merge branch 'anon-fave-plugin'Zach Copley
2010-09-30Merge branch 'master' of gitorious.org:statusnet/mainline into feedfixBrion Vibber
2010-09-30Always specify UTF-8 targt charset for html_entity_decode(); default is ↵Brion Vibber
8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
2010-09-29Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooksZach Copley
2010-09-29Add Start/EndShowNoticeInfo eventsZach Copley
2010-09-29New eventsi: Start/EndShowNoticeOptions and Start/EndShowFaveFormZach Copley
2010-09-29add hooks to the feedlist widget to give fine-grained control over feed linksEvan Prodromou
2010-09-29* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* add support for Hungarian (hu)
2010-09-22Fix for ticket 2756 - Calls to OAuth endpoints are redirected to theZach Copley
login page when a site is in private mode
2010-09-22Merge branch '0.9.x' into activityexportEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-09-21Merge branch 'master' into 0.9.xBrion Vibber
2010-09-21Merge branch 'twitter-avatar'Brion Vibber
2010-09-21Workaround for #2485: in profile output on feeds, fall back to the Twitter ↵Brion Vibber
73x73 avatar instead of going straight to the 96x96 default image on twitter-import profiles.
2010-09-21change the location and title of the feeds sectionEvan Prodromou
2010-09-20Don't spew a notice warning to output while processing logging for PEAR DB ↵Brion Vibber
errors
2010-09-20Clean up notice spew from accessing member variables of null when opening ↵Brion Vibber
the add/edit oauth application form
2010-09-20Ticket #2750: fixes to HTTP caching behavior across login/logout boundariesBrion Vibber
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec * now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed) There'll still be some last-modified stamps that aren't including user info properly, probably.
2010-09-20Fix bug in db queue manager: when receiving an invalid or deleted notice, we ↵Brion Vibber
were running it through the 'temporary fail, release it to try again' path instead of the 'done, discard item' path. Should fix some infinite-loop-of-doom-in-queue cases.
2010-09-17Basic license admin panel (maybe we can make it fancier later)Zach Copley
2010-09-16Explicitly mark a translator note on the command list help message that the ↵Brion Vibber
command names must not be translated
2010-09-15Merge branch '0.9.x' into activityexportEvan Prodromou
2010-09-16Add plural support for minutes/hours/days/months ago.Siebrand Mazeland
Reapply of revised b27882c9166191de4aaea298ba1b1a524cfe9ac7 that was reverted by Brion Vibber in 2d4c0f9a47f6534c578a37abe79670cec699caae.
2010-09-15Revert "Add plural support for minutes/hours/days/months ago." -- currently ↵Brion Vibber
doesn't work and spews error messages This reverts commit b27882c9166191de4aaea298ba1b1a524cfe9ac7.
2010-09-15move useractivitystream class to its own moduleEvan Prodromou
2010-09-15flag to leave out author information in activity outputEvan Prodromou
2010-09-15change user attribute from private to protected so subclasses can use itEvan Prodromou
2010-09-14L10n: Fix punctuation.Siebrand Mazeland
2010-09-13Activity::asString() should format numerical not string timeEvan Prodromou
2010-09-13accept null constructor for ActivityContextEvan Prodromou