CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2023-05-12T15:40:30ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #18213 (New): Google Analytics 4 migration documentation for usershttps://redmine.gc.cuny.edu/issues/182132023-05-12T15:40:30ZBoone Gorgesboone@gorg.es
<p>Individual sites on the Commons can have their own Google Analytics tracking. See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: StatPress performance & migrate to per-site Google Analytics (Resolved)" href="https://redmine.gc.cuny.edu/issues/10722">#10722</a>. Since <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Support: Google Analytics 4 tagging (Resolved)" href="https://redmine.gc.cuny.edu/issues/13511">#13511</a>, we have supported Google Analytics 4 in addition to the legacy Universal Analytics. In Summer 2023, Google will be phasing out UA, so we should make some changes on the Commons:</p>
<p>1. Amend our help documentation to indicate that GA4 is the proper system to use, and to guide people on how to migrate their legacy UA accounts to GA4. Those users will then need to be directed on how to enter their new GA4 identifier in place of the old UA- identifier on their Commons sites.<br />2. We should change the language on the Commons dashboard panel so that it no longer indicates that both UA and GA4 are supported.<br />3. Scott, if you think it makes sense, we could build a system to build a list of sites using the old UA IDs. We can then either (a) email them, or (b) have something in the Commons (like an admin notice?) telling them to make the necessary changes, or (c) something else or some combination of these.</p>
<p>Scott, what do you think?</p> CUNY Academic Commons - Design/UX #17677 (New): Cataloguing notification typeshttps://redmine.gc.cuny.edu/issues/176772023-02-16T18:54:32ZBoone Gorgesboone@gorg.es
<p>Following up on a recent dev call, here's a list of unique notification types on the Commons:</p>
<pre>
| added_reader |
| bbp_new_reply |
| comment_mention |
| followedpaper_comment |
| followedpaper_edit |
| friendship_accepted |
| friendship_request |
| group_invite |
| membership_request_accepted |
| membership_request_rejected |
| member_promoted_to_admin |
| member_promoted_to_mod |
| mypaper_comment |
| new_at_mention |
| new_membership_request |
| new_message |
| new_wire_post |
| pending_booking |
</pre>
<p>We can eliminate several that are related to Social Paper: <code>added_reader</code>, <code>comment_mention</code>, <code>followedpaper_comment</code>, <code>followedpaper_edit</code>, <code>mypaper_comment</code>. In addition, <code>new_wire_post</code> is linked to a feature that we no longer have on the Commons. This leaves us with:</p>
<p>1. bbp_new_reply - Created by bbPress for user A when user B posts a reply to a forum topic or reply written by A. <br />2. friendship_accepted - Created by BP for user A when user B accepts a friendship request that A sent to B.<br />3. friendship_request - Created by BP for user A when user B sends a friendship request to A.<br />4. group_invite - Created by BP for user A when user B invites A to join a group.<br />5. membership_request_accepted - Created by BP for user A when A requests membership in a group, and the group's admin approves the request<br />6. membership_request_rejected - Created by BP for user A when A requests membership in a group, and the group's admin rejects the request<br />7. member_promoted_to_admin - Created by BP for user A when A is promoted in a group from 'member' to 'admin'<br />8. member_promoted_to_mod - Created by BP for user A when A is promoted in a group from 'member' to 'mod'<br />9. new_at_mention - Created by BP for user A when A is at-mentioned anywhere tracked by BuddyPress. Notably for our purpose, this includes blog posts, blog comments, forum posts.<br />10. new_membership_request - Created by BP for user A when A is the admin of a private group, and user B requests membership in that group<br />11. new_message - Created by BP for user A when A receives a private message<br />12. pending_booking - Created by the events-manager plugin for user A when user A has created an event with booking, and user B books for that event. events-manager is <strong>not</strong> a plugin that we run on the main site, so this must be something that happens on secondary sites</p>
<p>Of these, a number are purely informational. 1, 2, 5, 6, 7, 8, 9, 12 A right-hand notifications pane could have a message that summarizes the information ("So-and-so replied to your forum post") and then links to that content.</p>
<p>Several of them have obvious follow-up actions. 3, 4, 10, perhaps 11. A right-hand notifications pane could have a link that points you to the page where you'd perform the action, or perhaps it could show you the interface for actually performing the action (ie, accepting the friendship).</p>
<p>I hope this is a helpful start.</p> CUNY Academic Commons - Feature #16092 (Hold): Don't show main site in Site search resultshttps://redmine.gc.cuny.edu/issues/160922022-05-11T22:40:36ZBoone Gorgesboone@gorg.es
<p>From <a class="external" href="https://redmine.gc.cuny.edu/issues/15261#note-31">https://redmine.gc.cuny.edu/issues/15261#note-31</a>:</p>
<blockquote>
<p>- The CAC home site seems to appear in search results. Can we filter that out?</p>
</blockquote>
<p>I don't know whether this is something we actually want to do. If there's general agreement, please let me know and I'll look into technical feasibility.</p> CUNY Academic Commons - Feature #12911 (New): Block access to xmlrpc.php based on User-Agenthttps://redmine.gc.cuny.edu/issues/129112020-06-09T21:10:11ZBoone Gorgesboone@gorg.es
<p>Branching off of #12898.</p>
<p>On today's dev call, we decided we'd try blacklisting certain User-Agent strings in xmlrpc.php requests.</p>
<p>I downloaded the last 7 complete days of access logs and did some parsing to get a list of unique user agents. The attached CSV file has these agents, with the corresponding counts.</p> CUNY Academic Commons - Bug #12436 (Assigned): Nightly system downtimehttps://redmine.gc.cuny.edu/issues/124362020-02-18T16:21:55ZBoone Gorgesboone@gorg.es
<p>I'm opening this ticket to track recent outages on the Commons. A number of us receive automated notices when the database server is forced to reboot. Beginning roughly one month ago, we started getting these notices several times per week. These notifications indicate when the DB server is forced to reboot, so they indicate at best the end of a problematic period. I receive additional notifications when requests begin to take an inordinately long time, which serves as an indicator of when the incidents begin.</p>
<p>I've been keeping track of specifics over the last few weeks, and I've discerned the following patterns:</p>
<p>- The most common downtime is just after 05:00 UTC (midnight EST, UTC-5), with my incident reports rolling in sometimes around 12:03am and sometimes around 12:07am.<br />- Occasionally, the incidents have begun an hour or two earlier, shortly after 03:00 or 04:00 UTC.<br />- Incidents seem always to begin several minutes after the hour<br />- Reboots usually take place between 3 and 6 minutes after the beginning of the incident<br />- On some occasions, the reboots don't seem to fix the underlying issue, and another cycle of slow requests + db reboots immediately follows.<br />- Sometimes this'll happen a few nights in a row, while sometimes the site will go a few days without any notifications.</p>
<p>All of this strongly suggests that the problem is with an automated cron task, specifically one that takes place around midnight. I've begun to do an analysis of the tasks scheduled for around this time, cross-referencing with the logs. Ideally, we'd be able to narrow down the culprit by identifying the last cron task that begins just before the outages. This is not possible, for a couple reasons: First, the performance issues may only kick in a minute or two after the task begins running (as the system's resources are gradually used up). Second, the Cavalcade logs don't natively keep track of when a task begins running, but only when it finishes (see <a class="external" href="https://github.com/humanmade/Cavalcade-Runner/blob/master/inc/class-runner.php#L377">https://github.com/humanmade/Cavalcade-Runner/blob/master/inc/class-runner.php#L377</a>).</p>
<p>So the best we can do is to make some educated guesses. I'll follow up in a comment with initial thoughts.</p> CUNY Academic Commons - Feature #11517 (Assigned): wp-accessibility plugin should not strip 'targ...https://redmine.gc.cuny.edu/issues/115172019-06-04T15:08:25ZBoone Gorgesboone@gorg.es
<p>The default setting of wp-accessibility is to strip 'target="_blank"' from links. See <a class="issue tracker-1 status-8 priority-4 priority-default closed" title="Bug: Links not opening in new tab (Duplicate)" href="https://redmine.gc.cuny.edu/issues/11512">#11512</a>, <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Support: open link in a new tab not working (Resolved)" href="https://redmine.gc.cuny.edu/issues/11002">#11002</a>.</p>
<p>In <a class="issue tracker-1 status-8 priority-4 priority-default closed" title="Bug: Links not opening in new tab (Duplicate)" href="https://redmine.gc.cuny.edu/issues/11512">#11512</a>, Gina suggests that this should not be the default behavior:</p>
<blockquote>
<p>Since the plugin appears to insert such a warning in the HTML, would it be possible to configure it so that it does not default to removing the target attribute from links? Removing the target attribute is likely to be confusing for other users of the Teaching template.</p>
</blockquote>
<p>I personally am not a fan of target="_blank". See <a class="external" href="https://redmine.gc.cuny.edu/issues/10712#note-2">https://redmine.gc.cuny.edu/issues/10712#note-2</a> and follow-up conversation. Moreover, I'm not a huge fan of messing with the default settings of third-party plugins, because it complicates updates and puts us out of step with their documentation, etc. But if others feel strongly that the current behavior is potentially confusing, it's probably possible to change the default behavior, either globally or in the case of the Teaching Template only.</p>
<p>I'm assigning this to Laurie as she's been the point person for building these templates, but general feedback is welcome.</p> NYCDH Community Site - Feature #10631 (New): DATA VIS - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106312018-10-29T18:19:49ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Feature #10630 (New): Digital Humanities - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106302018-10-29T18:14:33ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Feature #10628 (New): Data Science - Flier and Cardshttps://redmine.gc.cuny.edu/issues/106282018-10-29T18:07:24ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Feature #10627 (New): Compu Linguistics - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106272018-10-29T18:01:39ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Feature #10625 (New): IMS - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106252018-10-29T17:44:21ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Feature #10624 (New): QMSS - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106242018-10-29T17:36:33ZAlex IrklievskiAIrklievski@gc.cuny.eduNYCDH Community Site - Bug #2618 (Assigned): Mark blogs as spam when created by users marked as spamhttps://redmine.gc.cuny.edu/issues/26182013-06-10T03:34:26ZMatt Goldmattgold@gmail.com
<p>Per an email discussion based on an nycdh.org issue, WordPress does not automatically mark a blog as spam when its creator is marked as spam. As you noted, Boone, it's a WP issue; if you could work on it at some point by, as you noted, "creat[ing] a patch to WP, or a small mu-plugin, or probably both," that would be great. Many thanks.</p> NYCDH Community Site - Feature #2577 (Assigned): Investigate Potential to Add Links to the Forumhttps://redmine.gc.cuny.edu/issues/25772013-05-16T21:14:40ZMark Newtonmnewton@columbia.edu
<p>Issue History between Matt and Alex</p>
<p>Any way to have the link to the help & support group point directly to the forum? [no, not right now, unless we write new code. You could request this as an option here -- <a class="external" href="https://github.com/cuny-academic-commons/commons-in-a-box">https://github.com/cuny-academic-commons/commons-in-a-box</a> - but what you want to request is that users have the option of making the group homepage the forum instead of activity -- MKG] [will do. might be useful for help pages. i'll dig around to see how to add the functionality. if it's not too time consuming I'll put in a pull request. ]</p> NYCDH Community Site - Bug #2576 (Hold): Test Next Button in Javascript Tutorial Under Activitieshttps://redmine.gc.cuny.edu/issues/25762013-05-16T21:13:39ZMark Newtonmnewton@columbia.edu
<p>Issue history with Matt and Alex</p>
<p>The javascript tutorial on the activities section is screwy on the when you click on the ‘next’ button. [can you describe what you mean by "screwy" and/or take a screenshot/screencast? Also describe your browser/os. Just tried it and it worked okay for me --MKG][Hard to try again once you've been through it. seems only to work on first run. i saw two things. on click the arrow box turned into a blank square of a different size. on the last page, hovering on the drop-down menu, the pop-up box is cut in half by the browser window. i'm using Chrome on LionOSX. AG][thanks for this report, Alex. Can you add it here - <a class="external" href="https://github.com/cuny-academic-commons/cbox-theme">https://github.com/cuny-academic-commons/cbox-theme</a> ? --MKG]</p>