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

WhoWhatWhen
Gwaynejoined #tikiwiki
joined #tikiwiki
[01:28]
.......................................................... (idle for 4h45mn)
Tiki-KGB03chibaguy r49332 10trunk/templates/ 10comment/list.tpl 10comment/post.tpl
[ENH] Added legend for fieldset, corrected typos, removed btn-group class because it made the comment-form div display:inline-block (so narrow instead of full-width).
[06:14]
................ (idle for 1h17mn)
Gwaynejoined #tikiwiki
joined #tikiwiki
[07:31]
...................... (idle for 1h47mn)
redflojoined #tikiwiki [09:18]
............ (idle for 59mn)
innocjoined #tikiwiki [10:17]
innoc_joined #tikiwiki [10:21]
................. (idle for 1h23mn)
Telesightjoined #tikiwiki [11:44]
..... (idle for 21mn)
xavijoined #tikiwiki [12:05]
.......... (idle for 48mn)
Tiki|botNew Forum Posts: white page on show php error = no - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=50841
New Forum Posts: Column spacing question - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=50839
New Forum Posts: Table tiki_shoutbox_words corrupt - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=50838
[12:53]
arildbjoined #tikiwiki [12:54]
Tiki|botNew Forum Posts: white page on show php error = no - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=50841
New Forum Posts: Column spacing question - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=50839
New Forum Posts: Table tiki_shoutbox_words corrupt - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=50838
[13:03]
jonnybjoined #tikiwiki
a hoy hoy
[13:03]
fabriciuspolom [13:14]
jonnybpolom fabricius [13:14]
fabriciushmm jonny, I think I have to discuss a few things with the lads
:-)
who is here? sadly LPH not, if I see right
jyhem, luciash
[13:14]
jonnyba bit early for them i think [13:15]
fabriciusI make it short for wh feels concerned and hope to get some time for a brief e-mail to the dev list lateron
for who
A) I think we need some coding for Bootstrap Tiki13 components and there as soon as possible with menu/superfish <-> finish what LPH hardcoded
and
navbar!!!
B) I find wikiLingo from Robert Plummer very promising and I strongly feel, it could solve a lot of frustration which I experience over the time
It looks like, that we start an experimental branch, to check what would be the effort to implement it in Tiki
IF we would go that road - what I tend to like - that would most likely affect some or a lot of code of you jonnyb ... so I would like to get you into the discussion early, hope to get questions about the wikiLingo side from you and aswell your thoughts (same from the others)
one example, where I see that affecting, would be the "WikiSyntax in menu" thingi
[13:16]
Tiki|botNew Forum Posts: Running a site on two different SVN versions - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=50850 [13:23]
fabriciusor the module/menu revamp prozess - the people working there would have to be asked and their opinions particularly considered
so that's for the moment jonnyb and all the others - any thoughts or questions or objections?
[13:24]
arildbhi fabricius .. some wikiLingo questions
1) can wikiLingo load/save wiki pages in html format
2) can wikiLingo operate alongside CkEditor?
[13:27]
jonnybhi arildb [13:35]
arildbhi jonnyb [13:35]
jonnybi think this is an alternative to ckeditor and the current wiki/html pages system [13:36]
fabriciushi arildb .. I am notsure, if I understand fully, what you mean with load/save
arildb .. and let us make clear for now, that we talk in theory, so Tiki - wikiLingo in a possible experimental branch, not in trunk or so
[13:36]
arildbjonnyb: so the store data of wiki pages would use a "wikiLingo" syntax? [13:37]
fabriciusarildb: jonny is right
yes, if I might answer
[13:37]
jonnybyes, it;'s a different version of a wiki, but similar to tiki [13:37]
fabriciusbut the "wikiLingo" syntax is pretty much the same as the TikiSyntax [13:37]
arildbright ... so all existing data must be converted, or? ... would this apply to all stored text? [13:38]
fabriciusthere are different ideas [13:38]
jonnybnot sure you can convert reliably [13:38]
fabriciusmost text .. if I see it right .. would not have to be converted
but
there could be issues to be resolved with certain plugins
[13:38]
arildbhaving html syntax is (kind of) required for some systems that use 3rd party tools that understand html, but not wiki syntax .. and access the database directly [13:39]
fabriciusespecially as some plugins can be written differently regarding the parameters
arildb: that is an interesting point
maybe you could give me some examples (maybe in dev-list), to bring that up
afaik the content usually would be saved in wikisyntax and not in html
[13:40]
arildbcustom data analysis / search tools fall in this category [13:41]
fabriciusok
how this is made today on a Tikisite that does not use CKE HTML_WYSIWYG?
I mean, I normally do not use wysiwyg in production and when I view the database, I see only wikisyntax in the tables - if I am not completely wrong
[13:41]
arildb_joined #tikiwiki [13:44]
fabriciusso from my individual perspective I would not face much change in that, but I would gain an optional wysiwyg behaviour just by using contenteditable and no need for cke anymore [13:46]
I will bring up the use case, that saving in html would be necessary [13:51]
luciashpolom polom pom pom ! [14:04]
jonnybmoq moq moloq luciash [14:05]
luciash:) [14:05]
fabriciuswolod! [14:05]
luciashyo fab
who is lad ?
ladies ?
[14:05]
fabriciushehe hehehe
no, lads and laddies
[14:05]
Tiki-KGB03manivannans r49333 10branches/12.x/tiki-print.php
[FIX] Current pagename added as a pagetitle in tiki-print.php Ref: http://dev.tiki.org/item5047
[14:06]
fabriciusIrish English for guys or buddies [14:06]
luciashaaah :) [14:06]
luciash thinks most universal would be saving the raw data in XML or JSON but that is a different story ... would need to see example of stored data in wikiLingo [14:12]
rodrigoprimojoined #tikiwiki [14:21]
fabriciusluciash: arildb did bring up a similar idea ... stored data in wikiLingo looks pretty much identical than stored data in raw TikiWikiSyntax ... so the XML or JSON idea is definitely to be discussed
especially if that solves more yet unconsidered cases and makes the system more compatible without losing robustness
[14:25]
arildbusing a widely used standard, e.g. HTML or XML as the base data format makes the raw data more accessible to 3rd party tools that access the database directly. Parsers are pretty much available in all (potential) client languages [14:30]
fabriciuswhat's about the wikiplugins? [14:36]
rodrigoprimo1joined #tikiwiki [14:40]
..... (idle for 22mn)
arildb_joined #tikiwiki [15:02]
Tiki|botNew Forum Posts: Smarty template inheritance parse order problem - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=50852 [15:03]
luciashfabricius: what do u mean ?
fabricius: if you mean how would you store wikiplugin data in XML it could be something like <wikiplugin name='trackerlist' params='...'>plugin body content</wikiplugin> for example
[15:07]
fabriciusin what syntax save the wikiPlugins in the database, in context of the discussion goes to possibly saving in XML ...
yeah, that
[15:09]
luciashin XML syntax [15:09]
fabriciusluciash: do you always need an end tag in XML? or is it possible to optionally use this: <wikiplugin name='trackerlist' params='...' /> ? [15:10]
luciashsome say (maybe lph ;-)) XML uses too much space so they prefer JSON ;-) [15:10]
fabriciuswhat's the difference? [15:11]
luciashfabricius: it is valid [15:11]
fabriciusJSON or XML? [15:11]
luciashfabricius: difference ? between XML and JSON ? [15:11]
fabriciusyes [15:11]
luciashheheh, you should know already but JSON is something like bunch of curly brackets nested simmilar to JavaScript syntax ;-)
google JSON
you will find bunch of examples
[15:12]
fabriciusI mean a possible decision between XML and JSON has (aswell) to do with compatibility and flexibility .. do we live more in a XML world or in a JSON world and has the "smaller" one huge advantages over the other?
hummm bunch of curly brackets ... in the last years and month I stumbled over articles about XML here and there - even SVG is some "dialect" of XML ... and when you say "curly brackets" I can imagine, that XML might be more the direction? nothing against curly brackets - I learn a lot of curly bracket stuff since a few weeks
[15:12]
luciashi would prefer XML because it is more natural to decipher in source code reading to me than JSON but JSON can be faster and smaller to store data so maybe that would be better
there can be also other options, these two are just "standard" examples
bunch of curly brackets is JSON, not XML ;-)
[15:15]
fabriciusI mean, there are certain wide spread formats using or being based on XML or similar
"bunch of curly brackets is JSON, not XML" <- YES!! Did I misstype?
[15:15]
luciashah, ok :) misunderstood
me
[15:16]
fabriciusI mean XML might be more the direction people would go, cause it is non-curly [15:17]
luciashbut expect if you have 100MB database to grow it twice at least if you store in XML
i think
[15:17]
fabriciusjust quite flippantly expressed I mean
hummm .. I think then aswell a 4MB database and a 350MB database will grow twice?
[15:18]
luciashwhen i proposed to store pages data (wiki syntax) in XHTML in Tiki several years ago, the idea was quickly dismissed by others...
so good luck with this one ;-)
[15:19]
redfloleft #tikiwiki [15:21]
arildbXHTML ... yes, that sounds good [15:21]
Tiki-KGB03jonnybradley r49334 10branches/12.x/ 10styles/layout/design.css 10lib/toolbars/toolbarslib.php
[FIX] toolbars: Move colour picker CSS from the php to css file as $headerlib->add_css no longer necessarily works all the time (fixes wish5066)
[15:22]
fabriciusluciash: i am just evaluating, getting thoughts, opinions and I learn in the process ... [15:23]
luciashfabricius: you're doing good ! [15:23]
fabriciusluciash: not (yet?) trying to convince about s.th.
luciash: thx!
[15:24]
marclaportejoined #tikiwiki [15:34]
rodrigoprimojoined #tikiwiki [15:41]
Tiki|botRecent Bug: - Submitted by field shows current user if empty - http://dev.tiki.org/item5089 [15:43]
Tiki-KGB03chibaguy r49335 10trunk/templates/comment/post.tpl
[FIX] Combining fieldset and .panel-body (and worse, legend and .panel-heading) causes unpredictable styling quirks, so reverted to using divs only. Thanks to gezza for reporting.
[15:50]
robertplummerjoined #tikiwiki
polom
polom all (oops)
[15:53]
jonnybhi robertplummer [15:58]
Tiki-KGB03jonnybradley r49336 10(5 files in 5 dirs) * [MRG] Automatic merge, branches/12.x 49329 to 49334 [15:58]
robertplummerhi jonnyb , How are things on the other side of the lake? [15:58]
jonnyblots warmer here than your on side i hear, but quite wet and windy to make up for it :) [15:59]
robertplummerjonnyb: 2 out of 3 aint bad. [16:00]
jonnyb:) [16:01]
luciashrobertplummer: sunny spring here
:)
[16:05]
marclaportejoined #tikiwiki [16:05]
luciashwb marclaporte :) [16:06]
marclaporte:-) [16:06]
robertplummerluciash: you are rubbing salt in my open wounds :P [16:06]
luciashrobertplummer: oops, sorry ! :) [16:07]
robertplummerluciash: I'm just kidding.
luciash: Did my reply yesterday satisfy your curiosity?
[16:07]
luciashrobertplummer: yes, thank you, sounded fair :) [16:09]
robertplummerluciash: robert *wipes sweat from brow* [16:10]
luciashrobertplummer: if u by any chance read this irc log, you will find some more funny read from here [16:10]
robertplummerok [16:10]
luciashtoday's log [16:11]
robertplummerThere was discussion about json and xml with wikiLingo possible?
I will read it now.
[16:11]
luciashyes
this is just a babytalk of clueless heads to you i suppose ;-)
[16:11]
robertplummerluciash: wikiLingo to alternate outputs is easy. In fact, at this time it assembles an object from the markup, so you could almost do a json_encode($parsed) and have it.
But more important, it an object before it is rendered.
[16:12]
luciashluciash is unsure if the data is stored in wikiLingo in the db table or wikiLingo is a layer above [16:13]
robertplummerluciash: The wikiLingo markup looks just like tiki's, that is what you'd see in the db.
luciash: it is then parsed to an object, then the object is rendered to a string.
arildb: polom
[16:18]
arildbhi robertplummer [16:20]
robertplummerarildb: You asked a couple of questions from fabricius, I can answer those if you like. [16:20]
arildbrobertplummer: please [16:21]
robertplummerarildb: 1) Html is fine in wikiLingo, even in wysiwyg mode. This is because the html that is wikiLingo gets a bunch of extra parameters, these are url encoded so they don't conflict with html. But in short, these extra parameters associate the wikiLingo html with a php class.
However, if the html is just html, it is ignored. Somewhat it stays static.
However, there are some html that is considered by default as unsafe, like <script> or <link> or <iframe>, these are handed so that they will not execute when wikiLingo processes the page they are in.
[16:22]
xavijoined #tikiwiki [16:23]
robertplummerarildb: But when these go back to the server from wysiwyg to wikiLingo, they are turned back into their unsafe types, this keeps the markup from being altered from how it was originally entered.
arildb: There are unit tests that point to how this works: http://wikilingodoesthat.com/demo/test.php
arildb: Click on the unit test name, to see the code that ran.
arildb: Look for "TagsUsedWithWikiLingo"
[16:24]
arildbrobertplummer: checking [16:25]
robertplummerarildb: 2) can wikiLingo operate alongside CkEditor? Yes. How I see it is that wikiLingo and CKEditor would still both be in use. CKEditor for older and existing pages that were created with it, and wikiLingo with new pages, with the option to use the old editor.
jonnyb + arildb : however that is only a suggestion. My goal is to make content more valuable, but break the content. I feel if you break content, you are no better than Microsoft, because that is what they apparently LOVE to do.
[16:26]
arildbrobertplummer: try a unit test with <table border="1>...and so on [16:27]
robertplummerarildb: You mean an unclosed border attribute? [16:27]
arildbrobertplummer: sorry <table border="1">...and so on. No, I meant maintaining the border attribute [16:28]
robertplummertrying
arildb: Go here: http://wikilingodoesthat.com/demo/mirror.php
[16:29]
arildbchecking [16:30]
robertplummerarildb: imput this (or something to test your input) '__bold__ <strong style="border: 1px solid black;">bold</strong>' [16:31]
hrsmsjoined #tikiwiki [16:31]
robertplummerarildb: Scroll to the bottom of the page to see what was output when you click the output button. Be sure to test it with wysiwyg on an doff.
off
[16:32]
arildbchecking [16:32]
robertplummerarildb: You'll see that in the above example (I used a break that was filtered in the chat room) with wysiwyg on, I got this: '<strong class='element' data-type='WikiLingo\Expression\Bold' data-element='true'>bold</strong> <br class='element' data-type='WikiLingo\Expression\Line' data-element='true'/> <strong style="border: 1px solid black;">bold</strong>' [16:33]
arildbunable to paste into the ikiLingo mirror [16:33]
robertplummerarildb: What browser you using? It is just a textarea, nothing special. [16:34]
joelobrechtjoined #tikiwiki [16:34]
arildbFF
works well
[16:34]
ricks99joined #tikiwiki [16:35]
arildbIs the process ... [16:35]
robertplummerarildb: I've never heard that browser ;) [16:35]
arildb1) Take the input and convert it into wikiLingo syntax [16:35]
robertplummerarildb: yes. [16:35]
arildb2) Convert the wikiLingo syntax into out source? [16:35]
robertplummerarildb: To see the whole process from wikiLingo -> wysiwyg html -> wikiLingo, check this out: http://wikilingodoesthat.com/demo/editor.php [16:36]
arildbchecking [16:36]
robertplummerarildb: Now, it isn't perfect, but again, the biggest issues that we've had have been solved.
data transformation (which is HUGE!) and drag and drop.
as well as nesting plugins.
[16:36]
arildbrobertplummer: I will take a closer look at it later. However, the stored page data using wikiLingo, will be in "wikiLingo" syntax, right? [16:38]
robertplummerarildb: yes
arildb: If you need XML or JSON from the object, we could write a renderer for it, but that is just another output, just like html, or wysiwyg html.
[16:38]
arildbrobertplummer: This seems to work well as long as wikiLingo is available. However, in systems where the Tiki database is directly accessed by 3rd party tools, having the data formatted in a "known" format is an advantage. HTML is then typically known. Wiki syntax is not. [16:41]
Tiki-KGB03jonnybradley r49337 10branches/12.x/lib/core/Tracker/Field/UserSelector.php
[FIX] trackers: If a record is missing from tiki_tracker_item_fields for a user selector then that item was showing as being "owned" by whoever the current user is, as seen on dev.tiki.org. Not setting the value to $user here fixes that, and editing & creating items still works as expected in view_tracker_item and the tracker plugin.
Should fix wish5089
[16:42]
robertplummerarildb: You could also at time of edit parse what has been edited and save it in an alternate format, it would most likely be one way though. [16:42]
arildbIs it possible to use an (say) XHTML syntax in the database, and still use the wikiLingo object model? [16:42]
robertplummerarildb: It could potentially. With the 3rd party tool update the XHTML?
Would (not with)
[16:43]
arildbprobably not
I don't know any such cases
[16:43]
robertplummerarildb: Then you'd just save the page's source at time of edit to another format so other places could read it. That is just how you'd do it in an enterprise system.
arildb: This cuts down on resources etc. but essentially to answer your question... Yes, you can.
The page would be saved in BOTH formats at time of save/edit.
(hypothetically speaking)
[16:43]
arildbrobertplummer: So, a system could be configured to only write html syntax (enable read access yusing db), and still use wikiLingo? [16:45]
robertplummerarildb: if you introduce write, you introduce another layer of translation, that can REALLY complicate things quickly. Read, though, would be fine.[16:46] robertplummer For the XHTML or HTML5 or JSON or XML, if they just needed to read, a renderer could be designed for such a system. [16:46]
arildbrobertplummer: but how is the renderer accessed, when the data is read using SQL from a different system? [16:47]
fabriciusarildb: not at all
at the time, when you save a page you output as for example XML
but instead of outputting to the browser, you output to the database
[16:48]
robertplummerfabricius: Thanks for clarifying, man you are a smart guy! [16:49]
fabriciusbut not instead of the wikiLingo code - additionally [16:49]
Tiki-KGB03jonnybradley r49338 10branches/12.x/lib/core/Tracker/Field/Files.php * [FIX] trackers: Notices - $file['galleryId'] not set, so use $galleryId instead? [16:50]
ricks99left #tikiwiki [16:50]
fabriciusthx robertplummer: that is why I always ask my "dumb" questions until you nearly go mad [16:50]
robertplummerfabricius: Thanks to you, someone else besides me understands wikiLingo. [16:50]
arildboutputting to the database ... hm-m. So, an extra copy of the page is created in the "expected" format ...maybe on demand...h-m [16:51]
fabriciusrobertplummer: big concern would be to integrate without braking things - robustness and compatibility must be kind of golden rules
arildb: the bad thing with this approach would be, that a lot of data would be doubled, making the database bigger
[16:52]
marclaportejoined #tikiwiki [16:53]
arildbfabricius: yes, that's certainly an issue [16:54]
marclapo1joined #tikiwiki [16:54]
fabriciusarildb: the good thing would be the flexibility, cause wikiLingo "does not care about the output" you could mainly output to arbitrary formats ... given once translated / added to the lexicals and definitions
so one project activates XML, another company needs JSON and a third project needed both or another one
[16:54]
arildbbut maybe, if we ignore the size and processing overhead, having the option to additionally create an output with the page in a different format sounds very nice. Maybe certain pages should be auto-created in pdf format. Would satisfy external read needs, I believe [16:56]
Jyhempolom [16:56]
robertplummerfabricius: Agreed, that is why I eventually forked my code from tiki, it was just too much of a change for the existing parser. I had been breaking things, and it just got ridiculous. jonnyb knows what I'm talking about, he was cleaning up my messes, someone unknown to me at the time.
polom Jyhem
[16:56]
fabriciusas long as 'read only' tables as reflection of the initial "saved" read-wirte content tables [16:57]
jonnyb:) [16:57]
arildbwrites can be forced through Tiki web services, as I see it [16:58]
fabriciusyes robertplummer and jonnyb should not at all be repeated
this should not be repeated I mean
arildb: a good point
[16:58]
Tiki-KGB03jonnybradley r49339 10branches/12.x/lib/core/Tracker/Field/ItemsList.php
[FIX] trackers: If " Value Field ID" option on an ItemsList is set (as is the case in upgrades often) then check if the remote field is an ItemsLink one and ignore that option if so (thanks eromneg)
[17:00]
Jyhemfrom my limited experience of XML from when it was all the rage, it is really computationally intensive. So using it only as an alternate output storage whould probably lower the overall computational cost [17:00]
fabriciusprincipally - just thought about the same a few minutes ago - if some web service or connection would be created (mail in maybe?) you could write html into Tiki and wikiLingo saves that as wikiLingo [17:00]
JyhemNo numbers, just my feeling wrt performance of PHP based XML parsers [17:00]
jonnyboff to find food, bbl [17:00]
fabriciusJyhem: still a good point - I have the feeling, that something is in sight that feels comfortable for all of us - more or less
an idea, how it could work
[17:01]
Tiki-KGB03jonnybradley r49340 10trunk/lib/core/Tracker/Field/Files.php 10trunk/lib/core/Tracker/Field/UserSelector.php 10trunk/lib/core/Tracker/Field/ItemsList.php 10trunk * [MRG] Automatic merge, branches/12.x 49334 to 49339 [17:02]
fabriciusjonnyb: bon apetit [17:02]
jonnybthanks
(really going now ;) )
[17:02]
hrsmsarildb: I see the comment you made in my show.tiki instance http://hrsms-11204-5084.show.tikiwiki.org/tiki-index.php?page=Book+Owners. "I tested using FF and there are multiple HTML errors". What is "FF", please? [17:03]
arildbFF = Firefox
hrsms: yes, using Firefox instead of FF in that context would have been better
[17:04]
hrsmsThanks. I thought maybe it was a debugging tool. I was guessing Firefox Firebug. [17:07]
arildbon the previous "wikiLingo can output to 'anything'" ... this could open for push services to external systems [17:09]
robertplummerarildb: It also cuts way down on resources, and by its nature is much more stable. [17:10]
luciashjonnyb: u sure the autoassign still works after you removed that part of the UserSelector code ? [17:11]
hrsmsarildb: Did you see anything wrong with the way I set up the trackers, trackerlist plugins, or templates? (sorry to interupt your other discussion. I can wait for a reply. I just didn't want to miss the opportunity to ask.) [17:12]
fabriciusah arildb just earlier on, you explained me an aspect of this ... remeber object model: >>things are broken down into the "semantic" elements, which then thereafter can be expressed in any "language" (read data)<< [17:12]
arildbrobertplummer: yes, there are several nice features.It will be interesting to see the experimental branch. Maybe a "page" should be set up to discuss the (possible) wikiLingo integration and track the experiences in the experimental branch? [17:13]
fabricius/s/remeber/remember [17:13]
robertplummerarildb: That is good, but this has to be a community push, not just me. [17:13]
arildbhrsms: No, I didn't. Looked a little, but did not see anything wrong...but I am no tracker expert [17:13]
hrsmsarildb: Thanks for having looked [17:14]
Telesightjoined #tikiwiki [17:14]
fabriciusand arildb - for me it would be very helpful / important to more briefly understand, what exactly attracts you on wikiLingo ... you know, as I have to hold Roberts lecture at the FOSDEM ;-) [17:14]
arildbrobertplummer: the integration must be a community push yes, but the initial target for the experimental branch is to evaluate, not to complete, or? [17:15]
fabriciusrobertplummer and arildb - evaluate and test and show I'd say [17:15]
arildbfabricius: It is an attractive feature to: Be able to convert, on the fly, and to route the output to a database and (maybe?) to other "targets". [17:18]
fabriciusyes, for example to pdf
push a button and parse to a pdf file (somehow parsed to create/download)
or ePub
[17:19]
robertplummerarildb: I agree [17:21]
arildbrobertplummer: I have head mention of a PDF "output target". What is the status there?
robertplummer: Can a PDF input source be handled?
[17:22]
robertplummerarildb: input, no.
arildb: output yes
[17:23]
fabriciusso arildb, do I understand you right, that your concern is less to have wikiLingo saved in HTML or XML or JSON etc. but to have an option to read the content directly in the database in tthose formats - even if eventually in "mirrored" tables? [17:23]
arildbrobertplummer: that's correct for the "external system" use case, but it is also the case of html input, e.g. from the mail-in feature. Will that work? [17:25]
robertplummerarildb: wikiLingo handles html input just fine, but for exporting directly to pdf would would with wikiLingo using the object model at this time. Hypothetically you'd need to convert html to pdf, so potentially that page would be more of a wikiLingo -> html -> pdf rather than just wikiLingo -> pdf.
However, if the page were written just in wikiLingo, it would be a candidate of direct to pdf.
[17:28]
arildbI am thinking about the creation of copies in different format and routing these....wikiLingo works at the parser level. Should creation of copies and "routing" be done at parser level...or can this complicate things and "require" too many dependencies? [17:31]
luciashit would require "save a copy in XYZ" everytime you edit a wiki page imho to keep the copy in sync with wikiLingo stored data [17:37]
jonnybjoined #tikiwiki [17:38]
arildbluciash: yes, good point [17:38]
luciash(so an external application can work with that data and be sure it is the latest state of things)
it would be for sure a miliseconds behind and much heavier on server resources if enabled
bbl
[17:39]
robertplummerluciash: That is right.
arildb: I think the resources used for this would actually be quite minimal.
This is only done at time of page save, so not on every page load.
[17:41]
arildbpage saves can become "expensive". Not good for inline editing where responsiveness is important (frequent saves are probable)
robertplummer: does wikiLingo run purely server side? ... or what does the system topology look like?
[17:43]
robertplummerarildb: At this time, it is purely in php, but the code was written in such a way it can be ported easily to other languages. Right now the possible languages are javascript, php (which exists), and c#. Those are the langauge that Jison exists in, it is the backbone of wikiLingo.
arildb: I want to get the code into c# at some point to get more funding for the whole project. The business worlds embraces c#.
[17:48]
arildbrobertplummer: right. Thanks [17:49]
robertplummerarildb: always a pleasure. [17:52]
arildbrobertplummer: Does the development environment for wikiLingo have special requirements, like I believe the Jison parser has? [17:52]
robertplummerarildb: For the most part no, just good ole fashioned php. If you want to start changing syntax or change how the parser works, then yes.
You'd need node.js + jison
jison can be install via NPM
[17:55]
ricks99_joined #tikiwiki [17:56]
robertplummer(node package manager) [17:56]
luciashluciash is back [18:02]
arildbrobertplummer: If I pull Tiki from SVN, then I guess a compiled and compatible "language definition" will also be downloaded. Is that how it will work?
...or will node.js be required to run the svn versions of Tiki?
[18:02]
robertplummerarildb: Well, wikiLingo is just a seperate project, hosted on github. You could start integrating from there. Jison is ran against the ".jison" files in wikiLingo, it outputs a js file and a php file. [18:04]
arildbright [18:06]
ricks99__joined #tikiwiki [18:06]
arildbrobertplummer: In Tiki syntax the table definition is like | ..is wikiLingo similar? ... sorry lot's of questions pop up...hope it's ok
The "border" attribute was kept in the wikiLingo test site, which is not possible in wiki syntax (Using | characters). How does wikiLingo solve it?
[18:08]
robertplummerarildb: magic
arildb: jk
arildb: Remember the syntax I sent you earlier that had the "data-type" attribute?
arildb: wikiLingo knows that this is a class type, and based off that, we know how to translate it back into wikiLingo.
arildb: Much of that is handled here: https://github.com/wikiLingo/wikiLingo/blob/master/WYSIWYGWikiLingo/Expression/Element.php
[18:15]
arildbrobertplummer: is this data available in the database? is local css required to get the effect? [18:17]
robertplummerarildb: In WYSIWYGWikiLingo (which is the translator that going from WYSIWYG to wikiLingo) there are just a few types. One of these types is called an "Element" (see the php file above).
arildb: Elements can be of a few different types: data-parent, data-element, data-helper, and static.
arildb: data-parent are used with lists and hierarchy, data-element is an element associated with a wiki expression (or markup), data-helper is something that is removed (that aids in the wysiwyg, but only there), and static - which is a standard user-entered html element.
arildb: Based off that, WYSIWYGWikiLingo knows to remove it, to use it as a markup, or to ignore it as html.
arildb: If the data-element has a data-type set, it is linked here: https://github.com/wikiLingo/wikiLingo/tree/master/WYSIWYGWikiLingo/SyntaxGenerator
You'll notice how complex it is for example to achieve BOLD - https://github.com/wikiLingo/wikiLingo/blob/master/WYSIWYGWikiLingo/SyntaxGenerator/Bold.php
It is extremely complex, all 17 lines of it. :P
It is essentially a 1 liner "return '__' . $this->expression->renderedChildren . '__';" and done.
[18:18]
arildbrobertplummer: is this (e.g.table formatting data) stored as metadata or is it a part of the stored wiki pagedata? [18:24]
robertplummerarildb: the html is stored as html, no trickery going on here.
arildb: When we say wikiLingo source, it is just that, wikiLingo source.
[18:24]
arildbrobertplummer: Thanks a lot for your patience and answers. wikiLingo is clearer now. Getting a bite to eat now. Talk to you later [18:26]
robertplummerok [18:26]
.... (idle for 16mn)
ricks99__left #tikiwiki [18:42]
.... (idle for 18mn)
Tiki-KGB03jonnybradley r49341 10branches/12.x/ 10lib/wiki-plugins/wikiplugin_img.php 10tiki-edit_draw.php
[FIX] draw: Use "special" get_perm_object call to get file gallery perms as Perms::get doesn't know about user gallery perms in img and edit_draw (where perms weren't being checked properly before anyway) - should fix wish5077, thanks again eromneg
[19:00]
arildb_joined #tikiwiki [19:05]
hrsmsarildb: Do you know any tracker experts that would be willing to look at the item we were discussing? Even just long enough to confirm it is a bug or my mistake? I am tantalizingly close to finishing this project. It would be great to either finish it, or put it out of my mind if I must wait for a fix. I don't see any workaround. [19:12]
jonnybhi hrsms - is it very complicated? i have a few minutes "spare" [19:13]
arildbhrsms: There are clearly HTML errors on the page. So, something is wrong [19:13]
hrsmsjonnyb: the set up is quite simple. Understanding the behavior is not (for me).
The description is here: http://hrsms-11204-5084.show.tikiwiki.org/tiki-index.php?page=Book+Owners
[19:13]
jonnybok hrsms - checking... [19:16]
hrsmsarildb: I understand. But do they result from invalid use of the plugins/templates or from a bug? Well, even if invalid use I would say it is a bug, but one of a different sort. If it is not expected to work it should fail more gracefully (with message). If it expected to work, it is a worse form of bug. [19:19]
jonnybso these Owners are not tiki users necessarily? [19:19]
hrsmsIn my case they are. But to demonstrate I wasn't going to create actual user accounts.
When I say "my case" I mean in my permanent tiki instance, of course.
[19:19]
arildbhrsms: html errors should not occur. They are probably caused by a system bug [19:20]
xavijoined #tikiwiki [19:20]
hrsmsjonnydb: In the show instance the user ID is a numeric field. In my "real" case it is a user selector field. The behavior is the same. [19:22]
jonnybok, so it's the nested pretty trackers thing - never easy... [19:23]
Tiki|botRecent Bug: - Add link to email to remove from watch lists - http://dev.tiki.org/item5090 [19:24]
jonnybit's probably a bug - that kind of thing worked in tiki 6 before the tracker revamp, but i've not really (needed to) try it since [19:25]
hrsmsI see the problem even when the inner use of the pluginTrackerlist does not use a pretty tracker. In other words, both of these fail: (tracker inside a pretty tracker) and (pretty tracker inside a pretty tracker)
If I'm the first to complain about it since Tiki 6, does that imply I'm going about this the wrong way?
Hard to believe I'm the only one with this basic type of goal
[19:25]
jonnybeach book only has once owner, right? So why not just have an owner ItemLink field on the book tracker?
huh? once = "only one"
bloomin autocorrect, grrr
[19:29]
hrsmsNo. Wee bit of background. I am a member of a ship model club. I created and maintain a website for the club. I wanted to create a list of references of interest to our members and visitors. You can see that here: http://www.hrsms.org/home/References (more...)
I also wanted our users to be able to create a list of the references they own, so they can keep reading lists, make private notes, etc.
Multiple people can own copies of the same book. So that is why I took this approach.
[19:32]
jonnybok, fair enough [19:34]
hrsmsSo, it appears the conclusion is that it is a bug. I'll just have to wait for it to get to the top of the stack...
Thanks for looking
[19:35]
jonnybi think it is a bug, but i have to go - will try and download the show instance an see what's happening in it
nice looking site by the way :)
[19:35]
hrsmsOK. Thanks again.
Thank you.
[19:35]
jonnybmy grandfather used to make model ships :) [19:36]
hrsmsThat's very gratefying to hear !! [19:36]
arildbhrsms: If you need a multi-to-multi relation, you may need a link table....unless trackers magically handles this... I believe you had a direct link [19:36]
hrsmsarildb: Not 100% certain I know what you mean, but I think I have it. There is one tracker (table) for users. Another tracker for the books (which reference other trackers for lists of authors, publishers, etc), and a third tracker to tie the users to the books. [19:38]
jonnybtrackers can do multi-to-multi using Relations fields without a join table/tracker
ok, off now - more tomorrow
[19:39]
hrsmsThis is all overkill for my little club, but it is a fun challenge to make it work they way I think it should.
I'm out too. Thanks for the help.
[19:41]
....... (idle for 30mn)
arildb_joined #tikiwiki [20:12]
............ (idle for 55mn)
joined #tikiwiki [21:07]
arildb__joined #tikiwiki [21:12]
..... (idle for 24mn)
fabriciuswhat is a join table/tracker [21:36]
xavileft #tikiwiki [21:50]
..... (idle for 20mn)
fabriciusjoined #tikiwiki [22:10]
........... (idle for 50mn)
redflojoined #tikiwiki [23:00]
fabriciusjoined #tikiwiki [23:14]
...... (idle for 26mn)
joined #tikiwiki [23:40]

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