summaryrefslogtreecommitdiff
path: root/classes/Notice.php
AgeCommit message (Collapse)Author
2010-06-07Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openid.php
2010-06-03Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, ↵Brion Vibber
Facebook, RSSCloud, and OStatus checks were enqueued on these when they'd never do anything but churn the queue servers. Notice::isLocal() can replace a number of manual checks for $notice->is_local being LOCAL_PUBLIC or LOCAL_NONPUBLIC.
2010-05-27Assigning my copyrights to the Free Software FoundationCraig Andrews
2010-05-27Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: lib/language.php plugins/OpenID/finishaddopenid.php
2010-05-26Add repeat info to statusnet:notice_info Atom elementZach Copley
2010-05-24Handle funky notice deletion cases more gracefully: if we already have a ↵Brion Vibber
deleted_notice entry, don't freak out when we try to save it again on the second try.
2010-05-18Need to always emit statusnet:notice_info so it's available in profile feedsZach Copley
2010-05-18Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-18Add source link attr to statusnet:notice_info element in Atom output for noticesZach Copley
2010-05-18Refactor and centralize notice source link calculationZach Copley
2010-05-18Add xmlns:statusnet and statusnet:notice_info element to Atom entries for ↵Zach Copley
notices
2010-05-12Need to always emit statusnet:notice_info so it's available in profile feedsZach Copley
2010-05-06Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-06Add source link attr to statusnet:notice_info element in Atom output for noticesZach Copley
2010-05-06Refactor and centralize notice source link calculationZach Copley
2010-05-06Add xmlns:statusnet and statusnet:notice_info element to Atom entries for ↵Zach Copley
notices
2010-04-29Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: index.php
2010-04-23Merge branch 'master' into testingBrion Vibber
2010-04-23Fix to make blowing of replies stream cache more consistent when receiving ↵Brion Vibber
replies. (Was being done at mail notify time instead of at save time for local replies; now moved to reply save time internally so it can't get forgotten)
2010-04-20Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-04-20Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-20Fix email notifications for @-replies that come via OStatus.Brion Vibber
* Moved notification sending from Notice::saveReplies to distrib queue handler, so it'll pull from the reply set we've saved regardless of how we got it. * Set up gettext infrastructure for command-line scripts; gets localization mail notifications etc working from background queues. * Adjusted locale switching: common_switch_locale() works at runtime for bg scripts, forces a message catalog update
2010-04-14Merge branch 'testing' into 0.9.xBrion Vibber
2010-04-14Merge branch 'master' into testingBrion Vibber
2010-04-14Fix for "#foo !foo" in same notice failing during save, causing failout ↵Brion Vibber
before distribution. Move saveGroups after saveTags when saving notices; groups may save additional tags, so need to be moved after so the check for duplicates actually works.
2010-04-14move comment to correct placeBrion Vibber
2010-04-11* DB -> Database in messageSiebrand Mazeland
* some translator documentation added
2010-04-09Fix for conversation check in @-reply notification email; i18n cleanup on ↵Brion Vibber
mail messages: fixed some bad gettext usage, added trans doc comments.
2010-04-09Fix for conversation check in @-reply notification email; i18n cleanup on ↵Brion Vibber
mail messages: fixed some bad gettext usage, added trans doc comments.
2010-04-09Run block checks on remote OStatus repliesBrion Vibber
2010-04-09Run block checks on remote OStatus repliesBrion Vibber
2010-03-23fixup_deletions.php script to look for notices posted by now-deleted ↵Brion Vibber
profiles and remove them.
2010-03-15Blow more timeline caches on notice delete. Fixes paging on public and ↵Brion Vibber
profile timelines after deleting something from the first page.
2010-03-12Scrub all atom output with common_xml_safe_str()Zach Copley
2010-03-12Add id and updated elements to atom sourceZach Copley
2010-03-03Revert "Revert "Show <activity:subject> and no activity actors for user feed""Zach Copley
This reverts commit e2578cfad68c45ca177c51997c4cc7c0abafbd9a.
2010-03-03Use poster's subscribed groups to disambiguate group linking when a remote ↵Brion Vibber
group and a local group exist with the same name. (If you're a member of two groups with the same name though, there's not a defined winner.)
2010-03-02OStatus: save file records for enclosuresBrion Vibber
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error. Issues: * any other links aren't marked and saved * inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't) * if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
2010-03-02Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-02Dropped deprecated timestamp-based 'since' parameter for all API methods. ↵Brion Vibber
When it sneaks in it can cause some very slow queries due to mismatches with the indexing. Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
2010-03-02Revert "Show <activity:subject> and no activity actors for user feed"Evan Prodromou
This reverts commit c25fc8a4b51466f13c41efc0565bf15f78f6cb4d.
2010-03-02don't duplicate title in summary in Atom output per RFC4287 4.2.13Evan Prodromou
2010-03-02Show <activity:subject> and no activity actors for user feedEvan Prodromou
We only need one author for user feeds: the user themselves. So, show the user as the activity:subject, and don't repeat the same activity:actor for every notice unnecessarily.
2010-02-27fix call of common_find_mentions() in Notice::saveReplies()Evan Prodromou
2010-02-27Use notice for context when deciding who @nickname refers toEvan Prodromou
In a federated system, "@nickname" is insufficient to uniquely identify a user. However, it's a very convenient idiom. We need to guess from context who 'nickname' refers to. Previously, we were using the sender's profile (or what we knew about them) as the only context. So, we assumed that they'd be mentioning to someone they followed, or someone who followed them, or someone on their own server. Now, we include the notice information for context. We check to see if the notice is a reply to another notice, and if the author of the original notice has the nickname 'nickname', then the mention is probably for them. Alternately, if the original notice mentions someone with nickname 'nickname', then this notice is probably referring to _them_. Doing this kind of context sleuthing means we have to render the content very late in the notice-saving process.
2010-02-26blow cache on known repliesEvan Prodromou
2010-02-25Add lots of fun avatars to our Atom outputZach Copley
2010-02-25OStatus: save categories from the Atom entry as hashtags.Brion Vibber
2010-02-22Add PoCo namespace to optional ns output in Notice::asAtomEntry()Zach Copley
2010-02-22Merge branch 'rationalize-activity' into testingZach Copley
* rationalize-activity: Move ActivityObject and related stuff to core Add PoCo bits, avatar link, geo point, etc. to person activity obj output