Commit Graph

1825 Commits

Author SHA1 Message Date
Brion Vibber 2ecbae308d GroupFavorited plugin: adds 'Popular' tab to group navigation showing a popular pages subset for just posts in the group. Not necessarily terribly efficient, should be tested and benchmarked on non-trivial sites 2010-09-30 15:56:38 -07:00
Brion Vibber 5c11ad15e1 fix comment 2010-09-30 14:52:00 -07:00
Brion Vibber 3ed726bbcc Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2010-09-30 14:47:53 -07:00
Brion Vibber 143897bf45 Initial SlicedFavorites plugin to allow for customized variants of 'Popular' tab (favorited action) that include or exclude a given set of users. No added UI tabs in this version, beware! 2010-09-30 14:46:32 -07:00
Zach Copley 23c45d6c49 Merge branch 'anon-fave-plugin' into 0.9.x 2010-09-30 13:59:02 -07:00
Brion Vibber bc2b72a872 Add 'restricted' option to NoticeTitle; if set, only users with 'richedit' role get the fancy extra title field. 2010-09-30 13:30:39 -07:00
Brion Vibber 8c37b86e73 Added an option to TinyMCE plugin to restrict the rich-text editor to users who have the 'richedit' role. This allows enabling it for a subset of accounts on a site while leaving other users using the regular posting system, which is more stable. 2010-09-30 13:22:25 -07:00
Brion Vibber 93bea7ff28 Fix for OpenID-only private sites: we were removing the 'login' and 'register' actions from the routing system entirely, which meant that login links & redirects from unauthenticated views on private sites (as well as various re-auth situations even on non-private sites) would break and send to the main page instead.
Changed it to leave the 'login' and 'register' actions in the system; we're already taking them over and redirecting them to the OpenID login page, so they won't be reached by accident; but now those redirects can be reached on purpose. ;)
Better long-term fix may be to allow some aliasing, so we can have common_local_url('login') actually send us straight to the OpenID login page instead of having to go through an intermediate redirect, but this'll do.
2010-09-30 12:35:25 -07:00
Brion Vibber 20f2167425 Merge branch 'master' of gitorious.org:statusnet/mainline into feedfix 2010-09-30 11:31:29 -07:00
Brion Vibber 1acc7d66c6 Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping. 2010-09-30 11:29:31 -07:00
Zach Copley 8e7532245a Remove debugging statements 2010-09-29 16:35:17 -07:00
Zach Copley 54f19da3ab Make createAnonProfile() static 2010-09-29 16:35:16 -07:00
Zach Copley f79f44801c - Lookup anon profiles by ID (safer because they are guranteed to be unique) and probably faster
- Obfuscate the anonymous user session token to make it hard to figure out the profile ID
2010-09-29 16:35:15 -07:00
Zach Copley 0fe0f42173 Ajax update notice tally 2010-09-29 16:35:15 -07:00
Zach Copley 9109fe3c63 Set initialize_fave_tallys.php executable 2010-09-29 16:35:14 -07:00
Zach Copley 4d6973cd70 Intialize new fave tallys with total existing fave count per notice 2010-09-29 16:35:13 -07:00
Zach Copley 5b49fc25bf - Increment/decrement notice fave tally
- Display tally in notice output
2010-09-29 16:35:13 -07:00
Zach Copley 73297d3749 New DB_DataObject for storing favorites tally 2010-09-29 16:35:13 -07:00
Zach Copley c10f17dc6b Initial plugin for allowing anonymous favoriting 2010-09-29 16:35:13 -07:00
Brion Vibber 91f25ca817 YammerImport admin UI now auto-refreshes during running BG progress, whee 2010-09-28 15:59:30 -07:00
Brion Vibber 62d9b66dff Made YammerImport more robust against errors; can now pause/resume/reset the import state from the admin interface. 2010-09-28 15:59:29 -07:00
Brion Vibber c62e4d0800 YammerImport: fix for importing over existing user/group nicknames; copies the new data if available onto the existing entry 2010-09-28 15:59:29 -07:00
Brion Vibber 3a1f1a49b2 YammerImport: set some more default fields for user_group registration (still need a group admin tho) 2010-09-28 15:59:29 -07:00
Brion Vibber 782046dc01 YammerImporter: 'group_id' field not always present in message data; avoid notice warning when checking it if it's missing 2010-09-28 15:59:29 -07:00
Brion Vibber ee6b4c409d YammerImport admin UI now auto-refreshes during running BG progress, whee 2010-09-28 15:54:44 -07:00
Brion Vibber 588758ed6d Made YammerImport more robust against errors; can now pause/resume/reset the import state from the admin interface. 2010-09-28 15:45:00 -07:00
Brion Vibber 6cf7b24017 YammerImport: fix for importing over existing user/group nicknames; copies the new data if available onto the existing entry 2010-09-28 13:33:37 -07:00
Brion Vibber 17e5ffbe4e YammerImport: set some more default fields for user_group registration (still need a group admin tho) 2010-09-28 13:07:55 -07:00
Brion Vibber 05682afee4 YammerImporter: 'group_id' field not always present in message data; avoid notice warning when checking it if it's missing 2010-09-28 13:02:34 -07:00
Brion Vibber a8d0c04870 Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2010-09-28 12:59:23 -07:00
Siebrand Mazeland f6c1b8aa49 Localisation updates from http://translatewiki.net
* adding the fuzzy messages back now that translatewiki.net processes them properly again.
2010-09-28 21:06:47 +02:00
Brion Vibber c20cfe2d8e PHP 5.2 compat fix in YammerPlugin (can't call $var::staticFunction() directly until PHP 5.3) 2010-09-28 11:52:19 -07:00
Brion Vibber f0b39defb2 Merge branch 'yammer' of gitorious.org:~brion/statusnet/brion-fixes into 0.9.x 2010-09-27 17:26:14 -07:00
Brion Vibber 0477101af7 update README for YammerImport 2010-09-27 17:12:06 -07:00
Brion Vibber f528cc5548 Yammer import API keys can now be overridden by the admin. 2010-09-27 16:56:48 -07:00
Siebrand Mazeland ec7ab3af4d Localisation updates from http://translatewiki.net
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-28 01:09:29 +02:00
Siebrand Mazeland 430d1da976 Update POT files. 2010-09-28 00:03:06 +02:00
Brion Vibber 7c4fcefd31 Enhanced OStatus fixup-shadow.php cleanup script to check for direct matches against user.uri and user_group.uri (for local groups). This should catch cases that were missed before because we were only doing pattern-matching checks, and the pattern didn't match because the site has been renamed and the old URI no longer matches the current domain / path structure.
Could use some more thorough testing in practice!
2010-09-27 14:23:10 -07:00
Brion Vibber 585c7f35ca Yammer import (work run via background queues) now can be started from the admin panel! :DDDD Still requires that the app be registered on your network manually first. 2010-09-27 13:34:35 -07:00
Brion Vibber 05c12c58bb Ok, got the AJAX clicky-throughs working for yammer auth (if app is already registered), but needs prettification. Yammer ignores callback URLs unless they're pre-registered with the app, and this apparently requires manual intervention to become a 'trusted' app, you don't get it on those you register yourself. Sigh. Also can't use an iframe since it breaks out of the frame (fair 'nuff) 2010-09-27 12:34:01 -07:00
Brion Vibber eeaab2bc00 Work in progress on fixing auth... looks like the iframe doesn't work though. Sigh. 2010-09-27 12:24:10 -07:00
Brion Vibber 80e0e60c37 Add a comment in UserxrdAction warning future maintainers not to break domain migrations if adding domain checking to the webfinger lookup in future. 2010-09-27 11:38:26 -07:00
Brion Vibber 617b6f4f7d User user_group.uri to look up local groups for OStatus addressing checks when available. Will still fall back to the URL-scheme-checking code if there's no matching user_group record.
Should help with keeping remote groups working when renaming sites -- as long as user_group.uri has been filled out on the site changing its domain and other issues with POST handling are resolved.
2010-09-27 11:29:54 -07:00
Brion Vibber a6469aeed8 Fix PHP syntax errors introduced during localization fixups in a few files. 2010-09-25 12:10:36 -07:00
Evan Prodromou 0dc5080a5d Merge remote branch 'gitorious/master' 2010-09-25 06:30:36 -04:00
Zach Copley dc63626641 Optionally restrict Disqus comments to specific users' notices 2010-09-24 18:29:02 -07:00
Brion Vibber ebbbaba378 Work in progress on getting the frontend Yammer import form going.... 2010-09-24 17:22:44 -07:00
Brion Vibber 19adb7c8d3 Pretty it up a bit more 2010-09-24 16:27:33 -07:00
Brion Vibber 35119f4072 Pretty up the Yammer import status display a bit 2010-09-24 16:15:45 -07:00
Brion Vibber d962f7092f Initial progress display of Yammer import state in admin panel 2010-09-24 14:52:51 -07:00