Brion Vibber
01a1e882af
Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.
2010-03-18 17:18:01 -07:00
Zach Copley
e10d023d03
API - handle any exceptions thrown during notice save. The API was
...
occasionally spitting out HTML, which is hard for clients to deal
with.
2010-03-18 15:26:13 -07:00
Zach Copley
c09db79b95
Remove deprecated call-by-reference. Was causing a warning on Dreamhost.
2010-03-18 13:46:11 -07:00
Zach Copley
d1ea448c27
Always output a site logo via /api/statusnet/config.:format (so client devs have something to use)
2010-03-15 18:41:15 -07:00
Brion Vibber
441e52718e
Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone.
...
While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control.
Todo:
* Pretty up the notice on the profile page about the pending delete. Show status?
* Possibly more thorough account disabling, such as disallowing all use for login and access.
* Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.
2010-03-15 16:08:00 -07:00
Zach Copley
40cde2f710
Initial Twitpic-like media upload endpoint /api/statusnet/media/upload
2010-03-15 22:16:33 +00:00
Brion Vibber
e9b671e3af
Consolidate and patch up redirection to remote notices.
...
Now using the correct order consistently (URL, then URI if http/s), and as a niceness measure skipping the redirect if the only URL we have stored is the local one. (Could happen if remote OStatus feed has tag URIs and no alt link.)
2010-03-15 11:38:37 -07:00
Brion Vibber
f72eb17304
Merge commit 'origin/testing' into 0.9.x
2010-03-12 09:41:49 -08:00
Zach Copley
13556e7ba9
Add Atom self link to tag timeline
2010-03-12 04:08:31 +00:00
Zach Copley
d31004653f
Add Atom self link to favorites timeline
2010-03-12 03:42:00 +00:00
Zach Copley
4b41a8ebbf
- Output correct content header for Atom output in mentions timeline
...
- Add self link
2010-03-12 03:27:37 +00:00
Zach Copley
849d0b5dcd
Output Atom self link in home timeline
2010-03-12 03:15:51 +00:00
Zach Copley
0444cc7bfb
Calculate Atom self link for friends timeline
2010-03-12 02:18:53 +00:00
Brion Vibber
b9e9030201
Fixes for password recovery; lookups for unconfirmed addresses were failing or inconsistent (using staticGet with unindexed fields, which would not get decached correctly and could get confused if multiple pending confirmations of different types are around).
...
Also uses updated email functions to include extra headers and ensure the proper address is used.
2010-03-11 18:01:50 -08:00
Zach Copley
d10cb89f6a
- Output correct content type header for public timeline Atom feed
...
- Also calculate Atom link and self links properly
2010-03-12 02:00:53 +00:00
Zach Copley
e1537d8387
More generalized method for calculating Atom rel="self" links
2010-03-12 01:40:52 +00:00
Zach Copley
212b20e876
Add self link to user and group rss2 feeds
2010-03-11 23:43:03 +00:00
Sarven Capadisli
20cb9fa28f
foaf:holdsAccount is deprecated in favour of foaf:account. See
...
http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009903.html
for the news. Patch by Toby Inkster <mail@tobyinkster.co.uk>.
2010-03-11 17:16:37 -05:00
Zach Copley
2a426f24c0
Allow site-specific doc files
2010-03-10 22:27:28 +00:00
Zach Copley
4741683298
Allow site-specific doc files
2010-03-10 22:05:28 +00:00
Brion Vibber
6c4ade4251
Merge branch 'testing' into 0.9.x
2010-03-09 11:27:53 -08:00
Michele
b98f956c6b
API config return textlimit value
2010-03-09 15:39:40 -08:00
Evan Prodromou
0d66dc543d
an otp is a real login
2010-03-08 18:06:21 -05:00
Zach Copley
421041c51a
No need to pass in $this->limit and $this-tag
2010-03-05 16:53:48 -08:00
Zach Copley
d59284d42d
No need to pass in $this->limit and $this-tag
2010-03-05 16:52:15 -08:00
Zach Copley
4ada86560c
Fix undefined variable error and some other cleanup
2010-03-05 16:42:27 -08:00
Christopher Vollick
1a03820628
UserRSS Didn't Use the Tag Propery.
...
This meant that server.com/user/tag/TAG/rss just returned all user data.
That was incorrect.
2010-03-05 16:42:17 -08:00
Zach Copley
f653c3b914
Fix undefined variable error and some other cleanup
2010-03-05 16:40:35 -08:00
Christopher Vollick
43cc24a0cc
UserRSS Didn't Use the Tag Propery.
...
This meant that server.com/user/tag/TAG/rss just returned all user data.
That was incorrect.
2010-03-05 16:29:14 -08:00
Zach Copley
ab8aa67008
Fix for blank RSS1 tag feeds
2010-03-05 16:23:28 -08:00
Zach Copley
f39d3e34bb
Fix for blank RSS1 tag feeds
2010-03-05 16:20:33 -08:00
Rasmus Lerdorf
086d517b87
Fix a few typos
2010-03-04 23:30:04 -05:00
Brion Vibber
f969d6349c
Merge branch 'testing' into 0.9.x
...
Conflicts:
db/08to09.sql
2010-03-04 10:16:59 -08:00
Brion Vibber
9f861e9d89
Fix on sitenotice admin panel save
2010-03-04 06:39:46 -08:00
Brion Vibber
b218aee94e
Merge commit 'origin/testing' into 0.9.x
...
Conflicts:
lib/action.php
lib/adminpanelaction.php
2010-03-04 06:07:28 -08:00
Zach Copley
61de37ec7b
Move snapshot configuration to its own admin panel
...
Turn on with: $config['admin']['panels'][] = 'snapshot';
2010-03-03 16:49:14 -08:00
Brion Vibber
8436306d28
Fix notice warning in RSS friends timeline
2010-03-03 16:38:51 -08:00
Brion Vibber
9fadf8da11
Put all required field setup into AtomUserNoticeFeed and AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.)
...
OStatus now calling the feed classes directly instead of faking a call into the API, should be less flakey.
2010-03-03 16:33:20 -08:00
Brion Vibber
4a2511139e
Initial user role controls on profile pages, for owner to add/remove administrator and moderator options.
...
Buttons need to be themed.
2010-03-03 15:43:49 -08:00
Zach Copley
337b1aaaa1
Site-wide notice text admin panel
2010-03-03 14:37:30 -08:00
Sarven Capadisli
2a96d1d59d
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 16:27:19 -05:00
Sarven Capadisli
6ff994b14c
Fix to group join event position.
2010-03-03 16:25:17 -05:00
Brion Vibber
c04c8ae59a
quick fix: skip notice from unused variable on group atom feed generation
2010-03-03 13:00:09 -08:00
Sarven Capadisli
13713a09bb
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 15:31:44 -05:00
Sarven Capadisli
2ce9ae004d
Added event hooks for before and after user groups content
2010-03-03 15:29:51 -05:00
Zach Copley
09169d6f3c
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Language setting fixes:
2010-03-03 12:11:20 -08:00
Zach Copley
82ea0f7884
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
subscribers list wasn't firing correct events
2010-03-03 12:10:48 -08:00
Brion Vibber
0881eba80e
Language setting fixes:
...
- switch 'en_US' to 'en', fixes the "admin panel switches to Arabic" bug
- tweak setting descriptions to clarify that most of the time we'll be using browser language
- add a backend switch to disable language detection (should this be exposed to ui?)
2010-03-03 12:10:43 -08:00
Zach Copley
2f167f2663
Fix syntax errors
2010-03-03 12:10:21 -08:00
Evan Prodromou
c82efb7fd8
subscribers list wasn't firing correct events
2010-03-03 15:09:07 -05:00
Sarven Capadisli
b65ee23e82
Added event hooks for group subscribe
2010-03-03 12:01:38 -05:00
Brion Vibber
ddf3614c84
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-02 13:38:10 -08:00
Brion Vibber
72460091dd
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-03-02 12:21:48 -08:00
Brion Vibber
6b134ae4c7
Dropped deprecated timestamp-based 'since' parameter for all API methods. 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-02 11:54:02 -08:00
Sarven Capadisli
350e1289af
Added event hook for before and after personal timeline content
2010-03-02 12:33:25 -05:00
Siebrand Mazeland
767d49495d
Add translator documentation
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 17:45:15 +01:00
Siebrand Mazeland
d08fd8254a
Document 404 "Page not found" server error for translators.
2010-03-02 17:30:22 +01:00
Siebrand Mazeland
53ac232f91
Documented all but one UI string in actions/accessadminpanel.php to get a feel on what documenting them in code actually means.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 17:23:40 +01:00
Siebrand Mazeland
284b1dc014
* Change translator documentation using _m() as designed together with Brion
...
* Add more translator documentation
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 16:38:36 +01:00
Brion Vibber
493b5479c1
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
...
Plus misc warnings/notices cleanup in the submission path.
2010-03-01 16:43:36 -08:00
Evan Prodromou
656a977016
remove strict check on OMB exception strings
2010-03-01 18:03:18 -05:00
Evan Prodromou
c7d8641e7d
return correct HTTP status code for OMB errors
2010-03-01 18:03:18 -05:00
Evan Prodromou
1414b6b849
send smaller error pages for OMB API endpoints
2010-03-01 18:03:18 -05:00
Siebrand Mazeland
8e102da76c
Add contextual documentation to allow better localisation.
2010-03-01 22:28:38 +01:00
Siebrand Mazeland
63ff9d86b8
Add content for all 3 Send buttons (2 are the same as far as I can tell)
2010-03-01 15:57:27 +01:00
Siebrand Mazeland
78ea4c711e
Add context for Send button on invite.php
2010-03-01 15:49:53 +01:00
Brion Vibber
9b366547d7
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-26 12:33:50 -08:00
Brion Vibber
88ae7f53bb
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-02-26 12:33:13 -08:00
Christopher Vollick
c95daacfdb
Updated ShowGroup to Resolve Aliases Again.
...
The way we find groups changed with this new Local_group table.
I had to update this too.
2010-02-26 12:30:23 -08:00
Evan Prodromou
fc576562a3
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-26 12:40:59 -05:00
Evan Prodromou
6781f95c73
Merge branch 'blacklistplus' into testing
...
Conflicts:
EVENTS.txt
2010-02-26 12:40:30 -05:00
Brion Vibber
8dfc8f1635
Merge branch 'testing' into 0.9.x
2010-02-26 09:35:28 -08:00
Michele
6ae39da198
Fixed object name
2010-02-26 11:35:55 +01:00
Zach Copley
6cc26a613b
Remove unnecessary requires
2010-02-25 22:08:25 -08:00
Zach Copley
e650794300
Remove unnecessary requires
2010-02-25 22:06:31 -08:00
Zach Copley
c49fbb63c5
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
init_conversation.php script to copy old notice conversations into the conversation table
cache results of webfinger lookups
Parse an hcard for hints, if available
use new hcard method for webfinger
add hkit for hCard parsing
use new dedicated hcard method for Webfinger profile
Add an hcard action
2010-02-25 18:13:34 -08:00
Zach Copley
792f0942f7
Fix atom feed IDs in user and group atom feeds
2010-02-25 18:13:06 -08:00
Evan Prodromou
4aa82f75ed
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-25 18:45:32 -05:00
Evan Prodromou
76216af806
Add an hcard action
...
A dedicated hcard action for users. Our profile page includes
an hcard, but it's so full of other hcards that it's ambiguous which
one is the "real" one. So, this one make sense for meaning, "This is
my hcard."
2010-02-25 18:39:55 -05:00
Brion Vibber
e254c660f6
Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
2010-02-25 15:22:23 -08:00
Brion Vibber
b5b5184c88
OStatus: fix remote groups to work with new user_groups/local_groups split.
...
- fix <activity:subject> generation so we get the profile info (what's available so far)
- use id instead of nickname for group join/leave forms so we can join/leave remote groups
while the rest of the groups UI remains limited to local groups
(plugins are responsible for making sure remote notifications and permission checks are done)
- fix remote notification when joining group through OStatus's remote subscribe form
2010-02-25 13:02:08 -08:00
Evan Prodromou
d53b4b9b84
save mainpage element for groups
2010-02-25 12:05:22 -05:00
Evan Prodromou
e6858d7203
modify group actions so they use Local_group to look up by nickname
2010-02-25 08:44:15 -05:00
Brion Vibber
59be4b8cae
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-24 15:47:51 -08:00
Evan Prodromou
1bffe42413
Drop user-only requirement for subscribe action
...
I removed the check for local users in the subscribe button. I replaced
it with a more specific check for OMB 0.1 remote profiles, which you
can't use with this action.
I also took the opportunity to split the handle() method into
prepare() and handle(), and added PHPCS clean documentation.
2010-02-23 08:38:23 -05:00
Brion Vibber
d410df0406
OStatus group delivery initial implementation.
...
- added rel="ostatus:attention" links for group delivery
- added events for plugins to override group profile/permalink pages
- pulled Notice::saveGroups up to save-time so we can override;
it's relatively cheap and gives us a clean list of target
groups for distrib time even with customized delivery.
- fixed notice::getGroups to return group objects as expected
- added some doc on new parameters to Notice::saveNew
- 'groups' list of group IDs to push to in place of parsing
- messages that come in via PuSH and contain local group targets
are delivered to local group members
- messages that come in via PuSH and contain remote group targets
are delivered to local members of the remote group
Todo:
- handle group posts that only come through Salmon
- handle conflicts in case something comes in both through Salmon and PuSH
- better source verification
- need a cleaner interface to look up groups by URI
- need a way to handle remote groups with conflicting names
2010-02-23 00:44:45 +00:00
Sarven Capadisli
c88507fe11
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-22 17:08:54 +01:00
Evan Prodromou
13ad48fab3
Merge branch 'master' into testing
2010-02-22 11:04:11 -05:00
Evan Prodromou
5a6967db6c
clear the site owner when profile changes
2010-02-22 11:03:56 -05:00
Sarven Capadisli
8ccc9e2c38
Added before and after event hooks for subscriptions content
2010-02-22 17:03:28 +01:00
Brion Vibber
3c61f45de1
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-02-21 18:56:41 -08:00
Brion Vibber
f6ebe81538
Performance fix for FriendFeed sup interface: MySQL query optimizer was doing a table scan on notice; explicit subquery makes it run much more efficiently, only scanning items within the period under consideration. Standard subquery should be PostgreSQL-compatible.
2010-02-21 15:21:18 -08:00
Brion Vibber
85528ccb1f
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-21 11:12:56 -08:00
Brion Vibber
3e7a2a4014
Fix for doc action on systems that return false for globbing in a non-existing dir
2010-02-21 11:11:37 -08:00
Evan Prodromou
a3de4caf49
make sure argument to Fave::addNew() is a profile
2010-02-20 20:31:06 -05:00
Evan Prodromou
f3b08461bd
Change to use TagURI::base() instead of common_config()
...
I changed the way that tag: URIs are minted, so we now use the right
base. Ideally most of these would use HTTP URIs instead, but for
now at least they use the right base.
2010-02-20 13:31:20 -05:00
Evan Prodromou
b0a75a2ab2
replace calls to subs_(un)subscribe_user with Subscription methods
2010-02-19 08:31:20 -05:00
Brion Vibber
5a6cbb248f
Merge branch 'testing' into 0.9.x
2010-02-17 10:14:08 -08:00
Brion Vibber
880acb05b0
OStatus: temporary output mode hack for apitimelineuser until PuSH feed generation is updated to use the shared code instead of output buffering
2010-02-16 22:04:57 +00:00
Brion Vibber
d5cbfe8071
Merge branch 'testing' into 0.9.x
...
Conflicts:
lib/iomaster.php
2010-02-16 09:25:09 -08:00