New Forum Posts: HTML files in file galleries - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=34896
hum, ~250 CAD for the round trip. that's a bit more than I thought
(via rail)
or hoped, anyway
chealer : some people will go from Ottawa
chealer : what is your best guess window for completion of modules?
marclaporte: good. would they go on the first and come back on the 5th?
I think so
marclaporte: hum...
marclaporte: looks like this would help - ~ 145 CAD
I'll decide in some time
marclaporte: completion of individual modules or the whole thing we discussed including the infrastructure?
just the modules
New Forum Posts: Borderless table - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=34898
marclaporte: we're at 1700 lines of module PHP code, down from 3700. window meaning at which date I think I would be done?
yes
at this rate
marclaporte: I also hadn't taken into account the modules which do not have a PHP file when we discussed (completely forgot about them)
ok
Am wondering if we can be 100% new module style in time for 4.0 Beta
ah, so we're supposed to be frozen now
marclaporte: yeah, that should be feasible
s/should be/is/
yes, we'll freeze for inclusion of major features
tomorrow
but minor things can continue to come in
depending on the judgement of the release managed
release manager
and since no one volunteered, that's me :-)
hehehe
I am in favor of letting you continue work on modules until the last minute
because I feel you solve more bugs than you introduce, all while improving the system
and it's only once we are 100% in new module system land that we'll be free to improve stuff for real
(in 5.0)
marclaporte: I'd agree. for now, I'm aware I caused 1 regression, which was normal-important. it's possible others fixed other regressions, though I tried to look at SVN logs and should have catched most.
perhaps 2 regressions, not sure
If you can make it to Toronto and have everything finished by the end of the event, that would be quite nice
(ignoring quick self-fixes :) )
hehe
(i know i should be abed by now but) i have a couple more 'wishes' for 4.0
jonnyb: : tell us!
jonnyb: : you are doing a superb job on interface. Congrats!
autocompletes on plugin fields (page, users, groups)
abed - having strong abdominals?
jonnyb: ah yes. Would it be easier if plugin window was jquerified like table builder?
maybe a'bed...
improvments to IMG plugin, with drop-down menus; this is very cool
jonnyb: oh, right. you're more likely to get a'bed than ab'ed.
we can do more of them after freeze ("we")
autocompletes on plugin fields (page, users, groups) -> is it about adding a class to the field?
:) chealer
yup
and a tiddly bit of jq
so far, wiki pages have code ready. But not user & group picker?
oh, and making the feeds for users and groups (others?)
'deed
yeah, we'll need that all over
jq-ui calendar pickers too
textarea resize? (medium-trivial)
:-)
toolbar search/replace
about a weekend's work? (and i was just dying to do my filing)
a week-ends work for which part?
textarea resize is low priority because we have an alternative (+ full screen thing)
if only someone (else) could do autocompletes on trackers ;)
hahahahah
weekend = as much as i can manage
I'll be online this week-end
just let me know how I can help
too far away to make the coffee :)
marclaporte, luciash: regarding PostgreSQL 7, I hear that should be EOLed this year, so not worth much efforts
ok
i just typed "forward-slash sylvieg scared of jquery?" and it disappeared... wonder where it went (irc is a strange place)
tikiwiki: 03chealer * r22150 10/trunk/lib/tikilib.php: simpler implementation for r22119 ([ADD] switch for postgres when $query_cond is empty because resulting "SELECT FROM ... WHERE 1 AND ..." didn't work)
Postgresl 7 is what cPanel seems to be offered with
tikiwiki: 03chealer * r22151 10/trunk/lib/core/lib/Perms/ResolverFactory/CategoryFactory.php: [FIX] hopefully last shot at identifier quoting here
chealer: I am ok with setting requirements to recent versions of PG
marclaporte: yeah, my point was perhaps even stronger. if we didn't achieve pgsql support in 5 years, it's a loss of time to try supporting old versions.
agreed
Same thing for Windows Server 2003 support
debian still ships PG 7 in oldstable, but that won't be supported in a few months. cPanel must need to upgrade
we should first focus on Windows 2008 support
woo, flashy Kalture icon
!help
You can get a more complete list of commands that work with this bot at http://tikiwiki.org/TikiBot .
tikiwiki: 03marclaporte * r22152 10/trunk/lib/setup/prefs.php: [FIX] Avoid unwanted message in admin panels
hey guys, anybody wants me to merge this User Information page revamp to trunk ? → http://healingprofiles.com/tikiwiki/tiki-index.php
err, i mean http://healingprofiles.com/tikiwiki/tiki-user_information.php?view_user=test
i should get some sleep too i guess :-p
luciash : looks good
a bit large though
I guess with modules, it looks just right
you mean the site width is large ?
yes
tiki-user_information.php -> does this also show actions? (forum posts, wiki page edit, etc...)
yep, but the user information page i mean
yep, let me enable it
i am revamping the user preferences screen too, but not done yet
i am asking because tomorrow/today is the feature freeze day
marclaporte: reload the page
you will see the contribution tab
just template re-org?
yes
haven't touched the php for this page
if you are there to fix reported bugs, go for it!
fix reported bugs ?
I mean if you break stuff...
i don't break stuff, i just try to make it look nicer ;)
:-)
go go go!
:)
polom
experiencing white screen with trunk in my wamp server here, at r21152.
heh, sorry, was a server problem. it's ok now.
tikiwiki: 03chibaguy * r22153 10/trunk/styles/layout/design.css: [FIX] Toolbar picker (special characters) link color needs specifying to ensure good contrast (Darkroom had problem).
5
luciash: my problem with the application menu is gone. I'm looking at user modules breakage
luciash: if you still get empty application menu, tell me
luciash: hum, all modules seem to be working now...strange
ah, still one doesn't work
chibaguy: yeah... I only tried a few. switch theme doesn't show.
oh....right
switch theme
I should have known better
chealer: great ! thanks for helping with those fixes ! looking forward to svn up but dead now... gotta take some nap... later guys !
ah, switch theme requires user preferences enabled
luciash: heh, good night
good nigh... morning :-p
:)
cya later luciash :-)
luciash: yeah, got it now
chibaguy: speaking about switch theme, it won't hurt to mention when the bug was introduced in your report
right. I'll check on that.
How do I enable a feature that I installed using the modules/themes/features installation? (FYI: It doesn't appear in the features admin section).
dcedilotte, I'm not sure what feature you mean, or how you installed it.
chibaguy: in the "Admin mods" section. I installed tinvoice. It appears in the menu as "My Invoice" but when I click on it, I get a message saying that the feature is not enabled.
What version of Tiki are you using?
chibaguy: 3.2 but it's an upgrade of 2.0
very possible that tinvoice won't work with 3.2. I don't think anyone's been maintaining it.
chibaguy: in that case, do you think people would mind if I tried to fix it?
sure, feel free.
chibaguy: cool. I'll look into it tomorrow. Thanks for your help though.
ok. actually the admin mods feature itself may not work completely.
So you should probably get around that by iinstalling the tinvoice files manuallym
is it normal that the issue tracker doesn't automatically set Submitted by when I'm logged in?
tikiwiki: 03chibaguy * r22154 10/trunk/styles/darkroom.css: [FIX] Same padding for button and button hover states to avoid movement during mouseover.
tikiwiki: 03chibaguy * r22155 10/trunk/pics/icons/ (12 files): [MOD] [MOD] Gray-scale versions of bright blue icons for better compatibility with various theme pallets.
What clues should we see that workspaces are happening in a trunk install? I can make a new workspace and group, assign a user to the group, activate the prespective module, and log in as that user, but everything looks the same and I don't notice any effect from the feature.
btw, I had to add feature_perspective by hand in the db to avoid the error. I didn't see a checkbox for it.
and apparently it wasn't added any other way.
tikiwiki: 03chealer * r22156 10/trunk/installer/tiki-installer.php: [FIX] SMARTY_DIR was set to a relative path
polom
tikiwiki: 03chibaguy * r22157 10/trunk/templates/tiki-show_page.tpl: [MOD] Reduced clutter of structures icons and links: replaced table with divs, moved "home" icon to left (more logical, standard position), moved hierarchy number to structure icon link title (visible on hover).
tikiwiki: 03axold * r22158 10/trunk/db/ (5 files): [FIX] Fixed a bug in sql statement
tikiwiki: 03axold * r22159 10/trunk/ (2 files in 2 dirs): [FIX] Removed Workspaces Dev Tools
tikiwiki: 03axold * r22160 10/trunk/ (2 files in 2 dirs): [FIX] Solved a bug in tiki-manage-workspaces.tpl
jonnyb: morning
marclaporte: more or less ;)
jonnyb : how do I add a preference check on a tool??
in toolbarslib.php... which tool (they're all a little bit different)
basically you set it with $tag->addRequiredPreference('prefname')
feature_filegals_manager
have a look at line 1146 (for switch editor)
something similar should work for that (tikiimage)
1146: I see return parent::isAccessible() && ! isset($_REQUEST['zoom']);
by the way - i seem to be unable to admin my local tiki... and perm denied to change the perms :(
ok, sorry - 13 lines above that (i'm editing...)
most odd - admin user (userid=1) doesn't seem to have $tiki_p_admin anymore (was fine last night...)
I noticed weirdness as well
on an old tiki (was edit_fixup) on the same database it's fine...
but looking at the commits after i crashed last night there's nothing perm looking happened...
can you add feature_filegals_manager to the image picker? (I will do the others following your example)
Nelson did a fix on tiki-assignpermission.php (aren't we going to kil that eventually?)
ok, but i can't test anything here now :(
so can't do anything - i'll go to the shops (need food, exercise, sunlight etc)
(added the feature_filegals_manager thing but need to finish some other stuff before committing) - back in 30
tks!
hi marclaporte and jonnyb
polom luciash
tikiwiki: 03marclaporte * r22161 10/trunk/lib/toolbars/toolbarslib.php: [MOD] sub and sup shouldn't be in wiki syntax list since they are in plugins. Jonny: please confirm. Tks.
hello everyone :-)
polom chibaguy, luciash & all
jonnyb: i have CSS validation error on cluetip, property zoom is not correct CSS or something... anything we can do about it ?
hi chibaguy !
tiki4 is looking good guys
yes, i spotted that luciash - i guess you could fix the file and let the guy know?
i believe it's an ie6 hack
:)
yup, must be something like that
anyway - off out now - back soon
c u
chealer: i svn upped my local pgsql trunk but still no menu :(
chealer: when i clear the tiki cache i only get "Resource id #190" in the mnu_application_menu module
New Forum Posts: Large files causing Error 500 Server failure - are there TW database size limits? - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=34904
polom
chealer: the menu works in sitemenu bar in siteheader though
hi dthacker
tikiwiki: 03marclaporte * r22162 10/trunk/lib/setup/prefs.php:
tikiwiki: [MOD] Turn off __Use File Galleries to store pictures__ on barebones installs,
tikiwiki: until it can be made simpler to use. For reference, see long discussions at
tikiwiki: http://thread.gmane.org/gmane.comp.cms.tiki.devel/12221
tikiwiki: http://thread.gmane.org/gmane.comp.cms.tiki.cvs/46355/
marc: is there some admin operation on themes ?
changi, what do you mean by admin operation?
I've been taking care of themes.tikiwiki.org pretty much.
i was connected in ssh and suddenly a fork problem, " ls command not found", not prompt etc..
Hello!
ah, I don't know about the server on that level.
Is it normal that the database dropdown on tiki-install is empty?
it came back :)
hi ohertel. where do you see the dropdown?
Tiki-install, 4. Database Connection
empty dropdownbox and a (?) button that does nothing.
Am I on the current branch with -trunk? ,)
correct
hi ohertel - that certainly sounds like a bug
tikiwiki: 03chibaguy * r22163 10/trunk/styles/ (feb12.css layout/design.css tikinewt.css): [FIX] Same padding for button and button hover states to avoid movement during mouseover.
there have been changed in DB stuff for pqsql - might have hit something... i check here
tiki4 is on trunk, right?
yup
Not that I am working on something false. :P
this is on an upgrade? (existing db connection?)
No
Just did an fresh checkout to have a look at the german translation.
But fail at the installation. :P
i get db menu even as a new install - i see mysqli, mysql, pgsql, sqllite
Not me. :-/
i picks these up from what's compiled in php i tihnk
what's your phpinfo like?
hi all :)
maybe it's a pdo vs adodb thing
Is there french's speaker ?
I get only mysql and mysqli in my wamp server.
mmm marclaporte seem to be a french name ... :)
(so it reports what it finds, apparently, as jonnyb said)
jonnyb: :)
I am on windows and have a default apache+php installation. Usually works without adding mysql somewhere. :-/
oui olinuxx
So i try in english : in tikiwiki (linuxmao.org) i want to know if there is a solution for .........
super marclaporte :)
:P
est-il possible de savoir si une image dans wikiup est orpheline ?
c'est à dire si elle n'est plus attachée à une page wiki ?
je pense qu'o en a sur linuxmao
+n
marclaporte: ?
peut être es-tu occupé ?
let's move to French space
olinuxx: there's a button in admin/wiki labelled "Remove unused pictures"
marclaporte: as you want, where ?
as jonnyb says (But I would make a backup first)
i've never tried it but if you backup your wiki_up you could do a compare after
#linuxmao ?
I saw bug reports about that
jonnyb: ok, what good news :)
jonnyb: ok, so i've to ask to GillesM if i can make this (i've not the admin right)
what ?
#linuxmao GillesM :)
ok
tikiwiki: 03jonnybradley * r22164 10/trunk/lib/toolbars/toolbarslib.php: [FIX] Add perm check (for feature_filegals_manager) on ToolbarFileGallery tool
bye
tikiwiki: 03jonnybradley * r22165 10/trunk/lib/toolbars/toolbarslib.php: [FIX] Partial rollback of r22161 - sub and sup should be there as ToolbarFckOnly tools
tks jonnyb, I wasn't sure about that
:)
tikiwiki: 03luciash * r22166 10/trunk/templates/tiki-user_information.tpl:
tikiwiki: [MOD] user information screen revamp - code indentation, converted to tableless + use tabs when tabs on + other enhancements
tikiwiki: [FIX] some user information WYSIWYCA fixes
tikiwiki: 03frank_p * r22167 10/branches/2.0/lang/sv/language.php: translate "Table of contents"
wow
Frank_p is living in the past :-)
tikiwiki: 03luciash * r22168 10/trunk/styles/ (darkroom.css layout/design.css strasa.css):
tikiwiki: [FIX] darkroom theme: contrast fixes bg vs fg
tikiwiki: [MOD] don't limit odd and even classes only to tables
tikiwiki: [ADD] odd and even classes defaults to design.css
marclaporte : no, tikiwiki 3 no run on my online server
php4 ?
this is the problem
php 5.0.4 and mysql 5.0.41
tikiwiki: 03frank_p * r22169 10/branches/3.0/lang/sv/language.php: translate "Table of contents"
tikiwiki: 03marclaporte * r22170 10/trunk/lib/prefs/multidomain.php: [FIX] typo
tikiwiki: 03jonnybradley * r22171 10/trunk/lib/tiki-js.js: [FIX] Failed when selectionStart == 0 (i.e. at the beginning of the text)
tikiwiki: 03jonnybradley * r22172 10/trunk/lib/tiki-js.js: [FIX] Oops, simpler/better test for moz/gecko browsers
tikiwiki: 03jonnybradley * r22173 10/trunk/lib/toolbars/toolbarslib.php: [ENH] Find and replace wiki edit tools
jonnyb: do we have test on javacript for toolbars yet? noJS: they disappear
i haven't checked recently
i never got my head around Tests (like unit tests)
oh, sorry - see what you mean
um...
doesn't look like it - i'll add one
I am at a loop now... told it to install the db, restarted when the 'choose profile' came, and now I cant get out off the "tiki installer security precaution".
filling in the fields just resets the page.
sucks.
ah - are you in windows 64 bit system?
yes
i heard about this - very odd bug, only on win64
That doesnt help...
that has to work.
it does a logout at the end of the installer now, to flush prefs etc
tikiwiki: 03marclaporte * r22174 10/trunk/lib/wiki-plugins/wikiplugin_img.php: [MOD] IMG plugin: Most obvious/important questions should be at top
yes, we need a developer with one of these systems
apparently not happening on 32 bit systems
As soon as I have a local.php, the installer is broken.
and this is a fresh install, y? so you haven't been logged in before?
I guess with windows 7 most people will have a 64bit OS.
No, not logged in yet.
It's funny, each time we do a release of Tiki I have some serious install-from-scratch issues....
when you get to the last page on the installer you can just go straight to tiki-index.php (without clicking the "enter tiki" link)
and I am a tiki long time admin... so how shall this work at all for new users?
it should be fixed
jonnyb: I know, But I cancelled at the "profile selection".
you have a local.php then and no data in the db yet.
so you are lost.
ik
Cant start with tiki-installer again, and cant login to tiki either.
delete the local.php?
Sure *I* can do, but what about the default newbie installin on his shared webspace?
tikiwiki: 03jonnybradley * r22175 10/trunk/lib/smarty_tiki/function.toolbars.php: [FIX] Toolbar check for JS
tikiwiki: 03marclaporte * r22176 10/trunk/ (3 files in 2 dirs): [FIX] Add perspective and MultiDomain to the admin panel
Ok, it doesnt even import the profile in DB. At that point it breaks.
luciash: thanks. yeah, I think I found where the issue comes from. I was too tired to report about my progress "yesterday night", I'll do it after my breakfast
So Tiki4 fresh install not working on win/64bit. that sucks greatly.
wtf
jonnyb : tiki-admin.php?page=wiki -> Regex search and replace this can be removed? And people just need to put in their toolbars?
hello there
hi Kissaki
marclaporte: i reckon - less prefs are better prefs (i'm still checking it in the tool tho)
ok
can someone fix the installer security precaution? :-/
I seen the themes available at themes.tikiwiki.org, is there any other sites that has themes
tikiwiki: 03ohertel * r22177 10/trunk/lang/de/language.php: updated translation, fixed umlauts, completed installer translation
ndowens01: i don't know any other
ndowens01 : http://zukakakina.com
"completed installer translation" as far as I came... as it breaks. :P
thanks :-)
hi ohertel. still eating breakfast, but which security precaution do you get?
completed installer translation
er
$title = 'Tiki Installer Security Precaution';
that section in tiki-install.php
Where it checks if local.php is available.
Seems the $_SESSION['accessible'] = true; somehow fails.
tikiwiki: 03lphuberdeau * r22178 10/trunk/lib/workspaces/wslib.php:
tikiwiki: [FIX] I18N
tikiwiki: [FIX] Set-up category jail (not fully functional because hidden categories are not auto-assigned, but category jailing works where deployed for objects categorized in the workspace)
tikiwiki: [ENH] Set-up permissions view for the perspective to prevent non-members from seeing it.
cause I end in a loop on that precaution window...
ok, that's the "For your protection, this installer can be used only by a site administrator" one
no
not that one
line 77
Has nothing to do with the db/lock
// Installer knows db details but no login details were received for this script.
ohertel: well looks like that one to me, what message do you have if not?
Sure there are no login details, cause the profile wasnt even installed yet!
Right when I click "Install" on the profile page, I get that error.
And even filling out the username+password for the Db just gives me the same page again.
tikiwiki: 03jonnybradley * r22179 10/trunk/lib/toolbars/toolbarslib.php: [MOD] Change the way dialog tools init button (etc) data to allow more customisation per tool
ohertel: I don't see why you would need to install a profile to have login details. these are DB login details.
yah, whatever...
I cant get past this page.
it shouldnt even pop up on first install, as I just gave the data for db access 2 pages ago. and it has the local.php file now.
But still prompts me.
somehow the if (isset($_SESSION['accessible'])) { is always false...
ohertel: so you're hitting the file_exists('db/local.php' clause, but you miss the $_POST['dbuser'] == $user_tiki) && ($_POST['dbpass'] == $pass_tiki) clause?
no idea.
There is no need to use any post data as all it needs comes from the local.php.
I guess this part is some "security gone wrong".
I am unable to complete a fresh install now. On windows.
Ahm, uhm, so where are the dbuser/dbpass set at all? As post params? Cant find it...
tiki-install.tpl has user/pass only-
Hm, only this precaution block sets those via the form. So you get it always, even if you had entered the data 2 steps back... that is no good.
ohertel: there is. you have to compare the DB login details with those provided by the admin/user.
er, no why. maybe you dont understand:
I go through the install pages ...
I enter the new database connection data
i choose a profile
NOW I get asked that I need to make sure I am the admin, by typing the connection data again.
Thats ridiculous for a first install.
And it even fails to go on after that.
ohertel: that is a bug, for sure
tikiwiki: 03jonnybradley * r22180 10/trunk/lib/toolbars/toolbarslib.php: [ENH] Another dialog tool - wiki links
ohertel: you can argue there is no need to check credentials until the *installation* is completed, but tiki-install.php is not only used at the installation.
Yes
But it doesnt work at all.
that security check just prevents any further step.
Someone said it is a windows 64bit problem, but I dont know why apache/php should handle posts and stuff different on windows 64bit systems.
Oh and one thing:
if (empty($_REQUEST['install_step'])) { $install_step = '0'; } else { $install_step = $_REQUEST['install_step']; }
jonnyb: did you see edit warning popup bugs on admin modules? it seems related to the text area to create a user module.
that parts is in tiki-installer.php
But never gets executed when you get that security thingy...
so the process will loose which step you were at, currently.
Who wrote that part? he should go fix it. :P
hi chealer - yes, seen it fixed it broke it seen it again ;)
jonnyb: OK...well, as long as you're aware of the problem
on it
ohertel: it's not like you're supposed to hit Tiki Installer Security Precaution somewhere other than at step -
ohertel: it's not like you're supposed to hit Tiki Installer Security Precaution somewhere other than at step 0
ohertel: but to answer your question, *IIRC* luciash committed [some of] the code, but he told me mose was behind it
So where should it know from that it is in a first time install and not called later? I see no code for that.
as soon as it wrote the local.php, the installer thinks "this is a later call, lets do the security check".
And as the local.php is written before you select and install the profile --> security popup.
ohertel: that's what I was explaining, it does't know (but it doesn't need to neither)
Sure it does, cause it fails right now.
ohertel, you are known to use apache security mods... isn't this some reason for your installing trouble on that system ?
I am on my local apache with no modules at all.
ok
Only the needed ones, mysql, php...
just a thought ;)
I just guess no one except me ever does clean installs.
did you try one? can you go through the full install?
ohertel: i do
to test stuff on my localhost
it's 32 bit ubuntu though ;)
That shouldnt be of any matter.
last fresh install was the pgsql test of trunk here
if posts and session data and stuff is handled differently on ubuntu/windows and 32/64 bit, then something is really borked.
64bit mac os - last clean installed a couple of days ago, no probs (except clunkiness)
i can quickly try svn co of trunk and test with new db if you want
ah, you're on windows... well, no way to test here :( i use linux exclusively
but i haven't touchet installer more than one year i think
anyway
*touched
tikiwiki: 03jonnybradley * r22181 10/trunk/lib/smarty_tiki/block.textarea.php: [FIX] Stop 'save last changes' dialogs on beforeunload when textarea not changed as the form is shared
ohertel: no, that's not the installer's reasoning
ohertel: as I wrote, you don't need to have a profile installed, we're talking about DB credentials
Yes...
But the install process fails ...
to get tiki running, you need to install a profile.
and then clicking "install" on profile page, you get that security page, and have a fallback to step 0.
and then-> and then
grrrrrr
"and when"
ohertel: I maintain that's not why it's failing. you're just assuming the installer knows whether we're on an initial install, but that's not the case.
I dont care WHY it is failing.
,)
Its broken for me.
Thats all that matters.
If you have any idea how to fix it, tell me. :P
I'm pretty sure the installer isn't generally broken
ohertel: well, it would help if you'd answer my questions
which question?
I answered I am on local apache, not on my linux with mod_sec
that was luciash's question
[13:32:51] ohertel: well looks like that one to me, what message do you have if not?
doesnt make any sense like that, without the context.
if not what?
There is no message or something... I go though install, on "Install" profile I get the security page and am back to "choose language".
No other messages, no nothing.
ohertel: what message do you have if it's not the "For your protection, this installer can be used only by a site administrator" one I was asking you about?
as I said. no other messages.
On http://127.0.0.1:8080/tiki-install.php?install_step=4 (install profile) I get Tiki Installer Security Precaution
ohertel: OK, could you give us a screenshot or make a screencast of your issue?
and as soon as the local.php exists, I then get "Tiki Installer Security Precaution" even right after the language selection...
http://xp2.de/pix/TikiInstallerSecurityPrecaution.png
right before i click "install" on the profile selection page.
right after I get the language selection
ohertel: that *is* precisely the message you claimed you didn't have
???
I said several times I get this precaution message.
nothing else.
[13:31:42] ok, that's the "For your protection, this installer can be used only by a site administrator" one
[13:31:48] no
[13:31:51] not that one
anyway
[13:37:05] ohertel: so you're hitting the file_exists('db/local.php' clause, but you miss the $_POST['dbuser'] == $user_tiki) && ($_POST['dbpass'] == $pass_tiki) clause?
Dont know where it fails.
As it looks in the code, the dbuser and dbpass are never set except in this precaution block.
And as the precaution block doesnt know which step we are in, it will fall down to language section afterwards.
And as the dbpass and dbuser are ALWAYS checked in POST variables when there is a local.php, you will ALWAYS get that page on first install, too.
Or do I miss something in the code?
maybe the install should write the dbuser/pass into the SESSION and if it is there the security page is blocked?
ohertel: I'd strongly recommend starting by checking if you hit the file_exists('db/local.php') clause
ohertel: dbuser and dbpass aren't really set in the code, they're POST values
PHP handles that
yah, i've seen. but html code is code, too. :P
So it is set in the code, via form.
and there is not much code to check ...
in the if (file_exists('db/local.php')) it gets the local.php data ...
if the file is not there, it sets $_SESSION['accessible'] = true;
So as I have the local.php when clicking "install" on the profile page, accessible is NOT set.
So it will show the security page.
hm, there is this set in the installer: $_SESSION["install-logged-$multi"] = 'y';
I could check if that is y and then discard the security page...
or i better set my own variable
what means the pattern used in installlib.php arounf line 150 in the default case, preg_split("#(;\s*\n)|(;\s*\r\n)#", $command) ?
splits the data at any windows and unix linebreak. :)
I can't see what the number sign does
I think it's just a replacement for //
yeah, I would understand "(;\s*\n)|(;\s*\r\n)"
AH
if you have regex with / in, you can replace the matching // around with # for easier handling. :)
and for my curiosity, why do we need / / (or # #) at all in preg_split()?
like if ($a =~ /\//) ... is easier to read if you use if ($a =~ #/#) instead
No idea why its needed there, maybe a bug? :)
ohertel: because I see preg_split()'s doc does use slashes everywhere
Hm, its with ## for oci8 and default, non in sybase and mssql ... strange...
weird code. :)
just reading on php.net... seems to be optional.
yeah, but sybase and mssql use split() instead of preg_split()
In the users examples, some use the ##, some dont.
ah hm...
on http://ca.php.net/manual/en/intro.pcre.php it says "The expression must be enclosed in the delimiters, a forward slash (/), for example."
looks ok for me like it is.
ah
so it's to allow pattern modifiers
ohertel: thanks much
I see some using //, some %% and some others use ##
yeah, I understand the use for different delimiters
Yah, using / if you are trying to parse paths is pretty silly. :P
Ok, I dont know how to fix the installer... what I tried doesnt work. :P
jonnyb: thank you
my pleasure
(well, by bug ;))
by=my
hehe
tikiwiki: 03chealer * r22182 10/trunk/templates/modules/mod-terminology.tpl:
tikiwiki: revert r22141 on mod-terminology.tpl
tikiwiki: [FIX] colon outsitde tr block
tikiwiki: [FIX] undefined terminology_profile_was_installed
tikiwiki: [FIX] unclosed p tag
tikiwiki: doc link should be English by default
tikiwiki: 03chealer * r22183 10/trunk/templates/modules/mod-terminology.tpl: it seems user guide page was renamed
tikiwiki: 03jonnybradley * r22184 10/trunk/lib/ (jquery_tiki/tiki-jquery.js tiki-js.js):
tikiwiki: [ENH] Wiki plugin edit form now jquery-ui'ified (if jq.ui available)
tikiwiki: Still optional, but at the moment comments can use plugins, so the lib is loaded for that it uses it even if feature_jquery_ui is off. Probably needs recifying.
tikiwiki: Oh, and testing on IE/Chrome - TODO
jonnyb: tks for jquerifying plugins
hope is ok - not the most tested code i've ever committed ;)
hehe
editing plugin still uses old code
yup - just a new shiny thing on the front
need to keep the old non-jq version in tiki-js.js as jq-ui is optional (Tiki 4.0) -> why do we want this?
isn't this keeping duplicate code? if JS is on-> Jquery, else, nothing (for lynx browser)
about a page or so - refactor later
jonnyb: did you also get the "Your edit session will expire in 1 minute.You must PREVIEW or SAVE your work now, to avoid losing your edits." popups on admin_modules after ~10 minutes? these seem to persist
ooh, good point chealer - forgot about that - will fix soon/later (pester me if i forget)
jonnyb: you mean pester you more? sure
:)
jonnyb: you realize that current find is not find & replace?
how do you mean?
replace is (find and) replace
fck has two...
find icon is broken 4 me
doesn't work either
new find tool has nice jquery interface. +1 but old find thingie permits Regex find & replace
so does replace - same code
I personnally use browser for search and see no value to this feature. But some people may ask
(icon for find coming, apologies)
ah?
i tried and nothing happened for me (even no find)
but there is no text box to put "replace" text
hi luciash - how about the other? (table, link)
(on Chrome)
hi jonny
the find one only does find
replace does replace
after svn up i see only "find text" in the toolbar
you prolly need to add it (on toolbars admin)
tikiwiki: 03jonnybradley * r22185 10/trunk/pics/icons/find.png: [FIX] Missing icon (oops)
ah, find works, but i dont understand: why i have to click the button to find (i tried enter and nothing happened)
second issue is i search for "ODE" and it highlights "wbo" in the wiki page code
tikiwiki: 03jonnybradley * r22186 10/trunk/lib/wiki-plugins/wikiplugin_img.php: [FIX] Don't give "not found" error if src set (may result in broken image if not found)
in Opera
non-trivial (i don't understand either)
http://www.google.co.uk/search?q=jquery+ui+dialog+return+key
actually it highlights anything but ODE in CODE ;)
in FF3.5 it works fine
luciash: the main problem remaining with postgres seems to be bytea fields, which are returned as stream resources instead of string. I've been diverted into the easier problem of the installer on which I'm quite advanced. still need to finish a regex job and I'll give my status
chealer: ooooh, bytea ??? it's a "spanish village" for me. thanks for letting me know and keep it on ! ;)
luciash: heh, seriously - google doesn't seem to know much about it. it's similar to MySQL BLOBs
can anyone think of a wikiplugin that has a page name parameter?
the jQuery UI Wiki Help is nice ! thank you jonny !
TRACKERLIST
some icing i thought 4.0 deserved
thx
chealer: ah
luciash: tiki_user_modules is a bytea, for example
luciash: TRACKERLIST's just MAD! any others? ;) (do you mean the 'wiki' param? btw?)
jonnyb: PluginInclue
PluginInclude
and it's one where a picker would be very useful
ta
related wish : http://dev.tikiwiki.org/wish1801
jonnyb is my hero for http://dev.tikiwiki.org/wish2668
i thought i'd remove the half finished in-page page name autocomplete now the dialog tool seems to work - it was always going to be flakey
ah?
ouch. I'm getting a PHP segfault on a preg_match_all("#(.*\r?\n)*#m", $command, $statements);
which is trying to get $command as a whole in $statement, in a single match
is there something wrong with that? it's useless, but I'm trying to get somewhere more refined after
there's a memory limit on preg things i think, chealer
jonnyb: and does PHP reach its memory limit with just a segfault?
wouldn't have thought so, but sounds sort of seggy
chealer: you miss ending parenthesis
jonnyb: if you think it's too flakey, we can try again in 5.0
luciash: hum, at which place?
chealer: ah, sorry, it was wrapped here, my bad read
ah, oh yes marclaporte - did you see it? firefox only and it didn't really work 100%
chealer: what does # there ? i know only /.../
it was very cool
it was very hacky
seemed to break sometimes
the browsers don't tell you where the text caret is (in pixels), so there's huge messing about to fake it
luciash: / is basically just a convention. installlib.php seems to prefer # #. I guess I could switch it to slashes, but these should work
ook
luciash: it's useful when you use slashes in a regexp...which is not the case here
chealer: preg_match can hold only limited bytes
luciash: what do you mean? I know $command is not too large for preg_match, because it doesn't with other patterns
in matches array
s/doesn't/doesn't segfault/
luciash: hum, that's strange, because $command has no problem to contain the whole tiki.sql
luciash: at worst, $statements should contain an array with a string as long as $command.
chealer: http://mobile-website.mobi/php-utf8-vs-iso-8859-1-59
chealer: it's considered a bug → http://cz2.php.net/manual/en/function.preg-match.php#88587
luciash: right. thank you :|
my problem is SQL comments in tiki.sql
combined with the multiline statements
and the fact that PostgreSQL errors with empty statements
tikiwiki: 03jonnybradley * r22187 10/trunk/lib/wiki-plugins/wikiplugin_include.php: [FIX] Missing filter
sylvie ?
sylvieg: i don't get line $smarty->assign_by_ref('filterfield',$filterfield); in wikiplugin_trackerlist.php
sylvieg: why is it re-assigned twice again on the folowing lines and never used in tiki-plugin_trackerlist.tpl ?
tikiwiki: 03jonnybradley * r22188 10/trunk/lib/tiki-js.js: [ENH] Page name autocomplete on plugin form (where filter=pagename)
sylvieg: the assigned $filterfield is not used in included tracker_item_field_value.tpl either
does wikiplugin_trackerlist.php include wikiplugin_tracker.php and some tpl where it is used is assigned there ?
luciash: how is the file gallery thumbnail called?
lindon_: tiki-download_file.php?fileId=1&thumbnail
is that the original jpg thumbnail or is it stored in file gallery?
in image gallery it's stored separately
it is the thumbnail which is displayed when you browse images in file gallery
you can even simplify the syntax btw: {img fileId=1 thumb=shadowbox}
ok
i'll fix the thumbnail thing
or colorbox
i will add the support for colorbox keyword now
sounds good
by the way, titles are still not showing up in coorbox
they are
but you have to use this syntax as with old shadowbox: {img src="tiki-download_file.php?fileId=2&thumbnail" link="tiki-download_file.php?fileId=2&display" rel="shadowbox[g];type=img;title=My Picture Title;width=640;height=480"}
in the rel=