Age | Commit message (Collapse) | Author |
|
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.
|
|
broken config.php.
Now running values through var_export() before putting them into the config.php, ensuring strings will be properly quoted.
|
|
without a good audit trail)
|
|
* 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
|
|
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
|
|
|
|
|
|
config.php globals
|
|
find a good way to shove the user settings in. :)
|
|
if it's not fully configured.
|
|
|
|
Recommend redoing common_validate_utf8() using something more reliable, perhaps. :P
|
|
made other changes we weren't happy with in the plugin management). Now works if given a global API key.
|
|
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.
|
|
in updated Ostatus_profile::localGroupFromUrl()
|
|
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!
|
|
Includes Linux Libertine font, used under SIL Open Font License.
|
|
Includes TeX Gyre Heros font, used under GUST Font License
|
|
single and double-quoted strings in the terror that is mail.php)
|
|
before changing domain names on sites that are hosting groups for remote users
|
|
updates (%1$s etc)
|
|
|
|
older dev code, would load up wrong record)
|
|
|
|
|
|
|
|
|
|
|
|
(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;
}
|
|
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.
|
|
(use poster's avatar as image, indicate the text content)
|
|
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.
|
|
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.
|
|
popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
|
|
|
|
tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
|
|
|
|
|
|
|
|
|
|
role get the fancy extra title field.
|
|
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.
|
|
|
|
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.
|
|
gitorious.org:~zcopley/statusnet/zcopleys-clone into anon-fave-plugin
|
|
|
|
|
|
and probably faster
- Obfuscate the anonymous user session token to make it hard to figure out the profile ID
|
|
|
|
|