Evan Prodromou [Mon, 16 Nov 2009 16:54:50 +0000 (17:54 +0100)]
use return-to method for UserProfile widget
Evan Prodromou [Mon, 16 Nov 2009 16:54:34 +0000 (17:54 +0100)]
getting arguments for return-to processing
Evan Prodromou [Mon, 16 Nov 2009 16:43:15 +0000 (17:43 +0100)]
start showing actions for flagged profiles
Evan Prodromou [Mon, 16 Nov 2009 16:06:35 +0000 (17:06 +0100)]
add routes for silence, sandbox, delete user
Evan Prodromou [Mon, 16 Nov 2009 16:06:12 +0000 (17:06 +0100)]
correct constructor for DeleteUserForm
Evan Prodromou [Mon, 16 Nov 2009 16:05:39 +0000 (17:05 +0100)]
give UnsilenceForm correct superclass
Evan Prodromou [Mon, 16 Nov 2009 16:05:31 +0000 (17:05 +0100)]
give UnsandboxForm correct superclass
Evan Prodromou [Mon, 16 Nov 2009 16:05:03 +0000 (17:05 +0100)]
give SilenceForm proper superclass
Evan Prodromou [Mon, 16 Nov 2009 16:04:40 +0000 (17:04 +0100)]
DeleteUserAction
Evan Prodromou [Mon, 16 Nov 2009 15:14:49 +0000 (16:14 +0100)]
make block action use ProfileFormAction superclass
Evan Prodromou [Mon, 16 Nov 2009 15:08:06 +0000 (16:08 +0100)]
add sandbox and silence actions
Evan Prodromou [Mon, 16 Nov 2009 15:06:52 +0000 (16:06 +0100)]
change uses of User_role to Profile_role
Evan Prodromou [Mon, 16 Nov 2009 15:05:22 +0000 (16:05 +0100)]
fix exe flag after createTable
Evan Prodromou [Mon, 16 Nov 2009 15:04:51 +0000 (16:04 +0100)]
remove User_role class
Evan Prodromou [Mon, 16 Nov 2009 15:02:47 +0000 (16:02 +0100)]
Rename user_role to profile_role
Renamed the user_role table to profile_role. Remote users can have a
role on the site; that 'role' may be negative (silenced or sandboxed).
Evan Prodromou [Mon, 16 Nov 2009 14:52:33 +0000 (15:52 +0100)]
move role functions to Profile class
Evan Prodromou [Mon, 16 Nov 2009 13:40:04 +0000 (14:40 +0100)]
make block actions use profileformaction superclass
Evan Prodromou [Mon, 16 Nov 2009 13:28:58 +0000 (14:28 +0100)]
common superclass for actions that operate on a profile and return
Evan Prodromou [Sun, 15 Nov 2009 15:00:29 +0000 (16:00 +0100)]
add forms for silence, sandbox, delete user
Evan Prodromou [Sun, 15 Nov 2009 14:59:10 +0000 (15:59 +0100)]
define rights around how to silence, sandbox, and delete a user
Evan Prodromou [Sun, 15 Nov 2009 14:57:59 +0000 (15:57 +0100)]
unblockform uses profileactionform
Evan Prodromou [Sun, 15 Nov 2009 14:57:52 +0000 (15:57 +0100)]
blockform uses profileactionform
Evan Prodromou [Sun, 15 Nov 2009 14:57:37 +0000 (15:57 +0100)]
common superclass for forms that operate on a profile
Evan Prodromou [Sat, 14 Nov 2009 16:38:10 +0000 (17:38 +0100)]
Revert "Ask users if they wish to send statistics to SNI, default is off."
This reverts commit
7efea1115f45b8880fe3161cc32b09510ddd2264.
Conflicts:
install.php
Evan Prodromou [Sat, 14 Nov 2009 16:14:35 +0000 (17:14 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
brenda [Sat, 14 Nov 2009 03:52:39 +0000 (16:52 +1300)]
don't offer install.php on check-fancy requests
this time, E_STRICT compliant
brenda [Sat, 14 Nov 2009 03:34:36 +0000 (16:34 +1300)]
postgresl update script now working in postgres
Brion Vibber [Fri, 13 Nov 2009 23:36:14 +0000 (15:36 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 13 Nov 2009 23:34:15 +0000 (15:34 -0800)]
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.
Craig Andrews [Fri, 13 Nov 2009 22:56:14 +0000 (17:56 -0500)]
Fix to work with csarven's changes to util.js
Craig Andrews [Wed, 11 Nov 2009 20:38:28 +0000 (15:38 -0500)]
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
Sarven Capadisli [Fri, 13 Nov 2009 20:57:59 +0000 (20:57 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Fri, 13 Nov 2009 20:56:55 +0000 (20:56 +0000)]
Separated NoticeFavor and calling it from FormNoticeXHR success
Siebrand Mazeland [Fri, 13 Nov 2009 20:48:04 +0000 (21:48 +0100)]
Localisation updates from translatewiki.net (2009-11-13)
Sarven Capadisli [Fri, 13 Nov 2009 19:35:27 +0000 (19:35 +0000)]
Rearranged selectors for processing style
Craig Andrews [Fri, 13 Nov 2009 18:11:28 +0000 (13:11 -0500)]
Refactor User_username object creation to reuse code
Craig Andrews [Fri, 13 Nov 2009 17:54:27 +0000 (12:54 -0500)]
autoregister returns the new user on success (not just true)
Sarven Capadisli [Fri, 13 Nov 2009 13:21:16 +0000 (13:21 +0000)]
Added .processing styles for pagination
Sarven Capadisli [Fri, 13 Nov 2009 12:26:24 +0000 (12:26 +0000)]
Moved class="pagination" to child element and removed element
Sarven Capadisli [Fri, 13 Nov 2009 12:13:38 +0000 (12:13 +0000)]
Added hAtom for profile and group lists
Siebrand Mazeland [Fri, 13 Nov 2009 10:28:54 +0000 (11:28 +0100)]
Fix typo (!. -> !)
Craig Andrews [Fri, 13 Nov 2009 01:15:10 +0000 (20:15 -0500)]
blasted, that should not be there
Craig Andrews [Fri, 13 Nov 2009 01:12:00 +0000 (20:12 -0500)]
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
Craig Andrews [Thu, 12 Nov 2009 15:38:45 +0000 (10:38 -0500)]
Also delete the OpenID provider data when a user is deleted
Siebrand Mazeland [Thu, 12 Nov 2009 21:58:28 +0000 (22:58 +0100)]
Localisation updates from translatewiki.net (2009-11-12)
Ciaran Gultnieks [Thu, 12 Nov 2009 20:57:09 +0000 (20:57 +0000)]
A further change to the XRDS is required if 0.9.x is to be able to remote sub to a 0.8.x account, with the OpenID plugin enabled.
Brion Vibber [Thu, 12 Nov 2009 19:08:43 +0000 (11:08 -0800)]
Fix index on notice for efficient querying of notice(s) by order for a profile.
Should resolve performance problem with Profile::getCurrentNotice()
Brion Vibber [Thu, 12 Nov 2009 17:02:00 +0000 (09:02 -0800)]
Fix for bug 1974: drop unnecessary define_syslog_variables() call from common.php
The call was moved to this spot in commit
3ea1119e500c23ee918569e2a58cc5abaa1d8a5a (previously init'd later in another func) but doesn't seem to be needed anyway. None of our code uses the variables that this function defines, just the constants -- which are already predefined without the call.
The function is deprecated in PHP 5.3 and gone in 6, so we may as well toss it now.
Ciaran Gultnieks [Thu, 12 Nov 2009 14:46:16 +0000 (14:46 +0000)]
Some more XRDS fixes. With this and the previous commit, remote subs seem to work. Otherwise they don't.
Ciaran Gultnieks [Thu, 12 Nov 2009 14:21:47 +0000 (14:21 +0000)]
Wrong XRDS service type for OMB was being supplied. Wrong since commit
54696f7c I think
Ciaran Gultnieks [Thu, 12 Nov 2009 10:08:01 +0000 (10:08 +0000)]
Badly formatted message in en_GB translation resulted in '%s and friends' being displayed
Ciaran Gultnieks [Thu, 12 Nov 2009 09:18:15 +0000 (09:18 +0000)]
Minor typo correction in log message. Seems trivial, unless you are trying to search the log for it.
Eric Helgeson [Wed, 11 Nov 2009 23:50:23 +0000 (18:50 -0500)]
Forgot closing tag...
Eric Helgeson [Wed, 11 Nov 2009 23:45:21 +0000 (18:45 -0500)]
Ask users if they wish to send statistics to SNI, default is off.
Users may not know about this setting and are unaware they are sending stats.
This allows them to make that decision.
Craig Andrews [Wed, 11 Nov 2009 23:03:07 +0000 (18:03 -0500)]
Add the [noticeid] to the end of text only jabber messages
Craig Andrews [Wed, 11 Nov 2009 23:00:58 +0000 (18:00 -0500)]
Remove alt text on avatar url (so pidgin doesn't show it)
surround notice_id with [], looks nicer
Craig Andrews [Wed, 11 Nov 2009 22:09:00 +0000 (17:09 -0500)]
initialize these variables before use to prevent warnings
Craig Andrews [Wed, 11 Nov 2009 22:05:24 +0000 (17:05 -0500)]
Do not show the URL shortener selection drop down if no shorteners are available
Craig Andrews [Wed, 11 Nov 2009 21:51:10 +0000 (16:51 -0500)]
Remove registerUrlShortener() (no longer used)
CiaranG [Wed, 11 Nov 2009 20:31:58 +0000 (20:31 +0000)]
CLAIM_TIMEOUT is already defined elsewhere - causes a PHP warning (minor perf. issue) and confusion if someone tries to change one or the other
Craig Andrews [Wed, 11 Nov 2009 20:08:17 +0000 (15:08 -0500)]
Don't use common_config anymore
Craig Andrews [Wed, 11 Nov 2009 19:04:32 +0000 (14:04 -0500)]
Correct stupid spelling errors
Craig Andrews [Wed, 11 Nov 2009 19:02:57 +0000 (14:02 -0500)]
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).
Siebrand Mazeland [Wed, 11 Nov 2009 18:58:43 +0000 (19:58 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Sarven Capadisli [Wed, 11 Nov 2009 18:47:51 +0000 (18:47 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Wed, 11 Nov 2009 18:47:14 +0000 (18:47 +0000)]
Separated Init functions to NoticeForm, Notices, EvenActions.
Brion Vibber [Wed, 11 Nov 2009 18:38:11 +0000 (10:38 -0800)]
Fix bug 1963: Web UI throws warnings during previously open login session after user account is deleted
common_logged_in() returned bogus results because it checks against null specifically, but common_current_user() was sticking 'false' into $_cur because that's what User::staticGet() returned from a failed lookup. Now we skip over a failed lookup here, so we keep null and all is well.
Sarven Capadisli [Wed, 11 Nov 2009 18:20:58 +0000 (18:20 +0000)]
Separated actions that's particular to the notice stream pages into
its own function. It can be reused whenever the common behaviours
needs to be initialized.
Craig Andrews [Wed, 11 Nov 2009 17:16:58 +0000 (12:16 -0500)]
Rename the plugins, as I'm separating out Authn, Authz, and user information into separate plugins
Sarven Capadisli [Wed, 11 Nov 2009 13:43:21 +0000 (13:43 +0000)]
Added XHR for form_entity_flag
Sarven Capadisli [Wed, 11 Nov 2009 12:57:48 +0000 (12:57 +0000)]
Added margin-top for showstream page (space between entity_actions and
notice_primary)
Sarven Capadisli [Wed, 11 Nov 2009 12:34:22 +0000 (12:34 +0000)]
Set window resize before openning it up
Sarven Capadisli [Wed, 11 Nov 2009 12:31:14 +0000 (12:31 +0000)]
Calling selector once
Siebrand Mazeland [Wed, 11 Nov 2009 12:24:02 +0000 (13:24 +0100)]
Remove double space in message
Sarven Capadisli [Wed, 11 Nov 2009 12:21:27 +0000 (12:21 +0000)]
Using mark-top styles
Sarven Capadisli [Wed, 11 Nov 2009 12:21:18 +0000 (12:21 +0000)]
Added mark-top styles
Evan Prodromou [Wed, 11 Nov 2009 05:22:29 +0000 (00:22 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Zach Copley [Tue, 10 Nov 2009 23:25:43 +0000 (15:25 -0800)]
Merge branch '0.9.x' into finish-account-api
* 0.9.x:
Added a events for the settings menu items
Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
Changed to Evan's event style and added an AuthPlugin superclass
add geo output to statuses in json, xml, atom, rss in API
Localisation updates from translatewiki.net (2009-11-10)
Localisation updates from translatewiki.net
Update pot
add lat and long parameters to api/statuses/update
change credential check to work more like other events
fixup output of object attributes in db error code
Performance fix for subscription/subscriber lists based on feedback from ops.
Adjusting indexes to make favorites query more efficient, based on feedback from ops.
Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php"
Added hook for the Group navigation items
Updated block @title text (shouldn't say from group)
Updated group block markup
Revert "Remove more contractions"
Zach Copley [Tue, 10 Nov 2009 23:23:33 +0000 (15:23 -0800)]
Added some notes in the comments
Craig Andrews [Tue, 10 Nov 2009 22:54:24 +0000 (17:54 -0500)]
Added a events for the settings menu items
Zach Copley [Tue, 10 Nov 2009 22:36:41 +0000 (14:36 -0800)]
Implement /api/account/update_delivery_device.format
Evan Prodromou [Tue, 10 Nov 2009 22:08:59 +0000 (17:08 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Tue, 10 Nov 2009 22:08:33 +0000 (17:08 -0500)]
initial support for geourl.org
Brion Vibber [Wed, 4 Nov 2009 00:57:39 +0000 (16:57 -0800)]
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.
Craig Andrews [Tue, 10 Nov 2009 21:27:20 +0000 (16:27 -0500)]
Changed to Evan's event style and added an AuthPlugin superclass
Evan Prodromou [Tue, 10 Nov 2009 21:15:20 +0000 (16:15 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Tue, 10 Nov 2009 21:15:05 +0000 (16:15 -0500)]
add geo output to statuses in json, xml, atom, rss in API
Siebrand Mazeland [Tue, 10 Nov 2009 21:05:16 +0000 (22:05 +0100)]
Localisation updates from translatewiki.net (2009-11-10)
Siebrand Mazeland [Tue, 10 Nov 2009 21:03:11 +0000 (22:03 +0100)]
Localisation updates from translatewiki.net
* adding Arabic localisation
Siebrand Mazeland [Tue, 10 Nov 2009 21:02:27 +0000 (22:02 +0100)]
Update pot
Evan Prodromou [Tue, 10 Nov 2009 20:36:55 +0000 (15:36 -0500)]
add lat and long parameters to api/statuses/update
Evan Prodromou [Tue, 10 Nov 2009 19:45:19 +0000 (14:45 -0500)]
change credential check to work more like other events
Evan Prodromou [Tue, 10 Nov 2009 19:26:49 +0000 (14:26 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
lib/util.php
Evan Prodromou [Tue, 10 Nov 2009 19:06:30 +0000 (14:06 -0500)]
fixup output of object attributes in db error code
Brion Vibber [Tue, 10 Nov 2009 16:47:54 +0000 (08:47 -0800)]
Performance fix for subscription/subscriber lists based on feedback from ops.
Extended subscription table indexes for subscriber and subscribed to include the created field, which is used to sort for display. This lets us skip a filesort and do the join much more efficiently.
Alter table from 08to09.sql needs to be run manually (though no ill effects if you forget other than not getting the perf improvement).
Brion Vibber [Tue, 10 Nov 2009 16:23:24 +0000 (08:23 -0800)]
Adjusting indexes to make favorites query more efficient, based on feedback from ops.
fave_user_id_idx index changed from (user_id) to (user_id,modified), so the timestamp ordering can be done straight from the index while we're looking up the user's notices.
Added to 08to09.sql and 08to09_pg.sql; may need to be run manually by folks doing development.
(No harm if you don't update it, the favorites tab/rss feed will just stay inefficent.)
Brion Vibber [Tue, 10 Nov 2009 15:57:58 +0000 (07:57 -0800)]
Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php"
Notice: Undefined index: p in /Library/WebServer/Documents/mublog/lib/common.php on line 41
This reverts commit
223fee2ad1430e827830265c9fe97f4d025bb060.
Brion Vibber [Tue, 10 Nov 2009 14:44:53 +0000 (06:44 -0800)]
Merge remote branch 'statusnet/0.9.x' into 0.9.x
Sarven Capadisli [Tue, 10 Nov 2009 13:52:47 +0000 (13:52 +0000)]
Added hook for the Group navigation items
Sarven Capadisli [Tue, 10 Nov 2009 13:09:15 +0000 (13:09 +0000)]
Updated block @title text (shouldn't say from group)