Brion Vibber
9b1b9b711b
Poking around at import funcs...
2010-09-21 15:24:14 -07:00
Craig Andrews
2db8aa3ec3
Do not allow blank passwords when authenticating against LDAP.
2010-09-21 18:06:24 -04:00
Craig Andrews
8d019c03ee
Do not allow blank passwords when authenticating against LDAP.
2010-09-21 18:05:18 -04:00
Brion Vibber
05af14e1ca
YammerImport: initial processing code for users, groups, and messages
2010-09-21 14:56:20 -07:00
Brion Vibber
14a3697a61
Beginning stub of Yammer message->notice import
2010-09-21 13:56:30 -07:00
Brion Vibber
025184ce75
Split SN_YammerClient out to own class file
2010-09-21 13:29:44 -07:00
Brion Vibber
324fada5ea
initial work on yammer importer code
2010-09-21 13:13:37 -07:00
Brion Vibber
42dd460d3b
Merge branch 'master' into 0.9.x
2010-09-21 12:48:16 -07:00
Evan Prodromou
78ed0348b0
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-09-21 14:07:48 -04:00
Evan Prodromou
f7ec40fa42
make some static functions public for OStatus_profile
2010-09-21 06:13:19 -04:00
Brion Vibber
f9e04993dd
Bump up HTTP timeout for OStatus remote-tests.php to 60 seconds; when running without queues and with only bcmath, salmon key generation is absurdly slow.
2010-09-20 16:26:50 -07:00
Brion Vibber
64cdbe6c55
Ticket #2750 : fixes to HTTP caching behavior across login/logout boundaries
...
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec
* now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout
For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed)
There'll still be some last-modified stamps that aren't including user info properly, probably.
2010-09-20 13:42:58 -07:00
Siebrand Mazeland
10f6e14134
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2010-09-20 21:12:56 +02:00
Siebrand Mazeland
bccbe8f519
* i18n/L10n update.
...
* superfluous whitespace removed.
2010-09-20 21:12:43 +02:00
Siebrand Mazeland
a58877a2f8
* i18n/L10n update.
...
* added onPluginVersion().
* superfluous whitespace removed.
2010-09-20 21:12:07 +02:00
Siebrand Mazeland
5cc08ccd07
Superfluous whitespace removed.
2010-09-20 21:11:05 +02:00
Brion Vibber
a3de417ca5
DirectionDetector plugin: tabs to spaces
2010-09-20 12:02:04 -07:00
Brion Vibber
d055b63187
DirectionDetector plugin: cleanup on reference usage & code comments.
...
Changed getClearText() to return its value instead of changing the input to keep things clearer to maintainers.
2010-09-20 12:00:39 -07:00
Siebrand Mazeland
500f8e5a87
* i18n/L10n updates.
...
* remove superfluous whitespace.
2010-09-20 20:54:30 +02:00
Brion Vibber
2475e25e78
Update DirectionDetector plugin to 0.2.0 from everplays
2010-09-20 11:49:39 -07:00
Siebrand Mazeland
e0952bf56b
Superfluous whitespace removed.
2010-09-20 20:40:55 +02:00
Siebrand Mazeland
c0bc3b3042
Superfluous whitespace removed.
2010-09-20 20:39:28 +02:00
Siebrand Mazeland
b4887a0756
Add FIXME for bad message implementation.
2010-09-20 20:00:33 +02:00
Siebrand Mazeland
9679467201
Add onPluginVersion()
2010-09-20 19:59:13 +02:00
Siebrand Mazeland
dfa164069d
Superfluous whitespace removed.
2010-09-20 19:46:01 +02:00
Siebrand Mazeland
f975c17329
Add onPluginVersion()
2010-09-20 19:45:43 +02:00
Siebrand Mazeland
3005f26aa2
Add onPluginVersion()
2010-09-20 19:42:56 +02:00
Siebrand Mazeland
2236e2eaf0
Remove superfluous whitespace.
2010-09-20 19:38:36 +02:00
Siebrand Mazeland
7f3731e2ba
Add onPluginVersion()
2010-09-20 19:38:00 +02:00
Siebrand Mazeland
a4a39a2cc3
FIx inconsistencies in onPluginVersion()
2010-09-20 19:37:43 +02:00
Siebrand Mazeland
667cfcc84a
* add onPluginVersion()
...
* remove superfluous whitespace.
2010-09-20 19:36:09 +02:00
Siebrand Mazeland
c932c0fdc1
Update pot files for plugins.
2010-09-19 17:44:29 +02:00
Siebrand Mazeland
74785c64f8
* L10n i18n update
...
* add translator hints
* update whitespace
* added a bunch of @todos.
2010-09-19 16:32:19 +02:00
Siebrand Mazeland
ecafae8472
* Remove trailing newline in e-mail message.
...
* Superfluous whitespace removed.
2010-09-19 15:52:53 +02:00
Siebrand Mazeland
5a6f616206
* i18n/L10n update
...
* translator comments added
* remove superfluous whitespace
2010-09-19 15:17:36 +02:00
Siebrand Mazeland
8dafb4c612
Add pot files.
2010-09-19 00:26:47 +02:00
Siebrand Mazeland
cf3f693687
Remove superfluous whitespace.
2010-09-19 00:25:52 +02:00
Siebrand Mazeland
8135f7d960
Update pot files for plugins.
2010-09-19 00:24:48 +02:00
Siebrand Mazeland
f1d78942b3
L10n updates.
2010-09-19 00:23:10 +02:00
Siebrand Mazeland
53cfa5349f
* L10n update
...
* superfluous whitespace removed.
2010-09-19 00:20:16 +02:00
Siebrand Mazeland
1564b6aa49
* L10n update
...
* remove superfluous whitespace
2010-09-19 00:19:02 +02:00
Siebrand Mazeland
8b44063ca1
* L10n update
...
* superfluous whitespace removed
2010-09-19 00:17:24 +02:00
Siebrand Mazeland
159e3e7b71
Fix typo
2010-09-19 00:13:06 +02:00
Siebrand Mazeland
02299d5bd7
* i18n/L10n updates.
...
* add FIXMEs for bad i18n.
* add translator hints.
2010-09-19 00:06:21 +02:00
Siebrand Mazeland
16d234f9af
Remove superfluous whitespace
2010-09-18 23:49:49 +02:00
Siebrand Mazeland
cc62afe5b9
* i18n/L10n updates
...
* translator hints added
* superfluous whitespace removed
2010-09-18 22:31:41 +02:00
Siebrand Mazeland
a7fca907dc
DB -> database
2010-09-18 21:27:29 +02:00
Siebrand Mazeland
ba6538ed78
* i18n/L10n updates
...
* whitespace updates.
2010-09-18 17:45:18 +02:00
Siebrand Mazeland
1c5e00df30
Fix typo.
2010-09-18 17:16:48 +02:00
Siebrand Mazeland
cfe60815bc
Remove superfluous whitespace.
2010-09-18 17:14:00 +02:00
Siebrand Mazeland
326e351d44
Fix typo.
2010-09-18 15:38:15 +02:00
Siebrand Mazeland
52ccc8e521
* update L10n
...
* remove superfluous whitespace
2010-09-18 15:26:48 +02:00
Siebrand Mazeland
edb411b4ae
* L10n updates and translator documentation added.
...
* superfluous whitespace removed.
2010-09-18 15:23:17 +02:00
Siebrand Mazeland
34f95c26fd
* FIXME/CHECKMEs added for (possible) bad i18n
...
* translator hints added
* superfluous whitespace removed
2010-09-18 15:10:49 +02:00
Siebrand Mazeland
977472bcf6
remove superfluous whitespace
2010-09-18 14:39:06 +02:00
Siebrand Mazeland
09c99461e5
* update L10n
...
* remove superfluous whitespace
2010-09-18 14:35:04 +02:00
Siebrand Mazeland
03e600b797
Update i18n/L10n
2010-09-18 14:31:03 +02:00
Siebrand Mazeland
f8e91ab33f
Add translator hints.
2010-09-18 12:05:27 +02:00
Siebrand Mazeland
26a9963dad
Update L10n.
2010-09-18 11:52:35 +02:00
Siebrand Mazeland
1ee1f6621f
* update i18n/L10n
...
* remove superfluous whitespace
2010-09-18 11:50:27 +02:00
Siebrand Mazeland
f0716819ec
* update i18n/L10n
...
* remove superfluous whitespace
2010-09-18 11:45:50 +02:00
Siebrand Mazeland
2d119df6d3
* update i18n/L10n
...
* remove superfluous whitespace
2010-09-18 11:43:17 +02:00
Siebrand Mazeland
b99b0555fd
Update L10n.
2010-09-18 11:36:40 +02:00
Siebrand Mazeland
11a98ea41f
* L10n update
...
* superfluous whitespace removed.
2010-09-18 11:27:37 +02:00
Siebrand Mazeland
eed0b24f23
* i18n/L10n updates
...
* superfluous whitespace removed
2010-09-18 11:25:11 +02:00
Siebrand Mazeland
596d2c212a
Update i18n/L10n.
2010-09-18 10:41:13 +02:00
Siebrand Mazeland
90ce201684
Update L10n.
2010-09-18 10:32:54 +02:00
Siebrand Mazeland
14fa758983
Update L10n
2010-09-18 10:30:45 +02:00
Siebrand Mazeland
ca3d803f1d
Update i18n/L10n.
2010-09-18 10:25:13 +02:00
Brion Vibber
89c561c9cf
Ticket #2731 : Fix for regression in posting to remote groups (regression in 2d4e0693c8
)
...
Changes in 2d4e0693c8
changed Ostatus_profile::filterReplies() (which sorts out the local, remote, and group recipients on incoming remote messages) from checking for remote profiles with a safe call to Ostatus_profile::staticGet() to calls through Ostatus_profile::ensureProfileURL() and Ostatus_profile::ensureWebfinger(), which throw exceptions and thus abort processing.
Since this was done before checking for local groups, the filter would fail when the ensure* functions determined it was looking at a local group and rightfully refused to create a remote group profile for it.
Changing the calls to the ensure* functions was done so we can record remote reply recipients for future reply-to-reply processing (the staticGet() call was a cheaper way to do a lookup when we knew we only actually had to process groups that somebody signed up to); most important fix is simply to actually check for the exception! :)
Here I'm changing the order of processing so we do the local group lookup first -- where it's nice and safe -- and then when we do the remote checks, we'll go ahead and gracefully skip that entry if the full remote lookup fails, so we'll still process any following recipients.
2010-09-16 14:50:23 -07:00
Brion Vibber
097d0bd2fa
Ticket #2731 : Fix for regression in posting to remote groups (regression in 2d4e0693c8
)
...
Changes in 2d4e0693c8
changed Ostatus_profile::filterReplies() (which sorts out the local, remote, and group recipients on incoming remote messages) from checking for remote profiles with a safe call to Ostatus_profile::staticGet() to calls through Ostatus_profile::ensureProfileURL() and Ostatus_profile::ensureWebfinger(), which throw exceptions and thus abort processing.
Since this was done before checking for local groups, the filter would fail when the ensure* functions determined it was looking at a local group and rightfully refused to create a remote group profile for it.
Changing the calls to the ensure* functions was done so we can record remote reply recipients for future reply-to-reply processing (the staticGet() call was a cheaper way to do a lookup when we knew we only actually had to process groups that somebody signed up to); most important fix is simply to actually check for the exception! :)
Here I'm changing the order of processing so we do the local group lookup first -- where it's nice and safe -- and then when we do the remote checks, we'll go ahead and gracefully skip that entry if the full remote lookup fails, so we'll still process any following recipients.
2010-09-16 14:43:27 -07:00
Evan Prodromou
670ad53215
Merge branch '0.9.x' into activityexport
2010-09-15 23:31:20 -04:00
Brion Vibber
95b534c5ce
Move standalone plugin files into subdirectories so they can have locale data, etc added to them at leisure.
2010-09-15 14:10:18 -07:00
Evan Prodromou
b2abae433d
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-09-15 15:57:41 -04:00
Siebrand Mazeland
db1d348135
Update/add pot files for plugins.
2010-09-15 01:16:45 +02:00
Siebrand Mazeland
987651c8a4
* i18n/L10n updates
...
* superfluous whitespace removed
2010-09-14 21:45:13 +02:00
Siebrand Mazeland
04b7af4620
* i18n/L10n updates
...
* superfluous whitespace removed
2010-09-14 21:33:57 +02:00
Evan Prodromou
a881ce23e7
note on why we don't use Group_member::asActivity() in OStatusPlugin
2010-09-14 11:02:54 -04:00
Evan Prodromou
00c4662ee4
add a link to cometd.org in Comet plugin README
2010-09-14 10:41:35 -04:00
Brion Vibber
0021c16bd1
Declare public options on DisqusPlugin to avoid notice warnings on access if not set.
2010-09-13 12:06:10 -07:00
Evan Prodromou
d9b959fc64
move code for making activities from OStatus plugin to Subscription and Fave classes
2010-09-13 11:44:20 -04:00
Evan Prodromou
9aadd3cb42
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-09-13 09:29:32 -04:00
Siebrand Mazeland
a9fad9a7ac
Add translator hint.
2010-09-12 17:08:49 +02:00
Brion Vibber
f17512cfe6
Catch exceptions during SubMirror mirror attempt; log & skip that one if found.
...
Should avoid things like RequireValidatedEmailPlugin causing infinite retry loops if the mirror-er isn't validated yet.
2010-09-10 11:50:19 -07:00
Evan Prodromou
cfcb860317
use capturing parens for matching at-mentions in twitterstatusfetcher
2010-09-10 09:32:56 -04:00
Evan Prodromou
262eb7120f
make our own twitter links if Twitter doesn't give us entities
2010-09-10 09:32:39 -04:00
Evan Prodromou
398df867de
use capturing parens for matching at-mentions in twitterstatusfetcher
2010-09-10 09:21:01 -04:00
Evan Prodromou
deb8f2a38b
make our own twitter links if Twitter doesn't give us entities
2010-09-10 09:10:53 -04:00
Evan Prodromou
4419e43f7f
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
EVENTS.txt
plugins/TwitterBridge/daemons/twitterstatusfetcher.php
plugins/TwitterBridge/twitterbasicauthclient.php
2010-09-09 15:01:03 -04:00
Evan Prodromou
42f1ec85ea
change the event we use for deleting a linked status on Twitter
2010-09-08 16:40:37 -04:00
Evan Prodromou
e40ed1fd56
move notice_to_status initialization code to run-once script
2010-09-08 16:10:07 -04:00
Brion Vibber
c758b2b000
Merge branch 'testing' into 0.9.x
2010-09-08 11:48:09 -07:00
Brion Vibber
7407754c27
Merge branch 'master' into testing
2010-09-08 11:47:44 -07:00
Brion Vibber
f2574fdd01
Fix for #2663 : fix for original/96px-size avatars getting saved with bad permissions, causing failure to see images if background queues are different user from web server.
...
The original-size file is now forced to 0644 (all-readable), which should help. Not sure this is 100% ideal, but it's better than 0600!
(The other sizes were being created in other code and had sane read perms already.)
Watch out for similar issues in Twitter bridge etc; avatar import code should get cleaned up and consolidated.
2010-09-07 16:52:02 -07:00
Brion Vibber
d470c007fc
Quick fix for #2659 : unable to login with Livejournal OpenID
...
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body).
Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;)
GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page.
Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET.
Tested against providers:
* LiveJournal
* Google
* LaunchPad
* identi.ca
2010-09-07 16:22:51 -07:00
Brion Vibber
51b272d078
Merge branch 'openid-fix' into 0.9.x
2010-09-07 16:20:27 -07:00
Brion Vibber
961aba68fc
Quick fix for #2659 : unable to login with Livejournal OpenID
...
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body).
Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;)
GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page.
Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET.
Tested against providers:
* LiveJournal
* Google
* LaunchPad
* identi.ca
2010-09-07 16:15:32 -07:00
Evan Prodromou
5c98dfd58c
text substitution is Unicode-aware for twitterstatusfetcher
2010-09-07 15:54:06 -04:00
Evan Prodromou
2d18963b4c
Fix pkeyget call
...
Fix the pkeyget call in Twitter_synch_Status
2010-09-07 15:34:10 -04:00
Evan Prodromou
b6440a206d
staticGet -> pkeyGet in Twitter_synch_status
2010-09-07 15:29:36 -04:00
Craig Andrews
6f95ccd37d
Create Account Manager plugin implementing the Account Management specification
...
Add Account Manager support to the OpenID plugin
2010-09-07 13:45:52 -04:00
Craig Andrews
8d54809c35
move xrd and hostmeta out of the OStatus plugin and into core
...
add event for setting up hostmeta, and use them in the OStatus plugin
2010-09-07 13:45:52 -04:00
Craig Andrews
3dd734b2c3
Remove CSRF protection from username/password login and from OpenID login.
2010-09-07 13:45:52 -04:00
Evan Prodromou
d37f0da077
debug statements for setting/getting last id
2010-09-07 11:53:26 -04:00
Evan Prodromou
9793e4ceb4
Store foreign ID for synch info, not user ID
2010-09-07 10:53:11 -04:00
Evan Prodromou
21bea14140
remove data dump of retrieved statuses
2010-09-07 04:42:23 -04:00
Evan Prodromou
8facfdcfee
Correct DB_DataObject constant in Twitter_synch_status
2010-09-07 04:35:14 -04:00
Evan Prodromou
98e9fa19c8
Missing comma in column list in Twitter_synch_status
2010-09-07 04:33:28 -04:00
Evan Prodromou
49af35b44d
add modified column to twitter_synch_status
2010-09-07 04:32:01 -04:00
Evan Prodromou
e53e152d6f
use and save since_id parameter for home_timeline
2010-09-07 04:22:55 -04:00
Evan Prodromou
86b6d7b722
save synch status for different timelines
2010-09-07 04:17:36 -04:00
Evan Prodromou
a46ba0b548
save Twitter mentions as StatusNet replies
2010-09-07 04:00:59 -04:00
Evan Prodromou
c2c6acbfd2
add back in # and @ for links
2010-09-07 04:00:59 -04:00
Evan Prodromou
2de6d0b03d
add Twitter-approved links to Twitter statuses
2010-09-07 04:00:59 -04:00
Evan Prodromou
28fecf70b9
better handling of params in oauthget
2010-09-07 04:00:59 -04:00
Evan Prodromou
a844aaaea6
better param handling in hometimeline
2010-09-07 04:00:59 -04:00
Evan Prodromou
86d37ba59c
include entities in the results of home_timeline
2010-09-07 04:00:59 -04:00
Evan Prodromou
b059a19e0f
delete Twitter notice if it was posted from here
2010-09-07 04:00:59 -04:00
Evan Prodromou
ba8a24073f
Notify Twitter when StatusNet user faves/disfaves a Twitter notice
2010-09-07 04:00:59 -04:00
Evan Prodromou
5944fe57e6
using null variable in twitter_status_id()
2010-09-07 04:00:59 -04:00
Evan Prodromou
a5554bc11e
check status_id before trying to retweet it
2010-09-07 04:00:59 -04:00
Evan Prodromou
702d36257c
truncate retweeted stuff if it's too long
2010-09-07 04:00:58 -04:00
Evan Prodromou
9847bffe99
correctly mark repeats from Twitter as non-local
2010-09-07 04:00:58 -04:00
Evan Prodromou
e20dc9fec3
correctly check for local notice to status mappings when notice originated here
2010-09-07 04:00:58 -04:00
Evan Prodromou
df88624d49
use bigint for status_ids
2010-09-07 04:00:58 -04:00
Evan Prodromou
a9bb1c7528
debug output when saving new mapping
2010-09-07 04:00:58 -04:00
Evan Prodromou
d986537c43
do a uniqueness check before saving new notice-to-status mapping
2010-09-07 04:00:58 -04:00
Evan Prodromou
299da9e462
SQL syntax error when initializing notice_to_status table
2010-09-07 04:00:58 -04:00
Evan Prodromou
6c7262c8ca
Delete Notice_to_status when a notice is deleted
2010-09-07 04:00:58 -04:00
Evan Prodromou
e9e06879bb
use Notice_to_status to check for duplicates
2010-09-07 04:00:58 -04:00
Evan Prodromou
a1981770ce
Save notice-to-status mapping in its own table
...
Introduce a table mapping notices to Twitter statuses. Initialize
this table at checkSchema() time. Save the mapping when we push
or pull statuses. Use the table to determine if a notice has a
Twitter equivalent.
2010-09-07 04:00:58 -04:00
Evan Prodromou
17a16026ff
add in_reply_to_status_id if notice is from twitter
2010-09-07 04:00:58 -04:00
Evan Prodromou
928239ecf8
do our own repeating so we can pass in a uri
2010-09-07 04:00:58 -04:00
Evan Prodromou
1bf4972cc0
remove require_once for disappeared TwitterBasicAuthClient
2010-09-07 04:00:57 -04:00
Evan Prodromou
23dfadd9a6
remove basic auth code for Twitter since it's no longer supported
2010-09-07 04:00:57 -04:00
Evan Prodromou
e45b6df419
use home_timeline instead of friends_timeline
2010-09-07 04:00:57 -04:00
Evan Prodromou
a8c90d0243
switch twitterstatusfetcher from friends_timeline to home_timeline
2010-09-07 04:00:57 -04:00
Evan Prodromou
1a54291cc7
debug code to dump new status data
2010-09-07 04:00:57 -04:00
Evan Prodromou
184ee7fc1f
move inbox insert code to status saver main loop
2010-09-07 04:00:57 -04:00
Evan Prodromou
20f6ea4840
some info notices in twitter status fetch for repeats and replies
2010-09-07 04:00:57 -04:00
Evan Prodromou
5651f79466
if something's a retweet, save it as a repeat in bridge
2010-09-07 04:00:57 -04:00
Evan Prodromou
d6719760d6
do a real retweet for a local repeat
2010-09-07 04:00:57 -04:00
Evan Prodromou
2b56d3b534
push notices through the bridge if they're in reply to a twitter notice
2010-09-07 04:00:57 -04:00
Evan Prodromou
4d70ba9597
save reply status for Twitter notices
2010-09-07 04:00:57 -04:00
Evan Prodromou
ed99fd51e8
don't save statuses from protected users
2010-09-07 04:00:57 -04:00
Evan Prodromou
86a702953a
Merge branch '0.9.x' into 1.0.x
2010-09-06 10:12:17 -04:00
Evan Prodromou
a319b40c97
common_cache_key() -> Cache::key()
2010-09-06 10:07:43 -04:00
Evan Prodromou
e42d2124a3
common_keyize() -> Cache::keyize()
2010-09-06 10:03:51 -04:00
Evan Prodromou
8f81762d68
common_memcache() => Cache::instance()
2010-09-06 09:56:45 -04:00
Craig Andrews
6fe2429c41
Fix syntax error
2010-09-05 17:31:46 -04:00
Sean Corbett
1b601160f4
Changes to only display currently viewed profile's pictures.
2010-09-05 14:16:46 -04:00
Sean Corbett
2f06e29042
Merge branch 'master' of git://140.232.178.237/home/ian/public_html/gnu-social
2010-09-05 13:20:46 -04:00
Sean Corbett
3b0e5ae94a
Added additional author info because I like to feel important ;)
2010-09-05 13:20:27 -04:00
Ian Denhardt
fc131c2fb6
Users now post photos to separate albums in the DB (still need to display them separately.)
2010-09-05 13:19:15 -04:00
Sean Corbett
cc18dcb82d
Rough draft of the photo album class to control photo ownership / permissions.
2010-09-04 22:14:49 -04:00
Sean Corbett
a8e74efb01
Added gallery links to previous / next pages.
2010-09-04 18:21:03 -04:00
Ian Denhardt
9c24236b59
getting photos by page is now static.
2010-09-04 17:51:17 -04:00
Ian Denhardt
70c1a9a506
Photo Galleries now actually use the database.
2010-09-04 17:48:12 -04:00
Sean Corbett
7e8ff72c0b
Quick function to get an array of thumbnails for a gallery page.
2010-09-04 17:35:37 -04:00
Ian Denhardt
3da5dccce6
Got photos displaying in the feed *the right way*
2010-09-03 23:00:34 -04:00
Craig Andrews
c54ef9b8b6
is_otr -> isOtr
2010-09-03 17:50:29 -04:00
Craig Andrews
d68914e4f3
is_autoreply -> isAutoreply
2010-09-03 17:50:29 -04:00
Craig Andrews
9ccf65a311
get_user -> getUser
2010-09-03 17:50:29 -04:00
Craig Andrews
054111bb54
add_notice -> addNotice
2010-09-03 17:50:29 -04:00
Craig Andrews
a3725de47b
handle_incoming -> handleIncoming
2010-09-03 17:50:29 -04:00
Craig Andrews
671b0f4cd9
format_notice -> formatNotice
2010-09-03 17:50:29 -04:00
Craig Andrews
a70cceaddd
send_confirmation_code -> sendConfirmationCode
2010-09-03 17:50:28 -04:00
Craig Andrews
1eccd2a4bd
send_from_site -> sendFromSite
2010-09-03 17:50:28 -04:00
Craig Andrews
f038eacca4
enqueue_incoming_raw -> enqueueIncomingRaw
2010-09-03 17:50:28 -04:00
Craig Andrews
e7a026091c
enqueue_outgoing_raw -> enqueueOutgoingRaw
2010-09-03 17:50:28 -04:00
Craig Andrews
b05ab5fc85
daemon_screenname -> daemonScreenname
2010-09-03 17:50:28 -04:00
Craig Andrews
764e0ab962
receive_raw_message -> receiveRawMessage
2010-09-03 17:50:28 -04:00
Craig Andrews
80176b0b2c
send_notice -> sendNotice
2010-09-03 17:50:28 -04:00
Craig Andrews
6a848bcc8a
send_message -> sendMessage
2010-09-03 17:50:28 -04:00
Brion Vibber
6786bbcfbf
Drop RSSCloud queue items if the notice has a bogus profile, rather than attempting to rerun it due to the initial erroring-out. That's not a recoverable error
2010-09-03 12:34:05 -07:00
Brion Vibber
43b0c65a86
Fix output bug in DisqusPlugin -- 'Comments' link contents was in attributes instead of comments, which broke output and spewed errors
2010-09-03 11:57:33 -07:00
Evan Prodromou
4aac47de03
syntax error in exception string in discovery.php
2010-09-03 01:41:01 -04:00
Evan Prodromou
326258bfef
Merge branch '0.9.x' into 1.0.x
2010-09-02 22:57:37 -04:00
Siebrand Mazeland
1bfbe9badf
* i18n/L10n updates and FIXMEs added
...
* whitespace fixes
2010-09-03 01:35:04 +02:00
Brion Vibber
2196d00b1b
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/command.php
2010-09-02 15:04:25 -07:00
Brion Vibber
e365e709c5
Merge branch 'master' into testing
2010-09-02 14:58:11 -07:00
Evan Prodromou
925381707b
show notice title on shownotice page
2010-09-02 17:16:10 -04:00
Brion Vibber
c24458a9f0
Ticket #2638 : allow themes to specify a base theme to load with 'include' setting in a theme.ini file
2010-09-02 14:11:52 -07:00
Evan Prodromou
82b1d6daef
Merge branch 'swat0' into 0.9.x
2010-09-02 16:58:55 -04:00
Evan Prodromou
7517409bf1
Merge branch 'testing' into 0.9.x
2010-09-02 16:56:52 -04:00
Brion Vibber
4cbbfdab84
Fix for #2635 : use ssl-sometimes settings for Twitter settings & auth pages
2010-09-02 10:55:26 -07:00
Evan Prodromou
ebcd8644a5
Revert "debugging replyToID"
...
This reverts commit bb9353f6e0
.
2010-09-01 18:22:54 -04:00
Evan Prodromou
bb9353f6e0
debugging replyToID
2010-09-01 17:59:49 -04:00
Evan Prodromou
27626c3abf
Correctly check for user's id in replies in user salmon post
2010-09-01 17:10:29 -04:00
Evan Prodromou
ab88123373
correctly return oprofile from Ostatus_profile::ensureProfileURI()
2010-09-01 17:05:11 -04:00
Evan Prodromou
2d4e0693c8
save URIs of remote profiles marked for attention
2010-09-01 16:17:18 -04:00
Evan Prodromou
3baff9aa98
Handle profile-from-uri hook to return ostatus profile if there's a match
2010-09-01 16:16:38 -04:00
Evan Prodromou
c82b1cda82
send a salmon slap to mentioned person when we reply to a notice
2010-09-01 14:35:43 -04:00
Evan Prodromou
468a15db00
Merge branch 'master' into 0.9.x
2010-09-01 14:21:36 -04:00
Evan Prodromou
8ebb858964
remove noop function from OStatusPlugin
2010-09-01 14:21:24 -04:00
Craig Andrews
6df8230488
Leave session handling to StatusNet - disable phpCAS's handling.
2010-08-30 17:08:12 -04:00
Craig Andrews
6b4607f073
Upgrade from CAS 1.1.0RC6 to 1.1.2
2010-08-30 16:53:32 -04:00
Evan Prodromou
a507f04bc4
fix incorrect function name in updateostatus.php script
2010-08-25 12:32:10 -04:00
Craig Andrews
7cd0706aef
Merge remote branch 'chat-interface-plugins/irc-plugin' into 1.0.x
2010-08-18 14:13:15 -04:00
Craig Andrews
6c02c665f2
Use hash if available
2010-08-18 14:07:40 -04:00
Craig Andrews
05712ae62b
reconnect failed doesn't include a parameter in its invocation
2010-08-18 13:37:38 -04:00
Craig Andrews
b699364982
Merge remote branch 'chat-interface-plugins/msn-plugin' into 1.0.x
2010-08-18 13:34:39 -04:00
Craig Andrews
f5e4fc12e0
include mhash from php compat
2010-08-18 13:34:32 -04:00
Craig Andrews
ab89df0094
Use mhash from Compat if mhash isn't available
2010-08-18 13:33:52 -04:00
Luke Fitzgerald
79a81e5d54
Removed old code accidently left in ($data)
2010-08-18 10:27:03 -07:00
Craig Andrews
bbcc76e7e7
Remove .svn subversion control files
2010-08-18 12:42:32 -04:00
Craig Andrews
11661e62df
Merge remote branch 'chat-interface-plugins/msn-plugin' into 1.0.x
2010-08-18 12:41:50 -04:00
Brion Vibber
0cfaae48a3
Merge branch '0.9.x' into 1.0.x
2010-08-16 16:56:27 -07:00
Brion Vibber
aff54d8efb
Managed_DataObject initial sketches (pulling Drupal-style schema def into the data that DB_DataObject and Memcached_DataObject use; not yet functional. Converted OStatus_profile for demo.)
2010-08-16 14:02:31 -07:00
Ian Denhardt
56c0f97bea
first whack at proper photo sharing federation w/ activity streams.
2010-08-16 16:21:27 -04:00
Brion Vibber
b77c029aa8
Merge branch 'testing'
...
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
2010-08-16 10:06:52 -07:00
Evan Prodromou
5110275a38
fix use of activity rather than act in salmonaction subclasses, too
2010-08-16 10:03:44 -07:00
Evan Prodromou
54b93aede6
typo mixing up and in salmonaction
2010-08-16 10:03:38 -07:00
Evan Prodromou
c1cab9bfb8
Notice title constructor doesn't check class of Notice
2010-08-14 18:02:08 -07:00
Evan Prodromou
7df78c7c6a
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-08-14 12:08:15 -07:00
Evan Prodromou
21bf50bad6
Merge branch 'noticetitle' into 0.9.x
2010-08-14 12:03:25 -07:00
Evan Prodromou
401cf36de3
handle deletion of notice
2010-08-14 11:58:54 -07:00
Evan Prodromou
9e4f40806a
Merge branch 'master' into noticetitle
2010-08-14 11:46:12 -07:00
Zach Copley
fa4b360ba0
- Remove extraneous style stuff from Echo plugin - that stuff should
...
be handled via CSS in the theme.
- Updated installation instructions on Echo and Disqus plugins
2010-08-14 00:07:12 +00:00
Zach Copley
20d0723dec
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-08-13 23:53:44 +00:00
Zach Copley
614b12ea51
A plugin to add Disqus commenting to notice pages
2010-08-13 23:53:05 +00:00
Ian Denhardt
70c3532996
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
2010-08-13 18:01:33 -04:00
Evan Prodromou
341b935acc
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-08-13 14:52:16 -07:00
Evan Prodromou
1dadb8efc0
Merge branch '0.9.x' into 1.0.x
2010-08-13 14:51:51 -07:00
Evan Prodromou
926c77246b
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
2010-08-13 14:35:49 -07:00
Evan Prodromou
7183175429
Merge branch 'master' into 1.0.x
2010-08-13 14:33:41 -07:00
Evan Prodromou
029aa0c61c
fix use of activity rather than act in salmonaction subclasses, too
2010-08-13 14:18:54 -07:00
Zach Copley
61ab21b711
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-08-13 20:53:19 +00:00
Zach Copley
028f9a7b1d
A plugin for adding the Echo (formerly JS-Kit) commenting widget to
...
notice pages
2010-08-13 20:52:05 +00:00
Evan Prodromou
8dec16aeeb
add hooks to allow plugins to handle different kinds of activities
2010-08-13 13:14:47 -07:00
Evan Prodromou
4217277d14
typo mixing up and in salmonaction
2010-08-13 13:07:25 -07:00
Brion Vibber
16f75b95c6
Fixes for RSS subscriptions: accept posts with no ActivityStreams object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-13 12:23:42 -07:00
Brion Vibber
60c36c1868
SubMirror: check feel-url discovery if profile-url discovery failed; should help when giving direct feeds to subscribe to
2010-08-13 12:23:32 -07:00
Brion Vibber
f7b2bb09e6
Suppress whinging during HTML parsing in profile page discovery for things that turn out to be XML feeds with funny namespaces.
2010-08-13 12:23:28 -07:00
Evan Prodromou
9b7536351b
hide the Whats Up Nickname if notice title enabled
2010-08-13 12:22:58 -07:00
Evan Prodromou
e6da476c16
make notice title phpcs-clean
2010-08-13 12:04:30 -07:00
Evan Prodromou
eff0b8e1aa
make notice title phpcs-clean
2010-08-13 12:01:29 -07:00
Evan Prodromou
96705b4ec5
set notice titles in RSS and Atom output
2010-08-13 11:50:33 -07:00
Ian Denhardt
b1c5cb9db9
Merge branch '1.0.x' of /home/ian/public_html/statusnet-enhancements
2010-08-13 14:48:58 -04:00
Brion Vibber
185f18024a
Fixes for RSS subscriptions: accept posts with no ActivityStreams object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-13 11:41:44 -07:00
Evan Prodromou
91c914fa3b
show notice title for notices in a notice list
2010-08-13 11:35:36 -07:00
Evan Prodromou
67ff9ea490
helper static method to get title text based on a notice
2010-08-13 11:35:16 -07:00
Evan Prodromou
e2128b2019
save the notice title when the notice is saved
2010-08-13 11:29:18 -07:00
Brion Vibber
8569388499
SubMirror: check feel-url discovery if profile-url discovery failed; should help when giving direct feeds to subscribe to
2010-08-13 11:02:21 -07:00
Brion Vibber
115231f917
Suppress whinging during HTML parsing in profile page discovery for things that turn out to be XML feeds with funny namespaces.
2010-08-13 10:51:00 -07:00
Evan Prodromou
79b5f1cea5
add title element to notice form
2010-08-12 22:11:26 -07:00
Evan Prodromou
ac6486f12e
Plugin file and data file for notice title
2010-08-12 21:19:12 -07:00
Brion Vibber
ae696728f5
Merge branch '0.9.x' into 1.0.x
2010-08-12 12:56:23 -07:00
Brion Vibber
c3475e6ebe
Merge branch 'master' into 0.9.x
2010-08-12 12:55:36 -07:00
Brion Vibber
34995df879
TinyMCE: counter support (may not be 100% exact match to server-side count, but there's already discrepencies due to URL shortening)
...
Fix for bad char conversions also, caused short text to not be saved in some cases.
2010-08-12 12:47:07 -07:00
Luke Fitzgerald
a3fea6f673
Merge in Phergie changes
2010-08-12 11:58:53 -07:00
Brion Vibber
f14f252a16
TinyMCE: fixes to attachment handling
2010-08-12 11:39:42 -07:00
Ian Denhardt
df562a1d8f
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
2010-08-12 12:22:10 -04:00
Brion Vibber
3370a326d8
work in progress: tinymce image attachments
2010-08-11 17:01:38 -07:00
Brion Vibber
6ee3f35302
work in progress: prettier attachment mode for tinymce?
2010-08-11 15:56:40 -07:00
Brion Vibber
3c28464dab
TinyMCE: only apply HTML parsing if we actually got into JS and poked the editor widget. With JS off, we'll take plaintext as usual.
2010-08-11 14:50:59 -07:00
Brion Vibber
527561cd93
TinyMCE: core tweak; switching order of input processing so length limit is applied to stripped version of the text
2010-08-11 14:41:31 -07:00
Brion Vibber
c19696afec
TinyMCE: add Shane Tomlinson's linkautodetect plugin so typed URLs get linked for you, fitting expected user behavior better. (IE apparently already does this; plugin adds similar behavior for other browsers.)
...
Plugin source: http://sourceforge.net/tracker/?func=detail&aid=2770218&group_id=103281&atid=738747
Source JS compressed manually with jsmin.
Note: the link detection doesn't match StatusNet's internal link detection right now. URLs with funky chars, especially like Wikipedia style ones, will often not automatically catch. (But you should still be able to manually link them.)
2010-08-11 13:38:09 -07:00
Brion Vibber
8bc1ab436a
TinyMCE: enable tab focus behavior matching the default textarea
2010-08-11 13:17:11 -07:00
Brion Vibber
d832b46573
TinyMCE: use inlinepopups mode, so linking dialog appears as a lightbox instead of a separate browser window (which may trigger popup blockers, plays very poorly with fullscreen netbook UIs, and is generally annoying)
2010-08-11 12:49:02 -07:00
Brion Vibber
771928c6e9
TinyMCE: enable autoresize plugin, makes the text area bigger as you're typing a giant message
2010-08-11 12:44:01 -07:00
Brion Vibber
ffc27a337f
TinyMCE: add fullscreen zoom plugin for editor (a bit awkward but better than trying to work in tiny area... need a nicer intermediate size maybe)
2010-08-11 12:14:05 -07:00
Brion Vibber
e3bc7ed4bf
TinyMCE: Switch default 'simple' layout for customized advanced layout: bold/italic/strikethrough undo/redo link/unlink/image
2010-08-11 12:10:08 -07:00
Ian Denhardt
e3b891f0b7
validate input, dummy.
2010-08-11 14:56:42 -04:00
Ian Denhardt
8f37b432f8
Rudementary video support.
2010-08-11 14:27:42 -04:00
Luke Fitzgerald
d2c72d8ae1
Add an config option to change the ping interval
2010-08-11 10:49:09 -07:00
Luke Fitzgerald
daa3fef96d
Added comment to show debugging toggle
2010-08-11 10:42:11 -07:00
Luke Fitzgerald
17f6c08063
Disabled debugging output
2010-08-11 10:36:19 -07:00
Luke Fitzgerald
e10ff3475b
Disabled debugging output
2010-08-11 10:35:20 -07:00
Ian Denhardt
769d6089de
photos now work across status.net installs. needs to be cleaned up though.
2010-08-11 12:39:10 -04:00
Ian Denhardt
c6c08d8969
Got author to appear properly in the feed for photos.
2010-08-11 11:08:08 -04:00
Ian Denhardt
58d98a4c2b
Photos now show up in feed (locally anywyay.) need cleanup/federation
2010-08-11 10:54:06 -04:00
Evan Prodromou
41dfea1634
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-08-10 23:36:13 -07:00
Evan Prodromou
3062cc2706
add last-modified header to sitemaps to keep them from getting regenerated
2010-08-10 23:35:47 -07:00
Luke Fitzgerald
10f72f62af
Merge remote branch 'statusnet/1.0.x' into idle-irc-plugin
2010-08-10 19:48:49 -07:00
Luke Fitzgerald
b7a07f0baa
Merge remote branch 'statusnet/1.0.x' into msn-plugin
2010-08-10 19:48:18 -07:00
Luke Fitzgerald
9da2368383
Retry using the waiting queue so as to preserve message ordering
2010-08-10 19:23:45 -07:00
Luke Fitzgerald
8005bdb421
Reset message to non-delay type before requeuing
2010-08-10 18:34:12 -07:00
Luke Fitzgerald
ef6813eb67
Fix some typos and missing letters
2010-08-10 17:42:18 -07:00
Luke Fitzgerald
8e925927c6
First commit of message throttling code
2010-08-10 17:27:02 -07:00
Brion Vibber
3a85318bd0
First stab redoing argument loading for TinyMCE (to avoid hacking checks for all notice saves everywhere)
2010-08-10 16:55:03 -07:00
Brion Vibber
e54d441af0
TinyMCE: workaround for save trigger aborting our AJAX form submission.
2010-08-10 15:48:02 -07:00
Brion Vibber
bb711cb98d
Update TinyMCE to release 3.3.8, jQuery version
...
Release 2010-06-30 http://tinymce.moxiecode.com/punbb/viewtopic.php?id=22165
2010-08-10 15:24:12 -07:00
Brion Vibber
819d33210d
Merge branch '0.9.x' into tinymce
2010-08-10 15:01:29 -07:00
Brion Vibber
08fc6053ec
Fix for regression with OStatus mention processing (duplicated new and old style lead to trying to save a reply entry twice).
2010-08-10 13:49:11 -07:00
Brion Vibber
4fdfc6b1ce
Fix for FeedDiscovery test cases: note that some test cases with relative URLs fail that include a schema but not a host. Not 100% sure those are legit, need to check.
2010-08-10 13:19:27 -07:00
Brion Vibber
9a53be4669
Initial support for third-party fallback hub such as Superfeedr for feed subscriptions.
...
If set up, this hub will be used to subscribe to feeds that don't specify a hub of their own.
Assumes that the fallback hub will, in fact, handle polling and updates for any feed we throw at it!
Authentication may be specified for the fallback hub.
Example:
$config['feedsub']['fallback_hub'] = 'https://superfeedr.com/hubbub ';
$config['feedsub']['hub_user'] = 'abcd';
$config['feedsub']['hub_pass'] = 'ckcmdkmckdmkcdk';
Also:
* Fix for WordPress-RSS-via-Superfeedr-Atom; if we have <author> info but no ID from a native ActivityStreams actor, don't freak out in the low-level processing code that checks for identity matches.
* enhanced messages for low-level FeedSub exceptions if they make it to outside display
2010-08-10 12:57:40 -07:00
Brion Vibber
6a2659ed67
Workaround for index setup on SubMirror until I'm done w/ arbitrary index support for Schema setup.
2010-08-10 11:45:34 -07:00
Brion Vibber
855f1f6623
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-08-09 13:11:41 -07:00
Ian Denhardt
e0da393800
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
2010-08-09 15:06:26 -04:00
Luke Fitzgerald
322e7c4e9f
Small reordering of code (cosmetic)
2010-08-09 09:26:31 -07:00
Luke Fitzgerald
613ae551c6
Set lastPing on connect
2010-08-09 07:08:29 -07:00
Luke Fitzgerald
bc331a0155
Made private methods protected
2010-08-09 07:05:58 -07:00
Luke Fitzgerald
d321b6e76f
Requeue waiting messages on start/connection loss
2010-08-09 07:03:54 -07:00
Luke Fitzgerald
da61c8567c
Small cosmetic changes
2010-08-07 17:29:13 -07:00
Luke Fitzgerald
7cd52847a5
Added pinging to keep connection open
2010-08-07 17:25:43 -07:00
Luke Fitzgerald
067633a608
Added more commenting
2010-08-07 16:32:17 -07:00
Luke Fitzgerald
a9d9e077ba
Merged in Phergie changes
2010-08-07 16:31:30 -07:00
Luke Fitzgerald
4b12b8f396
Cosmetic comment change
2010-08-07 13:28:11 -07:00
Luke Fitzgerald
841da54301
Merge remote branch 'statusnet/1.0.x' into msn-plugin
2010-08-07 13:26:07 -07:00
Luke Fitzgerald
bee5084072
Merge remote branch 'statusnet/1.0.x' into irc-plugin
2010-08-07 13:25:56 -07:00
Luke Fitzgerald
e23ad0bdb3
Commands can now be whitelisted to allow response to the channel
2010-08-07 13:25:05 -07:00
James Walker
c8a706081e
strip whitespace from me:data and me:sig (per spec)
2010-08-07 09:48:21 -04:00
Eric Helgeson
edb62db613
Locale error message, clean up {}, Verified under 1.0.x && php 5.3
2010-08-06 23:07:34 -05:00
Eric Helgeson
fd2919be18
Fixed PHP 5.3 by & value
...
Cleaned up {}'s
2010-08-06 22:51:45 -05:00
Eric Helgeson
422a6ef518
Fixed PHP 5.3 by & value
...
Cleaned up {}'s
2010-08-06 22:48:00 -05:00
Brion Vibber
39277ebf78
And.... one more fix for queueing in SubMirror.
2010-08-06 12:04:34 -07:00
Brion Vibber
729912e36a
Missing file from SubMirror. :P
2010-08-06 12:00:31 -07:00
Brion Vibber
79485340ab
SubMirror: Drop mirror link from subscriptions list; has decoupled from subscriptions.
2010-08-06 11:55:56 -07:00
Brion Vibber
7e55fc0044
OStatus/FeedSub: tweaked PuSH feed garbage collection so other plugins can declare usage of a low-level feed or an OStatus profile besides profile subscriptions & group memberships.
...
SubMirror: redid add-mirror frontend to accept a feed URL, then pass that on to OStatus, instead of pulling from your subscriptions.
Profile: tweaked subscriberCount() so it doesn't subtract 1 for foreign profiles who aren't subscribed to themselves; instead excludes the self-subscription in the count query.
Memcached_DataObject: tweak to avoid extra error spew in the DB error raising
Work in progress: tweaking feedsub garbage collection so we can count other uses
2010-08-06 11:49:52 -07:00
Ian Denhardt
dd17e32c85
Got database inserts for photos working.
2010-08-06 10:26:28 -04:00
Brion Vibber
300ed65d30
SubMirror plugin initial checkin: allows setting up automatic mirroring of posts from any of your subscriptions into your own stream, either via repeat or by copying the text.
...
The UI for setup and editing is a bit nasty for now. Can be reached via 'Mirroring' tab in account settings, or from a link at top of subscriptions list.
Currently relies on the OStatus plugin to handle actual setup, parsing, and importing of feeds; to support more general feed formatting we may need some further work there to accept weird feeds.
Also requires an actual live subscription, but this could be changed in future. (Ensuring that PSHB feed subscriptions remain live even if nobody's directly subscribed might be tricky.)
The repeat style is our preferred method since it retains full attribution, but right now we don't handle repeats very well across site boundaries; when pushed out to Twitter or to other StatusNet instances via OStatus, currently we end up losing some of the data and can end up with the 'RT @blah' version.
WARNING: There's no loop detection yet; it's most likely possible to set up a fun loop of profiles repeating each others' stuff forever and ever and ever and ever...
2010-08-05 18:06:36 -07:00
Luke Fitzgerald
a6e865c47a
Use nick length instead
2010-08-05 11:12:36 -07:00
Luke Fitzgerald
1f3dbe1198
Bot responds to channel commands via PM
2010-08-05 10:48:41 -07:00
Ian Denhardt
43454eba36
got uploads sortof working - database portion doesn't work though.
2010-08-05 13:11:34 -04:00
Luke Fitzgerald
55ec8a7465
Always remove messages from waiting queue and requeue messages if one fails
2010-08-04 16:14:25 -07:00
Luke Fitzgerald
cb34d95197
Merge in Phergie changes
2010-08-04 16:02:24 -07:00
Ian Denhardt
16ad70e16f
Started working on proper photo upload. not fully functional yet.
2010-08-04 17:26:55 -04:00
Luke Fitzgerald
65a741cce2
Messages with new lines split at plugin stage for reliability
2010-08-04 09:10:57 -07:00
Ian Denhardt
33bce7227f
slight cleanup, we now get the image type from getimagesize(), rather than finding it ourselves.
2010-08-04 12:03:34 -04:00
Ian Denhardt
78d9edd431
Photos are cropped now.
2010-08-04 11:52:54 -04:00
Luke Fitzgerald
2250273942
Only attempt callback if non-null
2010-08-04 08:46:04 -07:00
Luke Fitzgerald
4cfe04a68f
Remove old debugging code
2010-08-03 20:07:59 -07:00
Ian Denhardt
727758d275
Fixed scaling. thumbnails are bigger now, too.
2010-08-03 19:24:19 -04:00
Evan Prodromou
9f0715a993
Merge branch '0.9.x' into 1.0.x
2010-08-03 16:05:03 -07:00
Evan Prodromou
2ba36fc242
Merge branch 'activityhooks' into 0.9.x
...
Conflicts:
classes/Notice.php
2010-08-03 16:01:18 -07:00
Evan Prodromou
f9a4728fcc
Merge branch 'testing' into 0.9.x
2010-08-03 15:57:05 -07:00
Evan Prodromou
f83171824f
correctly show <source> for atom feeds
2010-08-03 15:50:21 -07:00
Ian Denhardt
ab46007709
Thumbnails in the photo plugins.
2010-08-03 17:07:07 -04:00
Luke Fitzgerald
678911af24
Revert "Merged in Phergie changes"
...
This reverts commit a3df3b6367
.
2010-08-03 11:45:55 -07:00
Ian Denhardt
fe5f55cc24
rudementary photo albums. going to /username/photos displays all the images username has attached.
2010-08-03 13:21:11 -04:00
Luke Fitzgerald
c71319419b
Cosmetic whitespace change
2010-08-03 10:02:47 -07:00
Luke Fitzgerald
a3df3b6367
Merged in Phergie changes
2010-08-03 09:42:02 -07:00
Ian Denhardt
eebc37604a
Started work on photos plugin. not much yet.
2010-08-02 19:22:55 -04:00
James Walker
5fa19a0384
Merge branch '2429' into 0.9.x
2010-08-02 16:45:23 -04:00
James Walker
8120842780
Fix for #2429 - move OStatus XML writing to XMLStringer
2010-08-02 16:42:28 -04:00
Ian Denhardt
81a0611cd8
renamed GN{u,U}socialPhotos.php
2010-08-02 16:05:29 -04:00
Brion Vibber
c56939d596
Remove the 'Enable Twitter import' checkbox from Twitter admin panel by default; can be re-added with setting:
...
addPlugin('TwitterBridge', array('adminImportControl' => true, ....));
Added a note on the label that it requires manual daemon setup. (Note that by default the admin panel won't be shown, so it's no biggie to be hiding this for now.)
2010-08-02 13:00:50 -07:00
Ian Denhardt
af2158b8b4
GNUsocialTemplatePlugin.php doesn't need to be executable.
2010-08-02 15:22:17 -04:00
James Walker
56294016a7
fix #2478 - ensure all XRD documents get proper content-type headers
2010-08-02 14:47:13 -04:00
James Walker
517c7483d1
move to rel="salmon" (per latest spec)
2010-08-02 13:24:38 -04:00
Ian Denhardt
5d7dff100f
Got rid of old duplicate files.
2010-08-02 12:09:44 -04:00
Ian Denhardt
762731d8ee
Merge branch 'master' of git://gitorious.org/statusnet/mainline
2010-08-02 11:10:19 -04:00
Mike Sheldon
a31d977b43
Make TemplatePlugin compatible with PHP 5.3
2010-07-31 23:10:22 +01:00
Luke Fitzgerald
68ec3f855d
Fix a bunch of bugs where DB object wasn't correctly defined
2010-07-31 10:47:58 -07:00
Luke Fitzgerald
0f7fdd4804
Changes to make plugin use database instead of polling session readiness
2010-07-30 17:12:35 -07:00
Brion Vibber
84726791d3
Fix for ticket #2286 : [mobile] Text extends beyond border of repeat confirmation dialog floater box on iPhone
...
http://status.net/open-source/issues/2286
This bit of CSS was constricting the vertical size of the popup form for repeats:
.notice-options form {
width:16px;
height:16px;
}
I can only assume this was originally meant to constrain the mini inline AJAX forms to the size of the clickable buttons, but it doesn't make a difference to how those are displayed on iPhone, Android, or Opera Mini.
Removing the statement lets the popup form go to its natural size, covering the button.
2010-07-30 14:12:37 -07:00
Evan Prodromou
a01bc6b575
Merge branch 'googleadsadminpanel' into testing
2010-07-28 17:50:49 -04:00
Evan Prodromou
659e8b26ac
add admin panel for Adsense
2010-07-28 17:50:36 -04:00
Luke Fitzgerald
9b9a36e492
Introduce error checking when calling handleEvents
2010-07-28 11:56:15 -07:00
Luke Fitzgerald
2fe1b12804
Merge in Phergie changes
2010-07-28 10:42:01 -07:00
Luke Fitzgerald
dd882be803
Merge in Phergie fixes and remove some whitespace
2010-07-27 09:14:07 -07:00
Matt Lee
163d7d60f8
updated copyright notice
2010-07-26 22:24:12 -04:00
Matt Lee
6b34a2111d
GNU social plugin (for look/feel), theme, template
2010-07-26 22:05:33 -04:00
Luke Fitzgerald
3c1d7d81cf
Remove some testing/debugging code
2010-07-26 12:25:23 -07:00
Luke Fitzgerald
e911480587
Add timeout method to force call of idle to send ping
2010-07-26 11:21:11 -07:00
Luke Fitzgerald
82f44c5fa0
Fix typo
2010-07-26 11:14:18 -07:00
Luke Fitzgerald
742b302739
More Irc plugin work
2010-07-26 11:13:00 -07:00
Luke Fitzgerald
950685a466
Merged in Phergie changes
2010-07-25 16:04:12 -07:00
Luke Fitzgerald
2645133c43
Use non-statusnet class
2010-07-24 20:04:00 -07:00
Luke Fitzgerald
3b9d720df5
Change ircmanager to not use unnecessary class
2010-07-24 20:03:16 -07:00
Luke Fitzgerald
c0214ac0a4
Merged in Phergie change (Allow sec/usec = 0)
2010-07-24 11:26:20 -07:00
Luke Fitzgerald
75373e4a7a
Remove old comment
2010-07-24 10:07:02 -07:00
Luke Fitzgerald
007d9ec8ce
Updated commenting
2010-07-24 10:01:37 -07:00
Luke Fitzgerald
9f0eea69ff
Handle the case where confirmation is cancelled
2010-07-24 07:54:09 -07:00
Luke Fitzgerald
be0fb03560
Cosmetic: Rearrange code
2010-07-23 14:13:37 -07:00
Luke Fitzgerald
4dcf2a1f51
Another comment
2010-07-23 13:57:39 -07:00
Luke Fitzgerald
13c63d554d
Added some missing comments
2010-07-23 13:40:11 -07:00
Luke Fitzgerald
f1f78b3142
Remove Phergie diff file
2010-07-23 13:34:39 -07:00
Luke Fitzgerald
c4640c50d3
Lots more work - Implemented nickname checking
2010-07-23 13:33:41 -07:00
Luke Fitzgerald
f818182a37
Update classname in ircmanager too!
2010-07-21 07:39:28 -07:00
Luke Fitzgerald
3cb51e182b
Rename Phergie_Plugin_Statusnet_Callback to Phergie_Plugin_StatusnetCallback
2010-07-21 07:39:19 -07:00
Luke Fitzgerald
2e9da023c0
Rename Phergie_ExtendedBot to Phergie_StatusnetBot
2010-07-21 07:33:43 -07:00
Luke Fitzgerald
af5ecb88b1
Corrected UTF8 to UTF-8
2010-07-21 05:21:37 -07:00
Luke Fitzgerald
a34e55e1a3
Change default encoding to UTF-8
2010-07-20 11:32:09 -07:00
Luke Fitzgerald
efdf9b6d4e
Code now functional - lots of error checking and extras missing still though
2010-07-20 11:16:59 -07:00
Luke Fitzgerald
1e5198645c
Weaken send scope to protected
2010-07-20 06:26:51 -07:00
Luke Fitzgerald
ee7098c0db
Removed hard tabs
2010-07-18 12:58:06 -07:00
Luke Fitzgerald
2550971450
ircmanager.php almost complete - Need to add exception catching
2010-07-18 12:45:28 -07:00
Luke Fitzgerald
942ce88a75
Added send method to avoid having to call getDriver()
2010-07-18 12:40:07 -07:00
Luke Fitzgerald
7f2555126a
IrcPlugin.php almost complete
2010-07-18 12:26:11 -07:00
Luke Fitzgerald
4c4dc65712
Use original config class as readArray was added upstream
2010-07-18 06:30:52 -07:00
Luke Fitzgerald
7caff948f6
Merged in changes to Phergie
2010-07-18 06:28:15 -07:00
Evan Prodromou
d73feb82d8
cache sitemap notice and user counts for 4h
2010-07-14 10:38:34 -04:00
Brion Vibber
1339f1f908
Commit hubprepqueuehandler.php -- fix for OStatus bulk output.
2010-07-12 14:24:43 -07:00
Brion Vibber
d645b342ac
Commit hubprepqueuehandler.php -- fix for OStatus bulk output.
2010-07-12 14:22:36 -07:00
Evan Prodromou
bb2f5defd5
remove debugging statement and add a bit of output to updatecounts
2010-07-10 09:58:27 -04:00
Evan Prodromou
d53d0f7908
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-07-10 09:51:49 -04:00
Luke Fitzgerald
8abef1fd65
Added missing '>'
2010-07-09 16:29:42 -07:00
Evan Prodromou
869ebb7dc7
script to fill counts table from command line
2010-07-09 17:50:14 -04:00
Luke Fitzgerald
4a602eb4ba
Modified some config options
2010-07-09 04:20:00 -07:00
Luke Fitzgerald
022e92ce5d
Extended Async Processor to allow use of Statusnet driver
2010-07-09 04:18:19 -07:00
Luke Fitzgerald
03670d21d4
Extended Phergie_Bot to allow Statusnet to be the driver
2010-07-09 04:04:45 -07:00
Luke Fitzgerald
054d16426f
Added commenting
2010-07-09 04:04:18 -07:00
Luke Fitzgerald
7ef33061bb
Updated old comments
2010-07-09 03:21:51 -07:00
Luke Fitzgerald
a86cabfb19
Added Statusnet Driver to give access to sockets and send method
2010-07-09 03:19:18 -07:00
Luke Fitzgerald
ba36fb2bfe
Lots more work on ircmanager.php
2010-07-09 03:05:03 -07:00
Luke Fitzgerald
9650d48008
Added missing closing bracket
2010-07-09 02:53:58 -07:00
Luke Fitzgerald
def70cd67f
Stopped extended config adding to files array
2010-07-09 02:45:56 -07:00
Luke Fitzgerald
80516cba2f
Extended Phergie_Config to allow passing config array instead of loading from file
2010-07-09 02:43:40 -07:00
Luke Fitzgerald
9080fdd56e
Updated README
2010-07-09 02:02:50 -07:00
Luke Fitzgerald
63107beb8c
Fix Fake_Irc to store data to send, not raw socket data to send
2010-07-09 01:21:33 -07:00
Luke Fitzgerald
2f585076c0
Add StatusNet Phergie plugin to pass messages received to IM architecture
2010-07-09 01:25:18 -07:00
Zach Copley
4c5098cd32
Handle the case where a screen name has shifted from one Twitter ID to another
2010-07-08 21:17:11 +00:00
Luke Fitzgerald
4601fddad3
Ported 1.x.x NickServ plugin to 2.x.x
2010-07-07 08:42:35 -07:00
Luke Fitzgerald
2d12d7b9e4
Fixed bug in Stream driver
2010-07-07 08:42:10 -07:00
Evan Prodromou
7746611f20
create an index on user.created so sitemap generation is faster
2010-07-05 14:12:14 -04:00
Luke Fitzgerald
3dce582182
Added README
2010-07-04 10:24:22 -07:00
Luke Fitzgerald
0ef7c5559f
Initial IRC plugin work
2010-07-04 09:51:44 -07:00
Luke Fitzgerald
c4458bc40a
Removed hard tabs
2010-06-30 12:50:07 -07:00
Luke Fitzgerald
884b26229d
Merge remote branch 'statusnet/1.0.x' into irc-plugin
2010-06-30 09:37:03 -07:00
Luke Fitzgerald
bf6ecfbffc
Updated phergie library
2010-06-30 09:33:29 -07:00
Luke Fitzgerald
9a7c60a3e2
Added wait on signon failure due to update contacts failing
2010-06-30 09:18:44 -07:00
Luke Fitzgerald
4c3b420969
Fixed warning thrown and simplified list calls
2010-06-29 17:06:44 -07:00
Luke Fitzgerald
7ac937e8e0
Added required PHP extensions to README
2010-06-29 11:14:26 -07:00
Luke Fitzgerald
2e8a4e3a0f
Added README file
2010-06-29 10:57:48 -07:00
Brion Vibber
21f253c584
Fix regression in OStatus remote group subscribe -- a bug was previously masked silently (call to nonexistent getProfileUrl() method on User_group -- now replaced with homeUrl() which does the thing we wanted here)
2010-06-29 10:31:30 -04:00
Luke Fitzgerald
6aa8ce08ae
Hide list error if network is not specified
2010-06-28 17:17:51 -07:00
Luke Fitzgerald
bcb718cd31
Fixed a bug where sessions were not cleared
2010-06-28 17:03:19 -07:00
Luke Fitzgerald
8175f0f3bf
Fixed a number of bugs in the library and wrapper - Seems to work!
2010-06-26 12:55:32 -07:00
Luke Fitzgerald
46f435a742
Merge remote branch 'statusnet/1.0.x' into msn-plugin
2010-06-26 09:12:59 -07:00
Brion Vibber
00e129b013
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-06-26 10:18:03 -04:00
Brion Vibber
696e4ba393
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/OpenID/openidserver.php (cleaned up mismatched comment)
2010-06-26 10:17:36 -04:00
Brion Vibber
d9e56e15cc
Merge branch 'master' into testing
2010-06-26 10:16:27 -04:00
Brion Vibber
a6408be566
Regression fix for Recaptcha on SSL registration page; their API is served on a different hostname for SSL.
2010-06-24 15:21:04 +00:00
Luke Fitzgerald
c5ad04c865
Lots of fixes for library. Almost have confirmation emails working
2010-06-22 20:26:23 -07:00
Brion Vibber
2e98a48f2b
RecaptchaPlugin: fix for missing captcha on iPhone/Android.
...
MobileProfile serves pages out to iPhone and Android as application/xhtml+xml, which doesn't work with the default we we were loading recaptcha (as it used document.write). Switched to filling out a <div> from the AJAX API, which doesn't use document.write in the XHTML context.
Tested that view & submission works ok in following browsers:
Mobile: iPhone 3.1, Android 2.1, iPad 3.2 (this last doesn't trigger mobile theme tweaks)
Ubuntu 10.04: Firefox 3.6.3, Chrome 6
Mac 10.6: Safari 5/OS X 10.6.4
Windows 7: IE 8, Opera 10.56
2010-06-20 19:30:12 +00:00
Luke Fitzgerald
f37228f413
Use built in email verifier
2010-06-20 15:53:36 +01:00
Luke Fitzgerald
6dd221957e
Add comma to end of list and small cosmetic change
2010-06-16 20:58:27 +01:00
Brion Vibber
d65d982681
Merge branch 'master' into testing
2010-06-16 12:37:14 -07:00
Luke Fitzgerald
d69aa725f7
Remove callback method as we're not using status changes
2010-06-16 20:35:46 +01:00
Brion Vibber
ce7176d987
Switch OpenID server's redirects from 307 to 303 to avoid prompt for form data resubmission if we were sent here from a POST request, such as when verifying the site for the first time doing an OpenID login from Drupal.
2010-06-16 12:30:37 -07:00
Luke Fitzgerald
6dbf0ab1fe
Add callback for status changes
2010-06-16 18:05:29 +01:00
Luke Fitzgerald
b313bc3cde
Remove any existing switchboard sessions when we (re)signon
2010-06-16 17:12:20 +01:00
Luke Fitzgerald
50610c2611
Added some more error handling and commenting
2010-06-16 14:15:08 +01:00
Luke Fitzgerald
a665739283
Added error reporting to SB socket writes and call endSBSession if socket is dead when we try to send a message
2010-06-16 02:31:51 +01:00
Luke Fitzgerald
6f388a8b50
Use correct array index access for switchBoardSessions in sendMessageToSBSession
2010-06-16 02:28:13 +01:00
Luke Fitzgerald
7b998f4b2a
Reduced if statements used in sendOtherNetworkMessage
2010-06-16 02:25:09 +01:00
Luke Fitzgerald
47bc0ae4c4
Implemented error checking in sendOtherNetworkMessage
2010-06-16 02:23:19 +01:00
Luke Fitzgerald
242e8905cd
Fix indentation
2010-06-16 02:16:29 +01:00
Luke Fitzgerald
3d36f24b49
Return true if OIM is sent successfully
2010-06-16 02:11:39 +01:00
Luke Fitzgerald
392ea6fd32
Correctly access length constants
2010-06-16 02:03:31 +01:00
Luke Fitzgerald
0b2bbd20aa
Added Phergie PHP IRC library
2010-06-16 01:55:39 +01:00
Luke Fitzgerald
62a7f10275
$killsession parameter not needed - we'll kill the session later anyway
2010-06-16 01:43:55 +01:00
Luke Fitzgerald
956b24f05d
Access constants and static methods properly ;)
2010-06-16 01:30:44 +01:00
Luke Fitzgerald
d52f6d5aea
Removed unnecessary else statement
2010-06-16 01:24:28 +01:00
Luke Fitzgerald
2d883eed89
Reordered methods and changed properties to constants as needed
2010-06-16 01:22:52 +01:00
Luke Fitzgerald
d41298950b
Added validate regexp and a few more comments
2010-06-16 00:04:59 +01:00
Luke Fitzgerald
27e8cfd360
Adaptation of library almost complete.
...
Bot now signs in correctly when launched using startdaemons.sh
2010-06-15 20:51:04 +01:00
Luke Fitzgerald
0a4738a806
Lots more work on adapting library. Added more commenting and fixed some stuff on the integration side.
2010-06-14 19:53:43 +01:00