CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2023-02-16T18:54:32ZCUNY Graduate Center - Project Tracking System
Redmine 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 #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 - Support #11883 (New): Need Embedding Help Page Update (Tableau)https://redmine.gc.cuny.edu/issues/118832019-09-19T21:43:37ZAnthony Wheeler
<p>Hi Scott,</p>
<p>So I was recently trying to embed a Tableau visualization into a Commons site when I ran into a couple of roadblocks. I went to our Help Page for embedding from other websites, and it was helpful, but something we may want to add is that when copying the share link over from Tableau, you have to make sure you copy the link under "Original View" <br /><img src="https://redmine.gc.cuny.edu/attachments/download/12443/Screen%20Shot%202019-09-19%20at%205.40.11%20PM.png" alt="" /></p>
<p>It was only after that discovery that the visualization was fully functioning within the Commons. I attached (or tried to attach) a screenshot to hopefully show you what I'm talking about.</p>
<p>Thanks!</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> CUNY Academic Commons - Bug #10794 (New): Memcached connection occasionally breakshttps://redmine.gc.cuny.edu/issues/107942018-12-06T20:30:55ZBoone Gorgesboone@gorg.es
<p>A handful of times over the past month or so, the Memcached connection seems to have failed completely. This manifests first by extreme slowness in Commons load times. With Query Monitor enabled, I can then see that there are hundreds of database hits instead of the normal small handful. Occasionally, `wp cache flush` fixes it. But more often, I have to go in and switch from one to the other item in the $memcached_servers array. When I do this (and, importantly, run `wp cache flush` immediately afterward, to ensure that WP doesn't access stale cache in the other node) things come back to life immediately.</p>
<p>I don't really have the tools at my disposal to debug this fully. If the problem is that the cache is corrupted and thus inaccessible, I guess I would know that by looking at some sort of Memcached log <a class="external" href="https://serverfault.com/questions/422350/memcached-debuging-server-logs-monitor-the-memcached-servers">https://serverfault.com/questions/422350/memcached-debuging-server-logs-monitor-the-memcached-servers</a> and perhaps by examining the contents of the cache directly via Telnet. Or the problem could be a connection issue, though I'm unsure how to test that directly.</p>
<p>I don't know the proper next steps, but I'm starting this ticket so that the issue is on Ray's radar and so that we have a place to collect ideas and incident reports.</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 #10626 (Assigned): Cognitive Neuroscience - Flyer and Cardshttps://redmine.gc.cuny.edu/issues/106262018-10-29T17:52:37ZAlex 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.eduCUNY Academic Commons - Bug #4388 (Assigned): Repeated request for authentication.https://redmine.gc.cuny.edu/issues/43882015-08-05T19:43:46ZAlice.Lynn McMichaelalimcmichael@hotmail.com
<p>Hi, I'm building a site on the Commons, and when I click on a page or refresh one, a pop-up asking for authentication interrupts the work, often making me click OK up to 8-10 times. (It doesn't go away if I click Cancel, either). I can't tell whether this is Commons-wide or related to my account or theme, although it did not happen when I used a different Commons site yesterday</p>
<p>My site is not public yet, but the URL is amcmichael.commons.gc.cuny.edu and the theme is Make. I've had this problem repeatedly over the last couple of weeks. (See the attached screenshot for the pop-up box that I get).</p>
<p>Thank you.<br />Best,<br />Alice Lynn</p> CUNY Academic Commons - Feature #3230 (Assigned): Scripts for quicker provisioning/updating of de...https://redmine.gc.cuny.edu/issues/32302014-05-28T13:42:42ZBoone Gorgesboone@gorg.es
<p>As the Commons team grows, more people are faced with the task of creating a local enviroment that mirrors the Commons for their development work. This is currently not an easy task. At a high level, you have to:</p>
<p>- make sure that a *AMP environment is running on your computer, and is roughly compatible with the server software running on the Commons production server<br />- clone the Commons repo<br />- download and import some version of the Commons database into your own local database<br />- do a bunch of wizardry to ensure that either you can switch your local environment to self-identify as 'commons.gc.cuny.edu', or to swap out with a local dev URL like 'commons.local.dev' or 'local.cicdev.com'<br />- maybe get some representative piece of the data at wp-content/blogs.dir/</p>
<p>Each of these steps is fraught with issues about data integrity, implementation details, and various, unpleasant gotchas.</p>
<p>Let's start to work toward something a bit more organized. I'm going to suggest the following as a starting point:</p>
<p>- Let's use Vagrant for VM management, since it's pretty widely used in the WP community<br />- Pick a provisioning tool - bash, Puppet, Salt, Chef, etc - for doing environment provisioning. I don't have a ton of experience here, so if anyone has thoughts, please jump in<br />- Write the necessary provisioning scripts to mirror the Commons fairly well (keeping in mind that we don't control the Commons environment directly, and that the Commons runs RHEL, which means we'll need to use a pretty-close free alternative OS)<br />- Write some scripts to handle fetching recent versions of Commons data, including a "cleaned-up" version of production data (I'll open a separate ticket for this)</p>
<p>I think this would be a cool summer project. Dom, I'm going to assign to you for the moment, as it seems up your alley, and ask you to give your initial thoughts.</p>