Commit Graph

313 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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