]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Brion Vibber [Tue, 26 Jan 2010 19:49:49 +0000 (11:49 -0800)]
Control channel for queue daemons to request graceful shutdown, restart, or update to listen to a newly added or reconfigured site.
queuectl.php --update -s<site>
queuectl.php --stop
queuectl.php --restart
Default control channel is /topic/statusnet-control. For external utilities to send a site update ping direct to the queue server, connect via Stomp and send a message formatted thus:
update:<nickname>
(Nickname here, *not* server hostname! The rest of the queues will be updated to use nicknames later.)
Note that all currently-connected queue daemons will get these notifications, including both queuedaemon.php and xmppdaemon.php. (XMPP will ignore site update requests for sites that it's not handling.)
Limitations:
* only implemented for stomp queue manager so far
* --update may not yet handle a changed server name properly
* --restart won't reload PHP code files that were already loaded at startup. Still need to stop and restart the daemons from 'outside' when updating code base.
Brion Vibber [Tue, 26 Jan 2010 17:25:39 +0000 (09:25 -0800)]
Site metadata tags in status_network: single 'tags' field, pipe-separated.
$sn->tags() returns tag list as array; $sn->hasTag('blah') to check for a particular tag only
Could be used to control things in config file:
$sn = Status_network::setupSite($_server, $_path, $_wildcard);
if (!$sn) { die("No such site"); }
if ($sn->hasTag('individual')) { /* blah */ }
Note memcached keys are unchanged; if tags are changed from an external tool clear:
statusnet:<dbname>:status_network:<key>:<val>
for <key>s 'nickname', 'hostname', and 'pathname'
Sarven Capadisli [Tue, 26 Jan 2010 18:13:05 +0000 (19:13 +0100)]
Updated geolocation sharing in notice form for Realtime pop
Zach Copley [Tue, 26 Jan 2010 07:50:01 +0000 (07:50 +0000)]
Add Julien C to author comments
Zach Copley [Tue, 26 Jan 2010 07:29:40 +0000 (07:29 +0000)]
- Remove redundant function
- clean up log msgs
Zach Copley [Tue, 26 Jan 2010 02:40:44 +0000 (02:40 +0000)]
Use "Sign in with Twitter" auth pattern and official Twitter button for Twitter-based login.
See: http://apiwiki.twitter.com/Sign-in-with-Twitter
Zach Copley [Tue, 26 Jan 2010 01:51:40 +0000 (01:51 +0000)]
Ask the user to set a password before disconnecting from Twitter
Zach Copley [Tue, 26 Jan 2010 01:25:33 +0000 (01:25 +0000)]
- Twitter username wasn't getting stored in Foreign_user when linking Twitter account (fixed)
- Updates to comments
Julien C [Tue, 8 Dec 2009 21:16:03 +0000 (22:16 +0100)]
Allow logging in using Twitter
Signed-off-by: Julien C <chaumond@gmail.com>
Evan Prodromou [Tue, 26 Jan 2010 05:21:05 +0000 (00:21 -0500)]
Single-user mode
New configuration options to define a single-user mode. This hides
most of the "community" pages, like the public timeline and groups.
The main user's timeline becomes the main page, and most other URLs
are changed.
Switching back and forth between 1-user and multi-user mode is
probably hazardous.
Squashed commit of the following:
commit
d814aa5c92d14a27a12baba7893f3f8bf63f1d08
Author: Evan Prodromou <evan@status.net>
Date: Tue Jan 26 00:17:27 2010 -0500
don't show inbox and outbox in single-user mode
commit
47f19b9523a7015d4c6e460b73ea32c839e00aa1
Author: Evan Prodromou <evan@status.net>
Date: Tue Jan 26 00:15:22 2010 -0500
show correct URL for logo in single-user mode
commit
552010cffc33eadbc512ec5a67619dbc2015239a
Author: Evan Prodromou <evan@status.net>
Date: Tue Jan 26 00:15:06 2010 -0500
make singleuser its own config section
commit
786ab260a3ca172e57b555c75ca10946d8f258a1
Author: Evan Prodromou <evan@status.net>
Date: Tue Jan 26 00:05:19 2010 -0500
make single-user mode work
commit
5b21d7309b3a8dd5a4e0f29aea76f7897f1818b1
Author: Evan Prodromou <evan@status.net>
Date: Mon Jan 25 23:45:55 2010 -0500
add single-user mode
Sarven Capadisli [Tue, 26 Jan 2010 00:58:58 +0000 (01:58 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Tue, 26 Jan 2010 00:58:10 +0000 (01:58 +0100)]
Setting the geo location cookie expire date far into the future: 2029 ;)
Evan Prodromou [Mon, 25 Jan 2010 23:13:09 +0000 (18:13 -0500)]
Merge branch 'master' into testing
Conflicts:
lib/queuemanager.php
Evan Prodromou [Mon, 25 Jan 2010 23:08:21 +0000 (18:08 -0500)]
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
Brion Vibber [Mon, 25 Jan 2010 21:48:24 +0000 (13:48 -0800)]
Fix presence notification on XMPP thread (now foreground, not background)
Brion Vibber [Mon, 25 Jan 2010 21:48:24 +0000 (13:48 -0800)]
Fix presence notification on XMPP thread (now foreground, not background)
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
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
Evan Prodromou [Sun, 24 Jan 2010 20:57:56 +0000 (15:57 -0500)]
set correct key types for User_flag_profile
Evan Prodromou [Sun, 24 Jan 2010 16:20:08 +0000 (11:20 -0500)]
add function doc comment to User_flag_profile::create()
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