summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-14Fix for ticket #2828, part II: apostrophe in site name set in installer ↵Brion Vibber
created a broken config.php. The previous commit fixed the base installer to properly quote its strings when creating config.php... but you'd actually end up with double-escaping if you had magic_quotes_gpc on. Magic quotes are evil and lame, but we gotta deal with em. :P Updated the web installer code to check for magic quotes, and to grab its variables consistently through the same interface.
2010-10-14Fix for ticket #2828: apostrophe in site name set in installer created a ↵Brion Vibber
broken config.php. Now running values through var_export() before putting them into the config.php, ensuring strings will be properly quoted.
2010-10-13ModHelper -> silence only, don't let them sandbox (it's too confusing atm ↵Brion Vibber
without a good audit trail)
2010-10-12Followup to IIS installer tweaks in [9bb48c36]:Brion Vibber
* skip 0-byte config files when initializing, go ahead and redirect to installer if no non-0-byte files * tweak warning on installer.php to let you know if you have a 0-byte config.php that's not writable, as opposed to generally already having a config.php with data in it
2010-10-12Initial version of ModHelper plugin, with basic functionality but the UI ↵Brion Vibber
stripped out until it's easier to get it done. * users need to have 'modhelper' role manually added via userrole.php for now * modhelper users can sandbox/unsandbox and silence/unsilence any user ** note that no new logging has been added for these moderator actions * no user deletion for modhelpers * probably no UserFlags special views for modhelpers
2010-10-07Merge branch 'bitly'Brion Vibber
2010-10-07Add a README for BitlyUrlPluginBrion Vibber
2010-10-07Tweak bit.ly admin panel messages to distinguish the admin settings from ↵Brion Vibber
config.php globals
2010-10-07Drop out the 'allow user override' checkbox on bit.ly admin panel until we ↵Brion Vibber
find a good way to shove the user settings in. :)
2010-10-07Clean up bit.ly admin panel behavior, and hide it from the shorteners list ↵Brion Vibber
if it's not fully configured.
2010-10-07bit.ly admin panel to set the API keys to use.Brion Vibber
2010-10-07Workaround for regression in input validation due to more PCRE oddities. ↵Brion Vibber
Recommend redoing common_validate_utf8() using something more reliable, perhaps. :P
2010-10-07Pull up the guts of my fixed bit.ly plugin from an old work branch (that had ↵Brion Vibber
made other changes we weren't happy with in the plugin management). Now works if given a global API key.
2010-10-07OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry ↵Brion Vibber
shadowing an actual local_group -- this can cause trouble now that we sometimes actually use the uri field for lookups, and leaving the entries around would break updating the table to fill out formerly missing uris, since the unique index entry would already be taken by the bad entry.
2010-10-07Fix regression in OStatus remote group delivery: local group check was bogus ↵Brion Vibber
in updated Ostatus_profile::localGroupFromUrl()
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-05Victorian theme by Michael R. BernsteinBrion Vibber
Includes Linux Libertine font, used under SIL Open Font License.
2010-10-05mnml theme by Michael R. BernsteinBrion Vibber
Includes TeX Gyre Heros font, used under GUST Font License
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-04scripts/fixup_group_uri.php to fill in empty user_group.uri entries; needed ↵Brion Vibber
before changing domain names on sites that are hosting groups for remote users
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-10-04Extra debug helper line in push callbackBrion Vibber
2010-10-04Fix broken code in OStatus feed maint/test scripts (using field name from ↵Brion Vibber
older dev code, would load up wrong record)
2010-10-01NoticeTitle plugin: link the post title to detail view of the postBrion Vibber
2010-10-01Bugfix in FB-sharing header for empty profile avatarBrion Vibber
2010-10-01Better markup for anon fave tallyZach Copley
2010-10-01Merge branch 'master' of gitorious.org:statusnet/mainlineZach Copley
2010-10-01Allow turning off Anonymous Favoring for specific users' noticesZach Copley
2010-10-01Throw in a quick event hook to override the profile list type on showstream ↵Brion Vibber
(should be made more general in future). Replace with a NoticeList to have output include avatar and username -- but CSS still hides them in default theme. Event::addHandler('ShowStreamNoticeList', 'awesome'); function awesome($notice, $action, &$pnl) { $pnl = new NoticeList($notice, $action); return false; }
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 helper metadata on individual notice pages to aid sharing to Facebook ↵Brion Vibber
(use poster's avatar as image, indicate the text content)
2010-09-30ShareNotice plugin -- basic buttons per-notice to share the text & a link to ↵Brion Vibber
the notice on other sites. Default settings list Twitter, Facebook, and Identi.ca as targets. Using icons built-in, and no magic offsite JS or anything so it won't slow down or break if third-party site goes down. Default styles are a little limited, but can be customized in theme should one be so inclined.
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-30GroupFavorited plugin: adds 'Popular' tab to group navigation showing a ↵Brion Vibber
popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
2010-09-30fix commentBrion Vibber
2010-09-30Initial SlicedFavorites plugin to allow for customized variants of 'Popular' ↵Brion Vibber
tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
2010-09-30Forgot to update a call in DisqusPluginZach Copley
2010-09-30Less intrusive insertion of Disqus notice count into notice listsZach Copley
2010-09-30Change Disqus plugin to allow restricting to users with "richedit" roleZach Copley
2010-09-30Merge branch 'anon-fave-plugin'Zach Copley
2010-09-30Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' ↵Brion Vibber
role get the fancy extra title field.
2010-09-30Added an option to TinyMCE plugin to restrict the rich-text editor to users ↵Brion Vibber
who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable.
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-29Merge branch 'anon-fave-plugin' of ↵Zach Copley
gitorious.org:~zcopley/statusnet/zcopleys-clone into anon-fave-plugin
2010-09-29Remove debugging statementsZach Copley
2010-09-29Make createAnonProfile() staticZach Copley
2010-09-29- Lookup anon profiles by ID (safer because they are guranteed to be unique) ↵Zach Copley
and probably faster - Obfuscate the anonymous user session token to make it hard to figure out the profile ID
2010-09-29Ajax update notice tallyZach Copley
2010-09-29Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooksZach Copley