CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2024-01-29T17:19:57ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #19617 (New): Tickets Missing from WS deskhttps://redmine.gc.cuny.edu/issues/196172024-01-29T17:19:57ZLaurie Hurson
<p>Hi All,</p>
<p>I replied to this ticket below (Ticket 4583) through WS desk on Friday afternoon. Now when I go to find the ticket in WS desk it is nowhere to be found. See screenshots.</p>
<p>This has happened several times that I cannot find the tickets I was working on and therefore I cannot check if they have been replied to. Am I doing something wrong? Is this a bug or are the tickets archived somewhere that I cannot access?</p> CUNY Academic Commons - Bug #18496 (New): PHP 8+ Compatibilityhttps://redmine.gc.cuny.edu/issues/184962023-07-21T22:45:40ZRaymond Hoh
<p>We're currently running PHP 7.4 in our PHPCS set up and on the GC server, but some of us are using PHP 8+ in our development environments. (For example, <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: bp-email-type doesn't properly deal with 'to' arrays (Resolved)" href="https://redmine.gc.cuny.edu/issues/16948">#16948</a>.)</p>
<p>This will be a catch-all ticket to address deprecated notices, fatal errors and the like.</p>
<p>Also, just to note that PHP 7.4 reached end-of-life back in November 2022. Upgrading to PHP 8.2 is probably good to think about when we decide to move hosts. PHP 8.2 is supported until December 2025, while PHP 8.0 will reach end-of-life in November 2023.</p> CUNY Academic Commons - Bug #18117 (New): ourtlc.commons.gc.cuny.edu/" is giving us a "critical e...https://redmine.gc.cuny.edu/issues/181172023-04-25T23:43:20ZMarilyn WeberMweber@gc.cuny.edu
<p>Via ZD:</p>
<p>"I work with the TLC. Our URL "https://ourtlc.commons.gc.cuny.edu/" is giving us a "critical error" message and I am unsure as to why. This is a sudden issue. It wasn't doing this as early as two days ago. There's been no major changes and I am not sure how to fix the issue. Can we receive some guidance and help with this issue??<br />Professor Kevaughn Hunter City College of New York"</p>
<p>I (Marilyn) see this as well - Chrome, on a PC</p> CUNY Academic Commons - Bug #17834 (New): Open PDF in new tabhttps://redmine.gc.cuny.edu/issues/178342023-03-15T14:47:55ZLaurie Hurson
<p>Hi Ray, All,</p>
<p>I am helping with the CILC folks on this site: <a class="external" href="https://cilc.commons.gc.cuny.edu/heritage-arabic-ebook/teaching-materials/">https://cilc.commons.gc.cuny.edu/heritage-arabic-ebook/teaching-materials/</a></p>
<p>They want to be able to to click the PDF link (below the embed) and have it open in a new tab (and not download right away). I can't seem to figure out the right settings to get this to work as they want.</p>
<p>Any suggestions?</p> CUNY Academic Commons - Bug #17587 (New): Recurring event issueshttps://redmine.gc.cuny.edu/issues/175872023-01-31T07:16:53ZRaymond Hoh
<p>I came across a few bugs while testing events:</p>
<ul>
<li>Dates for recurring events are not displayed correctly in list view. The first event date is shown instead of the actual recurring event's date.</li>
<li>Recurring date info is missing on single event pages. For a point of reference, a recurring event page looks like this in Event Organiser: <a class="external" href="http://demo.wp-event-organiser.com/events/event/fortnightly-event/">http://demo.wp-event-organiser.com/events/event/fortnightly-event/</a>. Do we want to port over the <code>"This event is running from X until Y. It is next occurring on Z"</code> line or the "Upcoming Dates" section? (Also, venue map is missing on our single event page as well.)</li>
</ul>
<p>Will add a fix for the former, but could use some feedback on the latter.</p> CUNY Academic Commons - Bug #17542 (New): Ninja Forms plugin can write many "_wp_session" entries...https://redmine.gc.cuny.edu/issues/175422023-01-24T01:02:58ZRaymond Hoh
<p>While looking a bit into <a class="issue tracker-2 status-8 priority-4 priority-default closed" title="Feature: Strategies for reducing database size (Duplicate)" href="https://redmine.gc.cuny.edu/issues/17522">#17522</a>, I looked at the options database table for the <a href="https://iletc.commons.gc.cuny.edu" class="external">ILETC</a> site and found 51,000 entries for options beginning with <code>"_wp_session"</code>:</p>
<pre>
mysql> select count(*) from wp_1185_options where option_name like '_wp_session%';
+----------+
| count(*) |
+----------+
| 51084 |
+----------+
1 row in set (0.02 sec)
</pre>
<p>I searched through our plugins to see what might be causing this and the options comes from the <a href="https://wordpress.org/plugins/ninja-forms/" class="external">Ninja Forms</a> plugin. Specifically, the use of the <code>WP_Session</code> library: <a class="external" href="https://github.com/cuny-academic-commons/cac/blob/master/wp-content/plugins/ninja-forms/includes/Session.php">https://github.com/cuny-academic-commons/cac/blob/master/wp-content/plugins/ninja-forms/includes/Session.php</a>. Sometime in the past, Ninja Forms was activated on the ILETC site, but it isn't currently active.</p>
<p>Next, I decided to look through current sites with Ninja Forms active. Out of the current sites with Ninja Forms active, I came across the <a href="https://digitalfellows.commons.gc.cuny.edu/" class="external">GC Digital Fellows</a> website, which had ~150,000 <code>"_wp_session"</code> options:</p>
<pre>
mysql> select count(*) from wp_1120_options where option_name like '_wp_session%';
+----------+
| count(*) |
+----------+
| 154139 |
+----------+
1 row in set (0.35 sec)
</pre>
<p>The other sites with Ninja Forms active did not have this issue. I just deleted the <code>"_wp_session"</code> options for both ILETC and GC Digital Fellows and cleared the options object cache for both sites.</p>
<p>Perhaps this is an older bug in Ninja Forms that might have been fixed in a more, recent version, but thought it would be worth documenting in a ticket.</p> CUNY Academic Commons - Bug #16177 (New): Switch to Inbound mode for RBEhttps://redmine.gc.cuny.edu/issues/161772022-05-30T20:32:45ZRaymond Hoh
<p>For the reply-by-email plugin, we use IMAP mode, which relies on connecting to a GMail account to check for new replies and posting items to the Commons.</p>
<p>This isn't the best for performance because IMAP mode uses a long-running process to do the new email checks. RBE also has another mode called Inbound mode, which works on a per-email basis. This mode is already being used to create new forum topics with a custom, group email address (<code>GROUP@groups.commons.gc.cuny.edu</code>), but we haven't fully switched over to using Inbound for replies and private messages because IMAP was already in use.</p>
<p>Some things-to-do before switching:</p>
<p>1. Since we already have set up the <code>GROUP@groups.commons.gc.cuny.edu</code> email address for new forum topics, would it be okay to keep using this email domain for replies as well? (Regular reply email addresses would look something like <code>fb2da051ba2b7220193cca6ada@groups.commons.gc.cuny.edu</code>). The alternative is to set up another email address domain like <code>X@reply.commons.gc.cuny.edu</code>, but RBE hasn't been tested with two different email domains yet. Some background info here: <a class="external" href="https://redmine.gc.cuny.edu/issues/2880#note-24">https://redmine.gc.cuny.edu/issues/2880#note-24</a>. I'd say for now, we should keep using the same email domain unless anyone has any objections.</p>
<p>2. Once we switch to Inbound mode exclusively, replying to older items with the <code>cunyacademiccommons+IDENTIFIER@gmail.com</code> GMail address would no longer work. I was thinking we can set up an auto-replier in GMail, so if a new email matches the body of the RBE format, an auto-reply with the following message could be sent:</p>
<pre>
Hi,
You attempted to reply to our older reply-by-email address that is no longer in service. We have transitioned to a new email address.
If you would like to try emailing your reply with the new email address, please copy the IDENTIFIER portion of the "To" email address in the format of:
cunyacademiccommons+IDENTIFIER@gmail.com
to:
IDENTIFIER@groups.commons.gc.cuny.edu
And resend your previous email using this new email address.
You can always login to the CUNY Academic Commons to view your thread and make your reply there as well.
If you have any questions, please contact us at support@cunycommons.zendesk.com.
</pre> CUNY Academic Commons - Bug #12438 (New): Site appearing twicehttps://redmine.gc.cuny.edu/issues/124382020-02-18T17:31:59ZLaurie Hurson
<p>Instructor's site is appearing twice, see screenshot. Looks like both URLs are the same so I am not sure what is causing the duplication.</p>
<p>Site is: <a class="external" href="https://introsocmonday.commons.gc.cuny.edu/">https://introsocmonday.commons.gc.cuny.edu/</a></p>
<p>When the instructor updates one, both sites update.</p>
<p>On an unrelated note - and apologies for asking here I didn't know if I should make a ticket about seeing another ticket... I am a watcher on ticket 12428 but when i search for it, I cannot find it or see that ticket. How can i get access to private ticket 12428?</p>
<p><img src="https://redmine.gc.cuny.edu/attachments/download/13734/double%20monday.png" alt="" /></p> CUNY Academic Commons - Bug #11024 (New): Subsites should not show "you should update your .htacc...https://redmine.gc.cuny.edu/issues/110242019-01-28T18:35:05ZBoone Gorgesboone@gorg.es
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/11023#note-2">https://redmine.gc.cuny.edu/issues/11023#note-2</a></p>
<p>This is a core bug that we cannot easily work around. See <a class="external" href="https://core.trac.wordpress.org/ticket/39547">https://core.trac.wordpress.org/ticket/39547</a>.</p> CUNY Academic Commons - Bug #9926 (New): twitter-mentions-as-comments cron jobs can run longhttps://redmine.gc.cuny.edu/issues/99262018-06-14T02:32:33ZBoone Gorgesboone@gorg.es
<p>Just logged a long request triggered by a cron job in twitter-mentions-as-comments. It appears that the plugin does an hourly check that involves pulling up every single post on the site. This can take a very long time when a site has many posts. The plugin has no obvious internal mechanism for dividing this process into batches.</p>
<p>The plugin hasn't been updated in 5 years, so we might consider disabling it. Here are the sites where it's running:</p>
<pre><code>[0] => <a class="external" href="http://connections.commons.gc.cuny.edu">http://connections.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://jitp.commons.gc.cuny.edu">http://jitp.commons.gc.cuny.edu</a><br /> [0] => <a class="external" href="http://newtestsite.commons.gc.cuny.edu">http://newtestsite.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://eshtestcac.commons.gc.cuny.edu">http://eshtestcac.commons.gc.cuny.edu</a><br /> [2] => <a class="external" href="http://arctest2.commons.gc.cuny.edu">http://arctest2.commons.gc.cuny.edu</a><br /> [3] => <a class="external" href="http://acert.commons.gc.cuny.edu">http://acert.commons.gc.cuny.edu</a><br /> [0] => <a class="external" href="http://jitpdev.commons.gc.cuny.edu">http://jitpdev.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://jitpstaging.commons.gc.cuny.edu">http://jitpstaging.commons.gc.cuny.edu</a><br /> [2] => <a class="external" href="http://foodscholar.commons.gc.cuny.edu">http://foodscholar.commons.gc.cuny.edu</a></code></pre>
<p>I'll start by putting 15 minutes in to see if I can rewrite the plugin to use separate cron tasks for each post.</p> CUNY Academic Commons - Bug #7981 (New): Social Paper comments should not go to spamhttps://redmine.gc.cuny.edu/issues/79812017-04-18T17:43:45ZLuke Waltzerlwaltzer@gc.cuny.edu
<p>Report from student in my ITP course:</p>
<p>Hi everyone – I commented on a proposal in Social Paper yesterday but my comment doesn’t show up, and I’ve noticed that there is only one comment amongst all our Social Paper posts (on Robert’s post, which he made himself). Is there a problem with the commenting function, or is there some other way to see the comments? I spent a lot of time on the one I wrote and if I’m going to spend more effort in recreating it I want to know that it will actually be visible, at least to the author.</p>
<p>Is anyone else having this problem?</p>
<hr />
<p>The paper in question: <a class="external" href="https://commons.gc.cuny.edu/papers/freeishwriteonline/">https://commons.gc.cuny.edu/papers/freeishwriteonline/</a></p>
<p>Any way to trace this?</p> CUNY Academic Commons - Bug #7663 (New): Social Paper notifications not formatted correctly on se...https://redmine.gc.cuny.edu/issues/76632017-02-12T02:19:36ZBoone Gorgesboone@gorg.es
<p>See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: BP notification text is not generated properly on secondary sites when dependent on non-active pl... (Resolved)" href="https://redmine.gc.cuny.edu/issues/7656">#7656</a>.</p> CUNY Academic Commons - Bug #7022 (New): Sitewide announcements should be displayed on, and dismi...https://redmine.gc.cuny.edu/issues/70222016-12-12T15:44:59ZBoone Gorgesboone@gorg.es
<p>Currently this can't be done because the AJAX request requires authorization, and cookies aren't sent cross-domain. One of the following things should happen:</p>
<p>- Figure out a way to set the CORS headers in such a way that cookies are sent between domains. This should be possible with withCredentials plus some custom Allow-Origin work, but it needs exploration.<br />- Figure out a way to ensure that mapped-domain authentication always sets the commons.gc.cuny.edu auth cookie, so that the native domain cookies can be used. See <a class="issue tracker-2 status-2 priority-4 priority-default" title="Feature: Share login cookies across mapped domains (Assigned)" href="https://redmine.gc.cuny.edu/issues/1508">#1508</a>.<br />- Don't use cookie auth for the AJAX request - could just generate a secret key, or try to implement oAuth2 or something like that.<br />- Have a catcher on the mapped domain (which would use the mapped cookies) and then use PHP to dismiss the notice using switch_to_blog(). This is the easiest, but makes the plugin less appealing for broader use.</p> CUNY Academic Commons - Bug #5282 (New): Replying via email directs to paper but not individual c...https://redmine.gc.cuny.edu/issues/52822016-03-02T16:31:39ZMarilyn WeberMweber@gc.cuny.edu
<p>Kelly Josephs commented that "I have no idea how to see which comment you are replying to when I get an update from the paper via email. I clicked on the "see comment" but it just took me to the paper, not to the comment"</p>
<p>Adding it here as a suggestion for future release, I think. Thanks!</p> CUNY Academic Commons - Bug #3691 (New): WPMU Domain Mapping Debugging on cdevhttps://redmine.gc.cuny.edu/issues/36912014-12-02T17:23:21ZRaymond Hoh
<p>As per the 1.7.5 release, there was a redirect issue with the WPMU Domain Mapping plugin during upgrade to v0.5.5 that forced us to rollback to the previous version (v0.5.4.3).</p>
<p>Boone has suggested that we help debug the latest release on cdev so we can send a patch back to the authors.</p>
<p>Can you let us know when you've set up a domain for mapping on cdev and whether you require any help in debugging?</p>
<p>Thanks!</p>