Age | Commit message (Collapse) | Author |
|
|
|
|
|
Conflicts:
classes/Memcached_DataObject.php
|
|
notice_conversation_created_id_idx index on notice, replacing more limited notice_conversation_idx
|
|
notice_repeat_of_created_id_idx index to replace notice_repeatof_idx
|
|
that's not there. use the limit var which is there instead
|
|
Notice::addSinceId() and Notice::addMaxId()
|
|
building where clauses for since_id/max_id parameters. Can override the field names from 'id' and 'created'.
|
|
|
|
given notice, even if it's been deleted. To be used for converting since_id/max_id processing to use timestamp sorting internally.
|
|
|
|
|
|
|
|
Conflicts:
README
actions/hostmeta.php
classes/File_redirection.php
lib/common.php
lib/designsettings.php
lib/router.php
lib/util.php
lib/xmppmanager.php
plugins/OStatus/OStatusPlugin.php
|
|
|
|
|
|
Activity::asString()
We had two ways to generate an activity entry from a notice; one through
Notice::asAtomEntry() and one through Notice::asActivity() and
Activity::asString(). The code paths had already diverged somewhat. I
took the conditions that were in Notice::asAtomEntry() and made sure
they were replicated in the other two functions. Then, I rewrote
Notice::asAtomEntry() to use the other two functions instead.
This change passes the ActivityGenerationTests unit tests, but there
may be some other stuff that's not getting covered.
|
|
in non-web channels
common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc.
Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that.
Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little.
Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
|
|
mentioned URL links for attachment info (oEmbed lookups) and dereferencing of redirects that we didn't have shortened ourselves.
This option may be useful for intranet sites that don't have direct access to the internet, as they may be unable to successfully fetch those resources.
|
|
Conflicts:
actions/apistatusesshow.php
actions/apitimelineuser.php
|
|
|
|
prolific posters
The old code attempted to compare the value of the notice.created field against now() directly, which tends to explode in our current systems. now() comes up as the server/connection local timezone generally, while the created field is currently set as hardcoded UTC from the web servers. This would lead to breakage when we got a difference in seconds that's several hours off in either direction (depending on the local timezone). New code calculates a threshold by subtracting the number of seconds from the current UNIX timestamp and passing that in in correct format for a simple comparison. As a bonus, this should also be more efficient, as it should be able to follow the index on profile_id and created.
|
|
|
|
|
|
|
|
updates (%1$s etc)
|
|
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
|
|
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.
|
|
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.
|
|
* whitespace and indentation updates
|
|
Conflicts:
plugins/OStatus/OStatusPlugin.php
|
|
|
|
blockee if present; also cleaning up inbox delivery to apply the block checks more consistently, instead of just to group posts.
|
|
|
|
|
|
Conflicts:
EVENTS.txt
plugins/TwitterBridge/daemons/twitterstatusfetcher.php
plugins/TwitterBridge/twitterbasicauthclient.php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options; default empty vars weren't being set.
|
|
style lead to trying to save a reply entry twice).
|
|
|
|
Conflicts:
classes/Notice.php
|
|
|