Sarven Capadisli [Wed, 11 Nov 2009 18:47:14 +0000 (18:47 +0000)]
Separated Init functions to NoticeForm, Notices, EvenActions.
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.
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
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
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
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)
Sarven Capadisli [Tue, 10 Nov 2009 13:08:58 +0000 (13:08 +0000)]
Updated group block markup
Zach Copley [Tue, 10 Nov 2009 08:43:58 +0000 (00:43 -0800)]
Merge branch '0.9.x' into finish-account-api
* 0.9.x: (26 commits)
just sent a http 200 for the check-fancy from install.php
Add a new event: CanUserChangeField
shorten flag notification and include a class
Added flag icon for UserFlag plugin
Fixed notice option alignment in IE
add a method to Theme class to list available themes
Updated Realtime plugin to use the util's NoticeReply object
Localisation updates from translatewiki.net (2009-11-08)
Update pot again
Rebuild pot file *without* --join-existing to get rid of the cruft. Not sure why "--join-existing" must be in. Only thing I can think of is manual additions, which I could not find.
Revert "More precise field label"
Remove more contractions
Revert "* [Cc]an't -> [Cc]annot"
Revert "More specifics on 'address'"
* [Cc]an't -> [Cc]annot
Revert "* check usage of 'people' in UI and change it to 'users' or something else in most places"
add utilities for calculating local and installation theme root dirs
Harmonise UI message "No such user."
Restructure theme.php to define a class Theme
entity_action responses look more inactive now
...
Zach Copley [Tue, 10 Nov 2009 08:30:56 +0000 (00:30 -0800)]
Output profile background image info in the API user objects
Zach Copley [Tue, 10 Nov 2009 07:56:02 +0000 (23:56 -0800)]
Make /api/account/update_profile_background_image.format work even
when there isn't an existing Design for the user. Plus a few other
fixups.
Zach Copley [Tue, 10 Nov 2009 07:13:59 +0000 (23:13 -0800)]
Implement /api/account/update_profile.format
Zach Copley [Tue, 10 Nov 2009 06:06:22 +0000 (22:06 -0800)]
Implement /api/account/update_profile_colors.format
Brenda Wallace [Tue, 10 Nov 2009 02:53:07 +0000 (15:53 +1300)]
just sent a http 200 for the check-fancy from install.php
Craig Andrews [Mon, 9 Nov 2009 22:43:37 +0000 (17:43 -0500)]
Add a new event: CanUserChangeField
Brion Vibber [Mon, 9 Nov 2009 19:01:46 +0000 (20:01 +0100)]
Revert "Remove more contractions"
This reverts commit
5ab709b73977131813884558bf56d97172a7aa26.
Missed this one yesterday...
Evan Prodromou [Mon, 9 Nov 2009 18:45:10 +0000 (13:45 -0500)]
shorten flag notification and include a class
Evan Prodromou [Mon, 9 Nov 2009 18:42:19 +0000 (13:42 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Mon, 9 Nov 2009 11:11:06 +0000 (11:11 +0000)]
Added flag icon for UserFlag plugin
Sarven Capadisli [Mon, 9 Nov 2009 11:10:24 +0000 (11:10 +0000)]
Fixed notice option alignment in IE
Evan Prodromou [Mon, 9 Nov 2009 02:23:25 +0000 (21:23 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 9 Nov 2009 02:18:57 +0000 (21:18 -0500)]
add a method to Theme class to list available themes
Zach Copley [Sun, 8 Nov 2009 23:29:04 +0000 (15:29 -0800)]
Implement /api/account/update_profile_background_image.format
Sarven Capadisli [Sun, 8 Nov 2009 23:10:34 +0000 (23:10 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Sun, 8 Nov 2009 23:06:25 +0000 (23:06 +0000)]
Updated Realtime plugin to use the util's NoticeReply object
Siebrand Mazeland [Sun, 8 Nov 2009 23:00:57 +0000 (00:00 +0100)]
Localisation updates from translatewiki.net (2009-11-08)
Siebrand Mazeland [Sun, 8 Nov 2009 22:52:01 +0000 (23:52 +0100)]
Update pot again
Siebrand Mazeland [Sun, 8 Nov 2009 22:50:12 +0000 (23:50 +0100)]
Rebuild pot file *without* --join-existing to get rid of the cruft. Not sure why "--join-existing" must be in. Only thing I can think of is manual additions, which I could not find.
Siebrand Mazeland [Sun, 8 Nov 2009 22:36:53 +0000 (23:36 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Brion Vibber [Sun, 8 Nov 2009 22:35:12 +0000 (23:35 +0100)]
Revert "More precise field label"
This reverts commit
6483fbd8fa4c7bc8da83a9a2e334db9d9a19a77b.
"SMS address" header here makes no sense; it would be inconsistent with the other tabs and headings on the same and related pages, and would look very awkward with another giant "SMS" right above it
Siebrand Mazeland [Sun, 8 Nov 2009 22:33:58 +0000 (23:33 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Siebrand Mazeland [Sun, 8 Nov 2009 22:32:15 +0000 (23:32 +0100)]
Remove more contractions
* doesn't
* won't
* isn't
* don't
Brion Vibber [Sun, 8 Nov 2009 22:28:51 +0000 (23:28 +0100)]
Revert "* [Cc]an't -> [Cc]annot"
This reverts commit
0ab17f382b9993ada3d12d4cdace72cca53fb545.
Brion Vibber [Sun, 8 Nov 2009 22:27:24 +0000 (23:27 +0100)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Sun, 8 Nov 2009 22:26:16 +0000 (23:26 +0100)]
Revert "More specifics on 'address'"
This reverts commit
1872d07602f50b4991d0da26aca3a5d775338e47.
"instant messages address" is very awkward phrasing; prefer not to be changing UI in such ways while updating localisations.
Siebrand Mazeland [Sun, 8 Nov 2009 22:22:50 +0000 (23:22 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Siebrand Mazeland [Sun, 8 Nov 2009 22:22:38 +0000 (23:22 +0100)]
* [Cc]an't -> [Cc]annot
* [Cc]ould't -> [Cc]ould not
Brion Vibber [Sun, 8 Nov 2009 22:22:13 +0000 (23:22 +0100)]
Revert "* check usage of 'people' in UI and change it to 'users' or something else in most places"
This reverts commit
81b4a381d9ddc71ed8a53c074ea10910882d3156.
IMO "user" is a bit impersonal and we shouldn't go changing the tone of the UI willy-nilly when we're updating localisations.
Evan Prodromou [Sun, 8 Nov 2009 22:16:50 +0000 (17:16 -0500)]
add utilities for calculating local and installation theme root dirs
Siebrand Mazeland [Sun, 8 Nov 2009 22:10:44 +0000 (23:10 +0100)]
Harmonise UI message "No such user."
Evan Prodromou [Sun, 8 Nov 2009 22:06:41 +0000 (17:06 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sun, 8 Nov 2009 22:04:46 +0000 (17:04 -0500)]
Restructure theme.php to define a class Theme
For various reasons, it's nicer to have a class for theme-file paths
and such. So, I've rewritten the code for determining the locations of
theme files to be more OOPy.
I changed all the uses of the two functions in the module (theme_file
and theme_path) to use Theme::file and Theme::path respectively.
I've also removed the code in common.php that require's the module;
using a class means we can autoload it instead.
Siebrand Mazeland [Sun, 8 Nov 2009 21:46:30 +0000 (22:46 +0100)]
Remove unused message
Siebrand Mazeland [Sun, 8 Nov 2009 21:45:18 +0000 (22:45 +0100)]
Several updates to UI messages
Siebrand Mazeland [Sun, 8 Nov 2009 21:41:11 +0000 (22:41 +0100)]
Remove unused message
Siebrand Mazeland [Sun, 8 Nov 2009 21:39:02 +0000 (22:39 +0100)]
!. => !
Siebrand Mazeland [Sun, 8 Nov 2009 21:37:09 +0000 (22:37 +0100)]
More specifics on 'address'
Siebrand Mazeland [Sun, 8 Nov 2009 21:34:52 +0000 (22:34 +0100)]
More precise field label
Siebrand Mazeland [Sun, 8 Nov 2009 21:29:09 +0000 (22:29 +0100)]
Remove unused message from pot
Siebrand Mazeland [Sun, 8 Nov 2009 21:26:13 +0000 (22:26 +0100)]
* check usage of 'people' in UI and change it to 'users' or something else in most places
* change some contractions to full text in UI messages
Sarven Capadisli [Sun, 8 Nov 2009 20:53:11 +0000 (20:53 +0000)]
entity_action responses look more inactive now
Sarven Capadisli [Sun, 8 Nov 2009 20:47:24 +0000 (20:47 +0000)]
Minor alignment
Sarven Capadisli [Sun, 8 Nov 2009 20:31:53 +0000 (20:31 +0000)]
Fixed Flagged for review view
Sarven Capadisli [Sun, 8 Nov 2009 20:31:29 +0000 (20:31 +0000)]
Fixed subscribe button styles
Sarven Capadisli [Sun, 8 Nov 2009 20:18:39 +0000 (20:18 +0000)]
Changed icons file to gif because of colour correction. Reduced file
size also
Sarven Capadisli [Sun, 8 Nov 2009 19:13:31 +0000 (19:13 +0000)]
Removed entity_actions response style (i.e., doesn't look like a button)
Sarven Capadisli [Sun, 8 Nov 2009 19:05:07 +0000 (19:05 +0000)]
Fixed alignment for entity action anchors and responses
Sarven Capadisli [Sun, 8 Nov 2009 19:02:14 +0000 (20:02 +0100)]
Fixed alignment for new entity_action buttons
Sarven Capadisli [Sun, 8 Nov 2009 18:55:40 +0000 (19:55 +0100)]
Removed some unnecessary styles
Sarven Capadisli [Sun, 8 Nov 2009 18:43:10 +0000 (19:43 +0100)]
Using fixed width for entity_actions
Sarven Capadisli [Sun, 8 Nov 2009 18:40:54 +0000 (19:40 +0100)]
Updated nudge styles
Sarven Capadisli [Sun, 8 Nov 2009 18:34:52 +0000 (19:34 +0100)]
Updated subscribe/unsubscribe button styles
Sarven Capadisli [Sun, 8 Nov 2009 18:19:42 +0000 (19:19 +0100)]
Updated pagination styles and removed notice option input roundness
Sarven Capadisli [Sun, 8 Nov 2009 17:43:01 +0000 (18:43 +0100)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Sun, 8 Nov 2009 17:41:03 +0000 (18:41 +0100)]
Updated the styles for action icons
Sarven Capadisli [Sun, 8 Nov 2009 15:41:38 +0000 (16:41 +0100)]
Updated entity actions, notice options button styles
Brion Vibber [Sun, 8 Nov 2009 13:33:22 +0000 (14:33 +0100)]
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.
Siebrand Mazeland [Sun, 8 Nov 2009 12:03:48 +0000 (13:03 +0100)]
Localisation updates from translatewiki.net
* found some duplication in the large "Commands:" messages. Manually removed from the pot file, and then updated. Have to ask someone if I can just rebuild the complete pot from scratch, or if --join-existing is always needed (and if so, why). File appears to contain at least some dirt.
Brion Vibber [Sun, 8 Nov 2009 10:38:33 +0000 (11:38 +0100)]
Fix typo in doc/badge (bug 1958)
Evan Prodromou [Sun, 8 Nov 2009 03:35:35 +0000 (22:35 -0500)]
script for granting/revoking user roles
Evan Prodromou [Sun, 8 Nov 2009 03:26:03 +0000 (22:26 -0500)]
fix constant for deleteothersnotice
Shashi [Sun, 8 Nov 2009 02:52:21 +0000 (08:22 +0530)]
Updated documentation of UserProfile widget events
Evan Prodromou [Sun, 8 Nov 2009 00:16:54 +0000 (19:16 -0500)]
use upper-case constants for roles and rights in hasRight()
Evan Prodromou [Sun, 8 Nov 2009 00:16:33 +0000 (19:16 -0500)]
add constants for user roles
Evan Prodromou [Sun, 8 Nov 2009 00:16:15 +0000 (19:16 -0500)]
uppercase right constants
Evan Prodromou [Sat, 7 Nov 2009 23:51:57 +0000 (18:51 -0500)]
add a method to Action to check session token
Siebrand Mazeland [Sat, 7 Nov 2009 23:12:18 +0000 (00:12 +0100)]
Localisation updates from translatewiki.net (2009-11-07)
Evan Prodromou [Sat, 7 Nov 2009 18:39:55 +0000 (13:39 -0500)]
fixup key definition for User_flag_profile