Commit Graph

10545 Commits

Author SHA1 Message Date
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
3224f7fec9 Merge branch 'anon-fave-plugin' of gitorious.org:~zcopley/statusnet/zcopleys-clone into anon-fave-plugin 2010-09-29 16:42:45 -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
0ac333ec80 Add Start/EndFavorNoticeForm and Start/EndDisFavorNoticeForm hooks 2010-09-29 16:35:14 -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
331502a979 Add Start/EndShowNoticeInfo events 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
Zach Copley
21759c3132 New eventsi: Start/EndShowNoticeOptions and Start/EndShowFaveForm 2010-09-29 16:35:12 -07:00
Zach Copley
fd779009b8 Add Start/EndShowNoticeItem event hooks to single notice page 2010-09-29 16:35:12 -07:00
Zach Copley
3960c9ad39 Move blowFavesCache() to Profile 2010-09-29 16:35:12 -07:00
Zach Copley
c19e592fa8 Move hasFave() to Profile 2010-09-29 16:35:12 -07:00
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