#dev | Logs for 2017-03-19

« return
[00:18:39] <paulej72> TheMightyBuzzard, Bytram, the great JS purge is complete. I did not delete any files other than relocating admin.js out of AJAX and into Admin, but the code is no longer being loaded from the templates
[00:20:06] <paulej72> I basically invistigated all of the stuff I removed and it all seemed to be old AJAX stuff, firehose shit or broken (pagemark load time since 4-14 on dev and 6-14 on prod)
[00:50:17] <Bytram> paulej72: will check it out in a bit! thanks for the cleanup!
[00:52:43] <Bytram> btw, just noticed that at the TOP of a set up comments (where one chooses Theshold/Breakthrough, Mode, Sort, etc.) there is a button labeled "Replay to Article" -- and at the bottom of the comment page there is a button labeled just "Reply" but seems to perform the same action... I've hit it by accident a couple of times because I did not realize what it was replying to.
[00:52:49] <TheMightyBuzzard> paulej72, sounds good.
[00:54:17] <paulej72> Regression Bytram. I thought the bottom button was set to the same text at one point
[00:54:49] <Bytram> hmm, not sure about that one, but now that you mention it, I think it *was* that way once.
[00:55:59] <TheMightyBuzzard> blerg, empty week on Stripe
[00:56:33] <paulej72> what do you mean TheMightyBuzzard
[00:57:17] <Bytram> I noticed that the last 10 subscriptions were all at the $20 level... wondring if people are even aware that they can put a larger sum in there if they wish?
[00:57:34] <TheMightyBuzzard> paulej72, no subs came in in the past 7 days via stripe
[00:57:59] <Bytram> TheMightyBuzzard: last subscriptipon on stripe was: 2017-02-28 23:24:19
[00:58:12] <Bytram> wasn't that about the time we did the upgrade?
[00:58:30] <TheMightyBuzzard> after
[00:58:31] <paulej72> maybe because the JS is/wads broken
[00:58:43] <TheMightyBuzzard> possibly, for www. users
[00:59:00] <TheMightyBuzzard> we get that rolled out to live yet btw?
[00:59:34] <Bytram> ISTR someone syaing they had a problem... possible wrt the new security stuff (CSCCSCSC something)
[00:59:54] <paulej72> the temp fix to trun it off should be on prod
[01:00:27] <paulej72> does someone have a non admin account to test with on prod?
[01:00:46] * TheMightyBuzzard refrains from merging, or indeed reading, the js pr for the evening.
[01:00:57] <TheMightyBuzzard> can do as AC
[01:01:29] <TheMightyBuzzard> works as AC
[01:02:30] <TheMightyBuzzard> since the only check was the is_admin check, that SHOULD mean we're good.
[01:02:55] <Bytram> TheMightyBuzzard: makes sense to me
[01:06:10] <paulej72> TheMightyBuzzard: FYI I made a branch of the current rehash master on SN. 17_02_with_fixes or some such
[01:06:40] <TheMightyBuzzard> outstandin. i was waiting till we got more or less finished to do exactly that.
[01:07:31] <paulej72> Weill I wanted to make sure I could deploy without JS Purge getting lumped in
[01:07:57] <TheMightyBuzzard> oh, paulej72, we got a LOT of eds without kerb logins so they can't hit staff rehash
[01:08:08] <paulej72> yeah I know
[01:08:27] <paulej72> Need to seth them up with ssh logins to staff
[01:08:41] <paulej72> whcih means I need ssh key from each
[01:08:54] <TheMightyBuzzard> we should catch NCommander sometime when he's around and stick him doing it =P
[01:10:12] <TheMightyBuzzard> well i mean technically if they REALLY don't want a login we can just create the account and not assign a key to it then email them random login/pass
[01:11:08] <TheMightyBuzzard> or assign them a key with a password pulled from /dev/urandom
[01:12:08] * TheMightyBuzzard scoots off in search of nicotine
[01:25:26] <TheMightyBuzzard> much better
[10:25:24] <NCommander> .op
[10:25:24] -!- mode/#dev [+o NCommander] by Hera
[10:25:29] <NCommander> TheMightyBuzzard, I HAVE BEEN SUMMONED
[10:25:33] <NCommander> SPEAK THY BUSINESS
[10:27:07] <TheMightyBuzzard> oh, bunch of the new eds need set up with kerb accounts so they can access the staff rehash instance. i figured i'd volunteer you since you weren't handy to say "not it".
[15:12:38] <Bytram> paulej72: TheMightyBuzzard" I'm trying to programatically perform moderation; grabbed the update from watching headers go by, changed moderation_reason, and... nada; here's an example:
[15:12:43] <Bytram> CALL SN_API "https://dev.soylentnews.org/comments.pl?page=1&reason_31190=7&moderate=comment_31190&op=moderate&sid=1379&cid=31190&pid=31190" > mod_try5.html
[15:14:38] <Bytram> hmmmm
[15:15:12] <TheMightyBuzzard> does the api do moderation?
[15:15:52] <Bytram> oh, no... I wonder if the new security stuff is blocking me... don't recall trying to add a new comment since
[15:16:03] <Bytram> TheMightyBuzzard: no, but since when should that stop me?
[15:16:26] <Bytram> I'm just using curl to send the same URL to dev, as if I were a user doing it from the site
[15:16:51] <TheMightyBuzzard> ahh. you may need to send it as a post
[15:17:17] <Bytram> yeah, was afraid of that, but the URL is not THAT long.
[15:19:35] <TheMightyBuzzard> try as post because the form uses post to submit it
[15:20:48] <TheMightyBuzzard> also make sure you're using your cookie cause otherwise you're trying as AC
[15:20:59] <TheMightyBuzzard> anyway, i got a mess of cooking to do. back later.
[15:21:12] <Bytram> yeah, started to look into that at the outset, not familiar with curl (much more wget experience) so started with GET, \oinstead
[15:21:22] <Bytram> yes, cookie in use
[15:21:27] <Bytram> thanks
[15:37:13] <paulej72> Cookie. Now I am hungry
[15:57:34] <Bytram> paulej72: ROFLMAO!
[15:57:52] <Bytram> and, it's an absolute kludge, but I just moderated a comment from the command line on dev!
[15:57:58] <Bytram> =)
[16:02:25] <Bytram> something strange is going on here...
[16:02:29] <Bytram> loaded: https://dev.soylentnews.org
[16:02:32] <aqu4>  ^ "320170227b - Buzz's Barnyard - Dev.SN"
[16:03:18] <Bytram> SET these: B: 4, TNG, Oldest First and clicked "Change"
[16:03:40] <Bytram> was brought to this page:
[16:03:41] <Bytram> https://dev.soylentnews.org
[16:03:45] <aqu4>  ^ "320170227b - Buzz's Barnyard - Dev.SN"
[16:04:09] <Bytram> Saw every single comment expanded fully.
[16:04:32] <Bytram> Thought I should have seen only 1 comment expanded
[16:06:20] <Bytram> Whhoops, I take that back... I saw exactly ONE comment collapsed (the very last comment on the page) with title:
[16:06:21] <Bytram> Re:Comment_0059 (Score: 0) by Anonymous Coward on Monday March 06, @09:45PM
[16:36:17] <TheMightyBuzzard> Bytram, i have no idea how you manage bugs that nobody else can reproduce. it shows one comment expanded and the rest collapsed for me.
[16:42:17] <Bytram> I just tried something... changed from TNG to TOS, saw my Threshold was 0:61
[16:42:36] <Bytram> changed T to 4
[16:43:06] <Bytram> changed TOS to TNG
[16:43:23] <Bytram> and it is all still expanded. :(
[16:44:30] <Bytram> that was on Pale Moon; just tried on IE 11, as test_user_0006, and it showed up correctly. !?!
[16:48:54] <Bytram> Also, I heard there was a new "Expand all" button, but I'm not seeing it? Tried both prod and dev
[16:49:14] <Bytram> I'm running pale moon Version: 27.1.2 (32-bit)
[16:49:27] <Bytram> just saw there is an update available, gonna try installing that.
[17:21:52] <TheMightyBuzzard> Bytram, do you by chance have javascript turned off for dev?
[17:22:08] <Bytram> hmm, I doubt it, but let me cheeck.
[17:22:11] <Bytram> *check!
[17:23:15] <Bytram> NoScript, allow: soylentnew.org
[17:23:29] <Bytram> I owuld expect that to allow dev, too, but let me add it in to make sure
[17:24:10] <Bytram> wait, if I had JS blocked, then I would not be able to use the topic editor when processing a submission, and I *can* do that
[17:26:11] <Bytram> nope, it won't allow me to add dev.soylentnews.org because I already have soylentnews.org allowed
[17:30:07] <Bytram> just disabled AdBlock Lattitude on dev.soylentnews.org
[17:30:36] <Bytram> no difference :(
[17:33:31] <Bytram> maybe cause I've got "God Mode" powers on dev?
[17:33:36] * Bytram logs out
[17:33:45] * Bytram hits Ctrl+F5
[17:34:10] * Bytram sets breakthrough to 4
[17:34:19] <Bytram> and, it worked.
[17:34:39] * Bytram logs in
[17:34:50] <Bytram> and I see everything again.
[17:34:53] <Bytram> TheMightyBuzzard: ^^
[17:38:59] <TheMightyBuzzard> on yer own. i got a gumbo to make
[17:39:26] <Bytram> tried IE11, as user test_user_0006, things are hidden as expected. Logged out, logged in as martyb... see everything already expanded
[17:39:32] <Bytram> nod nod
[18:46:32] <Bytram> paulej72: TheMightyBuzzard: Got a slight problem with this fix:
[18:46:32] <Bytram> https://github.com
[18:46:33] <aqu4>  ^ "3close them quotes · SoylentNews/rehash@d36432b · GitHub"
[18:47:20] <Bytram> I see a couple places where "spoiler" is spelled "spolier"... probably not going to work as expected.
[18:47:33] <Bytram> I expect you meant "spoiler" in all places.
[18:49:13] <paulej72> yes fixing it as I test
[18:49:34] <Bytram> paulej72++ yay!
[18:49:34] <Bender> karma - paulej72: 14
[19:03:54] <paulej72> dumb as html parser will not do spoiler with p tags inside
[19:07:42] <Bytram> which html parser?
[19:49:55] <paulej72> OK new spoiler fucntion on dev. It puts the text inline with a span. One problem, currently the way spoilers go through the html parser, I am not sure how to get multiline output within it.
[20:22:06] <paulej72> TheMightyBuzzard: spoiler updeated on dev. See what you think.
[21:04:52] <Bytram> paulej72: Sorry, to bother you, but you see what I posted here 5 hours ago? I'm getting dramatically different views of comments on a story depending on whether I am logged into dev as "martyb" or as any other user.
[22:18:02] <paulej72> only you Bytram would have these problems
[22:18:17] <paulej72> there is nothing in the code that would cause this