#foswiki 2017-06-02,Fri

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***ChanServ sets mode: +o Lynnwood__ [02:28]
daemongac410, when you get a moment if it does not conflict with your sensibilities would you tell me what 'daedb.me' sounds like and why it is offensive (in pm or paul@tmp.group via email) [02:28]
gac410Try vrurg ... It wasn't me that commented about that.
http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2017-05-19,Fri&sel=119#l115
gac410 speaks exactly one language ...
[02:31]
vrurgdaemon: get to me with a PM tomorrow. ;) [02:32]
daemonvrurg, ok thank you :) it just is bugging me what it means or sounds like
lol
gac410, funnily enough I managed to actually get 'hwmatrix.com'
gac410, all you need to speak is perl, the rest of it is just the right regex
[02:32]
gac410:D [02:35]
FoswikiOnSlack<rramirezm> Hi! it's me again
<rramirezm> Whenever I open the editor and try to upload an image or switch to "Edit HTML Source"
<rramirezm> a JavaScript window pop ups, but it stays blank
[02:37]
gac410refresh me please, What's your server configuration - OS, Web Server, etc. [02:38]
***ChanServ sets mode: +o Lynnwood [02:38]
FoswikiOnSlack<rramirezm> Sorry!, nginx Ubuntu 16.04 [02:38]
gac410hm It sounds like something might be trying to redirect. Not really sure. Trace the network traffic when you click a button. [02:39]
daemona paste via http://paste.ee (that allows multiple submittance [different tabs]) with the access log from nginx when you are doing this might also be handy [02:40]
gac410Usually if you just get an incomplete popup, the browser posted to the server and didn't get back what it expected. [02:41]
***ChanServ sets mode: +o Lynnwood [02:45]
gac410rramirezm I did just set up and configure a ubuntu 16.04 / nginx configuration no proxies or anything, and editor is working fine here [02:49]
FoswikiOnSlack<rramirezm> https://pastebin.com/Qzmy0bz8
<rramirezm> that's the nginx output
[02:49]
gac410waaay too deep. I have no idea what most of that is. But "Edit HTML Source" (The little button in wysigwyg that says "HTML" ???) That doesn't even talk to the server Purely javascript in TinyMCE. [02:51]
FoswikiOnSlack<rramirezm> That one was for clicking the button
<rramirezm> insert an image
[02:52]
daemonrramirezm as a quick test try another browser
if you have one availible
[02:54]
gac410well that does a POST to the server. bin/rest/WysiwgyPlugin/attachments to get back a list of the attachments from the topic.
so from browser net trace. Did it POST to the rest script, and did it get a 200, or some other status?
[02:54]
FoswikiOnSlack<rramirezm> i have tried in both chrome and nightly
<rramirezm> and they do the same
<rramirezm> Another collaborator did the same in his computer and did the same
<rramirezm> blank window
[02:54]
gac410I'm not sure how to do it on chrome, but on firefox, I use "firebug" to just watch the GET / POST operations and their returns. Don't need anything complex like internal nginx traces. Just What are the GET/POST events and the HTML return codes. 200, 500, etc. [03:01]
daemondoes this have a public address we can visit? [03:01]
***ChanServ sets mode: +o Lynnwood [03:03]
FoswikiOnSlack<rramirezm> yes you can
<rramirezm> wiki.hatandslash.com
<rramirezm> but you would need to register
<rramirezm> it's restricted
[03:03]
daemon<rramirezm> paul@tmp.group
gac410, password and username is in your pm
[03:05]
gac410er... what's that for daemon [03:06]
daemonfigured it was faster to help debug his problem [03:07]
FoswikiOnSlack<rramirezm> you can register yourself if you want
<rramirezm> i only have to approve the account
[03:10]
daemonrramirezm can you approve paul@tmp.group / PaulWebster [03:12]
FoswikiOnSlack<rramirezm> done
<rramirezm> you can meddle in the sandbox
<rramirezm> firebug told me this in the console
<rramirezm> "Load denied by X-Frame-Options: https://wiki.hatandslash.com/pub/System/TinyMCEPlugin/plugins/foswikiimage/image.htm does not permit framing."
[03:13]
gac410Ah.. .server is inserting headers I guess [03:14]
daemonhaha I cannot edit sandbox/testtopic
someone else is there
[03:16]
gac410btw, rramirezm To see what is happening, on chrome, it's Ctrl-Shift-I (or hamburg menu -> More tools -> Developer tools. Then watch the Network tab [03:16]
daemonI have the bug as well
content cannot be displayed
[03:16]
gac410daemon: where was that error message .. in the console tab? [03:16]
daemonfor the attachements
https://1drv.ms/i/s!Asj-dFOnBAsJjFMnZyQiz4dism-0
something does not seem right here
[03:16]
gac410yeah,... rramirezm your server is sending security options that are blocking the editor's popups.
Not sure how they get inserted on nginx.
[03:19]
daemonnginx sends less headers than apache by default
you need to append them in the config
but this is bizzare because thisi s the same domain
and intersetingly
if I opened that up in a new window (direct access)
I get a null response
https://paste.ee/p/Zt2Es
[03:20]
gac410Your server is sending x-frame-options:DENY [03:23]
daemonhat would be ... from memory
add_header X-Frame-Options "SAMEORIGIN";
I think
or something along those lines
maybe "DENY" and should be "SAMEORIGIN"
[03:23]
gac410https://paste.ee/p/4Gf88 Shows the header your server is sending. Something in nginx. Foswiki doesn't have any way [03:25]
FoswikiOnSlack<rramirezm> should i sent you my nginx config?
<rramirezm> although I'm using the recommended config
<rramirezm> but with the ini scripts
[03:27]
gac410no. nginx does not add that header by default. [03:27]
daemonis this the only site you host? [03:27]
FoswikiOnSlack<rramirezm> no, there are several [03:27]
daemonis each site stored in a differnet config 'include; ? [03:28]
FoswikiOnSlack<rramirezm> I really don't know what that means [03:28]
daemondo you have one nginx config
or are there multiple
[03:28]
FoswikiOnSlack<rramirezm> multiple [03:28]
daemonok and there is one for the wiki I take it [03:28]
FoswikiOnSlack<rramirezm> yeah [03:28]
daemonpaste the output of this command
grep add_header <path to the wiki config>
[03:28]
gac410Or it might be in the base config and inherited in the server configs??? I don't know nginx that well [03:29]
daemongac410, yeah if this returns nothing its in the primary config before the includes
or in a worst case scenario in an upstream reverse proxy
[03:30]
gac410Somewhere one of your configs has a line add_header X-Frame-Options "DENY"
ugh yeah If there is a reverse proxy, that makes it even more complex. ramirezm are you accessing the wiki via a proxy?
[03:30]
FoswikiOnSlack<rramirezm> i think it is
<rramirezm> i redirect the traffic of 80 to https
[03:31]
gac410Anyway. That header is the cause, and the wysiwyg editor won't work with it so whatever is adding it.,. needs to not do that [03:31]
daemongac410, as an aside a few days ago when I mentioned that you said do not make it complex; just mentioning it :D [03:32]
FoswikiOnSlack<rramirezm> the command would look like something like
<rramirezm> sudo grep add_header /etc/nginx/sites-avaliable/foswiki
[03:32]
daemonrramirezm: sure did it return anything
if not do
[03:32]
gac410well it might be in the nginx.conf or in the nginx/conf.d directories [03:33]
daemonsudo grep add_header /etc/nginx/nginx.conf [03:33]
FoswikiOnSlack<rramirezm> did not return anything [03:33]
daemonif that returns nothing
its your reverse proxy
[03:33]
gac410on ubuntu, it could also be an include in the /etc/nginx/conf.d directory [03:33]
FoswikiOnSlack<rramirezm> returns nothing [03:33]
daemonbah the world should run freebsd, make life simple
rramirezm not being rude but we are a touch of out scope for foswiki right now, the problem is diagnosed; something in your http transport system is adding the header 'X-Frame-Options "DENY"'
I would have a talk with your network admin
my bet however is on that upstream reverse proxy
because I cannot see that option been added under any normal condition to nginx as a default
[03:34]
gac410the default ubuntu nginx config files do not have any add_header options. Nor do the foswiki provided examples. [03:36]
FoswikiOnSlack<rramirezm> Is this related?
<rramirezm> https://geekflare.com/add-x-frame-options-nginx/
[03:38]
daemonno idea, did you follow that guide and; add, add_header somewhere? [03:38]
gac410yes That's exactly what is going on. Somewhere something is adding the DENY version of the header [03:38]
FoswikiOnSlack<rramirezm> there is no "add_header X-Frame-Options" in my nginx configs [03:39]
gac410If you added it, remove it. If you did not. Find out who did add them Hit them mightily with a "clue bat" and remove it. :D [03:39]
daemontry this command
grep -rH add_header /etc/nginx
pastebin the result
paste.ee is preffered
gac410, want me to get simcop to bring perlbot in here so you get your own nice pastebin that announces to channel
example of it in #web-social
topic for the link
[03:39]
gac410gac410 has no idea what any of that is ;) [03:42]
daemongac410, perlbot is an irc bot that ties to a pastebin it can even evaluates javascript and perl
but provides and advert free pastebin that announces to the channel when someone pastes something
[03:42]
FoswikiOnSlack<rramirezm> https://paste.ee/p/HxRmk#x5ERlBXXmmkRaD9AGTZuRbpLg81KfEBL [03:42]
daemonso in your local nginxconfig those files have add_header
is bolt your wiki?
[03:43]
FoswikiOnSlack<rramirezm> no, is my main site [03:43]
daemonyour reverse proxy, what provides it?
mind you ...
grep add_header /etc/nginx/snippets/ssl-params.conf
paste.ee that too
as I assume that ssl-params is being dragged in with your https configuration
[03:43]
FoswikiOnSlack<rramirezm> THERE IT IS
<rramirezm> the deny
[03:45]
daemon\o/ :)
if you want to enforce that header do it on a per site basis
for a general rule though
change the DENY to
SAMEORIGIN
[03:45]
FoswikiOnSlack<rramirezm> ok [03:46]
daemonthat should be ok
do not forget to reload/restart nginx
[03:46]
FoswikiOnSlack<rramirezm> i was told to better do a upgrade
<rramirezm> :thinking_face: but i'm not so sure
<rramirezm> as far as i understand does the reload restart and other fairy magic stuff
[03:46]
daemonlol upgrade would not help with that problem
but reload should allow you to use foswiki
assuming that https file is dragged in, in https
I really only deal with BSD systems, we like our config in one file :)
[03:47]
gac410sudo service nginx reload should be enough. [03:49]
FoswikiOnSlack<rramirezm> still not working [03:51]
daemonhttps://1drv.ms/i/s!Asj-dFOnBAsJjFSCd_lDt-FYd1im
your cached
it works fine now
https://wiki.hatandslash.com/Sandbox/TestTopic2
[03:51]
FoswikiOnSlack<rramirezm> how can i be not cached? [03:53]
daemoncheck links above man [03:53]
FoswikiOnSlack<rramirezm> I thought it was ctrl+f5 [03:53]
daemonits a bit gay
sorry no technical reason
but its working
I have been cache trapped for days before
rramirezm just check the two links above ^
kinda proves it conclusively
[03:53]
gac410worked fine for me too. Editor and popups working just fine. [03:55]
FoswikiOnSlack<rramirezm> i trust you :slightly_smiling_face:
<rramirezm> because i'm unable hahaha
[03:56]
daemonrramirezm want to be really sure, use your laptop or phone
that will likely work flawlessly
[03:56]
FoswikiOnSlack<rramirezm> did worked on chrome [03:57]
daemon:) [03:57]
FoswikiOnSlack<rramirezm> not on nightly [03:57]
daemonthen you need to talk to the nightly folks on how to flush the cache
remember to remove the user 'PaulWebster' or 'paul@tmp.group'
I set an insanely insecure password on it as this was just for temporary debug
[03:57]
gac410System/RemoveUsers will delete a user
er. System/RemoveUser (singular)
[03:59]
FoswikiOnSlack<rramirezm> ok
<rramirezm> one more favor
[04:01]
daemonsure whats up :) [04:02]
FoswikiOnSlack<rramirezm> you helped me to rework my user mapping
<rramirezm> which was the link?
[04:03]
daemoncan you remember who? [04:03]
gac410I think I helped you disable allowloginname or something like that?
Or do you mean the FAQ on how to rebuild the WikiUsers topic
System/FAQRebuildingWikiUsersTopic
[04:04]
FoswikiOnSlack<rramirezm> that one
<rramirezm> Thank you so much
[04:06]
gac410It's really very very unusual to need to do that,. I think I've only had to use that once. [04:07]
daemongac410, so would you like a channel pastebin? [04:15]
gac410I'd rather defer to MichaelDaum or some of the other developers. [04:16]
daemonah cool ok
if they visit #web-social tell them to check topic for a working example
thought you would at least paste something, but I am sure you get the jist
if you do it will be announced by perlbot in channel
[04:16]
gac410just looked at #web-social. i see what you mean. So you would add Freenode #foswiki to the list of supported channels [04:19]
daemonyep its acctually an eval bot
it can execute perl and javascript
but it can do plaintext as well
I would note though; this is not my bot, but I talk to the administrator of it quite regurlarly and it already serves over 40 channels
so I can see no issue with it being here as well
you can do some perl evals your self with: /msg perlbot eval return 1
or
/msg perlbot jseval: console.log(1)
it supports more creative things of course
[04:19]
gac410cool [04:21]
daemonpython is scheduled for intigration shortly, php is being considered
if you did want it, I would likely query if it was possible for your 'web link' to automatically select plain text
as I doubt any queries here will be actual perl problems :)
[04:21]
gac410FoswikiBot ... which is a modification of the old InfoBot but no paste capabiiy [04:22]
FoswikiBotgac410: ... but ... which is totally jsonrpc specific ... [04:22]
gac410what [04:23]
FoswikiBotwhat are you trying to accomplish [04:23]
daemonits sentient
all hail FoswikiBot
[04:23]
gac410it's nuts
FoswikiBot: corelist IO::Socket
[04:23]
FoswikiBotgac410: IO::Socket was first released with perl 5.00307 (released on 1996-10-10) [04:24]
daemonhehe, quite a few nuts bots; I was chatting to some friends a little while ago about a CTF challenge while having the channel AI bot pasting bash CTF and quotes
there cute but they can get irritating
<daemon> perlbot core IO::Socket::INET
<kyan> There are more transformations that the shell does to the data in between escaping it and actually doing the replacement though
<perlbot> daemon: IO::Socket::INET Added to perl core as of 5.006
same sort of stuff
[04:24]
gac410The big thing we want foswikibot for is Item1234 and Foswiki:System.RemoveUser links [04:25]
FoswikiBothttps://foswiki.org/Tasks/Item1234 [ Item1234: MathModePlugin's latex2img not executable ] https://foswiki.org/System.RemoveUser [04:25]
daemonyeah perlbot will not do that, was really only proposing it for a nice way for user to post pastes :) [04:26]
gac410That part is the most useful for us.
y, I do agree though that a default of perl interpreting for any paste is probably not ideal for here ;)
[04:26]
daemonI will find out what can be done!
the author has slapped me with a lovely burden, as I am the founder of #web and he is planning to get the interface re developed; I am promised much referencing to people with the right skillsets
[04:27]
gac410gac410 has done very little exploring of irc channels. Really only ever use the #foswik* channels. [04:29]
daemonyour missingout
#freebsd-social #web-social #perl
good lols from tiem to time
btw I pushed freebsd-social there over a linux channel not because I am being an OS troll, but everyone is just friendlier -_-
##networking is a neat place to hang as well if you are interested in that stuff
[04:29]
gac410y. Sometimes I've seen some really nasty interchanges. We try to avoid them here.
#networking as in routes and ip, or as in social networking?
[04:31]
daemonthe hardware kind
great for if you deal with alot of 'real' networking
which I have to, learn alsorts
[04:32]
gac410used to do that ... was 17 years at wellfleet, bay-networks - nortel. Started with IP / Mulit-protocol routers in the early 90's [04:33]
daemonah all juniper and HP here
then again I am probably the most non-skilled-skilled-worker you will ever meet
[04:33]
gac410I was a systems engineer - pre sales. I really loved the work. I'd go from a customer running banyan vines, to a big SNA over X.25 shop to Novell netware, a carrier running Apple over SMDS for publishing pre-print .. [04:35]
daemongot a masters in comp sci, qualified electrician, forklift operator, cellar manager, cisco CCNA, public license holder (can sell booze)
I do not take long term contracts or 'jobs' I get bored
so I switch when I need cash for something
[04:35]
gac410At this point I'm now retired. Still do a small amount of consulting. [04:36]
daemonNovell christ thats a name I have not heard for a while
impressive, from our interactions I assumed you was 40 at the absolute top limit
congratulations :)
[04:36]
gac410I like staying technical Never wanted to go the management route. Had a BS In Computer Science early days - all punched cards. 20 years doing mainframe work, then this newfangled multiprotocol routing.
anyway... time to sleep soon.
[04:38]
daemonsleep well my friend, I need to get to writing up a backlog of documentation -_- [04:39]
gac410:) [04:39]
***gac410 has left [04:39]
........................ (idle for 1h55mn)
miyonehi, is this a good place to ask about tables and sorting in foswiki? [06:34]
daemonnot within 40 seconds [06:36]
........................................................ (idle for 4h35mn)
***ChanServ sets mode: +o Lynnwood [11:11]
........................ (idle for 1h55mn)
ChanServ sets mode: +o gac410 [13:06]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)