Brion Vibber [Mon, 25 Jan 2010 17:41:40 +0000 (09:41 -0800)]
quick fix to console.php: don't save blank lines into readline history
Brion Vibber [Mon, 25 Jan 2010 17:36:20 +0000 (09:36 -0800)]
drop now-unused --skip-xmpp and --xmpp-only options from queuedaemon.php
Brion Vibber [Mon, 25 Jan 2010 17:07:24 +0000 (09:07 -0800)]
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.]
Sarven Capadisli [Mon, 25 Jan 2010 14:55:04 +0000 (14:55 +0000)]
An update to geolocation cookie to use a single file and set the
expiry date to 30 days from now.
Evan Prodromou [Mon, 25 Jan 2010 03:59:22 +0000 (22:59 -0500)]
fix interpolation of positional arguments to sprintf in tag action
Evan Prodromou [Mon, 25 Jan 2010 03:57:33 +0000 (22:57 -0500)]
fix interpolation of positional arguments to sprintf in show group
Evan Prodromou [Mon, 25 Jan 2010 03:56:41 +0000 (22:56 -0500)]
fix interpolation of positional arguments to sprintf in show favorites
Evan Prodromou [Mon, 25 Jan 2010 03:55:29 +0000 (22:55 -0500)]
fix interpolation of positional arguments to sprintf in usergroups
Evan Prodromou [Mon, 25 Jan 2010 03:54:25 +0000 (22:54 -0500)]
fix interpolation of positional arguments to sprintf in inbox
Evan Prodromou [Mon, 25 Jan 2010 03:53:29 +0000 (22:53 -0500)]
fix interpolation of positional arguments to sprintf in outbox
Evan Prodromou [Mon, 25 Jan 2010 03:52:03 +0000 (22:52 -0500)]
fix interpolation for positional arguments in replies
Evan Prodromou [Mon, 25 Jan 2010 03:50:07 +0000 (22:50 -0500)]
fix interpolation for positional arguments in showstream
Evan Prodromou [Mon, 25 Jan 2010 03:42:29 +0000 (22:42 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 25 Jan 2010 03:39:32 +0000 (22:39 -0500)]
Recover caching logic lost in bad merge
I made a bad merge on Jan 10th from master to 0.9.x. This lost a number
of memcache enhancements made on the 0.9.x branch. I've been able to
re-do the manual merge, and this represents the changes. Most of them
are related to caching on insert.
Zach Copley [Thu, 14 Jan 2010 02:38:01 +0000 (02:38 +0000)]
- Had to remove checking read vs. read-write in OAuth authenticated methods
- Will now pick up source attr from OAuth app
Zach Copley [Thu, 21 Jan 2010 02:01:07 +0000 (18:01 -0800)]
Add Start/EndSetApiUser events when setting API user via OAuth
Sarven Capadisli [Thu, 14 Jan 2010 02:32:59 +0000 (02:32 +0000)]
More relaxed selector for application icon and form checkbox
Zach Copley [Thu, 14 Jan 2010 02:16:03 +0000 (02:16 +0000)]
Check for read vs. read-write access on OAuth authenticated API mehtods.
Zach Copley [Thu, 14 Jan 2010 00:56:52 +0000 (16:56 -0800)]
Fixed some spelling mistakes in the README
Zach Copley [Thu, 14 Jan 2010 00:52:33 +0000 (16:52 -0800)]
Some rough test scripts for poking at the OAuth system
Zach Copley [Wed, 13 Jan 2010 21:31:19 +0000 (21:31 +0000)]
Add verifier and verified callback to token for OAuth 1.0a
Zach Copley [Wed, 13 Jan 2010 21:14:22 +0000 (21:14 +0000)]
Remove verifier from Oauth_application_user (not needed there)
Zach Copley [Wed, 13 Jan 2010 21:11:08 +0000 (21:11 +0000)]
Revoke access token UI
Sarven Capadisli [Wed, 13 Jan 2010 20:43:23 +0000 (20:43 +0000)]
Changed legend text from Login to Account because it is not really
logging iny
Sarven Capadisli [Wed, 13 Jan 2010 20:10:09 +0000 (20:10 +0000)]
Updated apioauthauthorize markup and styles
Zach Copley [Wed, 13 Jan 2010 18:33:13 +0000 (18:33 +0000)]
Fix approval date and label on apps list
Zach Copley [Wed, 13 Jan 2010 18:20:03 +0000 (18:20 +0000)]
Ensure only the application's owner can edit it
Zach Copley [Wed, 13 Jan 2010 17:52:25 +0000 (17:52 +0000)]
Fix user count
Zach Copley [Wed, 13 Jan 2010 11:31:15 +0000 (11:31 +0000)]
Make sure applications are really looked up by consumer key
Zach Copley [Wed, 13 Jan 2010 07:33:51 +0000 (07:33 +0000)]
Rework application registration workflow to be more private
Zach Copley [Wed, 13 Jan 2010 05:31:48 +0000 (05:31 +0000)]
Fix icon upload on new apps
Zach Copley [Wed, 13 Jan 2010 05:06:35 +0000 (05:06 +0000)]
OAuth 1.0 working now
Zach Copley [Wed, 13 Jan 2010 01:22:37 +0000 (01:22 +0000)]
Can now edit/change application icon
Zach Copley [Wed, 13 Jan 2010 01:16:42 +0000 (01:16 +0000)]
Callback URL can be null
Sarven Capadisli [Tue, 12 Jan 2010 02:50:54 +0000 (02:50 +0000)]
Updated markup for application edit form; image, radios
Sarven Capadisli [Tue, 12 Jan 2010 01:52:59 +0000 (01:52 +0000)]
A little minimization
Sarven Capadisli [Tue, 12 Jan 2010 01:44:15 +0000 (01:44 +0000)]
Added vcard and photo classes
Sarven Capadisli [Tue, 12 Jan 2010 01:41:38 +0000 (01:41 +0000)]
Moved application image inside the anchor
Sarven Capadisli [Tue, 12 Jan 2010 01:36:08 +0000 (01:36 +0000)]
Added missing end tag
Zach Copley [Tue, 12 Jan 2010 01:30:56 +0000 (17:30 -0800)]
Make API auth handle OAuth requests w/access tokens
Sarven Capadisli [Tue, 12 Jan 2010 01:29:09 +0000 (01:29 +0000)]
Fixed tabbing
Sarven Capadisli [Tue, 12 Jan 2010 01:13:36 +0000 (01:13 +0000)]
Added anchors to application source and homepage
Sarven Capadisli [Tue, 12 Jan 2010 01:02:25 +0000 (01:02 +0000)]
Updated markup for application details page. Similar to user/group
profile page.
Sarven Capadisli [Tue, 12 Jan 2010 01:01:45 +0000 (01:01 +0000)]
Updated class for application list
Sarven Capadisli [Mon, 11 Jan 2010 23:51:12 +0000 (23:51 +0000)]
Updated markup for application details
Sarven Capadisli [Mon, 11 Jan 2010 22:54:46 +0000 (22:54 +0000)]
Updated markup for application registration and view links
Sarven Capadisli [Mon, 11 Jan 2010 22:46:35 +0000 (22:46 +0000)]
Updated markup for application edit form submits
Zach Copley [Mon, 11 Jan 2010 22:11:43 +0000 (14:11 -0800)]
Better detial in connected OAuth applications list
Zach Copley [Mon, 11 Jan 2010 20:52:56 +0000 (12:52 -0800)]
Issue a warning when someone tries to exchange an unauthorized or
otherwise bad req token for an access token.
Zach Copley [Mon, 11 Jan 2010 20:17:36 +0000 (12:17 -0800)]
Decided we didn't need to keep the token secret in the
Oauth_application_user record
Zach Copley [Mon, 11 Jan 2010 09:11:50 +0000 (01:11 -0800)]
Exchanging authorized request tokens for access tokens working
Zach Copley [Mon, 11 Jan 2010 07:03:30 +0000 (23:03 -0800)]
Associate request tokens with OAuth apps and app users
Zach Copley [Mon, 11 Jan 2010 05:35:46 +0000 (21:35 -0800)]
Workflow for request tokens and authorizing request tokens
Zach Copley [Fri, 8 Jan 2010 02:33:17 +0000 (18:33 -0800)]
Action for issuing a request token
Zach Copley [Thu, 7 Jan 2010 21:19:21 +0000 (13:19 -0800)]
Stubs for API OAuth token exchange stuff
Zach Copley [Thu, 7 Jan 2010 09:55:57 +0000 (01:55 -0800)]
Add icons/icon upload to Oauth apps
Zach Copley [Tue, 17 Nov 2009 02:12:39 +0000 (18:12 -0800)]
Added session token checking.
Zach Copley [Tue, 17 Nov 2009 00:58:49 +0000 (16:58 -0800)]
Workflow for registering new OAuth apps pretty much done.
Zach Copley [Sat, 14 Nov 2009 03:10:38 +0000 (19:10 -0800)]
It might help if I checkd in statusnet.ini.
Zach Copley [Sat, 14 Nov 2009 03:02:18 +0000 (19:02 -0800)]
Reorganized the OAuth app URLs and more work on the register app workflow
Zach Copley [Fri, 13 Nov 2009 03:42:18 +0000 (19:42 -0800)]
Started work on interface for displaying connected OAuth apps
Zach Copley [Fri, 13 Nov 2009 03:34:13 +0000 (19:34 -0800)]
Changed the OAuth app tables to refer to profiles instead of users.
Added an owner column to oauth_application.
Zach Copley [Wed, 11 Nov 2009 01:10:56 +0000 (17:10 -0800)]
Add new OAuth application tables and DataObjects. Also add a new
column for consumer secret to consumer table.
Brion Vibber [Sun, 24 Jan 2010 23:44:09 +0000 (15:44 -0800)]
Use new StatusNetwork->serverName() to get full domain for wildcard config until we rebuild queues to be based on nicknames.
Fixes live bug with new *.status.net sites breaking queuedaemon.php
Evan Prodromou [Sun, 24 Jan 2010 23:19:13 +0000 (18:19 -0500)]
defaults for nickname and wildcard
Evan Prodromou [Sun, 24 Jan 2010 23:18:24 +0000 (18:18 -0500)]
save nickname and wildcard when setting up status network
Sarven Capadisli [Sun, 24 Jan 2010 14:34:40 +0000 (15:34 +0100)]
Added version info for MobileProfile plugin
Sarven Capadisli [Thu, 21 Jan 2010 12:23:04 +0000 (13:23 +0100)]
Removed mobile stylesheet from core output. If Mobile support is
seeked, MobileProfile plugin should be used.
Sarven Capadisli [Wed, 20 Jan 2010 17:50:48 +0000 (18:50 +0100)]
Better alignment for notice options in MobileProfile
Sarven Capadisli [Wed, 20 Jan 2010 17:32:24 +0000 (18:32 +0100)]
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.
Sarven Capadisli [Mon, 18 Jan 2010 17:17:02 +0000 (17:17 +0000)]
Missing null className for incoming email form legend
Sarven Capadisli [Mon, 18 Jan 2010 12:55:14 +0000 (12:55 +0000)]
Some JS cleaning up for NoticeLocationAttach (which fixes also fixes a
few bugs in WebKit)
Sarven Capadisli [Mon, 18 Jan 2010 11:29:05 +0000 (11:29 +0000)]
Updated path to farbtastic stylesheet
Sarven Capadisli [Mon, 18 Jan 2010 11:12:05 +0000 (11:12 +0000)]
Moved farbtastic's stylesheet to use relative paths for its own images
Sarven Capadisli [Sun, 17 Jan 2010 22:31:47 +0000 (22:31 +0000)]
Took out focus out of textare when location share is enabled/disabled.
Also avoids the conflict with the URL fragment on the conversation page.
Sarven Capadisli [Sun, 17 Jan 2010 19:45:35 +0000 (19:45 +0000)]
Updated UI for notice aside content and notice options in MobileProfile
Sarven Capadisli [Sun, 17 Jan 2010 14:04:47 +0000 (14:04 +0000)]
Inline script for maxlength is deprecated
Sarven Capadisli [Sat, 16 Jan 2010 20:57:18 +0000 (20:57 +0000)]
Using visibility:hidden instead of display:none for checkbox
Sarven Capadisli [Sat, 16 Jan 2010 20:10:46 +0000 (20:10 +0000)]
Added missing position paramater
Sarven Capadisli [Sat, 16 Jan 2010 19:44:37 +0000 (19:44 +0000)]
JSLinting on JSON
Sarven Capadisli [Sat, 16 Jan 2010 19:42:32 +0000 (19:42 +0000)]
Some JSlint-ing
Sarven Capadisli [Sat, 16 Jan 2010 19:16:44 +0000 (19:16 +0000)]
Removed extra comma in object
Craig Andrews [Thu, 14 Jan 2010 03:05:22 +0000 (22:05 -0500)]
Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty."
This reverts commit
749b8b5b8ca4d1c39d350879aadddbdb9d8b71d5.
Sarven Capadisli [Tue, 12 Jan 2010 02:51:33 +0000 (02:51 +0000)]
Styles for image max width/height and radio form controls
Sarven Capadisli [Tue, 12 Jan 2010 02:33:36 +0000 (02:33 +0000)]
Added key icon for application key and secret rest action
Sarven Capadisli [Tue, 12 Jan 2010 02:04:20 +0000 (02:04 +0000)]
Styles for application list
Sarven Capadisli [Tue, 12 Jan 2010 01:02:55 +0000 (01:02 +0000)]
Styles for application details page
Sarven Capadisli [Thu, 21 Jan 2010 15:49:49 +0000 (16:49 +0100)]
Event hooks for before and after site_notice
Brion Vibber [Fri, 22 Jan 2010 23:04:53 +0000 (15:04 -0800)]
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)
Brion Vibber [Fri, 22 Jan 2010 21:58:20 +0000 (13:58 -0800)]
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.
Brion Vibber [Fri, 22 Jan 2010 21:49:05 +0000 (13:49 -0800)]
Fix unqueuemanager for updated QueueHandler interface
Brion Vibber [Fri, 22 Jan 2010 20:35:05 +0000 (12:35 -0800)]
Fix for stuck queue messages: wrap processing in stomp transactions so our lack of an ACK if PHP dies actually triggers redelivery.
Previously, messages once delivered would just get stuck in the queue seemingly forever if they never got ACKed.
Note this could lead to partial duplication, for instance if the OMB or Twitter queue handlers die after 1/2 of the outgoing sends.
Recommendations:
* catch exceptions more aggressively within queue handlers (so only PHP fatal errors are likely to kill in the middle)
* for processing that involves sending to multiple clients, consider a second queue similar to the XMPP output, eg for OMB:
- first queue gets delivery list and builds message data, enqueueing it for each target address
- second queue can handle each individual outgoing message (and attempt redelivery etc separately)
This would also protect better against a recurring error preventing delivery in the second part, and could spread out any slow sends over multiple threads.
Sarven Capadisli [Fri, 22 Jan 2010 18:18:14 +0000 (19:18 +0100)]
Fixed innerHTML problem in IE7 and 8 for badge script
Evan Prodromou [Fri, 22 Jan 2010 19:18:21 +0000 (14:18 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Fri, 22 Jan 2010 19:13:28 +0000 (14:13 -0500)]
do actual language negotiation for help docs
Evan Prodromou [Wed, 7 Oct 2009 09:14:25 +0000 (05:14 -0400)]
restructure doc.php for new use
Evan Prodromou [Tue, 6 Oct 2009 19:29:22 +0000 (15:29 -0400)]
action/doc.php is PHPCS clean
Evan Prodromou [Fri, 22 Jan 2010 15:46:11 +0000 (10:46 -0500)]
Memcached_DataObject unnecessarily require_once'd itself
Brion Vibber [Fri, 22 Jan 2010 00:42:50 +0000 (16:42 -0800)]
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.
Brion Vibber [Fri, 22 Jan 2010 00:34:26 +0000 (16:34 -0800)]
drop debug line from xmppdaemon.php, we're done debugging that