« first day (259 days earlier)      last day (3142 days later) » 

1:14 AM
@TinyGiant - finally done the family obligations... it was meet-the-creature night at my daughter's school. So it turns out the magic words were "position: absolute;".
 
user4639281
Ahh. Cool.
 
user4639281
I have to run for a bit. Will be on later. Looks like we can get the close vote info for a question through /questions/{id}/close/options
 
Everything else was needed, too, but that was the last bit I added.
@TinyGiant I knew that - was playing with it for the status thing.
@TinyGiant I think there's another way, with a filter on questions...
will check..
 
user4639281
k. ttys
 
user4639281
9:11 PM
@mogs, we can just scan request the close popup for a question and test to see if it is already closed or not.
 
user4639281
$.ajax({
    method: 'GET',
    url: '/flags/questions/{id}/close/popup',
    success: function(resp){
        console.log(/This question is now closed/.test(resp));
    }
})
 
user4639281
All we have to do is scan the chat room transcripts once an hour and check each cv-pls request, then send the commands to move the closed questions requests to the archive room.
 
user4639281
But you wanted to have a list of all the cv requests that are still active.
 
user4639281
Which is why you thought gas would work good because you could create a spreadsheet to hold the list.
 
user4639281
So instead we could have a bot that listens for cv-pls requests and sends them to your list script. Then to avoid massive bandwidth usage, we can just remove the closed items from the list at a certain interval. At the same time we send a command to the chatroom to move all cv requests for closed questions to the archive room.
 
user4639281
There, your tag list runs again when the user navigates.
 
user4639281
Thanks again to the magic of ajaxComplete.
 
10:13 PM
@TinyGiant Most cool! Something new for me to learn.
 
user4639281
I wrote this to listen to AJAX requests made on pages, just to see if anything interesting happens.
 
@TinyGiant Installed - thanks!
 
user4639281
np
 
user4639281
That's how the editor script works everywhere so easily now.
 
user4639281
Because I can read the url for the ajax request, compare it against regex to make sure it is the request I'm looking for, then check the result.
 
user4639281
10:18 PM
Bypassing one layer of abstraction.
 
user4639281
How do you like the newest version of the audit finder?
 
user4639281
10:32 PM
Not a signle audit in the lqprq today
 
user4639281
One audit in reopen votes.
 
user4639281
one audit in suggested edits
 
user4639281
10:55 PM
@mogsdad, your newline rule has been causing some issues, I removed it for now. It's really a problem with my code omitting regex, but removing the newline rule solves the problem.
 
user4639281
Also multiplespaces should be the following
 
user4639281
        multiplespaces: {
            // regex101.com/r/hY9hQ3/1
            expr: /[ ]{2,}(?!$)/gm,
            replacement: " ",
            reason: "punctuation & spacing"
        }
 
user4639281
This won't remove the double spaces at the end of a line that cause newlines to form. Previously I would replace single newlines without double newlines to fix this. While that does improve readability, it isn't necessary.
 
user4639281
11:48 PM
@Mogsdad See the following
 
user4639281
$.ajax({
    type: 'POST',
    url: '/chats/41570/events',
    data: 'since=0&mode=Messages&msgCount=1000&fkey=' + $('#fkey').val(),
    success: function(resp){
        for(var i in resp.events) if(/cv-pl(?:ease|s|z)/.test(resp.events[i].content)) console.log(resp.events[i].content);
    }
})
 
user4639281
Gotta run it in chat, or get the fkey from chat like I do with the cv-pls script.
 
user4639281
You would probably want some more specific regex than that, but you get the eyed deer.
 

« first day (259 days earlier)      last day (3142 days later) »