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

WhoWhatWhen
nkoth|nelsonchealer, my wiki page categories tab is gone [00:14]
list_categs not working///
actualy I think it's getCategories that is not working
moving back categlib.php to r35057 workd
I mean 37057
well it's actually just list_categs that is not good, with this descendanets thing
[00:22]
ok i think the problem is that 0 is not a category [00:38]
CIA-12tikiwiki: 03nkoth * r37063 10/trunk/lib/categories/categlib.php:
tikiwiki: [FIX] When filter identifier is 0, i.e. root category, it breaks and nothing
tikiwiki: gets returned, e.g. wiki pages show no categories list anymore. Also in general
tikiwiki: if you can't identify the filter it is going to lead to weird results.
[00:44]
chealerah, yeah, that problem again. will check [00:49]
.... (idle for 18mn)
nkoth|nelsonchealer: btw, separate issue, remember that orphan token for category thing? can you make getCategories more gracefully return nothing when categId is a string?
because search indexes orphan as a token for no categories (to enable searching for things that are uncategoriized), so it might happen a lot of places
or maybe check explicityy for 'orphan'
[01:07]
.... (idle for 15mn)
***goj_killedByISP has joined #tikiwiki
goj has quit IRC (Disconnected by services)
goj_killedByISP is now known as goj
Trebly has quit IRC (Ping timeout: 258 seconds)
[01:23]
..... (idle for 21mn)
coaboa|afk has joined #tikiwiki
coaboa|afk has quit IRC (Remote host closed the connection)
[01:48]
CIA-12tikiwiki: 03nkoth * r37064 10/trunk/lib/ (2 files in 2 dirs): [ENH] Add ajax validation for passcode in registration [01:50]
***coaboa has quit IRC (Ping timeout: 245 seconds) [01:50]
nkoth|nelson has quit IRC (Quit: nkoth|nelson)
Caarrie|away is now known as Caarrie|sleeping
[01:57]
........ (idle for 36mn)
Narkster has joined #tikiwiki [02:34]
................ (idle for 1h15mn)
CIA-12tikiwiki: 03chealer * r37065 10/trunk/ (9 files in 4 dirs): [REF] call getCategories() instead of list_categs() [03:49]
...... (idle for 28mn)
***Bernard has joined #tikiwiki
Bernard1 has quit IRC (Ping timeout: 276 seconds)
[04:17]
............ (idle for 59mn)
Bernard has quit IRC (Quit: Leaving.) [05:17]
........ (idle for 38mn)
Bernard has joined #tikiwiki [05:55]
...... (idle for 25mn)
Merbster has joined #tikiwiki [06:20]
MerbsterGood morning tiki-folk [06:20]
***fabricius has quit IRC (Read error: Operation timed out) [06:21]
...... (idle for 29mn)
MerbsterWhere does "post-back handler" scripts go in tiki? [06:50]
Bernardhi Merbster [07:01]
Merbsterhey Bernard
:)
Nevermind. I found tiki-tracker_http_request.php
[07:01]
***DarkCalfz has quit IRC (Read error: Connection reset by peer)
DarkCalfz has joined #tikiwiki
arildb has joined #tikiwiki
[07:02]
BernardIs there a way to have a "enter your email to subscribe our newsletter" box on tw ? [07:13]
***Wilkins has joined #tikiwiki [07:18]
.... (idle for 17mn)
MerbsterBernard, Where exactly do you want it? [07:35]
Bernard1sec [07:38]
MerbsterBernard, http://doc.tiki.org/PluginTrackerlist <- there is something about sending a message to multiple users registered in a tracker.
I don't know if it sends wikimessages or emails
[07:39]
BernardMerbster: i beleive that with tracker i can have a pretty tracker input displayed in a box, etc… But this is quit heavy !
and i have then to import the emails in the newsletter… ^^
[07:41]
MerbsterBernard, The part I am worried about is getting users from a trtacker and sending mails to them .But I would think that Tiki has mailing list functionality built in.
(I would think == I guess)
Have you searched the docs for mailing list or something like it?
[07:42]
BernardTW has a newsletter built in and it works fine. If an admin or a visitor can subscribe in it through a page, i was wondering about a simple module that make it possible from within any page or from a col. [07:43]
MerbsterBernard, I haven't tinkered with mailing list. So I don't know what possibilities there is. [07:44]
Bernardok i found this : http://doc.tiki.org/Newsletter+Admin#Add_emails_to_a_newsletter_from_a_list_in_a_wiki_page
but this is tpl, tracker...
[07:45]
MerbsterBernard, aka pretty tracker? - it's ALOT easier than you'd expect
actually the docs on pretty trackers was just recently updated with a 3 (or 4) step guide
Bernard, http://doc.tiki.org/Pretty+Tracker+HowTo <- here is some explaining about it.
short and consise
[07:46]
***chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy
[07:50]
chibaguypolom [07:50]
BernardMerbster: :) the point is that i don't need to create a list of user in a tracker list… I need an easy way to add from the anonymous side a way to subscribe to a newsletter without being registered. [07:50]
Merbsterpolom chibaguy
ah ok Bernard I don't know how to achieve that.
[07:51]
BernardKonishiwa Sen Sei :) [07:53]
chibaguy??????????
Did that work?
Hi Bernard (if it didn't)
[07:53]
BernardWell admin can subscribe any email he want (not registered user). But this is in Admin Newsletter. There are a lot of website offering the possibility of subscribing an email in a small module without registering. [07:54]
chibaguyI think what I need for trackers is a recipe book. The howto docs are good as far as they go, but it would be great to see lots of examples. For two reasons: 1) "Oh, so that is what trackers can be used for" and 2) "Oh, so that is how I do what I want to do with trackers."
Hi Merbster
[07:54]
Bernardi was wondering if it can be achieved in TW using what exist [07:55]
chibaguyI think trackers are a feature that really set Tiki apart from other software, but the learning curve is steep. [07:55]
Bernard+1 [07:55]
Merbsterchibaguy, the link I sent is actually "an example" atleast more of an example than the latter pages :P [07:56]
chibaguyMerbster, what link is that? [07:56]
MerbsterDoes anyone know where the jquery.js file is located in tiki?
chibaguy, sorry it was before you logged in, here: http://doc.tiki.org/Pretty+Tracker+HowTo
[07:56]
chibaguyah, ok, thanks.
well, I'm ok about the basics, that far. But that is like the shallow end of the swimming pool. As you go toward the deep end, it gets panicky fast. ;-)
[07:57]
Bernard…rethinking it… user don't subscribe to a newsletter… They register in a box requiring just Name (username) and Email (email+password). Newsletter will be sent to all registered. The idea is ok but is it really possible…(registration should be proceeded from within a module without loading other pages) [07:59]
chibaguyNow I'm seeing a problem in branch 7 of the edit/delete tab content of a tracker item displaying as HTML syntax, not parsed.
eek.
only that tabcontent, not view, comments, or attachments.
[08:02]
***redflo has joined #tikiwiki [08:04]
Merbsterchibaguy, I don't know how to fix that, sorry. [08:05]
chibaguyyeah, it's strange. I just updated with subversion and cleared the cache.
I'll try on another branch 7 site.
Merbster: jquery.js is in lib/jquery/
[08:06]
Merbsterchibaguy, Yes. I found out, but thanks anyways :) [08:09]
chibaguyok. well the html code showing is only affecting one tracker. a new tracker at the same site is normal, so maybe some configuration problem. [08:10]
Merbsterchibaguy, question is, does it expect tiki markup or pure html?
will it maybe help wrapping the html in {HTML()} {HTML} ?
[08:12]
chibaguyNo, I mean the tiki-view_tracker_item.php page's "Edit/Delete" tab is showing the HTML of the edit form rather than the edit form itself.
<input type="hidden" name="iTRACKER" value="1" /><div class="wikiplugin_tracker">... etc.
[08:18]
Merbsterchibaguy, I experienced that when trying to define a page for the tracker where it edit/views the tracker item [08:19]
chibaguyIt isn't user content.
ah, ok.
How is the item to be edited then?
[08:19]
Merbsterchibaguy, I don't have the problem in tiki 7.1 when no edit/view item template is set in the tracker itself (when editing the tracker ) [08:21]
chibaguyyes, I just removed the wiki template info and now the edit form in the tracker works again.
hm.
What is the designed method to edit a tracker item when a wiki template is used?
(I wonder.)
Well, I assume the broken tabcontent is a bug.
[08:24]
Merbsterchibaguy, you can edit a tracker item by giving the tracker itemId parameter
chibaguy, or you could display a trackerlist and enable "show edit/view urls" (or something like it) on the individual tracker fields
chibaguy, if you do that without giving it url param. it will default to the normal edit/view pages
[08:29]
chibaguyAbout your first suggestion, giving the tracker itemId parameter in the page URL? [08:31]
Merbsterchibaguy, on the tracker itself
you can bind it to a single item
[08:31]
chibaguyOh [08:31]
MerbsterBut
there's another way
with a trackerlist (that shows all items in the tracker)
you can enable the link showing I talked about earlier
and then suppluy an url param to the plugin trackerlist {trackerlist url=someUrl}
Then the urls that the trackerlist generates will use the url of your url plugin param
in that plugin param you define "itemId=" and if you leave out the actual vaolue, tiki will magically insert it
Am I understandable chibaguy ? :P
[08:31]
BernardMerbster, the master of trackers :) [08:33]
Merbsterno far from it
But I am getting there
chibaguy, if you are running tiki 7.1 you have bugs in the show linsk param for the trackerlist, so I hope you are using trunk :P
[08:33]
chibaguyI think I am understanding you ok, but I am using branch 7 so don't know what the state of the bugs is. [08:35]
MerbsterI know that jonnyb fixed some bugs and committet them
I backported them manually to our tiki 7.1
[08:36]
chibaguyI see. [08:36]
MerbsterIf your trackerlist does not give you fields as links (even though you set it up to do it) you have the bug. [08:37]
chibaguyI don't mind the mental exercise of trying to use trackers, but wish the chance of success was higher. ;-) [08:38]
Merbsterit's allways a balance between being flexible and also userfriendly :P
chibaguy, how much of a coder are you?
[08:39]
chibaguynot much, I'm afraid.
I'm ok with CSS and HTML, more or less, but with Smarty and PHP the best I can do is copy/adapt examples.
[08:41]
Merbsterok. [08:42]
chibaguywell, I'd like to learn more, but don't have enough hours in a day. [08:43]
MerbsterI know that problem too well [08:43]
sylvieg, are you here? [08:53]
***coaboa has joined #tikiwiki [09:00]
coaboapolom tikiverse [09:01]
Bernardhi Coaboa
I'm using for the first time the module "register" on 7.2. I have a message about open id (i don't use open id) and it broke the col layout. Anyone has experience about this module ?
[09:03]
MerbsterBernard, sorry no, but I would think you can disable it? [09:06]
BernardOpen Id is not enable, i use Tiki only for authentification. [09:07]
chibaguyBernard, is that the "Login" module? I don't see a module named register. [09:12]
Bernardchibaguy: New user registration (register)… (In the meantime i found a disable plugin " subscribe to newsletter")
arf… the plugin subscribe to a newsletter require being logged… back to the bugged module. :(
[09:13]
chibaguyOh, Ok. I see what you mean (big broken module). [09:16]
Bernardyes
do you have the message about openid ?
[09:17]
chibaguyThat looks like something that should be fixed before the next tiki 7 release.
yes.
and same as you, openid is not enabled.
[09:17]
Bernardok so yes it require fix… i will post in tikidev [09:18]
chibaguyok
It looks like the module content is meant for the center column, starting with its h1 heading, and a wide table.
(apart from the openID problem)
[09:18]
BernardEven in the center col it broke the page. http://yiul.co.il/tiki-index.php?page=Subscribe (the col is thrown at the bottom)
The plugin "Subscribe" would have be neat… if works with anonymous. :)
[09:24]
chibaguyYeah, there's apparently a mismatch of html element tags. In the left column, it causes the following modules to be wide, so some tag isn't closed, I think.
Well, I would first try to get rid of its table for layout.
[09:25]
Bernardchecking the module
ok this is a problem {if $openid_associate eq 'n'}
[09:26]
chibaguyThe module apparently just grabs the .tpl that was originally meant for the center column.
which would explain the h1 heading.
[09:31]
Bernardyeap
i have corrected "my version" but i can't commit that… i removed the openid check as i don't use it and get rid of the first table
[09:32]
chibaguyHow does the formatting look, then? Does it still go too wide? [09:40]
Bernardno now it is good [09:40]
chibaguyah, Ok. I think there is a problem with the logic that filters the table tags. [09:41]
Bernardi think about commit at least this correction so only the openid thing will need
shame on me i forgot… how do you know the bp number ? svn info ?
[09:41]
chibaguyThere's a revision number reported when you make the commit. Or sometimes I look at the email report of the commit for the r number, and paste that in to the notes for the bp, if that's what you mean. [09:44]
Bernardyes… but "There's a revision number reported when you make the commit" so i don't need to indicate it on the commit msg ? [09:45]
chibaguyno
it's automatic
[09:47]
Bernardsvn commit -m "[FIX]module register: table tags removed to keep layout intact" templates/tiki-register.tpl is ok then, tks. [09:47]
.... (idle for 15mn)
CIA-12tikiwiki: 03yonixxx * r37066 10/branches/7.x/templates/tiki-register.tpl: [FIX]module register: table tags removed to keep layout intact [10:02]
***Trebly has joined #tikiwiki [10:04]
chibaguyr22134 replaced the module's specific code with an include of tiki-register.tpl in Oct. 2009. Strange that it's just now spotted as a problem (at least the h1 should have been noticeable - I don't know if the table always overflowed the column).
I suspect this module is usually used in a wiki page and not the side column, or at least it wouldn't have formatting problems then, perhaps.
[10:08]
***olinuxx has joined #tikiwiki
arildb_ has joined #tikiwiki
arildb_ has quit IRC (Client Quit)
[10:10]
chibaguyBernard: Actually the module still extends over the center column in my branch 7 after your commit, though not as badly. The form label and input fields are too wide for the space (in fivealive). [10:16]
***arildb has quit IRC (Ping timeout: 250 seconds) [10:17]
chibaguyOh, it fits when I'm logged in, but not when anonymous. [10:21]
it's made of a number of included tpls that add rows to the table, and some are wide. A liquid layout would be better but maybe for trunk.
Custom CSS can resize the heading and make the module scrollable so that it fits in the column if necessary.
funny, that module doesn't even use the normal module tpl. More evidense that it's intended for the page center, I think.
[10:27]
coaboaI had a problem with inclue too. try to define the full path to the modified/theme template
when using include with custom code area it allways produce a white screen except when defining the path like templates/styles/mytheme/xy.tpl
[10:33]
chibaguywhat tiki version, coaboa? [10:35]
coaboatrunk, current [10:35]
chibaguyWhat do you mean by custom code area? They aren't in Look and Feel any more. [10:36]
coaboaworked until (at least) r35883 [10:36]
chibaguyIn a module? [10:38]
coaboaThey are: Look & Feel, Customization Tab [10:38]
chibaguyhm, I was looking at branch 7. I thought they were the same. [10:39]
coaboai use include in custom html head (and other extra code areas) and when using include from within a tiki.tpl [10:40]
chibaguyOh, I see.
There is only html head and at end of body now.
Otherwise the module zones must be used.
Or shadow divs, I imagine.
[10:40]
MerbsterSo the textbox where you can includec ustom jquery/js code under look and feel will be removed in upcoming versions? [10:43]
chibaguyNo, those will stay as they are. Just visible content areas were changed to the module zones. [10:43]
coaboadon't think so my current trunk37038 still shows that box [10:44]
Merbsteroh. ok.
Because I just started using that one :P
[10:44]
chibaguyyeah, the current arrangement will stay as it is, I think. [10:44]
MerbsterI hope so. I find it quite useful [10:45]
chibaguyyep. I have to go out but will be back soon. [10:48]
***chibaguy is now known as chibaguyaway [10:48]
Caarrie|sleeping is now known as Caarrie|away [10:55]
Bernardchibaguyaway: weird on mine 7.2 it fit ok logged or not, in the center or in a col… cache may be ? [10:59]
sylviega svn up and I have Fatal error: Uncaught exception 'SmartyException' with message 'unknown method 'set_request_overriders'' in lib/smarty/libs/sysplugins/smarty_internal_wrapper.php on line 117 SmartyException :-( [10:59]
***Tiki|bot has quit IRC (Ping timeout: 260 seconds)
ricks99 has joined #tikiwiki
[11:05]
chibaguyaway is now known as chibaguy
olinuxx has quit IRC (Quit: Ex-Chat)
[11:15]
chibaguyBernard, now I see here in Firefox it fits but in Opera it extends into the center column. Apparently the textfield size is calculated differently in Opera. [11:18]
ricks99polom y'all [11:19]
chibaguyHi ricks99
ricks99, do you know why the rss feed items repeat many times at tiki.org?
[11:19]
ricks99on info? let me c [11:21]
chibaguyno, at the community site.
15 items and all the same one.
[11:21]
ricks99ricks99 checking... [11:22]
chibaguyjust wondered if you had noticed that problem. [11:22]
ricks99u mean the Tiki Tweets? hm...
Looks like someone (me) messed up the query.... let's see what I can do.
[11:23]
chibaguyNo, I mean in the center column, "The Latest Tiki News" and "Documentation Updates" [11:26]
ricks99ooo.... [11:26]
chibaguyWell, some repetition in the Tiki Tweets, but not as much, and recently seems ok. [11:26]
ricks99i think it is a db refesh issue. notice that *all* rss feeds are repeated [11:26]
chibaguyIs there a solution? Or do we set max to 1? ;-) [11:27]
ricks99i'll report to dev list and see... needs to be fixed i would think
notcie that the actual rss is correct: http://doc.tiki.org/tiki-wiki_rss.php?ver=2
ricks99 thinks it is a caching issue somewhere?
[11:27]
chibaguyYes, I tried the rss and it looked fine. [11:28]
***arildb has joined #tikiwiki
Bernard has quit IRC (Read error: Operation timed out)
Bernard has joined #tikiwiki
redflo has left
[11:29]
CIA-12tikiwiki: 03sylvieg * r37067 10/trunk/ (templates/tiki-edit_submission.tpl tiki-edit_submission.php): [FIX]article: captcha in submission [11:34]
ricks99sent chibaguy. tx for reporting [11:34]
coaboacan I have theme spcecific wikiplugins? and if yes where to put? [11:37]
ricks99Theme-specific? not afiak. but you can create as many custom ones as you want [11:38]
coaboay. that I know. just wondering. for maintenance. [11:38]
Merbstersylvieg, ? [11:39]
ricks99@coaboa: i've been wanting that same thing for a while now, too :)
.... and theme-specific icons/graphcis
[11:39]
coaboa;-) [11:40]
chibaguycoaboa, the wikiplugin could go inside a module in wikitext that has a theme parameter, maybe. A lot of overhead, though.
or html elements can be displayed or not with css.
[11:40]
coaboalooking for something you can collect in a "copy-to-destination" folder [11:41]
CIA-12tikiwiki: 03tikii18nbot * r37068 10/trunk/lang/fr/language.php: French translations done on i18n.tiki.org [11:42]
coaboanot urgent though, just thinking [11:42]
chibaguyricks99, you know about having style/themename/pics/icons, right? [11:43]
ricks99ricks99 feels really stupid now [11:44]
chibaguyI think you might be limited to the pixel size, though. [11:46]
MerbsterDon't worry ricks99 you aren't! :) [11:46]
coaboatikiverse ;-) [11:46]
ricks99ricks99 runs off to read more on doc [11:47]
chibaguyReally, there is so much to keep in mind with Tiki that it's natural to lose parts all the time. [11:47]
coaboais uge
*huge
[11:47]
ricks99@chibaguy: yup... that's why i hand out on IRC :-) [11:47]
MerbsterI can't figure out why tiki-tracker_http_request.php returns null to me [11:48]
chibaguyIf I could just avoid repeating having to learn something several times I'd be pretty happy. [11:48]
Merbster(I am doing a post to it from jQuery and trying to get the data) [11:48]
ricks99completely new issue (somewhat tiki related): been thinking of an enhanced Smarties epub with embedded movies, downloadable YAML profiles, etc. I would retail it for ~$35(USD). But most people are accusted to paying LESS for epub editions. any thoughts from the Tiki community? [11:50]
Merbsterricks99, I have a friend who did a danish site for HD Joomla tutorials. He charges way more. and that's only access to videos
HD as in High definition
[11:51]
***Tiki|bot has joined #tikiwiki [11:52]
sylviegMerbster: try to type tiki-tracker_http_request with the params directly in the url ... sometimes you can see error messages [11:55]
Merbstersylvieg, ok! thank you for the tip! :)
sylvieg, is the minimum needed amount of params documented anywhere? Or should I just try my way?
[11:56]
sylviegusually I use firebug and the net tab.. to pick up the params
and than I debug the http_request
[11:59]
Merbstersylvieg, I have just opened the file and I am looking at GETS :P
sylvieg, what I mean is; what are the least amount of params to get something meaningful. :P
if I just give it trackerIdList I get an empty .js file.
[11:59]
sylvieg, I am testing my JS in a HTML file that's in the same dir as tiki. but the HTML is not used from any tiki context. Will this affect the behaviour? [12:05]
sylviegprobably not - the tiki.._htt... is independant [12:08]
Merbstersylvieg, Ok. That's what I expected, I just wanted to be sure :) - Hope it's ok I ask so much [12:11]
sylviegno problem [12:11]
Merbstersylvieg, what is "filtervalue" used for? [12:14]
sylviegbut Iam wondering about perm check...
filtervalue is the value of a field if there is a filter
[12:15]
Merbstersylvieg, if I don't supply a filtervalue it won't return anything [12:16]
***RobertPlummer has joined #tikiwiki [12:21]
RobertPlummerpolom all
What is the updated version of smarty_modifier_escape()?
It says it doesn't exist.
[12:21]
MerbsterHi RobertPlummer [12:22]
RobertPlummergood day [12:22]
MerbsterI don't know the answer yet. sorry [12:22]
RobertPlummerOh, nm, I found it
if (! function_exists('smarty_modifier_escape')) {
require_once 'lib/smarty_tiki/modifier.escape.php';
}
[12:24]
MerbsterI am going home from work now bbl [12:25]
***Merbster has quit IRC (Quit: Leaving) [12:25]
CIA-12tikiwiki: 03robertplummer * r37069 10/trunk/lib/ (headerlib.php wiki/wikilib.php): [ENH] Added js file checking to caching for wiki pages, so now you can include js files in your wiki plugins [12:29]
RobertPlummerI still have some testing to do on that last one, but it should have been added a long time ago. [12:30]
***RobertPlummer has quit IRC (Ping timeout: 258 seconds)
ricks99 has quit IRC (Remote host closed the connection)
ricks99 has joined #tikiwiki
[12:36]
.... (idle for 15mn)
CIA-12tikiwiki: 03sampaioprimo * r37070 10/trunk/lib/language/FileType/Php.php: change code comment
tikiwiki: 03sampaioprimo * r37071 10/trunk/ (get_strings.php get_strings2.php): old get_strings.php replaced with new version
[12:53]
***rodrigo_sampaio has joined #tikiwiki [12:54]
radek82 has joined #tikiwiki [13:04]
rodrigo_sampaiochealer: do you know which standard we use for language codes/
?
[13:06]
chealerpolom
rodrigo_sampaio: I don't think I do. you mean we're not follow ISO 639-1?
[13:06]
rodrigo_sampaiochealer: I think we are
chealer: I just couldn't remember this name
[13:08]
sylviegyes ... there was a standard.. [13:08]
rodrigo_sampaiothanks [13:08]
chealerrodrigo_sampaio: OK. good to see the above commit BTW, even though I couldn't look at your improvements yet :-)
rodrigo_sampaio: are the current language.php files now generated by the new get_strings.php?
[13:09]
rodrigo_sampaiochealer: in a few minutes they will be (big commit coming) :) [13:13]
chealerrodrigo_sampaio: good :-) [13:14]
CIA-12tikiwiki: 03sampaioprimo * r37072 10/trunk/lang/ (48 files in 48 dirs): updating language files using new get_strings.php [13:17]
coaboawhat is the php var for pagename?
got it $objId
at least in plugin-catpath
[13:19]
***lphuberdeau has joined #tikiwiki [13:31]
chealerthanks rodrigo_sampaio. is it normal/intentional that there are no more comments, like those on punctuation handling? [13:35]
***nkoth|nelson has joined #tikiwiki [13:36]
rodrigo_sampaiochealer: it is intentional. but we can add if you miss them.
chealer: specifically talking about the punctuation handling I think we should get rid of it
chealer: this is a discussion I'm planning to start soon
chealer: but first I need to know why this was created in the first place
[13:36]
chealerrodrigo_sampaio: get rid of it, i.e. if we have two strings "Foo" and "Foo:", generate two strings in language.php?
rodrigo_sampaio: *I* don't miss them, but I remember learning about the punctuation handling by reading these comments. I would have been confused if I had not read these.
[13:49]
rodrigo_sampaiochealer: for me the problem with the punctuation handling is that it is not valid for all languages
chealer: for example, in Spanish the interrogation mark appears in the beginning and in the end of the sentence
chealer: with the way we handle punctuation it is impossible to properly translate a question to Spanish
[13:52]
chibaguyIt seems to me that the punctuation needs to be part of the string.
...because it varies according to language.
(If this is relevant - I didn't read the whole log.)
[13:54]
rodrigo_sampaiochibaguy: thanks, but we already have (or should have) the punctuation as part of the string.
:)
chibaguy: the question here is that we deal with strings ending in punctuation as a special case
[13:56]
chealerrodrigo_sampaio: good example. I would tend to address these issues one by one. for the question mark, I don't really see much use in handling it particularly. I don't see why there would be many cases of both "Foo" and "Foo?" appearing.
hi chibaguy
[13:56]
chibaguyhi chealer and rodrigo_sampaio [13:57]
rodrigo_sampaiochealer: I'm concerned that there might be more cases like that in other languages that we don't know. But I think to investigate to be sure.
chealer: would be good to have an idea of how many cases of "Foo" and "Foo:" (or another punctuation) we have
[14:03]
chealerrodrigo_sampaio: I agree, would be good [14:05]
***Bernard has quit IRC (Quit: Leaving.) [14:05]
rodrigo_sampaiochealer: I will do that before starting this discussion on the devel list [14:05]
***Bernard has joined #tikiwiki [14:05]
chealerrodrigo_sampaio: I also agree there must be more cases, but until Tiki is translated to these languages, it's not a problem. I think we can address the issues when they come up. [14:06]
CIA-12tikiwiki: 03sampaioprimo * r37073 10/trunk/lang/ (flagmapping.php langmapping.php): indentation
tikiwiki: 03sampaioprimo * r37074 10/trunk/lang/ (flagmapping.php langmapping.php nds/ nds/language.php): add Lower German language
tikiwiki: 03sampaioprimo * r37075 10/trunk/lib/ (3 files in 2 dirs): update code to export translations from the db to use new language.php
[14:07]
.... (idle for 15mn)
tikiwiki: 03chibaguy * r37076 10/mods/trunk/Packages/ (6 files): [FIX] Errors in paths or file names in package info files caused impossible-to-copy errors in mods admin. Thanks to Marc for testing. [14:23]
tikiwiki: 03tikii18nbot * r37077 10/trunk/lang/pt-br/language.php: Brazilian Portuguese translations done on i18n.tiki.org [14:31]
coaboadoes one know how to display the number of contributors to a page in a template? Is there avariable for this? [14:44]
.... (idle for 19mn)
***Trebly has quit IRC (Ping timeout: 240 seconds) [15:03]
.... (idle for 16mn)
lphuberdeauAs far as I know, that value is not pre-calculated, but it's fairly easy to extract from the tiki_history table [15:19]
........... (idle for 50mn)
***RobertPlummer has joined #tikiwiki [16:09]
RobertPlummerDid you guys see my commit from earlier? [16:09]
***Trebly has joined #tikiwiki [16:11]
CIA-12tikiwiki: 03oeversetten * r37078 10/trunk/ (4 files in 2 dirs):
tikiwiki: Prepared some flags for Lower German and updated flagmapping.php accordingly.
tikiwiki: Two flags from Hanseatic times and one half German half Dutch flag.
[16:11]
RobertPlummerhey chealer, you around? [16:15]
chealerhi RobertPlummer. just looked at your commit, made me realize there was already support for JS in plugins :-) [16:16]
***arildb has quit IRC (Read error: Connection reset by peer) [16:16]
RobertPlummerchealer: But not files [16:16]
***Wilkins has quit IRC (Ping timeout: 258 seconds) [16:17]
RobertPlummerAt least not for caching. [16:17]
***arildb has joined #tikiwiki [16:17]
RobertPlummerchealer: I've added all the steps, and I've looked at it actually adding the files into the caching system, but for some reason it still doesn't work. [16:17]
CIA-12tikiwiki: 03oeversetten * r37079 10/trunk/lang/langmapping.php:
tikiwiki: Noticed some exchange at Portuguese (English and self description exchanged)
tikiwiki: Changed self description of Frisian to Frysk, more appropriate I guess.
[16:21]
chealerRobertPlummer: right. are you trying with codemirror or what? [16:23]
RobertPlummerno, vendor project.
chealer: Now it is supported, the query is sent the data to update, but for some odd reason it is like mysql isn't executing the command.
chealer: I'm baffled.
[16:23]
chealerRobertPlummer: sorry, what is vendor project? [16:24]
RobertPlummera vendor project is a project that you are using in conjunction with an existing svn project to create a new project/feature.
I guess I should have said on a private project.
Anyway, I didn't want to mod tiki-setup.php to include the proprietary files.
[16:25]
chealerhumk [16:26]
RobertPlummerPlugins should be fully plugable. [16:26]
chealerRobertPlummer: update_cache() is not working, or what command? [16:26]
RobertPlummerDrop it in, and it work.
update_cache doesn't seem to be updating sql. I'm investigating right now...
[16:26]
chealerRobertPlummer: you're testing as anonymous, right? [16:27]
RobertPlummerboth
anon and admin
anon is calling update_cache, and the correct data is being sent
With the correct files added and everything.
[16:27]
chealerRobertPlummer: user accesses won't touch the cache [16:28]
RobertPlummerI cleared cache as an admin, does that have to do with wiki cache?
I didn't check.
I figured it couldn't harm anything.
[16:29]
chealerRobertPlummer: no
RobertPlummer: so you see PHP going through update_cache (line 418), but the table is not updated?
[16:29]
RobertPlummerchealer: No it is updating, but I had to clear it out. So it is updated in mysql.
I've cleared cache with the browser, is there another set of cache analysis that I'm missing?
I was using firefox, trying chrome...
Same results.
The data exists in mysql, but not on the wiki page.
[16:32]
chealerRobertPlummer: hum, I don't follow you. what do you mean by "it is like mysql isn't executing the command"? [16:34]
RobertPlummerchealer: mysql is sent the correct cache. Cache with js,jq_ready, and files (the new part).
is it saved in mysql (just verified).
But what mysql saves and what it delivers are different.
[16:34]
chealerRobertPlummer: so you mean MySQL is not executing the read query correctly :-? [16:35]
RobertPlummerWhen anon, if I visit page=HomePage&refresh=1, everything looks great.
chealer: Yes, at first I thought it wasen't saving correctly, but it seems that it isn't getting the data correctly.
chealer: I'm sure I can figure it out.
perhaps it is getJsFromHTML?
[16:35]
chealerRobertPlummer: what HTML are you missing? [16:37]
RobertPlummerthe script tags that have externals.
Yea that is what it is, the tags are being stripped from cache in getJsFromHTML
[16:38]
chealerRobertPlummer: what do these read? [16:38]
RobertPlummerIt is all the script without the script tags that have src
So we need a method getJsFilesFromHTML
[16:40]
chealerRobertPlummer: I don't see anything that considers src [16:42]
RobertPlummerso new method then? [16:43]
chealerRobertPlummer: I meant I don't see anything in getJsFromHTML() that discriminates depending on whether or not there's an src attribute.
RobertPlummer: if your plugin is not too secret, could share the content of the missing tags?
[16:44]
RobertPlummerSure. give me a sec
nm, I know what the problem is.
getJsFromHTML looks not for the tags, but what is in them....
<script src=""></script>, guess what is inside of this tag?
nothing
We do need a different handler for files to be added.
Chealer: this is a print_r on $jsFile1 and $jsFile2 around line 393+ of wikilib.php
$jsFile1:
Array ( [0] => <script type="text/javascript" src="lib/tiki-js.js"></script> [1] => <script type="text/javascript" src="lib/jquery/jquery.js"></script> [2] => <script type="text/javascript" src="lib/jquery_tiki/tiki-jquery.js"></script> [3] => <script type="text/javascript" src="lib/jquery/jquery.json-2.2.js"></script> [4] => <script type="text/javascript" src="lib/codemirror/lib/codemirro
$jsFile2:
[0] => <script type="text/javascript" src="lib/tiki-js.js"></script> [1] => <script type="text/javascript" src="lib/jquery/jquery.js"></script> [2] => <script type="text/javascript" src="lib/jquery_tiki/tiki-jquery.js"></script> [3] => <script type="text/javascript" src="lib/jquery/jquery.json-2.2.js"></script> [4] => <script type="text/javascript" src="lib/codemirror/lib/codemirror.js"></scr
Did you get that? irc may have filtered it.
Look for icharts.
[16:45]
chealerRobertPlummer: oh! right
RobertPlummer: the end of truncated
[16:50]
RobertPlummersorry about that
Anyway, there are 3 files that are removed, omitted.
And because there is no handler to get them back from cache, they are there, but nothing will ever happen with them.
They are removed with removeJsFromHTML
I will just make it so that removeJsFromHTML doesn't remove them.
simple fix
woohoo!
[16:50]
***Bernard1 has joined #tikiwiki
chibaguy has quit IRC (Read error: Connection reset by peer)
Bernard has quit IRC (Ping timeout: 260 seconds)
ricks99 has quit IRC (Remote host closed the connection)
[16:54]
RobertPlummerRather than crafty regex is there any reason why I can't do something like DOMDocument to see if src exists or not? [16:57]
***Bernard1 has quit IRC (Read error: Connection reset by peer)
Bernard has joined #tikiwiki
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki
[16:57]
chealerchealer has no idea [17:06]
CIA-12tikiwiki: 03sampaioprimo * r37080 10/trunk/ (57 files in 52 dirs): get_strings.php: adding back note about punctuation handling [17:08]
tikiwiki: 03sampaioprimo * r37081 10/trunk/ (52 files in 51 dirs): fixing a few strings [17:13]
***arildb has quit IRC (Quit: Leaving) [17:15]
.... (idle for 17mn)
chealerthanks rodrigo_sampaio [17:32]
rodrigo_sampaiochealer: welcome [17:35]
***prgmctan has joined #tikiwiki [17:39]
CIA-12tikiwiki: 03chealer * r37082 10/trunk/lib/language/WriteFile.php: fix language.php comments on non-breaking spaces (re-recovered from Jyhem's r35917)
tikiwiki: 03sylvieg * r37083 10/trunk/lib/tikilib.php: [FIX]probably a typo
[17:48]
***Caroline has joined #tikiwiki [17:50]
sylvieg... I thought php was case sensitive.. $this->fetchCOunt() is working.... [17:53]
***radek82 has quit IRC (Quit: Leaving)
arildb has joined #tikiwiki
[17:55]
chealersylvieg: http://www.php.net/manual/en/functions.user-defined.php "Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration. "
other things *are* case-sensitive
[17:57]
***redflo has joined #tikiwiki [18:08]
CIA-12tikiwiki: 03sylvieg * r37084 10/trunk/lib/menubuilder/menulib.php: [FIX]menu: move the subMenu filter above the selected because the url can be in 2 different submenus [18:16]
nkoth|nelsonsylvieg: are you familiar with trackerif plugin? [18:23]
CIA-12tikiwiki: 03oeversetten * r37085 10/trunk/lang/nds/language.php: A couple of strings more [18:24]
tikiwiki: 03nkoth * r37086 10/trunk/lib/wiki-plugins/wikiplugin_trackerif.php: [FIX] Test not triggering in normal use, must have been a mistake [18:33]
***prgmctan has quit IRC (Quit: Leaving) [18:37]
RobertPlummerchealer: Is there a lib for parsing dom documents in php that we are using at this time that goes back to php 4? or lphuberdeau, you know? [18:42]
chealerRobertPlummer: no idea about DOM parsing, sorry [18:43]
RobertPlummerAre we moving to php 5 yet? [18:44]
chealerRobertPlummer: huh? only PHP 5.2 and above are supported in trunk [18:45]
RobertPlummerchealer: So we are on php 5.2 now? [18:45]
nkoth|nelsonchealer: did you just change tiki-admin_categories edit category icon to pass both parentId and categId? [18:45]
chealerRobertPlummer: http://doc.tiki.org/tiki-index.php?page=Requirements&no_bl=y#PHP [18:45]
RobertPlummerhmmmm. [18:46]
nkoth|nelsonbecause when I try to edit a (sub)category by clicking on its edit icon, it goves me the edit screen for the parent instead [18:46]
RobertPlummerlphuberdeau: I thought recently told me we were still on 4.
chealer: THanks for the clarity!
[18:46]
chealerRobertPlummer: there must have been confusion. we're PHP 5 only since at least 2 years. [18:47]
RobertPlummerlol, it was probably from my end :). Php is still new to me at times. [18:48]
chealernkoth|nelson: I did play in that area, can't remember exactly all I did but it's a good idea you contact me :-)
nkoth|nelson: I didn't add more parameters to be passed, may have removed one
[18:48]
CIA-12tikiwiki: 03oeversetten * r37087 10/trunk/lang/langmapping.php: Supplement some language self descriptions where they were still in English. [18:49]
chealernkoth|nelson: I think I did remove categId. I see your problem, thank you
nkoth|nelson: oh, I wasn't looking at the edit icon, I see the problem there too. thanks
[18:50]
nkoth|nelsonchealer, are you on it? if so I will just wait instead of trying to debug [18:51]
chealernkoth|nelson: sure [18:51]
RobertPlummerIT WORKS! Plugins that are cached now load their js files!
woohoo!
committing!
[18:55]
CIA-12tikiwiki: 03robertplummer * r37088 10/trunk/lib/ (headerlib.php wiki/wikilib.php): [ENH] Added more framework to be ensure that all js is loaded from cache, including js files with src tag [18:58]
***Caroline has quit IRC (Ping timeout: 252 seconds) [18:59]
RobertPlummerThat was a tuff cookie to crack.
chealer, svn up, let me know what you think.
I used simplexml_load_string
hopefully that is ok.
then a cast attribute back to string.
so a little work is done, but it all filters back into place like it should.
back into headerlib->add_jsfile()
On this day, plugins are now fully modular.
We can bypass tiki-setup.php is no longer needed to make sure all js files load correctly.
Tiki apps, here we come!
[19:00]
chealernkoth|nelson: the link URLs appear unchanged. I'm debugging PHP [19:04]
lphuberdeauthe goal of having all the JS in tiki-setup.php was to make sure the same files were always provided when minifying the code
not much sense in grouping files if on every page load, you need to download an other huge file
[19:05]
RobertPlummerlphuberdeau: it doesn't make since from a core standpoint, yes.
lphuberdeau: But I added it because of a private system.
And besides, plugins should be modular, drag and drop in many cases.
So this functionality shouldn't be used if a plugin is design from the core standpoint, but if you are using tiki as a basis for another product, and didn't want to modify source, this would just work.
For instance, the project I'm working on right now uses open source js, but it is commercially licensed. I can't include it in source. So when I go to upgrade, I don't want to upgrade everything, including tiki-setup.php.
This makes perfect sense.
[19:07]
chealernkoth|nelson: sorry... someone odd going on, debugger not collaborating
nkoth|nelson: wah, found the problem. good thing you let that one to me :-)
[19:12]
nkoth|nelson, chealer: linked to other things? [19:17]
chealerI broke it, but from somewhere I would never have suspected [19:17]
RobertPlummerlphuberdeau: I'm going to test it with minify on and see what the outcome it.
is
[19:18]
luciashhellom [19:21]
RobertPlummerluciash: polom + hello, nice. [19:21]
chealerdo people get this kind of PHP notice in trunk:
PHP (5.3.8-1) NOTICE (E_NOTICE):
File: xdebug eval
Line: 1
Type: Undefined index: name
[19:25]
luciash:) [19:26]
chealerI don't get the "xdebug eval" file [19:26]
luciashchealer: i think it get only people who use xdebug [19:26]
chealerhi luciash
I use xdebug but I've never seen that in 7 and before
huh. if I disable the xdebug extension, I get no notice at all
[19:26]
luciash:) [19:28]
chealerI mean, where I got these notices, I don't see an equivalent [19:28]
luciashi get several notices at my tices at my
rofl, sorry, this paste didn't work right ;)
[19:28]
chealerthat's annoying, but thanks luciash [19:29]
luciashtikitrunk/tiki-admin.php?page=features
but none of them is xdebug
[19:29]
chealereh, forget what I said on having no equivalent notices, I may have been confused [19:31]
CIA-12tikiwiki: 03chealer * r37089 10/trunk/ (2 files in 2 dirs): [FIX] Admin categories: wrong category obtained when editing (Smarty variables conflict). Thanks Nelson Ko. [19:31]
luciashit happens a lot to us coders ;)
i mean "us" not US like in U.S. :-p
luciash didn't mean to insult US coders
[19:31]
chealernkoth|nelson: sorry, should be fixed ^ [19:33]
RobertPlummerluciash: Watch it luciash
luciash: jk
[19:33]
chealerhehehe [19:33]
luciashjfk ? [19:33]
RobertPlummerjk = just kidding [19:33]
luciashah, jk as in JustKidding, LOL [19:33]
RobertPlummer:) [19:34]
luciashu see ? confused again ;) [19:34]
chealerah, good to know that's not JoKe. that would have been very confusing [19:34]
luciashyep, that would be the same as JFK [19:35]
RobertPlummerchealer: sorry, in the US we have "lol" language. "jk" is pretty common. [19:35]
luciashit was me it was me, stupid czech ! ;) [19:35]
RobertPlummerspeaking of "lol"... interesting read: http://lolcode.com/
"protolol"
error handling:
HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE
funny stuff
[19:36]
luciash*g* [19:37]
chealerthere is also an active Debian LOLing community. [19:43]
RobertPlummerI just tried out minify on trunk, and removed my code for ensuring that cached files are included. Anyway, it took a nose-dive.
Without my code it is not completing, max exec time 30+ secs.
Looks like it could be smarty related.
Not sure how though.
[19:43]
nkoth|nelsonchealer thanks [19:45]
RobertPlummerCan anyone else confirm this problem with minify? [19:45]
***Trebly has quit IRC (Ping timeout: 252 seconds) [19:45]
RobertPlummerI've got some outstanding installer files that need applied, let me see if that fixes it. [19:47]
chealerRobertPlummer: FWIW, I think you could have used $js_script[] = (string)$js['src']; instead of array_push() [19:47]
RobertPlummerchealer: you are right, I am a js guy, you have to push and pop everything.
chealer: You think my code would mess with tiki that much?
[19:47]
CIA-12tikiwiki: 03nkoth * r37090 10/trunk/lib/core/Search/Formatter/ValueFormatter/Categorylist.php: [NEW] Search results formatter for categories listings [19:53]
chealerRobertPlummer: OK. what? that line just seemed strange, it shouldn't be a problem. [19:55]
CIA-12tikiwiki: 03sampaioprimo * r37091 10/branches/7.x/lib/trackers/trackerlib.php: [FIX] right tracker item id value for daily reports (fixing directly here and on branches/i6.x since this fix is not applicable to trunk due to tracker revamp changes) [19:55]
RobertPlummerchealer, sorry I just want to make sure that my mod isn't a bad one.
chealer: Should be pretty solid.
[19:56]
CIA-12tikiwiki: 03sampaioprimo * r37092 10/branches/proposals/6.x/lib/trackers/trackerlib.php: [bp/37091] [FIX] right tracker item id value for daily reports (fixing directly here and on branches/6.x since this fix is not applicable to trunk due to tracker revamp changes) [19:59]
chealerRobertPlummer: looks good. it would be nice to document the change though, as it stands it's pretty hard to tell what the function does [20:02]
RobertPlummer:)
understood
[20:03]
chealerRobertPlummer: the comment "if there was no content in the script, it is a src file" should be a couple of lines below [20:03]
RobertPlummeroh, um ok.
can you confirm the minify bug chealer?
With minify on, and my script commented out, there is no change, it is a bombing bad.
[20:03]
CIA-12tikiwiki: 03oeversetten * r37093 10/trunk/img/flags/Libya.gif: I think the days of the green Libyan flag are quite over. [20:09]
RobertPlummerchealer: If you do get a chance to test, make sure you have access to mysql, tiki becomes nearly unusable if minify is switched on. [20:11]
chealerRobertPlummer: sorry, could you recap on what's wrong with minify? [20:13]
RobertPlummerYou get a timeout with it on.
and no js
[20:13]
luciashany idea why in trunk i get on the default HomePage notices for features i don't even have enabled ? [20:14]
coaboajust svn uped to r37039 and now tiki-register.php & tiki-editpage.php produces an error 500 [20:14]
luciashor at least Anonymous do not have perms to them → Undefined variable: tiki_p_search and Undefined variable: filegals_manager [20:15]
chealercoaboa: I guess you mean 37093? we can't do much with, we need an error message
s/with/with a simple 500 error/
[20:16]
coaboaphp errors just show E_notices [20:17]
RobertPlummercoaboa: What features do you have turned on? I can't reproduce. [20:18]
coaboaand y my revision is 37090 sry [20:18]
RobertPlummercoaboa: svn up once more and make sure you have applied the latest installer updated. [20:19]
coaboamom [20:19]
RobertPlummermom? [20:20]
coaboamoment
;-)
[20:20]
RobertPlummerok [20:20]
chealerRobertPlummer: my trunk r37091 seems to keep working with minify enabled [20:20]
RobertPlummerchealer: What features do you have on? [20:21]
chealerRobertPlummer: many? :-S [20:21]
RobertPlummerchealer: Do you have on caching?
chealer: About what you said about adding the updates I added to wiki caching to documentation...http://dev.tiki.org/Including+JavaScript
chealer: I don't know if I need to really update anything, I just made it work.
[20:22]
coaboaso now I'am on 37093 still the same. Have to many features activated to post here: should I export yaml and drop to dev list? [20:24]
RobertPlummerchealer: It was really just a bug, or an incomplete feature, and I completed it. [20:24]
chealercoaboa: RobertPlummer was asking features to me (unless that was by error) [20:25]
RobertPlummerchealer: I asked him at 4:19:28 (est) [20:26]
chealerRobertPlummer: oh, sorry. sorry coaboa [20:27]
RobertPlummer:)
We all make mistakes.
[20:28]
chealerRobertPlummer: I do have the global wiki cache enabled. maybe it's simpler for you to check: http://ido.ath.cx:8080/tiki/trunk/ [20:28]
RobertPlummerlol [20:28]
coaboa;-) [20:29]
RobertPlummerAh, I see chealer you have played with codemirro a little.
#codemirror
[20:29]
chealerRobertPlummer: yeah, that was a test for the codemirror plugin. now working :-)
coaboa: I don't think telling us the features will be efficient. can you grant access to the problematic site?
[20:31]
RobertPlummerchealer: good point [20:32]
chealernkoth|nelson: is cs_design_categories() from wikiplugin_customsearch.php in use? should it be kept? [20:39]
nkoth|nelsonchealer, yes [20:50]
***CodyG has joined #tikiwiki [20:50]
CodyGpolom everyone... hope your day/night is going well. [20:51]
nkoth|nelsonchealer, all of the cs_design are called from within the plugin
line 34
[20:51]
luciashhi CodyG [20:52]
***Bernard has quit IRC (Quit: Leaving.) [20:52]
chealernkoth|nelson: OK, sorry, looked too fast [20:52]
coaboachealer: it's local dev machine [20:52]
nkoth|nelsonchealer: I mean line 204 [20:52]
CodyGhi luciash and everyone. i tried to upgrade to 7.2, had db error about perms column in user table, I carried on but couldn't get a successful login.
i guess i'll try again tomorrow
[20:53]
chealernkoth|nelson: yeah, thanks [20:53]
***Trebly has joined #tikiwiki [20:53]
coaboahave to go [20:54]
***Bernard has joined #tikiwiki [20:54]
coaboagood night [20:54]
***coaboa is now known as coaboa|afk [20:54]
CodyGor might i have had the issue because i tried to upgrade from tiki 7.0? [20:55]
luciashCodyG: 7.2 isn't out yet, right ? [20:55]
CodyGright, it isn't, i know that
but i like to jump in there and try things
[20:55]
luciashok, might be some bug slipped in
i didn't test recently myself
[20:56]
CodyGi have a scr capture of the db error. [20:56]
luciash7.2 [20:56]
CodyGshould i post it somewhere? [20:56]
***Bernard has quit IRC (Ping timeout: 260 seconds) [20:58]
luciashCodyG: http://dev.tiki.org/Tiki7 [20:59]
CodyGI've got tiki 7.0 on this domain/subdir and maybe I should have done a 7.1 upgrade and then a 7.2 upgrade.. but the new stuff is more fun. ;) I'm putting 7.1 on that domain now.
ta
[20:59]
luciashCodyG: make sure u did db update and cleared cache [21:00]
CodyGyes, did all that [21:00]
luciashCodyG: add it to blockers if it prevents usage [21:00]
CodyG7.2 isn't mentioned on that page, i got it from the svn [21:00]
luciashfeel free to ad it - it will be sorted out
add
[21:01]
CodyGI probably needed to go to 7.1 on that domain, so tomorrow i'll do an upgrade of another domain and try 7.2 again. [21:01]
luciashok [21:02]
CodyGi just can't keep my fingers off the new tiki. ;) [21:02]
luciash:D [21:04]
RobertPlummernkoth|nelson: Is there a language picker that I can use for that forum feature?
Or you want it to be just <input type="text" />
?
[21:07]
nkoth|nelsonRobertPlummer it should be the same picker as for say, a wiki page, it reads the alliwed languages set as a pref on the system [21:08]
RobertPlummerok [21:08]
luciashyup, re-use code [21:08]
CodyGoops, i just broke something. After 7.1 install I had the same login issue as I had with the 7.2 install. The install worked fine until it tried to create a lock file. There is no lock file in /db. So, no lock file to remove and re-run tiki-install. [21:15]
nkoth|nelsonanyone used autosavefields and autosavevalues in trunk wikiplugin_ttacker? I have a problem with it and debugging... [21:16]
CodyG, no lock file means you can just re-run [21:27]
CodyGi found the lock file using cpanel file manager... bad filezilla, bad! but now i'm in an install loop when I think I should be at a login it takes me back to the beginning of the install loop.
i repaired the db already
that didn't help, not much in that db anyways. perhaps i should install the backup mysql.
or maybe it's a file
or maybe it's almost time to walk the dog... 2:30pm here on vancouver island.
[21:29]
CIA-12tikiwiki: 03robertplummer * r37094 10/trunk/ (5 files in 5 dirs): [NEW] Added forum language to db and forum admin page [21:34]
nkoth|nelsonwhy is it in iwikiplugin_tracker sometimes it is ins_$f sometimes track[$f]? [21:34]
CodyGbbl [21:35]
CIA-12tikiwiki: 03robertplummer * r37095 10/trunk/lib/profilelib/installlib.php: [FIX] Added forum_langauge to profile installer for forums [21:37]
RobertPlummernkoth|nelson: I am going to work on the adding of language a bit more tonight, but I have to hit the road for now.
nkoth|nelson: Looks like all that needs to be done is to add it to the search indexer and the forum posts.
I'm out.
[21:39]
nkoth|nelsoncylater [21:40]
***RobertPlummer has quit IRC (Ping timeout: 260 seconds) [21:44]
CIA-12tikiwiki: 03nkoth * r37096 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [FIX] autosavefields not saving [21:45]
tikiwiki: 03nkoth * r37097 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [REF] The use of track should have been gone from Tiki by now with all that refactoring, and anyway it does not seem like ['track'] is being handled anymore anyway [21:50]
tikiwiki: 03nkoth * r37098 10/trunk/lib/wiki-plugins/wikiplugin_tracker.php: [FIX] saving of autosavefield with value of pref not working [22:02]
***arildb has quit IRC (Quit: Leaving) [22:11]
chealer255 characters for a language... that can't be called casting everyone in the same mould! [22:19]
***Trebly has quit IRC (Ping timeout: 260 seconds) [22:20]
luciashchealer: ?
255 should be enough for language name
[22:21]
chealerluciash: definitely! [22:23]
luciashyou think it is too much ?
sorry, i din't understand your j(f)k
;)
[22:24]
chealerwith that length we can probably uniquely identify every human's way of speaking :-)
luciash: yeah, that was an understatement ;-)
[22:24]
luciashbut there can be some really long ones i guess in the world
i mean some ethnic groups or natives can have long language names
[22:25]
chealer(I don't really think it's a problem, let's just say it's very safe :-) ) [22:25]
luciashyup yup, good thing (tm) [22:25]
chealercould be he didn't feel like reading the whole http://www.faqs.org/rfcs/rfc4646.html :-) [22:29]
luciashah, we talk about language tags only ? anyway, zh-Latn-CN-variant1-a-extend1-x-wadegile is pretty long [22:33]
chealerluciash: yeah, these tags can be pretty long compared to the longest language names you could imagine :-) [22:37]
***arildb has joined #tikiwiki [22:42]
arildbHi, I am looking into adding a check in the Tiki installer to see if 1) IIS is running and 2) if so, check if "problem files", due to a missing URL Rewriter module, are accessable or not. The IIS check works fine. Info is in the PHP environment. I am having a little problem checking the file access.
I tried file_exists....but that is a PHP call, and I assume server side calls will work OK. So, I will need to integrate client side Javascript...or something like that...in the installer.
[22:45]
luciashhi arildb [22:48]
arildbluciash: Hi [22:48]
luciashisn't there any internal check for the web.config file simmilar to .htaccess one ? like if the mod exists ... do this
i mean apache rewrite module
if IIS has something like that to check
[22:49]
arildbThe problem is that the rewrite rules defined in web.config only will work if the URL Rewrite module is installed. I haven't found a way to check if the actual module is installed or not. So, I figured I'd try to check the file access. [22:51]
luciashapache .htaccess has this: <IfModule mod_rewrite.c> ... </IfModule>
did u look if web.config has some simmilar syntax to check if module is installed ?
[22:51]
arildbIt's similar in IIS, but the URL module does the interpreting. If it's misisng an error occurs and files become inaccassable
I see what you mean. I will check
[22:52]
....... (idle for 34mn)
chealerhi arildb [23:26]
arildbchealer: hi [23:27]
chealerluciash: the goal is to determine from the installer whether the IIS module is available, not really to prevent HTTP errors in these directories.
arildb: that's so complicated, it's a shame if IIS doesn't advertise that to PHP. but if we have to go on that road, you can still do it in PHP by doing an HTTP request.
[23:30]
arildbchealer: That's the along the path I was thinking. I cannot find any means of checking for the presence of the URL Rewrite module in web.config (so far), like luciash suggested. My original idea was to test it, by simulating a request to a "problem file". If it goes through, URL Rewrite is probably installed. If not, probably not.
So, the next challenge is to send the HTTP request (client side) from PHP. Any ideas?
..and then interpreting the result in PHP
surely complicated..
...or actually...it could all be done client side, since all I am aiming for is to notify the user, if the URL Rewrite module is missing.
[23:35]
***RobertPlummer has joined #tikiwiki
RobertPlummer has quit IRC (Client Quit)
[23:40]
arildbQ: What would a Javascript look like that returned a boolean if a file could be loaded or not? [23:41]
***RobertPlummer has joined #tikiwiki [23:41]
chealerarildb: I'm not sure but there's tikilib->httprequest()
arildb: that may not be safe to call from the installer though, unfortunately :-(
[23:42]
nkoth|nelsonarildb: you mean you want to check if a certain url returns something or an error? [23:43]
arildbchealer: I got a googled hit on jquery .load(). Do you know if jquery is available at install time? [23:44]
nkoth|nelsonyeah, I was going to ask the same question [23:44]
chealerarildb: I suppose you could do it with JavaScript too, although it would be ideal to know whether the server is IIS [23:44]
arildbchealer: My assumption is that if a known problem file cannot be loaded, the installation is probably running IIS and does not have the URL Rewrite module [23:45]
chealerarildb: not sure, but wouldn't rely on that
arildb: oh. yeah, or could have first checked whether the server is IIS.
[23:45]
arildbchealer: yes, better to know if IIS or not, but not necessary. All that's needed, I believe is to give a hint to the user if a "problem file" cannot be loaded [23:46]
chealerarildb: yeah. you could try http://framework.zend.com/manual/1.11/fr/zend.http.client.html [23:47]
arildbchealer: checking...but would that be server side? [23:47]
chealerarildb: yes [23:48]
arildbchealer: I believe on the server the error is not visible [23:48]
RobertPlummernkoth|nelson: You around? [23:48]
nkoth|nelsonRobertPlummer, yes [23:48]
Tiki|botNew Forum Posts: zip download broken in 7.1? - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=42208 [23:48]
RobertPlummernkoth|nelson: So Search_ContentSource_ForumPostSource is what needs updated to index language correct?
For indexer
[23:49]
nkoth|nelsonI think so [23:49]
RobertPlummerok, I will make sure. [23:49]
chealerarildb: I don't see why the error wouldn't be visible from the server side. IIS doesn't really make a difference between a local request and a remote request [23:49]
nkoth|nelsonRobertPlummer: I am 91.7% sure
lol
[23:50]
chealer(the user agent could be on the same machine as httpd too) [23:50]
arildbchealer: maybe you are right. Let me check it a little [23:50]
RobertPlummernkoth|nelson: I am I think it is more like 60/60. [23:50]
chealerbbl [23:51]
***redflo has left [23:57]

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