Zach Copley
e307adfbfc
New actions for /statuses/friends and /statuses/followers + social graph methods
2009-09-30 10:22:26 -07:00
Zach Copley
de5ff19713
Moved basic auth stuff into its own classes
2009-09-25 16:58:35 -07:00
Zach Copley
ed9ba9d945
Reorganize, make bare auth work, output If-Modified-Since header
2009-09-24 18:13:46 -07:00
Zach Copley
49b701f9ec
Started refactoring API into individual actions
2009-09-23 13:45:51 -07:00
Craig Andrews
a535ccdc4e
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/common.php
lib/twitter.php
2009-09-02 16:42:15 -04:00
Craig Andrews
6e570a8440
Added 2 new events: StartApiRss and StartApiAtom
2009-08-28 14:42:51 -04:00
Craig Andrews
6ff00c9404
Implement the is_member and membership group api's
2009-08-27 22:55:32 -04:00
Evan Prodromou
a08c76a434
Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
...
Conflicts:
classes/laconica.ini
2009-08-27 14:52:32 -07:00
Craig Andrews
6d60d74093
Display linked oembed resources as enclosures if they are of non-html mime types
2009-08-26 15:40:51 -04:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
4737563b95
a distributed -> the distributed
2009-08-25 18:14:12 -04:00
Evan Prodromou
c8b8f07af1
change Laconica and Control Yourself to StatusNet in PHP files
2009-08-25 18:12:20 -04:00
Evan Prodromou
2d29800b6f
Merge branch 'master' into 0.8.x
...
Conflicts:
lib/mail.php
lib/rssaction.php
lib/twitterapi.php
2009-08-11 10:23:11 -04:00
Zach Copley
9ec022df93
Only populate attachments array element if there are attachments
2009-08-08 00:57:49 +00:00
Zach Copley
348fa35c6b
Also show XML representation of attachments in the API
2009-08-08 00:57:41 +00:00
Craig Andrews
11086c7823
Implemented the list_all and list groups API methods as defined at http://laconi.ca/trac/wiki/ProposedGroupsAPI
...
Made the Autocomplete plugin also autocomplete groups
2009-08-07 18:00:04 -04:00
Craig Andrews
26b608d914
Support the 'lite' parameter to statuses/friends and statuses/followers twitter api methods.
...
http://laconi.ca/trac/ticket/1786
2009-08-06 15:14:27 -04:00
Jeffery To
6c1bd67591
Fixed PHP Notice "Undefined index: enclosures" (and a possible one for 'tags')
2009-08-02 19:38:03 +08:00
Craig Andrews
45ad4cfe72
Added a url field to hold the permalink. I believe this field is very useful for api consumers.
2009-07-30 22:43:07 -04:00
Craig Andrews
ec103b90e3
Implemented the "show" method of the laconica groups api
2009-07-30 22:15:24 -04:00
Craig Andrews
38d70f1386
Add <category> to RSS 2.0, use the same tag finding method for RSS 1.0 as for Atom and RSS 2.0.
...
http://laconi.ca/trac/ticket/864
2009-07-21 18:01:22 -04:00
Zach Copley
44f3f2bd2a
Only create attachment elements if attachment is an enclosure
2009-07-17 14:25:36 -07:00
Zach Copley
9c670ba695
Only populate attachments array element if there are attachments
2009-07-17 12:42:16 -07:00
Zach Copley
baec1320ab
Also show XML representation of attachments in the API
2009-07-17 12:42:05 -07:00
Craig Andrews
75545cdc07
Added attachment information to the json responses
2009-07-15 10:37:50 -04:00
Craig Andrews
593af9feb6
Moved the decision logic as to whether an attachment should be an enclosure to the File class
2009-07-14 13:33:40 -04:00
Toby Inkster
38784141d1
Copy isset($attachment->filename) fix from RSS 1.0 to RSS 2.0 and Atom 1.0 feeds.
2009-07-13 16:56:52 +01:00
Zach Copley
0ac08c1fb3
Make get_group() behave more like get_user()
2009-07-10 18:22:19 -07:00
Craig Andrews
08d50655f3
added group status api, located at /api/statuses/group_timeline/ID.rss
...
http://laconi.ca/trac/ticket/1702
2009-07-10 17:00:27 -04:00
Evan Prodromou
8b65883f9d
cache frequently-used subscriber, subscription, notice and fave count values
2009-07-09 17:28:38 -07:00
Craig Andrews
69574591d0
Notice attachments are enclosures in feeds (Atom, RSS 1.0/RDF, and RSS 2.0).
...
http://laconi.ca/trac/ticket/1690
2009-07-09 13:18:57 -04:00
Zach Copley
a2a4cc35f6
Implement friendships/show API method
2009-07-03 15:42:12 -07:00
Evan Prodromou
aec6456c91
Update copyright dates in files modified in 2009
2009-06-20 16:12:55 -07:00
Evan Prodromou
793a6a1155
change Controlez-Vous to Control Yourself
2009-06-20 16:00:04 -07:00
Zach Copley
7e25a7f3aa
Output XML and JSON error msgs for API calls
2009-06-17 14:32:36 -07:00
Zach Copley
8064397588
Ticket #1611 and a bunch of code cleanup
2009-06-12 01:31:22 -07:00
Dan Moore
6658e2a2ee
Handle the ways Twitter accepts passing the user in the query string.
2009-06-04 17:57:03 -04:00
Zach Copley
78f8b91a13
Ticket #1568 - API should return full user objects
2009-05-29 19:23:53 -07:00
Dan Moore
90fb7be99a
Bringing the presentation of boolean variables (favorited, truncated, profile_background_tile) and the result from friendships/exist in JSON results from the Twitter Compatible API in line with what the real Twitter API does.
...
Currently, laconica returns text strings enclosed in quotes instead of bare Javascript booleans. This change fixes that.
See http://laconi.ca/trac/ticket/1326 for one open issue related to this.
2009-04-18 15:33:36 -04:00
Zach Copley
4d0e4f733b
Make API dates more compatible with Twitter - ticket 1432
2009-04-16 14:40:57 -07:00
Evan Prodromou
3ef4f251ac
One function for producing Atom entry for a Notice
...
Took the various places that we create an atom entry for a notice, and
jammed them together into one function of the notice class, and then
used that function. Also, added Atom threading extension and
categories for hashtags.
2009-03-22 16:58:38 -04:00
Zach Copley
91980c73a7
Updates to the API to improve Atom feeds
2009-03-10 16:15:57 -07:00
Zach Copley
b1f337fe01
First crack at Twitter-like JSON search results for the API
2009-03-06 13:33:47 -08:00
Zach Copley
36bb33fb1d
Made /api/account/verify_credentials.format return an extended user object. Updates to status and user API objects.
2009-03-04 16:17:40 -08:00
Evan Prodromou
343cd6f205
Move common_avatar_* functions to Avatar
...
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Zach Copley
0ef33663ce
Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunk
2009-01-23 01:20:00 -08:00
Zach Copley
b13374faa5
Bring the Twitter compatible API inline with new uiredesign stuff
2009-01-23 01:19:19 -08:00
Evan Prodromou
a7c85bebd5
Merge branch 'master' of /var/www/mublog
...
Conflicts:
actions/api.php
actions/deletenotice.php
actions/recoverpassword.php
actions/remotesubscribe.php
actions/tag.php
actions/tagrss.php
actions/twitapiaccount.php
actions/twitapiusers.php
classes/Notice.php
classes/User.php
lib/common.php
lib/language.php
lib/subs.php
lib/twitterapi.php
lib/util.php
scripts/inbox_users.php
scripts/update_translations.php
Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
Evan Prodromou
0f8b902004
Revert "Twitter-compatible API - update verify_credentials to return profile"
...
This reverts commit b801f73b1f
.
Twhirl assumes we return the old kind of results, so we have to do that.
2009-01-08 16:15:08 -05:00