#foswiki 2017-05-22,Mon

↑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 [00:18]
.................................... (idle for 2h57mn)
ChanServ sets mode: +o Lynnwood__ [03:15]
...................... (idle for 1h49mn)
GuilainC_away is now known as GuilainC [05:04]
.............. (idle for 1h8mn)
ChanServ sets mode: +o MichaelDaum [06:12]
......................................... (idle for 3h23mn)
GuilainC is now known as GuilainC_away [09:35]
........ (idle for 37mn)
CHYCIf I get "Error: save failed. Please save your content locally and reload this page." after clicking the "Save and Continue" button, but everything works as expected, is there any way of diagnosing what the issue is?
As in the page saves.
[10:12]
.............. (idle for 1h6mn)
jastopen your browser's developer tools (usually using F12; ideally before clicking "save and continue", some browsers are picky) and look in the error console
there might not be anything there, but if there is it might be helpful
[11:18]
***ChanServ sets mode: +o Lynnwood [11:24]
..... (idle for 21mn)
CHYCjast: Thank you. Nothing in the error console. [11:45]
It may well be some funky stuff I have in my LocalSite.cfg, or Apache. In my POST to save, the response header is a 302, but is missing a Location: header. [11:57]
jastthat's strange
I guess I can see a code path on which that could be happening but I don't know enough about NatEdit to understand the specifics
[12:01]
CHYCOOI, what's the expected behaviour? A 200 or a 302 with a Location? [12:07]
***ChanServ sets mode: +o gac410 [12:11]
gac410CHYC: If you are getting 302 redirects, look carefully at the URL generated for the POST. What's different from your normal URLs. A 302 converts POST to GET and that will break things. [12:14]
CHYCThe URL is https://%FQDN/foswiki/bin/rest/NatEditPlugin/save. If you mean the POST body as well, I'm not sure what I'm looking for. It has a nocache, text and topic parameter.
Oops, looking at wrong request.
The NetEditPlugin/save has a whole bunch of parameters.
[12:21]
gac410It's only the URL that is a concern. That's what would cause apache to redirect. [12:23]
CHYCIf I GET the URL, a 405 Method Not Allowed is returned. [12:24]
gac410so if you had http://%FQDN/foswiki/bin/rest redirecting to https:// or some other difference between the original request and the redirected location.
okay ... that's correct. GET should not be allowed.
[12:24]
CHYCI'm inclined to believe it's not Apache doing this as it saves the page fine anyway. [12:25]
gac410You are running 2.1.3? [12:25]
CHYCThanks to you I am :) [12:25]
gac410Ah You have the proxy server involved as well ? [12:26]
CHYCI had the same thing in 2.1.2 as well, although it was phrased differently. I just lived with it.
This is mod_perl, although I concede there may be cruft somewhere in the LocalSite.cfg from back when a proxy was tried.
[12:26]
gac410Okay, never mind. I was just recalling a different site then with a complex reverse proxy who I helped with 2.1.2 to 2.1.3 [12:29]
MichaelDaum: I found a rather nasty in configure, but CDot's not around to confirm/validate it.
Changes made to the config but NOT saved still get applied to the in-memory ::cfg hash, which can break the system, requring a server reload on a FCGI system.
The issue is that Foswiki/Configure/Query.pm sub _getSetParams ... does not localize the $Foswiki::cfg and anything set goes live without save.
[12:34]
MichaelDaumHi George [12:37]
gac410The callers of _getSetParams all "Local" the config hash, but that scope changes when the utility sub is called. [12:37]
MichaelDaumyes I just recently came across the same issue: I altered the {ScriptUrlPath}{view} ... but didn't save it ... yet the system generated broken urls from there on... [12:37]
gac410The easy fix is to just add +    local %Foswiki::cfg = %Foswiki::cfg; to that subroutine. But I think the better fix would be to pass the localized hash from the calling method. [12:39]
MichaelDaumtrue [12:39]
gac410gac410 isn't all that talented in figuring out how to pass hash references so this might take me a bit :D [12:40]
jast\%Foswiki::cfg <- boom, reference :) [12:40]
gac410Yeah that's easy Its the receiving side where it evals code to dynamically build the hash key. eg., eval("\$Foswiki::cfg$k=\$value");
where \$Foswiki::cfg$k ($k contains {key}{key}... ) replace \$Foswiki::cfg string with the \$hashref-> ?
Michael ... I'm working with a non-profit that want's PDF generation. Of our plethora of PDF generators, what's the preferred with a good license for non-profits
[12:42]
MichaelDaumweasyprint is the best free solution
bit slow at times as it is python based ...
princexml is free for non-commercial use as well.
a lot faster than weasyprint, but seems to lack some css coverage that is available in weasyprint ... and vice versa ... ;)
for example, I wasnt able to have watermarks with princexml. works fine with weasyprint. n the like
[12:52]
gac410Okay. The prince one generates a watermark though unless they buy a license? [12:55]
MichaelDaumwith watermark I mean a diagonal transparent banner saying something like "confidential" or "draft"
on every page
couldnt get it work on princexml.
[12:56]
gac410right. I understand. But the extension says also
Note that the non-commercial version can be used on a Foswiki server for free. In this case you will get a watermark at the top right corner of the generated pdf although not visible when printed out.
[12:57]
MichaelDaumprincexml will show a little "prince xml" icon at the top right corner, as long as you are using the free version.
this icon does not print out, yet is there in the pdf.
^snap
[12:57]
gac410Whats the cost to license the code, or is it "negotiated" with you. [12:59]
MichaelDaumprincexml is too expensive imho....(sorry guys)
2k usd
[12:59]
gac410okay. Yeah I'm sure they won't go for that. They have been really struggling. [13:00]
MichaelDaumI am using weasyprint for all my pdf needs.
and xslfo
[13:00]
......... (idle for 44mn)
CHYCI got somewhere with my predicament. https://github.com/foswiki/distro/blob/master/NatEditPlugin/lib/Foswiki/Plugins/NatEditPlugin/RestSave.pm#L67
If I change that line to $response->status(200) everything just works.
If I Dumper the $response object I see both the $response->status and $response->headers->{Status}.
[13:44]
gac410You are using mod_perl ... Do you have the CPAN module Apache2::Request installed? or is mod perl just using CGI as a fallback?
If you look at System/FoswikiServerInformation that should show all the modules loaded and their versions.
[13:49]
CHYCI see Apache2::Request under Loaded modules
version 2.13
[13:52]
gac410okay good. That's the preferred way to run mod_perl. I'll try to recreate this on one of my VMs ... maybe later today or tonight. Too many irons in the fire [13:52]
CHYCDon't sweat it. It works and I've been living with it for a while so no rush [13:55]
gac410I agree, looking at the Response code, using the status() call is the preferred way to set the status, not manipulating the headers directly. [13:58]
CHYCI would have naively expected so too [14:02]
gac410I don't have mod_perl running, but in plain old CGI, just changing L67 to read: $response->status($status); Doesn't seem to hurt anything.
[14:02]
daemonheya gac410 got a weird problem with my site
it seems to be trying to load scripts unsafely
as in mixed http/https content
which is even more a problem than normal as the site is not accessible over http lol
[14:09]
gac410As long as the Configure DefaultUrlHost is set to an https:// site, there should be no way to mix http & https that I know of. [14:11]
daemonanyway I can force it to always be set as that
this is a slightly odd config
[14:11]
***ChanServ sets mode: +o Lynnwood__ [14:12]
gac410Are you accessing via a proxy? [14:12]
daemonyes
the parent does the SSL
[14:12]
gac410Ah... okay, There is a setting ForceDefaultUrlHost You want that enabled, along with https: on the DefaultUrlHost That way all the generated links will be https:// [14:13]
daemonwhere are those settings
or is that in apache
[14:13]
gac410No Foswiki bin/configure ... I think you need to enable Expert settings to get to the Force setting. [14:13]
daemonha I can't use configure when its doing this [14:14]
gac410general settings Web URLs tab, Expert. [14:14]
daemonlet me enable non ssl mode on the parent [14:14]
gac410Or edit LocalSite.cfg $Foswiki::cfg{ForceDefaultUrlHost}
$Foswiki::cfg{ForceDefaultUrlHost} = 1; in LocalSite.cfg
[14:15]
daemonForce Default Url Host:
{ForceDefaultUrlHost}
on
and she now works
[14:16]
gac410great [14:16]
daemonor not
ERR_SSL_PROTOCOL_ERROR
I bet its cached in chrome
thinks its trying to load mixed mode content still
[14:17]
gac410Also need to reload apache if using fcgi, or restart if using mod_perl [14:17]
daemonok works in edge [14:18]
gac410I need to run out. Appointments today. [14:18]
daemonstill broken in chrome
no worries man ;)
[14:18]
....................... (idle for 1h54mn)
and working
damn you IPv4 users
making my life complicated
https://wiki.tmp.group
[16:13]
........ (idle for 38mn)
think I will open up devel.tmp.group and have a crack at db'izing some of foswiki [16:51]
.............. (idle for 1h9mn)
Can I for instance create a place for a project domain/HWSubmit
and then have sub catagories for that project under the namespace??
domain/HWSubmit/DatabaseDesign
for instasnce
[18:00]
gac410You mean, yoursite.com/Web/Subweb/Topics Web = HWSubmit Subdomain = DataBaseDesign [18:01]
daemonyeah like that
or is there a better way to go about such things
I wonder if I should name things like Project_HWSubmit Project_BSDRadio
hmm
[18:01]
gac410That's the general layout. Web/Topic or Web/Subweb/Topic ... a web or subweb is just a directory on disk. [18:03]
daemonah so I would be better making a /Projects/
to stick stuff in
[18:03]
gac410Y you could do that as well. Search, forms, etc. happen with webs. so usually a Web is a common collection of related topics that you want to search over, etc.
Generally people try to not get too complex with Web/Subweb/Subsub/... Staying a bit flatter is preferred I'd say.
[18:04]
daemonI am just trying to figure out the best way to arrange my stuff
the issue is I do not really want normal people have access to some of the projects
[18:05]
gac410I don't do much wiki app development. Asking someone like MichaelDaum - he might have a better perspective. [18:05]
daemonbut have full access to say anything under HW/
ah cool ok dokey :)
are permission hierarchical?
[18:05]
gac410Y, that's a common use. A Web also has common access requirements. [18:06]
daemonperfect [18:06]
gac410ugh. I'm not sure on permission hierarchy. Probably best to read about that. :( [18:06]
daemonI am hoping to promote foswiki on my first radio show
:)
[18:06]
gac410Foswiki:System/AccessControl yes - subwebs inherit access control from the parent web. [18:07]
FoswikiBothttps://foswiki.org/System/AccessControl [ AccessControl ] [18:07]
daemonthat is perfect will allow me to easily do what I need to do
going to be a good test for both ZFS and foswiki
going to have directories with thousands of folders in them lol
[18:08]
gac410hm 1000's of subwebs? Not sure we've had much experience with that type of scaling. Definitely chat with MichaelDaum or CDot about DB acceleration. [18:10]
daemonwell unless I come up with a better storage idea, got a chat with a friend of mine who deals with such things
I think I mentioned my hardwaredetection project for freebsd?
[18:10]
gac410y [18:10]
daemonwell obviously ... thats going to have ALOT of cards/chips/revisions
and as I cannot store pages in a db with foswiki its going to have to be a file based storage mech :P
then again ...
I could still store the information in a DB and give access to a special page, HW/search
pull the information from the db and read them back into a page template
[18:11]
gac410yup. The DB accelerators though will help a lot. DBIStoreContrib etc. [18:12]
daemonprobably a better way to go about it
gotcha
[18:12]
gac410Unfortunately our largest installation was based upon Foswiki:Development.MongoDBPlugin. The work is all out in github somewhere, but it was all abandoned when the project lost government funding. [18:16]
FoswikiBothttps://foswiki.org/Development.MongoDBPlugin. [ MongoDBPlugin ] [18:16]
gac410I have no idea how this work compares to the other DB based accelerators. [18:16]
daemonCheers I will take a peak; I am actually hoping to fling up a new jail on devel.tmp.group and have a fiddle about my self [18:17]
gac410The site had around 210,000 topics running on 2 single-core VMs [18:17]
daemonfirst job is sorting out that changes page
no idea why it bugs me so much
[18:17]
.......... (idle for 47mn)
***GuilainC_away is now known as GuilainC [19:04]
QBFreakhmm, I don't suppose there's a handy way to include the raw text of a topic? [19:06]
***ChanServ sets mode: +o Lynnwood [19:10]
QBFreakwhat's the best course of action of small typos in topics in Foswiki:System ? [19:16]
FoswikiBothttps://foswiki.org/System [ WebHome ] [19:16]
QBFreakerr for reporting/correcting/etc [19:16]
***ChanServ sets mode: +o Lynnwood__ [19:25]
daemoncan you not just edit out the typos?
elsewhere I would just write the errors out on a paste and leave the link in here someone with permission with likely update it when they spot it :)
[19:34]
.... (idle for 16mn)
QBFreakwell, I'm not clear on where the master doc is, ideally that needs to be updated
and I'm knee deep in something else, so I'm not in a hurry to research it
so the question is, do I edit the System web (heck, do I even have the perms?) or do I open a bug? or is there a doc web they stage...
[19:50]
daemonhow do I 'increase the indentation' in a list [19:55]
QBFreaka bulletted list?
another set of three spaces
[19:55]
daemonoh [19:55]
QBFreaksame for numbers [19:55]
daemonI thought there would be a [->|] button hidden somewhere [19:55]
QBFreakoh! WYSIWYG, I dunno [19:56]
daemonhttps://1drv.ms/i/s!Asj-dFOnBAsJi226GvLozKC61GaC
yeah looks like there should be somewhere
[19:56]
QBFreakI started with TWiki back in the day, and then didn't touch either for a while, and now I find it easier to just do TML than corrall the WYSIWYG editor into what I want :) [19:56]
daemon:P I am pretty much noob level 0 with this stuff at the moment so just following the twenty minute guide [19:57]
QBFreakI assume the two buttons next to the bullet buttons, the one with the tiny blue arrow to the right should indent more
and left should indent less
[19:57]
daemonOk I am an idiot
why did I not see them
[19:58]
QBFreakI think that icon is trying to illustrate adjusting tabstops :)
heh, I've found that something is wrong if I haven't generated at least three ID10T errors a day
but I've been practicing, so my numbers are climbing
[19:58]
daemon:)
yeah the more you do the higher it goes
I am just celebrating my first email to a user landing in gmails 'inbox' instead of 'spam'
[19:59]
QBFreakQBFreak DOES want to win after all
heh
[20:00]
daemonturns out I misread exims dkim_signature_sign
I set it to 'true' thinking ... Yes I want you to do that
turns out it wants a list : of : headers : to : sign
:)
[20:00]
QBFreakI'm thankful for hosting in that situation
I just point it at the mail servers, fill in some login info and let it go
[20:01]
daemonindeed normally I always use hosting for email sendgrid (free tier)
but in this case I have a project that might need to send out ALOT of email
[20:01]
QBFreakah [20:01]
daemonand I was not paying as much as they wanted for the pleasure
especially on a no profit community style job
hmm
https://wiki.tmp.group/Main/ProjectStore
'FreeBSD' it turned into a link
is that because its two words that start with 'Capitals'
thinks its a wikiword
[20:01]
QBFreakyeah, it's a WikiWord, prefix it with ! or <nop> [20:04]
daemonah perfect :) [20:04]
QBFreakneither will render, but they'll also keep it from generating a link [20:04]
daemonyep just used ! kinda used to that one for inverting comparators on perl its self [20:05]
QBFreakFoswiki:System/TopicMarkupLanguage has more of course :) [20:06]
FoswikiBothttps://foswiki.org/System/TopicMarkupLanguage [ TopicMarkupLanguage ] [20:06]
daemonah I was looking for a reference page nice, thank you [20:06]
QBFreakI was just reading it the other day, apparently they've added a few things :)
like !, I always used <nop>
[20:07]
daemonneat you can even borrow things from $ENV with %PUBURL% etc [20:08]
QBFreakyou can do some truely crazy stuff with Foswiki if you really want to try [20:08]
daemongoing to have enough crazy trying to write a database for every possible card id revision and chip id
do not need any more this week :)
[20:09]
QBFreakpsh [20:10]
daemonkind of a shame about the table with the powered by foswiki stuff
https://validator.w3.org/nu/?doc=https%3A%2F%2Fwiki.tmp.group%2FMain%2FProjectStore
only things breaking the site validation
[20:10]
QBFreaknear as I can tell, (poking Main/SitePreferences, WebPreferences, and the templates) the copyright is in a div
bah, I misremembered what you said
[20:22]
GOT IT! it's hiding in https://wiki.tmp.group/System/WebTopBarExample
which you can override with System.WebTopBar I do believe
[20:32]
daemonhmm hey guys I just shot over to https://wiki.tmp.group/Main/ProjectStore/FreeMatrix I created a list of my topics on https://wiki.tmp.group/Main/ProjectStore now I want to write up the docs for one them [20:34]
FoswikiBot[ ProjectStore ] [20:34]
daemonit says I need to create a 'web' which I understand
but I just want to access it like 'https://wiki.tmp.group/Main/ProjectStore' I dont want to create a new base ... what template do I want
[20:35]
QBFreakin the last URL there, Main is your web and ProjectStore is your topic [20:36]
daemonah so if I say to use 'Main' web
it will act like I want
I think
[20:36]
QBFreakif you're setting up a contrib of some kind, it probably needs its own web
but what you can do if that turns out to be the case, is set it up in a different new web and try copying the files from one web to the other (easiest to do on the file system in that case)
[20:36]
gac410The "Main" web is where the users registrations go. As well as some site customizations, etc. I'd recommend using System.ManagingWebs to create a new web for your project data. [20:37]
QBFreakof course, back them both up before you do
and of course, listen to that guy, cause he probably knows better what you're talking about
[20:37]
daemonin my case I THINK I want to create a web 'per project'
that look right?
[20:38]
QBFreakyeah, I've done that
it gives you a nice logical division for each one
[20:38]
daemonbut this seems to want to make https://wiki.tmp.group/Main/ProjectStore a 'web'
that is kind of an index of the projects held ...
does not want to be on any web I think
[20:39]
QBFreakwait a second, are you trying to figure out how to make a new web? [20:39]
daemonhowto make one properly I do not want to get it wrong write a bunch of stuff then have to re do it all :)
I do not really understand what a 'web' is
I assume its some sort of 'group'
[20:40]
QBFreakok, go back to any page where you have the jump box at the top [20:40]
gac410btw, regarding typos, etc. The files we ship are all managed by our github repository. So they are under revision control. You can always fork / commit & send in a pull request, but that's a lot of effort for updates. [20:40]
QBFreakand in the Jump box, type System.ManagingWebs and hit enter [20:40]
daemonQBFreak, ok dokey
https://wiki.tmp.group/Main/ProjectStore its self has the jump [ ] input at the top
[20:40]
QBFreakyeah, they all should (except for error, edit, etc) [20:41]
gac410okay A "Web" is a collection of (loosly) related topics. On disk, it's a directory under the foswiki/data/ directory. [20:41]
daemonok so having the projects each having a 'web' makes sense
a web of the same name
[20:41]
gac410We ship 3 webs. System (The wiki documentation), Main (The web for users topics and site customizations) and Sandbox, a playground. Most sites create additional webs at the top level. [20:42]
daemonso ... main:(/ProjectStore),FreeMatrix:(/FreeMatrix,/FreeMatrix_DBDesign)
sort of like that?
Ah I get it
[20:42]
gac410Like on Foswiki.org. We have Tasks web for our bug tracker, Development web for development proposals and discssion, Support web for ... support. etc. [20:43]
QBFreakhere's what one of mine looks like, the webs are on the left bar: http://mare.qbfreak.net/ [20:43]
daemonso if I make a FreeMatrix web it will appear on the bar at the side [20:43]
QBFreakyes, that's automatic unless you hack up the left bar :) [20:43]
daemonOk I get how it works ... but is there anyway I can get the layout like I want [20:44]
gac410Yes. Though most sites turn that magic off and use a static list. It's a performance hit. [20:44]
daemonmain:(/ProjectStore),FreeMatrix:(/FreeMatrix,/FreeMatrix_DBDesign) so the base for FreeMatrix would be /ProjectStore/FreeMatrix [20:44]
QBFreakyou can put webs inside of webs, if that helps any, I'm not 100% clear on everything you're trying to convey there [20:45]
daemonI get it
my brain just clicked howto do it :)
[20:45]
QBFreakmaybe don't use the word main? there's already a Main web after all [20:45]
daemonwel lyeah at the moment ProjectStore is on 'Main'
which really it should be
[20:45]
gac410Webs and Topics all must start with an upper-case alpha btw. [20:46]
daemonbut I can make a new webs named 'FreeMatrix' and when people access it, then I can have /DBDesign
from the FreeMatrix webs
[20:46]
QBFreakand if you want a different starting web, you can always tweak setting
/FreeMatric/DBDesign sure
well, if I spelled it right
[20:46]
gac410You do not have to stick with Main or Sandbox ... The web names can always be changed in configure. Though you have to manually rename them on disk or things would break. For my test install, I have Usersweb and Litterbox ... so I can register and play without polluting the git source trees. [20:47]
QBFreakhere's a sub-web example: Sandbox/Bugs http://mare.qbfreak.net/Sandbox/Bugs/WebHome
an entire BugsContrib stock web inside of the Sandbox web
[20:48]
daemongac410, bearing in mind FreeMatrix is what I am naming that monsterous hardware id system I am going to use _default
give it its own web
[20:48]
gac410er. _default is a special web used as a template when creatting a new web. [20:49]
daemonyep
I will call it 'FreeMatrix' but use that template
[20:49]
gac410Brows around foswiki.org. Our Tasks web makes heavy use of dataforms. Lots of dynamic pages that search. And as we are not using any db accelerator it can be slow :( [20:51]
QBFreakis that running BugsContrib? [20:51]
gac410A very modified / evolved BugsContrib, yes. [20:52]
QBFreakah ok [20:52]
daemonhttps://wiki.tmp.group/HWMatrix/WebHome ah ha
now where cooking :)
[20:56]
..... (idle for 24mn)
as an aside ... https://wiki.tmp.group/Main/ProjectStore how do I make 'HWMatrix' link to its web
also has it made it a weird colour or is it my eyes
[21:20]
got it :) [21:25]
QBFreakyou can change the color in <webname>.WebPreferences [21:29]
gac410: re our conversation on syntax highlighting the other day, take a look at https://qbfreak.net/wiki/Main/HighlightJs [21:42]
gac410Nice! [21:43]
QBFreakit didn't take much to do it either, stick a few files in the server and the two ADDZONE macros [21:44]
gac410Cool. The hard part would probably be porting the TML syntax rules from chili to HighlightJS [21:44]
QBFreakI'd prefer to configure it as a drop-in for Chili (the docs show an example of using it on <verbatim> tags), but it's a bit more involved to go that route
and yes, that is rather important :)
I personally want it for another language that I'm going to have to make custom defs for...
I need to see if I can get a working dev env for it going (shouldn't be hard, but I know nothing about node.js...)
[21:45]
daemongac410, who does your interface/javascript stuff [22:01]
..... (idle for 21mn)
if there about https://foswiki.org/Tasks/Item14403 holy hell man that is BAD I just lost like 7 paragraphs of text -_- [22:22]
QBFreakugh
Chrome changed the default key for the back button from backspace to ALT+Left-arrow
[22:23]
daemonvivaldi is based off chrome
well its engine
just looking if I can change that binding before I blow something up
[22:24]
QBFreakah, I was about to say I was surprised that Foswiki would have that issue, but not a major browser, so I guess it's a bit more possible [22:25]
daemonswapped it to ctrl-left arrow
but I think IE and edge still use backspace
yeah
edge is backspace still
l;et me see if firefox is
[22:26]
QBFreakbut do they have issues with the WYSIWYG editor? [22:26]
daemonfirefox does too
let me login and see what the WYSIWIG does
firefox does not
edge does not
looks like vivaldi only
https://www.reddit.com/r/vivaldibrowser/comments/4jmzf8/anyone_else_accidentally_presses_backspace_when/
[22:27]
QBFreaksounds like an oddity in how Vivaldi handles key capturing (or whatever method WYSIWYG is using, I don't do JS :) ) [22:28]
daemonwell the thing is you say chrome changed there backspace to be ctrl <left>
vivaldi is the chrome engine
so I bet that the engine its self does not do whatever edge and firefox do
hence the changed binding
[22:29]
QBFreakforward/back are ALT-left/right [22:29]
daemonyeah they obviously went a different path [22:30]
QBFreakerr, I think I have those backwards :) [22:30]
daemonfirefox and edge seem to disable backspace when you are in a textbox [22:30]
QBFreakbut anyway [22:30]
daemonchrome changed the mapping so that ctrl < > are back/forward
vivaldi which is based off chromes engine appears to have backspace AND ctrl - as 'back'
the question immediatly jumping to mind, is why did chrome decide to not do the same as firefox and ms and just disable backspace in a textarea
[22:30]
gac410Hm daemon - backspace key for me just backspaces text in tinymce editor. Just tried it on foswiki.org sandbox. [22:31]
daemongac410, vivaldi only we just tested ^ :P [22:32]
gac410ah ... I had to just go look up what vivaldi was, other than being the dead composer of the "Four Seasons" [22:33]
daemonhehe
you should try it man its really damn nice
especially if you was a fan of the 'real opera'
[22:34]
gac410On firefox, if you click the focus outside of the editor, then y, backspace leaves the editor window. [22:35]
daemonyep
it seems ms edge and firefox disable backspace on activating the TEXTAREA elemnt
chrome removed backspace/back and just made it 'ctrl left'
vivaldi (based on chrome) uses ctrl<left> and backspace
by default, I just removed the 'backspace' one because seriously nearly blown a vein up when lost that text
[22:35]
***GuilainC is now known as GuilainC_away [22:37]
gac410The new TinyMCE on Foswiki 2.2 (alpha) puts up a dialog asking if you want to navigate away from the page. So No action needed on that fix ;) [22:38]
daemonit did not alert me
it just left
ah wait
2.2 :P
[22:38]
gac410yes, next release. NatEdit does exit the editor but at least on FF, the forward button puts you back into the editor with changes intact. [22:40]
daemonyeah it does on vivaldi to the problem was I hit backspace to remove a typo; then whacked enter to goto the next line
vivaldi had an element on the previous page highlighted
which then nuked the forward history
curious ... how long is 2.2 expected to be?
is it in a alpha stage?
[22:41]
gac410The new editor on master (2.2) is still broken :( If you click the WikiText button to leave Tinymce, and then press cancel, it puts you back into Tinymce. Cancel inoperative. [22:42]
QBFreakwhy would you want to cancel?
doesn't everyone want to edit forever?
[22:42]
gac410Foswiki:Development.ReleasePlan We keep slipping the schedule. The devs have gotten wrapped up in real life and features are not being developed. :( Now we are planning on September. [22:45]
FoswikiBothttps://foswiki.org/Development.ReleasePlan [ ReleasePlan ] [22:45]
daemongac410, would there be any interest in an easy installer; I was going to spend a few minutes after I get written up writing a fatpacked script to check a local enviroment for the required libraries query the user if they want to install them, then download the latest release or rc [22:47]
gac410There are actually a couple of tools that try to do that. There are so many different environments, it's hard to be general. [22:49]
daemongac410, thats why I was going for a fatpacked version, would run wherever there was 'perl' would require nothing [22:49]
gac410vrurg has a branch that tries to automatically install all the needed cpan. I had trouble getting it to work. We also have a dependenciesinstaller script someone wrote, but we stopped shipping it due to issues. [22:50]
daemonah so your saying, I can try but its likely going to fuck up in some way shape or form and end up in the scrap pile :) [22:50]
gac410I'll have to look up fatpacked ... We intentionally do NOT ship CPAN modules. We used to bundle them, but some of our dependencies have no pure-perl versions available, so we can't bundle. [22:51]
daemonhttps://metacpan.org/pod/App::FatPacker::Simple
https://metacpan.org/pod/App::FatPacker sorry
caught the wrong link
I have a bunch of servers I push automated tasks out, now I just make a perl script fatpack it and scp it out; the end points are setup to start a timed execute of it when its size stops growing
[22:52]
gac410As RM, I can only do so much, we learned our lesson on OS specific packages. The volunteers left and didn't leave behind any tools we could use, so the repos are out of date, and we'd have to develop new tools for the packaging.
So anyway, for selfish reasons, I build tgz, zip, and the vmware image. and then run out of gas.
[22:53]
daemonlet me see how good I can make it, it should 'just work' anywhere it may actually reduce your work load [22:54]
gac410How does fatpack handle the modules that require c-compiled code. HTML::Entities HTML::Parser Have to be compiled for x64, ia32, etc.
We have Foswiki:Extensions.CpanContrib, but foswiki will not run with just the contrib because of HTML::Entities. and HTML::Encode
[22:55]
FoswikiBothttps://foswiki.org/Extensions.CpanContrib, [22:57]
daemonah hold on I did not mean like that, I meant it would run from the user perspective query the local env for the required packages, perhaps look for an appropriate webserver even link to your config generator perhaps. but in the event things are missing, it would prompt for installation method cpan,cpanm,locallib etc.. and execute the relevant shell command to do those jobs
then fetch the .zip or SRC and place them in the correct place
fatpacker cannot handle XS modules for obvious reasons
[22:57]
gac410https://github.com/foswiki/distro/blob/master/core/tools/dependencies_installer.pl was one of the attempts. [22:59]
daemonholy crap [22:59]
gac410:D [22:59]
daemonyeah I think I can do better 8) [22:59]
gac410Not my design. But I made the decision to remove it from the MANIFEST ;) [23:00]
daemonindeed lol [23:01]
gac410The challenge is that the sites that have the most dependencies issues - Windows Server, Web Hosted, CPanel, etc. are the hardest to automate. Linux, freebsd, etc, just c/p the example command found on Foswiki:System.SystemRequirements [23:07]
FoswikiBothttps://foswiki.org/System.SystemRequirements [ SystemRequirements ] [23:07]
daemonhttps://wiki.tmp.group/Main/WebHome my little 'checkout foswiki' rant :) [23:09]
vrurgdaemon: As gac410 mentioned above – check out Foswiki:Development.DependenciesFreedom and its coresponding branch before doing anything on this. Let's not duplicate if not necessary. [23:09]
FoswikiBothttps://foswiki.org/Development.DependenciesFreedom [ DependenciesFreedom ] [23:09]
gac410cool thanks. [23:09]
daemongac410, I have a load to test on from my own projects, the only one I do not have a test target for is cPanel, but pretty sure if its possible I can figure it out
vrurg, oh absolutely I will spend a day or two checking out the resources
[23:09]
gac410gac410 knows almost nothing about cpanel other than painfully trying to answer a question now & then.
Have to admin, that's pretty low on the list Windows is more often. bleh
[23:12]
daemonyeah lol [23:12]
vrurgdaemon: ping me here. I rarely participate in chatting while coding. But still may reply. [23:14]
daemonvrurg, cool :) coding anything interesting? [23:14]
gac410vrurg is tackling the Herculean project of rewriting Foswiki into Moo and PSGI in his spare time. [23:15]
vrurgdaemon: Working on this one right now: Foswiki:Development.OOConfigSpecsFormat [23:15]
FoswikiBothttps://foswiki.org/Development.OOConfigSpecsFormat [ OOConfigSpecsFormat ] [23:15]
daemonvrurg, looks like you could just depend on a JSON File as the config, read it with json::pp [23:16]
vrurggac410: It's more like my second work time... :)
daemon: The conception is to have it extendable. As pretty much anything else in Foswiki core.
People asking more about YAML, BTW.
[23:16]
daemonI would have though having it as JSON would make it really quite expandable indeed ... commonly spoken language and all
damn YAML, blah
[23:18]
vrurgI have already done a DB storage via DBI. [23:18]
daemonah nice [23:18]
vrurgThe common mistake about all this format wars is that they're nothing but a convenience matter. While we must think forward and implement distributed core which could be run on multiple servers.
The DB backend is more like an example but could be polished out to a complete solution and a first step in that direction. The next step is to have a DB storage for META. But that task is for some future development.
[23:19]
daemonI take it you abstracted the DB structure away so it can be used for any driver DBI has, so in the case of a small setup like mine it could use SQLite for instance [23:22]
vrurgCorrect. Few keys to define driver/db/table/user/password and optional dsn.
Not sure it will work with SQLite out of the box but then it's only a matter to adapt the code.
Though I see no point of using SQLite backend.
[23:23]
daemonI assumed that your code would replace the flatfile config (Traditional) entirely, so you would have to use some DB of some sort [23:24]
vrurgLSC isn't a big amount of data and could comfortablt reside in a plain file.
Yes and no.
[23:25]
daemontry to keep around as little legacy code as possible and all :) [23:25]
vrurgWhere would you get DB config from for the initial setup, for example? You'd still need a local file. So, LSC serves this good enough. But with minor corrections we may reduce it down to few keys only.
But I'm trying to get rid of setlib.cfg and LocalLib.cfg.
[23:26]
daemonah [23:27]
vrurgSo far, my local setup works without them. [23:27]
gac410vrurg, we found a nasty bug in configure. Configure::Query::_getSetVariable leaks temporary changes into the in-memory %Foswiki::cfg hash [23:28]
vrurggac410: Anything related to my work? [23:32]
gac410Nope...
About to check in a fix.
[23:32]
vrurgOk.
For the new specs Configure would have to be redone.
[23:33]
GithubBot[distro] gac410 pushed 3 new commits to Release02x01: https://git.io/vHIbv
distro/Release02x01 a521a8e George Clark: Item14402: Fix unusual default path, improve docs
distro/Release02x01 36956af George Clark: Item14401: Don't crash if PageCache can't load...
distro/Release02x01 0324256 George Clark: Item14400: Don't leak config settings....
[23:33]
***GithubBot has left [23:33]
FoswikiBothttps://foswiki.org/Tasks/Item14402 [ Item14402: Invalid default in FastCGIEngineContrib example foswiki.defaults file ]
https://foswiki.org/Tasks/Item14401 [ Item14401: Foswiki crashes if PageCache is enabled with missing dependencies ]
https://foswiki.org/Tasks/Item14400 [ Item14400: Configure settings leak into the global $Foswiki::cfg hash in fcgi environment ]
[23:33]
daemonwhat the hell
ah
[23:34]
vrurgBut I won't be able to afford this task. It's beyond my abilities an all respect.
respect/respects
[23:34]
daemonis there anyway to add like a little [1] or [2] or w/e to the end of a word, for if I want to refer to something later on
like a reference marker
ah superscript 12
ah superscript 1
[23:39]
gac410Just using html - no wiki markup for superscripts or subscripts. [23:43]
daemonI just copied it from http://www.fileformat.info/info/unicode/char/00b9/index.htm :) [23:44]
vrurgsup HTML tag? [23:45]
daemonI am going to finish writing I might be able to actually get away with using no reference marker at all, which would be the better solution [23:45]

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