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 - 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 #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 - 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 - 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>