Commit Graph

587 Commits

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