CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2022-02-22T17:40:54ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #15408 (Resolved): Pagination broken on Sites Directoryhttps://redmine.gc.cuny.edu/issues/154082022-02-22T17:40:54ZRaymond Hoh
<p>See <a class="external" href="https://buddypress.trac.wordpress.org/ticket/8633">https://buddypress.trac.wordpress.org/ticket/8633</a>.</p>
<p>During the refactoring of BP_Blogs_Blog::get() to use an array as a function argument, this broke pagination due to the parameters not being the same.</p>
<p>I'll add the patch as a hotfix.</p> CUNY Academic Commons - Bug #13966 (Resolved): Replying by email to a trashed or spammed forum to...https://redmine.gc.cuny.edu/issues/139662021-02-09T19:05:35ZRaymond Hoh
<p>So on the dev call, I thought that there was a timeout issue when parsing the RBE inbox check.</p>
<p>Turns out the problem was simpler than that! A user was replying to a trashed forum topic and that caused a fatal error due to the way RBE handles replies when a forum topic was trashed or marked as spammed.</p>
<p>Full details here: <a class="external" href="https://github.com/r-a-y/bp-reply-by-email/issues/125">https://github.com/r-a-y/bp-reply-by-email/issues/125</a></p>
<p>I initially copied the reply logic from bbPress and they also recently addressed the issue in bbPress 2.6.5: <a class="external" href="https://bbpress.trac.wordpress.org/ticket/3409">https://bbpress.trac.wordpress.org/ticket/3409</a></p> CUNY Academic Commons - Bug #7825 (Rejected): WP Cron fails to spawn on productionhttps://redmine.gc.cuny.edu/issues/78252017-03-22T17:31:27ZRaymond Hoh
<p>I was checking to see if a scheduled task that I added to WP cron was there or not and it appears that WP cron doesn't appear to be working.</p>
<p>I used the following wp-cli command to see if WP cron was functioning correctly:<br /><code>wp cron test</code></p>
<p>And that throws back the following error:</p>
<p><code>Error: WP-Cron spawn failed with error: cURL error 28: Operation timed out after 3001 milliseconds with 0 out<br />of -1 bytes received</code></p>
<p>I then checked the cron schedule with:</p>
<p><code>wp cron event list</code></p>
<p>And there are a bunch of older cron events dating as far back as March 7th that haven't run. This might be the cause of other issues such as #7346. Also, I'm guessing that no one has received a daily digest since March 7th.</p>
<p>I did some brief research to see what might be causing the problem and a Github user notes that <code>commons.gc.cuny.edu</code> might not be in the HOSTS file during the cURL lookup:<br /><a class="external" href="https://github.com/Automattic/vip-quickstart/issues/421#issuecomment-91355870">https://github.com/Automattic/vip-quickstart/issues/421#issuecomment-91355870</a></p>
<p>We'd have to confirm with Lihua if that is the case or not.</p>
<p>I also just tested WP cron on the development server and it appears to be working there though.</p> CUNY Academic Commons - Bug #5313 (Resolved): Migrate over to BuddyPress 2.5 Emailshttps://redmine.gc.cuny.edu/issues/53132016-03-10T15:08:48ZRaymond Hoh
<p>Since we're scheduled to roll BuddyPress 2.5 onto the Commons on the 21st, we need to decide whether we want to keep using our existing email system (a hodgepodge of various email plugins - WP Better Emails, WP Better Emails for BuddyPress, BP Group Email Subscription, etc.) or migrate over to BuddyPress 2.5's email system.</p>
<p>For the 1.9.x milestone, we should probably just continue to use what we currently have.</p>
<p>Sometime down the road (probably the 2.0 milestone), we should migrate over to BP's email system.</p>
<p>Migrating over to BuddyPress 2.5 presents a few things that we'll need to address.</p>
<p>Here are the notables (these notes are mostly for Boone to glean over.):</p>
<ul>
<li>Making modifications to BP Group Email Subscription (GES) to support BP 2.5's email system. (I recently did something similar for the Genchem platform, so I'm a little familiar with this.). Should we also use BP's email system for GES digests?</li>
<li>Making modifications to Reply By Email to support BP 2.5's email system. (Work is pretty much completed here.)</li>
<li>Ensuring that HTML content in emails shows up (blockquotes, bold, italics, links, etc). I'm mostly only concerned with group forum emails here. If time permits, I'll also work on activity updates and private messages (these will require BP core changes).</li>
<li>Ensuring that HTML content in plain-text emails degrades well for accessibility reasons (converting over links, text emphasis, etc.)</li>
<li>Ensuring that the HTML email option under a user's "Settings > Email" page is respected. (This is a feature of the WP Better Emails for BuddyPress plugin.) Will need to do some research here.</li>
<li>Deactivate and remove WP Better Emails for BuddyPress.</li>
<li>Deactivate WP Better Emails.</li>
<li>Investigate what needs to be done with our custom "WP Better Emails for BP Groupblog" plugin (<a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: new_groupblog_post emails not being sent as HTML (Resolved)" href="https://redmine.gc.cuny.edu/issues/3219">#3219</a>). (This might not be required after modifications to GES are made.)</li>
<li>Make a decision as to whether we should use BP's default email template or use the same template we use with WP Better Emails. If we use the default BP template, we should remove the "unsubscribe" link located in the email footer.</li>
</ul>
<p>I'm probably forgetting some things, but these are the main items.</p>
<p>Placing this in the 2.0 milestone for now.</p> CUNY Academic Commons - Bug #5257 (Resolved): Social Paper: Comment indicator disappears after ad...https://redmine.gc.cuny.edu/issues/52572016-02-24T06:32:30ZRaymond Hoh
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/5255#note-5">https://redmine.gc.cuny.edu/issues/5255#note-5</a></p>
<p>Luke's original report is as follows:</p>
<blockquote>
<p>Seeing issue where when I submit a comment it is successfully stored (screenshot 1), then when I click elsewhere on the page, the comment and comments indicator are not visible (screenshot 2) until I reload the page (screenshot 3).</p>
<p>Using Chrome.</p>
</blockquote>
<p>Screenshot 1:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2662/1.png" alt="" /></p>
<p>Screenshot 2:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2663/2.png" alt="" /></p>
<p>Screenshot 3:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2664/3.png" alt="" /></p> CUNY Academic Commons - Bug #4083 (Resolved): My Commons: New users see empty "group joined" acti...https://redmine.gc.cuny.edu/issues/40832015-05-25T19:23:46ZRaymond Hoh
<p>When a new user joins CAC and goes to the "My Commons" page, that user will see tons of empty "group joined" activity items.</p>
<p>These are just some of the numerous examples on cdev:<br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit</a></p>
<p>The problem is because of older "group joined" activity items being recorded with the group ID of <code>0</code>. The last instance of this was over a year ago with most of them being recorded between 4-5 years ago.</p>
<p>Boone - Since the empty activity group scope relies on group ID 0, I plan on changing the group scope arguments on CAC to check for some invalid query like <code>'component = -1'</code>. Let me know if you're okay with this or if you'd rather solve this by deleting all the invalid "group joined" activity items.</p> CUNY Academic Commons - Bug #4073 (Resolved): Group forum search should show within group layouthttps://redmine.gc.cuny.edu/issues/40732015-05-21T09:52:28ZRaymond Hoh
<p>Group forum search was implemented in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Create search for forums (Resolved)" href="https://redmine.gc.cuny.edu/issues/140">#140</a>, but a few users have requested that group forum search be contained within the current group layout.</p>
<p>See <a class="external" href="http://redmine.gc.cuny.edu/issues/140#note-26">http://redmine.gc.cuny.edu/issues/140#note-26</a></p>
<p>The plugin was originally created to work without BuddyPress groups, so some URL routing and query logic will be necessary for forum search to display within groups.</p> CUNY Academic Commons - Bug #3792 (Resolved): My Commons adjustments for BuddyPress 2.2https://redmine.gc.cuny.edu/issues/37922015-02-06T20:37:10ZRaymond Hoh
<p>Right now, we're scheduled to update BuddyPress to v2.2.0 on February 21st.</p>
<p>There are some adjustments I need to make to the My Commons code so it will be compatible with BP 2.2.</p>
<p>I'll get started on these changes after the maintenance update on the 11th. Will also add this to the 1.7.13 milestone once it's been created.</p> CUNY Academic Commons - Bug #3781 (Resolved): Plain-text email formatting issueshttps://redmine.gc.cuny.edu/issues/37812015-02-02T06:13:44ZRaymond Hoh
<p>Basically the same issue as <a class="issue tracker-1 status-5 priority-5 priority-high4 closed" title="Bug: Group email plain-text formatting problem (Resolved)" href="https://redmine.gc.cuny.edu/issues/3608">#3608</a>.</p>
<p>Need to reapply hotfix for 1.7.11.</p> CUNY Academic Commons - Bug #3546 (Resolved): My Commons - New user sees all site activity for "E...https://redmine.gc.cuny.edu/issues/35462014-10-10T18:29:55ZRaymond Hoh
<p>When a new user joins the site, this user has not joined any groups, followed any sites or created any friendships.</p>
<p>Currently, on the "My Commons" page, this user sees the "Everything" and "My Sites" tabs. If the user clicks on one of these tabs, they see all site activity instead of nothing.</p>
<p>I'm going to fix this so no activity is shown and will override the default empty message to state something like:</p>
<p>"It looks like you're new here. To see some activity here, join a group (link to groups directory) , add a friend (link to members directory) or follow a site (link to sites directory)."</p>
<p>Let me know what you think.</p> CUNY Academic Commons - Bug #3402 (Resolved): Clicking subnav tabs on "News" tab does not workhttps://redmine.gc.cuny.edu/issues/34022014-08-26T00:22:53ZRaymond Hoh
<p>When you're on the "News" tab and you're logged in, clicking on any of the subnav tabs (My Friends, My Groups, etc.) does nothing.</p>
<p>This is because of commit fefc5f30 to address <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Creating a Blog, Creating a Group (Resolved)" href="https://redmine.gc.cuny.edu/issues/2135">#2135</a>:<br /><a class="external" href="https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c">https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c</a></p>
<p>I'm going to add a fix for this in 1.7.x branch for testing on cdev in a bit.</p> CUNY Academic Commons - Bug #2263 (Resolved): Google Docs Shortcode doesn't support older present...https://redmine.gc.cuny.edu/issues/22632012-11-19T02:49:36ZRaymond Hoh
<p>As per an email convo I had with Chris, Chris <a href="http://commons.gc.cuny.edu/groups/wordpress-help/forum/topic/embedding-google-docs-presentation/" class="external">noted on CAC that older Google Doc presentations do not embed</a>.</p>
<p>Should be quite easy to support the older format.</p>
<hr />
<p>Also, Chris noted that Google has slightly changed the interface for configuring the docs. If you login to Google Docs, create a new doc and then click on "_File > Publish for the Web_". You'll notice that there is no longer a checkbox to automatically update.</p>
<p><strong>Scott:</strong> The first screenshot in the <a href="http://codex.commons.gc.cuny.edu/2012/08/12/google-docs-embed-plugin-now-available-with-commons-1-4/" class="external">codex article</a> needs to be updated.</p> CUNY Academic Commons - Bug #2054 (Resolved): Fix errors in BP External Activityhttps://redmine.gc.cuny.edu/issues/20542012-08-19T04:43:55ZRaymond Hoh
<p>See BP External Activity errors listed here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/2046#note-6">http://redmine.gc.cuny.edu/issues/2046#note-6</a></p> CUNY Academic Commons - Bug #1856 (Resolved): .htpasswd on cdev conflicting with WP cronhttps://redmine.gc.cuny.edu/issues/18562012-04-24T18:46:13ZRaymond Hoh
<p>Since we added .htpasswd on cdev, I've noticed that Reply By Email has stopped working.</p>
<p>I believe this has something to do with how WordPress needs to use wp_remote_post() to ping the site and spawn cron. Since wp_remote_post() cannot access the site without authentication, I'll probably have to write a small override filter to bypass the arguments in wp_remote_post().</p>
<p>Boone: I've added you as a watcher. Feel free to unwatch!</p> CUNY Academic Commons - Bug #725 (Resolved): BP Group Email Subscription - Double notificationshttps://redmine.gc.cuny.edu/issues/7252011-04-30T03:27:44ZRaymond Hoh
<p>Initially reported by Matt here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/show/661#note-16">http://redmine.gc.cuny.edu/issues/show/661#note-16</a></p>
<p>If you're the author of an activity update within a group and you have your group email set to "All Mail", if someone replies to your activity update you will receive two emails - one from BP Group Email subscription and one from BuddyPress.</p>
<p>A way to workaround this is to temporarily set the activity update author's "*notification_activity_new_reply*" user meta setting to "no" during the group email send.</p>
<p>Boone, do you have any other ideas?</p>