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 #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 - Bug #14987 (New): Elementor update causes database freeze-uphttps://redmine.gc.cuny.edu/issues/149872021-11-23T21:19:15ZBoone Gorgesboone@gorg.es
<p>On Nov 9 and Nov 23, as part of regular maintenance updates, I tried updating Elementor from version 3.4.4 to the latest version (3.4.6 or 3.4.8). Both times, the Commons database was brought to a halt by an influx of database connections, within minutes.</p>
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/14986">https://redmine.gc.cuny.edu/issues/14986</a>, <a class="external" href="https://redmine.gc.cuny.edu/issues/14951">https://redmine.gc.cuny.edu/issues/14951</a></p>
<p>Effective immediately, I won't be updating Elementor anymore during regular maintenance updates. Specifically, I will add it to the list of blocked plugins in my wp-cli-cac update tools. Ray, if you have your own version of these tools, please do the same.</p>
<p>The next time Elementor is updated to a new major version, say 3.5, I might consider trying the update again in isolation. I'll leave this ticket open for further investigation.</p> CUNY Academic Commons - Feature #14309 (New): Better handling of bp_group_document file download ...https://redmine.gc.cuny.edu/issues/143092021-04-13T14:48:13ZBoone Gorgesboone@gorg.es
<p>See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Library items change folders when adding subsequent items in new folders (Resolved)" href="https://redmine.gc.cuny.edu/issues/14304">#14304</a>. Clicking a bp_group_document item title in the Group Library triggers our download mechanism. See <pre>cac_catch_group_doc_request()</pre> in plugins/cac-bp-custom-includes/group-documents.php. If the source file is not found in its expected location, we should serve an error or do something more useful than redirecting to the homepage. It looks like we attempt to send users to the group library, but it appears not to be working for some reason.</p>
<p>This is relatively low priority because the case should never arise in the normal course of events.</p> CUNY Academic Commons - Feature #14184 (New): Centralized mechanism for storing Campus affiliationshttps://redmine.gc.cuny.edu/issues/141842021-03-16T19:11:14ZBoone Gorgesboone@gorg.es
<p>User campus affiliation is currently determined in two ways.</p>
<p>1. We have an xprofile field called 'College'. For a few years, this field has only been available during registration, not for existing users editing their profiles.<br />2. Our Positions widget system stores college affiliation in the 'cacap_position_college' taxonomy.</p>
<p>When users update their Positions, that data is synced back to the xProfile College field, because the member directory College filter used to require the xProfile data. No syncing takes place in the other direction.</p>
<p>This means that, when we want to pull up a list of a user's campuses, or pull up a list of users affiliated with a campus, we have to cobble together a couple different types of information. In short, it's a mess.</p>
<p>Because campus affiliation is going to be a critical part of the way that the new homepage tools work (see especially <a class="issue tracker-2 status-5 priority-4 priority-default closed child" title="Feature: "Suggested" tool for members, groups, sites (Resolved)" href="https://redmine.gc.cuny.edu/issues/14181">#14181</a>), this is a good time to clean things up a bit. I propose that we migrate away from using the xProfile field in favor of the taxonomy (which performs better and is better for handling multiple campus affiliations):</p>
<p>a. Stop using the College field during registration. Instead, show the same dropdown interface, but create a partially-filled Position based on this information. Users can clean this up manually, if they wish, after registration.<br />b. Migrate existing College data over to the cacap_positions_college taxonomy.<br />c. Stop referencing College when doing member directory searches, and rely solely on the taxonomy.<br />d. Build a wrapper for the taxonomy function that makes it easy to fetch a list of the user's campuses, and then use that wrapper where possible.</p> CUNY Academic Commons - Feature #13835 (New): Allow OneSearch widget to have 'CUNY' as campushttps://redmine.gc.cuny.edu/issues/138352021-01-14T21:52:35ZBoone Gorgesboone@gorg.es
<p>As requested in <a class="external" href="https://redmine.gc.cuny.edu/issues/13783#note-4">https://redmine.gc.cuny.edu/issues/13783#note-4</a>.</p>
<p>This will require checking whether the new OneSearch portal allows campus-agnostic searches. The old one did <strong>not</strong>, as far as I know.</p> CUNY Academic Commons - Feature #13466 (New): Automated cleanup for duplicate Cavalcade taskshttps://redmine.gc.cuny.edu/issues/134662020-10-13T21:24:05ZBoone Gorgesboone@gorg.es
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/13429#note-14">https://redmine.gc.cuny.edu/issues/13429#note-14</a>:</p>
<blockquote>
<p>I was looking at the Cavalcade issues list and wordpress.org uses a daily cron job to look for duplicate jobs and removes them if they exist: <a class="external" href="https://github.com/humanmade/Cavalcade/issues/89#issuecomment-630577767">https://github.com/humanmade/Cavalcade/issues/89#issuecomment-630577767</a></p>
</blockquote> 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> AD/O365 Transition from NonMatric to Matriculated Students - Feature #12062 (In Progress): creat...https://redmine.gc.cuny.edu/issues/120622019-11-12T20:50:21ZEmilio RodriguezCUNY 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> CUNY 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>