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

WhoWhatWhen
redflojoined #tikiwiki [00:33]
......... (idle for 42mn)
Tiki|botRecent Bug: - http://dev.tiki.org/item5418 [01:15]
..... (idle for 24mn)
fabriciusjoined #tikiwiki [01:39]
.......... (idle for 47mn)
Tiki|botRecent Bug: - http://dev.tiki.org/item5419 [02:26]
............... (idle for 1h12mn)
fabriciusjoined #tikiwiki [03:38]
.................................................................. (idle for 5h29mn)
TomJarvisjoined #tikiwiki
Jyhem - does this help? TWtrunk/lib/setup/javascript.php:jqueryTiki.chosen = '.($prefs['jquery_ui_chosen'] == 'y' ? 'true' : 'false') . ';
[09:07]
....... (idle for 34mn)
xavijoined #tikiwiki
polom
Jyhem around ?
[09:42]
..... (idle for 21mn)
Jyhemyop, hi xavi [10:04]
xavihi jyhem :-)
not too hot in Strasbourg?
[10:05]
Jyhemno :-(
too rainy :-(
[10:06]
xavihe he... I was going to say 'lucky you', but I understand that there might be similar desires for both cases: not too hot nor too rainy! ;-)
I was playing with accessing tiki mysql tables from R , after your tutorials with joelobrecht :-)
with tiki_connect table in my radar (mother.tiki.org data, etc)
and I realize that I don't know how to convert the data like this:
a:7:{s:7:"version";s:7: ...}
what's the name of that syntax?
[10:07]
Jyhemjson ? [10:10]
xavimmm, that's what I thought, but R complains about it:
"Error: String does not contain valid JSON: "a:7:{s:7:"version";s:7:"8...""
using R package jsonlite
[10:10]
Jyhemjson is very picky
I see a lot of it, but I never actually read up on the format :-(
[10:11]
xaviand reading here: http://en.wikipedia.org/wiki/JSON I see that json seems to start with an angle bracket. The data from that mysql table starts with "a:7:{...}"
how do you use it, then?
I mean, how to dechiper the contents?
[10:11]
JyhemI was about to suggest puttting everything in {…} [10:12]
xaviah, ok, simple hack... I'll try :-) [10:12]
JyhemIt's mostly a clever way of having arrays within arrays. It reminds me of PHP's array structures, only json puts everything in a single string [10:13]
xaviok
all (non-NULL) strings in tiki_connect.data field start with "a:7:{" or "a:6:{". I wonder what that means...
[10:16]
....... (idle for 32mn)
redflojoined #tikiwiki [10:49]
........................... (idle for 2h13mn)
Tiki-KGB03jonnybradley r52313 10branches/13.x/ 10modules/mod-func-menu.php 10lib/smarty_tiki/function.menu.php
[ENH] menus: Make setSelected optional for menu modules (default=y).
Should help performance on massive menus especially when using very large structures as a menu.
[13:02]
..................... (idle for 1h44mn)
Tiki|botNew Forum Posts: Problem with [...]:[52254] branches/12.x/lib (tracker validation) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=53008 [14:46]
dabrightjoined #tikiwiki [14:48]
dabright1joined #tikiwiki [14:49]
fabriciusjoined #tikiwiki [14:57]
jonnybjoined #tikiwiki [14:57]
xavihi jonnyb [14:58]
jonnybhi xavi too
cathing up on your earlier chat from here: http://irc.tiki.org/irclogger_log/tikiwiki?date=2014-08-12,Tue&sel=23#l19
[14:59]
xaviok, thanks :-) [14:59]
jonnyblooks like that data isn't actually JSON but came out of php serialize function
http://uk3.php.net/manual/en/function.serialize.php
[14:59]
xaviI found one record which does look like real json, in that table tiki_connect.data, and seems to come from some 8.0svn tiki install (from long ago)
so data from "serialize" function instead of json: bug or feature?
[15:00]
jonnybhappens on lib/core/Tiki/Connect/Abstract.php:136
hmm, bug or feature? good question :P
[15:01]
xavi:-D
in order to help data re-use from external software (such as R), I would say that json sounds like easier
[15:02]
jonnyblooks like i changed it from json in http://sourceforge.net/p/tikiwiki/code/36763/ (but sf.net doesn't seem to want to show it)
i agree, json more compatible
[15:04]
xavimmm, shall we revert r36763 then? (sf.net showed it to me after 10 seconds or so) [15:07]
jonnybi guess so - i'm not too bothered really as we never got round to doing anything with the data within tiki [15:07]
xaviand is there an easy way to convert the data in that table at mother.tiki.org? (or maybe we just revert function, clean table at mother.t.o, and add some more data to play with) [15:08]
jonnybi guess a little script to convert the existing data would be nice too? :) [15:08]
xaviyes, I guess so
I'd like to play a bit with the data, with R, to see if I can create some quick and dirty report out of it, as a proof of concept, and to help move the topic further, etc.
[15:08]
jonnyblooks like mother.t.o is on 13.x - might be netter to stay on trunk i think for that one (but i remember there were discussions about this a while back) [15:09]
xaviwell, as far as some sort of mother.t.o works, and someone repairs whateaver is broken in trunk when it stops working? Otherwise, we could keep it for the time being working with 13.x (or whatever version is current at each moment)
at least until any real php developer intends to do some more php coding out of it (not in my todo list, honestly; just playing with R is within my skills and affordable time to allocate to it)
[15:10]
jonnybok, have the revert ready [15:12]
xaviand if creating a script to convert the data involves too much problem for you, we could just clean that table and start again with new test data sent to mother.t.o from several sites, etc.
bbl
[15:13]
Tiki-KGB03jonnybradley r52314 10branches/13.x/lib/core/Tiki/Connect/Abstract.php
[MOD] Revert r36763: Use json encoding instead of seriliaze for Tiki Connect data for better compatibility (thanks Xavi)
[15:16]
.... (idle for 16mn)
03jonnybradley r52315 03branches/13.x/installer/schema/20140812_convert_tiki_connect_data_to_json.php
[MOD] Convert Tiki Connect data to json encoding (only for mother.tiki.org really, thanks again Xavi)
[15:32]
.......... (idle for 48mn)
03jonnybradley r52316 10branches/13.x/lib/filegals/filegallib.php
[FIX] filegals: Correct an issue from old upgraded Tikis where users may have more than one user file gallery.
If this is the case, merge the files from the old ones into the new correctly named one and remove the old gallery.
03jonnybradley r52317 10(6 files in 6 dirs) * [MRG] Automatic merge, branches/13.x 52310 to 52316
03jonnybradley r52318 10branches/ 1012.x/lib/filegals/filegallib.php 1012.x
[bp/r52316][FIX] filegals: Correct an issue from old upgraded Tikis where users may have more than one user file gallery.
If this is the case, merge the files from the old ones into the new correctly named one and remove the old gallery.
[16:20]
xavinice, jonnyb, your upgrade script worked like a charm with a local copy of mother.t.o!
I've started to look at meaningful data from R, finally :-)
[16:27]
jonnybnice, well done! [16:28]
xavithere are a few "al<x>ert!" inserted in the data... [16:29]
jonnybhmm, wonder where they are from? [16:29]
xaviI wonder if this is real prevention of potentially harmfull code (keeping that in stored values)...
header_custom_js,f or instance
and somewhere else...
probably customization textareas from look and feel
[16:29]
jonnybif it's from my test servers it could be deliberate [16:30]
xaviis "al<x>ert" expected to be stored in data tables?...
ah ok, forget it, then... might be from there...
[16:30]
jonnybi tend to test that sort of thing from time to time [16:31]
xavisorry for the distraction, I'll keep having a look and playing a little bit more
... silently :-)
xavi loves to see commit messages from jonnyb (or others) fixing bugs! ;-)
[16:31]
................ (idle for 1h17mn)
Telesightjoined #tikiwiki [17:49]
........... (idle for 51mn)
Telesight1joined #tikiwiki [18:40]
.................... (idle for 1h37mn)
Tiki|botNew Forum Posts: Using Cate-group permissions for the member_list plugin - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=53011 [20:17]
............... (idle for 1h11mn)
Tiki-KGB03xavidp r52319 10trunk/lib/logs/logslib.php
[FIX]Fix the count of registered user accounts so that all spammer IPs can be found through mass Ban IP from admin users interface
[21:28]
xavileft #tikiwiki [21:36]
arildbjoined #tikiwiki [21:49]
brolin_empey_joined #tikiwiki [21:55]
Tiki|botRecent Bug: - http://dev.tiki.org/item5420 [21:59]
.............. (idle for 1h9mn)
New Forum Posts: Using Cate-group permissions for the member_list plugin - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=53011
New Forum Posts: Problem with [...]:[52254] branches/12.x/lib (tracker validation) - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=53008
New Forum Posts: Wiki page Bootstrap elements sample page changed by chibaguy - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=52999
[23:08]
New Forum Posts: Using Cate-group permissions for the member_list plugin - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=53011
New Forum Posts: Problem with [...]:[52254] branches/12.x/lib (tracker validation) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=53008
New Forum Posts: Wiki page Bootstrap elements sample page changed by chibaguy - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=52999
[23:18]
........ (idle for 37mn)
leagrisjoined #tikiwiki [23:55]

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