Evan Prodromou
50675e356b
ModPlus uses Plugin::path()
2011-02-03 11:28:39 -05:00
Evan Prodromou
2f598f8c7b
LinkPreview uses Plugin::path()
2011-02-03 11:25:56 -05:00
Evan Prodromou
3496559d8e
InfiniteScroll uses Plugin::path()
2011-02-03 11:23:39 -05:00
Evan Prodromou
0ba450373d
DirectionDetector uses Plugin::path()
2011-02-03 11:20:57 -05:00
Evan Prodromou
6494f5938c
ClientSideShorten uses Plugin::path()
2011-02-03 11:19:03 -05:00
Evan Prodromou
0bab5e4a9e
Autocomplete uses Plugin::path()
2011-02-03 11:16:30 -05:00
Evan Prodromou
22e8893fba
OStatus uses Plugin::path()
2011-02-03 11:09:26 -05:00
Evan Prodromou
c8386c7ecb
TwitterBridge uses Plugin::staticPath()
2011-02-03 11:03:24 -05:00
Evan Prodromou
26407c3e35
Realtime plugin uses Plugin::path()
2011-02-03 10:58:06 -05:00
Evan Prodromou
0a6d2d24b1
MeteorPlugin uses Plugin::path()
2011-02-03 10:51:59 -05:00
Evan Prodromou
429cbb66b4
Mapstraction plugin uses Plugin::path()
2011-02-03 10:50:11 -05:00
Evan Prodromou
52c3c4468d
BlankAd uses plugins server
2011-02-03 10:46:56 -05:00
Brion Vibber
d1a96dc7af
work in progress: prepping for storage of extended profile details
2011-02-02 17:29:34 -08:00
Brion Vibber
59f4734985
Edit page placeholder, link on main profile to details
2011-02-02 16:38:54 -08:00
Siebrand Mazeland
308e615a3f
Localisation updates from http://translatewiki.net .
2011-02-03 01:31:31 +01:00
Brion Vibber
7a97243abf
ExtendedProfile plugin initial checkin: stub mockup page
2011-02-02 16:23:24 -08:00
Zach Copley
317d22f565
Remove old Facebook Plugin (use FacebookBridge now)
2011-01-31 23:51:27 +00:00
Zach Copley
c35d8e3a3e
Remove old Facebook Plugin (use FacebookBridge now)
2011-01-31 23:50:22 +00:00
Zach Copley
ad12384d8c
FacebookPlugin: Fix up FBML canvas app so it keeps working after
...
Facebook removed Profile Boxes and some API calls it relied upon.
See: http://developers.facebook.com/roadmap/deprecations
2011-01-31 23:48:25 +00:00
Zach Copley
071d6e72e0
FacebookPlugin: Fix up FBML canvas app so it keeps working after
...
Facebook removed Profile Boxes and some API calls it relied upon.
See: http://developers.facebook.com/roadmap/deprecations
2011-01-31 23:47:33 +00:00
Brion Vibber
9573f725c1
Merge branch '0.9.x' into testing
2011-01-31 11:08:15 -08:00
Siebrand Mazeland
3fc323f8f9
Localisation updates from http://translatewiki.net .
2011-01-31 00:04:03 +01:00
Siebrand Mazeland
e6e402cefd
Localisation updates from http://translatewiki.net .
2011-01-29 23:10:15 +01:00
Evan Prodromou
1a96a5e695
create privacy settings on new group
2011-01-26 18:48:13 -07:00
Brion Vibber
54e98ffe22
Fix ticket #3013 : MAX_FILE_SIZE hidden fields were incorrectly placed
...
In order to apply to PHP's POST processing, the MAX_FILE_SIZE field must appear *before* the file upload field. They were incorrectly placed after, where they had no effect on POST processing.
2011-01-26 15:49:57 -08:00
Brion Vibber
625405910f
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2011-01-26 14:59:35 -08:00
Brion Vibber
c65480fb33
Fix ticket #3016 : when using non-AJAX form of the ostatus subscription initiation for non-local group joins, show the "group" field instead of a blank "user" field
2011-01-26 14:59:24 -08:00
Samantha Doherty
1563c95cc3
Wee style update for bookmarks plugin.
2011-01-25 18:33:47 -05:00
Brion Vibber
621a7cb36d
Merge branch '0.9.x' into testing
2011-01-25 12:57:49 -08:00
Evan Prodromou
c309bbae93
Merge remote branch 'gitorious/testing' into testing
2011-01-24 06:54:09 -07:00
Evan Prodromou
c2d7a08d07
Bookmark saving robustness fixes
...
First, if the tags box is empty, don't save an empty tag for the notice.
Second, if URL shortening fails, just use the regular URL.
2011-01-23 12:57:20 -05:00
Evan Prodromou
592e2be5e1
Make new menu the default menu
...
There's a new menu layout in this version of the software. It was
implemented as a plugin in 0.9.x to avoid clashes with existing themes,
but we're going to break that compatibility in this version, so we're just going for it.
This change involved moving all the changes in NewMenuPlugin into the
default code that was calling it. In addition, since
accountsettingsaction and connectsettingsaction differed only by menu,
I removed them, changed all references to them to the settingsmenu, and moved
the combined nav to its own class.
Let's put that episode behind us.
The CSS shim that was loaded by NewMenuPlugin for certain themes and certain actions
was removed.
2011-01-23 12:35:35 -05:00
Evan Prodromou
b72fe00ae3
remove boilerplate from NewMenuPlugin
2011-01-23 12:03:28 -05:00
Evan Prodromou
e53793edf4
make 'admin' a safe user name
...
'admin' is a pretty common username that people try when installing;
it was blacklisted because all of our admin panels were at /admin/*,
which would conflict with the admin user's namespace.
Changed the location of all admin panels to /panel/*, blacklisted the
nickname 'panel', and allowed 'admin'. Tested with a fresh install;
seems to work great.
2011-01-23 10:18:35 -05:00
Siebrand Mazeland
4642b024cc
Localisation updates from http://translatewiki.net .
2011-01-22 20:17:19 +01:00
Brion Vibber
1f4b63d533
Add email field to Twitter registration form; needed when RequireValidatedEmail plugin is present.
...
Since Twitter doesn't provide email address back to us here, we only prefill the field if we have an invite.
2011-01-20 17:02:34 -08:00
Brion Vibber
06d895ee67
Add email field on openid registration; needed to register if RequireValidatedEmail plugin is also present.
2011-01-20 16:56:48 -08:00
Brion Vibber
ddde99cd89
Event hook points needed for recaptcha on facebook login form (untested, but should be legit -- same adds as openid & twitter reg forms)
2011-01-20 15:55:36 -08:00
Brion Vibber
c1e4be6ab9
Event hook points needed to run Recaptcha on Twitter registration
2011-01-20 15:49:57 -08:00
Brion Vibber
7a9040e360
Fix inconsistent use of 'name' vs 'fullname' in tw_fields member variable
2011-01-20 15:47:51 -08:00
Brion Vibber
7dc9d9c1fe
Add Start/EndRegistrationData event hooks in finishopenidlogin: allows recaptcha to add its captcha display to the form (checked since addition of StartRegistrationTry)
2011-01-20 15:40:59 -08:00
Brion Vibber
6fa0bea76d
Merge branch '0.9.x' into testing
2011-01-20 15:12:57 -08:00
Brion Vibber
6455461c19
Merge branch 'master' into 0.9.x
2011-01-20 15:08:31 -08:00
Evan Prodromou
edeaf8a2f8
new group message layout
2011-01-20 16:08:22 -05:00
Brion Vibber
7c3f820ff0
Ticket #2999 : RequireValidatedEmail plugin now also prevents group creation by unvalidated users.
2011-01-20 13:05:58 -08:00
Siebrand Mazeland
03acf301ba
Localisation updates from http://translatewiki.net .
2011-01-20 21:12:51 +01:00
Evan Prodromou
4618641da2
data structures
2011-01-19 18:31:07 -05:00
Brion Vibber
963e7576f2
Merge branch 'testing' into moveaccount
2011-01-19 10:41:14 -08:00
Evan Prodromou
4c4d63ee16
Merge branch 'testing' into privategroup
2011-01-19 10:13:47 -05:00
Brion Vibber
b1897e0190
viz cleanup on AddMirrorWizard
2011-01-18 18:13:24 -08:00
Brion Vibber
aa901bb61c
Work in progress: AJAXy interface for grabbing feed subscription helper detail forms.
...
Currently they all show the regular subform. :)
2011-01-18 18:01:57 -08:00
Brion Vibber
ade2d04cb3
Work in progress on helper wizard for feed mirror discovery/setup
2011-01-18 15:58:28 -08:00
Evan Prodromou
deffcc1442
non-working version of private groups
2011-01-18 16:55:51 -05:00
Brion Vibber
b502755978
SubMirror: add mirrored feeds count & management link to stats section when showing your own profile sidebar.
2011-01-18 13:35:36 -08:00
Brion Vibber
56e2bc10d9
Cleanup stray PHP 4-style references in hook calls for navigation bars. We can't replace the live action from here, and don't need a reference to keep the object mutable. Dumping the references helps ensure we don't end up getting errors when things calling the hooks might forget to use the reference and the PHP error reporting settings expose this fact at us.
2011-01-18 12:34:27 -08:00
Brion Vibber
d0d1257d99
SubMirror: switch the mirror setup tab from account settings to subscriptions/groups/invites area
2011-01-18 12:34:04 -08:00
Brion Vibber
ea31051401
TwitterBridge fix: merge down remaining 64-bit Snowflake ID fixes for twitterstatusfetcher.php from 0.9.x
...
Original fixes in c169dcb5221cf3dd452c291bf97374bb459cc5b9; didn't get merged in 39cad55711
because the code had been broken out to another file, but manual merge went smooth.
These affect twitterstatusfetcher.php on all 32-bit installs and some 64-bit installs (depending on whether the version of the JSON library reads the large numbers as long or double internally). 64-bit bug is harder to see as it tends to manifest as off-by-one due to losing a bit of precision off the end.
2011-01-18 11:08:32 -08:00
Evan Prodromou
2a59453d4c
Merge branch 'testing' into moveaccount
2011-01-17 17:34:03 -05:00
Evan Prodromou
a3c08faddd
Erroneous code ensuring Webfinger accounts
...
Ostatus_profile::ensureProfileURI() was accidentally falling through to
the default switch case, and was also calling common_log() incorrectly.
2011-01-17 17:32:44 -05:00
Evan Prodromou
a2aa87fbff
OStatusPlugin does discovery in Profile::fromURI()
2011-01-17 15:45:03 -05:00
Evan Prodromou
0fa57948f2
move linkheader.php to core
2011-01-16 17:15:26 -05:00
Evan Prodromou
7d1f609bf0
Move discovery library from OStatus plugin to core
2011-01-16 17:15:26 -05:00
Siebrand Mazeland
f1820459a8
Localisation updates from http://translatewiki.net .
2011-01-15 01:30:01 +01:00
Siebrand Mazeland
89727549a6
Localisation updates from http://translatewiki.net .
2011-01-15 00:47:49 +01:00
Siebrand Mazeland
b59bc2f48b
Add translator comments.
2011-01-15 00:31:26 +01:00
Siebrand Mazeland
2460301d24
Add punctuation for consistency.
2011-01-14 21:53:01 +01:00
Evan Prodromou
5c25364141
remove extraneous <dl> and <dt> tags
2011-01-14 15:36:06 -05:00
Siebrand Mazeland
380ca7187c
Localisation updates from http://translatewiki.net .
2011-01-14 12:10:05 +01:00
Siebrand Mazeland
9da9504823
Fix typo in extension description.
2011-01-14 12:07:57 +01:00
Evan Prodromou
f9b2feb7f5
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
README
2011-01-12 18:05:56 -05:00
Evan Prodromou
906f2ed023
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2011-01-10 14:59:51 -05:00
Evan Prodromou
7ca57e32aa
Merge remote branch 'gitorious/testing' into testing
2011-01-10 14:59:07 -05:00
Evan Prodromou
5d43923941
remove help link; Everyone => Public; Logo goes home
2011-01-07 19:27:59 -05:00
Evan Prodromou
16cf7d8d40
Show some menu fixup for settings for some themes
2011-01-07 19:22:27 -05:00
Evan Prodromou
66ed9c7f30
change 'Everyone' to 'Public'
2011-01-07 18:57:34 -05:00
Evan Prodromou
9af5040693
combine account and connect menus
2011-01-07 18:56:18 -05:00
Brion Vibber
36711f305a
Ticket #1968 : fix favoriting, reply when using InfiniteScroll
2011-01-06 16:53:39 -08:00
Brion Vibber
f97380fdb5
Fix regression in last year's update of InfiniteScroll -- having debug off caused breakage due to bad code interpreting every variable as a selector, and jQuery then failing when passed 'false'.
...
Note that the current version of the infinitescroll jquery plugin fixes this, but I'm not updating to it because the code's been altered from the upstream version, apparently to stop it from actually working as infinite scroll. WTF? :)
2011-01-06 16:36:57 -08:00
Brion Vibber
7ec456198a
Ticket #2732 : add some regression tests for groups to OStatus remote-tests.php
...
Note that these tests won't pass on master branch yet as the join/leave don't work, and there's a bug in Activity parsing which prevents interop between new feeds and old remote subscribers (both fixed in this branch).
2011-01-06 15:13:38 -08:00
Zach Copley
77eda41030
Added Start/EndRegistrationTry events to Facebook Bridge's user registration
2011-01-06 12:15:59 -08:00
Brion Vibber
1d15145993
Salmon signature checks on incoming slaps now check both old and new signature formats.
2011-01-06 00:01:42 +00:00
Brion Vibber
437ac120b0
Outgoing Salmon slaps now use the corrected signature format; if the first hit is rejected with an HTTP error, we try again with the old format.
...
(This is not 100% ideal; possibly should try to distinguish between server errors and rejections, etc.)
2011-01-05 23:54:16 +00:00
Zach Copley
f3d48d2dfe
Add README with intallation/upgrade instructions to the Facebook Bridge plugin
2011-01-05 15:34:10 -08:00
Brion Vibber
946a4ac17b
Add test cases for internal change in Salmon signing; fix for the new code.
...
Updated sig passes Tuomas's verifier, which is a good sign
2011-01-05 23:26:39 +00:00
Brion Vibber
e25c34a2b6
Salmon slap / magicsig test script
...
Given a notice in the local system, we package it up as an Atom entry and MagicSig it up.
We run the magicenv verification on it locally to make sure our own functions can decode it.
Optionally with --verify we can send to Tuomas Koski's verification test service (not sure if this is working 100%)
If given --slap= with a target Salmon endpoint, we'll sent it on and see if it liked it. (Note that StatusNet will reject if there's not a relevant mention, but will report acceptance for dupes so you can use a message that's already been delivered as a test.)
2011-01-05 14:27:53 -08:00
Brion Vibber
51d1535f15
Added doc comments on Salmon magicsig-related stuff to help in figuring out what's going on
2011-01-05 14:05:59 -08:00
Brion Vibber
d0d39b51b8
Fixes for RegisterThrottle plugin: alt registration methods (OpenID, FBConnect, Twitter) weren't triggering the throttle check or recording of IPs.
...
Added StartRegistrationTry/EndRegistrationTry calls into those three, and moved the actual recording hook to EndUserRegister which is guaranteed to be called from User::register (so we don't need to worry about other auth methods forgetting to call the other UI-code hooks).
2011-01-05 12:28:02 -08:00
Evan Prodromou
75dd361d29
move profile to subgroupnav
2011-01-05 11:24:24 -08:00
Evan Prodromou
b1e42115da
new menu layout plugin
2011-01-04 19:32:36 -08:00
Evan Prodromou
3dcf8f1ef6
change bookmark-info from a <p> to a <div>
2011-01-04 13:10:32 -08:00
Max Shinn
ac675c946d
Editing profile fields and some bugs
2011-01-01 16:06:14 -06:00
Max Shinn
6a44fba936
Added a readme for instructions on how to use/install the profile extensions
2011-01-01 11:03:44 -06:00
Max Shinn
b0899bd940
New plugin: GNUsocialProfileExtensions! Profiles can be extended with administrator-defined fields.
2010-12-31 16:36:51 -06:00
Brion Vibber
ae59046b1e
Bookmark plugin: tweak post-upload success message to distinguish between "already done" (UnQueueManager) and "started, should finish eventually" (other queue manager)
2010-12-31 12:42:26 -08:00
Brion Vibber
3368c33be7
Bookmark plugin: fix for delicious import with queues enabled
...
We were passing DOM nodes directly into the queues for the final bookmark import stage; unfortunately these don't actually survive serialization.
Moved the extraction of properties from the HTML up to the first-stage handler, so now we don't have to worry about moving DOM nodes from one handler to the next. Instead passing an associative array of properties, which is fed into the Bookmark::saveNew by the per-bookmark handler.
2010-12-31 12:33:51 -08:00
Brion Vibber
fedfde9bbb
Bookmark plugin: fixes for bad DOM element nesting in delicious import data
...
delicious bookmark exports use the godawful HTML bookmark file format that ancient versions of Netscape used (and has thus been the common import/export format for bookmarks since the dark ages of the web :)
This arranges bookmark entries as an HTML definition list, using a lot of implied close tags (leaving off the </dt> and </dd>).
DOMDocument->loadHTML() uses libxml2's HTML mode, which generally does ok with muddling through things but apparently is really, really bad about handling those implied close tags.
Sequences of adjacent <dt> elements (eg bookmark without a description, followed by another bookmark "<dt><dt>"), end up interpreted as nested ("<dt><dt></dt></dt>") instead of as siblings ("<dt></dt><dt></dt>").
The first round of code tried to resolve the nesting inline, but ended up a bit funky in places.
I've replaced this with a standalone run through the data to re-order the elements, based on our knowing that <dt> and <dd> cannot directly contain one another; once that's done, our main logic loop can be a bit cleaner. I'm not 100% sure it's doing nested sublists correctly, but these don't seem to show up in delicious export (and even if they do, with the way we flatten the input it shouldn't make a difference).
Also fixed a clearer edge case where some bookmarks didn't get imported when missing descriptions.
2010-12-31 12:09:54 -08:00
Brion Vibber
5687531848
Bookmark plugin: graceful error out for failure to import a delicious bookmark due to it being already bookmarked
2010-12-31 12:09:15 -08:00
Evan Prodromou
5dfc9e1b18
Generated an extra class on bookmark notice <li>s
2010-12-30 16:57:28 -08:00
Evan Prodromou
5d7f5212f0
switch bookmark CSS classes to use dash instead of underscore
2010-12-30 16:54:01 -08:00
Evan Prodromou
7793d3b7ad
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-12-30 16:21:45 -08:00
Evan Prodromou
682e11bb8b
don't show some bookmark elements if empty
2010-12-30 16:21:22 -08:00
Brion Vibber
b71a09a1a9
Tweak the post-form return on bookmarklet if we're not in a popup that we can close
2010-12-30 16:14:41 -08:00
Evan Prodromou
32eb4c5e2d
Merge remote branch 'gitorious/0.9.x' into 1.0.x
...
Conflicts:
lib/common.php
2010-12-30 15:52:08 -08:00
Evan Prodromou
6fc7e5b05b
Use UUIDs for Bookmark unique ID
...
I was trying to generate URIs for Bookmarks based on (profile, crc32(url), created).
I failed at that. CRC32s are unsigned ints, and our schema code didn't like that.
On top of that, my code to encode and restore created timestamps was problematic.
So, I switched back to using a meaningless unique ID for Bookmarks.
One way to do this would be to use an auto-incrementing integer ID. However, we've been
kind of crabbed out a few times for exposing auto-incrementing integer IDs as URIs, so
I thought maybe using a random UUID would be a better way to do it.
So, this patch sets random UUIDs for URIs of bookmarks.
2010-12-30 13:21:14 -08:00
Max Shinn
24e5f1806a
Notifications and deleting albums
2010-12-30 08:02:59 -06:00
Evan Prodromou
d3b10959f4
Merge branch '0.9.x' into noactor
2010-12-29 15:29:29 -08:00
Evan Prodromou
2d576aea30
don't distribute when restoring archived delicious bookmarks
2010-12-29 14:52:43 -08:00
Evan Prodromou
3fea4aba7f
phpcs showbookmark.php
2010-12-29 14:24:30 -08:00
Evan Prodromou
f3999ab92d
phpcs noticebyurl.php
2010-12-29 14:22:41 -08:00
Evan Prodromou
f5256eb028
phpcs importdelicious.php
2010-12-29 14:21:25 -08:00
Evan Prodromou
b00d113bb4
phpcs Bookmark.php
2010-12-29 14:17:32 -08:00
Evan Prodromou
10fa41454d
phpcs BookmarkPlugin.php
2010-12-29 14:16:15 -08:00
Evan Prodromou
68f44dad82
Add link to delicious bookmark importer to profile settings
2010-12-29 14:02:31 -08:00
Evan Prodromou
4a9a5076ff
Web UI for importing delicious backup files
2010-12-29 13:51:59 -08:00
Max Shinn
57aef10ed2
Delete the notice *and* the photo
2010-12-29 13:03:23 -06:00
Max Shinn
35e0832ec0
Let's try that again
2010-12-28 21:14:19 -06:00
Max Shinn
d68d95e08d
Fixed undefined variable while creating new albums
2010-12-28 20:59:01 -06:00
Max Shinn
e9e5fdb139
Matt's demands (ticket #217 )
2010-12-28 19:45:25 -06:00
Evan Prodromou
db43195fbf
fixup date handling in showbookmark for PHP 5.2
2010-12-28 23:36:25 +00:00
Evan Prodromou
dcd0e3ec7e
show count of other bookmarks with link to stream
2010-12-28 13:45:24 -08:00
Evan Prodromou
821770966b
Page with a list of notices that link to an URL
2010-12-28 12:58:10 -08:00
Max Shinn
e525e9ab9b
Deleting photos
2010-12-28 11:20:08 -06:00
Max Shinn
407aa6a947
Updating uploaded photos
2010-12-28 10:40:58 -06:00
Max Shinn
90521450a0
Cool js photo resizing effect
2010-12-28 09:38:50 -06:00
Max Shinn
c73398fb25
External css
2010-12-28 09:10:22 -06:00
Max Shinn
46b2151f09
Pictures/albums in floating divs
2010-12-28 08:57:28 -06:00
Max Shinn
330ac5dd12
Photo albums on photos page
2010-12-28 08:31:34 -06:00
Max Shinn
22fe5d0215
Creating albums and uploading to them
2010-12-28 07:33:06 -06:00
Evan Prodromou
c8bbde69df
import bookmarks from backups
2010-12-27 22:57:35 -08:00
Evan Prodromou
0a56e88a64
Don't double-insert a bookmark
2010-12-27 22:57:11 -08:00
Evan Prodromou
4465724ed3
return saved notice to AtomPub for Bookmarks
2010-12-27 22:16:34 -08:00
Evan Prodromou
7b9ea62259
Make AtomPub work for bookmarks
2010-12-27 22:09:29 -08:00
Evan Prodromou
6393326557
Merge branch '0.9.x' into socialbookmark
2010-12-27 20:49:31 -08:00
Ian Denhardt
89d8c0c6f2
automatically create a default photo album when a user's photos page is visited if none exist.
2010-12-27 22:08:36 -05:00
Max Shinn
d61f88b979
Only show photo uploads for logged in users
2010-12-27 17:12:25 -06:00
Max Shinn
18f46958f2
Individual ids for photos
2010-12-27 16:57:13 -06:00
Max Shinn
a6bf28f3ee
Fixing photo page replies and descriptions
2010-12-27 16:39:21 -06:00
Evan Prodromou
141b4b67b3
Better UI for bookmark popup
2010-12-27 12:57:03 -08:00
Evan Prodromou
45b2059cd8
better layout for single-bookmark page
2010-12-27 12:08:55 -08:00
Evan Prodromou
29103f5d0e
send and receive bookmarks by Salmon
2010-12-27 11:29:16 -08:00
Evan Prodromou
b54ea6767a
New event for Salmon including target
2010-12-27 10:51:59 -08:00
Evan Prodromou
ab92496ddc
Stop using <activity:subject> for atom feeds
2010-12-27 10:03:34 -08:00
Evan Prodromou
4777c927ad
Fix bookmark replies handling so doesn't overwrite
2010-12-27 09:14:11 -08:00
Max Shinn
98cb4a4e54
Improved nav bar
2010-12-27 07:42:00 -06:00
Evan Prodromou
14113b267e
replace call to protected Ostatus_profile method
2010-12-26 21:38:28 -08:00
Evan Prodromou
bf75119b3c
Fix bugs in BookmarkPlugin
2010-12-26 21:25:26 -08:00
Evan Prodromou
7d56f1cd19
Some fixes from debugging of bookmark plugin URI foramt
...
Tightened up the URI format, fixed some auto-loading issues,
and forced the url_crc32 column to be unsigned.
2010-12-26 21:11:27 -08:00
Evan Prodromou
ca28140107
remove debugging outputter from delicious backup importer
2010-12-26 21:10:54 -08:00
Evan Prodromou
ea1676cb0a
UTC only and tighter date format for showbookmark
2010-12-26 21:10:23 -08:00
Max Shinn
e81bdcb200
Untabify
2010-12-26 20:51:17 -06:00
Max Shinn
cbf296e804
Usability with photos tab
2010-12-26 20:42:45 -06:00
Max Shinn
a10a9c4a90
Show photos on all of a user's pages
2010-12-25 15:56:46 -06:00
Max Shinn
a3c4dca90d
Links to photo pages in gallery
2010-12-25 15:35:20 -06:00
Max Shinn
4af6e0f44c
Merge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps-gnu-social
2010-12-25 08:02:17 -06:00
Max Shinn
6cc0a910d2
Individual photo page
2010-12-25 08:02:06 -06:00
Evan Prodromou
4048d1ec3d
Radical differences in Bookmark storage
...
Had some problems with PuSH and Salmon use of Bookmarks; they were
being required to generate Atom versions of the bookmark _before_ the bookmark was saved.
So, I reversed the order of how things are saved, and associate notices and bookmarks
by URI rather than notice_id.
2010-12-24 20:34:15 -08:00
Ian Denhardt
3a7e8e9d88
apparently we need a primary key in every table. this fixes an error in the logs.
2010-12-23 16:26:21 -05:00
Evan Prodromou
67bde86f7c
accept bookmarks over PuSH
2010-12-23 09:42:42 -08:00
Brion Vibber
26baad63f2
Merge branch '0.9.x' into 1.0.x
2010-12-22 15:25:38 -08:00
Evan Prodromou
ae64963d71
Reformat bookmark output
2010-12-22 15:24:13 -08:00
Brion Vibber
8babcc2ad2
Makefile to compress LinkPreview's js
2010-12-22 15:04:50 -08:00
Evan Prodromou
1faaaed72b
Move bookmark CSS to its own file
2010-12-22 13:08:07 -08:00
Evan Prodromou
402cac2f93
Merge branch '0.9.x' into socialbookmark
...
Conflicts:
lib/activityobject.php
2010-12-22 12:09:42 -08:00
Evan Prodromou
9a6ceb3303
Merge branch 'righttoleave' into 0.9.x
2010-12-22 11:22:51 -08:00
Evan Prodromou
73dccdd7f5
Notice_bookmark::saveNew() takes a Profile argument
2010-12-22 12:35:45 -05:00
Ian Denhardt
c901039a1f
added link to photo upload page.
2010-12-21 16:25:11 -05:00
Ian Denhardt
23cf5c780d
Added a link to the user's photos on their profile page.
2010-12-21 15:33:49 -05:00
Ian Denhardt
012ccc2dcb
no longer have to be logged in to merely view a photo album.
2010-12-21 14:54:02 -05:00
Evan Prodromou
6ff8977243
Bookmarklet for Bookmark plugin
2010-12-21 14:46:31 -05:00
Evan Prodromou
0665beec58
Bookmarklet for new bookmarks
...
Override the bookmarklet help page to add a new popup.
2010-12-21 14:43:03 -05:00
Evan Prodromou
6670dd8450
Layout on the bookmark form
2010-12-21 12:25:23 -05:00
Evan Prodromou
ccb290cb68
Break up delicious import into a queue manager by bookmark
2010-12-21 11:09:01 -05:00
Evan Prodromou
b8a182dc44
PHPCS Notice_bookmark
2010-12-21 10:32:35 -05:00
Evan Prodromou
d9ff466d2c
PHPCS newbookmark
2010-12-21 10:22:50 -05:00
Evan Prodromou
907f1ad633
PHPCS importbookmarks
2010-12-21 10:20:49 -05:00
Evan Prodromou
14babfb900
PHPCS BookmarkForm
2010-12-21 10:16:53 -05:00
Evan Prodromou
c96faf065d
PHPCS BookmarkPlugin.php
2010-12-21 10:13:20 -05:00
Evan Prodromou
331639d6e4
Code standards for deliciousbackupimporter.php
2010-12-21 09:42:44 -05:00
Ian Denhardt
148f6b6933
corrected height/width on ad-hoc'd thumnails.
2010-12-20 22:07:03 -05:00
Ian Denhardt
30815645fc
Photo federation is basically working now, could use some polish.
2010-12-20 22:02:50 -05:00
Brion Vibber
f82dd4e14f
Merge branch '0.9.x' into 1.0.x
2010-12-20 14:28:43 -08:00
Brion Vibber
b83e7005ed
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/OStatus/classes/FeedSub.php
2010-12-20 14:23:15 -08:00
Ian Denhardt
39d0420ab6
Fixed a typo that rendered firefox (and probably others) unable to upload photos.
2010-12-20 16:52:25 -05:00
Brion Vibber
46123e3754
*cough* don't commit the code that breaks your code that you used to test the debug code :D
2010-12-20 13:06:58 -08:00
Brion Vibber
a4e2f38356
Slightly fancier debug code for PuSH hmac mismatches -- save the post to a temp file if feedsub/debug is on in config.
2010-12-20 13:05:17 -08:00
Ian Denhardt
e36399974e
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
...
Conflicts:
lib/action.php
plugins/OStatus/actions/ostatusinit.php
2010-12-20 15:19:33 -05:00
Brion Vibber
dd48bdb1c4
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
2010-12-20 10:48:02 -08:00
Brion Vibber
c71d701a3f
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
2010-12-20 10:46:23 -08:00
Evan Prodromou
704a20f58b
some corrections for double-posting of bookmarks
2010-12-20 13:39:07 -05:00
Evan Prodromou
770efece83
don't reinsert existing bookmark
2010-12-20 13:38:24 -05:00
Evan Prodromou
15f4e0a9f0
reindent BookmarkPlugin
2010-12-20 13:35:30 -05:00
Evan Prodromou
d8de285d4e
reindent importbookmarks.php
2010-12-20 13:35:21 -05:00
Evan Prodromou
510e79a96c
Starting point for adding bookmarks
2010-12-20 12:04:02 -05:00
Evan Prodromou
cab7522476
Notice_bookmark::saveNew() takes options arg
2010-12-20 12:03:33 -05:00
Evan Prodromou
cb76465cfa
Better output for activities and HTML in BookmarkPlugin
2010-12-19 10:18:33 -05:00
Evan Prodromou
d6030714f3
Use Notice_bookmark::saveNew() from NewbookmarkAction
2010-12-19 10:18:07 -05:00
Evan Prodromou
cee93dd15d
Move notice bookmark creation to Notice_bookmark::saveNew()
2010-12-19 10:17:23 -05:00
Evan Prodromou
fce2078dfb
code done on debugging in bookmarks
2010-12-18 17:21:40 -05:00
Evan Prodromou
6b7931bcc8
delete bookmark stuff when deleting notice
2010-12-18 02:39:44 -05:00
Evan Prodromou
563f067508
save title and description of bookmark
2010-12-18 02:39:24 -05:00
Evan Prodromou
85d54cbdb7
save title and description of bookmark
2010-12-18 02:36:13 -05:00
Evan Prodromou
f641034471
First pass at storing bookmarks
...
Form for saving bookmarks that looks like the delicious.com form.
Save a new notice with the right text, but attach a new notice_bookmark
table which marks this as a bookmark. Tags, URLs are kept the same.
2010-12-18 02:27:14 -05:00
Brion Vibber
d8a3a88ec8
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
classes/Memcached_DataObject.php
2010-12-17 17:13:21 -08:00
Zach Copley
073f3e99cb
Update Twitter calls to use documented API endpoints
...
see: http://groups.google.com/group/twitter-api-announce/msg/34b013f4d092737f
2010-12-17 15:57:22 -08:00
Craig Andrews
786250e3d9
In LdapCommon checkPassword/changePassword only get the 'dn' attribute as an optimization as no other attributes are necessary.
...
Thanks to drslump reported at http://status.net/open-source/issues/2955
2010-12-17 17:22:52 -05:00
Brion Vibber
0e7a283883
only run explain on selects
2010-12-17 12:08:46 -08:00
Brion Vibber
66b89de256
SQLProfile: quickie plugin to run DB queries through 'explain' and log ones that trigger filesort or temporary table
2010-12-17 11:41:40 -08:00
Evan Prodromou
16fc5314fb
move code to get an author object for a feed to a library from Ostatus_profile
2010-12-17 13:09:37 -05:00
Brion Vibber
e79034e163
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
2010-12-16 15:56:19 -08:00
Siebrand Mazeland
ae65f93b2b
L10n updates and removal of superfluous whitespace.
2010-12-16 16:33:39 +01:00
Siebrand Mazeland
cf824621b9
Localisation updates from http://translatewiki.net .
2010-12-16 16:30:30 +01:00
Brion Vibber
0330bad688
Cleaner code to avoid a couple PHP notices from accessing uninitialized variables in ostatus profile discovery (these cases hit checking diaspora accounts)
2010-12-15 12:14:25 -08:00
Brion Vibber
bf20258f4b
Merge branch '0.9.x' into 1.0.x
2010-12-15 11:59:31 -08:00
Brion Vibber
6c67114198
Mark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. Tweaked ApiStatusesShow and ApiTimelineUser to still claim read-only when hit with a HEAD request (usually link checkers or a precursor to a GET, and should be semantically equivalent to a GET without actually transferring data)
2010-12-14 16:14:15 -08:00
Brion Vibber
39cad55711
TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit and pre-5.2.10 compatibility. (on 64-bit in 5.2.6 we can pull the integer IDs, but silently lose some precision on the end.)
...
Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
Conflicts:
plugins/TwitterBridge/twitterimport.php <- as this hasn't been broken out, the import code is NOT FULLY UPDATED HERE.
2010-12-13 12:13:24 -08:00
Brion Vibber
f947fe5d0c
Disable InProcessCache plugin for CLI scripts, which are more likely to be long-running, greatly increasing the chance of data corruption.
2010-12-09 10:24:06 -08:00
Evan Prodromou
99f3964394
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-12-09 10:48:12 -05:00
Evan Prodromou
f5f6a742cb
Additional in-process cache plugin InProcessCache
...
Some of our caching systems, like the disk cache or memcached, have
significant overhead (network connections or disk I/O).
This plugin adds an additional layer of in-process cache, so we don't
need to reconnect to external cache systems when we've already
received a data item from the cache. There are some concurrency issues
here, but typically they won't be important at the level of a single
web hit.
2010-12-09 10:45:36 -05:00
Brion Vibber
e25d4683c8
Merge branch 'master' into 0.9.x
2010-12-08 18:13:20 -08:00
Brion Vibber
516161213f
Tweak to PiwikAnalytics plugin to help browsers to pre-load piwik.js, may shave a little off load time.
...
Piwik's current default recommended JS for loading creates a <script> tag via document.write(). In addition to being generally evil, this means the browser doesn't know it's going to need piwik.js until that chunk of script gets executed... which can't happen until all scripts referenced *before* it have been loaded and executed.
The only reason for that bit of script though seems to be to pick 'http' or 'https' depending on the current page's scheme. This can be done more simply by using a protocol-relative link (eg "//piwik.status.net/piwik.js"), which the browser will resolve as appropriate. Since it's now sitting in the <script> tag, the browser's lookahead code will now see it and be able to start loading it while earlier things are parsing/executing.
May be better still to move to an asynchronous load after DOM-ready, but I'm not sure if that'll screw with the analytics code (eg, not being able to start things on the DOM-ready events since they're past).
2010-12-08 17:39:04 -08:00
Brion Vibber
d8d9edfc99
Merge branch 'master' into 0.9.x
2010-12-08 15:01:25 -08:00
Brion Vibber
26bd15ec0a
Mapstraction plugin: use minified sources for OpenLayers
...
The default full build of OpenLayers.js is 943kb as of 2.10; this gzips down to a couple hundred kb
but is still rather nasty, plus loading it off a remote host could slow things down.
Using a local copy let us cut down the size significantly by discarding unused features, and further
minification with yui-compressor shaves a bit more off. Cuts down to about 1/5 the size of the
original.
Also threw in a bundled & minified copy of the Mapstraction classes plus our usermap.js,
which covers the common case of using the default OpenLayers provider. This cuts out three
additional script loads, two of which weren't getting launched until after the mxn.js main
file got loaded.
2010-12-08 14:54:02 -08:00
Brion Vibber
fb315c6f61
Create a bundled & minified JS file for Mapstraction's common case (using OpenLayers); this'll avoid waiting on additional script loads for mxn.core.js and mxn.openlayers.core.js, and removes the need to load usermap.js separately as well.
2010-12-08 14:52:26 -08:00
Brion Vibber
34569017ce
Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version.
...
Included Makefile will recreate the OpenLayers.js using the statusnet.cfg strip configuration file
and yui-compressor to do some extra minification at the end. Requires fetching the OpenLayers
source download and dropping it in:
http://openlayers.org/download/OpenLayers-2.10.tar.gz
2010-12-08 14:28:55 -08:00
Brion Vibber
db4d69f099
Quick hack to discard twitter broadcast queue items on failure *IF* config option 'twitter' 'ignore_errors' is on:
...
$config['twitter']['ignore_errors'] = true;
A longer-term solution is to patch up the indirect retry handling to count retries better, or delay for later retry sensibly.
2010-12-07 12:11:37 -08:00
Brion Vibber
9df856e667
Merge branch '0.9.x' into merge
...
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
2010-12-07 10:50:05 -08:00
Brion Vibber
4b4b763255
For good measure, don't return autocomplete results when not logged in.
2010-12-06 17:20:14 -08:00
Brion Vibber
6662141328
reindent
2010-12-06 17:16:47 -08:00
Brion Vibber
febcf7258c
Tweak router target URL for Autocomplete suggestions
2010-12-06 17:15:56 -08:00
Brion Vibber
ee9e95877c
Update Autocomplete readme: current state seems to work fine on private sites, so removing that note.
2010-12-06 17:13:02 -08:00
Brion Vibber
4868aaf9ea
Ticket #2924 : include mini avatars in Autocomplete plugin drop-down list
...
Ticket #2923 : don't show "(null)" for some profiles with no full name set
2010-12-06 16:55:16 -08:00
Brion Vibber
daae13df1c
Start tweaking Autocomplete js
2010-12-06 16:20:54 -08:00
Brion Vibber
851dbf1361
fix breakage in AutocompletePlugin
2010-12-06 15:23:12 -08:00
Brion Vibber
c40fde900a
minify LinkPreview JS code
2010-12-06 15:11:42 -08:00
Brion Vibber
bb50e773e6
Ticket #2921 : cleanup on LinkPreview to make fewer requests while typing. Will now wait for each link's preview request to complete (successfully or unsuccessfully) before re-running it)
2010-12-06 14:49:24 -08:00
Brion Vibber
fb1fc8a046
Use short API-style error responses for LinkPreview's oembed proxy
2010-12-06 13:37:57 -08:00
Evan Prodromou
89f5dd4c18
updated NoticeTitle plugin to use new activity events
2010-12-05 16:31:43 -05:00
Brion Vibber
aa96c3c1d9
Fix for tickets #2917 , #2262 : user URL shortening options not being applied 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.
2010-12-02 13:41:56 -08:00
Siebrand Mazeland
c4f67f7647
* fix typo in parameter notation
...
* add FIXME for unused message
* remove superfluous whitespace
2010-12-02 12:42:58 +01:00
Brion Vibber
bc9fcaf2eb
Fix for ticket #2911 : Hitting enter on the "associate with current account" in OpenID flow failed due to forms being mixed together
...
Separating the two forms (one to create a local account, the other to attach the OpenID to an existing account) gets them working -- enter activates the appropriate default button.
2010-12-01 12:21:00 -08:00
Brion Vibber
f68d4e7d06
Fix dumb mistake -- changed function names partway through writing Nickname and forgot to update a couple places. :)
2010-12-01 11:21:00 -08:00
Evan Prodromou
0410462c4b
add OpenID data to the Webfinger XRD file so you can login with it elsewhere
2010-12-01 13:43:34 -05:00
Brion Vibber
18cbdfb49b
Ticket #2913 : Realtime background update marker no longer triggers false positives when clearing the marker on switching away from the tab in Firefox 4
...
We were clearing the counter on the window title in the blur event, which gets fired *after* we switch away, thus triggering Firefox to mark the tab as updated again.
Clearing the counter on *focus* instead avoids this, and keeps the counter out of the way as well.
2010-12-01 01:09:14 +00:00
Brion Vibber
c6f5975554
Fix ticket #2914 : Realtime no longer tells you it's got a message queued up when it's really the one you just sent out and is already visible.
2010-11-30 16:46:11 -08:00
Brion Vibber
f222e2132d
Went through realtimeupdate.js and added documentation comments -- does not alter the minified version. :)
...
Identified several bugs and fixmes, and added more thorough labeling of the issues with replicating the entire HTML structure of notices (no i18n, missing new features, maintenance problems, possible other issues)
2010-11-30 16:39:09 -08:00
Brion Vibber
749367e12f
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
lib/router.php
2010-11-30 16:34:52 -08:00
Brion Vibber
b4fc54c308
Flush router cache when saving Twitter admin settings: adding/removing keys can enable/disable some actions. This avoids having users' Twitter settings unreachable after adding your keys to an installation with TwitterBridge on but not pre-configured.
2010-11-30 12:46:33 -08:00
Brion Vibber
bcccbd6d8a
BitlyPlugin: fix for shortening URLs containing ampersand (&)
2010-11-30 12:40:23 -08:00
Siebrand Mazeland
6bdce2b1e5
Localisation updates from http://translatewiki.net .
2010-11-30 21:35:25 +01:00
Siebrand Mazeland
ee67a0673d
Localisation updates from http://translatewiki.net .
2010-11-30 18:53:04 +01:00
Brion Vibber
8161bf0797
Merge branch 'namecase' into 0.9.x
2010-11-29 16:47:51 -08:00
Zach Copley
f1f67c2af5
FacebookBridge:
...
- Don't try to access Foreign_link if it doesn't exist
- Remove noisy debugging statement
2010-11-29 23:57:41 +00:00
Brion Vibber
8d3577da34
Replace a couple plugin usages of NICKNAME_FMT with Nickname::normalize()
2010-11-29 15:11:07 -08:00
Brion Vibber
dc350b5463
Work in progress on nickname validation changes. lib/nickname.php appears to have been destroyed by NetBeans and will be rewritten shortly. Sigh.
2010-11-29 14:15:25 -08:00
Matt Lee
adb98ce5d1
updated
2010-11-29 16:02:17 -05:00
Matt Lee
675d902cab
updated
2010-11-29 16:01:19 -05:00
Matt Lee
3277523448
updated
2010-11-29 16:00:54 -05:00
Matt Lee
4da41d95ee
updated
2010-11-29 16:00:17 -05:00
Matt Lee
f4dd6c2916
updated
2010-11-29 15:58:41 -05:00
Matt Lee
67db18d30b
updated
2010-11-29 15:57:28 -05:00
Matt Lee
432237178f
updated
2010-11-29 15:55:58 -05:00
Siebrand Mazeland
ed0e91c7a1
Localisation updates from http://translatewiki.net .
2010-11-29 20:28:28 +01:00
Evan Prodromou
8212df3e1a
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-11-26 22:11:12 -05:00
Evan Prodromou
005a14272d
Make OStatusPlugin define push feed rel
2010-11-26 22:10:18 -05:00
Evan Prodromou
fcc0825b14
Make userxrd part of the default hostmeta
2010-11-26 21:46:51 -05:00
Evan Prodromou
0a4911552e
Move user xrd action to core and use hooks to extend
...
Moved the Webfinger user XRD action from the OStatus plugin to core.
Added hooks to add OStatus-specific stuff, but kept general stuff in
the core.
2010-11-26 21:38:38 -05:00
Craig Andrews
3f3b38766f
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-11-26 21:12:14 -05:00
Brion Vibber
b6e5b1d294
Add LogFilter plugin: quickie way to filter out/in log output based on priority or keyword matches. Should be helpful for folks who can't easily adjust their syslog filtering.
2010-11-24 10:13:03 -08:00
Brion Vibber
c65f199486
logging tweak for Twitter status ID issue
2010-11-23 09:49:32 -08:00
Brion Vibber
c169dcb522
Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
...
Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
2010-11-23 09:28:47 -08:00
Zach Copley
7e6c0e542f
FacebookBridge - fail gracefully if the user has already deleted a
...
linked notice on Facebook.
2010-11-22 21:40:47 +00:00
Brion Vibber
c0ce953288
Update doc comment for Awesomeness plugin
2010-11-22 12:39:38 -08:00
Brion Vibber
5ad06e80b6
Tweak regex in Awesomeness plugin
2010-11-22 12:38:47 -08:00
Jeroen De Dauw
7e173f5db8
Added Awesomeness extension
2010-11-20 15:14:12 +01:00
Brion Vibber
37994e3ff1
Merge branch 'master' into 0.9.x
2010-11-19 15:53:29 -08:00
Brion Vibber
94f2f96f2e
Ticket #2724 : gracefully handle attempts to delete or fave/unfave a remote Twitter notice if a failure occurs.
...
Most annoying error case being where the notice was already faved or deleted on Twitter! :)
Such errors will now just fail out and log a note to the syslog -- the rest of what we were doing will continue on unhindered, so you can still delete, favorite, etc and it just won't sync the info over in that case.
2010-11-19 15:51:08 -08:00
Zach Copley
d927969209
Automatically make Facebook admin panel available if the FacebookBridge
...
plugin is installed.
2010-11-18 21:55:43 -08:00
Zach Copley
cb530566de
Facebook: Add needed perms to plain login URL
2010-11-18 13:34:41 -08:00
Zach Copley
229c2693f4
Fix name of Facebook Bridge plugin
2010-11-18 13:28:49 -08:00
Zach Copley
645a4d1754
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-11-17 22:16:08 +00:00
Zach Copley
163f18b8ac
Remove dumb debugging statement
2010-11-17 22:15:30 +00:00
Zach Copley
2c68703923
Facebook: Gracefully handle disconnection
2010-11-17 21:53:56 +00:00
Brion Vibber
197b56778a
Add $config['attachments']['process_links'] to allow disabling processing of 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.
2010-11-17 13:03:59 -08:00
Evan Prodromou
fae63a5161
use minified version of meteorupdater.js
2010-11-17 12:22:02 -05:00
Evan Prodromou
83f6bb9da1
use minified version of realtime.js
2010-11-17 12:21:01 -05:00
Brion Vibber
d1fb52264b
Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh*
2010-11-16 15:36:53 -08:00
Brion Vibber
9cdb9cc18d
LinkPreview: clear preview thumbnails & data on form submission/reset
2010-11-16 15:31:03 -08:00
Brion Vibber
f7fe3fa386
Less redrawing of bits in the link thumbnail preview
2010-11-16 15:20:37 -08:00
Brion Vibber
acdb9ac1e5
LinkPreview: restructure to make it easier to keep old link data
2010-11-16 14:57:35 -08:00
Brion Vibber
73f28ffabe
LinkPreview: use a local proxy for oEmbed lookups so we use a consistent common code path, and don't open up to oohembed.com being evil
2010-11-16 14:41:30 -08:00
Brion Vibber
b5fc71253c
LinkPreview: restructure a bit so we can pass config over
2010-11-16 14:27:01 -08:00
Brion Vibber
eeb7f02b98
LinkPreview: piggyback on the counter update logic, cache lookups.
2010-11-16 14:16:23 -08:00
Brion Vibber
f103a55052
LinkPreview: link the thumbnails
2010-11-16 13:58:22 -08:00
Brion Vibber
5166e71d24
LinkPreview plugin more or less functioning (though not pretty), using oohembed remote lookup and fixed sizes.
2010-11-16 13:49:23 -08:00
Brion Vibber
e851882f96
LinkPreview: flesh out stub JS code a bit. URL splitting doesn't quite match core, note.
2010-11-16 13:16:25 -08:00
Brion Vibber
450707fec6
Stub LinkPreview plugin
2010-11-16 12:41:35 -08:00
Zach Copley
4f63b5cff6
FacebookSSO -> FacebookBridge
2010-11-16 02:33:17 +00:00
Zach Copley
bd566b6f85
Merge branch '0.9.x' into facebook-upgrade
2010-11-16 02:32:46 +00:00
Zach Copley
ca4c0a1601
- Map notices to Facebook stream items
...
- rename plugin FacebookBridgePlugin
- delete/like/unlike notices across the bridge
2010-11-16 02:30:08 +00:00
Brion Vibber
eb0495d107
Merge branch 'master' into 0.9.x
2010-11-15 17:46:43 -08:00
Brion Vibber
54de6d3260
Forgot to commit the JS for ModPlus. :)
2010-11-15 17:45:58 -08:00
Brion Vibber
e4eb3b3dfd
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-15 17:36:48 -08:00
Brion Vibber
25170f272c
visual cleanup on ModPlus remote profile info popup menu
2010-11-15 17:32:33 -08:00
Brion Vibber
fdcaac3653
Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
2010-11-15 16:38:18 -08:00
Brion Vibber
5fdcba472b
RemoteProfileAction cleanup:
...
- meta robots to prevent spidering
- a little notice if silenced
2010-11-15 16:12:16 -08:00
Brion Vibber
88c35c2cce
visual tweaks for RemoteProfileAction
2010-11-15 15:57:57 -08:00
Brion Vibber
16f1c764c0
RemoteProfileAction: redirect to the regular user profile page if given a local user.
2010-11-15 15:40:07 -08:00
Brion Vibber
0e763b4902
Stub RemoteprofileAction to show the standard profile header stuff for offsite users -- provides a way to get at the mod & block controls for remote users.
2010-11-15 15:34:12 -08:00
Brion Vibber
227d4b6889
Stub ModPlus plugin: will hold experimental UI improvements for mod actions
2010-11-15 14:15:41 -08:00
Brion Vibber
398e622fec
Save attached URLs when importing a Twitter status: this lets our thumbnail detection handle photos and videos linked to by Twitter posters.
2010-11-12 17:40:34 -08:00
Brion Vibber
65eeb7cba5
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
actions/newgroup.php
2010-11-12 13:32:48 -08:00
Brion Vibber
6291e8201f
Fix for failure edge case in TwitterBridge outgoing repeat/retweets.
...
When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling.
Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it.
- Fixed the logic check and return values for the retweet case in broadcast_twitter().
- Added doc comments explaining the return values on some functions in twitter.php
- Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
2010-11-12 13:06:41 -08:00
Evan Prodromou
b6af5a25ba
don't try to initialize the mapstraction canvas if it doesn't exist
2010-11-12 11:48:17 -05:00
Evan Prodromou
fdf3a23da7
don't try to initialize the mapstraction canvas if it doesn't exist
2010-11-12 11:46:45 -05:00
Evan Prodromou
2d55bc0e5b
give users a chance to opt out of email summaries
2010-11-11 14:51:14 -05:00
Evan Prodromou
adb16b8098
fix update of email prefs in queue handler
2010-11-11 14:50:53 -05:00
Zach Copley
3c921f38de
Add an action to handle deauthorization callbacks from Facebook
2010-11-10 01:18:06 +00:00
Zach Copley
5b94d9e86b
Merge branch '0.9.x' into facebook-upgrade
2010-11-09 23:16:17 +00:00
Zach Copley
17ae690d59
Make a richer StatusNet profile from a user's Facebook profile
2010-11-09 23:14:50 +00:00
Evan Prodromou
e87323e426
change width of notices table to display better
2010-11-09 13:04:11 -05:00
Evan Prodromou
17ab5c31ed
some alignment in the table layout
2010-11-09 07:04:50 -05:00
Evan Prodromou
76aed36f38
set height and width of avatar td in email summary
2010-11-09 06:59:16 -05:00
Zach Copley
cd236efe12
- Still send notices to Facebook from existing Facebook app users
...
- Turns out we don't need the old REST lib to use the old REST API
(removed)
2010-11-09 00:56:53 +00:00
Evan Prodromou
974e41aa4b
change to a table for HTML output
2010-11-08 18:14:13 -05:00
Evan Prodromou
37407d8c77
stylesheet for outgoing email
2010-11-08 17:31:21 -05:00
Evan Prodromou
0a56523461
Fixup headers for HTML email
2010-11-08 17:22:16 -05:00
Evan Prodromou
797059340e
Complete email summary sending system
...
Added the necessary classes to send email summaries. First, added a
script to run on a daily basis. Second, added a queue handler for
sending email summaries for users, and another to queue summaries for
all users on the site. Fixed up the email_summary_status table to
store the last-sent notice id, rather than a datetime (since we don't
support 'since' parameters anymore). Finally, made the plugin class
load the right modules when needed.
2010-11-08 13:10:09 -05:00
Evan Prodromou
9003769609
Merge branch '0.9.x' into emailsummary
2010-11-08 13:09:25 -05:00
Evan Prodromou
35931e3a0e
first steps for email summary
2010-11-08 10:36:19 -05:00
Siebrand Mazeland
f8b2ec4b53
Localisation updates from http://translatewiki.net .
2010-11-07 22:33:23 +01:00
Siebrand Mazeland
7aa24cbc67
Localisation updates from http://translatewiki.net
2010-11-07 22:04:44 +01:00
Siebrand Mazeland
91e8e6f385
Fix typo. Spotted by EugeneZelenko.
2010-11-06 00:54:34 +01:00
Zach Copley
035081a803
Much more reliable Facebook SSO
2010-11-05 06:34:06 +00:00
Siebrand Mazeland
ca6d7f1042
Localisation updates from http://translatewiki.net .
2010-11-05 01:25:50 +01:00
Zach Copley
c0cce18913
- Some reorganizing
...
- Making the Facebook bridging work
2010-11-04 00:43:40 +00:00
Brion Vibber
b716d01a41
Merge branch '0.9.x' into 1.0.x
2010-11-03 16:09:49 -07:00
Brion Vibber
a3928e5583
UserFlagPlugin fix for ticket #2118 and ticket #2847 : flagged state wasn't reflected in profile lists such as group members page and profile search .
...
Pulled common code for the profile page and profile list cases to give them the same logic on checking. Also fixes the problem that you'd get a flag button for yourself in profile lists, while we explicitly exclude that from the profile page -- it's now skipped in both places.
2010-11-03 14:06:06 -07:00
Brion Vibber
6e03456753
Migrate some more code from manually constructing "fullname (nickname)" to using Profile->getFancyName(). Encapsulates common logic and allows for localization of the parens.
2010-11-03 13:10:42 -07:00
Brion Vibber
dc4fafbbd1
General cleanup & part of ticket #2864 : use User_group->getFancyName() instead of replicating the logic in various places. Encapsulates and allows for localization of parens.
2010-11-03 12:59:19 -07:00
Brion Vibber
5592333b73
Fix for ticket #2168 : if we've already flagged a profile from another window, let the 'Flag' form submission gracefully show the updated state instead of throwing an error (error message isn't even exposed properly in AJAX submissions)
2010-11-03 12:32:11 -07:00
Brion Vibber
607d958977
UserFlag fixes to prevent PHP notices breaking AJAX submissions when display_errors is on. Key & seq defs weren't quite right, which caused accesses to unset array indices in DB_DataObject.
2010-11-03 12:20:25 -07:00
Brion Vibber
1ceaa50cb0
Merge branch 'twitstream' into 0.9.x
2010-11-02 16:55:55 -07:00
Brion Vibber
9cbda32768
Pull out the 'tweetctl' queue for now; these should go over control signals, and actual handling isn't implemented yet anyway.
2010-11-02 16:51:07 -07:00
Brion Vibber
a2f0f68d75
fakestream.php can now take --all option to pull the latest messages from multiple locally-authed accounts when generating simulated sitestreams info
2010-11-02 16:43:01 -07:00
Brion Vibber
445b306b54
fakestream.php: script to build an emulated Twitter Site Stream from live Twitter data, for testing.
2010-11-02 16:27:14 -07:00
Brion Vibber
28703deb8f
Allow custom apiroot for site streams testing on streamtest
2010-11-02 16:26:51 -07:00
Zach Copley
e716c3ebaf
Merge branch '0.9.x' into facebook-upgrade
2010-11-02 23:17:07 +00:00
Zach Copley
5ea0461145
Facebook SSO - Log the user out of Facebook when s/he logs out of StatusNet
2010-11-02 23:16:32 +00:00
Siebrand Mazeland
ec79572964
Localisation updates from http://translatewiki.net .
2010-11-03 00:04:26 +01:00
Siebrand Mazeland
973a48bded
i18n/L10n fixes and translator documentation addded/updated.
2010-11-02 23:48:36 +01:00
Brion Vibber
905d621b6f
Merge branch '0.9.x' into twitstream
2010-11-02 15:10:56 -07:00
Brion Vibber
0229c22d23
Merge branch '1.0.x' into schema-x
2010-11-02 15:02:55 -07:00
Brion Vibber
04ca706601
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
actions/confirmaddress.php
actions/othersettings.php
2010-11-02 15:02:10 -07:00
Brion Vibber
c6d4612f49
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-02 13:14:42 -07:00
Brion Vibber
86201761ea
Use SN.msg() and onEndScriptMessages() to export localized UI messages from Realtime plugin and its descendents.
2010-11-02 13:12:58 -07:00
Brion Vibber
5a9bb0adc4
Tossing in a basic i18n message export to script code. Plugins can hook StartScriptMessage/EndScriptMessage, or directly add needed mappings in Action::getScriptMessages(). Exported entries are accessible as SN.msg(key) at runtime.
...
StatusNet core code now sets the tooltip text on .attachment.more links when they receive their attachment-expansion magic; this will override the hardcoded tooltip text saved from OStatus plugin when displaying timelines in the web UI.
2010-11-02 13:05:16 -07:00
Siebrand Mazeland
194bb02252
* add POT file
...
* remove superfluous whitespace
* break lines at 80 or before in README
2010-11-02 20:49:34 +01:00
Brion Vibber
151eebcc28
Starting on making Realtime plugin's UI messages localizable: pause/play, popup button text and tooltip text are now loaded from PHP code where we can get at gettext.
2010-11-02 11:46:29 -07:00
Brion Vibber
23f69c80b5
Merge branch '0.9.x' into twitstream
2010-11-02 11:15:57 -07:00
Zach Copley
5ccc548bbc
Facebook SSO - new settings page
2010-11-02 01:41:31 +00:00
Zach Copley
b54afa0cbc
Facebook SSO - add ability to register a new user or connect to an
...
existing local account
2010-11-01 23:50:45 +00:00
Zach Copley
2306f7a7f4
Merge branch '0.9.x' into facebook-upgrade
2010-11-01 19:13:31 +00:00
Siebrand Mazeland
68bfeaa6c6
Localisation updates from http://translatewiki.net .
2010-10-31 01:38:57 +02:00
Zach Copley
5738e0e4a9
Beginnings of a new Facebook integration plugin
2010-10-30 00:44:16 +00:00
Brion Vibber
283d56bed3
tweak RSSCloud plugin to use new schema layout (but still the old event); the timestamp bits were confusing things
2010-10-29 15:36:42 -07:00
Brion Vibber
62408fef09
Work in progress on twitter import daemon
2010-10-29 14:12:40 -07:00
Brion Vibber
d743539cf7
Fixups for twitter streaming daemon
2010-10-29 13:41:15 -07:00
Brion Vibber
47eada3a95
Work in progress on site streams-aware TwitterDaemon
2010-10-29 13:18:03 -07:00
Brion Vibber
86adc575ec
TweetInQueueHandler: run incoming tweets through the queues to keep the Twitter streaming daemon clear.
2010-10-29 13:14:12 -07:00
Brion Vibber
15b108620e
Fix a couple 'continue's from old looping code in Twitter importer (-> return null)
2010-10-29 13:06:32 -07:00
Brion Vibber
e76028b629
Work in progress: starting on new TwitterDaemon using the Site Streams API -- code is incomplete, pulling bits from streamtest.php pending a chance to test the actual site-streams mode
2010-10-28 18:26:48 -07:00
Brion Vibber
e62254f8cc
Merge branch '0.9.x' into twitstream
2010-10-28 16:30:40 -07:00
Brion Vibber
e7c7fd39fc
Merge branch '1.0.x' into schema-x
...
Conflicts:
plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
2010-10-28 16:27:53 -07:00
Brion Vibber
b26eccf33c
Merge branch '0.9.x' into 1.0.x
2010-10-28 16:26:34 -07:00
Siebrand Mazeland
456f4a6573
Localisation updates from http://translatewiki.net
2010-10-29 01:21:42 +02:00
Brion Vibber
48492600a8
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-10-28 00:15:59 +00:00
Brion Vibber
e43553a3d9
Tweak for OAuth headers not seen in $_SERVER
2010-10-28 00:14:45 +00:00
Siebrand Mazeland
035b4949fd
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2010-10-28 01:59:45 +02:00
Siebrand Mazeland
7a564276a9
Localisation updates from http://translatewiki.net .
2010-10-28 01:58:43 +02:00
Brion Vibber
9e9b7b972c
Merge branch 'instrument' into 0.9.x
2010-10-27 16:47:06 -07:00
Brion Vibber
ace655aecf
ApiLogger plugin: dumps some information about API hits to aid in researching future HTTP-level cachability improvements.
...
Data are sent to the 'info' level of logging, like so:
[lazarus.local:4812.86b23603 GET /mublog/api/statuses/friends_timeline.atom?since_id=1353]
STATLOG action:apitimelinefriends method:GET ssl:no query:since_id cookie:no auth:yes
ifmatch:no ifmod:no agent:Appcelerator Titanium/1.4.1 (iPhone/4.1; iPhone OS; en_US;)
Fields:
* action: case-normalized name of the action class we're acting on
* method: GET, POST, HEAD, etc
* ssl: Are we on HTTPS? 'yes' or 'no'
* query: Were we sent a query string? 'yes', 'no', or 'since_id' if the only parameter is a since_id
* cookie: Were we sent any cookies? 'yes' or 'no'
* auth: Were we sent an HTTP Authorization header? 'yes' or 'no'
* ifmatch: Were we sent an HTTP If-Match header for an ETag? 'yes' or 'no'
* ifmod: Were we sent an HTTP If-Modified-Since header? 'yes' or 'no'
* agent: User-agent string, to aid in figuring out what these things are
The most shared-cache-friendly requests will be non-SSL GET requests with no or very predictable
query parameters, no cookies, and no authorization headers. Private caching (eg within a supporting
user-agent) could still be friendly to SSL and auth'd GET requests.
We kind of expect that the most frequent hits from clients will be GETs for a few common timelines,
with auth headers, a since_id-only query, and no cookies. These should at least be amenable to
returning 304 matches for etags or last-modified headers with private caching, but it's very
possible that most clients won't actually think to save and send them. That would leave us expecting
to handle a lot of timeline since_id hits that return a valid API response with no notices.
At this point we don't expect to actually see if-match or if-modified-since a lot since most of our
API responses are marked as uncacheable; so even if we output them they're not getting sent back to
us.
Random subsampling can be enabled by setting the 'frequency' parameter smaller than 1.0:
addPlugin('ApiLogger', array(
'frequency' => 0.5 // Record 50% of API hits
));
2010-10-27 16:43:38 -07:00
Siebrand Mazeland
d0bbd343f0
i18n/L10n updates and superfluous whitespace removed.
2010-10-28 01:35:40 +02:00
Siebrand Mazeland
04fcfeaf6f
* Superfluous whitespace removed.
...
* i18n review (no changes needed).
2010-10-28 01:23:57 +02:00
Craig Andrews
255ba42ef1
use library function to determine if https should be used for recaptcha
2010-10-27 00:11:55 -04:00
Craig Andrews
9f9126e524
Load MS Virtual Earth javascript over https when browsing in https
2010-10-27 00:09:43 -04:00
Craig Andrews
bc6a61dc89
Use https for gravatars
...
No reason not to use https, and doing so prevents mixed content warnings when the avatars are used on https pages.
2010-10-26 23:56:59 -04:00
Craig Andrews
5476ffa944
add StrictTransportSecurity plugin
2010-10-26 23:46:18 -04:00
Brion Vibber
8ff44a1fb9
Merge branch '0.9.x' into twitstream
2010-10-26 15:39:31 -07:00
Evan Prodromou
5d56d9bb69
UI on profile settings page to opt out of following everyone
2010-10-26 15:33:35 -04:00
Evan Prodromou
7a80ebeb13
flag to let users opt out of following everyone
2010-10-26 15:21:30 -04:00
Evan Prodromou
e5a3b973b8
Plugin to follow all new users by default
2010-10-26 15:10:18 -04:00
Evan Prodromou
22633a5af6
can't subscribe to blacklisted domains/users
2010-10-26 11:48:27 -04:00
Evan Prodromou
bec00094a7
Blacklist plugin checks PuSH and Salmon notices
2010-10-26 11:20:43 -04:00
Brion Vibber
b483a0549f
Merge branch '1.0.x' into schema-x
...
Conflicts:
plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
2010-10-25 13:14:33 -07:00
Brion Vibber
ca489631db
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
actions/subscriptions.php
lib/router.php
lib/xmppmanager.php
lib/xmppoutqueuehandler.php
2010-10-25 13:08:57 -07:00
Siebrand Mazeland
1545c1228b
Localisation updates from http://translatewiki.net .
2010-10-23 20:50:55 +02:00
Siebrand Mazeland
3329685beb
* onPluginVersion added.
...
* i18n fix: use _m() in plugins, don't use _()
* some translator documentation added.
* superfluous whitespace removed.
2010-10-23 19:23:25 +02:00
Brion Vibber
e292d8fb65
Fix for 140-char replies being unexpectedly cropped when bridged to Twitter.
...
This drops the '@' -> ' @' hack for CURL meta-chars in outgoing Twitter bridge, added in commit 04b95c25
back in the day.
The Twitter bridge has since been switched from using direct CURL calls to using HTTPClient, which even with the CURL backend enabled doesn't trigger this issue, as POST parameters are formatted directly.
Prepending the space before we did the message cropping was leading to 140-char messages getting cropped unnecessarily, which was confusing:
Examples of broken messages:
http://identi.ca/notice/57172587 vs http://twitter.com/marjoleink/status/28398050691
http://identi.ca/notice/57172878 vs http://twitter.com/marjoleink/status/28398492563
2010-10-22 12:10:11 -07:00
Brion Vibber
6841a8d093
RegisterThrottlePlugin tweak for silencing checks: make sure we don't crash during registration if another profile registered from this address has been since deleted.
...
Followup to commit 1caa08429f
2010-10-22 11:07:19 -07:00
Evan Prodromou
1caa08429f
Collective guilt for registrants from the same IP address
...
If someone tries to register from an IP address that a silenced user
has registered from, prevent it.
When silencing someone, silence everyone else who registered from the
same IP address.
2010-10-22 13:29:51 -04:00
Evan Prodromou
07bc50eaed
Merge branch 'bettercachelog' into 0.9.x
2010-10-22 09:25:13 -04:00
Evan Prodromou
e1e79e6236
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-10-22 09:24:49 -04:00
Evan Prodromou
2484d8edc2
more detailed information in cachelogplugin
2010-10-22 09:24:19 -04:00
Zach Copley
131c339c5a
Pass OAuth authorize page's mode paramater to OpenID plugin so it can create a correct
...
returnto URL
2010-10-22 02:08:38 +00:00
Zach Copley
0b134d3e69
Re-camelcase ApiOauthAuthorizeAction so it will be accessible when
...
a site is in pivate mode
2010-10-21 18:15:11 -07:00
Zach Copley
a548861dbf
OAuth - proper callback handling and better styling for authorization
...
page when in desktop mode
2010-10-21 14:45:42 -07:00
Siebrand Mazeland
31f52ec37c
Update translator documentation and remove superfluous whitespace.
2010-10-21 02:02:37 +02:00
Brion Vibber
c24f4ddfdb
Pretty up the OpenID variant of the OAuth login form a bit; change the 'Allow' button to 'Continue' so we're not confused why we get the form again after authenticating.
2010-10-20 16:14:32 -07:00
Brion Vibber
bcc06d05e8
Initial OpenID+OAuth thingy.
2010-10-20 15:59:27 -07:00
Siebrand Mazeland
fb32108707
Localisation updates from http://translatewiki.net .
2010-10-20 19:51:49 +02:00
Siebrand Mazeland
bee51e1cec
Localisation updates from http://translatewiki.net .
2010-10-20 02:43:14 +02:00
Brion Vibber
3b6f738ab7
Convert SamplePlugin to new-style table defs, tweak some stuff to test basic checkschema
2010-10-19 17:25:56 -07:00
Siebrand Mazeland
5ee4e52488
Localisation updates from http://translatewiki.net .
2010-10-20 01:24:09 +02:00
Brion Vibber
a67160e01e
Merge branch '1.0.x' into schema-x
...
Conflicts:
lib/common.php
2010-10-19 15:19:46 -07:00
Brion Vibber
3593f3f132
Merge branch '0.9.x' into 1.0.x
2010-10-19 15:18:07 -07:00
Brion Vibber
f1bfbece06
Merge branch '1.0.x' into schema-x
2010-10-18 15:26:20 -07:00
Evan Prodromou
0f68fd203d
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-10-18 16:43:08 -04:00
Evan Prodromou
749fe8ca2e
OpenX plugin admin panel
2010-10-18 16:42:43 -04:00
Siebrand Mazeland
3c10602561
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2010-10-18 22:11:33 +02:00
Siebrand Mazeland
e6df1b19df
Localisation updates from http://translatewiki.net
2010-10-18 22:03:29 +02:00
Brion Vibber
140308bb03
Merge branch '0.9.x' into 1.0.x
2010-10-18 12:49:20 -07:00
Brion Vibber
aa80d8fee3
Clean up edge cases in OStatus FeedDiscoveryTest
2010-10-18 12:45:55 -07:00
Siebrand Mazeland
a7d818bcdb
Remove superfluous whitespace
2010-10-18 21:44:51 +02:00
Brion Vibber
d67a9b437c
Avoid notice in DirectionDetectorPlugin when dealing with empty string.
2010-10-18 12:23:01 -07:00
Brion Vibber
7765ddae81
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
README
lib/default.php
2010-10-18 12:17:11 -07:00
Brion Vibber
e04a6ef93e
Make HTTP timeout configurable on OStatus's remote-tests.php (needs to be pumped up a fair amount when doing Salmon pings with queues off on the test boxes, especially without the fast math library)
2010-10-18 11:27:22 -07:00
Siebrand Mazeland
77191f455a
Change incorrect use of e.g. to i.e.
...
Spotted by The Evil IP address.
2010-10-16 14:20:30 +02:00
Siebrand Mazeland
1d6d0cbcbd
Use common case instead of WARNING in all caps.
...
Spotted by The Evil IP address.
2010-10-16 14:15:02 +02:00
Brion Vibber
4c3aebd396
Merge branch '1.0.x' into schema-x
2010-10-15 11:40:40 -07:00
Craig Andrews
0721d8d3e2
Merge remote branch 'statusnet/0.9.x' into 1.0.x
2010-10-14 15:27:17 -04:00
Evan Prodromou
ecb582e419
accept profile URL as a LRDD identifier
2010-10-14 11:07:37 -04:00
Evan Prodromou
23ac961624
Show Webfinger, URI and profile page as subject and aliases
2010-10-14 11:06:57 -04:00
Brion Vibber
4101de7dd7
Merge branch '1.0.x' into schema-x
2010-10-13 15:46:45 -07:00
Brion Vibber
22047f6412
Merge branch '0.9.x' into twitstream
2010-10-13 15:37:54 -07:00
Evan Prodromou
ddb60a8191
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-10-13 15:18:32 -04:00
Brion Vibber
6c77d86b7f
Merge branch 'master' into 0.9.x
2010-10-13 12:04:20 -07:00
Brion Vibber
bca215563f
Clean up remote avatar temporary files if we fail before saving them into avatars directory (OMB core, OStatus, WikiHowProfile, YammerImport)
2010-10-13 11:10:04 -07:00
Brion Vibber
90e54f6cf0
ModHelper -> silence only, don't let them sandbox (it's too confusing atm without a good audit trail)
2010-10-13 10:00:16 -07:00
Brion Vibber
5f81f6119b
Merge branch '0.9.x' into 1.0.x
2010-10-12 16:33:36 -07:00
Brion Vibber
bc0d7f14db
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-10-12 14:54:04 -07:00
Brion Vibber
93172cc828
Initial version of ModHelper plugin, with basic functionality but the UI stripped out until it's easier to get it done.
...
* users need to have 'modhelper' role manually added via userrole.php for now
* modhelper users can sandbox/unsandbox and silence/unsilence any user
** note that no new logging has been added for these moderator actions
* no user deletion for modhelpers
* probably no UserFlags special views for modhelpers
2010-10-12 12:33:57 -07:00
Evan Prodromou
f11c1c77ca
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-10-12 11:16:14 -04:00
Siebrand Mazeland
5215423ea9
Localisation updates from http://translatewiki.net .
2010-10-09 16:15:48 +02:00
Brion Vibber
aa02f6020e
Merge branch '0.9.x' into 1.0.x
2010-10-08 11:47:50 -07:00
Brion Vibber
67dc78b621
Merge branch 'fatals' into 0.9.x
2010-10-08 11:28:51 -07:00
Brion Vibber
34e9549756
execution guard fixes in Facebook plugin files
2010-10-08 11:26:57 -07:00
Brion Vibber
a30ea4568f
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.
2010-10-08 11:23:53 -07:00
Brion Vibber
5fe59322bc
Check for Twitter foreign link actually existing before trying to delete it; friendlier error message in TwittersettingsAction
2010-10-08 11:12:36 -07:00
Brion Vibber
7adc6027ff
Fix fatal error in FacebookremoveAction if we end up getting called double and the foreign_link entry has already been removed.
2010-10-08 11:06:30 -07:00
Brion Vibber
e23ad7392f
Normalize execution guards in imap plugin files.
2010-10-08 11:01:13 -07:00
Brion Vibber
69b13cb279
Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P
2010-10-08 10:42:59 -07:00
Brion Vibber
6c959c83ce
Merge branch '0.9.x' into 1.0.x
2010-10-07 13:32:26 -07:00
Brion Vibber
fd0768be29
Merge branch 'master' into 0.9.x
2010-10-07 13:30:34 -07:00
Brion Vibber
603e1dc563
Add a README for BitlyUrlPlugin
2010-10-07 13:23:18 -07:00
Brion Vibber
bd5925a6db
Tweak bit.ly admin panel messages to distinguish the admin settings from config.php globals
2010-10-07 13:17:20 -07:00
Brion Vibber
fbfd96dfb9
Drop out the 'allow user override' checkbox on bit.ly admin panel until we find a good way to shove the user settings in. :)
2010-10-07 13:08:23 -07:00
Brion Vibber
cad4805516
Clean up bit.ly admin panel behavior, and hide it from the shorteners list if it's not fully configured.
2010-10-07 13:05:51 -07:00
Brion Vibber
80f0b9421f
bit.ly admin panel to set the API keys to use.
2010-10-07 12:50:12 -07:00
Brion Vibber
51254ed85e
Pull up the guts of my fixed bit.ly plugin from an old work branch (that had made other changes we weren't happy with in the plugin management). Now works if given a global API key.
2010-10-07 12:03:33 -07:00
Brion Vibber
458f93bddd
OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry shadowing an actual local_group -- this can cause trouble now that we sometimes actually use the uri field for lookups, and leaving the entries around would break updating the table to fill out formerly missing uris, since the unique index entry would already be taken by the bad entry.
2010-10-07 11:26:07 -07:00
Brion Vibber
a9654beb5d
Fix regression in OStatus remote group delivery: local group check was bogus in updated Ostatus_profile::localGroupFromUrl()
2010-10-07 10:56:10 -07:00
Evan Prodromou
1e3d5f8025
hide notice form if not able to post
2010-10-07 10:32:29 -04:00
Evan Prodromou
8d2ccee3f6
PHPCS-clean RequireValidateEmail
2010-10-07 09:13:38 -04:00
Brion Vibber
99194e03fa
Merge branch '1.0.x' into schema-x
...
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
2010-10-06 17:16:13 -07:00
Brion Vibber
3cd03ee6ec
Merge branch '0.9.x' into twitstream
2010-10-06 13:08:33 -07:00
Brion Vibber
9c3fd10257
Prelim --all mode on streamtest.php to use site streams; doesn't use the destination user for import yet, and not actually tested yet until I'm whitelisted for the beta. :)
2010-10-05 17:08:04 -07:00
Brion Vibber
408483f771
Fix up Twitter JSON formatting to be consistent between the polling and streaming API interfaces; basic stream tester can now import your notices (ooooh)
2010-10-05 14:26:11 -07:00
Brion Vibber
0eaa26476c
Split the guts of Twitter status -> notice import from twitterstatusfetcher daemon into TwitterImport class which can be called from other places, letting us reuse code for the streaming API.
2010-10-05 13:57:32 -07:00
Brion Vibber
dc6c0f325c
Cleanup on input path
2010-10-05 13:41:15 -07:00
Brion Vibber
eb04df583a
Buncha cleanup
2010-10-05 13:25:28 -07:00
Brion Vibber
76353ede54
Clean up event handling a bit
2010-10-05 12:42:55 -07:00
Brion Vibber
5058e8fd14
Twitter streaming API reader: Cleanup input handling & split from HTTP headers to body
2010-10-05 12:17:16 -07:00
Brion Vibber
8ff45823ba
Merge branch '0.9.x' into 1.0.x
2010-10-05 11:40:49 -07:00
Brion Vibber
3b304fc0ef
Initial stub code for pulling data from Twitter's User Streams and Site Streams interfaces. This should allow us to make a much more efficient background importer which can use a relatively small number of connections getting push data for either a single user or for many users with credentials on the site.
2010-10-04 18:28:54 -07:00
Siebrand Mazeland
007866d340
Localisation updates from http://translatewiki.net
2010-10-05 00:59:47 +02:00
Brion Vibber
f58008ebaf
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-10-04 15:22:02 -07:00
Brion Vibber
d6b3d7fb1a
Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc)
2010-10-04 14:24:04 -07:00
Brion Vibber
2295bbec9e
Extra debug helper line in push callback
2010-10-04 14:22:32 -07:00
Brion Vibber
5c4723919f
Merge branch '0.9.x' into 1.0.x
2010-10-04 13:06:40 -07:00
Brion Vibber
59119482ca
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
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
2010-10-04 12:54:36 -07:00
Brion Vibber
5b49366f49
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/AnonymousFave/AnonymousFavePlugin.php
2010-10-04 11:42:16 -07:00
Brion Vibber
7d0d89ddea
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-10-04 11:37:41 -07:00
Brion Vibber
5dee862b2c
Fix broken code in OStatus feed maint/test scripts (using field name from older dev code, would load up wrong record)
2010-10-04 10:27:03 -07:00
Siebrand Mazeland
1652ded48c
i18n/L10n review, extension credits added.
2010-10-04 00:02:24 +02:00
Siebrand Mazeland
362f395e03
Add documentation URL.
2010-10-03 23:56:13 +02:00
Siebrand Mazeland
67f97194e4
i18n/L10n review, plugin credits added.
2010-10-03 23:54:57 +02:00
Siebrand Mazeland
458512aafd
Localisation updates from http://translatewiki.net
2010-10-03 22:46:38 +02:00
Siebrand Mazeland
0f4f6fdb01
* i18n/L10n review.
...
* add onPluginVersion()
2010-10-02 22:25:32 +02:00
Brion Vibber
5c2b073a50
NoticeTitle plugin: link the post title to detail view of the post
2010-10-01 17:54:47 -07:00
Siebrand Mazeland
08054e85fe
Localisation updates from http://translatewiki.net .
2010-10-01 22:34:59 +02:00
Siebrand Mazeland
3dd921332d
Add plugin description thanks to Brion.
2010-10-01 22:21:12 +02:00
Siebrand Mazeland
04b70219db
* i18n review/translator hints added.
...
* whitespace updates.
* added @todo because of missing plugin description. I wasn't able to find out what this does exactly quick enough.
2010-10-01 22:15:26 +02:00
Siebrand Mazeland
2188b6d501
* i18n review/translator documentation added.
...
* onPluginVersion() added.
2010-10-01 22:11:38 +02:00
Siebrand Mazeland
f415e2353d
* i18n review
...
* onPluginVersion
2010-10-01 22:01:18 +02:00
Siebrand Mazeland
267d7b6bff
* i18n review
...
* onPluginVersion() added
2010-10-01 21:53:20 +02:00
Siebrand Mazeland
06ca06fbd1
* L10/i18n review.
...
* Translator hints added
* whitespace updates
2010-10-01 21:45:19 +02:00
Zach Copley
33b16be0a4
Better markup for anon fave tally
2010-10-01 11:31:44 -07:00
Zach Copley
8439774cf7
Allow turning off Anonymous Favoring for specific users' notices
2010-10-01 11:12:53 -07:00
Brion Vibber
d8df140ebb
ShareNotice plugin -- basic buttons per-notice to share the text & a link to the notice on other sites.
...
Default settings list Twitter, Facebook, and Identi.ca as targets.
Using icons built-in, and no magic offsite JS or anything so it won't slow down or break if third-party site goes down.
Default styles are a little limited, but can be customized in theme should one be so inclined.
2010-09-30 18:05:45 -07:00
Brion Vibber
6e58a926e3
ForceGroup plugin: optionally force new users to join a particular group or 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.
2010-09-30 18:05:44 -07:00
Brion Vibber
8c85f83300
GroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
2010-09-30 18:05:44 -07:00
Brion Vibber
ff906331d6
fix comment
2010-09-30 18:05:44 -07:00
Brion Vibber
cb449682e3
Initial SlicedFavorites plugin to allow for customized variants of 'Popular' tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
2010-09-30 18:05:44 -07:00
Brion Vibber
46167d6b35
ShareNotice plugin -- basic buttons per-notice to share the text & a link to the notice on other sites.
...
Default settings list Twitter, Facebook, and Identi.ca as targets.
Using icons built-in, and no magic offsite JS or anything so it won't slow down or break if third-party site goes down.
Default styles are a little limited, but can be customized in theme should one be so inclined.
2010-09-30 18:03:25 -07:00
Zach Copley
d8d557cadf
Merge branch 'restricted-disqus' into 0.9.x
2010-09-30 17:00:13 -07:00
Zach Copley
84fba0271d
Forgot to update a call in DisqusPlugin
2010-09-30 16:59:05 -07:00
Zach Copley
1770bcaa60
Merge branch 'restricted-disqus' into 0.9.x
2010-09-30 16:53:44 -07:00
Zach Copley
cdd43d8da9
Less intrusive insertion of Disqus notice count into notice lists
2010-09-30 16:51:19 -07:00
Zach Copley
0d5dadc81d
Change Disqus plugin to allow restricting to users with "richedit" role
2010-09-30 16:39:56 -07:00
Brion Vibber
55a080ea4e
ForceGroup plugin: optionally force new users to join a particular group or 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.
2010-09-30 16:25:15 -07:00
Brion Vibber
2ecbae308d
GroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites
2010-09-30 15:56:38 -07:00
Brion Vibber
5c11ad15e1
fix comment
2010-09-30 14:52:00 -07:00
Brion Vibber
3ed726bbcc
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-09-30 14:47:53 -07:00
Brion Vibber
143897bf45
Initial SlicedFavorites plugin to allow for customized variants of 'Popular' tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware!
2010-09-30 14:46:32 -07:00
Zach Copley
23c45d6c49
Merge branch 'anon-fave-plugin' into 0.9.x
2010-09-30 13:59:02 -07:00
Zach Copley
8a28d9cc4d
Merge branch 'anon-fave-plugin'
2010-09-30 13:57:39 -07:00
Brion Vibber
8ad933c86f
Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get the fancy extra title field.
2010-09-30 13:33:25 -07:00
Brion Vibber
d7f03dab9e
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable.
2010-09-30 13:33:20 -07:00
Brion Vibber
bc2b72a872
Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get the fancy extra title field.
2010-09-30 13:30:39 -07:00
Brion Vibber
8c37b86e73
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable.
2010-09-30 13:22:25 -07:00
Brion Vibber
93bea7ff28
Fix for OpenID-only private sites: we were removing the 'login' and 'register' actions from the routing system entirely, which meant that login links & redirects from unauthenticated views on private sites (as well as various re-auth situations even on non-private sites) would break and send to the main page instead.
...
Changed it to leave the 'login' and 'register' actions in the system; we're already taking them over and redirecting them to the OpenID login page, so they won't be reached by accident; but now those redirects can be reached on purpose. ;)
Better long-term fix may be to allow some aliasing, so we can have common_local_url('login') actually send us straight to the OpenID login page instead of having to go through an intermediate redirect, but this'll do.
2010-09-30 12:35:25 -07:00
Brion Vibber
20f2167425
Merge branch 'master' of gitorious.org:statusnet/mainline into feedfix
2010-09-30 11:31:29 -07:00
Brion Vibber
1acc7d66c6
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
2010-09-30 11:29:31 -07:00
Zach Copley
8e7532245a
Remove debugging statements
2010-09-29 16:35:17 -07:00
Zach Copley
54f19da3ab
Make createAnonProfile() static
2010-09-29 16:35:16 -07:00
Zach Copley
f79f44801c
- Lookup anon profiles by ID (safer because they are guranteed to be unique) and probably faster
...
- Obfuscate the anonymous user session token to make it hard to figure out the profile ID
2010-09-29 16:35:15 -07:00
Zach Copley
0fe0f42173
Ajax update notice tally
2010-09-29 16:35:15 -07:00
Zach Copley
9109fe3c63
Set initialize_fave_tallys.php executable
2010-09-29 16:35:14 -07:00
Zach Copley
4d6973cd70
Intialize new fave tallys with total existing fave count per notice
2010-09-29 16:35:13 -07:00
Zach Copley
5b49fc25bf
- Increment/decrement notice fave tally
...
- Display tally in notice output
2010-09-29 16:35:13 -07:00
Zach Copley
73297d3749
New DB_DataObject for storing favorites tally
2010-09-29 16:35:13 -07:00
Zach Copley
c10f17dc6b
Initial plugin for allowing anonymous favoriting
2010-09-29 16:35:13 -07:00
Brion Vibber
91f25ca817
YammerImport admin UI now auto-refreshes during running BG progress, whee
2010-09-28 15:59:30 -07:00
Brion Vibber
62d9b66dff
Made YammerImport more robust against errors; can now pause/resume/reset the import state from the admin interface.
2010-09-28 15:59:29 -07:00
Brion Vibber
c62e4d0800
YammerImport: fix for importing over existing user/group nicknames; copies the new data if available onto the existing entry
2010-09-28 15:59:29 -07:00
Brion Vibber
3a1f1a49b2
YammerImport: set some more default fields for user_group registration (still need a group admin tho)
2010-09-28 15:59:29 -07:00
Brion Vibber
782046dc01
YammerImporter: 'group_id' field not always present in message data; avoid notice warning when checking it if it's missing
2010-09-28 15:59:29 -07:00
Brion Vibber
ee6b4c409d
YammerImport admin UI now auto-refreshes during running BG progress, whee
2010-09-28 15:54:44 -07:00
Brion Vibber
588758ed6d
Made YammerImport more robust against errors; can now pause/resume/reset the import state from the admin interface.
2010-09-28 15:45:00 -07:00
Brion Vibber
6cf7b24017
YammerImport: fix for importing over existing user/group nicknames; copies the new data if available onto the existing entry
2010-09-28 13:33:37 -07:00
Brion Vibber
17e5ffbe4e
YammerImport: set some more default fields for user_group registration (still need a group admin tho)
2010-09-28 13:07:55 -07:00
Brion Vibber
05682afee4
YammerImporter: 'group_id' field not always present in message data; avoid notice warning when checking it if it's missing
2010-09-28 13:02:34 -07:00
Brion Vibber
a8d0c04870
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-09-28 12:59:23 -07:00
Siebrand Mazeland
f6c1b8aa49
Localisation updates from http://translatewiki.net
...
* adding the fuzzy messages back now that translatewiki.net processes them properly again.
2010-09-28 21:06:47 +02:00
Brion Vibber
c20cfe2d8e
PHP 5.2 compat fix in YammerPlugin (can't call $var::staticFunction() directly until PHP 5.3)
2010-09-28 11:52:19 -07:00
Brion Vibber
f0b39defb2
Merge branch 'yammer' of gitorious.org:~brion/statusnet/brion-fixes into 0.9.x
2010-09-27 17:26:14 -07:00
Brion Vibber
0477101af7
update README for YammerImport
2010-09-27 17:12:06 -07:00
Brion Vibber
f528cc5548
Yammer import API keys can now be overridden by the admin.
2010-09-27 16:56:48 -07:00
Siebrand Mazeland
ec7ab3af4d
Localisation updates from http://translatewiki.net
...
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-28 01:09:29 +02:00
Siebrand Mazeland
430d1da976
Update POT files.
2010-09-28 00:03:06 +02:00
Brion Vibber
7c4fcefd31
Enhanced OStatus fixup-shadow.php cleanup script to check for direct matches against user.uri and user_group.uri (for local groups). This should catch cases that were missed before because we were only doing pattern-matching checks, and the pattern didn't match because the site has been renamed and the old URI no longer matches the current domain / path structure.
...
Could use some more thorough testing in practice!
2010-09-27 14:23:10 -07:00
Brion Vibber
585c7f35ca
Yammer import (work run via background queues) now can be started from the admin panel! :DDDD Still requires that the app be registered on your network manually first.
2010-09-27 13:34:35 -07:00
Brion Vibber
05c12c58bb
Ok, got the AJAX clicky-throughs working for yammer auth (if app is already registered), but needs prettification. Yammer ignores callback URLs unless they're pre-registered with the app, and this apparently requires manual intervention to become a 'trusted' app, you don't get it on those you register yourself. Sigh. Also can't use an iframe since it breaks out of the frame (fair 'nuff)
2010-09-27 12:34:01 -07:00
Brion Vibber
eeaab2bc00
Work in progress on fixing auth... looks like the iframe doesn't work though. Sigh.
2010-09-27 12:24:10 -07:00
Brion Vibber
80e0e60c37
Add a comment in UserxrdAction warning future maintainers not to break domain migrations if adding domain checking to the webfinger lookup in future.
2010-09-27 11:38:26 -07:00
Brion Vibber
617b6f4f7d
User user_group.uri to look up local groups for OStatus addressing checks when available. Will still fall back to the URL-scheme-checking code if there's no matching user_group record.
...
Should help with keeping remote groups working when renaming sites -- as long as user_group.uri has been filled out on the site changing its domain and other issues with POST handling are resolved.
2010-09-27 11:29:54 -07:00
Brion Vibber
a6469aeed8
Fix PHP syntax errors introduced during localization fixups in a few files.
2010-09-25 12:10:36 -07:00
Evan Prodromou
0dc5080a5d
Merge remote branch 'gitorious/master'
2010-09-25 06:30:36 -04:00
Zach Copley
dc63626641
Optionally restrict Disqus comments to specific users' notices
2010-09-24 18:29:02 -07:00
Brion Vibber
ebbbaba378
Work in progress on getting the frontend Yammer import form going....
2010-09-24 17:22:44 -07:00
Brion Vibber
19adb7c8d3
Pretty it up a bit more
2010-09-24 16:27:33 -07:00
Brion Vibber
35119f4072
Pretty up the Yammer import status display a bit
2010-09-24 16:15:45 -07:00
Brion Vibber
d962f7092f
Initial progress display of Yammer import state in admin panel
2010-09-24 14:52:51 -07:00
Evan Prodromou
210e486d80
remove unnecesssary fieldset from sitemap admin panel
2010-09-24 16:50:03 -04:00
Brion Vibber
bdd8a587e7
Ok, command-line workflow for YammerImportPlugin seems to mostly work, at least on tiny test site :D
2010-09-23 17:55:13 -07:00
Brion Vibber
dd414db9ea
Work in progress: most of the infrastructure for running import via BG queues or CLI script is now in place (untested, no UI, needs tweaks & fixes)
2010-09-23 16:40:22 -07:00
Zach Copley
62f7d6c74d
Fix strings in Disqus plugin for i18n
2010-09-23 15:46:01 -07:00
Brion Vibber
eb8be9988e
Work in progress: YammerRunner state machine wrapper for running the Yammer import in chunks.
2010-09-23 15:23:56 -07:00
Brion Vibber
5183997e35
A little more cleanup...
2010-09-23 12:52:58 -07:00
Brion Vibber
44ff13c947
More doc comments on SN_YammerClient
2010-09-22 17:53:38 -07:00
Brion Vibber
084befc32f
WORK IN PROGRESS: Starting infrastructure to initiate Yammer import from web UI and process it in the background queues. Totally not complete yet.
2010-09-22 17:51:50 -07:00
Siebrand Mazeland
870be512d2
Update POT files for plugins.
2010-09-23 00:37:16 +02:00
Brion Vibber
a005210438
Initial README for yammer importer
2010-09-22 13:12:39 -07:00
Brion Vibber
12ec7efe90
Split Yammer importer files into subdirs before I get too lost adding UI
2010-09-22 12:52:34 -07:00
Evan Prodromou
b5cfcba471
Merge branch '0.9.x' into activityexport
...
Conflicts:
plugins/OStatus/OStatusPlugin.php
2010-09-22 10:45:34 -04:00
Evan Prodromou
f0105893b0
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-09-22 10:35:27 -04:00
Brion Vibber
acd7613933
Fixes for Yammer groups import: pulling explicit list, fixed avatar fetch
2010-09-21 23:19:36 -07:00
Brion Vibber
7a381f2533
Support non-image file uploads in Yammer import
2010-09-21 22:00:25 -07:00
Brion Vibber
0ed506ee93
Add group link on Yammer import (won't work until memberships are fixed)
2010-09-21 18:21:36 -07:00
Brion Vibber
da87d4334a
Fetch more user data in Yammer imports, including the primary email address (preconfirmed, so we can do stuff like tell people to reset their passwords and log in!) and some bio info.
2010-09-21 18:15:32 -07:00
Brion Vibber
9652e77376
Yammer import: mark group posts with the proper group inbox (should we append a !foo or leave them as is, as current?)
2010-09-21 17:35:32 -07:00
Brion Vibber
db5a4ce70d
Pull group descriptions in Yammer import
2010-09-21 17:25:02 -07:00
Brion Vibber
ed3d9a11bf
Image file attachment support for Yammer import
2010-09-21 17:08:40 -07:00
Brion Vibber
47cf29b2a2
Copy favorites in Yammer importer
2010-09-21 16:27:26 -07:00
Brion Vibber
9be9d2f720
Full dump of input data in yamdump also for my reference...
2010-09-21 16:27:10 -07:00
Brion Vibber
0ff28ac8e0
Fix for replies in Yammer import
2010-09-21 16:19:02 -07:00
Brion Vibber
8091c4d291
Avatars for Yammer import
2010-09-21 16:10:44 -07:00
Brion Vibber
3e2cf3876d
Initial semi-working yammer import :D
...
* no avatars
* no details of user accounts or their auth info
* no group memberships or subscriptions
* no attachments
* will probably esplode if >20 messages in your network *whistle innocently*
2010-09-21 15:54:39 -07:00
Brion Vibber
5b9efbb501
fix notices in SN_YammerClient
2010-09-21 15:29:04 -07:00
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
Brion Vibber
a1b25b46bc
Merge branch 'master' into testing
2010-06-14 10:53:22 -07:00
Luke Fitzgerald
2ef01c5b74
Removed Run method as all code has been moved into new methods
2010-06-14 04:54:03 +01:00
Luke Fitzgerald
d1c9908282
Added better error handling to signon method
2010-06-14 04:26:41 +01:00
Luke Fitzgerald
3d6bb5a597
More work on adapting phpmsnclass
2010-06-14 03:47:44 +01:00
Evan Prodromou
bfbebe5977
admin panel for setting site-claim metadata
2010-06-13 15:23:23 -04:00
Evan Prodromou
4b750b75da
show site claim keys on top page
2010-06-13 14:58:06 -04:00
Luke Fitzgerald
f3c1e9da9a
Added some more event handlers and corrected aADL scope
2010-06-13 04:14:29 +01:00
Luke Fitzgerald
0083e58db3
- Corrected PhotoSticker bug in phpmsnclass
...
- Update time till next ping when a command is sent
2010-06-13 03:42:21 +01:00
Luke Fitzgerald
dc66503f33
Added callback for pong (to update time till next ping required)
2010-06-13 01:54:09 +01:00
Ian Denhardt
5f0bda14de
Fixed a documentation issue. The OpenID doc page now tells you that gnu-social
...
*provides* OpenID as well as accepts it.
2010-06-12 20:09:40 -04:00
Luke Fitzgerald
4007bce9aa
Added in missing properties
2010-06-12 21:21:09 +01:00
Luke Fitzgerald
52cfc0866c
Merged in changes to phpmsnclass
2010-06-12 21:19:08 +01:00
Luke Fitzgerald
89808a86d5
More work on adapting the phpmsnclass to work with the IM architecture (far from finished still)
2010-06-12 19:49:28 +01:00
Luke Fitzgerald
d97b598214
Removed phpmsnclass sample
2010-06-12 17:34:25 +01:00
Luke Fitzgerald
0264f66d76
Initial commit of msn-plugin work
2010-06-12 17:30:11 +01:00
Brion Vibber
004200f958
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-06-11 12:09:55 -07:00
Brion Vibber
7f3b3620af
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-06-11 12:05:53 -07:00
Brion Vibber
47665e845a
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-06-11 12:04:03 -07:00
Brion Vibber
b1a68e15b7
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
lib/default.php
lib/util.php
plugins/UrlShortener/UrlShortenerPlugin.php (has been removed?)
2010-06-10 15:37:06 -07:00
Brion Vibber
7cc58b97fe
Fix for compile error (misnamed function) in 4211b7f011
2010-06-10 15:23:57 -07:00
Brion Vibber
1768bfa04b
Ticket #2349 : fix for Geonames semantic reference URLs in FOAF output (corrects a typo in the patch added in 4463768b
)
2010-06-10 10:30:07 -07:00
Matt Lee
14198ea74d
removed dashes in names
2010-06-10 10:18:58 -04:00
Matt Lee
f6d4687051
added readme
2010-06-07 20:52:51 -04:00
Matt Lee
d73c3b8ef3
added GNU social plugins (boilerplate)
2010-06-07 20:07:27 -04:00
Brion Vibber
5a96b9e805
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-06-07 10:34:00 -07:00
Brion Vibber
d88b208edc
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/OpenID/openid.php
2010-06-07 10:19:40 -07:00
Brion Vibber
41e9dba729
OStatus plugin: Rolling batch queueing for PuSH output to >50 subscribing sites. Keeps latency down for other things enqueued while we work...
2010-06-07 10:03:43 -07:00
Evan Prodromou
3a34d7e4ea
Only show local public notices in sitemap
...
Only show local public notices in sitemap. Only do counts for them
in the sitemap index, and only show them in the notice sitemap.
2010-06-04 15:47:26 -04:00
Brion Vibber
8b9436e8ae
Option to divert PuSH items directly to the target site's queue when local
2010-06-03 18:06:55 -07:00
Brion Vibber
a75095fa1a
Meteor realtime plugin: use persistent connections by default when pushing updates from our queue threads
2010-06-03 17:41:26 -07:00
Brion Vibber
5f4c6ec626
Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, 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-06-03 16:58:45 -07:00
Evan Prodromou
1100831bc0
remove debug statements from Sitemap plugin
2010-06-03 15:19:46 -04:00
Evan Prodromou
1066b26424
use sitemap_notice_count in sitemap index
2010-06-01 13:52:28 -07:00
Evan Prodromou
d78dfd627e
cache notice counts in utility table
2010-06-01 13:52:28 -07:00
Evan Prodromou
271d7dd850
load Sitemap_notice_count
2010-06-01 13:52:28 -07:00
Evan Prodromou
416161c943
make user counts use the database table
2010-06-01 13:52:28 -07:00
Evan Prodromou
7d85b79814
Database tables to cache expensive query data
...
We need to bundle counts of notices and users by date. This can be
expensive for large sites. So, new tables are added to cache the
results of these queries, which don't change after the date is over.
2010-06-01 13:52:28 -07:00
Evan Prodromou
3e349a71ca
mark user pages as being high priority
2010-06-01 13:52:28 -07:00
Evan Prodromou
40618b49e1
mark notice pages as being archived
2010-06-01 13:52:27 -07:00
Evan Prodromou
45e6e537ca
note that sitemap actions are readonly
2010-06-01 13:52:27 -07:00
Evan Prodromou
1c858e17ea
add sitemap statement to robots.txt
2010-06-01 13:52:27 -07:00
Evan Prodromou
e363b724b9
cache notice and user counts in sitemap index
2010-06-01 13:52:27 -07:00
Evan Prodromou
5ff9c0242b
make sure notice and user sitemap are 'in' top level directory
2010-06-01 13:52:27 -07:00
Evan Prodromou
3e8172585d
cache user data for user sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
946cd15e8b
cache results of notice sitemap query
2010-06-01 13:52:27 -07:00
Evan Prodromou
610d8021d8
use an array for notice sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
8b9ce731f4
max users, notices per sitemap = 50K
2010-06-01 13:52:27 -07:00
Evan Prodromou
4b321f96fc
show sitemapindex with user and notice sitemaps
2010-06-01 13:52:27 -07:00
Evan Prodromou
b73c8ff441
Move NOTICES_PER_MAP to SitemapPlugin
2010-06-01 13:52:27 -07:00
Evan Prodromou
144cdb559d
bundle users by reg date
2010-06-01 13:52:27 -07:00
Evan Prodromou
9fdafaf07e
better calculation for end date in notice sitemaps
2010-06-01 13:52:27 -07:00
Evan Prodromou
35272f638c
Start of an action for sitemap index
2010-06-01 13:52:27 -07:00
Evan Prodromou
63c4eef643
change URLs for user sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
9e592baa39
move USERS_PER_MAP to plugin
2010-06-01 13:52:27 -07:00
Evan Prodromou
d65a65756b
correct element name and namespace for sitemapactions
2010-06-01 13:52:27 -07:00
Evan Prodromou
0a04f9d49d
better query for notices by date
2010-06-01 13:52:27 -07:00
Evan Prodromou
524cd9df93
Add a Notice sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
ce0e6cb50d
user sitemap
2010-06-01 13:52:27 -07:00
Brion Vibber
634752f0d2
Mapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwise defaults to stretching them to a funny shape instead of showing square avatars.
2010-06-01 18:41:17 +00:00
Brion Vibber
b0c589de9a
Ticket #2330 : fix Google Maps provider for Mapstraction plugin
2010-06-01 18:29:01 +00:00
Brion Vibber
58fe1a597c
OpenID: add option to enable asking for a username to append to the trusted provider's base URL. Good for hooking up with sites like WikiHow, where usernames are appended to a base URL to get a profile URL which is used as the provider.
...
$config['openid']['append_username'] = true;
or check 'Append a username to base URL' in OpenID admin panel.
2010-05-28 16:52:17 -07:00
Craig Andrews
6317f7d92b
Assigning my copyrights to the Free Software Foundation
2010-05-27 18:27:33 -04:00
Brion Vibber
696aeea113
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
lib/language.php
plugins/OpenID/finishaddopenid.php
2010-05-27 14:57:32 -07:00
Brion Vibber
2f2fa10071
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-05-27 14:54:43 -07:00
Zach Copley
4211b7f011
- Implement statusesHomeTimeline() in TwitterBasicAuthClient
...
- Make TwitterStatusFetcher pull home_timeline (includes retweets) instead of friends_timeline
2010-05-27 11:21:52 -07:00
Marcel van der Boom
bcca10f526
Add implementation of API method home_timeline method
2010-05-27 11:17:49 -07:00
Zach Copley
3e9b356777
Remove settting/getting a 'verb' for Facebook stream entries / status
...
updates. Facebook has disabled the ability to store user preferences
via their old REST API, causing our application to break. Also, verbs
in status updates seem to be deprecated, and stream posts don't seem
to have a verb.
2010-05-26 20:44:57 +00:00
Brion Vibber
9193c110f1
WikiHowProfile plugin; pulls avatar from WikiHow profile pages when registering or adding account with OpenID. (Full name, location, homepage, and bio are also on the profile page but not marked up in a way they can be easily retrieved yet.)
...
OpenID plugin: Added events at OpenID account creation and update time to allow additional customizations for particular sites.
2010-05-25 17:11:46 -07:00
Zach Copley
d9a89d174a
Small update to the README: Facebook has changed the name of one of
...
its application settings fields.
2010-05-25 21:08:25 +00:00
Brion Vibber
3d4ce6f10b
Revert "Backing out locale switch change to see if this affects our mystery memory leak."
...
This reverts commit f98609204f
.
2010-05-25 12:31:16 -07:00
Brion Vibber
f98609204f
Backing out locale switch change to see if this affects our mystery memory leak.
...
Revert "Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back."
This reverts commit 74a89b1fc3
.
2010-05-25 11:36:42 -07:00
Zach Copley
09dab2ce5a
Dequeue notice when we hit any Facebook error.
2010-05-25 15:40:38 +00:00
Zach Copley
9cde924bb3
Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)
2010-05-24 23:27:53 +00:00
Zach Copley
1f3a16bbfb
Clear up warnings I introduced by refactoring Facebook posting
2010-05-24 22:41:34 +00:00
Zach Copley
777ca74500
Upgrade Facebook posting:
...
- Use FQL to check for publish stream permission instead of old REST API
- Better error handling, especially for error code 100
- More logging / better log messages
2010-05-24 21:54:10 +00:00
Zach Copley
8d87514727
Upgrade to latest old REST API library (0.1.0)
2010-05-24 21:44:40 +00:00
Brion Vibber
dc22ed8480
Hotpatch for Facebook mirror problems: drop messages when hitting rate limit (err 341) instead of retrying forever. On unknown errors, now throwing an exception so it'll hit the message retry limits.
2010-05-22 17:43:56 -07:00
Brion Vibber
6eae5d6a7e
Merge branch 'testing' into 0.9.x
2010-05-21 13:15:08 -07:00
Brion Vibber
87b8a89aa7
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-05-21 13:12:25 -07:00
Brion Vibber
cbf2e7cfea
Avoid PHP notice about undefined array index when no avatar photo available from Google profile
2010-05-21 10:18:13 -07:00
Brion Vibber
68305d4b68
Added block link to subscription notification emails; block action can now take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger.
...
Fixed typo in RedirectingAction when no return-to data provided in form submission.
RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated.
More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.
2010-05-20 14:24:44 -07:00
Brion Vibber
ad651c3535
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-05-19 15:46:39 -07:00
Brion Vibber
223795a2e4
Add config option for RequireValidatedEmail plugin to skip the check for folks with a trusted OpenID association.
...
Also added an event that other plugins or local config can use to override the checks.
2010-05-19 15:45:46 -07:00
Zach Copley
8dd2924674
Hotpatch to add additional debug statements to FacebookPlugin's
...
facebook posting code.
2010-05-19 21:02:18 +00:00
Brion Vibber
c4203be9a4
Merge branch '0.9.x' into 1.0.x
2010-05-19 12:52:23 -07:00
Brion Vibber
7005ef6661
Merge branch 'testing' into 0.9.x
...
Conflicts:
plugins/OpenID/openidlogin.php
2010-05-19 12:51:25 -07:00
Brion Vibber
a39a934dd4
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-05-19 10:59:14 -07:00
Brion Vibber
74a89b1fc3
Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back.
...
Should help with problems where xmppdaemon would get stuck in wrong locale.
2010-05-19 10:10:55 -07:00
Zach Copley
6187266205
- OStatusPlugin should return true if it doesn't need to handle source
...
attribution
- Remove stray break statement from NoticeList
2010-05-18 15:16:03 -07:00
Brion Vibber
7c828ae5f8
OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default.
...
To enable the admin panel:
$config['admin']['panels'][] = 'openid';
Or to set them manually:
$config['openid']['trusted_provider'] = 'https://login.ubuntu.net/ ';
$config['openid']['required_team'] = 'my-project-cabal';
$config['site']['openidonly'] = true;
OpenID-only mode can still be set from addPlugin() parameters as well for backwards compatibility.
Note: if it's set there, that value will override the setting from the database or config.php.
Note that team restrictions are only really meaningful if a trusted provider is set; otherwise,
any OpenID server could report back that users are members of the given team.
Restrictions are checked only at OpenID authentication time and will not kick off people currently
with a session open; existing remembered logins may also survive these changes.
Using code for Launchpad team support provided by Canonical under AGPLv3, pulled from r27 of
WordPress teams integration plugin:
https://code.edge.launchpad.net/~canonical-isd-hackers/wordpress-teams-integration/trunk
2010-05-18 13:28:41 -07:00
Brion Vibber
b77878f467
Include notice fragment on 'in context' links in Realtime plugin family.
2010-05-17 19:47:44 +00:00
Brion Vibber
e36df29212
Patch from g0: fix for conversation links in Realtime updates
...
Previously was using the reply-to URL, which didn't match with other displays.
Now sends to the right conversation page.
2010-05-17 19:37:47 +00:00
James Walker
1999b836c0
accept either salmon endpoint (until they're unified in the spec)
2010-05-14 16:43:41 -04:00
James Walker
275002d88a
allow hyphens in subdomains for webfinger addresses
2010-05-14 16:43:41 -04:00
Brion Vibber
91367dbc21
Merge branch '0.9.x' into 1.0.x
2010-05-14 12:15:13 -07:00
Brion Vibber
065ecc5573
Merge branch 'testing' into 0.9.x
2010-05-14 12:14:02 -07:00
Brion Vibber
5d0593ec34
Fix keys() / keyTypes() mixup in SamplePlugin
2010-05-12 11:09:37 -07:00
Siebrand Mazeland
f430480ddd
Update pot and add Dutch translation
2010-05-09 00:37:47 +02:00
Siebrand Mazeland
bbefcc104e
Tweaks for DirectionDetector:
...
* remove trailin whitespace
* update use of capital letters
* fix a few typos in comments
* add translator documentation
2010-05-09 00:36:52 +02:00
Brion Vibber
d9c1ac9053
Merge branch '0.9.x' into 1.0.x
2010-05-06 18:49:01 -07:00
Brion Vibber
d57e1deaec
Merge branch 'testing' into 0.9.x
2010-05-06 18:48:39 -07:00
Brion Vibber
7915386950
Allow plugins to load their styles for mobile view; fixes bad realtime button layout
2010-05-07 01:28:37 +00:00
Zach Copley
ce177400f8
- OStatusPlugin should return true if it doesn't need to handle source
...
attribution
- Remove stray break statement from NoticeList
2010-05-06 21:48:12 +00:00
Brion Vibber
5996d80c09
Ticket #2184 : recognize Palm Pre / WebOS browsers for MobileProfile
...
One-line addition of 'webos' to the keywords list.
2010-05-06 21:29:04 +00:00
Brion Vibber
173778eab1
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
lib/xmppmanager.php (resolved: code has moved to XmppPlugin.php)
2010-05-05 17:11:23 -07:00
Brion Vibber
e05415f621
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
locale/ca/LC_MESSAGES/statusnet.po
locale/de/LC_MESSAGES/statusnet.po
locale/statusnet.pot
2010-05-05 17:07:50 -07:00
Brion Vibber
ddc7811a7b
Move XMPPHP from core extlibs to Xmpp plugin extlibs
2010-05-05 16:52:31 -07:00
Brion Vibber
8260a88f41
Quick fix for DirectionDetector: only apply <span class="rtl"> once; if it's already there in an incoming message (eg via OStatus), don't reapply it.
...
Modified from patch from Everplays
2010-05-05 11:28:05 -07:00
Brion Vibber
60825ba535
Clean up reference usage warnings in DirectionDetector plugin
2010-05-05 10:51:05 -07:00
Brion Vibber
5f5d9518bd
Avoid spewing giant debug backtrace into exception in certain OStatus subscription failure cases.
...
The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here.
This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request.
Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80'
2010-05-04 17:11:43 -07:00
Craig Andrews
ecf9dc6d1b
use the new maxNoticeLength and maxUrlLength functionality introduced in commit 14adb7cc41
2010-05-03 21:25:10 -04:00
Brion Vibber
67eeaa9cf4
Pull localization updates from 0.9.x branch
2010-05-03 12:27:44 -07:00
Brion Vibber
5414396a2e
IM cleanup on 1.0.x branch:
...
* Fake_XMPP back to Queued_XMPP, refactor how we use it and don't create objects and load classes until we need them.
* fix fatal error in IM settings while waiting for a Jabber confirmation.
* Caching fix for user_im_prefs
* fix for saving multiple transport settings
* some fixes for AIM & using normalized addresses for lookups
2010-04-30 15:29:05 -07:00
Brion Vibber
e3e90b4c27
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-04-30 14:08:35 -07:00
Siebrand Mazeland
7ec5e7cd76
Update translator documentation for OpenID plugin.
2010-04-30 23:07:19 +02:00
Brion Vibber
cae1329f3b
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/util.php
2010-04-30 13:16:13 -07:00
Siebrand Mazeland
193fdd8071
Update Dutch translation for OpenID plugin.
2010-04-30 02:17:30 +02:00
Siebrand Mazeland
83dcdf3b08
Re-add OpenID/locale/nl/LC_MESSAGES/OpenID.po which was accidentally removed in Commit:d811f14bedc260adcfdd0eb8216eba06e9610144
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-30 02:01:55 +02:00
Siebrand Mazeland
d811f14bed
Remove .po source files. Using pot files.
2010-04-30 01:57:22 +02:00
Siebrand Mazeland
5ad2d0c30c
Update gettext localisation files.
2010-04-30 01:45:54 +02:00
Brion Vibber
ae2986527c
Pull localization updates from 0.9.x
2010-04-29 15:52:10 -07:00
Brion Vibber
2260d6ec7c
Merge branch 'testing' into 0.9.x
...
Conflicts:
index.php
2010-04-29 15:14:51 -07:00
Craig Andrews
edc6cf39a0
Only shorten when notice length exceeds max length
2010-04-26 15:59:13 -04:00
Evan Prodromou
5c05cd2b1a
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
2010-04-26 02:43:33 -04:00
Evan Prodromou
14adb7cc41
Give users more control over URL shortening
...
Users and administrators can set how long an URL can be before it's
shortened, and how long a notice can be before all its URLs are
shortened. They can also turn off shortening altogether.
Squashed commit of the following:
commit d136b39011
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:39:00 2010 -0400
use site and user settings to determine when to shorten URLs
commit 1e1c851ff3
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:38:40 2010 -0400
add a method to force shortening URLs
commit 4d29ca0b91
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:37:41 2010 -0400
static method for getting best URL shortening service
commit a9c6a3bace
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:37:11 2010 -0400
allow 0 in numeric entries in othersettings
commit 767ff2f7ec
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:36:46 2010 -0400
allow 0 or blank string in inputs
commit 1e21af42a6
Author: Evan Prodromou <evan@status.net>
Date: Mon Apr 26 02:01:11 2010 -0400
add more URL-shortening options to othersettings
commit 869a6be0f5
Author: Evan Prodromou <evan@status.net>
Date: Sat Apr 24 14:22:51 2010 -0400
move url shortener superclass to lib from plugin
commit 9c0c9863d5
Author: Evan Prodromou <evan@status.net>
Date: Sat Apr 24 14:20:28 2010 -0400
documentation and whitespace on UrlShortenerPlugin
commit 7a1dd5798f
Author: Evan Prodromou <evan@status.net>
Date: Sat Apr 24 14:05:46 2010 -0400
add defaults for URL shortening
commit d259c37ad2
Author: Evan Prodromou <evan@status.net>
Date: Sat Apr 24 13:40:10 2010 -0400
Add User_urlshortener_prefs
Add a table for URL shortener prefs, a corresponding class, and the
correct mumbo-jumbo in statusnet.ini to make everything work.
2010-04-26 02:40:36 -04:00
Brion Vibber
dd7b95c2cf
Merge branch 'master' into testing
2010-04-23 14:26:57 -07:00
Brion Vibber
9c8052e755
Rerun feed discovery and update the feed, salmon, and hub for the given OStatus remote profile. Restarts subscription fresh as well.
...
update-profile.php -sexample.com http://example.com/path/to/profile/url
2010-04-23 12:54:31 -07:00
Brion Vibber
4beaba9fb0
Ticket #93 : pretty up the auto-submit for OpenID logins a bit.
...
* throwing in our spinner
* cleanup of texts
* "If this doesn't go through click the button" instead of just a mystery button
* slightly faster submission: immediate at end of page rather than waiting for jQuery to confirm document setup completion
2010-04-23 11:28:50 -07:00
Craig Andrews
1de8877cad
Shorten text after paste operation
...
Abort ajax shorten request if the user pastes/pushes another key
2010-04-23 12:14:55 -04:00
Brion Vibber
0f975f4215
Fix to regression in last commit; wrong field name for homepage blacklist
2010-04-23 08:24:53 -07:00
Brion Vibber
390a2a8624
Fix for Blacklist plugin: was saving an empty entry if blacklist was empty, which would match *all* possible nickname registrations, preventing all registration on mozilla.status.net.
...
Now saving only non-empty lines, and only matching non-empty lines so we don't fail if we still have a bogus entry.
2010-04-23 07:17:52 -07:00
Brion Vibber
67b8b1334f
Fix keys / keyTypes for Blacklist plugin - was spewing notices for undefined array indexes when saving blacklist entries from admin panel
2010-04-23 07:10:36 -07:00
Craig Andrews
f91e992851
use onAutoload instead of always requiring
2010-04-22 18:04:03 -04:00
Craig Andrews
809e597841
Only shorten after the user presses space, or following a paste operation
2010-04-22 18:04:03 -04:00
Brion Vibber
fd9d520aeb
OStatus: CLI script to force a renewal on the given PuSH subscription. May help when we get out of sync with the hub.
...
php plugins/OStatus/scripts/resub-feed.php -smysite http://example.com/some/atom/feed
2010-04-22 06:14:40 +02:00
Evan Prodromou
a129c455a2
Fix exceptions with bad gravatar URLs
2010-04-21 18:19:16 -07:00
Evan Prodromou
e28214bfe9
fix reference error in RSSCloud plugin
2010-04-21 18:11:29 -07:00
Craig Andrews
65796ba03b
add ClientSideShortenPlugin
...
see plugins/ClientSideShorten/README
2010-04-21 17:14:54 -04:00
Brion Vibber
056cce4b5e
Merge branch 'testing' into 0.9.x
2010-04-19 19:46:46 +02:00
Brion Vibber
2af12774bf
Merge branch 'master' into testing
2010-04-19 19:46:11 +02:00
Brion Vibber
acea534044
Disable the send-notice form at the top of the page OStatus subscription confirmation page to work around bugs in Cloudy theme.
...
This is really just a hack for the broken CSS in the Cloudy theme, I think; copying from other non-notice-navigation pages that do this as well. There will be plenty of others also broken.
2010-04-19 19:45:01 +02:00
Craig Andrews
39392e03a7
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
actions/confirmaddress.php
actions/imsettings.php
2010-04-18 19:21:15 -04:00
Craig Andrews
23bad16bba
don't attempt to read a user's ldap password
2010-04-17 15:09:56 -04:00
Brion Vibber
c748933132
Merge branch 'testing' into 0.9.x
2010-04-14 15:59:12 +02:00
Brion Vibber
c95bff7744
Merge branch 'master' into testing
2010-04-14 15:58:42 +02:00
Brion Vibber
efcdfabc12
Ticket #2205 : pass geo locations over Twitter bridge (will only be used if enabled on the Twitter side)
2010-04-14 15:45:00 +02:00
Siebrand Mazeland
2bb02e8698
Adding Dutch translation for OpenID plugin.
2010-04-12 00:57:02 +02:00
Brion Vibber
756dd15515
i18n cleanup: fix bad string breakdown in license agreement checkbox on registration form.
...
Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09 10:12:23 -07:00
Brion Vibber
4b20d68c48
i18n cleanup: fix bad string breakdown in license agreement checkbox on registration form.
...
Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09 10:11:11 -07:00
Brion Vibber
db497e80e8
Initial version of everplay's RTL direction detector plugin, sets initial direction correctly for primarily RTL notices within an LTR site layout.
2010-04-09 09:24:10 -07:00
Brion Vibber
13e8214a67
Initial version of everplay's RTL direction detector plugin, sets initial direction correctly for primarily RTL notices within an LTR site layout.
2010-04-09 09:22:33 -07:00
Brion Vibber
1f8451f4aa
Merge branch 'testing' into 0.9.x
2010-04-09 08:40:15 -07:00
Craig Andrews
fc1a463b95
Redirect using HTTP 303 so that form POST data is not re-submitted to the destination page
2010-04-08 17:20:24 -04:00
Brion Vibber
ee438cf198
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-08 10:16:55 -07:00
Brion Vibber
ecd31384ed
Fix for error during handling of HTTP error response case in Geonames lookups
2010-04-08 10:11:52 -07:00
Brion Vibber
8a02cad424
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice.
2010-04-08 10:09:56 -07:00
Evan Prodromou
727ea5a516
Merge branch '0.9.x' into 1.0.x
2010-04-07 10:47:29 -04:00
Evan Prodromou
76cce8a3c5
Merge branch 'master' into 0.9.x
2010-04-07 10:46:23 -04:00
Brion Vibber
d352e5f5c4
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
...
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.
Can be extended later to allow actually using the local profile, since we could figure it out.
2010-04-06 16:35:24 -07:00
Brion Vibber
878461d50d
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
...
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.
Can be extended later to allow actually using the local profile, since we could figure it out.
2010-04-06 23:32:04 +00:00
Brion Vibber
5dc169260d
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-04-06 15:22:23 -07:00
Brion Vibber
4bb75d1c8e
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-06 15:19:10 -07:00
Brion Vibber
cda03ff328
Set a default 2-second timeout on Geonames web service lookups. After a failure, further lookups in the same process will be skipped for the next 60 seconds (also configurable).
...
Makes a Geonames outage much less disruptive to site operations.
2010-04-06 15:14:28 -07:00
Brion Vibber
3da8989242
Merge branch 'master' into testing
2010-04-06 14:36:21 -07:00
Brion Vibber
7c3b320a7a
Allow Meteor plugin to be configurable via configuration database or file.
...
As there's no admin control panel yet, this is mainly meant for batch administration and using setconfig.php
2010-04-06 14:07:46 -07:00
Brion Vibber
3172b50fc7
Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular theme, which works better on its larger screen (was tripped on 'mobile' in the UA though we had no explicit check for 'ipad' previously)
2010-04-06 12:21:42 -07:00
Brion Vibber
edea825c70
Comment out unreachable code spewing notices due to use of undefined variables in MobileProfile.
...
This needs some cleanup...
2010-04-06 12:13:54 -07:00
Brion Vibber
3ac3bc32fc
Some localization cleanup and doc to aid in customization:
...
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts
* added notes to locale/README about customizing and how to disable languages you haven't customized
* renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-04-05 13:19:16 -07:00
Brion Vibber
dbaa93d1aa
Clean up and clarify output on fix-shadow.php
2010-04-05 11:21:17 -07:00
Brion Vibber
295b2d02bb
Clean up and clarify output on fix-shadow.php
2010-04-05 11:20:35 -07:00
Brion Vibber
2f4438fe24
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
actions/imsettings.php
lib/jabber.php
Made a quick attempt to merge the new JID validation into the XmppPlugin, have not had a chance to test that version live yet.
Should also move over the test cases.
2010-04-02 15:56:25 -07:00
Brion Vibber
df9eb4164a
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-31 12:48:24 -07:00
Brion Vibber
f19b95d9b7
Shared cache key option for Geonames plugin, lets multi-instance sites share their cached geoname lookups.
...
Example:
unset($config['plugins']['default']['Geonames']);
addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-03-30 12:20:46 -07:00
Brion Vibber
bfb2ac4910
Shared cache key option for Geonames plugin, lets multi-instance sites share their cached geoname lookups.
...
Example:
unset($config['plugins']['default']['Geonames']);
addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-03-30 12:19:25 -07:00
Zach Copley
804182e0fe
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration
2010-03-30 11:51:56 -07:00
Brion Vibber
6046a6cc6a
Include meta charset header in saved HTML file for long OStatus messages; without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-29 16:29:57 -07:00
Brion Vibber
990bbea07e
Include meta charset header in saved HTML file for long OStatus messages; without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-29 16:27:50 -07:00
Brion Vibber
01a03e34c8
Merge branch '0.9.x' into 1.0.x
2010-03-29 15:15:51 -07:00
Brion Vibber
cfeb1bfa41
Merge branch 'testing' into 0.9.x
2010-03-29 15:15:11 -07:00
Brion Vibber
873b832827
Merge branch 'master' into testing
...
Conflicts:
plugins/Blacklist/BlacklistPlugin.php
2010-03-29 15:14:25 -07:00
Zach Copley
03f6706468
RSSCloudPlugin's onRouterInitialized() should expect pass by value instead of reference
2010-03-28 17:01:16 -07:00
Sarven Capadisli
21a835596c
Revert "Remove console debug line"
...
This reverts commit 06ffb8bf02
.
2010-03-28 23:50:25 +02:00
Sarven Capadisli
06ffb8bf02
Remove console debug line
2010-03-28 23:49:10 +02:00
Brion Vibber
bf468e2a8d
Remove debug line that crept into a commit a while back, breaking realtime when Firebug wasn't present
2010-03-28 14:41:31 -07:00
Evan Prodromou
f0d905112e
Merge branch 'master' into 0.9.x
...
Conflicts:
lib/attachmentlist.php
2010-03-28 15:25:02 -04:00
Evan Prodromou
482faf6614
don't try to get to database at initialize time
2010-03-28 15:17:44 -04:00
Zach Copley
5b7b38ab66
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration
2010-03-27 23:43:05 +00:00
Zach Copley
8fc390e5cb
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration
2010-03-27 23:36:05 +00:00
Brion Vibber
766cf99f21
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
2010-03-26 10:47:12 -07:00
Brion Vibber
c905d7e9a0
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
2010-03-26 10:46:36 -07:00
James Walker
3227122ac3
move base64_url_(encode|decode) to static functions in Magicsig
2010-03-26 10:43:41 -07:00
James Walker
c6c4510192
move base64_url_(encode|decode) to static functions in Magicsig
2010-03-26 13:37:46 -04:00
Evan Prodromou
e3a46d2b83
Merge branch '0.9.x' into 1.0.x
2010-03-26 09:18:07 -04:00
Evan Prodromou
36a8e8e8a3
Merge branch 'testing' into 0.9.x
2010-03-26 09:17:47 -04:00
Evan Prodromou
75b2bf2a4e
Do ostatus queue first
...
We do the OStatus queue first, so if we're sending a notice to the
same server twice (e.g., with OMB), our richer and more featureful
notice comes in first.
2010-03-26 08:45:23 -04:00
Brion Vibber
e91bf2b8a9
Tweak to OStatus long message cropping: use original source notice URL for the link in the text version, don't shorten the link for the HTML so we can append params to it in JS.
...
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
2010-03-25 16:08:09 -07:00
Brion Vibber
013647f0ba
Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents to make it easier to extract without getting extra markup.
2010-03-25 23:11:06 +01:00
Evan Prodromou
cbf321eeb3
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-03-25 17:24:10 -04:00
Sarven Capadisli
8336e24179
Using … (hellip) instead of "more" for link text
2010-03-25 22:18:21 +01:00
Brion Vibber
c11064a539
Updated 'more' anchor for attachments to do an XHR GET
...
Conflicts:
lib/attachmentlist.php
plugins/OStatus/classes/Ostatus_profile.php
Merge tried to delete things that it seems it shouldn't, very confusing order. Hope rest of the cherry-picking isn't a problem.
2010-03-25 14:15:54 -07:00
Evan Prodromou
9c63ae6e44
add whitelist and blacklist for openid URLs
2010-03-25 16:58:05 -04:00
Evan Prodromou
7f6fdb528c
remove debugging calls
2010-03-25 16:35:22 -04:00
Sarven Capadisli
9ea48298d5
Updated plugin to open external links on a new window that are not
...
attachments
2010-03-25 21:33:07 +01:00
Brion Vibber
29a25848de
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-25 13:04:09 -07:00
Evan Prodromou
697222575d
Merge branch 'blacklisttable' into testing
2010-03-25 13:51:52 -04:00
Evan Prodromou
920acf8d96
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-25 13:50:49 -04:00
Evan Prodromou
6e644f77a4
Store blacklist patterns in their own tables
...
We were bumping into limits on the config format in the Blacklist
plugin. So, added new tables for nickname and homepage blacklists, and
changed the plugin to use those instead of config file (actually,
still uses config file in addition, for compatibility).
2010-03-25 13:49:12 -04:00
Brion Vibber
c3ceaa893f
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
2010-03-24 14:11:01 -07:00
Brion Vibber
ecb009bcf5
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-24 13:57:20 -07:00
James Walker
9e0b9857f4
Make sure we're requiring the library
2010-03-24 15:26:03 -04:00
James Walker
cfca789b34
Updated Math_Biginteger from upstream - removing safe* workarounds
2010-03-24 15:18:41 -04:00
James Walker
c4273f0ef3
Check for 0.9.0 bad keys from old Crypt_RSA library
2010-03-24 15:15:20 -04:00
James Walker
10410907a0
A bit safer checking in the keypair parsing
2010-03-24 14:27:35 -04:00
Zach Copley
7b1b6045e6
Look for the first object in the Activity
2010-03-24 00:00:55 -07:00
Julien C
a3da5b24c9
Misc small fixes, plus a new hook in tag.php
2010-03-23 23:02:17 -04:00
Craig Andrews
1f73156dae
Move the bundled Net/LDAP2 library to the LdapCommon directory
2010-03-23 21:57:47 -04:00
Brion Vibber
fcf86b4fdf
Improve legibility of OStatus remote tests output
2010-03-23 18:56:40 -07:00
Craig Andrews
6b538cd9b3
Fix some regressions caused by refactor of LDAP plugin
2010-03-23 21:50:31 -04:00
Brion Vibber
9380eed794
add a general PuSHed post and an @-reply back to a subscribee by name to OStatus remote test cases
2010-03-23 18:44:54 -07:00
Nick Holliday
d9dcdf5b49
Converts Spotify URI/HTTP Links to pretty ones.
2010-03-23 21:31:58 -04:00
Brion Vibber
2ae61307bb
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-23 14:20:14 -07:00
Brion Vibber
df8c9090c0
Add basic subscribe/unsubscribe test to OStatus test cases
2010-03-23 14:19:12 -07:00
Brion Vibber
5f32cf32cd
Don't spew XML parse warnings to output when checking a remote XRD page
2010-03-23 14:18:45 -07:00
Evan Prodromou
ad608ab9ad
prevent password login actions in OpenID-only mode
2010-03-23 12:58:10 -04:00
Evan Prodromou
ff60cb4e66
start making OpenID-only mode work
2010-03-23 12:10:26 -04:00
Evan Prodromou
fcdbf421ab
reformat OpenIDPlugin for PHPCS
2010-03-23 11:36:02 -04:00
Brion Vibber
a5c78a6f1a
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-23 08:21:32 -07:00
Zach Copley
5b0b6097e0
Fix reference. Look at the first ActivityObject in the list.
2010-03-22 21:48:21 -07:00
Zach Copley
b8e97ac709
Some initial media parsing
...
- Activity now returns a list of activity objects
- Processing of photo objects
2010-03-22 18:55:17 -07:00
Brion Vibber
68a5fba248
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-22 17:08:05 -07:00
Brion Vibber
3678e7b89b
OStatus remote sending test cases. Doesn't actually run within PHPUnit right now, must be run from command line -- specify base URLs to two StatusNet sites that will be able to communicate with each other.
...
Current test run includes:
* register accounts (via web form)
* local post
* @-mention using path (@domain/path/to/user)
Subscriptions, webfinger mentions, various paths to subscription and unsubscription, etc to come.
2010-03-22 17:01:50 -07:00
Brion Vibber
e89908f261
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
lib/channel.php
scripts/imdaemon.php
2010-03-22 13:56:16 -07:00
Craig Andrews
eb563937df
Need to pass the password parameter to checkPassword
2010-03-22 16:04:24 -04:00
Brion Vibber
26f49de0dd
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
lib/attachmentlist.php
2010-03-22 12:37:45 -07:00
Brion Vibber
27bfd1211d
Math_BigInteger doesn't correctly handle serialization/deserialization for a value of 0, which can end up spewing notices to output and otherwise intefering with Salmon signature setup and verification when using memcached.
...
Worked around this with a subclass that fixes the wakeup, used for the stored 0 value in the subclassed Crypt_RSA.
2010-03-22 12:17:45 -07:00
Brion Vibber
3bb639699c
Confirm there's actually user and domain portions of acct string before assigning things from output of explode(); avoids notice message when invalid input passed to main/xrd
2010-03-22 11:27:39 -07:00
Craig Andrews
295e05ea39
Refactor common parts of LdapAuthorization and LdapAuthentication plugins into a separate class
...
LdapAuthorization should get a performance improvement as LDAP schema caching is now used
2010-03-22 14:17:58 -04:00
James Walker
a20880ee1e
Fixing HTTP Header LRDD parsing (sites in subdirectories need this)
2010-03-22 13:45:13 -04:00
Sean Carmody
c810f24851
Added plugin AutoSandbox for spam-management: new users sandboxed by default
2010-03-22 17:18:43 +00:00
Evan Prodromou
edee1fc09e
ignore unrecognized object types
2010-03-22 08:17:14 -04:00
Craig Andrews
5cd8679961
Fix stupid typo in ldap authorization debug logging
2010-03-21 20:28:33 -04:00
Brion Vibber
be7efe7504
Merge branch 'testing' into 0.9.x
2010-03-21 16:28:56 -07:00
Brion Vibber
fcb614d0eb
Pull <atom:author> info as well as <activity:actor> when we have an old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
2010-03-21 16:25:12 -07:00
Brion Vibber
b228da628d
Accept 'tag' and other non-http id URIs in Ostatus_profile::getActivityObjectProfileURI().
...
(If there's not a valid ID we fall back to the link, which we do still validate as http/s.)
2010-03-21 15:46:28 -07:00
Evan Prodromou
8f071b2818
scrub magic quotes from HTML in TinyMCE
2010-03-21 17:41:37 -05:00
Evan Prodromou
dfa785e9ae
save the data from TinyMCE
2010-03-21 17:41:37 -05:00
Evan Prodromou
7c7d42b5f1
enable tinymce editor
2010-03-21 17:41:37 -05:00
Brion Vibber
5d3bce49b8
OStatus profile setup cleanup
...
* drop OStatusPlugin::localProfileFromUrl(), we can just look up on user.uri
* clean up a few edge cases that returned null through Ostatus_profile::ensure* code paths, now throws clear exception when we can't find a feed from the given profile url
* add some doc comments on the ensure* methods
2010-03-21 15:18:37 -07:00
Evan Prodromou
0f1f7ab79b
only use Posterous author data if it matches the profile URL
2010-03-21 07:37:58 -05:00
Evan Prodromou
c2afdfbbf5
use Posterous element if available for RssChannel discovery
2010-03-20 17:18:55 -05:00
Evan Prodromou
e458e9fe63
Merge branch 'testing' into 0.9.x
...
Conflicts:
lib/activity.php
2010-03-20 16:11:42 -05:00
Evan Prodromou
fb2b45c68a
use feedEl for discovery
2010-03-20 09:46:22 -05:00
Evan Prodromou
515acb8513
fall back to summary or title if content not available
2010-03-20 09:30:57 -05:00
Evan Prodromou
25cb917523
Allow PuSH posts without author information
...
Superfeedr (sp.?) posts entries without author information. We can
assume that this is intended to be by the original author.
Re-structured the checks for entries that come in by PuSH so they can
either have no author or an empty author, but not a different author.
2010-03-20 08:25:56 -05:00
Evan Prodromou
f558508784
handle RSS as well as Atom in Ostatus push hits
2010-03-20 07:23:13 -05:00
Evan Prodromou
c0f6572001
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-20 06:44:55 -05:00
Evan Prodromou
51283a1b34
try to make a nickname from the user profile url before using the URI
2010-03-20 06:44:38 -05:00
Brion Vibber
db0cf50f65
Avoid notices for accessing undefined array indices in hcard processing
2010-03-19 15:54:54 -07:00
Brion Vibber
a02e5b302b
Avoid notices for accessing undefined array indices in hcard processing
2010-03-19 15:54:16 -07:00
Brion Vibber
7e2af3dcae
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
plugins/OStatus/extlib/hkit/hkit.class.php
plugins/OStatus/lib/discoveryhints.php
2010-03-19 15:51:22 -07:00
Brion Vibber
c84c4c6839
OStatus: be a little laxer about attempts to start/stop PuSH subscriptions that were left in an inconsistent state.
...
Instead of aborting, we'll try to reconfirm the sub/unsub, which once confirmed will replace whatever the previous state was on the server side.
2010-03-19 15:47:43 -07:00
Brion Vibber
79ec565104
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-03-19 15:29:00 -07:00
Evan Prodromou
db9e57f761
ensure from an RSS channel
2010-03-19 15:50:06 -05:00
Evan Prodromou
5092f98c0d
return empty hints if no hcard in the html
2010-03-19 15:28:06 -05:00
Evan Prodromou
1e03968d91
define a 'root' attribute for the channel or feed
2010-03-19 15:23:30 -05:00
Brion Vibber
b97400bd6f
clarify output on fixup-shadow.php
2010-03-19 11:17:56 -07:00
Zach Copley
f0c54243ba
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Validate OStatus avatar URL before fetching.
2010-03-19 10:38:54 -07:00
Brion Vibber
3d1c99c258
Merge branch 'ostatus-crop' of git@gitorious.org:~brion/statusnet/brion-fixes into 0.9.x
2010-03-19 10:27:03 -07:00
Brion Vibber
d2e6664132
Validate OStatus avatar URL before fetching.
2010-03-19 10:16:12 -07:00
Brion Vibber
9e3e1d3d56
Validate OStatus avatar URL before fetching.
2010-03-19 10:15:00 -07:00
Zach Copley
fb50a2d83c
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Parse RSS items as activities
Remove hkit and do our own hcard parsing
Work around weird bug with HTML normalization via PHP DOM module; if source had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.
2010-03-19 10:08:47 -07:00
Evan Prodromou
ac609e8040
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
...
Conflicts:
plugins/OStatus/extlib/hkit/hkit.class.php
plugins/OStatus/lib/discoveryhints.php
2010-03-18 20:57:38 -05:00
Evan Prodromou
17c50f338c
Remove hkit and do our own hcard parsing
...
Parsing hcards for the data we need wasn't hard enough to justify using
hkit. It was dependent on a number of external systems (something to
run tidy), and only could handle XHTML.
We now parse HTML with the PHP dom libraries used elsewhere, and
scrape out our own hcards. Seems to work nicer and faster and most of
all works with Google Buzz profile URLs.
2010-03-18 20:52:00 -05:00
Brion Vibber
4a6c9e4451
Work around weird bug with HTML normalization via PHP DOM module; if source had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.
2010-03-18 17:57:58 -07:00
Brion Vibber
08faff2278
Work around weird bug with HTML normalization via PHP DOM module; if source had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.
2010-03-18 17:55:21 -07:00
Brion Vibber
3e2e88b0df
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-18 17:19:28 -07:00
Zach Copley
a6c9445f0d
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
OStatus discover fixes:
Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing warnings)
Fix notice warning about unused var -- was renamed during refactoring.
2010-03-18 17:11:06 -07:00
Brion Vibber
1301877dfe
OStatus discover fixes:
...
* Subscription::start was sometimes passing users instead of profiles to hooks, which broke OStatus subscription notifications; now normalizing to profiles for processing.
* H-card parsing would trigger a lot of PHP warnings and notices in hKit. Now suppressing warnings and notices for the duration of the call to keep them out of output when display_errors is on.
* H-card parsing would trigger a PHP fatal error if the source page was not well-formed XML and Tidy was not present on the system. Switched normalization to use the PHP DOM module which is always present, as we have no need for Tidy's extra features here.
* Trying to fetch avatars from Google profiles failed and triggered a PHP warning due to the relative URL not being resolved during h-card parsing. Now passing profile page URL into hKit by sneaking a <base> tag in while we normalize the HTML source.
* Profile pages without a "Link" header could trigger PHP notices due to a bad NULL -> array(NULL) conversion in LinkHeader::getLink(). Now checking that there was a return value before converting single return value into array.
2010-03-18 17:08:19 -07:00
Zach Copley
051bee988c
Minor syntax err in TwitterBridge README example
2010-03-18 17:00:37 -07:00
Brion Vibber
c8e3d08a8f
Fix notice warning about unused var -- was renamed during refactoring.
2010-03-18 15:11:25 -07:00
Brion Vibber
cac9d23498
Fix for xmpp/sms notification options appearing to be disabled on new subscriptions.
...
Base problem is that our caching-on-insert interferes with relying on column default values; the cached object is missing those fields, so they appear to be empty (null) when the object is retrieved from cache.
Now explicitly setting them when inserting subscriptions, and cleaned up some code that had alternate code paths.
May also have made auto-subscription work for remote OStatus subscribers, but can't test until magic sigs are working again.
2010-03-18 14:26:32 -07:00
Brion Vibber
f1b3d84b7d
Fix some remote subscription regressions from f21f78364a
...
Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()
2010-03-18 13:13:57 -07:00
Brion Vibber
1de7badd78
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-03-18 10:55:20 -07:00
Sarven Capadisli
052466ceab
Using … (hellip) instead of "more" for link text
2010-03-18 14:26:30 +01:00
Evan Prodromou
a764603e73
reverse order from delete, insert to insert, delete on ostatus conversion
2010-03-18 08:04:22 -05:00
Evan Prodromou
f1af583e3e
catch exceptions in OStatus updates, log, and continue
2010-03-18 07:55:14 -05:00
Sarven Capadisli
d8a533274f
Updated 'more' anchor for attachments to do an XHR GET
2010-03-18 00:19:32 +01:00
Brion Vibber
dc71833ce6
Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents to make it easier to extract without getting extra markup.
2010-03-17 15:49:10 -07:00
Brion Vibber
a9c731798e
Tweak to OStatus long message cropping: use original source notice URL for the link in the text version, don't shorten the link for the HTML so we can append params to it in JS.
2010-03-17 14:16:43 -07:00
Brion Vibber
3a72c70b7e
When too-long messages come in via OStatus, mark the attachment link up as a "more" link in the HTML output, marked with class="attachment more" so JS code can fold it out smartly. Text output will still include the raw link.
2010-03-17 12:34:35 -07:00
Brion Vibber
67f2f01c5e
Merge branch 'testing' into 0.9.x
2010-03-17 12:15:40 -07:00
Evan Prodromou
4761c07ad8
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-17 09:38:39 -05:00
Evan Prodromou
f21f78364a
Change the workflow to get better discovery
...
Tried to re-structure the workflow of discovery to get more and richer
data and hints.
2010-03-16 11:25:18 -05:00
Jeffery To
8a9b3a858b
Fixed "Warning: syslog() expects parameter 1 to be long, string given"
...
With the FirePHP plugin enabled, I get these warnings in the output
page. This is because the StartLog handler inadvertly modifies the
original (number) priority with the corresponding (string) FirePHP
priority.
2010-03-16 11:44:51 -04:00
Brion Vibber
2b684f6954
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-15 14:39:14 -07:00
Brion Vibber
dfac4bfd09
Fix feed discovery: html:link@rel can contain multiple values; saw rel="updates alternate" in the wild at http://tantek.com/ which broke old discovery code.
2010-03-15 20:26:42 +00:00
Brion Vibber
c9232d8f26
Ticket #2242 : fix reading of inline XHTML content in Atom feeds for OStatus input.
...
Lookup of the <div> needed to check for the XHTML namespace.
2010-03-15 20:21:55 +00:00
Brion Vibber
c89e1865f7
Merge branch 'testing' into 0.9.x
2010-03-15 12:45:38 -07:00
James Walker
7aa49b5e87
use canonical user url in xrd
2010-03-15 15:17:31 -04:00
Sarven Capadisli
6e5e75f341
Updated plugin to open external links on a new window that are not
...
attachments
2010-03-14 14:06:14 -04:00
James Walker
85cf90cf0f
Performing & allowing host-meta discovery by http url (in addition to webfinger acct)
2010-03-13 18:35:00 -05:00
James Walker
99ca84e68e
changing keypair to text to hold a full 1024bit keypair
2010-03-13 15:46:54 -05:00
Brion Vibber
56402597dd
Throw a quick button label into ostatus .po file for french to test with
2010-03-13 12:19:07 -08:00
James Walker
9111c5c6fe
allow profile_url to be used in ostatus:attention
2010-03-13 14:36:51 -05:00
James Walker
135c0c8a7f
cleaning up key generation
2010-03-12 21:44:18 -05:00
James Walker
4e44cf906b
converting key generation to new crypt library
2010-03-12 20:02:00 -05:00
James Walker
520faaf67d
updating phpseclib to latest cvs - fixes a bunch of key generation issues
2010-03-12 20:01:34 -05:00
James Walker
c5bb41176e
converted toString to new crypt library
2010-03-12 19:42:48 -05:00
James Walker
23d44c7d59
converted sign, verify and fromString to new crypt lib
2010-03-12 19:34:45 -05:00
James Walker
41d2ff662c
Adding Crypt library from http://phpseclib.sourceforge.net/
2010-03-12 19:34:24 -05:00
James Walker
114f046691
removing deprecated PEAR Crypt_RSA
2010-03-12 18:50:00 -05:00
Brion Vibber
9e9ab23e1f
Fixes for updating indices, charset/collation and engine type on plugin-created tables.
...
Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables.
Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time.
Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties.
Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change.
Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run.
TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-03-12 13:16:32 -08:00
Brion Vibber
4d7479dcbc
OpenID fixes:
...
- avoid notice spew when checking sreg items that weren't provided
- fix keys spec for user_openid, clears up problems with removing openid associations
- fix keys spec for user_openid_trustroot
2010-03-12 10:07:32 -08:00
Sarven Capadisli
ea7c1bab2e
Plugin to open up rel="external" links on a new window or tab
2010-03-12 11:13:05 -05:00
Sarven Capadisli
4c320872d9
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-11 16:39:07 -05:00
James Walker
512e511053
fix invalid separator in magic-public-key XRD and matching parsing.
2010-03-11 14:49:12 -05:00
James Walker
06612e35e4
remove hard-coded me:env check in magicenvelope
2010-03-11 14:49:12 -05:00
James Walker
89582e7226
base64_encode/decode -> base64_url_encode/decode
2010-03-11 14:49:12 -05:00
Brion Vibber
c6f09306b1
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-10 17:04:51 -08:00
Brion Vibber
66518df435
OStatus: reject attempts to create a remote profile for a local user or group.
...
Some stray shadow entries were ending up getting created, which would steal group posts from remote users.
Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.
2010-03-10 17:00:05 -08:00
Brion Vibber
9b75e162c7
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-10 10:07:52 -08:00
Brion Vibber
69b2f19b6f
RequireValidatedEmailPlugin fixes: require email on registration form, tidy up i18n infrastructure.
2010-03-10 10:06:46 -08:00
Craig Andrews
9653cb9f0a
Fix error logging
2010-03-09 21:26:48 -05:00
Brion Vibber
8bf1b54abd
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-09 13:07:52 -08:00
Brion Vibber
32532c7c42
Merge branch 'commands' into testing
2010-03-09 13:05:51 -08:00
Brion Vibber
80a17387bf
Command input processing now has centralized places for looking up notice, user/profile, and group arguments.
...
OStatus plugin overrides these to allow using webfinger (user@example.com ), profile URL (http://example.com/user ) and bare profile URL (example.com/user) as arguments.
2010-03-09 13:03:32 -08:00
Brion Vibber
6c4ade4251
Merge branch 'testing' into 0.9.x
2010-03-09 11:27:53 -08:00
Brion Vibber
58192ad687
OStatus: fix exception thrown on HTTP error during feed discovery
2010-03-09 10:56:33 -08:00
Zach Copley
311da86762
Use canonical URL for notification in RSSCloud plugin
2010-03-09 11:08:07 +00:00
Zach Copley
d644f4148b
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-03-09 11:07:42 +00:00
Zach Copley
7afad469c2
Use canonical URL for notification in RSSCloud plugin
2010-03-09 11:07:24 +00:00
James Walker
7214db14fe
wrong param order to strpos()
2010-03-09 01:24:21 -05:00
Craig Andrews
9466546705
On the OpenID settings page, allow users to remove trustroots.
2010-03-08 21:43:34 -05:00
Zach Copley
691c88bce8
Only allow RSSCloud subs to canonical RSS2 profile feeds
2010-03-08 23:12:15 +00:00
Zach Copley
f8c5996758
Only allow RSSCloud subs to canonical RSS2 profile feeds
2010-03-08 23:11:52 +00:00
Craig Andrews
714d920fae
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
classes/statusnet.ini
db/statusnet.sql
lib/jabber.php
lib/xmppmanager.php
2010-03-08 17:22:23 -05:00
Craig Andrews
51a245f18c
Added Memcached plugin (using pecl/memcached versus pecl/memcache)
2010-03-08 17:17:37 -05:00
Brion Vibber
42463e160d
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-08 13:37:45 -08:00
Jeffery To
3f696ff0ed
ldap_get_connection() to return null when passed a config with bad user/pw.
...
This mainly affects login; before if the user enters a valid username
but invalid password, ldap_get_connection() throws an
LDAP_INVALID_CREDENTIALS error. Now the user sees the regular
"Incorrect username of password" error message.
2010-03-08 13:14:41 -05:00
Brion Vibber
5355c3b7b5
OpenID fix:
...
- avoid notice on insert (missing sequenceKeys())
- avoid cache corruption on delete (user_id was missing from keys list, cache not cleared for user_id lookups)
2010-03-05 15:00:27 -08:00
Brion Vibber
89e313e45b
OStatus fix: send the feed's root element, not the DOM document, down to low-level feed processing as entry context on PuSH input.
2010-03-05 10:55:07 -08:00
root
982edc653f
Another typo
2010-03-04 23:30:36 -05:00
Zach Copley
b8001ea107
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-05 03:56:04 +00:00
Zach Copley
e3c4b0c85d
A better way to safely delete Foreign_links
2010-03-05 03:55:56 +00:00
Zach Copley
6aac7cc6cd
Fix for errant deletion of all Twitter foreign_links
2010-03-05 03:55:39 +00:00
Zach Copley
6a377a4ba4
A better way to safely delete Foreign_links
2010-03-05 03:14:40 +00:00
Zach Copley
029b8c9014
Fix for errant deletion of all Twitter foreign_links
2010-03-05 02:27:01 +00:00
Brion Vibber
2f41e93339
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-04 14:44:38 -08:00
Sarven Capadisli
a4ec64ff45
Slight right alignment for remote button in minilists
2010-03-04 13:43:28 -05:00
Brion Vibber
7bd0b8e17e
Pull latest .po files from 0.9.x to testing
2010-03-04 10:20:10 -08: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
a6a056026d
Dropping the earlier PubSubHubbub plugin; OStatus plugin is taking that portion over (with both internal and external hub options for user and group feeds).
...
Todo: add support for other feeds to OStatus PuSH hub implementation.
2010-03-04 17:33:56 +00:00
Brion Vibber
8f1762cb95
OStatus: fix for remote group join via non-logged-in 'join' button.
...
Bad lookup was sending us to the first group instead of the selected group.
2010-03-04 09:24:47 -08:00
James Walker
45f11d9637
adding plugin version to OStatus
2010-03-04 12:02:44 -05: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
James Walker
ddc4a7d2ff
Catch a previously uncaught exception and add some additional debug logs for signature verification
2010-03-04 01:46:34 -05:00
James Walker
9cbeac5695
Merge remote branch 'statusnet/testing' into testing
2010-03-04 01:31:19 -05:00
James Walker
849f5783c4
update xrd -> userxrd
2010-03-04 01:30:15 -05:00
Sarven Capadisli
b97ac60209
Changed text for authorizing/confirming remote profile
2010-03-03 23:47:27 -05:00
Sarven Capadisli
f54fa6b10b
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 23:36:05 -05:00
Sarven Capadisli
38503096d9
Puts All groups and Remote sub button in the mini list on the same line
2010-03-03 23:34:48 -05:00
James Walker
1c8399fde1
refactor xrd to allow for ownerxrd - xrd document for the site owner.
...
introduced $config['webfinger']['owner'] for a custom xrd subject
2010-03-03 23:20:30 -05:00
Sarven Capadisli
239750aa00
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 22:58:28 -05:00
Sarven Capadisli
de687d00c0
Updated OStatus subscription error messages to be more user friendly.
...
Hopefully.
2010-03-03 22:56:50 -05:00
Brion Vibber
24835c1164
OStatus: catchable exception instead of fatal when parsing valid XML that isn't a valid XRD doc
2010-03-03 18:31:35 -08:00
Brion Vibber
14065ca350
OStatus: code cleanup on webfinger fallback path
2010-03-03 18:28:39 -08:00
Brion Vibber
a4d9171306
Fix up catching of webfinger setup fails
2010-03-03 18:23:28 -08:00
Sarven Capadisli
6a5a629afa
Updated label and note text for user and group remote subscribe forms
2010-03-03 20:08:55 -05: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
Sarven Capadisli
b3969be85a
Updated remote subscribe button style in aside
2010-03-03 17:48:00 -05:00
Brion Vibber
628338265c
OStatus: fix up remote join button on group profiles
2010-03-03 14:06:05 -08:00
Brion Vibber
4bad176088
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 13:41:00 -08:00
Brion Vibber
a42d1116db
Separate the UI paths for ostatussub and ostatusgroup. They'll redirect to each other transparently if they find you've put a remote entity of the other type.
2010-03-03 13:40:26 -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
219e15ac64
Returning true instead for group remote subscription. If not logged
...
in, it gives the chance to use the logged in join/leave instead.
2010-03-03 16:26:02 -05:00
Zach Copley
339b0b0a4d
Don't expose global Twitter consumer key and secret, because that would be idiotic.
2010-03-03 13:05:11 -08:00
Sarven Capadisli
d3c1888256
Generalized style for remote subscription button
2010-03-03 15:31:16 -05:00
Sarven Capadisli
3c55edde39
Showing the remote subscribe button on the user groups page
2010-03-03 15:30:43 -05:00
Evan Prodromou
ccd0db1e0a
add remote subscribe button for not-logged-in users looking a profile list with local users in it
2010-03-03 14:32:03 -05:00
Sarven Capadisli
e6fd387c94
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 13:38:31 -05:00
Sarven Capadisli
023b9bb00f
Renamed subscribe button from New to Remote since it only does remote
...
subscriptions at the moment.
2010-03-03 13:30:14 -05:00
Zach Copley
a82cd89a97
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Using position relative only for the remote subscription in section
Added group subscription button to groups mini list
Added event hooks at the start and end of groups mini list
2010-03-03 10:28:45 -08:00
Zach Copley
61ada4558d
Fix for disappearing 'connect' menu if xmpp and sms are disabled.
...
All 'connect' menu panels used to be optional, so Action tried to
figure out what the first item on the 'connect' menu should be.
This is no longer necessary because we have the non-optional OAuth
client connections panel now, which is not optional and can't be
turned off.
2010-03-03 10:19:14 -08:00
Sarven Capadisli
7d7847295a
Using position relative only for the remote subscription in section
2010-03-03 13:17:00 -05:00
Sarven Capadisli
2c9887bce5
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 12:57:03 -05:00
Sarven Capadisli
c8bdf3cacb
Added group subscription button to groups mini list
2010-03-03 12:56:19 -05:00
Brion Vibber
f3cea24304
Fix for hcard parsing: typo caused notice spew accessing unset array index
2010-03-03 09:36:26 -08:00
Brion Vibber
9801c60bea
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-03 09:33:38 -08:00
Brion Vibber
1e63fda669
Clean up OStatus mentions finding; separate regexes keeps the code paths a bit clearer. Also switched to hitting HTTP profile first; as the common case it'll be faster.
2010-03-03 09:32:25 -08:00
Brion Vibber
ffa1931c9d
Avoid warning/notice spew in XRD parser. Not all DOM nodes are elements.
2010-03-03 09:31:14 -08:00
Sarven Capadisli
11750e832f
Added remote join action for group profile
2010-03-03 12:02:10 -05:00
Sarven Capadisli
ea10805e3f
Moved the remote subscription button to subscription mini list
2010-03-03 11:22:21 -05:00
Sarven Capadisli
1a4652b1ad
Changed label text for remote subscription to something similar. Given
...
that this button will be used within context of subscriptions, 'New'
works along with the '+' icon.
2010-03-03 10:32:54 -05:00
Craig Andrews
358556057a
Bump to phpCAS 1.1.0RC6
2010-03-02 23:25:34 -05:00
Zach Copley
f7ba5566bc
Make Facebook plugin look for API key and secret before doing anything
2010-03-02 18:27:37 -08:00
Zach Copley
32c08f53de
Show global key and secret, if defined, in Twitter bridge admin panel
2010-03-03 01:49:14 +00:00
Zach Copley
08422dfa17
Remove double word from Twitter bridge README
2010-03-02 16:53:53 -08:00
Zach Copley
9520c0996d
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
OStatus: save file records for enclosures
Changed the geo location cookie Expire to Session.
2010-03-02 16:51:21 -08:00
Zach Copley
ca21f1da86
- Have Twitter bridge check for a global key and secret if it can't
...
find one in the local config
- Refuse to work at all if the consumer key and secret aren't set
2010-03-02 16:49:29 -08:00
Brion Vibber
79ffebb51b
OStatus: save file records for enclosures
...
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-02 16:36:08 -08: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
Sarven Capadisli
e9c127ddd8
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-03-02 15:26:27 -05:00
Sarven Capadisli
1550d1004d
Don't need to float the anchor
2010-03-02 15:24:07 -05:00
Brion Vibber
72460091dd
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-03-02 12:21:48 -08:00
Craig Andrews
380439ba77
Redirect to main page when transparent SSO is in place for the CAS plugin (which is what the user expects)
2010-03-02 15:10:30 -05:00
Brion Vibber
b1ffbf17d3
Performance fix on Sphinx search results: use id instead of created timestamp for reverse date sorting; should give same result but doesn't trigger a filesort.
2010-03-02 12:06:40 -08:00
Sarven Capadisli
e3c2b8e0b5
Refactored remote subscribe action in OStatus
2010-03-02 12:41:18 -05:00
Sarven Capadisli
88c33bbb57
Showing remote subscription button on the personal timeline
2010-03-02 12:35:27 -05:00
Sarven Capadisli
5abff91041
Generalized style for entity remote subscription action
2010-03-02 12:34:35 -05:00
Sarven Capadisli
623faf9f2d
Just a label change. Since the user already went ahead with
...
subscribing, in this step we are just confirming the profile.
2010-03-02 09:57:28 -05:00
Zach Copley
9816b35063
Update Facebook plugin README with info about new admin panel
2010-03-02 00:38:00 -08:00
Zach Copley
40e1b249cf
Initial Facebook admin panel
2010-03-01 23:31:56 -08:00
Zach Copley
1df8c2a44d
Some wording / spelling fixes
2010-03-01 22:58:27 -08:00
Zach Copley
27a49361eb
- Make 'Sign in with Twitter' optional
...
- Updates to the Twitter bridge plugin README
2010-03-01 22:41:07 -08:00
Zach Copley
82c9714fca
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
High-priority OStatus fixes:
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
2010-03-01 21:54:53 -08:00
Zach Copley
871b3aa6c0
Remove un-needed config variable for enabling/disabling Twitter integration
2010-03-01 21:52:31 -08:00
Zach Copley
6b2d67216e
Initial Twitter bridge admin panel
2010-03-01 21:35:24 -08:00
Brion Vibber
c38ed1bb19
High-priority OStatus fixes:
...
* PuSHing out to multiple client services could fail; only first callback got reached
* Correction for re-sub request to a known sub
2010-03-01 18:48:45 -08:00
Brion Vibber
680ace1966
High-priority OStatus fixes:
...
* PuSHing out to multiple client services could fail; only first callback got reached
* Correction for re-sub request to a known sub
2010-03-01 18:46:34 -08:00
Brion Vibber
e30af99873
Merge branch 'work' into testing
2010-03-01 16:57:58 -08: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
Brion Vibber
45e8819c1b
Fix a bunch of notice & warning-level messages that were breaking my inter-instance communications
2010-03-01 16:35:36 -08:00
Evan Prodromou
0512151eab
more output in updateostatus.php
2010-03-01 18:19:20 -05:00
Evan Prodromou
d77248343f
fix path for updateostatus.php
2010-03-01 18:03:17 -05:00
Evan Prodromou
3ff3abb247
Script to convert OMB subscriptions to OStatus subscriptions
2010-03-01 18:03:17 -05:00
Brion Vibber
3c4ead4996
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
db/08to09.sql
locale/statusnet.po
scripts/update_po_templates.php
2010-03-01 14:59:26 -08:00
Brion Vibber
00f724d0e6
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
2010-03-01 14:10:13 -08:00
Craig Andrews
3bfe3345df
Use common_nicknamize() in better places.
2010-03-01 11:56:07 -05:00
Evan Prodromou
f00e8bbf47
Merge branch 'testing' into 0.9.x
2010-02-27 17:07:57 -05:00
Evan Prodromou
55f27feb78
Plugin to restrict too many registrations from one IP
...
We throttle registrations by IP. We record IP address of each
registration, and if too many registrations have been done by the same
IP address in the time interval, we reject the registration.
2010-02-27 15:05:08 -05:00
James Walker
831eb0d2b6
renaming sha256 to prevent conflict
2010-02-26 18:27:13 -05:00
James Walker
ee7603b09f
better return check in Magicsig::staticGet()
2010-02-26 17:53:27 -05:00
James Walker
1cf08c7ad7
MagicEnvelope::parse shouldn't be called statically
2010-02-26 17:09:50 -05:00
James Walker
6ee7660a58
should be sequenceKey (singular)
2010-02-26 16:51:50 -05:00
James Walker
0ecf435dc5
adding sequenceKeys() to magicsig
2010-02-26 16:50:00 -05:00
James Walker
c82cee1876
removing some extraneous debug logging
2010-02-26 16:26:04 -05:00
Craig Andrews
74bcc6929d
Show messaging on the login and registration forms informing users that they may use their LDAP credentials
2010-02-26 15:51:25 -05:00
James Walker
e4c462570f
move salmon posting to send application/magic-envelope+xml per http://salmon-protocol.googlecode.com/svn/trunk/draft-panzer-salmon-00.html#RPF
2010-02-26 15:39:58 -05:00
James Walker
f23a877cd8
Discovery::lookup now throws an exception
2010-02-26 15:39:58 -05: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
517fd54b65
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-26 12:33:36 -08:00
James Walker
223ebc765c
move signing to take a local actor profile and use local keys
2010-02-26 14:22:49 -05:00
James Walker
3a7eef1074
only put public keys in XRD
2010-02-26 14:22:49 -05:00
James Walker
bbb0a7d5bc
updating to use latest salmon NS definitions
2010-02-26 14:22:49 -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
Evan Prodromou
c188ae15d9
Blacklist user nickname and password on delete
2010-02-26 12:29:28 -05:00
James Walker
ab8bb4d79e
more cleanup
2010-02-26 04:07:58 -05:00
James Walker
d1256b547f
bad merge.. cleaning up missing webfinger bits
2010-02-26 03:43:35 -05:00
James Walker
22062b665e
remove webfinger.php
2010-02-26 03:28:29 -05:00
James Walker
85b5b4b40a
Merge remote branch 'statusnet/testing' into testing
2010-02-26 03:27:40 -05:00
James Walker
84d0c865c4
salmon actually fetching remote keypairs
2010-02-26 03:25:51 -05:00
Zach Copley
e650794300
Remove unnecessary requires
2010-02-25 22:06:31 -08:00
James Walker
7c8031dc4b
Merge remote branch 'statusnet/testing' into testing
...
Conflicts:
plugins/OStatus/lib/webfinger.php
2010-02-25 23:49:45 -05:00
James Walker
855692141d
use a real keypair from discovery
2010-02-25 23:38:25 -05:00
James Walker
0afb09ad64
er. right.
2010-02-25 23:37:59 -05:00
Brion Vibber
02300ebfb0
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-02-25 19:52:19 -08:00
Brion Vibber
2528bb452b
OStatus: clean up known-URL hinting during profile setup, saves some extra HTTP hits we were getting when mentioning Buzz feeds.
2010-02-25 19:50:59 -08:00
Zach Copley
cf61f36e6b
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, otherwise if none labeled takes the first)
info about discovery in Ostatus_profile::ensureWebfinger()
cache Web responses in Webfinger library
2010-02-25 18:57:12 -08:00
Zach Copley
d8d8d59a03
- Updates to use new activity object factories
...
- Prune obsolete feed creation method
2010-02-25 18:55:11 -08:00
Brion Vibber
2fa953da22
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-02-25 18:52:26 -08:00
Brion Vibber
2feb09f434
OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, otherwise if none labeled takes the first)
2010-02-25 18:51:44 -08:00
Evan Prodromou
e197208a4a
info about discovery in Ostatus_profile::ensureWebfinger()
2010-02-25 21:07:52 -05:00
Evan Prodromou
a43598c31e
cache Web responses in Webfinger library
2010-02-25 21:07:24 -05:00
Evan Prodromou
c693365ae7
cache results of webfinger lookups
2010-02-25 20:29:52 -05:00
Evan Prodromou
1cae324555
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-25 19:59:01 -05:00
Evan Prodromou
894b221e8a
Parse an hcard for hints, if available
2010-02-25 19:58:51 -05:00
Evan Prodromou
cc0670791e
use new hcard method for webfinger
2010-02-25 19:58:18 -05:00
Evan Prodromou
36f02f459b
add hkit for hCard parsing
2010-02-25 19:11:39 -05:00
Zach Copley
82cac2be59
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
OStatus: if no <link> available and no profileurl hint passed in, use object id if it's an HTTP(S) URL. Fixes profile link for Google accounts.
Tweak common_url_to_nickname to take the last path component; fixes pulling nicks from Google profile pages (path is "/profile/<nickname>")
Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
2010-02-25 16:07:32 -08:00
Zach Copley
7922edb5b6
Add lots of fun avatars to our Atom output
2010-02-25 16:06:49 -08:00
Brion Vibber
45435a7c03
OStatus: if no <link> available and no profileurl hint passed in, use object id if it's an HTTP(S) URL. Fixes profile link for Google accounts.
2010-02-26 00:01:22 +00: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
6578e0e1af
use new dedicated hcard method for Webfinger profile
2010-02-25 18:45:08 -05:00
James Walker
08413428a7
typo
2010-02-25 17:52:56 -05:00
James Walker
93f4f07c12
moving webfinger action to xrdaction
2010-02-25 17:52:18 -05:00
James Walker
5ae64a7adb
moving references to Webfinger to Discovery
2010-02-25 17:34:56 -05:00
James Walker
bd90ef9f66
replace webfinger usage in hostmeta.php
2010-02-25 17:26:10 -05:00
James Walker
b2dabe6a48
removing the webfinger lib
2010-02-25 17:12:46 -05:00
James Walker
3d0ba3efc8
adding a new, more generic "discovery" class that does LRDD disco
...
(rather than webfinger specific)
2010-02-25 17:09:54 -05:00
James Walker
5cb6e54bed
call-time pass by reference
2010-02-25 17:09:54 -05:00
James Walker
e62e49ed3b
adding some exception handling for magicenv parsing
2010-02-25 17:09:54 -05: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
Craig Andrews
eb724bfdc8
Add TabFocus (for die-hard Twitter users) plugin
2010-02-25 15:34:01 -05:00
Brion Vibber
79c0d52daa
OStatus: save categories from the Atom entry as hashtags.
2010-02-25 11:26:33 -08:00
Brion Vibber
4a71753f20
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-02-25 09:28:19 -08:00
Brion Vibber
84fa3776e2
Merge commit 'refs/merge-requests/122' of git://gitorious.org/statusnet/mainline into integration
2010-02-25 09:14:42 -08:00
Sarven Capadisli
ffdcdbc198
Removed dangling icons in Realtime plugin
2010-02-25 13:55:06 +00:00
Sarven Capadisli
9ef7eb036c
Moved common icons from Realtime plugin to core icons file
2010-02-25 10:38:55 +00:00
Craig Andrews
489bd935eb
Make LDAP connection error fatal - there really is no way to recover from that.
2010-02-24 23:20:34 -05:00
Craig Andrews
bdf0dfc30d
Improve description of what the provide_name parameter means
2010-02-24 22:29:46 -05:00
Evan Prodromou
374c488cf1
return attachement from saveHTMLFile()
2010-02-24 22:26:40 -05:00
Evan Prodromou
b08a527139
content_* to common_*
2010-02-24 22:22:42 -05:00
Evan Prodromou
75cf4d4312
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-24 22:03:01 -05:00
Evan Prodromou
942521ef30
if OStatus post is too long, show the summary and save it as an HTML attachment
2010-02-24 22:02:43 -05:00
Brion Vibber
58e232a10a
OStatus: when finding webfinger @-replies, override a local profile match if found at the same location (eg @someguy vs @someguy@example.org)
...
Fixes inconsistent application of webfinger @-mentions in OStatus; once a local profile is set up the local name would often match first and ended up overriding in output.
2010-02-25 02:56:56 +00:00
Brion Vibber
b798faf9ea
OStatus: abort processing of this PuSH in item if we got an exception, rather than letting it be re-run.
2010-02-25 02:43:20 +00:00
Craig Andrews
c187bf5597
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
EVENTS.txt
db/statusnet.sql
lib/queuemanager.php
2010-02-24 20:52:45 -05:00
Zach Copley
10884dcd49
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Merge StatusNet core localization updates from 0.9.x branch
Fix update_po_templates.php to support the plural and context variants of _m() in plugins
Drop HTMLPurifier; we don't need its extra capabilities and we're already using htmLawed which is lighter-weight.
OStatus: handle update-profile Salmon pings
Revert "Updated jQuery Form Plugin from v2.17 to v2.36"
OStatus: disable HTMLPurify cache unless we've configured a writable path for it.
2010-02-24 16:52:16 -08:00
Zach Copley
543ff40ef6
Populate more profile information when doing a remote subscribe
2010-02-24 16:51:24 -08:00
Brion Vibber
8914b69d50
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-24 16:35:57 -08:00
Brion Vibber
3b7084c6dd
Fix update_po_templates.php to support the plural and context variants of _m() in plugins
2010-02-24 16:34:45 -08:00
Brion Vibber
59be4b8cae
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-24 15:47:51 -08:00
Brion Vibber
e18e659ca3
Drop HTMLPurifier; we don't need its extra capabilities and we're already using htmLawed which is lighter-weight.
2010-02-24 23:39:40 +00:00
Brion Vibber
93507a1927
OStatus: handle update-profile Salmon pings
2010-02-24 23:28:01 +00:00
Brion Vibber
ec4899e617
OStatus: disable HTMLPurify cache unless we've configured a writable path for it.
...
Updated plugin README with available config options.
Cleanup for a bad element fallback lookup in Activity
2010-02-24 22:16:17 +00:00
Brion Vibber
0c7844734e
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-24 20:38:38 +00:00
Brion Vibber
c36bdc1ba5
- break OMB profile update pings to a background queue
...
- add event hooks to profile update pings
- send Salmon pings with custom update-profile event to OStatus subscribees and groups (subscribers will see it on your next post)
- fix OStatus queues with overlong transport names, should work on DB queues now
- Ostatus_profile::notifyActivity() and ::notifyDeferred() now can take XML, Notice, or Activity for convenience
2010-02-24 20:36:36 +00:00
Evan Prodromou
269d567d94
use Subscription::start() for remote subscribes
2010-02-24 15:20:06 -05:00
Evan Prodromou
daea988786
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-24 15:00:52 -05:00
Brion Vibber
07214f1370
OStatus: save updated profile bits when they come in over the wire; fix up nicknames
2010-02-24 19:06:10 +00:00
Sarven Capadisli
1f45273d53
Moved StatusNetInstance into SN in util.js
2010-02-24 16:35:20 +01:00
Sarven Capadisli
8e7606cc8d
Added processing indicator for .form_remote_authorize on ostatussub page
2010-02-24 15:20:44 +01:00
Zach Copley
618ce6a855
- Move ActivityParseTests to core
...
- Add test for Portable Contacts stuff
2010-02-23 23:58:21 -08:00
Brion Vibber
2e58802cc9
OStatus: fix group delivery, send reply/group Salmon pings from background.
2010-02-24 02:20:31 +00:00
Brion Vibber
584b87cfe5
OStatus: consolidate the low-level notice save code between Salmon and PuSH input paths. Validation etc remains at higher levels.
2010-02-24 01:09:52 +00:00
James Walker
391b45949f
adding xfn, foaf and hcard rel's to our webfinger output
2010-02-23 18:25:31 -05:00
Brion Vibber
d6ad733247
OStatus: fixes for link/id and text extraction gets import of Buzz feeds working.
2010-02-23 21:47:14 +00:00
Evan Prodromou
f5ec7c2707
some logging for OStatusPlugin::onStartFindMentions()
2010-02-23 16:13:24 -05:00
Brion Vibber
5f9a8ca64b
OStatus: accept webfinger addresses as well as profile URLs in the explicit remote subscribe form.
2010-02-23 21:11:44 +00:00
Evan Prodromou
b09304a6c4
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
...
Conflicts:
plugins/OStatus/OStatusPlugin.php
2010-02-23 16:02:27 -05:00
Evan Prodromou
a0c255e231
move mention detection before default in OStatusPlugin
2010-02-23 15:59:10 -05:00
Brion Vibber
90d34b26c6
OStatus: do PuSH subscription setup from subscribe/join event hooks, so resubscribing directly from a profile/group list works correctly if there aren't active subscriptions at the moment.
2010-02-23 20:44:27 +00:00
Brion Vibber
c79c70ea2c
OStatus subscription UI tweak: if we're already subscribed/joined, say so and don't offer a 'subscribe'/'join' button on the profile preview page.
2010-02-23 11:56:17 -08:00
Brion Vibber
e070fcaaae
OStatus: fix for avatars, submit button in updated remote profile preview
2010-02-23 11:37:49 -08:00
James Walker
1fe031844c
er typo
2010-02-22 23:44:33 -05:00
James Walker
9494b0e5d7
magicsig shuffling
2010-02-22 23:30:32 -05:00
James Walker
17b8020d25
clean up error logging
2010-02-22 23:30:31 -05:00
James Walker
cd561657c2
missing return value check
2010-02-22 23:30:31 -05:00
James Walker
f4b34d67c5
generate keypairs for users, and put them in the XRD for discovery
2010-02-22 23:30:31 -05:00
James Walker
74f5c1e169
db_objectified magic sig - for persistence of local keypairs
2010-02-22 23:30:31 -05:00
James Walker
cb32b676fa
moving magicsig.php to classes - to add storage
2010-02-22 23:30:31 -05:00
Sarven Capadisli
b67bb182b0
Refactored preview info and form for authorizing a remote subscription
2010-02-23 04:59:34 +01:00
Brion Vibber
193448d1be
OStatus: cleanup on ostatussub preparing for final UI work on the remote sub/join forms.
2010-02-23 01:58:05 +00:00
Zach Copley
cbf6ebae01
Merge branch 'rationalize-activity' into testing
...
* rationalize-activity:
Move ActivityObject and related stuff to core
Add PoCo bits, avatar link, geo point, etc. to person activity obj output
2010-02-22 17:12:33 -08:00
Zach Copley
6a711c6cdc
Move ActivityObject and related stuff to core
2010-02-22 17:10:50 -08:00
Brion Vibber
870e556faa
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-23 00:52:47 +00:00
Zach Copley
a3e800e67c
Add PoCo bits, avatar link, geo point, etc. to person activity obj output
2010-02-22 16:46:54 -08: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
James Walker
caad5859b5
swapping pear error handling so Crypt_RSA can properly detect available
...
math libraries
2010-02-22 19:01:12 -05:00
Sarven Capadisli
3b823f8fbd
Leaves the original URL alone and adds ? or & when it does the XHR.
2010-02-23 00:27:41 +01:00
Sarven Capadisli
8aa8e124cb
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-22 22:24:45 +01:00
Sarven Capadisli
3c00472999
Removed unnecessary assignment to SN.C.I.OStatusProfile. It can be
...
brought back in the future if the value is to be set directly from the
HTML script output.
2010-02-22 22:23:37 +01:00
Brion Vibber
06f155c02d
OStatus: initial hookup of remote group membership (notice delivery not yet working quite right)
...
- added a temp config var to disable salmon magic signatures until they're working consistently
2010-02-22 12:13:57 -08:00
Sarven Capadisli
7e8c3ea418
Removed extra comma
2010-02-22 19:37:42 +01:00
Sarven Capadisli
a1549ebf87
Minor JSLinting
2010-02-22 19:36:03 +01:00
Sarven Capadisli
3ed3796135
Added licensing info and a note about migrating
2010-02-22 19:18:32 +01:00
Sarven Capadisli
85cb850cd5
Set and reuse a cookie with own profile value at a StatusNet instance
2010-02-22 19:13:30 +01:00
Brion Vibber
2b16532ffb
OStatus: use 'profile' consistently as param on ostatussub and ostatusinit to help us stay sane.
2010-02-22 10:03:34 -08:00
Christopher Vollick
a6afc1cfd6
Made Blogspam Plugin Respect textlimit Setting.
...
The Blogspam plugin was setting a max-size to 140.
It was therefore rejecting posts with more characters as spam.
This kind of defeated the purpose of setting a higher limit...
2010-02-22 11:20:44 -05:00
Christopher Vollick
1e8e1e836d
Rewrote How Blogspam Plugin Made HTTP Requests.
...
The old way didn't seem to work anymore.
It was just sending empty requests.
2010-02-22 11:19:16 -05:00
Sarven Capadisli
c88507fe11
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-22 17:08:54 +01:00
Sarven Capadisli
3569493ba7
Added link to Subscriptions page to XHR get the ostatus sub form
2010-02-22 17:07:48 +01:00
Sarven Capadisli
e6ce04cbce
Generalised Subscription XHR dialogbox
2010-02-22 17:05:43 +01:00
James Walker
2f65fa646a
wiring in magicsig
2010-02-22 09:05:52 -05:00
James Walker
e0388cc1d3
adding magic sig stuff
2010-02-22 09:05:32 -05:00
James Walker
8fe097d7d1
Merge remote branch 'statusnet/testing' into testing
2010-02-22 09:03:42 -05:00
Evan Prodromou
75fdef2092
handle poco nicknames in Ostatus_profile
2010-02-22 07:57:44 -05:00
Evan Prodromou
074e3fa895
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-22 07:09:08 -05:00
Evan Prodromou
e94800ced9
fix broken link in OpenID documentation
2010-02-22 07:08:57 -05:00
Sarven Capadisli
f54c9b70db
Fixed error/warning message location in OStatus autorize subscription page
2010-02-22 11:53:34 +01:00
James Walker
7b2ea7aa22
Merge remote branch 'statusnet/testing' into testing
2010-02-22 01:40:03 -05:00
James Walker
effa4f5d1e
adding extlib for Crypt_RSA
2010-02-22 01:39:00 -05:00
Brion Vibber
17ed30dffc
OStatus: fix remote subscription when putting webfinger address in the little box
2010-02-22 06:00:13 +00:00
Evan Prodromou
891e002883
don't calculate replies for remote notices
2010-02-21 23:56:48 -05:00
Evan Prodromou
a9599d53c5
some info code for usersalmon.php
2010-02-21 23:39:52 -05:00
Evan Prodromou
e4c4f90c8a
don't save Notices that already exist in Salmon
2010-02-21 23:32:20 -05:00
Evan Prodromou
48839a1fcf
change erroneous common_sql_time() to common_sql_date()
2010-02-21 23:19:29 -05:00
Evan Prodromou
e39e6cdcc5
was using HTMLPurifier::purify() as a static method, which it is not
2010-02-21 23:16:42 -05:00
Evan Prodromou
aab7ce70dc
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 23:08:01 -05:00
Evan Prodromou
17c329ba89
add HTMLPurifier config
2010-02-21 23:07:46 -05:00
Brion Vibber
bd3051b85c
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-02-21 19:55:53 -08:00
Brion Vibber
5207783765
OStatus: record source profile & saving method in ostatus_source table; this allows us to distinguish posts that have come through an unverified group feed
2010-02-21 19:52:53 -08:00
Evan Prodromou
cc18f757a8
hook in OStatusPlugin to return Ostatus_profile URIs where applicable
2010-02-21 22:52:52 -05:00
Evan Prodromou
232b5efa7e
Add error info for missing URI in attention
2010-02-21 22:44:58 -05:00
Evan Prodromou
13fb7bef78
reversed in_array() arguments in UsersalmonAction
2010-02-21 22:41:02 -05:00
Evan Prodromou
de522d7978
Wasn't putting in namespaces for reply salmons
2010-02-21 22:38:18 -05:00
Evan Prodromou
a0b64663be
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 22:35:04 -05:00
Evan Prodromou
bd21f48cee
Notice::getReplies() returns array of profile IDs
2010-02-21 22:34:40 -05:00
Brion Vibber
892cd801d1
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-02-21 19:02:23 -08:00
Brion Vibber
ad10e6e8da
OStatus: drop the remnants of feedsubsettings, replaced by ostatussub and no longer linked in UI
2010-02-21 19:01:32 -08:00
Evan Prodromou
79c76f1a87
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 21:57:32 -05:00
Evan Prodromou
be70dd3677
work harder to preserve info when creating new Ostatus_profile
2010-02-21 21:57:09 -05:00
Brion Vibber
d3996996e4
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
2010-02-21 18:54:06 -08:00
Brion Vibber
78ca45c7a0
OStatus PuSH fixes:
...
- hub now defers subscription state updates until after verification, per spec
- hub now supports synchronous verification when requested (if async is not requested after)
- client now requests synchronous verification (it's a bit safer)
- cleanup on subscription logging/error responses
2010-02-21 18:51:15 -08:00
Evan Prodromou
273c0e0363
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 21:39:50 -05:00
Evan Prodromou
912814fb7f
use some constants and do some extra output in webfinger output
2010-02-21 21:38:59 -05:00
Evan Prodromou
bd74f05a66
Do mention lookup for Webfinger accounts in OStatusPlugin
2010-02-21 21:38:16 -05:00
Evan Prodromou
bf23c35495
Add OStatus_profile::ensureWebfinger()
2010-02-21 21:37:12 -05:00
Evan Prodromou
fde64ddf26
make some of the Webfinger magic strings constants
2010-02-21 21:36:36 -05:00
Brion Vibber
aa0b2ce81a
OStatus PuSH fixlets:
...
- set minimal error page output on PuSH callback
- allow hub to retry ($config['ostatus']['hub_retries']), simplify internal iface a bit. Retries are pushed to end of queue but otherwise not delayed yet; makes delivery more robust to one-off transitory errors but not yet against downtime.
2010-02-21 14:28:06 -08:00
Evan Prodromou
37179a91d5
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 17:00:19 -05:00
Evan Prodromou
1c22bf20f1
fixup activity serialization so salmon notifications work
2010-02-21 17:00:05 -05:00
Brion Vibber
5349aa420e
OStatus feedsub fixlets:
...
- actually udpate feedsub.last_update when we get a new PuSH update in
- move incoming PuSH processing to a queue handler to minimize time spent before POST return, as recommended by PuSH spec. When queues are disabled this'll still be handled immediately.
2010-02-21 13:40:59 -08:00
Evan Prodromou
10f6c023f4
include namespaces in posted activities in notifyActivity()
2010-02-21 16:23:55 -05:00
Evan Prodromou
4209082677
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-21 14:18:16 -05:00
Evan Prodromou
ad3406a919
use Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile()
2010-02-21 14:17:37 -05:00
Evan Prodromou
16a43b1154
slightly more robust remote profile creation
2010-02-21 14:14:45 -05: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
588fe5d603
OStatus: debug aid - log the received Salmon post when it can't be parsed properly as an <atom:entry>
2010-02-21 10:48:48 -08:00
Evan Prodromou
de093537f6
correct actor for OStatusPlugin::onEndUnsubscribe()
2010-02-21 13:32:24 -05:00
Evan Prodromou
068d8f9220
correct call to time() in Ostatus_profile::notify()
2010-02-21 13:31:58 -05:00
Evan Prodromou
f83941a67b
correct name check in ActivityObject::fromProfile()
2010-02-21 13:31:31 -05:00
Evan Prodromou
5aeed9e041
add activity:subject to atom feeds
2010-02-21 13:11:00 -05:00
Evan Prodromou
1a86bf9c65
try different ways to get a profile from a feed
2010-02-21 12:56:46 -05:00
Evan Prodromou
d372a352ec
make avatar attribute explicit for ActivityObject
2010-02-21 12:55:40 -05:00
Evan Prodromou
09e2d181be
remove unused profile code from salmonaction
2010-02-21 12:54:52 -05:00
Evan Prodromou
727773cdfa
redirect ostatussub if not logged in
2010-02-21 11:24:04 -05:00
Evan Prodromou
df7c6b37c8
use notifyActivity() for notifications in OStatusPlugin
2010-02-21 10:53:32 -05:00
Evan Prodromou
4e90bd34e9
activity notification in Ostatus_profile
2010-02-21 10:53:11 -05:00
Evan Prodromou
ff2efd314f
let activities generate their own XML
2010-02-21 10:50:51 -05:00
Evan Prodromou
9898bbdeb2
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
...
Conflicts:
plugins/OStatus/lib/activity.php
2010-02-21 09:19:27 -05:00
Evan Prodromou
7f471bde23
more tests for Activity parsing
2010-02-21 09:17:52 -05:00
Evan Prodromou
4a4c34de32
Save posted notices in usersalmon
2010-02-21 09:17:35 -05:00
Evan Prodromou
6169d8a877
saving notices in salmon actions
2010-02-21 09:16:27 -05:00
Evan Prodromou
229f9bd069
more complete content retrieval in ActivityObject::__construct()
2010-02-21 09:15:57 -05:00
Brion Vibber
5df61141d2
OStatus: fix regressions from merge
2010-02-20 18:25:40 -08:00
Evan Prodromou
6f1ccfc577
Subscription::start() should be enough, right?
2010-02-20 20:36:54 -05:00
Evan Prodromou
0c62c68675
do some double-checks on favor and disfavor handlers in OStatusPlugin
2010-02-20 20:34:29 -05:00
Evan Prodromou
5565216b42
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
...
Conflicts:
plugins/OStatus/OStatusPlugin.php
2010-02-20 20:27:04 -05:00
Evan Prodromou
96c6019638
Add support for favor and disfavor notification
...
Added support for favoring and disfavoring in OStatusPlugin.
Needed to represent the Notice as an activity:object, so added
some code for that in lib/activity.php.
Also, made some small changes to OStatusPlugin so it handled
having a non-default argument $object correctly.
2010-02-20 19:58:20 -05:00
Brion Vibber
145a19954f
OStatus: Salmon favorite & unfavorite events now handled
2010-02-20 16:45:30 -08:00
Brion Vibber
9c2fe8492f
OStatus: send favorite/unfavorite notifications to remote authors
2010-02-20 15:56:36 -08:00
Eric Helgeson
86f2f530ef
Fixed incorrect link on registration successful page
2010-02-20 21:57:05 +00:00
Brion Vibber
ea9d6f21ec
OStatus subscription page fixups; works but needs lots of UI loving!
...
- ostatussub via subscribe button now works again (changed to take profile instead of feed, patched up to the new discovery)
- added a quickie hack to allow putting your remote profile URI in place of webfinger acct through the remote-sub button (needs to be patched up to do proper discovery via XRDS or a link or something)
2010-02-20 12:57:47 -08:00
Brion Vibber
f891b135fb
OStatus: fix regressions in plugin & usersalmon action. Sub/unsub notifications are working again.
2010-02-20 10:26:32 -08:00
Brion Vibber
97b01432e7
drop no-longer-used XML_Feed_Parser extlib package from OStatus plugin
2010-02-20 10:06:28 -08:00
Evan Prodromou
866b647062
add hooks for OStatus notification on subscribe/unsubscribe
2010-02-20 11:48:42 -05:00
Evan Prodromou
ab4ec095e8
adjust URI, URL, and location in Ostatus_profile::processPost
2010-02-20 11:38:05 -05:00
Evan Prodromou
ed45df045f
Cool bug! Technically good PHP syntax
2010-02-20 11:17:54 -05:00
Evan Prodromou
2df3bbc80b
Move some salmon processing to a superclass
...
Moved some salmon processing to a superclass so we could handle group
salmon posts, too.
2010-02-20 11:12:43 -05:00
Brion Vibber
50db2d5d69
OStatus: Salmon notifications now being generated moderately correctly. :) Needs to be an <entry> not a <feed>.
2010-02-19 17:01:38 -08:00
Brion Vibber
557df3d3f7
OStatus: sub/unsub notifications working again. Fixed up autodetection of feed info at profile setup time
2010-02-19 16:21:17 -08:00
Evan Prodromou
d69f6dff6a
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
...
Conflicts:
plugins/OStatus/actions/salmon.php
2010-02-19 16:55:24 -05:00
Evan Prodromou
b0327506a4
some more salmon stuff
2010-02-19 16:37:07 -05:00
Brion Vibber
a1a3ab1c58
OStatus: hooked up follow/unfollow events on Salmon endpoint to create/destroy remote subscriber relationships
2010-02-19 12:08:07 -08:00
Brion Vibber
114eb310ca
OStatus: fix up Salmon endpoint detection/saving, timestamp fixes.
2010-02-19 10:29:06 -08:00
Evan Prodromou
48edade751
add ActivityContext class and test it
2010-02-18 22:18:14 -05:00
Brion Vibber
0dac13d197
OStatus refactoring to clean up profile vs feed and fix up subscription issues.
...
PuSH subscription maintenance broken back out to FeedSub, letting Ostatus_profile deal with the profile level (user or group, with unique id URI)
2010-02-18 16:50:53 -08:00
Brion Vibber
22ff358ba8
OStatus sub/unsub updates:
...
- fix for PuSH unsub verification
- send Salmon notification on unsub
2010-02-18 18:20:48 +00:00
Evan Prodromou
b6e5d4ecc3
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-18 06:36:47 -05:00
Evan Prodromou
80ef3946d0
more work on salmon
2010-02-18 06:36:32 -05:00
Zach Copley
73ba26efe3
Twitter bridge - fix for Ticket #2192
2010-02-17 20:58:32 +00:00
Zach Copley
05c50499c3
Better logging for Twitter bridge account linking process
2010-02-17 20:58:24 +00:00
Zach Copley
c201baffbf
Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allows
...
us to automatically send in a callback url instead of having to manually
configure one for each StatusNet instance.
2010-02-17 20:58:15 +00:00
Zach Copley
a80fdf3142
Twitter bridge - fix for Ticket #2192
2010-02-17 20:56:18 +00:00
Zach Copley
c498f6e1ba
Twitter bridge - fix for Ticket #2192
2010-02-17 20:53:16 +00:00
Zach Copley
4d97f83740
Better logging for Twitter bridge account linking process
2010-02-17 19:25:37 +00:00
Zach Copley
6b887728b2
Better logging for Twitter bridge account linking process
2010-02-17 19:24:38 +00:00
Brion Vibber
5a6cbb248f
Merge branch 'testing' into 0.9.x
2010-02-17 10:14:08 -08:00
Brion Vibber
3cb6b1670b
Merge branch 'master' into testing
2010-02-17 10:13:35 -08:00
Craig Andrews
8e07926a9c
parse_url returns an associative array - not an object
2010-02-17 10:10:07 -08:00
Brion Vibber
9f3246124d
PostDebug plugin - saves POST data to debug log or directory to help debug form submission and server-to-server communications.
...
Some sensitive items are sanitized but not all - don't just shove out the log results publicly!
2010-02-17 09:58:34 -08:00
Craig Andrews
46e9aa13aa
htmloutputter->script() special cases src's that begin with plugin/ or local/ so that plugins don't need to include common_path() in every call to $action->script()
...
Adjust plugins to not call common_path() when it's not necessary
Fix minify plugin
2010-02-17 12:03:14 -05:00
Craig Andrews
c19300272f
parse_url returns an associative array - not an object
2010-02-17 12:02:59 -05:00
Craig Andrews
389e6d54bf
Fix script references in infinite scroll plugin and autocomplete plugin
...
Add indicator.gif used by autocomplete plugin
2010-02-17 10:29:08 -05:00
Brion Vibber
e51e96d724
OStatus: override source link with the source domain and link to original message
2010-02-17 02:16:03 +00:00
Brion Vibber
454d0b5738
OStatus: moving parts of profile processing to Activity from feedmunger. Pausing before refactoring DB schema a bit to clean up feed vs person vs group info
2010-02-17 01:49:49 +00:00
Brion Vibber
4a139d1cc8
OStatus: migrated notice parsing to use Activity helper classes; on the way to killing FeedMunger
2010-02-16 23:31:11 +00:00
Brion Vibber
014a32e6b8
OStatus: check only direct children in ActivityUtil::child; fixes pulling actor's info when we wanted post info
2010-02-16 23:04:39 +00:00
Brion Vibber
440ab90391
OStatus: fix up some recent regressions in subscription setup; fix state checks and verification token, and avatar save on setup. Needs updates for new atom code next...
2010-02-16 22:03:24 +00:00
Brion Vibber
a116cde1a4
OStatus: fix for low-level remote subscribe
2010-02-16 20:11:48 +00:00
Craig Andrews
20d6a7caed
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/queuemanager.php
lib/xmppmanager.php
plugins/Xmpp/Fake_XMPP.php
scripts/imdaemon.php
2010-02-16 13:15:09 -05:00
Evan Prodromou
201110ffaa
restructure Activity classes to push more DOM stuff to ActivityUtils
2010-02-16 12:49:54 -05:00
Brion Vibber
d5cbfe8071
Merge branch 'testing' into 0.9.x
...
Conflicts:
lib/iomaster.php
2010-02-16 09:25:09 -08:00
Brion Vibber
81b6b58e33
Merge branch 'master' into testing
...
Conflicts:
lib/stompqueuemanager.php
2010-02-16 09:22:02 -08:00
Brion Vibber
c74aea589d
Stomp queue restructuring for mass scalability:
...
- Multiplexing queues into groups and for multiple sites.
- Sharing vs breakout configurable per site and per queue via $config['queue']['breakout']
- Detect how many times a message is redelivered, discard if it's killed too many daemons
- count configurable with $config['queue']['max_retries']
- can dump the items to files in $config['queue']['dead_letter_dir']
Queue daemon memory & resource leak fixes:
- avoid unnecessary reconnections to memcached server (switch persistent connections back in on second initialization, assuming it's child process)
- monkey-patch for leaky .ini loads in DB_DataObject::databaseStructure() - was leaking 200k per active switch
- applied leak fixes to Status_network as well, using intermediate base Safe_DataObject for both it and Memcache_DataObject
Misc queue fixes:
- correct handling of child processes exiting due to signal termination instead of regular exit
- shutdown instead of infinite respawn loop if we're already past the soft memory limit at startup
- Added --all option for xmppdaemon... still opens one xmpp connection per site that has xmpp active
Cache updates:
- add Cache::increment() method with native support for memcached atomic increment
2010-02-16 09:16:51 -08:00
Evan Prodromou
a8c2a8261e
move some nickname-guessing code to lib/util.php from OpenID
2010-02-16 11:06:10 -05:00
Craig Andrews
32084e33a2
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/queuemanager.php
2010-02-16 10:25:57 -05:00
Evan Prodromou
813451c9f9
add a couple of FIXME comments
2010-02-16 10:18:23 -05:00
Evan Prodromou
5a357d5399
change find() to staticGet() to use cache
2010-02-16 09:58:33 -05:00
Zach Copley
d4f6235d7b
Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allows
...
us to automatically send in a callback url instead of having to manually
configure one for each StatusNet instance.
2010-02-16 06:19:20 +00:00
Zach Copley
f414544d0d
Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allows
...
us to automatically send in a callback url instead of having to manually
configure one for each StatusNet instance.
2010-02-16 06:12:08 +00:00
Zach Copley
2e1e614abe
Use static class method for looking up Twitter user
2010-02-15 22:15:22 +00:00
Zach Copley
0ba3759171
Use static class method for looking up Twitter user
2010-02-15 22:14:54 +00:00
Zach Copley
9f8e25bfe7
Use static class method for looking up Twitter user
2010-02-15 22:13:10 +00:00
Zach Copley
1996b709c6
Twitter-bridge: lookup old foreign_user by primary key not url
2010-02-15 22:06:18 +00:00
Zach Copley
01c428796f
Twitter-bridge: lookup old foreign_user by primary key not url
2010-02-15 22:05:23 +00:00
Zach Copley
66f427c373
Twitter-bridge: lookup old foreign_user by primary key not url
2010-02-15 21:53:49 +00:00
Zach Copley
a69863eae6
Better log msgs. Removed debugging statement.
2010-02-15 21:24:31 +00:00
Zach Copley
ead595eee8
Better log msgs. Removed debugging statement.
2010-02-15 21:24:12 +00:00
Zach Copley
fdf6ed7b1a
Better log msgs. Removed debugging statement.
2010-02-15 21:23:26 +00:00
Zach Copley
5db40c440d
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-15 21:14:32 +00:00
Zach Copley
82033b3773
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-15 21:14:01 +00:00
Zach Copley
fe2ebec732
Fix for regression introduced with my last update to the
...
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user
record when making a foreign link.
2010-02-15 21:13:53 +00:00
Zach Copley
5cc1f8b001
Fix for regression introduced with my last update to the
...
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user
record when making a foreign link.
2010-02-15 21:13:42 +00:00
Zach Copley
2b6a39f70f
Fix for regression introduced with my last update to the
...
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user
record when making a foreign link.
2010-02-15 21:10:45 +00:00
Sarven Capadisli
03edbfe24e
Added single whitespace to separate inline text words.
2010-02-15 20:41:46 +01:00
Evan Prodromou
73e2264c6a
test parsing a default atom feed for activities
2010-02-14 13:19:32 -05:00
Evan Prodromou
f78cf31303
update activity and salmon for previous commit
2010-02-14 12:12:47 -05:00
Evan Prodromou
cea7d8018a
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-14 12:09:07 -05:00
Evan Prodromou
62f5c04ad2
More complete activity parsing
...
Began the process of actually digging up activity information
from an Atom entry. Added a test script to make sure parsing
is working right.
2010-02-14 12:08:09 -05:00
Sarven Capadisli
171bf3093a
Dialogbox for OStatus remote subscription
2010-02-13 20:28:05 +01:00
Sarven Capadisli
1cb94e0be6
Added dialogbox styles for OStatus subscribe form
2010-02-13 19:07:21 +01:00
Sarven Capadisli
4d050f96f3
Added XHR channel for OStatus Subscribe button
2010-02-13 18:49:14 +01:00
Sarven Capadisli
f30af7047b
Updated feed subscription form markup
2010-02-13 18:46:10 +01:00
Sarven Capadisli
24394269fa
Updated OStatus form markup
2010-02-13 18:44:41 +01:00
Sarven Capadisli
f6e766d5ac
Using the new remote subscription event and updated subscribe label
2010-02-13 18:42:00 +01:00
Zach Copley
f3a82e787c
Add OStatus PuSH hub and Salmon links back into user and group feeds
2010-02-12 19:02:27 -08:00
Brion Vibber
122c8677b7
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-12 11:18:35 -08:00
Brion Vibber
b39047d95b
OStatus: prep work for sending notifications on sub/unsub/join/leave/favorite/unfavorite via Salmon; needs to be completed and hooked up once feed gen is fixed.
2010-02-12 18:54:48 +00:00
Evan Prodromou
320532560f
flesh out salmon endpoint
2010-02-12 00:43:16 -05:00
Evan Prodromou
5f94efc454
stub for activities
2010-02-12 00:42:42 -05:00
Brion Vibber
bc46621af2
OStatus sub setup code cleanup and partial group fixes (needs more work after the Atom updates are done)
2010-02-12 01:11:46 +00:00
Brion Vibber
8e6b52e899
OStatus: renamed feedinfo table to ostatus_profile -- will cover remote ostatus people and groups whether a subscription's active or not (maintains identity over unsub/resub, and between subscribers and subscribees)
2010-02-12 00:22:16 +00:00
Brion Vibber
e08657d56c
OStatus: correct parsing of georss:point for max interop (commas allowed, whitespace not strictly defined)
2010-02-11 22:42:36 +00:00
Brion Vibber
1773d12a24
OStatus: save Salmon postback URI in feed subscription info, if provided. Will need it for sub/unsub postbacks and other notifications.
2010-02-11 20:12:48 +00:00
Brion Vibber
21bfbc43ad
OStatus: fix salmon link on Atom feeds; add a url spec for group feeds as well (endpoint needs impl)
2010-02-11 20:02:17 +00:00
Brion Vibber
20714d1f35
OStatus fix: include feed profile at notice text processing time, fixes replies
2010-02-11 19:44:03 +00:00
Brion Vibber
71151b2583
OStatus: garbage collect unused PuSH subscriptions when the last local subscriber unsubs
2010-02-11 00:09:20 +00:00
Brion Vibber
4ae760cb62
OStatus PuSH fixes:
...
* HMAC now calculated correctly - confirmed interop with Google's public hub
* Can optionally use an external PuSH hub, set URL in $config['ostatus']['hub']
(may have issues in replication environment, and will ping the hub for every
update rather than just those with subscribers) Internal hub will still function
when this is set, but won't be advertised. Warning: setting this, then turning
it off later will break subscriptions as that hub will no longer receive pings.
2010-02-10 22:58:39 +00:00
Brion Vibber
162868afdb
OStatus update: now using standard save/delivery for incoming ostatus messages -- they get reflected to realtime and everything! woooo
...
Group delivery may still need some munging
2010-02-10 21:18:53 +00:00
Brion Vibber
7752612ef6
fix hubdistrib
2010-02-10 20:47:42 +00:00
Brion Vibber
045797331c
fix up hub queueing to work w/ stomp queues
2010-02-10 12:27:41 -08:00
Brion Vibber
f37063cd63
Filename case fix
2010-02-10 10:18:47 -08:00
Sarven Capadisli
3d0bc1a3dd
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-10 11:09:03 +00:00
Sarven Capadisli
f3c2dfacf4
Fix to Realtime's repeat notice form legend and notice id
2010-02-10 10:48:55 +00:00
Sarven Capadisli
6b10c269b5
Fix to Realtime's repeat notice form legend and notice id
2010-02-10 10:47:46 +00:00
James Walker
f4ebac5036
removing the webfinger hack for Notice::asAtomEntry since salmon can use a profile URL
2010-02-09 21:50:51 -05:00
James Walker
46f90f7b08
moving salmon endpoint under 'main/'
2010-02-09 21:43:37 -05:00
Brion Vibber
8449256817
OStatus partial support for group subscriptions:
...
* detection of group feeds is currently a nasty hack based on presence of '/groups/' in URL -- should use some property on the feed?
* listing for the remote group is kinda cruddy; needs to be named more cleanly
* still need to establish per-author profiles (easier once we have the updated Atom code in)
* group delivery probably not right yet
* saving of group messages still triggering some weird behavior
Added support for since_id and max_id on group timeline feeds as a free extra. Enjoy!
2010-02-09 18:32:52 -08:00
James Walker
c2475f8853
in progress Salmon responses
2010-02-09 15:37:37 -05:00
James Walker
841981a381
discovery piece - hand merged :P
2010-02-09 01:37:45 -05:00
Brion Vibber
b2e8d8407c
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-08 15:48:52 -08:00
Brion Vibber
b9b0f0410a
Pull GeoRSS locations over OStatus feeds
2010-02-08 15:46:38 -08:00
Brion Vibber
384387c9b0
OStatus cleanup...
...
* Treat linkless feed posts as status updates; drop the "New post:" prefix and quotes on them.
* Use stable user IDs for atom/rss2 feed links instead of unstable nicknames
* Pull Atom feed preferentially when subscribing -- can now put the remote user's profile page straight into the feed subscription form and get to the right place.
* Clean up naming for push endpoints
2010-02-08 14:58:12 -08:00
Zach Copley
c83d0b5e98
Delete old Twitter user record when user changes screen name instead of updating. Simpler.
2010-02-08 12:16:55 -08:00
Zach Copley
21c0e75a2e
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
2010-02-08 12:16:43 -08:00
Brion Vibber
dc09453a77
First steps on converting FeedSub into the pub/sub basis for OStatus communications:
...
* renamed FeedSub plugin to OStatus
* now setting avatar on subscriptions
* general fixes for subscription
* integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly
* set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though)
* a few bits of code documentation
* HMAC support for verified distributions (safest if sub setup is on HTTPS)
And a couple core changes:
* minimizing HTML output for exceptions in API requests to aid in debugging
* fix for rel=self link in apitimelineuser when id given
This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions.
Needs some further cleanup to treat posts as status updates instead of link references.
2010-02-08 11:15:29 -08:00
Evan Prodromou
b0a3105638
Blacklist admin panel
2010-02-06 17:08:58 +01:00
Evan Prodromou
8f3c0efe0c
BlacklistPlugin accepts config values for patterns
2010-02-06 15:54:24 +01:00
Evan Prodromou
ceb0236dfb
update copyright date for Blacklist
2010-02-06 15:35:05 +01:00
Zach Copley
fc226a6ad5
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-06 06:48:41 +00:00
Zach Copley
70abea3ac4
Delete old Twitter user record when user changes screen name instead of updating. Simpler.
2010-02-06 06:48:19 +00:00
Zach Copley
558934d1dd
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
2010-02-06 06:48:07 +00:00
Zach Copley
cfe4e460ca
Delete old Twitter user record when user changes screen name instead of updating. Simpler.
2010-02-06 06:46:00 +00:00
Zach Copley
a5f03484da
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
2010-02-05 21:39:29 -08:00
Brion Vibber
875e1a70ce
Don't spew warnings on usage of MEMCACHE_COMPRESSED constant when memcache PHP extension is not present.
...
Switched to a locally-defined Cache::COMPRESSED, translating that to MEMCACHE_COMPRESSED in the plugin.
2010-02-05 09:47:56 -08:00
Zach Copley
af9f23c2d9
- Fix cache handling in TwitterStatusFetcher
...
- Other stability fixes
2010-02-05 03:18:45 +00:00
Sarven Capadisli
5bdc6fa5d4
Moved hardcoded identica theme out of MobileProfile. In this case, it
...
will use whichever theme is loaded as its base and then add its own
mobile styles. Of course, if a theme comes with its own mobile styles,
it will use that instead as an addition to its own base.
2010-02-04 19:42:33 +00:00
Sarven Capadisli
e891075494
Moved hardcoded identica theme out of MobileProfile. In this case, it
...
will use whichever theme is loaded as its base and then add its own
mobile styles. Of course, if a theme comes with its own mobile styles,
it will use that instead as an addition to its own base.
2010-02-04 19:39:46 +00:00
Sarven Capadisli
7ebd13fa69
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-04 16:56:34 +00:00
Zach Copley
feaf938ffd
Make Twitter bridge truncate and add a link back to the original notice when notice content is > 140c
2010-02-04 03:17:48 +00:00
Zach Copley
9ca4fd69b3
- Fix cache handling in TwitterStatusFetcher
...
- Other stability fixes
2010-02-04 01:59:28 +00:00
Zach Copley
72f72d17db
- Fix cache handling in TwitterStatusFetcher
...
- Other stability fixes
2010-02-04 01:53:08 +00:00
Craig Andrews
057ec1fcea
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
EVENTS.txt
lib/imqueuehandler.php
lib/jabber.php
lib/util.php
plugins/Xmpp/Sharing_XMPP.php
2010-02-02 17:00:10 -05:00
Brion Vibber
f4c81fa1e1
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-02 09:57:50 -08:00
Sarven Capadisli
245610d2e1
Removed entity flag stylesheet and icons from plugin to core.
2010-02-02 16:27:58 +01:00
Sarven Capadisli
65c5d7813b
Added icon to Clear label for UserFlag plugin
2010-02-02 16:06:22 +01:00
Brion Vibber
c14ac57b19
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-01 10:30:45 -08:00
Sarven Capadisli
0c838f82b0
Added missing concat of </li> in Realtime response
2010-01-31 23:57:35 +01:00
Sarven Capadisli
9f36c10001
Updated XHR binded events to work better in jQuery 1.4.1. Using
...
.live() for event delegation instead of jQuery.data() and checking to
see if an element was previously binded.
2010-01-31 22:37:22 +00:00
Evan Prodromou
779204b194
Merge branch 'testing' into 0.9.x
...
Conflicts:
actions/apioauthauthorize.php
2010-01-31 15:27:58 -05:00
Evan Prodromou
ebf4e497f6
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-01-31 15:20:57 -05:00
Sarven Capadisli
339eb1adad
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-31 19:25:49 +00:00
Evan Prodromou
a1c9874a61
better handling of null responses from geonames.org
2010-01-30 12:40:11 -05:00
Craig Andrews
61d4709eb8
Pass username and nickname to autoregister so auth plugins can set the nickname correct when creating a new user.
...
Continues fixing what Eric Helgeson pointed out in 01eb4e8f00
2010-01-29 20:43:16 -05:00
Evan Prodromou
8318f195a2
plugin to limit number of registered users
2010-01-29 18:29:51 -05:00
Sarven Capadisli
edf99dc45b
Adds notice author's name to @title in Realtime response
2010-01-29 15:44:59 +00:00
Sarven Capadisli
b68a21d4f7
Adds notice author's name to @title in Realtime response
2010-01-29 15:43:37 +00:00
Craig Andrews
d14651706c
Merge branch '0.9.x' into 1.0.x
2010-01-28 16:13:06 -05:00
Zach Copley
558bf0f489
'Sign in with Twitter' button img
2010-01-28 18:15:45 +00:00
Zach Copley
664a82e836
'Sign in with Twitter' button img
2010-01-28 18:11:44 +00:00
Zach Copley
b6dea910fc
Move faceboookapp.js to the Facebook plugin
2010-01-28 04:50:54 +00:00
Zach Copley
794fe16d69
Merge branch 'facebook-js-fix' into testing
2010-01-28 04:47:21 +00:00
Zach Copley
c2c262e4b4
Move faceboookapp.js to the Facebook plugin
2010-01-28 04:46:10 +00:00
Brion Vibber
f026ecec32
fix for fix for bad realtime JS load
2010-01-27 19:50:52 -08:00
Brion Vibber
5c0560a7fc
fix for fix for bad realtime JS load
2010-01-27 19:50:08 -08:00
Brion Vibber
84e7c7783c
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-01-27 19:49:26 -08:00
Craig Andrews
914bc9f9c5
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/queuemanager.php
2010-01-27 22:07:04 -05:00
Evan Prodromou
dd413ff4fa
move script into OpenXPlugin::showAd() so it works
2010-01-27 18:44:46 -05:00
Evan Prodromou
97a1ef14d2
using an action for output in OpenX plugin
2010-01-27 18:39:55 -05:00
Evan Prodromou
0373ab6fa4
Plugin to enable OpenX ads
2010-01-27 18:35:02 -05:00
Evan Prodromou
2aba2eeeaf
width and height should be integers in AdsensePlugin
2010-01-27 17:55:33 -05:00
Evan Prodromou
00d9b215f4
Plugin to support Google Adsense
...
A plugin to easily add Google Adsense blocks to a StatusNet site.
2010-01-27 17:29:36 -05:00
Zach Copley
78079f34e2
Merge branch 'testing' into -1.9.x
...
* testing: (130 commits)
HTTP auth provided is evaluated even if it's not required
Rename rc3to09.sql to rc3torc4.sql to avoid confusion if we add a last-minute change after this!
Add new oauth tables and modifications to 'consumer' table for rc4
Centred leaderboard ad
camelcase the uap param names
move leaderboard to after the header
Moved rectangle ad into aside and leaderboard to the right in header.
Aligning wide skyscraper to the right instead of left
CSS ids and classes fixed in UAPPlugin
wrong height for rectangle in BlankAd
Add the moved BlankAdPlugin
make BlankAd dir and change to use a 1x1 image
move BlankAdPlugin to its own dir
Add BlankAdPlugin to test ad layout in different themes
make uapplugin an abstract class
move UAP plugin to core
Lowercased switch cases in UAP Plugin
Plugin for Universal Ad Package. Outputs four most widely used ad types.
Add persistent:true property to Stomp messages so ActiveMQ doesn't decide to discard them even though persistence is enabled on the broker. :) (Thanks Aric!)
quick fix: use common_path() on realtime update JS so it works with the new JS path code (will pull from main server for now)
...
Conflicts:
actions/apioauthaccesstoken.php
actions/apioauthauthorize.php
actions/apioauthrequesttoken.php
actions/editapplication.php
actions/newapplication.php
lib/apiauth.php
lib/queuemanager.php
lib/router.php
2010-01-27 14:27:22 -08:00
Evan Prodromou
f650b40706
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-01-27 16:37:43 -05:00
Evan Prodromou
4ad931ad38
wrong height for rectangle in BlankAd
2010-01-27 16:34:17 -05:00
Evan Prodromou
e4393ee6db
Add the moved BlankAdPlugin
2010-01-27 16:34:17 -05:00
Evan Prodromou
b2b95bd21f
make BlankAd dir and change to use a 1x1 image
2010-01-27 16:34:17 -05:00
Evan Prodromou
b412ebab11
move BlankAdPlugin to its own dir
2010-01-27 16:34:17 -05:00
Evan Prodromou
9decd9806c
Add BlankAdPlugin to test ad layout in different themes
2010-01-27 16:34:17 -05:00
Evan Prodromou
1758ed453b
move UAP plugin to core
2010-01-27 16:34:17 -05:00
Sarven Capadisli
58fde0dcb5
Lowercased switch cases in UAP Plugin
2010-01-27 16:34:17 -05:00
Sarven Capadisli
61a7a7b36b
Plugin for Universal Ad Package. Outputs four most widely used ad types.
2010-01-27 16:34:17 -05:00
Craig Andrews
e9995b0f6a
Create IM plugin, Pluginize XMPP, Create AIM plugin
2010-01-27 13:48:35 -05:00
Brion Vibber
b1402896e7
Set default 24-hour expiry on Memcached objects where not specified.
2010-01-27 09:13:21 -08:00
Brion Vibber
7aeb03f727
quick fix: use common_path() on realtime update JS so it works with the new JS path code (will pull from main server for now)
2010-01-27 08:53:55 -08:00
Evan Prodromou
c52951cef5
Optionally set a separate Javascript server and path
...
We have about 10-12 JavaScript pages per Web page. They usually
are based on the same server as the Web pages, but since they're
static files, it makes sense to offload them to a lite server that
handles static files well.
This commit lets you set a separate Javascript server and path for the
default Javascript code in StatusNet.
Squashed commit of the following:
commit 139d1622fdafe5ad00c820224416d9021efc3234
Author: Evan Prodromou <evan@status.net>
Date: Wed Jan 27 11:30:24 2010 -0500
modules that call htmloutputter::script() don't prescribe js/ path
commit c6ca3174af73efed55eaed5ff1e2a3bdc77d2d87
Author: Evan Prodromou <evan@status.net>
Date: Wed Jan 27 11:28:07 2010 -0500
configurable server and path for javascript files
2010-01-27 11:37:22 -05:00
Sarven Capadisli
7695daebb7
Updated geolocation sharing in notice form for Realtime pop
2010-01-26 19:15:33 +01:00
Sarven Capadisli
e05c325722
Updated geolocation sharing in notice form for Realtime pop
2010-01-26 19:13:05 +01:00
Zach Copley
d6a0dec765
Add Julien C to author comments
2010-01-26 00:41:49 -08:00
Zach Copley
7a0a133401
- Remove redundant function
...
- clean up log msgs
2010-01-26 00:41:49 -08:00
Zach Copley
7064d15e67
Use "Sign in with Twitter" auth pattern and official Twitter button for Twitter-based login.
...
See: http://apiwiki.twitter.com/Sign-in-with-Twitter
2010-01-26 00:41:49 -08:00
Zach Copley
e5bd707055
Ask the user to set a password before disconnecting from Twitter
2010-01-26 00:41:49 -08:00
Zach Copley
d429710fe1
- Twitter username wasn't getting stored in Foreign_user when linking Twitter account (fixed)
...
- Updates to comments
2010-01-26 00:41:49 -08:00
Julien C
3fc3a2b326
Allow logging in using Twitter
...
Signed-off-by: Julien C <chaumond@gmail.com>
2010-01-26 00:41:49 -08:00
Zach Copley
02957d2854
Add Julien C to author comments
2010-01-26 00:19:46 -08:00
Zach Copley
f7450d2ca8
- Remove redundant function
...
- clean up log msgs
2010-01-26 00:19:20 -08:00
Zach Copley
ce44008d13
Use "Sign in with Twitter" auth pattern and official Twitter button for Twitter-based login.
...
See: http://apiwiki.twitter.com/Sign-in-with-Twitter
2010-01-26 00:19:09 -08:00
Zach Copley
1c1abfc284
Ask the user to set a password before disconnecting from Twitter
2010-01-26 00:18:55 -08:00
Zach Copley
2d97e15cd6
- Twitter username wasn't getting stored in Foreign_user when linking Twitter account (fixed)
...
- Updates to comments
2010-01-26 00:18:42 -08:00
Julien C
7fc5588c5d
Allow logging in using Twitter
...
Signed-off-by: Julien C <chaumond@gmail.com>
2010-01-26 00:18:11 -08:00
Evan Prodromou
663e4e02a1
Merge branch 'master' into testing
...
Conflicts:
lib/queuemanager.php
2010-01-25 18:13:09 -05:00
Evan Prodromou
b6aa1511eb
Merge branch 'master' into 0.9.x
2010-01-25 18:10:59 -05:00
Evan Prodromou
e26a843caf
Offload inbox updates to a queue handler to speed up posting online
...
Moved much of the writing that happens when posting a notice to a new
queuehandler, distribqueuehandler. This updates tags, groups, replies
and inboxes at queue time (or at Web time, if queues are disabled).
To make this work well, I had to break up the monolithic
Notice::blowCaches() and make cache blowing happen closer to where
data is updated.
Squashed commit of the following:
commit 5257626c62750ac4ac1db0ce2b71410c5711cfa3
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 14:56:41 2010 -0500
slightly better handling of blowing tag memory cache
commit 8a22a3cdf6ec28685da129a0313e7b2a0837c9ef
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 01:42:56 2010 -0500
change 'distribute' to 'distrib' so not too long for dbqueue
commit 7a063315b0f7fad27cb6fbd2bdd74e253af83e4f
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 01:39:15 2010 -0500
change handle_notice() to handle() in distributqueuehandler
commit 1a39ccd28b9994137d7bfd21bb4f230546938e77
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 16:05:25 2010 -0500
error with queuemanager
commit e6b3bb93f305cfd2de71a6340b8aa6fb890049b7
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 01:11:34 2010 -0500
Blow memcache at different point rather than one big function for Notice class
commit 94d557cdc016187d1d0647ae1794cd94d6fb8ac8
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 00:48:44 2010 -0500
Blow memcache at different point rather than one big function for Notice class
commit 1c781dd08c88a35dafc5c01230b4872fd6b95182
Author: Evan Prodromou <evan@status.net>
Date: Wed Jan 20 08:54:18 2010 -0500
move broadcasting and distributing to new queuehandler
commit da3e46d26b84e4f028f34a13fd2ee373e4c1b954
Author: Evan Prodromou <evan@status.net>
Date: Wed Jan 20 08:53:12 2010 -0500
Move distribution of notices to new distribute queue handler
2010-01-25 18:08:21 -05:00
Brion Vibber
c10d5320dd
Disable PubSubHubBub hub pings automatically on private site (hub wouldn't be able to read feeds anyway)
...
[Might be good to think of a core way to mark a plugin as disabled when it initializes.]
2010-01-25 09:07:24 -08:00
Brion Vibber
a5836d33e4
Fix for PoweredByStatusNetPlugin to be localizable (was broken for non-English word order)
...
(Note the .po files will have to be added manually for now as we haven't set TranslateWiki up for plugins I think)
2010-01-25 13:15:54 +01:00
Evan Prodromou
4f213f985f
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
lib/stompqueuemanager.php
2010-01-24 16:12:40 -05:00
Evan Prodromou
54ebb0a2b9
Merge branch 'master' into 0.9.x
...
Conflicts:
lib/stompqueuemanager.php
2010-01-24 15:59:57 -05:00
Evan Prodromou
3f5ffe5c5b
set correct key types for User_flag_profile
2010-01-24 15:57:56 -05:00
Evan Prodromou
b91a035025
add function doc comment to User_flag_profile::create()
2010-01-24 11:20:08 -05:00
Sarven Capadisli
071f455b87
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-24 15:35:36 +01:00
Sarven Capadisli
dd513b3e53
Added version info for MobileProfile plugin
2010-01-24 15:35:22 +01:00
Sarven Capadisli
38fe4ad958
Added version info for MobileProfile plugin
2010-01-24 15:34:40 +01:00
Sarven Capadisli
51775e38ba
Better alignment for notice options in MobileProfile
2010-01-24 00:23:14 +01:00
Sarven Capadisli
e3ee5663ab
Updated notice item view where a) notice text no longer wraps around
...
(under author's photo) b) supplemental notice content and options will
start right under notice text.
2010-01-24 00:23:01 +01:00
Sarven Capadisli
2742494fe8
Updated UI for notice aside content and notice options in MobileProfile
2010-01-24 00:20:36 +01:00
Sarven Capadisli
37e642bece
Inline script for maxlength is deprecated
2010-01-24 00:20:11 +01:00
Craig Andrews
8c54151dbd
Use StartQueueDaemonIoManagers instead of removed StartIoManagerClasses event
2010-01-23 13:08:59 -05:00
Brion Vibber
a4d733b68d
Fix for PoweredByStatusNetPlugin to be localizable (was broken for non-English word order)
...
(Note the .po files will have to be added manually for now as we haven't set TranslateWiki up for plugins I think)
2010-01-22 15:04:53 -08:00
Brion Vibber
b157fcbba3
Merge branch 'testing' into 0.9.x
2010-01-22 14:07:40 -08:00
Brion Vibber
71b3b9ee2b
Consolidate PuSH publishing ping into a single POST for all feeds, and fix server response (if any on failure) to go to log instead of stdout.
2010-01-22 14:03:24 -08:00
Brion Vibber
c7507e7e9d
XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
...
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.
This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues
Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
This is based on Craig Andrews' work branch to generalize queues to take any
object, but conservatively leaving out the serialization for now.
Table updater (preserves any existing queued items) in db/rc3to09.sql
Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
each run through the event loop to watch for memory leaks
To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
to queues.
* Find a way to improve interactive performance of the database-backed queue
handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
grouping used to split out the XMPP output queue is a bit awkward.
Conflicts:
scripts/xmppdaemon.php
2010-01-22 12:52:36 -08:00
Evan Prodromou
c8bc598cfd
Merge branch 'testing' into 0.9.x
2010-01-22 14:18:43 -05:00
Evan Prodromou
e666433eb4
Merge branch 'master' into 0.9.x
2010-01-22 14:18:40 -05:00
Brion Vibber
0e852def6a
XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
...
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.
This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues
Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
This is based on Craig Andrews' work branch to generalize queues to take any
object, but conservatively leaving out the serialization for now.
Table updater (preserves any existing queued items) in db/rc3to09.sql
Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
each run through the event loop to watch for memory leaks
To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
to queues.
* Find a way to improve interactive performance of the database-backed queue
handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
grouping used to split out the XMPP output queue is a bit awkward.
2010-01-21 22:40:35 -08:00
Evan Prodromou
10f21e1f41
add class and function doc comments to PuSH plugin
2010-01-20 16:37:41 -05:00
Evan Prodromou
0167ff6d27
whitespace changes to make phpcs happy for PuSH plugin
2010-01-20 16:29:11 -05:00
Evan Prodromou
1d37a6c428
correctly get replies for a notice in PuSH plugin
2010-01-20 16:16:22 -05:00
Evan Prodromou
365b0b1e14
use standard plugin configuration for PubSubHubBub
2010-01-20 16:13:52 -05:00
Evan Prodromou
dbccebb14b
update friends, not user, timeline for recipients of notice in PuSH plugin
2010-01-20 15:43:24 -05:00
Sarven Capadisli
6815ddafe0
Better alignment for notice options in MobileProfile
2010-01-20 18:50:48 +01:00
Sarven Capadisli
b87c80e0a9
Updated notice item view where a) notice text no longer wraps around
...
(under author's photo) b) supplemental notice content and options will
start right under notice text.
2010-01-20 18:32:24 +01:00
Eric Helgeson
0ddfcc5521
Added Plugin Version info to recaptcha plugin
2010-01-18 18:33:09 -05:00
Brion Vibber
ae9f2bf187
add a quickie plugins/ dir readme mentioning how to add plugins, plus ref to wiki pages
2010-01-18 09:37:42 -08:00
Sarven Capadisli
3f589da243
Updated UI for notice aside content and notice options in MobileProfile
2010-01-17 19:45:35 +00:00
Sarven Capadisli
07de97a103
Inline script for maxlength is deprecated
2010-01-17 14:04:47 +00:00
Brion Vibber
9dc9c404cf
Merge branch 'master' into 0.9.x
2010-01-16 13:40:49 -08:00
Brion Vibber
775c63b654
Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring. Keeping fix for the notices spewing into the log.
2010-01-16 13:39:05 -08:00
Craig Andrews
a27aef9206
Add nickname suggestion capability for use during autoregistration.
2010-01-14 19:52:11 -05:00
Brion Vibber
5783874cc2
Clean up host/port separation in memcached plugin -- use : not ; as separator and clean up some warnings
2010-01-14 14:14:32 -08:00
Brion Vibber
532a174fc0
Clean up host/port separation in memcached plugin -- use : not ; as separator and clean up some warnings
2010-01-14 14:14:22 -08:00
Brion Vibber
b25deaacea
queue daemon fixes: path fix for xmpp, suppress warning in memcached init
2010-01-13 21:24:36 -08:00
Brion Vibber
cb962ed475
queue daemon fixes: path fix for xmpp, suppress warning in memcached init
2010-01-13 21:24:02 -08:00
Craig Andrews
681065d734
Made the IMAP plugin work in the style of the new queue/iomanagers
2010-01-13 15:35:53 -05:00
Zach Copley
c3188fd1fe
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-13 19:17:49 +00:00
Zach Copley
43170b3d18
When Twitter bridge encounters a 403 (rate limit) err, drop the notice
...
instead of requeuing.
2010-01-13 19:17:40 +00:00
Evan Prodromou
f2e9469e16
throttle subscriptions
2010-01-13 03:11:31 -08:00
Evan Prodromou
436b8c845e
Merge branch '0.9.x' into inblob
2010-01-12 23:53:52 -08:00
Evan Prodromou
e34ece8b06
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-12 23:25:25 -08:00
Brion Vibber
ec145b73fc
Major refactoring of queue handlers to support running multiple sites in one daemon.
...
Key changes:
* Initialization code moved from common.php to StatusNet class;
can now switch configurations during runtime.
* As a consequence, configuration files must now be idempotent...
Be careful with constant, function or class definitions.
* Control structure for daemons/QueueManager/QueueHandler has been refactored;
the run loop is now managed by IoMaster run via scripts/queuedaemon.php
IoManager subclasses are woken to handle socket input or polling, and may
cover multiple sites.
* Plugins can implement notice queue handlers more easily by registering a
QueueHandler class; no more need to add a daemon.
The new QueueDaemon runs from scripts/queuedaemon.php:
* This replaces most of the old *handler.php scripts; they've been refactored
to the bare handler classes.
* Spawns multiple child processes to spread load; defaults to CPU count on
Linux and Mac OS X systems, or override with --threads=N
* When multithreaded, child processes are automatically respawned on failure.
* Threads gracefully shut down and restart when passing a soft memory limit
(defaults to 90% of memory_limit), limiting damage from memory leaks.
* Support for UDP-based monitoring: http://www.gitorious.org/snqmon
Rough control flow diagram:
QueueDaemon -> IoMaster -> IoManager
QueueManager [listen or poll] -> QueueHandler
XmppManager [ping & keepalive]
XmppConfirmManager [poll updates]
Todo:
* Respawning features not currently available running single-threaded.
* When running single-site, configuration changes aren't picked up.
* New sites or config changes affecting queue subscriptions are not yet
handled without a daemon restart.
* SNMP monitoring output to integrate with general tools (nagios, ganglia)
* Convert XMPP confirmation message sends to use stomp queue instead of polling
* Convert xmppdaemon.php to IoManager?
* Convert Twitter status, friends import polling daemons to IoManager
* Clean up some error reporting and failure modes
* May need to adjust queue priorities for best perf in backlog/flood cases
Detailed code history available in my daemon-work branch:
http://www.gitorious.org/~brion/statusnet/brion-fixes/commits/daemon-work
2010-01-12 20:45:09 -08:00
Brion Vibber
9c34d5c107
Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :)
2010-01-12 12:12:31 -08:00
Evan Prodromou
ecb3abf84c
Merge branch '0.9.x' into inblob
2010-01-11 16:28:27 -08:00
Evan Prodromou
7e5c15fa80
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-11 16:23:48 -08:00
Evan Prodromou
04c76fc4e5
safer storage for diskcacheplugin
2010-01-11 16:23:34 -08:00
Brion Vibber
116c5f6839
dos -> unix line endings on CasAuthentication's CAS library
2010-01-11 15:42:17 -08:00
Evan Prodromou
bd6571c2e1
Merge branch 'diskcache' into 0.9.x
2010-01-11 15:34:27 -08:00
Sarven Capadisli
aaea2b1a96
Apparently, I can't spell my family name.
2010-01-11 13:02:04 +01:00
Evan Prodromou
8809e577b2
Merge branch 'sessionidparam' into 0.9.x
...
Conflicts:
lib/command.php
2010-01-11 00:45:26 -08:00
Evan Prodromou
92deb35bc4
inject session before redirect for openid finish login
2010-01-11 08:40:41 +00:00
Craig Andrews
a07d8dab25
i18n in the imap plugin
2010-01-09 19:04:53 -05:00
Craig Andrews
c758b1b1d4
Add version information to a bunch of plugins
2010-01-09 19:04:53 -05:00
Evan Prodromou
2db840b2f5
use Inbox in twitterstatusfetcher
2010-01-09 14:02:01 -08:00
Evan Prodromou
d902de139c
change PuSH plugin to use whoGets()
2010-01-09 13:59:39 -08:00
Evan Prodromou
9cfea6d051
use whoGets() for realtime plugin
2010-01-09 13:56:54 -08:00
Craig Andrews
055f3fdddb
Add an IMAP daemon so StatusNet can process incoming user posts via catch-all mailbox (in addition to the pre-existing script alias method)
2010-01-08 18:52:43 -05:00
Evan Prodromou
e22af049a8
persistent connection flag, default false on cli
2010-01-08 13:21:29 -08:00
Sarven Capadisli
647bbb916c
Updated RealtimePlugin to use core json2.js
2010-01-08 13:36:31 +00:00
Sarven Capadisli
ce761c7142
Updated plugin info for PoweredByStatusNet
2010-01-08 11:42:03 +00:00
Evan Prodromou
4f62d685d0
Mapstraction PluginVersion
2010-01-08 00:38:20 -08:00
Evan Prodromou
c57fe7fbf5
PluginVersion for WikiHashtags
2010-01-08 00:29:09 -08:00
Evan Prodromou
87043797bf
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-08 00:21:58 -08:00
Evan Prodromou
054aaa40bf
add versions for url-shortener plugins
2010-01-08 00:20:38 -08:00
Zach Copley
20af83d316
Add version info for Facebook, TwitterBridge and RSSCloud plugins
2010-01-08 00:09:23 -08:00
Evan Prodromou
11b19788f5
add version information to GeoURL
2010-01-07 17:58:48 -08:00
Evan Prodromou
fe01a7d183
add version information to Linkback
2010-01-07 17:58:38 -08:00
Evan Prodromou
87c181b4e3
add version information to GoogleAnalytics
2010-01-07 17:51:57 -08:00
Evan Prodromou
ca3b2d614a
add version information to MemcachePlugin
2010-01-07 17:49:39 -08:00
Evan Prodromou
6395ac71b8
add version information to PiwikAnalyticsPlugin
2010-01-07 17:47:23 -08:00
Evan Prodromou
afaefa6942
add version info to the Template plugin
2010-01-07 17:43:56 -08:00
Evan Prodromou
0587dcc045
add version info to OpenID plugin
2010-01-07 17:41:55 -08:00
Evan Prodromou
1c824a52ec
Add version info to the CacheLog plugin
2010-01-07 17:39:15 -08:00
Evan Prodromou
42834944e0
add version info to SamplePlugin
2010-01-07 17:37:44 -08:00
Evan Prodromou
ff930d2555
add version information to Geonames plugin
2010-01-07 17:27:01 -08:00
Evan Prodromou
a55939f3b1
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-06 23:23:30 -08:00
Evan Prodromou
e1c7851a06
pass through keys() as keyTypes() for UserFlag
2010-01-06 23:22:49 -08:00
Brion Vibber
4e2acd153b
...and drop the unnecessary &reference from child class pkeyGet() overrides.
2010-01-06 14:28:40 -08:00
Craig Andrews
20144285ca
The structure return by parse_url is an associative array, not an object.
2010-01-06 17:13:09 -05:00
Craig Andrews
208bab32b7
Remove erroneous call to parent::onInitializePlugin()
2010-01-06 16:48:52 -05:00
Brion Vibber
b93244395f
Fix for broken profile flag admin UI: delete stray flag entries when users are deleted so broken entries don't litter the lookups.
...
* added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion
* UserFlagPlugin: deleting flags when target profile is deleted
* UserFlagPlugin: deleting flags when flagging user is deleted
* UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name.
Note that any already-existing bogus entries need to be removed from the database:
select * from user_flag_profile where (select id from profile where id=profile_id) is null;
select * from user_flag_profile where (select id from user where id=user_id) is null;
2010-01-06 11:10:33 -08:00
Sarven Capadisli
d7e2a29498
Removed unnecessary internal style
2010-01-06 11:31:06 +01:00
Zach Copley
c95114ea02
Some better log msgs
2010-01-06 07:44:34 +00:00
Zach Copley
fd33865258
Fix subscription path in link element
2010-01-05 23:21:57 -08:00
Zach Copley
3e6b80d3e9
Some phpcs cleanup
2010-01-05 23:21:57 -08:00
Zach Copley
655dbcedb3
Comment out the LoggingAggregator business
2010-01-05 23:21:57 -08:00
Zach Copley
aad54af448
Reject subscription requests for handlers that don't support http-post
2010-01-05 23:21:46 -08:00
Zach Copley
48af79dbb4
Added a bunch of function commment blocks
2010-01-05 23:19:13 -08:00
Zach Copley
c571c1323f
Added intial README
2010-01-05 23:19:13 -08:00
Zach Copley
ff26b8d88b
Add an RSSCloud queue handler daemon
2010-01-05 23:19:13 -08:00
Zach Copley
d091d06115
Notifier works, and bad subscriptions are deleted properly now.
2010-01-05 23:19:13 -08:00
Zach Copley
61804bb7bb
Plugin now checks notify handlers before registering subscriptions
2010-01-05 23:19:13 -08:00
Zach Copley
4e07d9eeec
Better .ini info for RSSCloud subscription
2010-01-05 23:18:58 -08:00
Zach Copley
6b28fbe7b6
Make dummy aggregator handle RSSCloud challenge/response with domain parameter
2010-01-05 23:17:35 -08:00
Zach Copley
7638e2713d
Set modified column correctly.
2010-01-05 23:17:35 -08:00
Zach Copley
3209544b30
Fixed DB_DataObject to return the right keys info for a compound
...
key & fix ini output
2010-01-05 23:16:58 -08:00
Zach Copley
8980bebcb3
Add a table and DB_DataObject class for storing cloud subscriptions
2010-01-05 22:59:42 -08:00
Zach Copley
aa9f81193e
Queue notices for rssCloud
2010-01-05 22:59:42 -08:00
Zach Copley
46ac99cf4d
Only add rssCloud link to user timeline
2010-01-05 22:59:42 -08:00
Zach Copley
51ac7439e1
/rsscloud/request_notify should work now
2010-01-05 22:59:42 -08:00
Zach Copley
391003c3c6
Some foundational work. Not much to see here. Move along.
2010-01-05 22:59:42 -08:00
Zach Copley
4e033138b3
Test action to simulate an aggregator. Useful for checking that the cloud hub is sending notifications.
2010-01-05 22:59:42 -08:00
Zach Copley
07f71a66f5
Extremely nascent RSSCloud plugin
2010-01-05 22:59:42 -08:00
Craig Andrews
0f6ccee6d3
remove invalid calls to AuthenticationPlugin::onAutoload
2010-01-06 00:22:19 -05:00
Craig Andrews
3b5299b5ca
Use plugin configuration instead of common_config()
2010-01-06 00:20:15 -05:00
Craig Andrews
76cc791642
Use common_{log,debug} instead of error_log for logging
2010-01-06 00:09:07 -05:00
Craig Andrews
fffd66bf83
Add shiny's mollom plugin
2010-01-06 00:06:43 -05:00
Craig Andrews
9e2e0605ed
Move Authorization and Authentication plugin structures into core, instead of as plugins.
...
This move makes sense as you can addPlugin('Authentication') for example - these are abstract classes designed to be implemented, not used directly.
2010-01-05 13:56:22 -05:00
Craig Andrews
f3a76bbcb7
Fix auth plugin autoregistration issue.
2010-01-05 13:42:15 -05:00
Evan Prodromou
f13cad656e
remove logging stuff from DiskCache
2010-01-04 22:48:48 -10:00
Evan Prodromou
cde1f99838
Disk cache plugin
2010-01-04 15:16:28 -10:00
Evan Prodromou
6add2693b0
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-01-04 10:55:21 -10:00
Evan Prodromou
96480aa6c1
XCachePlugin returns false value for cache miss
2010-01-04 10:12:19 -10:00
Evan Prodromou
928b5f8f2b
Differentiate between empty values and cache misses in CacheLogPlugin
2010-01-04 09:57:48 -10:00
Craig Andrews
c0e4d7bfa2
Add 'takeOverLogin' parameter for a real SSO feel
2010-01-04 14:43:31 -05:00
Evan Prodromou
bcddcb38ce
make compression threshold and min savings config attrs for MemcachePlugin
2010-01-04 09:09:59 -10:00
Craig Andrews
e440b69e1a
Allow an authentication plugin with the same provider_name other than the one that actually checked the password to autoregister a user
...
Allows for SSO-type plugins that don't have any information about the user other than their username to do autoregistration
2010-01-04 13:35:11 -05:00
Brion Vibber
783a2e249b
Fix for auto_increment parameter in auto-created tables via checkschema.
...
Update FeedSub plugin for non-Plugin_DataObject setup and working checkschema updates.
2010-01-04 10:30:58 -08:00
Craig Andrews
7a2d72fe28
Enable memcache automatic compression, starting at 20k and only if compression gain is greater than 20%.
...
Allows storage of larger objects (over 1mb in size uncompressed), such as huge LDAP schemas.
Should also improve cache efficiency (allows more stuff to be stored in same memory) and reduce network latency (less data transfer)
(redo commit 1e9c03e199
which was apparently lost during pluginization)
2010-01-04 12:49:25 -05:00
Evan Prodromou
1053abd2e8
Debug utility to log cache access
2010-01-03 11:28:00 -10:00
Evan Prodromou
07236058f4
don't try to set an expiry for XCache
2010-01-03 11:27:36 -10:00
Evan Prodromou
eebc5d0d59
add keyTypes() for User_greeting_count
2010-01-03 11:27:09 -10:00
Evan Prodromou
e940790241
update SamplePlugin.php also
2010-01-03 11:18:26 -10:00
Evan Prodromou
1348c6e819
Expand SamplePlugin to show other best practices
...
I modified the SamplePlugin to show how to do some real processing,
adding a data class and an action class and modifying the main
menu to link to the new action. I added documentation comments to
all the methods and made sure the modules were PHPCS-clean.
2010-01-03 11:02:36 -10:00
Evan Prodromou
249b2632f2
First version of cache plugin for XCache variable cache
2010-01-03 06:38:15 -10:00
Evan Prodromou
d7436c10d0
Add a caching plugin for APC variable cache
2010-01-02 21:34:15 -10:00
Evan Prodromou
cc5534d180
First version of Memcache plugin
2010-01-02 21:16:59 -10:00
Zach Copley
e6c8f6a8f8
Removed crazy redundant broadcasting of notices by the FB app
2009-12-31 22:53:46 +00:00
Zach Copley
962eed904c
- Use a stripped down new notice form for FB app because FB canvas apps
...
can't support image upload via multipart/form-data (and location sharing
is iffy).
- Deal with new error code 100 from Facebook, which seem to be for
inactive accounts.
2009-12-31 22:39:01 +00:00
Zach Copley
5621f85835
Change inline CSS stylesheet to be on a single line so it doens't blow out syntax highlighting in my editor
2009-12-31 22:39:01 +00:00
Zach Copley
450cd6774a
Update to external Facebook libs
2009-12-31 22:39:01 +00:00
Evan Prodromou
053b8c600d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-31 09:14:55 -10:00
Craig Andrews
176e0fdab7
Add missing required line so this plugin works if it's the first (or only) Authentication Plugin in use
2009-12-30 19:18:06 -05:00
Evan Prodromou
05e2b4d92d
Merge branch 'master' into 0.9.x
2009-12-29 12:09:17 -08:00
Evan Prodromou
1e3fea17af
don't add flag if it's already there at block time
2009-12-28 16:35:29 -08:00
Evan Prodromou
98a579fedf
Merge branch 'master' into 0.9.x
2009-12-28 15:49:14 -08:00
Evan Prodromou
dd0aaac70e
First version of blacklist plugin
...
First version of blacklist plugin. Replaces custom code in identi.ca's
config.php, which was getting scary and long. Also correctly handles
changed nicknames or URLs in profile settings and using 'forbidden'
URLs in notice text.
2009-12-28 12:42:22 -08:00
Evan Prodromou
d9efeb6ac3
optionally flag a profile for review when blocked
2009-12-28 11:02:44 -08:00
Evan Prodromou
6d3e6b4284
move flag creation to a method of data object
2009-12-28 10:58:49 -08:00
Evan Prodromou
a80fa17872
phpcs-clean User_flag_profile as best as possible
2009-12-28 09:15:07 -08:00
Evan Prodromou
4a5bac43c3
phpcs-clean flagprofile.php
2009-12-28 09:08:28 -08:00
Evan Prodromou
df98ddff0c
phpcs-clean clearflag.php
2009-12-28 09:06:38 -08:00
Evan Prodromou
c8fd5403e5
PHPCS-clean adminprofileflags.php
2009-12-28 08:45:21 -08:00
Evan Prodromou
ea23111a56
PHPCS-clean UserFlagPlugin
2009-12-28 08:37:30 -08:00
Evan Prodromou
85b8b35f53
clear flags and show flaggers in adminflagprofile
2009-12-28 08:19:56 -08:00
Evan Prodromou
2c2a82fda0
add stuff for clearing flags to UserFlagPlugin
2009-12-28 08:19:22 -08:00
Evan Prodromou
75fbec2fa3
Add tools to clear flags
...
Added a form to clear all flags for a profile, when showed on
adminprofileflags list. Add an action to handle the form, and a right
for the action.
2009-12-28 07:58:33 -08:00
Evan Prodromou
4b7835caa5
pagination works for flagged profiles
2009-12-27 11:47:54 -08:00
Evan Prodromou
5d6b6bfd34
admin page checks for right to review flags
2009-12-27 11:04:53 -08:00
Evan Prodromou
0bb65f8739
Merge branch 'geonamesxml' into 0.9.x
2009-12-23 15:53:58 -08:00
Evan Prodromou
3e9cc76da5
Merge branch 'master' into 0.9.x
2009-12-23 15:53:55 -08:00
Evan Prodromou
c0f444f564
make sure Geonames API queries use correct arg separator
2009-12-23 12:16:22 -08:00
Evan Prodromou
cdc5052683
Convert Geonames plugin to use XML API instead of JSON
...
The XML API for Geonames contains much more detailed error information
than the JSON one. So, I've converted this plugin to use it instead.
It seems to be the preferred format for Geonames, so biting the bullet
on this makes sense.
2009-12-23 12:09:11 -08:00
Evan Prodromou
3262930ed4
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-23 10:31:27 -08:00
Evan Prodromou
15b9f61842
Better error notification for Geonames plugin
2009-12-23 09:26:59 -08:00
Evan Prodromou
6b5a334c0e
Better error notification for Geonames plugin
2009-12-23 09:26:43 -08:00
Evan Prodromou
f6bf952980
Merge branch 'testing'
2009-12-22 16:44:19 -08:00
Craig Andrews
6549e4779a
First version of a CAS authentication plugin
2009-12-22 17:53:24 -05:00
Sarven Capadisli
83779afe41
Adjusted notice option alignment in MobileProfile
2009-12-22 00:06:59 +00:00
Sarven Capadisli
4c91f6bbfd
Moving & replacing to the end of html and source data
2009-12-21 23:19:34 +00:00
Sarven Capadisli
5472779240
Added admin navigation item to MobileProfile
2009-12-21 15:09:12 +00:00
Craig Andrews
a43c310fbc
Cache the LDAP schema in memcache (if memcache is available)
2009-12-19 15:10:57 -05:00
Eric Helgeson
4002c18065
Allow caching of ldap schema, greatly improves performance.
2009-12-18 18:27:45 -06:00
Eric Helgeson
490238faf6
search->count() doesnt seem to be cached, so we will
2009-12-18 18:27:15 -06:00
Eric Helgeson
f70c3b6ae9
Limit search to only the basedn we're looking in
2009-12-18 18:26:41 -06:00
Brion Vibber
2fb76eec62
Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path)
2009-12-18 09:38:25 -05:00
Brion Vibber
8632974131
Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path)
2009-12-18 09:36:30 -05:00
Sarven Capadisli
bf123d1461
Plugin that outputs 'powered by StatusNet' after site name
2009-12-17 15:28:50 -05:00
Evan Prodromou
f3d27cc3ae
can't repeat your own notice posted through realtime
2009-12-15 16:19:11 -05:00
Evan Prodromou
608d1b206a
Don't show repeater avatar in notice lists
2009-12-15 16:08:44 -05:00
Evan Prodromou
d6873beb9b
make realtime plugin grok repeats
2009-12-15 15:47:37 -05:00
Sarven Capadisli
80b5a7fe60
Added .form_repeat notice option to received notices in Realtime plugin
2009-12-15 19:44:20 +00:00
Zach Copley
656d29080a
Fix Twitter bridge so it responds reasonably to authorization errors.
2009-12-14 07:33:29 +00:00
Siebrand Mazeland
745e35ac1f
(Puctuation) consistency in clientError() calls.
2009-12-13 18:55:17 +01:00
Brion Vibber
2f77d47fd4
Build stub .po template for Gravatar plugin
2009-12-11 16:28:51 -08:00
Evan Prodromou
79f81ad76d
change Notice::saveNew() to use named arguments for little-used options
2009-12-11 11:29:51 -05:00
Eric Helgeson
08901c98c4
Changing avatar should broadcast the profile via OMB.
2009-12-10 21:07:47 -05:00
Evan Prodromou
c10fa99b04
remove the Repeat plugin (for now)
2009-12-10 15:16:44 -05:00
Evan Prodromou
f3628afa00
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-10 14:45:47 -05:00
Craig Andrews
14f7c784a6
Add table() and keys() overrides to User_username
2009-12-10 14:40:26 -05:00
Evan Prodromou
37b0852fdb
move forward form to plugin
2009-12-10 14:33:15 -05:00
Evan Prodromou
198e413a58
move inbox notice list to repeat plugin
2009-12-10 13:34:11 -05:00
Evan Prodromou
144faade3b
move forwarding stuff to Repeat plugin
2009-12-10 13:31:16 -05:00
Eric Helgeson
155659dd1f
Initial GravatarPlugin
2009-12-09 22:32:57 -05:00
Sarven Capadisli
83830c26e7
Added todo item to Realtime plugin
2009-12-09 11:37:53 +01:00
Sarven Capadisli
559415826a
Added a todo list for Realtime plugin
2009-12-09 11:00:30 +01:00
Brion Vibber
4b5e977a7b
New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
...
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.
As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-12-08 12:17:11 -08:00
Eric Helgeson
684e65e3de
Cleanup of recaptcha plugin remove xhtml hack
2009-12-07 14:53:17 -05:00
Brion Vibber
75b11527c7
Add a "grandfather" creation date cutoff to RequireValidatedEmail plugin; will allow us to use this for temporary emergency moderation of new registrations without affecting older accounts.
2009-12-07 11:31:04 -08:00
Brion Vibber
cba114c850
Add a "grandfather" creation date cutoff to RequireValidatedEmail plugin; will allow us to use this for temporary emergency moderation of new registrations without affecting older accounts.
2009-12-07 11:29:18 -08:00
Evan Prodromou
0c955b7c88
remove unit tests for minify
2009-12-07 12:13:42 -05:00
Sarven Capadisli
11dab47e2d
If localStorage is not supported, showPause as usual
2009-12-07 12:12:32 +00:00
Sarven Capadisli
189296c5a0
Using localStorage to keep the play/pause state of RealtimeUpdate
2009-12-07 11:44:43 +00:00
Sarven Capadisli
49005881bd
Minor fix for play/pause mouseleave
2009-12-06 22:07:49 +00:00
Sarven Capadisli
a555963f97
Preliminary UI for Play/Pause behaviour on hover state for notices
2009-12-05 23:12:56 +00:00
Craig Andrews
9349d823ee
Add FirePHP plugin - uses FirePHP as an output method for logging
2009-12-05 02:13:40 -05:00
Craig Andrews
51f0dd5e37
Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled.
2009-12-05 01:03:04 -05:00
Craig Andrews
c08d7f1aa4
Minify inline JS and CSS (can be disable in configuration)
2009-12-05 00:41:22 -05:00
Craig Andrews
88e50003ae
If a theme server is being used, do not minify theme CSS (as doing so could cause 404s)
2009-12-04 23:17:46 -05:00
Craig Andrews
f4fc8481e2
Separate out some common code
2009-12-04 23:17:19 -05:00
Craig Andrews
d41a0a5ed0
Use inlineScript() instead of element() to write inline javascript
2009-12-04 20:33:41 -05:00
Craig Andrews
675e32ac9a
use cssLink() instead of element() to write out references to CSS
2009-12-04 20:21:05 -05:00
Craig Andrews
d31b1d774e
use the new htmloutputter->style() function
2009-12-04 20:20:44 -05:00
Craig Andrews
4c8bed8ba0
Use inlineScript() everywhere inline scripts are written
2009-12-04 19:41:51 -05:00
Craig Andrews
aab7344002
Merge branch 'minify' into 0.9.x
2009-12-04 18:44:26 -05:00
Zach Copley
1fd7e5e379
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 22:43:34 +00:00
Evan Prodromou
5c973876ac
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 16:30:33 -05:00
Evan Prodromou
098426cee9
configurable expiry for cached Geonames data defaults to 90 days
2009-12-04 16:25:05 -05:00
Zach Copley
eb0a5977ff
Don't try to broadcast the notice if something went wrong.
2009-12-04 20:39:50 +00:00
Evan Prodromou
41f10b742c
remove duplicate log() function from RealtimePlugin
2009-12-04 15:34:41 -05:00
Evan Prodromou
99b23782ef
let Geonames clients use commercial Web service
2009-12-04 15:30:43 -05:00
Zach Copley
0177b386d8
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 20:18:42 +00:00
Zach Copley
cff12603cf
Make imported Twitter notices show up via real time plugins.
2009-12-04 20:17:42 +00:00
Evan Prodromou
e7e9dfceb4
remove unnecessary debugging code from mapstraction output
2009-12-04 14:36:24 -05:00
Evan Prodromou
a92228c713
Update Mapstraction to properly scrape data from notice-list pages
...
Refactored the JavaScript for Mapstraction use so it scrapes data from
the HTML of the page it's on, if possible, and otherwise generates a
JSON array.
2009-12-04 14:31:19 -05:00
Craig Andrews
01b089d9be
Added minify plugin
2009-12-04 12:36:00 -05:00
Craig Andrews
35ff3961e8
Remove unnecessary pass by reference indicators
2009-12-03 19:59:31 -05:00
Craig Andrews
567bd6c0c2
Merge branch 'mapsimprovement' into 0.9.x
2009-12-03 19:45:29 -05:00
Craig Andrews
43a1a35524
refactor the common parts of usermap and allmap into a common base class
2009-12-03 19:43:02 -05:00
Brion Vibber
c89b10ffe4
Code style cleanup: dropped some unnecessary =& reference assignments where they're used only out of habit for PHP 4-style object semantics
2009-12-03 12:58:48 -08:00
Craig Andrews
e3caec9d8a
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
...
Clicking on a geo link pops up a map (round 2)
2009-12-02 21:24:41 -05:00
Zach Copley
fcf1c4e53f
Remove useless debugging statement
2009-12-02 19:33:08 +00:00
Zach Copley
9dc888894b
Merge branch 'master' into 0.9.x
...
* master: (67 commits)
Ticket 2038: fix bad bug tracker link
Fix regression in group posting: bug introduced in commit 1319002e15
. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
Log database errors when saving notice_inbox entries
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
request id on logs... pid + random id per web request + username + method + url
Add OpenID ini info back into statusnet.ini as a stopgap until we can
Some changes to the OpenID DataObjects to make them emit the exact same
OpenID plugin should set 'user_openid.display' as unique key
Remove relationship: user_openid.user_id -> user.id. I don't think this
Have OpenID plugin DataObjects emit their own .ini info
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
Fix fatal error on OMB subscription for first-timers
Remove annoying log msg
Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
Catch uncaught exception
Fixed bug where reply-sync bit wasn't getting saved
Forgot to render the nav menu when on FB Connect login tab
Facebook plugin no longer takes over Login and Connect settings nav menus
...
Conflicts:
db/08to09_pg.sql
db/statusnet_pg.sql
locale/pt_BR/LC_MESSAGES/statusnet.mo
plugins/Mapstraction/MapstractionPlugin.php
2009-11-30 10:28:58 -08:00
Brion Vibber
10f40661a2
Ticket 1870: drop unnecessary Tidy module installation requirement.
...
Tidy was only being used by a couple of non-default URL shortener plugins,
PtitUrl and TightUrl. Both were easily changed to load the tag-soup HTML
via DOMDocument (using the default DOM module which is already used by
other dependencies).
Added xml, dom, and simplexml modules to the requirements check
in install.php, as they were being used but not checked for.
Also cleaned up LilUrl, PtitUrl, and TightUrl to return URL as a string
instead of as a SimpleXML node object.
2009-11-30 09:12:19 -08:00
Sarven Capadisli
5bb07ba6be
Increased notice_data-attach width
2009-11-30 12:29:02 +00:00
Sarven Capadisli
5f63c0279f
Better notice_data-attach alignment for mobile devices that support
...
input type file
2009-11-30 12:27:48 +00:00
Sarven Capadisli
68a42f4917
Updated notice-options items alignment in MobileProfile
2009-11-30 11:45:40 +00:00
Sarven Capadisli
1d1778137b
Minor. Removed whitespace.
2009-11-30 11:12:45 +01:00
Sarven Capadisli
a1bea8bb38
Allow Realtime notices to use the attachments interface
2009-11-29 19:27:33 +00:00
Sarven Capadisli
6d29f3f2de
Bind for UserFlag only if there is a form for it
2009-11-28 20:54:32 +01:00
Sarven Capadisli
237f2c2d78
Calling NoticeReplyTo instead of NoticeReply in Realtime
2009-11-28 15:46:24 +00:00
Sarven Capadisli
c413a4d80b
Explictly unbinding is unnecessary as jQuery's remove() takes care of it
2009-11-28 14:58:57 +00:00
Sarven Capadisli
2ac1179a05
SN.U.NoticeFavor should be SN.U.NoticeReply
2009-11-28 14:51:22 +00:00
Sarven Capadisli
36e38b4b60
Only bind submit to the notice created by Realtime
2009-11-28 14:29:25 +00:00
Sarven Capadisli
2755a6d3cf
Moved moderation styles out of UserFlag and put it into core. Updated
...
icons.
2009-11-26 20:38:06 +00:00
Sarven Capadisli
5f5a107991
Init UI to show/hide a group of moderation actions.
2009-11-26 18:46:11 +00:00
Sarven Capadisli
cde4d866eb
Updated the cross line on silence icon
2009-11-26 13:20:08 +00:00
Sarven Capadisli
e9d27dc96e
Updated moderation (sandbox, silence, delete) icons for UserFlag
2009-11-26 13:07:59 +00:00
Sarven Capadisli
385573f174
Moved CSS out to its own file for UserFlag
2009-11-26 13:03:01 +00:00
Sarven Capadisli
b16cabc3bc
Renamed icon file
2009-11-26 12:57:52 +00:00
Zach Copley
e767436176
Some changes to the OpenID DataObjects to make them emit the exact same
...
.ini info as what used to be in statusnet.ini before OpenID was pulled
out into a plugin.
2009-11-26 02:22:53 +00:00
Zach Copley
2d25f288a7
Some changes to the OpenID DataObjects to make them emit the exact same
...
.ini info as what used to be in statusnet.ini before OpenID was pulled
out into a plugin.
2009-11-26 02:21:23 +00:00
Zach Copley
58e1d9a68b
OpenID plugin should set 'user_openid.display' as unique key
2009-11-26 01:27:39 +00:00
Zach Copley
a1f87f415a
OpenID plugin should set 'user_openid.display' as unique key
2009-11-26 01:26:19 +00:00
Zach Copley
1b46d17f4e
Have OpenID plugin DataObjects emit their own .ini info
2009-11-25 23:54:53 +00:00
Zach Copley
2b6cf0d8b6
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
...
This reverts commit a373d07ae0
.
Conflicts:
classes/statusnet.ini
lib/schema.php
plugins/Authentication/AuthenticationPlugin.php
plugins/OpenID/OpenIDPlugin.php
plugins/UserFlag/UserFlagPlugin.php
2009-11-25 23:54:36 +00:00
Zach Copley
bd4a613c38
Merge branch 'fix-openid' into 0.9.x
2009-11-25 23:33:13 +00:00
Zach Copley
441b62e87e
Have OpenID plugin DataObjects emit their own .ini info
2009-11-25 23:12:24 +00:00
Zach Copley
8acc1587b1
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
...
This reverts commit a373d07ae0
.
Conflicts:
classes/statusnet.ini
lib/schema.php
plugins/Authentication/AuthenticationPlugin.php
plugins/OpenID/OpenIDPlugin.php
plugins/UserFlag/UserFlagPlugin.php
2009-11-25 13:38:59 -08:00
Sarven Capadisli
1ea5ccc5c1
I can't hide the location and status bars in Firefox, IE or Chromium.
...
It only works in Safari and Opera.
https://developer.mozilla.org/En/DOM/Window.open confirms that by
default, Firefox and IE forces their presence.
2009-11-25 21:32:51 +00:00
Sarven Capadisli
9d5e8649fa
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-25 20:37:44 +00:00
Sarven Capadisli
36aa933bc5
Better layout for entity_profile and entity_actions
2009-11-25 20:37:03 +00:00
Zach Copley
3b2f39e1e1
Catch uncaught exception
2009-11-25 18:07:00 +00:00
Zach Copley
f7c1c4e601
Catch uncaught exception
2009-11-25 18:04:08 +00:00
Zach Copley
aeb933355d
Fixed bug where reply-sync bit wasn't getting saved
2009-11-25 01:37:00 +00:00
Zach Copley
e6842b7189
Fixed bug where reply-sync bit wasn't getting saved
2009-11-25 01:36:17 +00:00
Zach Copley
824e347e55
Forgot to render the nav menu when on FB Connect login tab
2009-11-25 01:13:21 +00:00
Zach Copley
b586063ebe
Forgot to render the nav menu when on FB Connect login tab
2009-11-25 01:11:29 +00:00
Zach Copley
ace4b7dc09
Facebook plugin no longer takes over Login and Connect settings nav menus
2009-11-25 00:46:34 +00:00
Zach Copley
f12972a50f
Facebook plugin no longer takes over Login and Connect settings nav menus
2009-11-25 00:43:20 +00:00
Zach Copley
3556861596
Fix SSL options for Twitter bridge HTTP requests
2009-11-24 19:12:57 +00:00
Zach Copley
b20b59e9ea
Fix SSL options for Twitter bridge HTTP requests
2009-11-24 19:11:34 +00:00
Zach Copley
2eae258319
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-24 18:47:56 +00:00
Sarven Capadisli
84ed094f40
Moved initPopupWindow CSS out of JS in Realtime plugin
2009-11-24 13:10:34 +00:00
Sarven Capadisli
9f6b3daaec
Added realtime-popup class to <body> for popup output.
2009-11-24 13:09:17 +00:00
Sarven Capadisli
5973192593
Enable border-top when Realtime pop up window is initialized
2009-11-24 12:55:08 +00:00
Craig Andrews
83ba93e945
Change the format of the lat/lon output on a notice in HTML
2009-11-20 17:40:38 -05:00
Craig Andrews
3db551ed5a
Undo part of c6e4feb815
so that blacklisted notices are not displayed in realtime
2009-11-20 13:58:13 -08:00
Craig Andrews
953f3a6e4f
Undo part of c6e4feb815
so that blacklisted notices are not displayed in realtime
2009-11-20 15:34:48 -05:00
Evan Prodromou
028a44e080
use caching in geonames plugin
2009-11-20 15:27:47 -05:00
Brion Vibber
afe5e71c4e
Quick fix for Safari XHTML error... the map doesn't currently work with Safari, but this gets the whole page parsing again!
2009-11-20 12:04:27 -08:00
Brion Vibber
e7663ce38f
fix notice bug
2009-11-20 13:57:35 -05:00
Brion Vibber
1ca022464a
Fix double-escaped HTML in mapstraction notice popups
2009-11-20 10:17:14 -08:00
Brion Vibber
46c5a52810
fix notice bug
2009-11-20 10:08:13 -08:00
Brion Vibber
b189c9500c
Initial functional version of feed subscription plugin, currently supporting only PuSH-enabled feeds.
2009-11-20 09:42:19 -08:00
Craig Andrews
09d67d6f80
Fix js error on non-map containing pages
2009-11-20 11:16:39 -05:00
Evan Prodromou
d645db38ae
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2009-11-20 08:00:34 -08:00
Evan Prodromou
85ec057422
use caching in geonames plugin
2009-11-20 07:58:28 -08:00
Zach Copley
4bace8f1a5
Add routing rules for FB app in front of other rules
2009-11-20 11:13:24 +00:00
Zach Copley
e640561ccd
Add routing rules for FB app in front of other rules
2009-11-20 11:11:18 +00:00
Sarven Capadisli
f8b76ebc11
Updated form markup
2009-11-20 05:50:46 +00:00
Sarven Capadisli
501170f3cf
Updated form markup
2009-11-20 05:48:05 +00:00
Sarven Capadisli
c6e4feb815
These changes didn't go into master (from 0.9-release)
2009-11-20 05:28:10 +00:00
Brion Vibber
dd36c2de23
Initial functional version of feed subscription plugin, currently supporting only PuSH-enabled feeds.
2009-11-19 21:04:21 -08:00
Zach Copley
003b25ee56
Merge branch '0.9-release'
...
* 0.9-release:
Changed DEFINE name to avoid conflicts
2009-11-19 20:51:20 -08:00
Sarven Capadisli
e1fcac0e09
Changed DEFINE name to avoid conflicts
2009-11-20 04:49:35 +00:00
Zach Copley
e3de04f8cd
Merge branch '0.9-release'
...
* 0.9-release:
Reduced entity_profile width in pop up
2009-11-19 20:18:35 -08:00
Zach Copley
4b98edf75f
Merge branch '0.9-release'
...
* 0.9-release: (874 commits)
Removed call to NewDirectMessage() until IE return is fixed i.e.,
Don't show flag user button your own profile
Fixed HXR response for flag user
Using the right form class name
Using common_redirect
Left a form_data class of a <ul> in the user admin panel
Added validation to fields in user admin panel
Added a user admin panel
Added mobile logos for default and identica themes
Changed gif to png
Changed this to action. THANKS zach!
Doing content negotiation only once
Add execute bit to pingqueuehandler
Localisation updates for !StatusNet from !translatewiki.net
Use the browser's geolocation API to set the location on the notice form
Add geometa library, and include it.
Add location form elements to the noticeform, and save their values on submission
Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc
Revert "Re added NICKNAME_FMT constant to router.php."
Moved most path and server settings to a new paths admin panel
...
Conflicts:
js/util.js
locale/it_IT/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.po
locale/pt_BR/LC_MESSAGES/statusnet.mo
locale/vi_VN/LC_MESSAGES/statusnet.mo
plugins/InfiniteScroll/infinitescroll.js
plugins/Realtime/realtimeupdate.js
2009-11-19 20:12:46 -08:00
Sarven Capadisli
b51df36189
Reduced entity_profile width in pop up
2009-11-20 04:09:40 +00:00
Zach Copley
50827d5e81
Don't show flag user button your own profile
2009-11-19 19:56:24 -08:00
Zach Copley
3d2a2d4173
Fixed HXR response for flag user
2009-11-19 19:29:55 -08:00
Sarven Capadisli
2eed928837
Using the right form class name
2009-11-20 03:06:12 +00:00
Sarven Capadisli
30f660b05c
Using common_redirect
2009-11-20 02:12:09 +00:00
Craig Andrews
dc90e90fd2
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
...
Clicking on a geo link pops up a map
2009-11-19 19:13:55 -05:00
Sarven Capadisli
5a3267900d
Changed gif to png
2009-11-19 20:59:21 +00:00
Sarven Capadisli
78c6056133
Changed this to action. THANKS zach!
2009-11-19 20:52:42 +00:00
Sarven Capadisli
3ff5dd6989
Doing content negotiation only once
2009-11-19 20:47:05 +00:00
Evan Prodromou
507c7e1e6b
take out void setLabel() call in Mapstraction
2009-11-19 13:24:03 -05:00
Evan Prodromou
2723bee69f
add username and timestamp to map popup
2009-11-19 13:20:55 -05:00
Evan Prodromou
640bb39891
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-19 12:37:26 -05:00
Sarven Capadisli
318dd70de8
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-19 17:35:45 +00:00
Evan Prodromou
ea561b88d1
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-19 12:35:19 -05:00
Evan Prodromou
2daa31f142
show maps on inbox and personal page
2009-11-19 12:34:56 -05:00
Sarven Capadisli
60391d0b96
Brought the plugin up to date with recent 0.9.x changes e.g.,
...
Theme::path
2009-11-19 17:13:51 +00:00
Craig Andrews
4463768bae
tobyink's location RDF patch
2009-11-19 12:00:25 -05:00
Evan Prodromou
ae710f20d8
add markers for each notice and show the bounding box correctly
2009-11-19 11:51:15 -05:00
Evan Prodromou
7e8ce8fe8d
Merge branch '0.9.x' into mapstraction
2009-11-19 11:30:35 -05:00
Evan Prodromou
844a28aa9d
put out provider JS correctly
2009-11-19 11:21:51 -05:00
Craig Andrews
c721884b52
Should be using onHandleQueuedNotice instead of onEndNoticeSave
2009-11-19 11:08:13 -05:00
Evan Prodromou
ecc1bd6130
first steps towards usermaps
2009-11-19 10:51:46 -05:00
Evan Prodromou
b657e49ec7
Merge branch '0.9.x' into mapstraction
2009-11-19 09:04:56 -05:00
Craig Andrews
cac5a417f2
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-18 17:04:42 -05:00
Craig Andrews
a00141a180
You cannot use static that way - using another approach to save reuse the default ldap connection
2009-11-18 16:58:06 -05:00
Craig Andrews
6d69d89cfe
Reuse ldap connections for the default config
2009-11-18 16:46:16 -05:00
Craig Andrews
6a505da981
do not required that roles_to_groups be specified
2009-11-18 16:41:38 -05:00
Craig Andrews
a882d093bc
Blasted missing a $this!
2009-11-18 16:12:55 -05:00
Craig Andrews
b417e4d24f
rename isMemberOfGroup to be more consistent with other LDAP functions
2009-11-18 15:53:22 -05:00
Craig Andrews
a215ce6ed6
correct login checking logic
2009-11-18 15:53:07 -05:00
Craig Andrews
297f320e6f
attributes['username'] is required
2009-11-18 15:40:27 -05:00
Craig Andrews
9ed70a5b11
Add some functions that were previously undefined
2009-11-18 14:49:42 -05:00
Craig Andrews
44c7813ac1
Add login_group configuration option so only members of a certain group can login
2009-11-18 14:35:44 -05:00
Craig Andrews
d07df8a796
Added Authorization plugin
...
Added LDAPAuthorization plugin
2009-11-18 14:19:43 -05:00
Sarven Capadisli
63d3e07ce4
Check for dupe from insertNoticeItem()
2009-11-18 19:15:55 +00:00
Sarven Capadisli
c1efb8aa7f
Took out CSS from JS and placed it in its own file.
2009-11-18 17:59:44 +00:00
Craig Andrews
1d6bacc681
Improved parameter checking
2009-11-18 12:57:37 -05:00
Sarven Capadisli
ef542afbe5
Added counter beside the play button. When paused, it will update the
...
counter on new received notices. Counter is removed when play is clicked
2009-11-18 17:23:04 +00:00
Sarven Capadisli
4823463e3f
Relatively positioning notice_primary
2009-11-18 16:00:40 +00:00
Sarven Capadisli
6d3d78c793
Styled realtime_actions
2009-11-18 15:57:45 +00:00
Sarven Capadisli
5014b748e4
Added play/pause button for realtime notices. While on pause, it will
...
store the notices and on play it will add them to the notice list
2009-11-18 15:41:07 +00:00
Evan Prodromou
fa35dab226
Merge branch '0.9.x' into mapstraction
2009-11-18 09:20:31 -05:00
Sarven Capadisli
43b6da8afc
Created separate objects for receive actions
2009-11-18 13:34:06 +00:00
Evan Prodromou
1cc10aaef6
set provider global JS variable from Mapstraction
2009-11-18 08:33:48 -05:00
Sarven Capadisli
007418fdab
Setting windowhasfocus to true by default
2009-11-18 12:46:36 +00:00
Sarven Capadisli
51e4a45161
Changed from click to bind
2009-11-18 10:56:25 +00:00
Sarven Capadisli
23367ecdcf
Setting max notice count in order not to freak out the browser with
...
memory issues. It removes the node and unbinds the previously assigned
events.
2009-11-18 10:54:57 +00:00
Sarven Capadisli
0c81f39bee
Added check to see whether window has focus
2009-11-18 10:53:48 +00:00
Sarven Capadisli
5e0fb1ddfc
Added a call to NoticeFavor()
2009-11-18 10:49:41 +00:00
Sarven Capadisli
4fbb6b0dfb
Removed setTimeout. It was initially intended to prevent dupes but
...
this is not the case with 0.9.x's util.js as opposed to 0.8.x, where it
didn't properly check if a given notice id is already in the list
2009-11-18 10:46:55 +00:00
Sarven Capadisli
edf9b38637
Changed window open name to '' because IE doesn't compute names that
...
include the '-' character.
2009-11-18 10:43:55 +00:00
Sarven Capadisli
730b1a211f
Added on click event to open up anchors in notice items in a new
...
window for the Realtime plugin's pop-up window.
2009-11-18 10:42:43 +00:00
Evan Prodromou
fc08a5c880
first pass at Mapstraction plugin
2009-11-17 23:23:13 -05:00
Craig Andrews
7dfce35bea
(Theoretically) allow users to change their passwords.
...
I cannot test this... but I hope it works :-)
2009-11-17 23:22:19 -05:00
Brion Vibber
88ff0eefb4
Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later.
2009-11-17 16:56:43 -08:00
Sarven Capadisli
a42e128c15
Merge branch '0.9.x-mobile' into 0.9.x
2009-11-17 20:50:43 +00:00
Sarven Capadisli
f425f8538d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-17 18:25:38 +00:00
Craig Andrews
4ff2d37b10
Reformatted for 80 character width, and clarified the username/nickname attribute difference
2009-11-17 13:00:45 -05:00
Sarven Capadisli
8df388ce12
Added li for entity_flag
2009-11-17 16:45:51 +00:00
Evan Prodromou
6a1afda259
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
classes/statusnet.ini
2009-11-17 06:25:07 -05:00
Sarven Capadisli
a6399ce73a
Showing counter for new notices only if the window is on blur
2009-11-17 00:28:56 +00:00
Sarven Capadisli
ca31504dd9
Using the right selector for notice_reply
2009-11-17 00:07:21 +00:00
Brion Vibber
6f9b909211
Fix for PHP spewing notices from commit a373d07ae0
...
Please test with error_reporting set to E_ALL!
Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16 15:36:30 -08:00
Sarven Capadisli
8b4fd41421
Added NoticeFavors() for received notices
2009-11-16 22:16:55 +00:00
Sarven Capadisli
be73757131
Unbinding the events from Notice reply and favor for possible memory
...
leaks
2009-11-16 22:16:08 +00:00
Sarven Capadisli
629532e2da
Added update delay and max notice count
2009-11-16 22:00:15 +00:00
Craig Andrews
e4d191334f
Only show local notices or (remote notices if they're supposed to be shown)
2009-11-16 16:19:27 -05:00
Craig Andrews
003e4e2a23
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-16 15:53:09 -05:00
Craig Andrews
a373d07ae0
Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them
2009-11-16 15:24:25 -05:00
Evan Prodromou
02cc7af1b6
try to return to the correct page from FlagProfileForm
2009-11-16 18:29:13 +01:00
Evan Prodromou
55d00a3a90
make profile flag actions work like other profile actions
2009-11-16 18:24:59 +01:00
Evan Prodromou
bea580873f
use return-to method for adminprofileflag
2009-11-16 17:55:00 +01:00
Eric Helgeson
d080afebbe
Refactored Recaptcha plugin to use addPlugin()
...
Also nicer log messages
2009-11-16 11:44:31 -05:00
Evan Prodromou
84e427c6c1
start showing actions for flagged profiles
2009-11-16 17:43:15 +01:00
Evan Prodromou
959d278c34
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-14 17:14:35 +01:00
Brion Vibber
5fab9bed48
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-13 15:36:14 -08:00
Brion Vibber
50234be398
Fix regression in OpenID autosubmit page.
...
Since core JS loads were moved to the bottom, the JavaScript was being run before jQuery was loaded, so the onload event never got set. Moved it down to the scripts section.
2009-11-13 15:34:15 -08:00
Craig Andrews
c621a9db72
Fix to work with csarven's changes to util.js
2009-11-13 17:56:14 -05:00
Craig Andrews
acfa086d21
Resetup the ajaxification for replies and favors after inf. scrolling
...
Made the selector much more specific, so it only works on pages that have notices
2009-11-13 17:49:35 -05:00
Sarven Capadisli
eeae20c101
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-13 20:57:59 +00:00
Craig Andrews
5494eb6146
Refactor User_username object creation to reuse code
2009-11-13 13:11:28 -05:00
Craig Andrews
b9562cbb18
autoregister returns the new user on success (not just true)
2009-11-13 12:54:27 -05:00
Sarven Capadisli
1bac324072
Moved class="pagination" to child element and removed element
2009-11-13 12:26:24 +00:00
Craig Andrews
ed690615de
Added a User_username table that links the external username with a StatusNet user_id
...
Added EmailAuthenticationPlugin
Added ReverseUsernameAuthenticationPlugin
Changed the StartChangePassword and EndChangePassword events to take a user, instead of a nickname
User::allowed_nickname was declared non-static, but used as if it was static, so I made the declaration static
2009-11-12 20:12:36 -05:00
Craig Andrews
cefbad0159
Also delete the OpenID provider data when a user is deleted
2009-11-12 20:12:35 -05:00
Sarven Capadisli
3752c1fdce
Removed extra showScript() call at the bottom of the document. 0.8.x
...
is using <head> for scripts whereas 0.9.x puts it before </body>. This
also fixes the duplicate posts
2009-11-12 10:37:43 +00:00
Sarven Capadisli
c28b9ce31a
Removed old comments
2009-11-12 10:24:18 +00:00
Craig Andrews
4f1b7fe575
Disable debug mode (so there are no messages written to the javascript console)
2009-11-11 15:39:23 -05:00
Craig Andrews
03022c6e60
Resetup the ajaxification for replies and favors after inf. scrolling
...
Made the selector much more specific, so it only works on pages that have notices
2009-11-11 15:38:28 -05:00
Craig Andrews
f6f5b5654a
Don't use common_config anymore
2009-11-11 15:08:17 -05:00
Craig Andrews
b43866d9aa
Correct stupid spelling errors
2009-11-11 14:04:44 -05:00
Craig Andrews
014d6b1d19
Redid how URL shorteners work. This way is much more like how Evan wants events to work (and more like how the rest of SN works).
2009-11-11 14:04:44 -05:00
Craig Andrews
f600fa3b1a
Rename the plugins, as I'm separating out Authn, Authz, and user information into separate plugins
2009-11-11 12:16:58 -05:00
Sarven Capadisli
686c2e5e06
Added XHR for form_entity_flag
2009-11-11 13:43:21 +00:00
Sarven Capadisli
dbe02049a8
Added margin-top for showstream page (space between entity_actions and
...
notice_primary)
2009-11-11 12:57:48 +00:00
Sarven Capadisli
af4a54b167
Set window resize before openning it up
2009-11-11 12:34:22 +00:00
Sarven Capadisli
3874269a0b
Calling selector once
2009-11-11 12:31:14 +00:00
Sarven Capadisli
d6cd083946
Using mark-top styles
2009-11-11 12:21:27 +00:00
Evan Prodromou
093857c582
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-11 00:22:29 -05:00
Craig Andrews
91332cdadc
Added a events for the settings menu items
2009-11-10 17:54:55 -05:00
Evan Prodromou
1455d60b06
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-10 17:08:59 -05:00
Evan Prodromou
7ee6160a5b
initial support for geourl.org
2009-11-10 17:08:33 -05:00
Brion Vibber
53c86c43c4
Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
...
Upgrade notes:
* Index names have changed from hardcoded 'Identica_people' and 'Identica_notices' to use the database name and actual table names. Must reindex.
New events:
* GetSearchEngine to override default search engine class selection from plugins
New scripts:
* gen_config.php generates a sphinx.conf from database configuration (with theoretical support for status_network table, but it doesn't seem to be cleanly queriable right now without knowing the db setup info for that. Needs generalized support.)
* Replaced old sphinx-indexer.sh and sphinx-cron.sh with index_update.php
Other fixes:
* sphinx.conf.sample better matches our live config, skipping unused stopword list and using a more realistic indexer memory limit
Further notes:
* Probably doesn't work right with PostgreSQL yet; Sphinx can pull from PG but the extraction queries currently look like they use some MySQL-specific functions.
2009-11-10 13:44:40 -08:00
Craig Andrews
1cd6650ae4
Changed to Evan's event style and added an AuthPlugin superclass
2009-11-10 16:28:37 -05:00
Brion Vibber
333c376c95
Merge remote branch 'statusnet/0.9.x' into 0.9.x
2009-11-10 06:44:53 -08:00
Craig Andrews
3be1205714
Add a new event: CanUserChangeField
2009-11-09 17:43:37 -05:00
Brion Vibber
088081675f
Revert "Remove more contractions"
...
This reverts commit 5ab709b739
.
Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Evan Prodromou
22310d17a4
shorten flag notification and include a class
2009-11-09 13:45:10 -05:00
Sarven Capadisli
2577c85a38
Added flag icon for UserFlag plugin
2009-11-09 11:11:06 +00:00
Sarven Capadisli
8e58f24173
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-08 23:10:34 +00:00
Sarven Capadisli
2a0a363e1d
Updated Realtime plugin to use the util's NoticeReply object
2009-11-08 23:06:25 +00:00
Sarven Capadisli
5c5a905eb9
Moved back to using lib twitterapi instead of api for 0.8.x
2009-11-08 22:55:53 +00:00
Siebrand Mazeland
b10f362ede
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:33:58 +01:00
Siebrand Mazeland
5ab709b739
Remove more contractions
...
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Brion Vibber
fc5002015b
Revert "* [Cc]an't -> [Cc]annot"
...
This reverts commit 0ab17f382b
.
2009-11-08 23:28:51 +01:00
Siebrand Mazeland
0ab17f382b
* [Cc]an't -> [Cc]annot
...
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Sarven Capadisli
cb1013fa59
Fixed Flagged for review view
2009-11-08 20:31:53 +00:00
Sarven Capadisli
1b902bcc45
Fixed alignment for entity action anchors and responses
2009-11-08 19:05:07 +00:00
Brion Vibber
8d44b6a5a2
Fix bug 1962: deleteuser.php regression when OpenID plugin not enabled
...
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin.
Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
2009-11-08 14:40:30 +01:00
Evan Prodromou
5cd385fe4f
fixup key definition for User_flag_profile
2009-11-07 13:39:55 -05:00
Evan Prodromou
0668520a8d
fixup database interface and correct the flagged notice
2009-11-07 13:39:26 -05:00
Evan Prodromou
509109a71a
make sure FlagprofileAction without Profile_flag
2009-11-07 13:22:07 -05:00
Evan Prodromou
285745d2fd
make sure UserFlagPlugin works without Profile_flag
2009-11-07 13:21:40 -05:00
Evan Prodromou
55c7c943e7
Simply flag a profile for review
...
Instead of trying to have lots of different flags on different
objects, cut to the core of this functionality: flag a profile for
moderator review.
2009-11-07 13:10:22 -05:00
Evan Prodromou
d9cde0ef80
Merge branch '0.9.x' into userflag
2009-11-07 13:03:52 -05:00
Craig Andrews
9c80f141e2
Fixed autocomplete returning bogus results
2009-11-05 23:51:30 -05:00
Craig Andrews
d6ddb84132
Add ChangePassword event
2009-11-05 23:27:18 -05:00
Craig Andrews
1bace8547b
Store the canonical forms of the email address and nickname
2009-11-05 16:53:43 -05:00
Craig Andrews
1845c8c773
Added an AutoRegister event
...
LDAP plugin can do autoregistration
2009-11-05 16:40:41 -05:00
Craig Andrews
73e45bbfd9
Made the ldap plugin work, and add a readme
2009-11-05 13:59:19 -05:00
Craig Andrews
c403f7fa44
Added Net_LDAP2 to extlib, and add a skeleton LDAP plugin
2009-11-04 13:39:56 -05:00
Sarven Capadisli
384a50a780
Merge branch '0.8.x' into 0.9.x
2009-11-04 09:25:42 +00:00
Sarven Capadisli
00e7214720
Added script documentation
2009-11-04 09:24:14 +00:00
Sarven Capadisli
1e7c4f773b
Script no longer neeed
2009-11-04 09:20:36 +00:00
Sarven Capadisli
cc0a6dce36
Sync RealtimePlugin with 0.9.x
2009-11-04 09:19:39 +00:00
Sarven Capadisli
df1ee6867e
Sync Realtime JavaScript with 0.9.x
2009-11-04 09:12:34 +00:00
Craig Andrews
5aa9de3364
Added a Bitly URL Shortener. Unfortunately, it doesn't work, as bit.ly requires credentials to shorten URLs now, and we presently have no way to provide them.
2009-11-03 17:44:08 -05:00
Brion Vibber
5581143bee
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface
Note some plugins haven't been fully tested yet.
2009-11-02 09:14:15 -08:00
Brion Vibber
b22fc5b74a
Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions."
...
Going to restructure a little more before finalizing this...
This reverts commit fa37967858
.
2009-11-02 07:51:29 -08:00
Brion Vibber
fa37967858
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
Note some plugins haven't been tested yet.
2009-11-02 06:31:28 -08:00
Evan Prodromou
f2b642ce82
insert profile flags more or less correctly
2009-11-01 23:25:30 -05:00
Evan Prodromou
70e4580c3f
move action files to the right place
2009-11-01 15:16:53 -05:00
Evan Prodromou
f72857d73e
show profile flag form when showing profile list or profile page
2009-11-01 15:13:11 -05:00
Evan Prodromou
7701bc2e56
profile flag form
2009-11-01 15:12:49 -05:00
Evan Prodromou
e42967fe3e
add data definitions to user flag classes
2009-11-01 14:24:40 -05:00
Evan Prodromou
644263f989
update autogenerated data objects to match our classes
2009-11-01 14:16:50 -05:00
Evan Prodromou
fa661664dd
remove exe flags on UserFlag data objects
2009-11-01 14:12:19 -05:00
Evan Prodromou
9cb74c439a
autogenerated files for UserFlag data objects
2009-11-01 14:11:52 -05:00
Evan Prodromou
340a88d713
make sure tables are created correctly
2009-11-01 13:41:32 -05:00
Evan Prodromou
5f5413624d
Merge branch '0.9.x' into userflag
2009-11-01 13:04:23 -05:00
Craig Andrews
982850c9c7
Added simple registration (sreg) support to the OpenID provider
2009-10-30 15:33:04 -04:00
Craig Andrews
204eb5b0c4
made openidserver a login action so it can be seen when the site is in "private" mode
2009-10-30 13:42:54 -04:00
Craig Andrews
acaf07f6e8
Added an "Verify Your Identity" page to the OpenID provider
2009-10-30 13:21:37 -04:00
Craig Andrews
656eef6e6a
Fixed PubSubHubBub plugin to reflect new api
2009-10-30 01:20:47 -04:00
Craig Andrews
c49564647a
whitespace adjustments for doxygen
2009-10-29 16:27:23 -04:00
Craig Andrews
54696f7c46
Moved the public XRDS from the OpenID plugin to core
...
Added 4 new events involved in XRDS: StartUserXRDS, EndUserXRDS, StartPublicXRDS, EndPublicXRDS
Added OpenID provider functionality (no delegation support [yet])
2009-10-29 16:27:22 -04:00
Evan Prodromou
24c3a15124
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-29 16:17:22 -04:00
Brion Vibber
666c18a1dd
use addPlugin() in the README setup example
2009-10-29 15:08:24 -04:00
Evan Prodromou
62ba14f5cf
make an URL for a geonames location
2009-10-29 15:07:26 -04:00
Brion Vibber
fd650715fa
Warning cleanup: drop reference on router parameter to RouterInitialized event handlers.
...
We don't (and don't need to) pass a reference here, and the mix can trigger warnings.
2009-10-29 13:55:37 -04:00
Evan Prodromou
b73d6d18ba
Merge branch '0.9.x' into location
2009-10-28 17:24:53 -04:00
Evan Prodromou
e25716d180
correctly output public XRDS <meta>
2009-10-28 14:38:19 -04:00
Zach Copley
a1798039b2
Specify the number of cols for the Facebook app's multi-friend inviter
...
widget so it fits better into Facebook's new layout.
2009-10-27 21:07:17 +00:00
Zach Copley
4de05f1e47
Forgot to move the facebookapp.css file into the new Facebook plugin
2009-10-27 21:00:26 +00:00
Craig Andrews
0b4390e7f2
Make email domain checking optional, as some statusnet installations (such as those behind restrictive corporate firewalls, or on home systems on restrictive connections) cannot connect to any mail
...
systems, and this check will always fail.
2009-10-26 10:31:12 -04:00
Evan Prodromou
3c724ccd0d
Merge branch '0.9.x' into location
2009-10-24 19:59:46 -04:00
Sarven Capadisli
f3a074ad22
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-24 18:13:59 +00:00
Zach Copley
6d6de3c1c7
Move Twitter and Facebook-specific mail notifications to their respective plugins
2009-10-23 23:38:45 +00:00
Zach Copley
62ba25f53a
Some phpcs cleanup
2009-10-23 23:05:23 +00:00
Sarven Capadisli
19edced6c2
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-23 07:13:01 +00:00
Evan Prodromou
de4b2098d1
results of json parsing are objects not arrays
2009-10-22 16:20:31 -04:00
Evan Prodromou
9c983c3830
extract Geonames stuff to a plugin
2009-10-22 15:44:36 -04:00
Zach Copley
ec92cab6ff
Removed Facebook stuff from the StatusNet README and wrote a new README
...
for the Facebook plugin.
2009-10-21 17:53:23 -07:00
Zach Copley
6a2185a26b
Make paths and class loading work right
2009-10-21 22:02:10 +00:00
Zach Copley
3e5c8f28c3
Fix references
2009-10-21 17:29:54 +00:00
Zach Copley
aa58e8a738
Combine Facebook and Facebook Connect plugins into one big plugin
2009-10-21 01:17:31 +00:00
Zach Copley
d07c9d8750
Gather all the Facebook stuff together in one place
2009-10-21 01:07:03 +00:00
Zach Copley
78e5a5980a
Extract out Facebook app stuff into a plugin
2009-10-20 16:32:30 -07:00
Zach Copley
09dfb08a39
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-20 06:06:10 +00:00
Zach Copley
7539e26951
- Make Twitter bridge work with unqueuemanager
...
- Add README
2009-10-20 06:05:35 +00:00
Zach Copley
19b870c439
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-20 00:53:08 +00:00
Zach Copley
9cdd77625e
Less intrusive, more reliable way for FB Connect plugin to modify the
...
primary nav in order to show FB mini-avatar and have the logout link
logout of FB as well as StatusNet.
2009-10-20 00:49:11 +00:00
Sarven Capadisli
7d763740f1
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-18 15:12:43 +00:00
Sarven Capadisli
eaaa01a171
Added an update counter in the document title. When window is in blur,
...
it will update the document title when new notices are received. The
counter will reset when window is blurred (after a focus) again.
2009-10-18 15:10:49 +00:00
Zach Copley
109a54c4f0
Changed config flag for importing friends' timeline and added some comments
2009-10-17 00:32:02 +00:00
Zach Copley
0bbc05c1d5
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-16 23:42:02 +00:00
Sarven Capadisli
42f3aff9eb
Slight adjustment to local navigation padding
2009-10-15 15:02:53 +00:00
Sarven Capadisli
afa00b558f
Reduced some margin-bottoms
2009-10-15 14:59:21 +00:00
Sarven Capadisli
09bafa13b1
Minor adjustment to site name spacing
2009-10-15 14:52:49 +00:00
Sarven Capadisli
414ca4e83f
Adjusted global and local navigation spacing and size. Fixed logo's
...
view in Opera Mini
2009-10-15 14:46:49 +00:00
Sarven Capadisli
63d2476d74
More margin for logo
2009-10-15 14:22:46 +00:00
Sarven Capadisli
9c90fd05f7
Set width only to textarea
2009-10-15 14:20:42 +00:00
Sarven Capadisli
70a39c5b7b
Better layout for form_settings
2009-10-15 14:05:43 +00:00
Sarven Capadisli
d7efe87e77
Better widths for notice options (improves Opera Mini's rendering)
2009-10-15 13:08:57 +00:00
Sarven Capadisli
94c7b2b43a
Changed textarea @cols value for smaller screens
2009-10-15 12:47:59 +00:00
Sarven Capadisli
ed85dc2700
Updated comments
2009-10-15 11:25:38 +00:00
Evan Prodromou
658683e240
Stub actions for UserFlag plugin
...
Stub files for the actions in UserFlag plugin
2009-10-15 04:47:11 -04:00
Sarven Capadisli
291c2ccd0b
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-14 09:58:58 +00:00
Sarven Capadisli
6b5810f5d5
Moved to location of the FBConnect JavaScript to the end of </body>.
2009-10-14 09:53:07 +00:00
Zach Copley
0fd8e758ad
Make queuing and daemons work via events
2009-10-14 04:50:16 +00:00
Evan Prodromou
637293a52f
outline for plugin
2009-10-13 18:12:30 -04:00
Zach Copley
39bcd514b4
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x:
Include long-form attachment URL in notice if URL shortening is disabled.
Updated default theme to use the CSS Sprites method for common icons
Added a new plugin that requires a user to have a validated email address before being allowed to post notices
Don't trigger E_NOTICE when looking for commands in the notice input
2009-10-13 11:05:39 -07:00
Zach Copley
b4b992bca7
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x: (247 commits)
Added in credits.
Use site's name for basic auth realm
Make apigroupcreate.php pass phpcs
Took out some unnecessary intializations
Implemented create group api
CamelCase all function names in the API code
These same params are used in most API actions; moved to base API class
Missed some of the references to the old TwitterApiAction - removed
Remove more redundant $formats
Remove dead code
Move all basic auth output and processing to base classes
$format is used by every API action. Set it in the base class.
Delete action/api.php and rename lib/twitterapi.php to lib/api.php
New actions for blocks via API
fix FBConnect so it doesn't muffle EndPrimaryNav
don't write session if it's unchanged
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
Fixed facebook connect primary nav to obey sms/twitter/openid settings
Fixed facebook connect login nav to obey openid settings
Fixed facebook connect nav to obey sms/twitter disabled
...
2009-10-13 09:36:26 -07:00
Sarven Capadisli
e6c4dceb5a
Updated Profile view. Works better in Opera Mini, Webkits
2009-10-13 15:22:05 +00:00
Sarven Capadisli
dff412a3b1
Styles for entity actions
2009-10-13 14:56:58 +00:00
Sarven Capadisli
a74bb63add
Added styles for the Profile page
2009-10-13 13:42:58 +00:00
Sarven Capadisli
861e0f0227
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-13 11:06:57 +00:00
Craig Andrews
5eaf9f7d2e
Added a new plugin that requires a user to have a validated email address before being allowed to post notices
2009-10-12 21:21:00 -04:00
Zach Copley
e071a8cbff
Moved group create API into its own action
...
Merge branch '0.9.x' into refactor-api
* 0.9.x:
Implemented create group api
fix FBConnect so it doesn't muffle EndPrimaryNav
don't write session if it's unchanged
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
Fixed facebook connect primary nav to obey sms/twitter/openid settings
Fixed facebook connect login nav to obey openid settings
Fixed facebook connect nav to obey sms/twitter disabled
Fixed twitter defaulting to disabled
Revert "Open tags should have closing tags"
Don't show search suggestions for private sites
Fixed E_NOTICE when returnto isn't set
Fixed E_NOTICE when the "lite" parameter isn't included in the request
Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms
Returning false seems to fix IE from reclaiming window focus. I think
Aligning notice attach label from right instead of left
Fixed IE background image alignment for attach, favour and disfavour
Fixed nudge and direct message background image alignment
Using 'CSS sprites' for common icons for the identica theme. Default
Open tags should have closing tags
Conflicts:
actions/twitapigroups.php
actions/twitapistatuses.php
2009-10-12 12:31:14 -07:00
Sarven Capadisli
0e333200a4
Added missing $this
2009-10-12 13:06:16 +00:00
Sarven Capadisli
d65702b301
Only output attachment if the mobile device is interested
2009-10-12 13:05:19 +00:00
Sarven Capadisli
410883d146
Ran phpcs and fixed a few errors and warnings
2009-10-12 12:58:51 +00:00
Sarven Capadisli
44a5cd2805
Added function to set a list of features the mobile device supports
...
and output accordingly e.g., if device is not known to have an open
file system or unable to make use of input type="file" don't output
that feature
2009-10-12 12:46:53 +00:00
Sarven Capadisli
7af1c83f4e
Fixed typo, added ipod
2009-10-12 12:30:00 +00:00
Sarven Capadisli
0947ca8b93
Init mp-handheld stylesheet. For now, it is reusing mp-screen. Future
...
updates will handle media queries
2009-10-12 12:29:19 +00:00
Sarven Capadisli
8513ce94d2
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-12 10:56:23 +00:00
Craig Andrews
f719720e8a
Merge remote branch 'statusnet/0.8.x' into 0.9.x
...
Conflicts:
lib/common.php
2009-10-11 13:39:10 -04:00
Craig Andrews
1f21e5ee79
Merge commit 'refs/merge-requests/1738' of git://gitorious.org/statusnet/mainline into 0.8.x
2009-10-11 13:17:59 -04:00
Zach Copley
061af8fa06
CamelCase all function names in the API code
2009-10-09 17:53:35 -07:00
Zach Copley
57dfad64be
Missed some of the references to the old TwitterApiAction - removed
2009-10-09 17:21:22 -07:00
Zach Copley
bb08611def
Delete action/api.php and rename lib/twitterapi.php to lib/api.php
2009-10-09 14:22:18 -07:00
Evan Prodromou
e9d7f18f0c
fix FBConnect so it doesn't muffle EndPrimaryNav
2009-10-09 14:06:08 -04:00
Sarven Capadisli
5dc728a756
Reduced whitespace
2009-10-09 16:18:47 +00:00
Sarven Capadisli
76d7fa475e
Updated header UI
2009-10-09 15:34:57 +00:00
Sarven Capadisli
0b741f15c2
Removed the Help item from global primary navigation in the header
...
since it is also used in the footer area. Frees up 'precious'space.
2009-10-09 15:32:56 +00:00
Sarven Capadisli
0799f48197
Updated mobilelogo extension
2009-10-09 14:48:14 +00:00
Sarven Capadisli
e36c952338
Fixed notice-options
2009-10-09 12:28:38 +00:00
Sarven Capadisli
921b25bf62
Some UI adjustments for form notice
2009-10-09 11:31:52 +00:00
Jeffery To
c597aba342
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
2009-10-09 11:52:03 +08:00
Jeffery To
d13b0c385d
Fixed facebook connect primary nav to obey sms/twitter/openid settings
2009-10-09 11:50:04 +08:00
Jeffery To
b8f8c41c18
Fixed facebook connect login nav to obey openid settings
2009-10-09 11:31:55 +08:00
Jeffery To
11e36b18cc
Fixed facebook connect nav to obey sms/twitter disabled
2009-10-09 11:25:31 +08:00
Sarven Capadisli
7c621371cd
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-06 16:07:07 +00:00
Sarven Capadisli
f7d86f1cc6
Returning false seems to fix IE from reclaiming window focus. I think
...
'WTF' best describes this behaviour. Further investigation required.
2009-10-06 16:04:36 +00:00
Sarven Capadisli
e224da0bf6
Init styles for form_notice
2009-10-05 16:59:41 +00:00
Sarven Capadisli
9898a38b34
No longer need to style
2009-10-05 15:46:32 +00:00
Sarven Capadisli
7b4d138946
Init showNoticeFormData
2009-10-05 14:42:11 +00:00
Sarven Capadisli
676f681d22
Init mobile profile screen stylesheet. It reuses base and identica
...
themes. The handheld stylesheet could import this stylesheet as well.
2009-10-05 11:04:32 +00:00
Sarven Capadisli
5c01501f55
Minor correction
2009-10-05 10:29:34 +00:00
Sarven Capadisli
acda8d4c79
Init showPrimaryNav
2009-10-04 22:16:59 +00:00
Sarven Capadisli
479a5e74a3
Removed site_notice and anon_notice from output because this
...
information is not particularly crucial for the mobile user.
2009-10-04 21:42:38 +00:00
Sarven Capadisli
3c9f177c03
Stop output after showing header
2009-10-04 21:37:24 +00:00
Sarven Capadisli
d001c5f4b1
Init showLogo
2009-10-04 21:37:05 +00:00
Sarven Capadisli
5087a24c48
Init showHeader
2009-10-04 21:09:16 +00:00
Sarven Capadisli
fe4a49d4a5
If they are not on the mobile site or not interested in getting the
...
mobile profile, then give them the regular output.
2009-10-04 20:53:30 +00:00
Sarven Capadisli
3ee1af9aaa
Minor adjustment to indenting
2009-10-04 20:43:52 +00:00
Sarven Capadisli
ef7e4cb72d
If not meant to serveMobile, show the default styles
2009-10-04 20:42:03 +00:00
Sarven Capadisli
a7bed6f7d9
Added custom showHead
2009-10-04 16:50:53 +00:00
Sarven Capadisli
de2c4e36bc
Mobile Profile plugin will use the identica theme for now
2009-10-04 16:33:52 +00:00
Sarven Capadisli
7addccacaa
Added ability to define mobile stylesheets (handheld, screen) at the
...
theme level. If there are no mobile stylesheets in the theme
directory, it will use the ones that come with the plugin.
2009-10-04 16:26:04 +00:00
Sarven Capadisli
c64e1792bf
Fixed redirect. Added common_path for mobileserver
2009-10-04 13:58:29 +00:00
Sarven Capadisli
960207c81e
Don't redirect if mobile server is same as site server
2009-10-04 13:27:46 +00:00
Sarven Capadisli
54e8f583ac
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x-mobile
2009-10-04 11:12:42 +00:00
Evan Prodromou
affe00276a
remove spurious readme from Orbited
2009-10-04 04:11:10 -04:00
Evan Prodromou
650d2e2f8e
Merge branch 'orbited' into 0.9.x
2009-10-04 04:10:24 -04:00
Evan Prodromou
091e7b908b
need to show scripts at end of body in RealtimePlugin
2009-10-04 04:10:15 -04:00
Evan Prodromou
27ff66c9de
Some changes required from Orbited debugging
2009-10-04 04:05:40 -04:00
Evan Prodromou
035978270d
Update OrbitedPlugin to work with RealtimePlugin framework
2009-10-04 03:15:59 -04:00
Evan Prodromou
9c2d0879e9
updated OrbitedPlugin to use RealtimePlugin
2009-10-04 03:15:59 -04:00
Evan Prodromou
630dcda56f
remove unused files for OrbitedPlugin
2009-10-04 03:15:59 -04:00
Evan Prodromou
0d6314052f
rename plugin
2009-10-04 03:15:59 -04:00
Evan Prodromou
22b4a66de3
copy Comet plugin to Orbited
2009-10-04 03:15:59 -04:00
Sarven Capadisli
f344a49b11
Don't show .aside
2009-10-03 21:29:14 +00:00
Sarven Capadisli
63700f7958
Minor correction to public variable name
2009-10-03 20:22:40 +00:00
Sarven Capadisli
604cfd8b11
Updated comment about browser sniffing
2009-10-03 20:17:26 +00:00
Sarven Capadisli
c2046a9ab6
Better logic to determine what to do with the visitor. Whether to
...
serve them the Mobile Profile or not, and possibly redirect.
2009-10-02 15:38:20 +00:00
Sarven Capadisli
43cd0f8719
Don't need text/xml until further evidence
2009-10-02 12:46:26 +00:00
Sarven Capadisli
d09444309f
Init for WAP 2.0 and XHTML Mobile Profile support. WAP20Plugin is a
...
superclass for various WAP 2.0 document types. MobileProfilePlugin
extends WAP20Plugin and it is intended for serving XHTML Mobile
Profile 1.0.
Feature support for document types like WML 2.0 or WAP Push should be
created as seperate plugins and quite possibly extend WAP20Plugin.
2009-10-02 11:46:14 +00:00
Evan Prodromou
f65baaaa4f
change DB so OpenIDPlugin manages OpenID tables
2009-10-01 15:43:57 -04:00
Sarven Capadisli
a57783de02
Timeout a little incase the notice item from XHR response is
...
not appended to the page.
2009-09-30 13:29:37 +00:00
Sarven Capadisli
d9e7118a33
Relocated the button for pop up window for notice stream
2009-09-30 12:48:15 +00:00
Sarven Capadisli
267ab67c83
Script no longer needed for Realtime plugin
2009-09-30 12:22:55 +00:00
Sarven Capadisli
a68663588e
Merge branch '0.8.x' into 0.9.x
2009-09-28 17:55:09 +00:00
Sarven Capadisli
3694058976
Changed terminology for poping a window
2009-09-27 14:24:31 +00:00
Sarven Capadisli
60335fcbdf
Draw a line to indicate new (unread) notice in a timeline since window
...
blur. Inspired by Pidgin's Markerline plugin.
2009-09-27 14:06:39 +00:00
Sarven Capadisli
22332555cf
Aligned notice_data-attach input
2009-09-27 12:59:01 +00:00
Sarven Capadisli
7466887a2f
Adjusted form_notice width
2009-09-27 12:43:40 +00:00
Sarven Capadisli
3bba451021
Aligning notice_data-attach from top
2009-09-27 12:40:35 +00:00
Sarven Capadisli
8904f0f67d
Removing only notie_data-text label from view
2009-09-27 12:38:40 +00:00
Sarven Capadisli
c66a884ff5
Increated content width
2009-09-27 12:26:01 +00:00
Sarven Capadisli
3bc55e7b8b
Reduced form_notice margin bottom
2009-09-27 12:22:56 +00:00
Sarven Capadisli
7c335c28da
Updated window resize
2009-09-27 12:21:49 +00:00
Sarven Capadisli
4d92d7d52f
Removed form_notice label and h1 from view
2009-09-27 12:15:37 +00:00
Sarven Capadisli
a51339a219
Don't really need the header container. Adjusted some CSS instead
2009-09-27 11:49:18 +00:00
Sarven Capadisli
7d843b1122
jQuery.prepend takes a single param
2009-09-27 11:31:34 +00:00
Sarven Capadisli
2b6dfbdf2b
A different go at the realtime button location. Button is in a
...
prominent location.
2009-09-26 20:25:47 +00:00
CiaranG
bc2a0f550b
Updated Piwik plugin documentation to new addPlugin() installaation method
2009-09-25 21:25:20 +01:00
Craig Andrews
49bce941a9
Merge remote branch 'statusnet/0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/requesttoken.php
classes/File.php
install.php
lib/action.php
lib/noticeform.php
2009-09-24 17:15:54 -04:00
Craig Andrews
5323956e38
implemented etag and last modified
2009-09-24 13:48:38 -04:00
CiaranG
55fb322288
Fixed broken Piwik plugin - was not using the supplied site code
2009-09-24 11:01:18 +01:00
Evan Prodromou
543e3e7972
some UI fixes
2009-09-23 23:04:25 -04:00
Sarven Capadisli
d86155ad94
Using timeline string instead of title for WindowName because IE doesn't
...
like names with whitespace.
2009-09-23 22:04:39 +00:00
Sarven Capadisli
1f12993a4d
Added JavaScript to initialize the poped Window
2009-09-23 22:02:42 +00:00
Sarven Capadisli
ddb9518c99
Some layout and rendering adjustment for Realtime plugin
2009-09-23 22:00:22 +00:00
Sarven Capadisli
4d4bb089a5
Created addPop() for Realtime plugin and added param to include iconurl
2009-09-23 21:58:35 +00:00
Evan Prodromou
bdbc2cb8de
move some stuff around for realtime
2009-09-23 15:24:12 -04:00
Evan Prodromou
36e009349d
hack around address hack in util.js
2009-09-23 14:58:42 -04:00
Evan Prodromou
5152d31d2a
Add some more realtime feeds
2009-09-23 17:28:14 -04:00
Evan Prodromou
1fe11eabb6
Do realtime popup with PHP instead of Javascript
...
Move the realtime detection code to PHP extension rather than
JavaScript.
2009-09-23 17:07:20 -04:00
Evan Prodromou
6cb2f89983
Revert "Added realtime streams for all and showstream timelines"
...
This reverts commit 49e91ec7d0
.
2009-09-23 11:08:35 -04:00
Evan Prodromou
35eb33fe2b
Revert "Fixed indenting"
...
This reverts commit 182257cbbf
.
2009-09-23 11:08:12 -04:00
Evan Prodromou
87ff03890e
Revert "Made it slighly more compact with less jQuery selection"
...
This reverts commit c9bc390090
.
2009-09-23 11:07:56 -04:00
Evan Prodromou
e6cbe3a269
Revert "Added a check for any URL param. If found, strips them out before"
...
This reverts commit 13de845e95
.
2009-09-23 11:07:22 -04:00
Craig Andrews
5cccbe987f
Use new queue handler event
2009-09-21 16:33:15 -04:00
Craig Andrews
3bdf8423c4
Fix typo is default hub url
2009-09-21 16:29:22 -04:00
Sarven Capadisli
acd5a53257
Initial UI to allow certain timelines to be viewed in a new window in
...
realtime
2009-09-21 19:17:37 +00:00
Sarven Capadisli
470b34ea47
Escaping internal JavaScript
2009-09-21 18:30:22 +00:00
Sarven Capadisli
13de845e95
Added a check for any URL param. If found, strips them out before
...
going ahead with realtime timeline update.
2009-09-21 14:30:12 +00:00
Sarven Capadisli
c9bc390090
Made it slighly more compact with less jQuery selection
2009-09-21 11:35:56 +00:00
Sarven Capadisli
8f84bc88d7
Updated todo comment for pushing notices to Personal and Replies
...
timelines
2009-09-21 11:32:36 +00:00
Sarven Capadisli
182257cbbf
Fixed indenting
2009-09-20 15:20:10 +00:00
Sarven Capadisli
49e91ec7d0
Added realtime streams for all and showstream timelines
2009-09-20 15:14:46 +00:00
Craig Andrews
cf8944526e
Make the infinite scroll plugin have a non-infinite scroll (button click to scroll) mode
2009-09-19 22:53:39 -04:00
CiaranG
61121c192a
Additional note in Autocomplete plugin readme about private mode
2009-09-19 12:09:49 +01:00
CiaranG
fc0f871bfe
Correction to path in README of recaptcha plugin
2009-09-18 08:27:09 +01:00
Zach Copley
0190785b73
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x: (57 commits)
Updated csarven emails to csarven@status.net and removed dupes
statusize new HTTP classes
dedupe evans
change all evans to evan@status.net
add post to curlclient
fix user-agent for curlclient
add get to curl client
add cURL client with HEAD method
add user agent and correct version check to httpclient
statusize OpenID plugin
add http client config value
update httpclient class
move httputil to httpclient
Start a common library for HTTP client stuff
check correct define (not backwards compatible)
Fixed broken list items in installer output
Got rid of a bunch of ugly warnings
Add Jiminy to notice sources
Make it impossible to delete self-subscriptions via the API
Fix bad merge d7ae0ed4fd
...
2009-09-16 12:40:22 -07:00
Sarven Capadisli
fb39f577f5
Merge branch 'realtime' into 0.8.x
2009-09-16 16:05:52 +00:00
Sarven Capadisli
d9953e015b
Fixed missing quotes
2009-09-16 16:04:19 +00:00
Evan Prodromou
aef434f9b2
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x
2009-09-16 11:57:26 -04:00
Evan Prodromou
5ab1ec7ad5
make PiwikAnalytics work a little nicer
2009-09-16 11:57:07 -04:00
Sarven Capadisli
6568a3202d
Fixed typo
2009-09-16 13:29:46 +00:00
Evan Prodromou
99c74f2cc4
statusize OpenID plugin
2009-09-15 21:22:15 -04:00
Craig Andrews
4a97ad9efe
Remove unnecessary Profile::pkeyGet
...
Thanks for the info, Evan.
2009-09-15 17:08:26 -04:00
Sarven Capadisli
a9cf185e69
Updated XHR return markup for Realtime plugin
2009-09-15 13:53:16 +00:00
Craig Andrews
4a19c292fb
Make a new REST service for the autocomplete plugin, significantly reducing the size of the responses. Also enables caching in the browser.
2009-09-13 21:44:17 -04:00
Craig Andrews
9e2705d9d3
The site id was hardcoded inside the plugin code. Instead the piwikid
...
is used now.
Fixes http://status.net/trac/ticket/1864
Thanks zmf
2009-09-11 20:40:51 -04:00
Craig Andrews
d7ae0ed4fd
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/omb.php
2009-09-09 22:52:38 -04:00
Zach Copley
876f56254d
Moved basic auth client into plugin dir
2009-09-08 16:07:01 -07:00
Zach Copley
9d87313eae
Merge branch '0.9.x' into pluginize-twitter-bridge
...
Conflicts:
plugins/TwitterBridge/twitterauthorization.php
2009-09-08 16:02:57 -07:00
CiaranG
52a197b235
Linkback Plugin: check result properly so failures are not reported as a success in the log. Also logs (debug only) when an attempt is being made
2009-09-08 13:25:59 +01:00
Craig Andrews
beae3db413
Pluginize the URL shorteners
2009-09-03 14:58:50 -04:00
Craig Andrews
72a60d6381
Added a PubSubHubBub plugin
2009-08-28 14:43:31 -04:00
Evan Prodromou
5d09b6b3f0
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/finishremotesubscribe.php
actions/postnotice.php
actions/public.php
actions/remotesubscribe.php
actions/showstream.php
actions/updateprofile.php
actions/userauthorization.php
classes/laconica.ini
lib/common.php
lib/oauthstore.php
lib/omb.php
2009-08-27 11:16:45 -07:00
Evan Prodromou
f1fda6c050
Merge branch '0.8.x' into 0.9.x
2009-08-27 07:56:19 -07:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Evan Prodromou
e3a53251c0
last scrub of Laconica -> StatusNet
2009-08-26 03:33:43 -04:00
Zach Copley
5efe588174
Moved the rest of the Twitter stuff into the TwitterBridge plugin
2009-08-26 00:59:06 +00:00
Evan Prodromou
3567b9d708
global search and replace for laconica -> statusnet
2009-08-25 18:53:24 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
bfc66cfe19
Laconica in plugins
2009-08-25 18:29:56 -04:00
Zach Copley
9b9d80cd97
Pluginized Twitter settings stuff
2009-08-25 14:52:25 -07:00
Brenda Wallace
008a4898c8
moved template folder into it's own method, so can be overridden
2009-08-25 09:18:59 +12:00
Evan Prodromou
209486d3be
add OpenID doc menu item and doc page
2009-08-21 17:01:48 -04:00
Evan Prodromou
8e21e37d70
move openid docs to OpenID plugin dir
2009-08-21 16:46:47 -04:00
Evan Prodromou
bacef32aac
Revert "Added a configuration option to disable OpenID."
...
This reverts commit 7dc3a90d12
.
Conflicts:
actions/login.php
actions/register.php
lib/accountsettingsaction.php
lib/common.php
lib/logingroupnav.php
2009-08-21 16:38:39 -04:00
Evan Prodromou
9f356b55c6
Merge branch '0.9.x' into openidplugin
...
Conflicts:
actions/login.php
actions/register.php
2009-08-21 16:27:43 -04:00
Evan Prodromou
9f07921b45
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-21 15:30:03 -04:00
Evan Prodromou
041d2d82d3
We don't need to re-distribute jquery-autocomplete demo
2009-08-21 15:29:28 -04:00
Zach Copley
8507017c24
Better logging
2009-08-18 23:46:24 +00:00
Zach Copley
486167ad8e
Kick user out if she doesn't have FB cookies
2009-08-18 22:18:01 +00:00
Craig Andrews
2260cf20f5
Corrected the Infinite Scroll CSS Selectors
...
Thanks dcostalis for making me aware of the issue!
2009-08-11 23:05:46 -04:00
Craig Andrews
4f751563c7
Make notice attachment lightbox work after an infinite scroll happens
2009-08-11 16:36:34 -04:00
Craig Andrews
1330998b9b
Use jQuery instead of window.onLoad, which I believe will be faster and more reliable
2009-08-08 22:55:31 -04:00
Craig Andrews
9853d47137
Update README to use the addPlugin syntax to add the plugin (which seems cleaner)
2009-08-08 22:38:48 -04: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
932d1fb7ce
Move inline javascript to a separate js file
2009-08-06 15:26:13 -04:00
Craig Andrews
380c486626
I had my user info hardcoded... oops.
2009-08-06 15:19:33 -04:00
Craig Andrews
153248b482
Added the Autocomplete plugin
2009-08-06 14:39:59 -04:00
Craig Andrews
ca70874b0a
Use cssLink() to link to external css
2009-08-05 20:16:34 -04:00
Craig Andrews
5ba3383665
Use script() to write out javascript <script> tags
2009-08-05 20:15:00 -04:00
Craig Andrews
9a9195ecd8
Used script() function to write out the javascript link
2009-08-05 19:54:46 -04:00
Craig Andrews
95ba22c5d7
Switch DOCTYPE's to the XHTML 5 DOCTYPE
2009-08-05 18:27:27 -04:00
Craig Andrews
d77982b9b4
added Infinite Scroll plugin
2009-08-05 17:09:19 -04:00
Craig Andrews
83ff1cecd3
Use NICKNAME_FMT everywhere consistently
2009-08-05 16:26:19 -04:00
Evan Prodromou
5dc1291b59
move openid instructions to OpenIDPlugin
2009-08-04 13:27:22 -04:00
Evan Prodromou
622c0b24c3
move redirect-to-openid code to OpenID plugin
2009-08-04 13:17:43 -04:00
Evan Prodromou
2ed46ce274
move XRDS code from public action to OpenIDPlugin
2009-08-04 13:04:31 -04:00
Evan Prodromou
628a937108
say that it's OK to do OpenID login in private mode
2009-08-04 13:01:23 -04:00
Evan Prodromou
3997682d26
incorrectly moved user xrds to OpenID plugin; fixing
2009-08-04 13:01:23 -04:00
Evan Prodromou
0616ea0205
move check for SSL from util.php to OpenIDPlugin
2009-08-04 13:01:23 -04:00
Evan Prodromou
797f296974
fix require paths for OpenID plugin files
2009-08-04 13:01:23 -04:00
Evan Prodromou
f704a7029e
OpenIDPlugin autoloads class files
2009-08-04 13:01:23 -04:00
Evan Prodromou
3245357749
add account settings menu item for OpenID
2009-08-04 13:01:23 -04:00
Evan Prodromou
7a742a0572
show OpenID action in login nav
2009-08-04 13:01:23 -04:00
Evan Prodromou
6d64882270
OpenIDPlugin sets up actions for router
2009-08-04 13:01:23 -04:00
Evan Prodromou
2b79b4d21f
Move OpenID-related files to OpenID plugin directory
...
As a first step to pluginizing our OpenID support, I've moved the
important OpenID-related files to a dedicated plugin directory. Many
of these classes are still referred to by libraries that are still in
core.
2009-08-04 13:01:23 -04:00
Eric Helgeson
ff6e976d03
Added the 0.2 recaptcha plugin. Should work in all browsers. Please test.
2009-08-03 16:39:10 -05:00
Zach Copley
cd9748ad56
Attempt to reduce the number of calls to FB to speed things up
2009-07-30 19:34:32 +00:00
Evan Prodromou
c055449ee0
update Piwik analytics code
2009-07-16 10:56:46 -04:00
Zach Copley
87a9fe6013
Documentation for the Facebook Connect plugin
2009-07-15 19:03:35 -07:00
Zach Copley
a4a57eabe0
More tinkering with logout. I think I got it this time! It's been driving me crazy.
2009-07-16 00:47:48 +00:00
Evan Prodromou
5b081893a5
better callback functions for comet plugin
2009-07-15 15:31:57 -04:00
Evan Prodromou
1ae7357340
build channel strings in CometPlugin
2009-07-15 15:31:42 -04:00
Evan Prodromou
3da84feabd
Build channel strings in Meteor plugin
2009-07-15 15:31:06 -04:00
Evan Prodromou
8b1ac4ea20
let implementations build channel strings for realtime
2009-07-15 15:30:33 -04:00
Evan Prodromou
420980f0e0
changes to make realtime work for Meteor
2009-07-14 17:06:29 -04:00
Evan Prodromou
5ab718bf22
Change CometPlugin so it re-uses stuff from RealtimePlugin
2009-07-14 15:40:58 -04:00
Evan Prodromou
3baa1c6a85
pass proper args for realtime recipe methods
2009-07-14 15:39:02 -04:00
Evan Prodromou
86533d99d7
make RealtimePlugin work correctly
2009-07-14 15:26:39 -04:00
Evan Prodromou
7a84b349a2
added Realtime superclass
2009-07-13 09:58:52 -04:00
Evan Prodromou
824e04d50b
update README for Meteor plugin
2009-07-13 03:25:08 -04:00
Evan Prodromou
6ae7057b5c
correctly pass JSON object to receive function for Meteor
2009-07-13 03:15:39 -04:00
Evan Prodromou
55494720e5
add slashes to JSON so it goes across meteor.js channel correctly
2009-07-13 03:15:12 -04:00
Evan Prodromou
221f13a10d
Some changes for debugging
2009-07-11 13:23:37 -07:00
Evan Prodromou
cc317b169f
first version of Meteord plugin, doesn't work
2009-07-11 09:38:01 -07:00
Sarven Capadisli
79b06ade27
Removed OpenID link from the primary global navigation in order to
...
keep a single Login idea because we have several ways to login
already: regular login, OpenID and Facebook (and probably LDAP, Open
Social in the future)
2009-07-08 00:42:14 +00:00
Zach Copley
92e30b438e
Killed the FB Connect profile-pic bounce in all browsers
2009-07-01 22:47:21 +00:00
Sarven Capadisli
6c28a07cf5
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
2009-07-01 00:50:19 +00:00
Sarven Capadisli
015492daac
Improves the FB user avatar "bounce" in some browsers
2009-07-01 00:49:40 +00:00
Zach Copley
b10dba2798
Merge commit 'jeff-themovie/invite-enabled' into 0.8.x
...
* commit 'jeff-themovie/invite-enabled':
Adds $config['invite']['enabled'] to enable/disable invites.
2009-06-30 16:10:12 -07:00
Zach Copley
c162bf4d22
Forgot to include ImsettingsAction in the list of Actions to override
...
in order to add a Facebook tab to the Connect menu.
2009-06-30 11:55:34 -07:00
Zach Copley
13d5479a11
Only output Facebook namespace, scripts, css, etc. when strictly necessary
2009-06-30 04:57:59 +00:00
Zach Copley
e00f433314
Only use FB's Javascript logout, not its PHP method too
2009-06-30 01:54:08 +00:00
Zach Copley
dfb4ed5265
Factor out code to tell whether user's logged into FB into its own method
2009-06-30 00:49:59 +00:00
Jeffery To
6d308f6ffe
Adds $config['invite']['enabled'] to enable/disable invites.
...
The invite function may not applicable for private and/or closed installs. This adds a configuration option to enable/disable invites (defaulting to enabled), hides the "Invite" nav item when necessary, and adds a check to actions/invite.php.
Note that I haven't tried the Facebook application so I didn't add any checks to actions/facebookinvite.php.
2009-06-14 16:17:22 +08:00
Zach Copley
4f5630099f
Facebook Connect auth finally works with all major browsers!
2009-06-04 21:33:04 +00:00
Zach Copley
1e9c5b52b4
FB Connect plugin - better workflow for disconnecting and reconnecting Facebook accounts
2009-05-28 00:08:00 +00:00
Sarven Capadisli
0b9c65ce4f
Facebook Connect account setup markup and CSS rearrangement for
...
license information (it comes before and applies to both connection
options)
2009-05-22 01:53:58 +00:00
Sarven Capadisli
5b1ba5619c
Form markup for Facebook Connect
2009-05-22 01:43:01 +00:00
Sarven Capadisli
eeb54ec97a
Minor alignment for FB logo
2009-05-22 01:29:16 +00:00
Sarven Capadisli
a418958a01
Styles for Facebook logo and user avatar
2009-05-22 01:25:43 +00:00
Zach Copley
b134784df9
Custom stylesheet for the Facebook Connect plugin
2009-05-22 01:22:07 +00:00
Zach Copley
eaf2a98daf
- Show Facebook profile pic and favicon as dictated by Facebook Connnect policy
...
- Logout fixed, again (cleans up Facebook cookies now)
2009-05-22 00:54:22 +00:00
Zach Copley
07de94ca99
Merge branch '0.8.x' into fbconnect
2009-05-21 05:46:38 +00:00
Zach Copley
54cd0a2046
- Reworked login / logout workflow
...
- Added Facebook Connect tab to login nav
- Show Facebook mini-avatar when logged in
- Added Facebook Connect tab to connect settings nav
- Option to disconnect from Facebook
2009-05-21 05:43:11 +00:00
Sarven Capadisli
7ae2ed7cfc
Merge branch '0.7.x' into 0.8.x
2009-05-20 23:40:44 +00:00
Zach Copley
8545a1c5fe
Reorganized some stuff and made new Facebook Login tab
2009-05-20 06:46:11 +00:00
Zach Copley
f841dd6af4
Fixed sporatic problem with logout.
2009-05-20 00:55:59 +00:00
Zach Copley
35b3934233
Logout works properly now.
2009-05-19 01:07:45 +00:00
Evan Prodromou
5a0edc9b8c
remove debugging calls
2009-05-17 12:37:04 -04:00
Zach Copley
3f44f94c3c
Basic Facebook Connect plugin
2009-05-15 23:16:23 +00:00
Evan Prodromou
c6526c84f5
License link, no title
2009-05-15 18:16:32 -04:00
Evan Prodromou
caadd8ed93
add WikiHashtagsPlugin
2009-05-15 17:57:26 -04:00
Evan Prodromou
b12e72ae31
optionally add a username/password on server side for Comet
2009-05-01 09:42:38 -07:00
Evan Prodromou
5affe093ab
add in_reply_to link and make HTML in source work correctly
2009-05-01 08:39:47 -07:00
Evan Prodromou
1a61a171cd
Merge branch '0.7.x' into cometplugin
2009-05-01 08:00:41 -07:00
Evan Prodromou
a86a0e91a5
add favor, reply, delete buttons for cometed notices
2009-05-01 08:00:37 -07:00
Evan Prodromou
8cf8298dc0
Merge branch 'cometplugin' into 0.7.x
2009-04-27 15:28:36 -04:00
Evan Prodromou
e97223b2ba
Don't add a notice if it already exists on the page
...
Try not to interfere with Ajax posting; don't show something if it's
already on the page.
2009-04-26 21:15:11 -04:00
Evan Prodromou
db3b56a2fd
Display rendered HTML for a notice
...
Display the rendered HTML for a notice
2009-04-26 20:50:39 -04:00
Evan Prodromou
e438334c00
add live updating for tag pages
2009-04-26 18:00:06 -04:00
Evan Prodromou
df677cb9c1
Merge branch 'cometplugin' into 0.7.x
2009-04-26 15:42:07 -04:00
Evan Prodromou
781341d91f
README for the comet plugin
2009-04-26 15:41:55 -04:00
Evan Prodromou
7dbb5fb8fd
Make notice auto-update
...
Shows notices auto-updating
2009-04-26 15:37:00 -04:00
Evan Prodromou
ccf45d454c
Lots of tweaking to make things work
...
Did some tweaking and maneuvering to make things work. This version
will now show a "notice received" alert box -- lots of progress! Had
to test with Java server, not Python server.
2009-04-26 15:08:49 -04:00
Evan Prodromou
262dbeac78
Some updates for testing Comet
2009-04-26 12:06:50 -04:00
Evan Prodromou
056d0a2555
remove unused duplicate file
2009-04-25 14:20:57 -04:00
Evan Prodromou
5e6eb27f84
first pass at Comet plugin; doesn't yet update
2009-04-25 14:20:24 -04:00
Evan Prodromou
ecb09fb864
check for existence of xmlrpc extension in LinkbackPlugin
2009-04-24 13:31:03 -04:00
Evan Prodromou
b1940bcb7b
escape slash in regexp
2009-04-14 16:01:02 -04:00
Evan Prodromou
00dfdb3f3a
Merge branch 'master' of git://gitorious.org/laconica/brianjesse-clone into brianjesse-clone/master
2009-04-07 22:32:58 -04:00
Evan Prodromou
a4919eab6a
Linkback plugin does pingback by default
...
We do pingback by default for the linkback plugin.
2009-03-28 17:11:21 -04:00
Brian
af887119ac
TemplatePlugin.php 0.1
2009-03-24 12:41:03 -07:00
Tobias Diekershoff
0d880d0d14
Piwik analytics plugin
...
Piwik (http://piwik.org/ ) is an Open Source analytics engine. This
plugin lets you include Piwik in your Laconica installation.
2009-03-13 08:52:01 -04:00
Evan Prodromou
dfd9e31859
Add initial trackback support
2009-03-11 19:42:53 -04:00
Evan Prodromou
c97142ad3e
first version of plugin for pingback and trackback (no trackback yet)
2009-03-08 11:50:55 -07:00
Evan Prodromou
cc38809764
First version of blogspam.net plugin
...
Added a plugin for blogspam.net. The service is kind of aggressive,
so by default I turn a lot of the tests off. But worth a look.
2009-02-16 16:34:07 -05:00
Sarven Capadisli
21f6c91161
Minor correction: pikiw -> piwik
2009-02-11 19:56:17 +00:00
Evan Prodromou
2e518c9d5e
Sample plugin for Google Analytics
...
A common request is to use Google Analytics for Laconica servers. This
plugin will add the correct spell to make Google Analytics work.
2009-02-09 09:14:44 -05:00