- 25 Feb, 2011 8 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
-
Brion Vibber authored
-
Samantha Doherty authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Zach Copley authored
-
- 24 Feb, 2011 2 commits
-
-
Brion Vibber authored
Unicodize a couple regexes for tags: fixes linking & detection of non-ASCII tags that match the current regexes. (Checks for 'letter' and 'number' characters, underscore, dash, and period.)
-
Brion Vibber authored
replace router regexes with tags with a fixed chunk that takes any non-/ char. This'll let other code decide what's a valid tag.
-
- 22 Feb, 2011 2 commits
-
-
Brion Vibber authored
Changes the replacement of Twitter "entities" from in-place reverse ordering ('to preserve indices') to a forward-facing append-in-chunks that pulls in both the text and link portions, and escapes them all. This unfortunately means first *de*-escaping the < and > that Twitter helpfully adds for us.... and any literal &blah;s that get written. This seems to match Twitter's web UI, however horrid it is.
-
Brion Vibber authored
Partial implementation for ticket #2442: MobileProfile plugin should allow manual switching between regular and mobile rendering modes http://status.net/open-source/issues/2442 Notes: * Mapstraction causes JavaScript errors in XHTML mode, breaking our code if we're run later so the link doesn't work to get back to Desktop. * not 100% sure how safe feature detection is here? * Currently will be useless but visible links if no JS available; need to fall back to server-side for limited browsers
-
- 21 Feb, 2011 11 commits
-
-
Brion Vibber authored
file_quota is adjusted from the defined value to take into account the maximum upload size limits in PHP, or cropped to 0 if uploads are disabled. This can be used by client apps to determine maximum size for an attachment.
-
Brion Vibber authored
Fix ticket #3001: Twitter bridge was replacing original form of @-mentions with canonical form unexpectedly Now using the original text form of @-mentions and #-tags, as in Twitter's own HTMLification. Canonical forms are still used in generating links, where it's polite to match the canonical form.
-
Brion Vibber authored
Search highlighting was being done with a regex on raw HTML text, followed by a second regex undoing replacements within double-quoted attribute values. This broke on imported Twitter messages, as the way we generate the markup uses single quotes on the attributes, which didn't get matched by the second regex. I've replaced this do-then-undo cycle by dividing up the import HTML into freetext spans and tags; the freetext gets replaced, while the tags are left untouched.
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Brion Vibber authored
-
Brion Vibber authored
Fixes for ticket #3052: some commands started triggering when extra text is supposed to suppress them Regressions caused by bad refactoring in commit 21feac3b. Test cases in tests/CommandInterpreterTest.php were made against the pre-refactoring code, and now check out with the fixed code. Failures were caused by not changing logic structure when moving from multiple exit points (each if point would return directly with a null or an object) to setting a result variable and then falling through to a common exit point. Without the if statements being restructured, the result variable would just get overridden by the next case.
-
Brion Vibber authored
-
Brion Vibber authored
Issue #3049 - resync doc/im with the help command text (various additions since doc was last edited)
-
Evan Prodromou authored
-
Evan Prodromou authored
I've extended the rights framework (centering on the Right class and Profile::hasRight()) to cover Web login and API use. This will make it possible to prevent login and API use by users. I added two new Right constants to the Right class: WEBLOGIN and API. I check these rights using Profile::hasRight() when initializing users. If the rights check fails, I throw an exception. I created a new AuthorizationException class for this particular exception, in order to allow a different UI for these kinds of exceptions (or whatever).
-
- 19 Feb, 2011 2 commits
-
-
Zach Copley authored
-
Zach Copley authored
-
- 18 Feb, 2011 12 commits
-
-
Zach Copley authored
* 0.9.x: HTML and style cleanup for EmailSummary plugin.
-
Zach Copley authored
-
Samantha Doherty authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
* 0.9.x: * update translator documentation. * remove superfluous whitespace. * tab to spaces. * add FIXME for undocumented class. * update translator documentation. * remove superfluous whitespace. * L10n updates. * small refactoring in publicrss.php. * remove PHP4-isms Localisation updates from http://translatewiki.net. Double quotes to single quotes. * improve L10n consistency for English. For example proper punctuation for all button and label titles. * fix some i18n bugs (in-message variables). * update/add translator documentation. * remove superfluous whitespace. add path separators for Plugin::path() argument to send email summary to all users on all sites fix indentation in siteemailsummaryhandler fix indentation in sendemailsummary.php fix indentation in Email_summary_status.php fix indentation in EmailSummaryPlugin.php fix indentation in usermailsummaryhandler.php
-
Zach Copley authored
-
Brion Vibber authored
-
- 17 Feb, 2011 3 commits
-
-
Siebrand Mazeland authored
* remove superfluous whitespace. * tab to spaces. * add FIXME for undocumented class.
-
Siebrand Mazeland authored
* remove superfluous whitespace. * L10n updates. * small refactoring in publicrss.php. * remove PHP4-isms
-
Evan Prodromou authored
-