Commit Graph

10623 Commits

Author SHA1 Message Date
Zach Copley
148ab660b6 Remove debugging statements 2010-09-29 16:28:29 -07:00
Zach Copley
f339059990 Make createAnonProfile() static 2010-09-29 16:11:32 -07:00
Zach Copley
ba69842844 - 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 15:52:18 -07:00
Zach Copley
5ca280f203 Ajax update notice tally 2010-09-29 14:08:31 -07:00
Zach Copley
de6bd5c129 Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooks 2010-09-29 14:07:46 -07:00
Zach Copley
b4765594f9 Set initialize_fave_tallys.php executable 2010-09-29 13:31:01 -07:00
Zach Copley
9ef3549a71 Intialize new fave tallys with total existing fave count per notice 2010-09-29 13:29:58 -07:00
Zach Copley
21708f0fa3 - Increment/decrement notice fave tally
- Display tally in notice output
2010-09-29 12:49:53 -07:00
Zach Copley
968ec4cb42 Add Start/EndShowNoticeInfo events 2010-09-29 12:49:26 -07:00
Evan Prodromou
49611af76d Merge branch '0.9.x' 2010-09-29 19:24:48 +02:00
Evan Prodromou
d2ef0cf233 add hooks to the feedlist widget to give fine-grained control over feed links 2010-09-29 19:23:46 +02:00
Zach Copley
8fc904e95b New DB_DataObject for storing favorites tally 2010-09-28 19:07:45 -07:00
Zach Copley
daeb220b13 Initial plugin for allowing anonymous favoriting 2010-09-28 17:17:09 -07:00
Zach Copley
f42d4b1855 New eventsi: Start/EndShowNoticeOptions and Start/EndShowFaveForm 2010-09-28 17:09:34 -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
3839627a6f Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2010-09-28 15:58:11 -07:00
Zach Copley
ab1d8c4c56 Add Start/EndShowNoticeItem event hooks to single notice page 2010-09-28 15:56:11 -07:00
Brion Vibber
ee6b4c409d YammerImport admin UI now auto-refreshes during running BG progress, whee 2010-09-28 15:54:44 -07:00
Zach Copley
78a711d556 Move blowFavesCache() to Profile 2010-09-28 15:46:14 -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
Siebrand Mazeland
b9177f5e2e * i18n/L10n and translator documentation updates.
* whitespace and indentation updates
2010-09-29 00:39:45 +02:00
Siebrand Mazeland
9587f9f55b * i18n/L10n and translator documentation updates.
* whitespace and indentation updates
2010-09-28 23:42:18 +02:00
Siebrand Mazeland
b03ece26eb * i18n/L10n and translator documentation updates.
* whitespace and indentation updates
2010-09-28 23:21:09 +02: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
Evan Prodromou
dd3e33ff52 Merge branch '0.9.x' 2010-09-28 11:06:32 -04:00
Brion Vibber
9a0027cab1 Merge branch 'yammer-master' 2010-09-28 07:45:43 -07:00
Brion Vibber
4e5a69ad6f 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-28 07:45:38 -07:00
Brion Vibber
5b3de9aaa4 update README for YammerImport 2010-09-28 07:44:25 -07:00
Brion Vibber
61fde6c8ff Yammer import API keys can now be overridden by the admin. 2010-09-28 07:44:25 -07:00
Brion Vibber
7d51cda25d 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-28 07:44:25 -07:00
Brion Vibber
c2de0a7407 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-28 07:44:25 -07:00
Brion Vibber
a57d67c915 Work in progress on fixing auth... looks like the iframe doesn't work though. Sigh. 2010-09-28 07:44:25 -07:00
Brion Vibber
698f5c7a20 Work in progress on getting the frontend Yammer import form going.... 2010-09-28 07:44:25 -07:00
Brion Vibber
e4b084f093 Pretty it up a bit more 2010-09-28 07:44:25 -07:00
Brion Vibber
89dc215d9b Pretty up the Yammer import status display a bit 2010-09-28 07:44:24 -07:00
Brion Vibber
69cb47ccf4 Initial progress display of Yammer import state in admin panel 2010-09-28 07:44:24 -07:00
Brion Vibber
8f438da254 Ok, command-line workflow for YammerImportPlugin seems to mostly work, at least on tiny test site :D 2010-09-28 07:44:24 -07:00
Brion Vibber
ae507b0485 Work in progress: most of the infrastructure for running import via BG queues or CLI script is now in place (untested, no UI, needs tweaks & fixes) 2010-09-28 07:44:24 -07:00
Brion Vibber
e8ad436a99 Work in progress: YammerRunner state machine wrapper for running the Yammer import in chunks. 2010-09-28 07:44:24 -07:00
Brion Vibber
a78f184652 A little more cleanup... 2010-09-28 07:44:23 -07:00
Brion Vibber
e8526b2e1f More doc comments on SN_YammerClient 2010-09-28 07:44:23 -07:00