#foswiki 2017-05-23,Tue

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

WhoWhatWhen
GithubBot[distro] gac410 pushed 1 new commit to Release02x01: https://git.io/vHIAC
distro/Release02x01 a3fb8a4 George Clark: Item14404: Use status() function to set status...
[00:01]
***GithubBot has left [00:01]
FoswikiBothttps://foswiki.org/Tasks/Item14404 [ Item14404: NatEdit Save and Continue action fails on mod_perl systems. ] [00:01]
daemongac410, https://wiki.tmp.group/HWMatrix/WebHome your likely to busy but yeah ... what I am trying to come up with a DATABASE system for lol [00:07]
gac410I'd guess that the easiest way to post hardware feedback would be to put together a tool to generate JSON and POST it to a jsonrpc handler on Foswiki.
that's how we get Task status feedback from github - it posts JSON to us.
[00:10]
daemonyep thats my plan
but storing all that info
is going to be nutty
potentially 100s of thousands of pages
some sort of automatic generation has got to happen
indexing it is almost entirely out of the question
[00:11]
gac410https://github.com/foswiki/FoswikiOrgPlugin/blob/master/lib/Foswiki/Plugins/FoswikiOrgPlugin/Core.pm#L1
Thats the code that accepts push notifications from github
[00:12]
daemonah cool thank you [00:12]
vrurgdaemon: Consider having a Perl app using my DBIQueryPlugin. You could avoid generating all these 100k pages and simply fetch from a DB and generate page content. [00:18]
daemonvrurg, that is what I will have to do, use a template and drag the info from the db [00:18]
gac410A hidden gem in Foswiki is the concept of View Templates. You can format and rearrange topic data, form data, db queries, etc in any way you want. [00:20]
vrurgFoswiki doesn't have a direct DB access. There're plugins for simple table generation but you may need something more complicated. Plus you'd need to process some user input and fetch data depending on it.
gac410: I'm currently analysing SCRIPTHASH pluggable of Configure. It seems it won't work if not run in bin/. As far as I know a web server doesn't guarantee a script its current dir.
[00:20]
gac410right, foswiki assumes that all scripts are in the same location of the running script. Have not come across one that doesn't work that way but.. .it's a big world ;) [00:23]
daemonvrurg, I would likely slap together a small daemon in POE, have EasyDBI execute queries and return them as JSON objects of the relative data, in that sense I can make a template page as a normal page and use javascript to call a jsonxml request to the POE daemon, pull back the data and layout the page via that method [00:23]
vrurggac410: Well, I'm starting plackup from core. Seems to be ok but I'm not sure now... [00:25]
gac410magic :D [00:25]
vrurggac410: who are you talking to now?
;)
Because what daemon is gonna do kind of some sorcery too... ;)
[00:26]
gac410Answering your "I'm not sure now.." [00:26]
daemonI am gonig to try my absolute best :) [00:27]
vrurgI quit using JS years ago while it was an infant terrible (well, it is now grown up to a fully-horrific one) [00:28]
daemonsorry guys I think I should know this ... how can I give 1 user full edit access to an entire 'web'
doing it page by page is getting tedius :)
https://wiki.tmp.group/System/AccessControl got it :)
hmm so I just https://wiki.tmp.group/bin/edit/HWMatrix/WebPreferences head to this and add right to the bottom: 'Set ALLOWWEBCHANGE = PaulWebster'
PaulWebster being my username
[00:35]
gac410Add it as a bullet (wysiwyg editor) or with text editor, 3-spaces Asterisk Set ALLOWWEBCHANGE = PaulWebster [00:42]
daemonok I must be, being retarded: https://1drv.ms/i/s!Asj-dFOnBAsJi270cJi5ptM-WMQ0 [00:43]
gac410Or... easier, as you are the site admin. Visit Main.AdminGroup and add yourself to that group. [00:43]
daemonah no I would rather just leave the admin to do admin things :)
did I add it to far down the change?
page**
[00:43]
gac410Oh... you can't add a 2nd Set for the same variable. Make the one above. Set ALLOWWEBCHANGE = %USERSWEB%.AdminUser, Main.PaulWebster
Comma separated list of users
[00:44]
daemongotcha [00:45]
gac410You don't really need the Web qualifier, but then they link rather than render as a broken link. [00:45]
daemonjust a note there is still a bug with the http/https stuff https://1drv.ms/i/s!Asj-dFOnBAsJi28XV5gE-XyTGaLo
can trigger it by pressing back into the editor, after donig a save
it will confirm the 'unusual change'
then redirect to a http://
not sure if nginx is doing something odd though; because thats the proxy path
worked perfectly! thank you gac410
[00:45]
gac410Hm strange. Ah... That's a bug that I remember hearing about and then lost the context and couldn't find it. It is indeed due to the proxy.
Somewhere we are picking up the hostname from the Request object rather than from the DefaultUrlHost.
IIRC it's because the redirect code uses the whole url string and would have to parse it apart and rebuld it with the default url host.
[00:48]
daemonyeah I am actually going to fix that permanently shortly, I will stick a self signed cert on the apache server the site is
and tell nginx to ignore it, so the proxy pass is to SSL
so then foswiki will auto figure out its on https :)
should prevent events like that ^
[00:54]
gac410well, the bug really is in our validation code where we package up the current URL and save it for after the validation [00:55]
daemonah
I should firewall off that ipv6
people should not be accessing it directly
[00:55]
gac410I'll look at the code again. see if I can find it. I don't have a proxy server to readily test with. [00:56]
daemonleave it for now, because when I shove devel.tmp.group I can easily add it behind a proxy and give you access [00:57]
gac410anyway, I'll look for it again. We really need to fix it sometime. [00:58]
daemon11 devel.tmp.group /usr/jails/devel.tmp.group
:) now time to get a git version
[01:04]
..... (idle for 24mn)
why is <pre> being rendered as '<pre>' on my actual page, do I need to swap to html mode to use it? https://1drv.ms/i/s!Asj-dFOnBAsJi3C3vr2IOqw2rwla
https://1drv.ms/i/s!Asj-dFOnBAsJi3GFLQI-6_HakOKV
[01:28]
gac410Oh... using the WysiwygEditor, it's literally WYS i WYG ... that is type in <pre> See <pre> You need to highlight the block and use the left-corner drop-down to select the type [01:30]
daemonah [01:31]
gac410Or click over to the wikitext editor where you can enter html directly.
Most experienced users probably give up on wysiwyg
[01:32]
daemonjust drop into ssh and make the page manually? [01:33]
gac410Nooooo
On bottom menu bar, on the right side, is "Edit wiki text"
That editor is better for direct manipulation of the topic contents.
[01:38]
daemon: I've been unable to recreate that redirect problem. I'm only using http, but I set up an apache proxy for proxy.mysite.com:8080 -> foswiki.mysite.com:80 [01:45]
daemongac410, I believe its because I have this:
(HTTPS CLIENT)[nginx](HTTP CONNECTION)[apache]
it cocks up because it changes schema
you can easily recreate it creating an account on my wiki and doing it from there though
probably won't help much but just thought would mention it :)
[01:46]
gac410hm okay I'll try to get my proxy server running on https. I'd rather have a local test case. I need to trace where in the code it's getting the wrong protocol [01:47]
daemonlet me just double check I can recreate it in the minimal steps
ok;
[01:48]
gac410I've tried a bunch of redirect paths. delete FOSWIKISID - redirects to login and returns with correct host, delete VALIDATION cookeie, ok, BACK to edit, save, ... still okay.
So it must be just the protocol.
[01:49]
daemonI went X page, clicked edit; edited some text, pressed SAVE, I then went BACK (into the editor); when I pressed save this time I got: https://1drv.ms/i/s!Asj-dFOnBAsJi3KpvwXzp_ozwA3s then after clicking OK you get: https://1drv.ms/i/s!Asj-dFOnBAsJi3MKwROEG8rf7DOq [01:49]
FoswikiBot[ Microsoft OneDrive - Access files anywhere. Create docs with free Office Online. ] [01:49]
gac410BINGO ... Thanks daemon. I've recreated it. I'll work on it for 2.1.4 [01:57]
daemon:) cool np [01:57]
......... (idle for 42mn)
gac410It was a simple fix. In Foswiki::Request->url() it attempted to detect the proxy host, but cannot detect the protocol scheme, as there are no hints provided in the headers. Solution was to honor ForceDefaultUrlHost flag there as well. [02:39]
FoswikiBothttps://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Request [02:39]
gac410Running the full unit test suite before I push. [02:40]
GithubBot[distro] gac410 pushed 1 new commit to master: https://git.io/vHLkI
distro/master 01fd5e8 George Clark: Item14401: Merge branch 'Release02x01'
[02:49]
***GithubBot has left [02:49]
FoswikiBothttps://foswiki.org/Tasks/Item14401 [ Item14401: Foswiki crashes if PageCache is enabled with missing dependencies ] [02:49]
daemoncool :) [02:51]
............... (idle for 1h10mn)
GithubBot[distro] gac410 pushed 1 new commit to Release02x01: https://git.io/vHLtm
distro/Release02x01 91f82fd George Clark: Item13883: Update release notes for RC3
[04:01]
***GithubBot has left [04:01]
FoswikiBothttps://foswiki.org/Tasks/Item13883 [ Item13883: Documentation changes for master and 2.1 ] [04:01]
................. (idle for 1h24mn)
***GuilainC_away is now known as GuilainC [05:25]
................. (idle for 1h22mn)
ChanServ sets mode: +o MichaelDaum [06:47]
....... (idle for 31mn)
daemonis it normal for he 'upload' dialog to give back a weird 'html style' pre OK: https://1drv.ms/i/s!Asj-dFOnBAsJi3bXhmqM9N11Pua0
as an aside; https://wiki.tmp.group/HWMatrix/DataStorage fear my mspaint skills
[07:18]
***GuilainC is now known as GuilainC_away [07:34]
.......................................... (idle for 3h26mn)
daemonMichaelDaum, I assume I can lodge bugs with yourself as gac410 is out and your an op :) https://1drv.ms/i/s!Asj-dFOnBAsJi3j816gwUx5NLGNJ thats a pretty bad layout bug especially when people might view these things on phones (rc1) [11:00]
MichaelDaumit is. PatternSkin is not well suited to have the sidebar on the right. [11:01]
daemonMichaelDaum, thats the weird bit ... my sidebar is on the left
I have no idea what its doing there
https://wiki.tmp.group/HWMatrix/DatabaseDesign
https://wiki.tmp.group/HWMatrix/DataStorage
ut seems to teleport for some reason
it*
ah
quotes break the design
the " button
[11:01]
MichaelDaumthere is probably an html error in the content [11:02]
daemonlet me save it with the quote back in and check html view
seems perfectly valid
[11:03]
MichaelDaumyour perl code should probably be in a <verbatim>...</verbatim> ? [11:04]
daemonAh now it works!
must have picked something up on the way through
thank yoiu
christ it broke iat again
what the hell is causing that
MichaelDaum, ah ha I found out why
MichaelDaum, its because I am creating a <blockquote> and then 'tab right'
it pushs the blockquote over the edge of the container somehow
which then breaks the sidebar position
MichaelDaum, https://wiki.tmp.group/HWMatrix/LayoutBugExample
[11:05]
MichaelDaumthis piece of html is causing the error: <blockquote><div class='foswikiIndent'> Some text to quote </blockquote> [11:15]
daemonyep
but it was generated purely using the wysiwig editor
so likely can be triggered by anyone
[11:15]
MichaelDaumwysismock [11:15]
daemonthats the one :P [11:15]
***ChanServ sets mode: +o MichaelDaum_ [11:19]
.............. (idle for 1h5mn)
ChanServ sets mode: +o Lynnwood [12:24]
.... (idle for 15mn)
daemon has quit IRC (Ping timeout: 240 seconds) [12:39]
.... (idle for 17mn)
ChanServ sets mode: +o gac410 [12:56]
gac410Hi MichaelDaum_ I was going to go for the 2.1.4 release today, but enough new bugs/fixes popped up I'll do one more RC. I assume you saw the fix to NatEdit's RestSave, it was busted on mod_perl
Probably a subtle difference between CGI and Apache2::Request
[13:02]
MichaelDaumokay no problem.
no hurry
[13:07]
..................... (idle for 1h43mn)
daemonMichaelDaum, did my weird interface css thing make it as a bug
I am on a record 3 bugs in 3 days lol
[14:50]
............ (idle for 58mn)
foswiki_irc8I have an article whose properties have
* set ALLOWTOPICCHANGE = *
but when a not-logged-in user tries to edit, it kicks them to the login screen
[15:49]
daemonI would imagine you have to specify ot-logged-in or guest-users specifically [15:50]
gac410Ah... If you really want guests to edit, then you also have to remove edit from the AuthScripts list in configure. That's a pretty dangerous configuration [15:50]
foswiki_irc8the server is internal so security isn't too concerning
but I also tried ALLOWTOPICCHANGE = WikiGuest
and that didn't work either
If I remove edit from the AuthScripts list, it will still respect the access rights?
like, dangerous how?
[15:50]
gac410As I said, edit needs to be removed from $Foswiki::cfg{AuthScripts}. Also save, and if they can attach files, attach, and upload
Well dangerous in that you can't tell who made any changes. It's just anonymous WikiGuest .
[15:52]
foswiki_irc8Context: they want an anonymous comment box ("No more apples in the vending machine please") [15:53]
gac410Ah... CommentPlugin CAN be set to allow anonymous commenting. There is a setting in Configure in the Extensions/CommentPlugin tab. [15:54]
foswiki_irc8bin/configure here I come [15:54]
gac410That's much better than allowing edit globally. [15:54]
foswiki_irc8I looked at the docs for that and didn't see it [15:54]
gac410Are you on Foswikii 2.x? [15:54]
foswiki_irc8That's my problem
1.7 probably
[15:55]
gac4101.1.7 ... I don't recall if the old CommentPlugin can do anonymous commenting. And not sure it's completely safe to upgrade to the 2.x extension on a 1.x foswiki. [15:56]
foswiki_irc8I need to upgrade, for sure
I was going to procrastinate, but I thought I'd wait until later
[15:56]
gac410The upgrade is definitely not trivial. [15:56]
foswiki_irc8Sounds like it is worth it, tho
this system ROCKS and that I can get instant live support like this makes it the god app
[15:57]
daemonfoswiki_irc8, as another hack perhaps you could set the default user to be <some_user_account> [15:57]
foswiki_irc8by extension, of course, you all rock. [15:57]
gac410y. Also you really want to be on a server with recent Perl - an old 5.8.8 perl is going to be pretty slow with unicode [15:57]
daemonso no one ever is the wiki_guest? [15:57]
foswiki_irc8only for viewing [15:57]
gac410No. The issue is that AuthScripts will force authentication regardless of topic ACLs [15:58]
daemonah [15:58]
foswiki_irc8thanks all - I am going to see how much damage I can do! [15:58]
gac410So you can just remove edit, save from AuthScripts. ACLs will still be honored, but guests will be able to edit if ACL permits. [15:59]
foswiki_irc8perfect [15:59]
gac410At least that's my understanding of how it works. Oh... also if you are using ApacheLogin, then it would need apache configuratoin changes. [15:59]
foswiki_irc8If it doesn't work, I'll be back. [15:59]
gac410But for the default TemplateLogin, AuthScripts should be enough. [15:59]
foswiki_irc8have fun all [15:59]
***foswiki_irc8 has left [16:00]
.......... (idle for 45mn)
daemonHey guys, si there anyway I can 'change the width' of a table for a column
not the entire table
I want to make sure the first col is basically 'non breaking'
I do not want it to try wrap text at all
[16:45]
gac410%TABLE% macro can set column widths. [16:45]
daemonah this be my first time using one of those [16:46]
gac410But if someone writes war & peace into a cell it will still break. ;)
Foswiki:System.VarTABLE
[16:46]
FoswikiBothttps://foswiki.org/System.VarTABLE [ VarTABLE ] [16:46]
daemonthank you :)
gac410, also I posted a but to michael earleier im not sure if he commited it, disagreed or what https://wiki.tmp.group/HWMatrix/LayoutBugExample
but as I found those other two bugs I wanted to get 3 for 3 in 3 days :P
s/but/bug/
not sure where that one belongs
[16:46]
gac410Also if it's a public site, I typically set sort="off" so the damn bots don't follow all the sort links.
Any broken html - unclosed divs, etc.. will cause strangeness in the layout. I don't think there is much foswiki can do to correct bad html. As the Wysiwyg editor seemed to insert it for you without your help, it's probably a TinyMCE bug.
But we are way way behind on TinyMCE fixes on 2.1 2.2 will get a shiny new release of TinyMCE.
[16:48]
daemongac410, created by the wysiwig editor
the concern was that new users could trigger it so easily
[16:50]
gac410TinyMCE has not been terribly responsive to bugs when we report them upstream. [16:50]
daemonmay be worth testinbg on your 2.X
may not even exist on it
[16:51]
gac410You might try to recreate it on https://trunk.foswiki.org/ It's public - uses same credentials as foswiki.org [16:51]
daemonah perfect thank you [16:51]
gac410Hostname dates from when we were on subversion. ;) [16:51]
daemonholy monkies that version is slow
https://trunk.foswiki.org/Main/DebugLayoutIssue
yeah cannot trigger it in that version :)
[16:52]
gac410Great! [16:52]
FoswikiBothttps://foswiki.org/Tasks/Item14117 [ Item14117: TML sends TinyMCE into an eternal loop ] [16:53]
gac410The whole concept of a round-trip between TML -> HTML (edit) -> TML where TML cannot express all of the richness of HTML is fraught with traps and pitfalls. It's a miracle that it works as well as it does :D [16:54]
daemongac410, I understand the format of the table plugin
but where do I actually put the %TABLE ..
or do I just edit the html and set the width in the element
ahh... thats for the other one
wiki view
[17:00]
gac410If you have not guessed, there are some of us who really hate the wysiwyg editor. Whenever I touch it, I live to regret it. Growing/Shriking White space issues are a nightmare.
You can add the %TABLE...% macro in front of the table in either Wysiwyg or NatEdit. Wysiwyg should be smart enough to not insert whitespace between the macro and the table.
Note that the %TABLE% macro only works for | TML | Style | Tables |
If you try to get fancy - cell colors, cell widths, etc. in the wysiwyg editor, then it will not make the roundtrip to TML and you end up with HTML in the topic.
[17:01]
daemonah I just kinda wanted to write
if you know what I mean normally I am more a console kiddy my self
but I just need to be able to get this information done :)
I just set this in html view
<td style="white-space: nowrap;">
for the one I don't want to wrap
I just hope the wysiwig or w/e does not edit it out
lol
[17:03]
gac410Gah... Either you will lose it, or the entire table will get saved as HTML.
It's possible to tune this behavior a bit but I avoid that like the plague.
[17:05]
daemonis it possible I can apply a custom CSS to a page
because really table tr td:first-child { white-space: nowrap; }
would do it just fine
[17:06]
gac410Yes. I think there is info in the Ssystem web on Pattern Skin css classes. I don't do much with css - another topic that causes holes in my feet - big holes [17:07]
daemonhehe, I have to ask I have never heard that saying before
holes in feet? :*
:)
[17:07]
gac410There is the %ADDTOZONE% macro Foswiki:System.VarADDTOZONE to add javascript or css to a page. [17:08]
FoswikiBothttps://foswiki.org/System.VarADDTOZONE [ VarADDTOZONE ] [17:08]
gac410"Shooting yourself in the foot" ? [17:08]
daemonah I see it now
:)
[17:08]
gac410There are certain areas of foswiki where I just know I'm going to regret trying to make a code change. CSS is one of them. Wysiwyg is another. hm actually there are quite a few now that I think about it. [17:09]
daemonwhere exactly do I put the %ADDTOZONE stuff, I am getting confused between where you use macros and stuff; obviously not the WYSIWIG I would think not the HTML view
so is it in the Wiki view one
that can't be it
because I can't access head from there
[17:10]
gac410You can put macros in the Wysiwyg as well. Wyiswyg editor on the next cycle should mark it as a "sticky" block so that it won't touch it.
No... ADDTOZONE causes our render engine to put whatever you specify in the appropriate zone, Head or Script.
[17:11]
daemonah so all methods pick up the % prefix
I take it you cant however use %ADDTOZONE in the wysiwig
[17:12]
gac410%xxxx% is either a Macro or a Variable to be expanded. So if you have Set ABC = DEF, then %ABC% will render as DEF That's a variable. But as a macro, they can be built-in like ADDTOZONE, or registered by a plugin, like %TABLE
Yes... you can put macros in Wysiwyg.
[17:13]
daemonoh piss off, it expands the block and removes it but LEAVES the quote block
so it just looks ugly instead
[17:14]
gac410And the ADDTOZONE macro will render into a null string, when the rending the page for view.
You can put it anywhere on the page.
[17:14]
daemonWYSIWIG stuck it in a <blockmeta>
but obviously as its returned/parsed into a null text
it then leaves an empty blockmeta on the page
[17:14]
gac410huh? I don't even know what a blockmeta is.
Let me try.
[17:15]
daemonwhite-space: nowrap
er
%ADDTOZONE{"head" id="MyCSS" text="<style type='text/css'>table tr td:first-child { white-space: nowrap }</style>" }%
should make the first td in a table non wrapping
which is what I am trying to get to
[17:16]
gac410I just did a bogus addtozone, it renders it "for edit" as <span class="WYSIWYG_PROTECTED">%ADDTOZONE{"head",&#160;"foo"}%</span> [17:18]
daemonlol [17:18]
gac410Let me try yours [17:18]
daemonhaha
https://wiki.tmp.group/HWMatrix/DataStorage
[17:19]
gac410btw that is what it is supposed to do. That's what I see if I click the "Html" button while in edit. [17:19]
daemoncheck the VERY TOP of the page [17:19]
gac410Ah... it "protected" the < and > Let me get the formula for you. [17:20]
daemonbtw as I was saying I can make anything look unpretty
look at all the coliding types on that page -_-
someone needs to fix whatever part of the brain does 'looks good'
[17:20]
gac410Okay... Edit your topic. Write your ADDTOZONE macro. Since it contains < > ... you need to highlight the line, and choose "Protect on Save" from the format dropdown. Then save the page. [17:22]
daemonperfect
now my composite key is non breaking :)
[17:22]
gac410Wysiwyg can be a bit challenging. As I said, eventually developers tend to move to the "Edit wiki text" button. or set NOWYSIWYG = 1 in their user topic. [17:23]
daemonyeah I could actually jsut write this as fast in either the html or wiki view [17:23]
gac410NatEdit is pretty nice. It's still somewhat wysiwyg, but helps you write TML directly. [17:24]
daemonto be honest I am more used to seeing stuff like this from that view anyhow
infact what I should do is set notepad++ up with a template document of a blank page and just write to the bloody thing directly
[17:24]
gac410Wysiwyg is good for the general user who doesn't know html or tml and just wants to edit some text. Once you start writting complex macros, or get into raw html, plain text editor is much better. [17:25]
daemonhonestly my friend I am doing nothing advanced kinda why I stuck with it figured it would be faster
but its starting to get irritating :P
gac410, I would like to propose a 'theme' change though for the quotes .. where/how do I go about that
just pull the git and push my change to the css for the theme?
[17:26]
gac410A change to the css for blockquote? [17:29]
daemonyes
I jsut think I can make it a tad prettier than it presently is
[17:30]
gac410For a simple change, open a task as an enhancement to PatternSkin. Foswiki:Tasks.PatternSkin and either post it there, or do the git fork / push route. Even using git we'll still need a task to check it in. [17:31]
FoswikiBothttps://foswiki.org/Tasks.PatternSkin [ PatternSkin ] [17:31]
daemongotcha
thank you
[17:31]
gac410If it's significant change to how it looks, we might want to end up with a feature proposal and a chance for developers to object. I know some of the companies using foswiki are really anal about layout and how it looks. [17:32]
daemonI want to stop that rather unpleasant grey shaded box with [17:33]
gac410We made a minor font change a few years ago and you'd think we killed someone. It changed wrap points on tables. [17:33]
daemonfont size+2"(std)<text>font size +2"
perhaps in a nice rounded font
when I have finished writing this section on data storage I will get it working on devel.tmp.group
[17:33]
gac410Unfortunately everyone's tastes are different when it comes to aesthetics. Don't feel bad if you get pushback on things like layout. :( [17:35]
daemonhaha thats ok, funnily enough I am the founder of #web, but I was once told by a design professional: 'Your particular tastes, stylings and design flare should be classed as a crime against humanity'
I became the founder of the channel when 'use CGI' was high tech and modern and following the html spec was important more so than the design :)
[17:36]
gac410Yeah. you'll find that we do some really strange things when it comes to html layout. People get really annoyed by inserted <p></p> for empty lines, but our rendering engine as written just has limitations with what we can do.
Some of it really needs a rewrite, but that's another area that's toxic, because so many existing sites depend on our rendering quirks for their own look/feel.
[17:38]
daemonI was going to suggest that you implement a page level variable 'spaceDepth' and call your empity lines as <p class="%LINEDEPTH%px"></p>
probably did not get that variable right
but you likely get my point
well yes and now the 2.x tree is a fresh starting point
you could theoretically do anything with it, the 1.x tree could be simply maintained
[17:40]
gac410well 2.x not so much. We tried to be pretty compatible with 1.x, The Unicode change was a huge effort for existing sites though. 3.x will be a massive undertaking [17:41]
daemonah gotcha, so kinda 1.x ~ -RELEASE 2.x ~ -STABLE 3.x ~ -CURRENT :)
is there even a project base for 3.x
[17:42]
gac410we *try* to aim for ... Patch release - no significant changes to look/feel, no new features. Upgrade by unzip over the top of an existing install. Minor release. Still no significant changes to look/feel. Unzip over top. But new features are added.
Release01x00 and Release01x01 and Release02x00 branches are no longer maintained. Release02x01 is maintained at patch level. Master will be branched to Release02x02 once it's feature complete.
[17:43]
daemonoh so there is actually a release level 2.x
perhaps I should have installed that
[17:45]
gac410You ARE on that... 2.1.3 or 2.1.4 RC.
Release 3.x is still in an experimental "Item" branch - Item13897
[17:45]
FoswikiBothttps://foswiki.org/Tasks/Item13897 [ Item13897: Implement ImproveOOModel proposal. ] [17:46]
gac410github master branch will become 2.2.0 once it branches after being declared "Feature complete"
trunk.foswiki.org runs from a git checkout of master.
[17:46]
daemonqhy did my brain think I was on 1.1.3 Rc
err
qhy did my brain think I was on 1.1.4 RC
even
ah well
is there a branch for 3.x at all yet
[17:52]
gac410They won't even run on a modern perl
https://github.com/foswiki/distro/tree/Item13897 will become 3.0. But it will need A LOT LOT LOT of work.
[17:52]
daemonI always wanted to see if I could write a faster fcgi [17:54]
gac410PSGI / Plack based, Based on Moo [17:54]
daemonah [17:54]
gac410many many big internal structural changes. [17:55]
daemonah thats the one I will pull onto devel. then
I take it the brand names corrospond to some taskid in the tracker
[17:56]
gac410Yes.
Item13897
[17:57]
daemonhttps://foswiki.org/Tasks/Item13897
released in 3.0.0
ye
[17:57]
gac410y. Should probably be "Planned for" 3.0.0 not "Released in" ... wrong tense is implied. [17:58]
daemonyou can develop anything with any number of developers, the length of time it takes however :)
you should consider posting to the perl mongers group and such
may pick up a few interested
I am actually a member of all those groups I could make a post if you like
[17:59]
gac410I'd want to talk it over with Michael and CDot ... How to ramp up new devs is a big question.
I'm actually a newbie on the scheme of things Foswiki. Michael and Crawford (cdot) go back much further.
[18:02]
daemonas foswiki is established in use in large corperations such as ISP's and others (I think I read that on your site) you may want to weigh in the consideration that some people may help simply for the reference from the project
working for a commercial linux software package looks nice on the cv after all
even if it is as a volunteer
[18:03]
gac410y. [18:04]
***GuilainC_away is now known as GuilainC [18:13]
........... (idle for 50mn)
gac410hm Running unit tests on perl 5.9 ...         print STDERR "WARNING: Potentially corrupt RCS history $this->{file} at revision $rev: " . shift . "\n";
throws an error: Use of shift without parenthesis is ambiguous. I think the better syntax would be ... $rev:" . shift() . "\n"; anyone know for sure?
ie use shift() in the concatenation not bareword shift.
vrurg? Can you comment?
[19:03]
***ChanServ sets mode: +o Lynnwood__ [19:12]
GithubBot[distro] gac410 pushed 1 new commit to Release02x01: https://git.io/vHqtI
distro/Release02x01 78f56bd George Clark: Item14368: Use of shift is ambiguous without parenthesis....
[19:25]
***GithubBot has left [19:25]
FoswikiBothttps://foswiki.org/Tasks/Item14368 [ Item14368: Failure to handle edge cases leads to obscure bug in RCS. ] [19:25]
........ (idle for 38mn)
daemongac410, yikes 5.9 is aqncient as well
I think I am on 5.25 ..
[20:03]
gac410we still advertise 5.8.8 compatibility. @(#$&* old distros and their "stable forever" support. [20:04]
daemonoh maybe not
This is perl 5, version 24, subversion 1 (v5.24.1) built for amd64-freebsd-thread-multi
[20:04]
gac4103.x will probably require 5.18 [20:04]
daemonI am getting old, my adbsence was I went to sit on the sofa and watch a tv program with the mrs
fell asleep for 2 hours -_-
feel more spritely now though
[20:05]
gac410I have perlbrew installed and typically run unit tests at both ends of our supported range.
:)
[20:05]
daemonah right so I finished what I was writing in that data storage up until I get some emails back about the mystery hdr= setting that appears to not be present in linux
time to install 3.x.x or its base
[20:06]
gac410Have not updated in a while, but my newest is 5.26.0-RC1. Hm... maybe I should install that one and run the suite one more time. [20:06]
daemonI cannot see that much of a problem on the more modern perls
as moduels get updates its going to be the lower versions that start hitting trouble
[20:06]
gac410They have been very painful actually. Deprecating things that exist in our old code. Use of { in regexes without \{ escaping them has been really annoying. [20:07]
daemonI have always escaped { I never realised you could get away with not doing
can I just just 'clone' into https://github.com/foswiki/distro.git and updates to 3.0.0 will be added onto of that task handler
or am I going to have to sync from multiple items to build up my 3.x
[20:10]
gac410hm clone as you said, and then "git checkout" the Itemwhatever branch
cd core
[20:12]
daemonsweet [20:12]
gac410./pseudoInstall.pl developer [20:12]
daemonkinda expected even though its a pipe dream you would have a 3.x.x marked devel branch
and merged in from these sources
[20:12]
gac410Then I think you have to plackup or somethign. I have not run it in a long time. (sorry vrurg) [20:12]
daemon:) [20:13]
gac410See Foswiki:Development/GitBasedInstall [20:13]
FoswikiBothttps://foswiki.org/Development/GitBasedInstall [ GitBasedInstall ] [20:13]
gac410Another topic I've not looked at in a long time. Hopefully it's reasonably up-to-date. [20:14]
daemonah neat
thank you
[20:14]
gac410git checkout Release02x01 for the tip of the patch release. master for the upcomgin 2.2 release.
core/tools/branches will show you all the available branches and a summary from the Task item
[20:14]
daemonbloody github with no ipv6 access again
gah
[20:15]
gac410gac410 is going to be in/out now Neighbors taking down some big trees. Always fun to watch. [20:16]
daemonok dokey :) [20:16]
..... (idle for 24mn)
there we go
configured an old school proxy on the parent and passed it in via http_proxy to the enviroment
probably the only time in the world a proxy has been used to go from ipv6 to ipv4 lol
[20:40]
QBFreakI don't know if this is worth mentioning, but the syntax highlighting match for headers in chili is /---[\+#]+(!!)?/ and will match ---+#+# which is not valid TML
if I can get some rules for highlight.js (which is how I came across this) it wont matter so much :)
[20:52]
..... (idle for 21mn)
***jast has quit IRC (Ping timeout: 260 seconds) [21:16]
gac410Probably someone tried to add the ExplicitNumberingPlugin which can use # ## etc. in headers to calculate numbers.
And some of the unit tests fail on perl 5.26.0-RC1 :( Not sure why yet.
[21:20]
daemonok dokey
local::lib setup
ready to try this thing :)
[21:28]
as an aside...
... CGI: Can't locate CGI.pm in @INC
was'nt that monster universally deprecated
and on the very cusp of being removed
[21:34]
***ChanServ sets mode: +o gac410 [21:35]
daemongac410, <daemon> ok dokey
<daemon> local::lib setup
<daemon> ready to try this thing :)
<daemon> as an aside...
<daemon> ... CGI: Can't locate CGI.pm in @INC
<daemon> was'nt that monster universally deprecated
<daemon> and on the very cusp of being removed
err
I did not mean to do that
I meant to paste as pastebin link to it
sorry -_-
[21:36]
gac410no prob. It's removed from Perl so it needs to be installed using cpanm or the distro package
If they actually remove that package, we'll be dead for the forseeable future. Very heavily used internally.
[21:36]
daemonwould it not be wiser in 3.x to try break away from it
there are plenty of alternatives
[21:37]
gac410Only so much 3.x can do. It's huge already.
We already had the experience of a 5-year development cycle on Foswiki 1.2 (the old subversion trunk) that became a dumping ground for everything that anyone wanted. Put it in 1.2, was the answer to anything anyone wanted.
[21:37]
daemongotcha [21:39]
gac410Became out-of-control. We had to scrub out tons of incomplete code to eventually branch Foswiki 2,0 out of it.
anyway, Locale::Codes crashes with the tlh - Klingon language, on perl 5.26. Not sure if it's the version of Locale or something specific to 5.26-RC :(
[21:39]
daemonlol
does anyone actually use that locale anywhere
[21:42]
gac410yes. There's a Klingon language wiki used by the enthusiasts, believe it or not. [21:43]
daemonha thats pretty cool [21:43]
gac410http://www.klingonwiki.net/
But I hate to say it, but I can't see blocking 2.1.4 to figure this one out.
[21:43]
daemonif I ever learned a random language I quite like the idea of lojban [21:44]
***GuilainC is now known as GuilainC_away
GuilainC_away is now known as GuilainC
[21:54]
....... (idle for 30mn)
Babar has quit IRC (Ping timeout: 240 seconds) [22:25]
.... (idle for 15mn)
GuilainC is now known as GuilainC_away [22:40]
gac410crap. Locale::Codes - shipped since perl 5.13 now dies with an error if a language code is not known. Up to 5.25.10, it returns undef. Now it aborts. [22:43]
.... (idle for 19mn)
daemontry tiny to the rescue? [23:02]
gac410phew. It's only the LANGUAGES pluggable in configure that tries to show a pretty list of languages and name.
adding an eval{ } wrapper around each call to code2name works, since the existing code was happy with undef for missing languages.
From what I can tell everything else is working in klingon.
(not that I can actually read any of it_
[23:02]
.......... (idle for 45mn)
daemonlol
be a hel lof a job posting
proof reader for Klingon required
[23:48]
gac410copy writer for "The big bang theory" [23:52]

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