John Walker

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 days, 3 hours ago

    2019 December 5

    After yesterday's fix for BuddyPress's phoney "pages", I'm
    reasonably satisfied the fix for opening links in posts and
    comments in a new tab/window is close enough to the target to
    commit.  There may be some obscure edge case I haven't yet
    thought of or managed to run into, but since the worst thing
    that can happen in such a circumstance is that something which
    was intended to open in the same tab/window opens in a new one,
    this is something that won't disrupt use of the site (and, in
    fact, many users may not even notice, assuming that was the
    intended action).…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 4 days, 3 hours ago

    2019 December 4

    One more course correction was in order for the in-development
    code to open links in a new window/tab. When BuddyPress (Scorn
    Be Unto It) creates the output to display a group or one of its
    other administrative pages, it does this by dummying up a $post
    object in which most of the fields of a genuine post present in
    the database are missing or set to default values: in
    particular, the post ID, post_author, and post_date are all 0.
    However, this malformed mutant looks enough like a real post so
    it passes the in_the_loop() and main_query() conditionals we use
    to decide…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 5 days, 3 hours ago

    2019 December 3

    Updated the Stop Spammers plug-in to version 2019.3.  I was
    really impressed when, on 2019-11-29, the Stop Spammers
    developers released only their second update of 2019, version
    2019.2, which consisted only of minor code clean-ups.  Well,
    here we are four days later, and along comes 2019.3, which
    corrects bungles in 2019.2 mostly associated with (surprise!)
    the idiotic WordPress "Multisite" kludge.  This update modifies
    four files, only three of which contain substantive changes.  I
    integrated our local code, which did not conflict with any of
    the changes, syntax…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 6 days, 3 hours ago

    2019 December 2

    The external link transformation code which I activated for my
    account only appears to be well behaved, at least based upon on
    all the tests I have run, including the obvious edge cases.  Now
    it's time for the next step: activating it for all users.  I
    simply commented out the RB_me() tests which previously
    restricted the code to my own account.  This should have no
    obviously apparent effects for the typical user: the only thing
    they'll note is that links in some posts, comments, and excerpts
    which previously opened in the same tab/window, overwriting the
    Ratburger…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week ago

    2019 December 1

    Extended the implementation of the external link transform begun
    yesterday to cover all of the cases where I believe it should be
    applied.  Code in ~/theme/functions.php handles:
        RB_open_post_links_in_new_tab()     Body of posts
        RB_open_comment_links_in_new_tab()  Body of comments
    These are separate functions because, naturally, there is no
    commonality in how these objects are handled.  In addition, we
    have code in:
        ~/plug/auto-limit-posts-reloaded/auto-limit-posts.php
    which handles excerpts prepared by that plug-in.  As noted on
    2019-11-28, this plug-in…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 1 day ago

    2019 November 30

    Implemented a new shell script, ~/bin/Garback, to back up the
    iptables firewall ban list backups in /server/var/gardol.  These
    can be used to restore the most recently saved ban list after a
    crash.  This was previously done manually; this makes it much
    simpler and less error-prone.   Eventuallly, I may run this
    daily from a CRON job and automatically purge old backups.
    

    To get rid of the blithering warnings when Geany starts: mkdir -p $HOME/.local/share

    Installed a first draft of the latest attempt to fix links in posts and comments to always open in a new…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 2 days ago

    2019 November 29

    Updated the Stop Spammers plug-in to version 2019.2.  This
    update consists of minor code clean-ups in three files plus the
    administrative overhead of any update.  I integrated our local
    code, which did not conflict with any of the changes, syntax
    checked the modified files, ran ratdiff to verify all local code
    had been correctly integrated, and installed the update kit.  I
    checked the configuration and administration pages and
    everything appeared to be in order.
    
    Committed the version 2019.2 update to the Stop Spammers plug-in
    (Build 374) and published to GitHub.
    
  • John Walker posted a new activity comment 1 week, 2 days ago

    What is the problem? I looked at this comment and it includes a picture, albeit one which appeared in the original post. Do you know what is the specific problem she is having?

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 3 days ago

    2019 November 28

    Back on 2019-10-09 we added code to ~/theme/functions.php which
    applied the make_clickable() function to the "the_content"
    filter in order to automatically make strings in posts which
    "look like" URLs clickable.  This fixed the problem of people
    who paste URLs into posts without going to the effort to wrap a
    link around them, but, as I subsequently discovered, did not
    affect URL-like strings in the excerpts of posts which appear on
    the home page, search results, category pages, etc.  Now, this
    should just be a matter of adding a filter:
        add_filter('the_excerpt',…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 4 days ago

    2019 November 27

    Backed out the changes in:
        wp-includes/js/tinymce/plugins/wpeditimage
    They don't work--don't do anything in fact, and were a total
    bust. It's going to take a different approach to bell this cat.
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 5 days ago

    2019 November 26

    On further investigation, the question of opening images
    inserted in posts by default in a new tab is more subtle and
    complicated that it first appeared.
    
    With my patch in place to tinymce/plugins/wpeditimage/plugin.js,
    when you insert an image in a main post it is, in fact, marked
    to open in a new tab.  If you look at the HTML generate for the
    post, the {a} tag wrapped around the image specifies:
        data-wpel-link="external" target="_blank"
            rel="external noopener noreferrer"
    just as you'd expect.  But for some screwball version, if, while
    you're editing…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 6 days ago

    2019 November 25

    Installed:
        yum install gtk2-devel
    This installed 32 dependencies.
    

    Installed: yum install intltool This installed 7 dependencies.

    This permitted building and installing Geany, which I downloaded from: .https://www.geany.org/download/releases/ into ~/linuxtools/geany-1.36 and built with: ./configure make super make install This installs in the /usr/local directory tree. Since Geany is not available as an AWS package, this locally-built version will not be automatically updated by the YUM package manager (although all of its dependencies…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 1 day ago

    2019 November 23

    To further investigate the image rotation issue, I resuscitated
    my retired iPad to see how things behave on iOS.  The first
    matter was a report that the Add Media button "did not work" on
    the Sand Box page.  This was repeatable--as had been reported,
    not only did that button do nothing when pressed, neither did
    the Text or Visual buttons above the TinyMCE editing window.
    However, the buttons within the window (bold, italics, etc.)
    work fine.  This only seems to happen on that post.  I tried on
    a different post, and it worked fine.
    
    Further deepening the enigma, this…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 3 days ago

    2019 November 21

    Updated the WP External Links plug-in to version 2.40.  This is
    a minor update which fixes a horrific bungle in the last attempt
    (they caused the "FontAwesome" claptrap to be loaded for *every*
    administration page, not just for their own plug-in) and adds
    support for the new Google-promoted "sponsored" and "ugc"
    (user-generated content) options for the rel= attribute for
    links.  Well, support isn't really the word for it, since all
    they did is provide a completely useless option to slap these
    fields indiscriminately on every external link on a site, which
    makes no…

    [Read more]

    • Thanks, John. Good work.
      The post about the Legacy Site reminded me how much I appreciate Ratburger.org.

  • John Walker posted a new activity comment 2 weeks, 6 days ago

    It’s because WordPress is a steaming pile of doo-doo, which tries to “sanitise” HTML pasted from other sites by text processing without any comprehension of document structure. The first post on the home page contained an unclosed {code} tag which, undetected by the moronic WordPress code, wrecked the rest of the home page. I have fixed it, so until it happens again, we’re OK.

    The most depressing thing of all is that the people who created WordPress are proud of what they have done.

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 6 days ago

    2019 November 18

    Received an alert from GitHub today about a "vulnerability" in
    one of the files in our repository:
        wp-content/plugins/buddypress/cli/composer.lock
    which is a purely administrative file that specifies versions of
    components.  The "vulnerability" is documented here:
        .https://github.com/Fourmilab/ratburger.org/pull/1/files#diff-0
    This does not affect any executable code which can be run by
    accessing our site, but purely administrative stuff and,
    further, it relates to the BuddyPress Command Line Interface
    (CLI), which we do not use.
    
    This is a nonsense…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 weeks ago

    2019 November 17

    Tried changing the configuration for the WP External Links
    plug-in (accessed via Dashboard/External Links) in the "Internal
    Links" tab to open internal links "each in a separate new window
    or tab".  This was an attempt to make links in posts and
    comments to other items on the site behave like external links
    and open in a new tab/window.  Presently, they overwrite the
    page that made the link in the same window unless you explicitly
    use the "gear" icon and check the box to open in a new
    tab/window. This would have improved the behaviour of the site,
    but because of how…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 weeks, 3 days ago

    2019 November 14

    I'll admit, I've had a (possibly irrational) worry about this
    WordPress 5.3 update, just given the magnitude of the changes
    all over the place and the obviously slapdash attention to
    detail by the developers.  But it's been running in production
    for more than a day; there have been no messages on the
    error_log other than the routine xmlrpc attacks by script
    kiddies; and no users have reported problems.  So, I went ahead
    and committed the changes (Build 371) and published them to
    GitHub.
    
    The "Site Health" page now reports:
        The optional [PHP] module, zip, is not…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 weeks, 4 days ago

    2019 November 13

    As we approach that holiday legendarily celebrated in the United
    States by dropping turkeys from airplanes with predictable
    consequences, WordPress has heaved version 5.3 into the sky
    above the crowd of system administrators and users who are soon
    to learn the truth about hypertrophic poultry, aerodynamics, and
    gravity.  This is a major release, described in the following
    notes:
        .https://wordpress.org/news/2019/11/kirk/
    which is the usual mix of features we don't use, glitz that
    nobody cares about, more annoyances for administrators (who are
    now regularly…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 weeks, 5 days ago

    2019 November 12

    Updated the User Role Editor plug-in to version 4.52.1.  This
    consists of two trivial changes, one of which only affects those
    who buy the "Pro" edition.  We have no local code in this
    plug-in.
    
    Updated the WP Mail SMTP plug-in to version 1.7.1.  This is a
    few minor fixes which do not affect us in any way.  We have no
    local code in this plug-in.  Syntax checked the updated files,
    installed the kit, and sent a test message which was received
    correctly.
    
    Committed the User Role Editor plug-in update to version 4.52.1
    (Build 369).
    
    Committed the WP Mail SMTP plug-in…

    [Read more]

  • Load More