Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 4 commits
  • 8 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 27, 2012
@r-a-y Strip line wrap from plain-text for all incoming emails.
This will make sure posted items will look okay on the site without unnecessary line breaks all over the place.  (Note: Github doesn't strip line breaks when people reply via email.  Maybe we shouldn't either?)

This is experimental and might be commented out before public release.
8709f85
@r-a-y Change links on admin settings page to Github wiki.
Also remove debug statement.
0539773
@r-a-y Update screenshots. 39dd078
@r-a-y Update readmes. Bump version number. 3352074
View
8 includes/bp-rbe-admin.php
@@ -375,8 +375,10 @@ function load() {
<img alt="" src="http<?php if ( is_ssl() ) echo 's'; ?>://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
- <!-- Output options data, so we can see how it currently looks -->
- <pre><?php print_r( $this->settings ) ?></pre>
+ <h3><?php _e( 'Need Help?', 'bp-rbe' ); ?></h3>
+
+ <p><?php printf( __( '<a href="%s">Check out the BP Reply By Email wiki</a> for articles, FAQs and more information.', 'bp-rbe' ), 'https://github.com/r-a-y/bp-reply-by-email/wiki/' ); ?></p>
+
</div>
<?php
}
@@ -459,7 +461,7 @@ function schedule() {
</p>
<p>
- <?php printf( __( 'View the <em>"WordPress\' pseudo-cron and workaround"</em> section in the <a href="%s">readme</a> for a potential solution.', 'bp-rbe' ), BP_RBE_URL . 'readme.txt' ) ?>
+ <?php printf( __( '<a href="%s">View this article</a> for a potential solution.', 'bp-rbe' ), 'https://github.com/r-a-y/bp-reply-by-email/wiki/Frequently-Asked-Questions#wiki-traffic' ); ?>
</p>
<?php
View
4 includes/bp-rbe-hooks.php
@@ -26,8 +26,8 @@
add_filter( 'bp_rbe_parse_email_body_reply', 'bp_rbe_remove_eol_char', 1 );
add_filter( 'bp_rbe_parse_email_body_reply', 'bp_rbe_remove_email_client_signature' );
- // email new item parsing
- add_filter( 'bp_rbe_parse_email_body_new', 'bp_rbe_remove_line_wrap_from_plaintext', 10, 2 );
+ // email body parsing
+ add_filter( 'bp_rbe_parse_email_body', 'bp_rbe_remove_line_wrap_from_plaintext', 10, 2 );
// email inbox parsing
/**
View
3  loader.php
@@ -4,7 +4,8 @@
Description: Reply to BuddyPress items from the comfort of your email inbox.
Author: r-a-y
Author URI: http://buddypress.org/community/members/r-a-y/
-Version: 1.0-beta-20120521
+Version: 1.0-beta
+License: GPLv2 or later
*/
/**
View
58 readme.md
@@ -1,47 +1,35 @@
# BuddyPress Reply By Email #
-This plugin is **not** quite ready for public consumption yet and is a private release.
+BuddyPress Reply By Email is a plugin for [BuddyPress](http://buddypress.org) that allows you to reply to various email notifications from the comfort of your email inbox.
-Do **not** run this on production environments!
+You can reply to the following items from your inbox:
-If you feel adventurous, view **readme.txt** for full details about the plugin and installation process.
+* @mentions
+* Activity replies
+* Private messages
+* Group forum topics / posts (requires [BP Group Email Subscription Plugin](http://wordpress.org/extend/plugins/buddypress-group-email-subscription/))
----
+You can also create new group forum topics from your email inbox as well.
-## Testing notes ##
+This plugin was developed for the [CUNY Academic Commons](http://commons.gc.cuny.edu). Licensed under the GPLv2 or later.
-* If you're replying to items via email, make sure that you're replying from the email address you registered with on WordPress. Why? Because RBE checks your email address to see if you're a valid user.
-* Check the debug log (wp-content/bp-rbe-debug.txt) if you run into errors and post issues about them.
-* If you're upgrading from an older release, you must deactivate the plugin and reactivate it again.
-* To stop inbox checks, right now, you'll have to deactivate the plugin. Still working on making this better.
+#### Minimum Requirements
+* WordPress 3.4.1, BuddyPress 1.5.6
+* [IMAP module enabled in PHP](https://github.com/r-a-y/bp-reply-by-email/wiki/Quick-Setup-with-GMail#wiki-server)
+* An email address that supports IMAP and [address tags](https://en.wikipedia.org/wiki/Email_address#Address_tags)
----
+#### Getting Started
+* [Quick Setup with GMail](https://github.com/r-a-y/bp-reply-by-email/wiki/Quick-Setup-with-GMail)
+* [Frequently Asked Questions](https://github.com/r-a-y/bp-reply-by-email/wiki/Frequently-Asked-Questions)
-## Todo ##
+#### Get Help
+* [Wiki](https://github.com/r-a-y/bp-reply-by-email/wiki/)
+* [Troubleshooting Guide](https://github.com/r-a-y/bp-reply-by-email/wiki/Troubleshooting-Guide)
+* [Bug Tracker](https://github.com/r-a-y/bp-reply-by-email/issues)
-* Manually allow admins to disable inbox checks in the settings area without deactivating the plugin.
+***
----
+#### Thanks
-## Dev changelog ##
-
-### 20120521 ###
-
-* Compatible with dev version of the [Group Email Subscription plugin]. If you're using an older version of Group Email, upgrade to dev!
-* Better detection for multipart / encoded / HTML emails.
-
-### 20120418 ###
-
-* Make sure we're only connected to the inbox once per session.
-* Fix cron scheduling issues.
-* Code cleanup.
-
-### 20120404 ###
-
-* Requires at least BP 1.5.
-* When email settings are saved, check to see if the credentials are valid.
-* Add a debug log. By default, debug log is created at /wp-content/bp-rbe-debug.txt
-* Fix posting new forum topics.
-* Fix various bugs and notices.
-
-[Group Email Subscription plugin]: https://github.com/boonebgorges/buddypress-group-email-subscription/zipball/master
+* Jim Wigginton - for his `Crypt_AES` class from the [PHP Secure Communications Library](http://phpseclib.sourceforge.net/). Licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.html).
+* Jevon Wright - for his [html2text](https://code.google.com/p/iaml/source/browse/trunk/org.openiaml.model.runtime/src/include/html2text/html2text.php) functions from the [IAML Modelling Platform](http://openiaml.org/). Licensed under the [Eclipse Public License v1.0](http://www.eclipse.org/legal/epl-v10.html).
View
89 readme.txt
@@ -3,14 +3,14 @@ Contributors: r-a-y, cuny-academic-commons
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V9AUZCMECZEQJ
Tags: buddypress, email, basecamp
Requires at least: WordPress 3.4.x, BuddyPress 1.5.6
-Tested up to: WordPress 3.4.1, BuddyPress 1.5.6
+Tested up to: WordPress 3.4.x, BuddyPress 1.6-RC1
Stable tag: trunk
Reply to BuddyPress items from the comfort of your email inbox.
== Description ==
-Brings Basecamp-like reply via email functionality to your BuddyPress site.
+BuddyPress Reply By Email is a plugin for [BuddyPress](http://buddypress.org) that allows you to reply to various email notifications from the comfort of your email inbox.
You can reply to the following items from your inbox:
@@ -19,73 +19,37 @@ You can reply to the following items from your inbox:
* Private messages
* Group forum topics / posts (requires [BP Group Email Subscription Plugin](http://wordpress.org/extend/plugins/buddypress-group-email-subscription/))
-You can also create new forum topics from your email inbox as well.
+You can also create new group forum topics from your email inbox as well.
-**NOTE**
-* Currently, you will need to setup a dedicated IMAP email account that supports [address tags](http://en.wikipedia.org/wiki/Email_address#Address_tags). Free options include [GMail](http://www.gmail.com) (or [Google Apps Mail](http://www.google.com/apps/intl/en/group/index.html)) and [FastMail.fm](http://www.fastmail.fm/?STKI=6098221) *(referral link)*.
-* Your webhost will need to enable the IMAP extension for PHP (if it isn't enabled already).
+**Minimum Requirements**
+* WordPress 3.4.1, BuddyPress 1.5.6
+* [IMAP module enabled in PHP](https://github.com/r-a-y/bp-reply-by-email/wiki/Quick-Setup-with-GMail#wiki-server)
+* An email address that supports IMAP and [address tags](https://en.wikipedia.org/wiki/Email_address#Address_tags)
+
+**Wiki**
+Check out the [BP Reply By Email wiki](https://github.com/r-a-y/bp-reply-by-email/wiki) for more information!
-== Installation ==
-**IMPORTANT**
-* You will need to setup a dedicated IMAP email account that supports [address tags](http://en.wikipedia.org/wiki/Email_address#Address_tags). Free options include [GMail](http://www.gmail.com) (or [Google Apps Mail](http://www.google.com/apps/intl/en/group/index.html)) and [FastMail.fm](http://www.fastmail.fm/?STKI=6098221) *(referral link)*.
-* Your host will need to enable the IMAP extension for PHP (if it isn't enabled already).
+== Installation ==
-1. Create a new IMAP email account. (GMail is good!) Do *not* use an existing email account!
-1. Install and activate the plugin.
-1. Navigate to "BuddyPress > Reply By Email" in the WP admin dashboard and fill in the settings. On multisite, navigate to the blog admin dashboard where you have BuddyPress installed and go to "Settings > Reply By Email". If you see a section called "Webhost Warnings", please resolve any issues that appear.
-1. Make sure at least the Activity component is enabled in BuddyPress.
+**Quick Setup with Gmail**
+[Check out the guide here.](https://github.com/r-a-y/bp-reply-by-email/wiki/Quick-Setup-with-GMail)
**Upgrading manually**
If you already have the plugin activated, but you choose to upgrade the plugin manually via FTP, you must deactivate the plugin and reactivate it again.
-== Frequently Asked Questions ==
-
-#### I've filled in my GMail account info in the plugin's settings, but the plugin isn't working! ####
-
-Make sure you've enabled IMAP in your GMail account:
-http://mail.google.com/support/bin/answer.py?answer=77695
-
-Also make sure your username and password is correct!
-
-
-#### How do I reply to group forum topics / posts via email? ####
-
-This feature requires installing the [BP Group Email Subscription Plugin](http://wordpress.org/extend/plugins/buddypress-group-email-subscription/).
-
-*NOTE* You can only reply to group forum topics and posts via email if you've setup your group to receive either "All Mail" or "New Topics" in BP Group Email Subscription.
-
-#### WordPress' pseudo-cron and workaround ####
-
-BuddyPress Reply By Email hooks into Wordpress' scheduling functions and hooks. (Good!)
-However, the way Wordpress works is these schedules are only fired when a user visits your site. (Not-so-good!)
-
-For example, let's say I schedule BP Reply By Email to run every five minutes. Six minutes pass by and I expect my task to run again, however if no user visits my site, the task will not run. (Tear runs down face!)
-
-This isn't so bad if you have a site that generates decent traffic, but what about smaller-scale sites?
-
-A potential solution is to use an external service to hit your website. (Basically a cron job for our cron!)
-
-Here are a couple of free options that allow you to do just that!
-
-* [Pingdom](http://www.pingdom.com/#freemodal) - Free plan offers monitoring one website. Intervals are configurable from 1, 5, 15, 30 or 60 minutes.
-* [Alertfox](http://alertfox.com/free-website-monitoring) - Free plan offers to check your site every five minutes.
-* [Was It Up?](http://wasitup.com) - Checks your website every five minutes.
-* [UptimeRobot](http://www.uptimerobot.com/) - Checks your website every five minutes.
-
-If you know of any others, let me know and I'll list them here!
+== Frequently Asked Questions ==
+[Check out the FAQ here.](https://github.com/r-a-y/bp-reply-by-email/wiki/Frequently-Asked-Questions)
-== Roadmap ==
+Also check out the [BP Reply By Email wiki](https://github.com/r-a-y/bp-reply-by-email/wiki) for more information!
-* Admin settings are currently site-aware. Make settings network-aware.
-* Test with other IMAP providers like Fastmail.FM, etc. If they work, add prebuilt configuration for these providers.
-* Add support for subdomain addressing in a future release. Fastmail.fm's paid accounts support this (eg. anythinghere@USERNAME.fastmail.fm).
== Special Thanks ==
+* Jim Wigginton - for his `Crypt_AES` class from the [PHP Secure Communications Library](http://phpseclib.sourceforge.net/). Licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.html).
* Jevon Wright - for his [html2text](https://code.google.com/p/iaml/source/browse/trunk/org.openiaml.model.runtime/src/include/html2text/html2text.php) functions from the [IAML Modelling Platform](http://openiaml.org/). Licensed under the [Eclipse Public License v1.0](http://www.eclipse.org/legal/epl-v10.html).
@@ -98,22 +62,5 @@ If you know of any others, let me know and I'll list them here!
== Changelog ==
-= 1.0-beta-20120521 =
-* Compatible with [Group Email Subscription plugin v3.2+](http://wordpress.org/extend/plugins/buddypress-group-email-subscription/). If you're using an older version of Group Email, upgrade to the latest version!
-* Better detection for multipart / encoded / HTML emails.
-
-= 1.0-beta-20120418 =
-* Make sure we're only connected to the inbox once per session.
-* Fix cron scheduling issues.
-* Code cleanup.
-
-= 1.0-beta-20120404 =
-* Requires at least BP 1.5.
-* When email settings are saved, check to see if the connection is valid.
-* Add a debug log. By default, debug log is created at /wp-content/bp-rbe-debug.txt
-* Fix posting new forum topics.
-* Fix various bugs and notices.
-
= 1.0-beta =
-* Initial private release
-* Warning: If this isn't on the WP plugin depository, this means there are still some bugs to work out and is still a work in progress!
+* Initial public release
View
BIN  screenshot-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  screenshot-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  screenshot-3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

No commit comments for this range

Something went wrong with that request. Please try again.