I don't remember custom modules needing HTML plugin to accept html
anyway, do you have "Must be wiki parsed" checked?
missing that out for the custom module would lead to the white screeb
so, as the category thing is gonna be a backburner issue (http://doc.tiki.org/Permissions#Category_Permissions didn't have anything on point) a more generalized question: as to the permission for a tracker: if i set a certain group ONLY to have perms does that mean even the admin can't access it? thanx!
all this goes kinda hand in hand
admin is kind of superpowerful regardles of what is set
so i would be best to create say subadmins whom couldnt have access to a specific tracker unless they were part of a perm group right?
the whole deal is i have several projects going (in military intelligence we called it compartmentalization) and i dont really want everyone knowing the whole picture
correct
BIG SMILES! see y'all will have me taught sooner or later ;)
:)
nkoth: that was the problem, thanks for your help. :)
tikiwiki: 03nkoth * r36794 10/trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php:
tikiwiki: [FIX] Descriptions not showing for groups that user is in but not userChoice. No
tikiwiki: harm having allGroups being really all groups since list to add from is
tikiwiki: controlled by userChoice and so no extra groups will be shown anyway
can anyone hellpppp ,e
i need to chage max file upload litimit form 25 mb to 1000 mb
100mb
sophie_ : do you know how?
sophie_ Changing the PHP setting is not that difficult http://doc.tiki.org/Upload+file+size (or you can google it) but with such large files I can think of a number of other issues. If you are storing the files in the database (vs. disk) there might be issues - I would not recommend it myself... and also the connection might timeout because it takes a while to upload 100MB. If I am not wrong there is a way to uploa
FTP to a specified upload directory and then get it into the file gallery from there right? marclaporte
+1 to storing on FileSystem instead of DB: http://twbasics.keycontent.org/Configuring+File+Galleries
And directory batch upload is indeed interesting
tikiwiki: 03nkoth * r36795 10/trunk/ (2 files in 2 dirs): [ENH] Allow joining of multiple groups at same time from table layout
tikiwiki: 03nkoth * r36796 10/trunk/templates/wiki-plugins/wikiplugin_subscribegroups.tpl: [FIX] cycle table class
tikiwiki: 03nkoth * r36797 10/trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php: [FIX] Refine last commit, some missing non-critical checks and repeated line
tikiwiki: 03nkoth * r36798 10/trunk/lib/wiki-plugins/wikiplugin_subscribegroups.php: [FIX] Correct last commit, need refresh after update
tikiwiki: 03nkoth * r36799 10/trunk/templates/wiki-plugins/wikiplugin_memberlist.tpl: [ENH] Prevent accidental removal of oneself. If really want to leave group can use the Leave myself checkbox instead
tikiwiki: 03chealer * r36800 10/trunk/ (5 files in 4 dirs):
tikiwiki: [user:chealer:FINISHOFF] Workspace Helper: remove ws_container, rootCategId, reverting changes to categlib (22005, 21885, 21791, 21722, 21638 and 21000). Completes r22802
tikiwiki: 20110902_revert_rootCategId_addition completes 20100214_workspaces_remove_menu_items to cancel 20090921_workspaces
tikiwiki: [REF] minor cleanups
tikiwiki: 03chealer * r36801 10/trunk/installer/schema/20110902_revert_rootCategId_addition_tiki.php: fix svn:keywords (Id). for some reason, Aptana quietly fails to set this on new files
tikiwiki: 03chealer * r36802 10/trunk/lib/categories/categlib.php: [FIX] Categories: correctly maintain childcategs cache on updates and removals (from r28091)
tikiwiki: 03changi67 * r36803 10/trunk/templates/wiki-plugins/wikiplugin_subscribegroups.tpl: Cycle should be placed on tr and not td
sylvieg, regarding that searchbox, which theme are you using? - we got a custom theme developed, and I am thinking it might be the cause of the searchbox not working in our Tiki 7.1
Since they developed our them in 6.3 or something.
polom guys! :)
still dealing with my search box :(
it seems that params are incorrect.. but i don't know were to look for a fix!
polom
SJ-Jay: what problem u have with search box ?
well.. when sraching through the searchbox the search newer actually searches, but just directs me to the search page..
the URL looks like this from searchbox searches: tiki-searchindex.php?highlight=test&where=pages&search=Go
hmm, using indexed search or fulltext search ?
ah indexed search
but when i search inside the search page, the URL looks like this: tiki-searchindex.php?filter%7Econtent=test&filter%7Etype=&filter%7Ecategories=&filter%7Etags=
you need to rebuild your search index iirc
already done that
the search works within the search page
or if it is custom, you need to use tiki-searchrsults.php instead
it's only a problem when using the searchbox
ah
hmm
it alle happened after we changed to lucene
you need highlight=Foo param
that does the q
iirc
q like in ?q= or query
does your searchbox send the highlight param ?
yes
the URL looks like this from searchbox searches: tiki-searchindex.php?highlight=test&where=pages&search=Go
ah, hmm, weird then
if the URL looks the same like when you do search from the page directly ...
it doesn't :)
The URL looks like this: tiki-searchindex.php?filter%7Econtent=test&filter%7Etype=&filter%7Ecategories=&filter%7Etags=
when searching from the page directly
if it is a POST then you need some debug extension in your browser to see the params
ah, i understand now
different params
so you need to modify the searchbox params to match the Lucene params
yeah
you cannot find the tpl ?
just enable display TPLs in Admin panels and check the source of the page
do i have to customize the TPL to work with lucene? i actually thought that it was fully integrated with tiki 7
apparently not :-/ otherwise it would work out-of-the-box
maybe just some parts... somebody forgot the searchbox it seems ;)
did u try clear Tiki cache (just in case) ?
yeah :D
:)
if you make it optional in the tpl you're welcome to commit back to Tiki
;)
i will do :) but i spoke with sylvieg yesterday, about this.. and she told me that tiki.org is using lucene and search box is working..
sooo.. why are those changes not commited? :D
ah, you said u use own theme ?
any customized tpls ?
because they override the default ones (jic)
yeah we use custom theme.. but there are no searchindex.tpl
ok
only searchresults.tpl
but they shouldn't interfer with searchindex.tpl, or?
nope
but on tiki.org the search params look different
http://tiki.org/tiki-searchresults.php?find=test&boolean=on&boolean_last=y&search=Vyhled%C3%A1v%C3%A1n%C3%AD&exact_match=
hmm just tested doc.tiki.org and it is working
try doc.tiki.org instead
and it uses searchresults
not searchindex
try to switch that
doc does
maybe Lucene works only with searchresults.php
doc.tiki.org.. search there! :)
ok
but they're different servers
ohh ok
well doc.tiki.org is using lucene.. and search works perfect from searchbox
with correct params
and if sylvie told you that it works and is enabled on tiki.org, it doesn't necessarily mean it is the same on doc.t.o
no sorry.. i meant doc.tiki.ork
org*
fine, next time be precise please ;)
i just assumed they were the same
sorry :D
fine, np
http://doc.tiki.org/tiki-searchindex.php?filter~content=test&search=Vyhled%C3%A1v%C3%A1n%C3%AD&exact_match=
i wonder why is your URL URL-Encoded
is it done by your IRC client when you paste it ?
here
huh? :)
i have a tilde ~ there and you have %7E
it is done by browser :)
but maybe it doesn't matter
the problem is why from the searchbox you get the wrong params send
yeah precise
i'll try and change the theme just to make sure it isn't interfering
theme doens't change anything.. still not working :S
Is there a listing of stuff that changed in the themes from 6.x to 7x ?
are you sure it is the correct searchbox module from Tiki 7.x (Admin > Modules) and not still the old one from earlier versions which was enabled on Admin > L&F > General Layout ?
luciash, that is actually a very, very good usggestion
luciash, I am collegue of SJ-Jay
u have Tiki 7.1 ? check on Admin > Modules > Assigned Modules > Topbar
you should have search module there
2 secs luciash
that one is used on doc.tiki.org (Tiki 7.2 SVN)
hmmm
there are no modules listed in TopBar area
ok, try to assign it and then search in db tiki_preferences table and unassign the old one
must be that
luciash, do you know if the topbar tpl file contains any reference to searchbox?
for some reason after your upgrade the old wasn't converted to the modules
we had a theme developed by a "professional" design company
you must check with show TPLs on then
there's a search box assigned to the right bar.
maybe your searchbox was even customized and hardcoded in some other L&F custom code textarea by the company and doesn't use default tiki tpls at all
that one should work
luciash, thank you for the pointers I will check some of these and report back
just move it (assign) where you want it
gotta code something else, see ya ;)
What is the difference between "Search wiki page" and "Search box" ?
ah
that's obvious
One is defaulted to wiki pages
the first searches only in wiki pages names
ok :P
hmm
there's "Search box" and a translated "Søg" that means "search"
huh ? i thought you're german guys ;)
Nope. Danish
haha
ok
cool
I don't know why, but people ALLWAYS think Danes are German.
:P
didn't you just say "verdamnt scheisse" or something last days ?
hahaha
then no wonder ppl think that ;)
Well SJ-Jay did, yes. I think he demonstrated his total german vocabulary just in that one sentence ;)
lol
go to tiki-admin.php?page=features&cookietab=3 and enable Smarty Template usage indicator ... then clear Tiki cache
makes debugging templates lot easier in the generated page source
l8r
thanks luciash :D
tikiwiki: 03jonnybradley * r36804 10/trunk/lib/smarty_tiki/block.textarea.php: [FIX] textareas: Only need to test each param isset once, and juggle a little logic to simplify things
polom
hi jonnyb
hi luciash
are you using trunk at all these days? was going to ask your advice about some icons for Tiki Connect
just on my localhost
on any admin panel check the "feedback" checkbox in the pref filters area
next LTS is Tiki 9 ?
that's the plan
i don't get the point of the pref filters... it is confusing to filter things out and then not to know where to find them :-p
the idea is that many prefs don't need setting for most people, so hiding them and just showing the critical ones seems to make sense to me
maybe i am just too used to tiki already ;)
ah, lunch time, brb
bibi
does anyone know if it is possible for multiple users to edit different sections on the same page?
is it possible to show menu by category?
hi SJ-Jay - not yet, want to add category visibility to modules one day
there might be another way round it
tell me please! ;)
i would if i knew it! :)
jonnyb, modules support filtering out the module itself based on current perspective
but if we have like 3000 perspectives. That won't scale very well
yes, perspectives are probably best for that kind of thing
3000 categories isn't much fun either
in the user menu you can use - I think the test on categories taht is described in dev.tiki.org/Hello+World
sylvieg, in the tpl file?
ah yes. ofcourse.
$objectcategoryIds is exposed in all templates
But what tpl file should it be. afaik modules generate temporary tpl files.
jonnyb, well we have to have this amount. since we're using Tiki as a project management tool
and we have about 500-1000 projects a year.
menu by category ? i think i had it somewhere - ah it was a workaround with Theme control - i simply made three diff themes for each section of the site (category) and then hidden the other menus by CSS iirc
luciash, you can look at the categories directly in the tpl file.
I am just in doubt what tpl file it should be.
maybe you can use wiki pages instead of clasic menus using the menupage module too ...
hmm, tpl file
check the generated source what tpl files are used to build the modules
maybe module.tpl or something in templates/modules/* ?
luciash, well I have to make sure it only triggers for the module that contains the menu.
you can check the module ID
luciash, good idea.
brb
Merbster: u can even write smarty syntax in the custom user module containing the {menu id=XXX ...}
tikiwiki: 03jonnybradley * r36805 10/trunk/styles/layout/layout.css: [FIX] OpenLayers: Move Attribution so it's not covering up the zoom out button in the module (and looks tidier on tiki-user_preferences.php etc)
so u wouldn't need to modify any tpl file perhaps
luciash, ok. sounds very clever.
Merbster: well, you just have to be very careful to not to make any mistake in the smarty syntax
Merbster: so if you're unsure, tpl is safer to edit
on the other hand
i mean, if you make syntax error in the textarea you can easily lock you out from tiki by making it broken
luciash, I can edit the module trhough the database in that case ;)
sure
:)
it wouldn't be the first time a custom module has shut me out of Tiki :D
it's just a bit complicated
heheh
ok
luciash, do I need to enalbe something to allow smarty syntax directly in custom module definition?
I am looking for a page that directly tells me I can use smarty syntax in module definition.
ah.
ok
found it
tikiwiki: 03jonnybradley * r36806 10/trunk/ (6 files in 5 dirs): [ENH] connect: Search and display recent connections plus various small fixes and improvements
lunchtime - bbl
http://dev.tiki.org/Hello+World <- shows examples of {PHP} smarty tags being used in a module. I have never been able to make this work (it seems running PHP inside templates are disabled in the smarty contained in tiki)
merbster, it is
and there is a feature for that called smarty security or something similar
I disabled it :P
oh man
but keeping it enabled is a good thing
when searching for options. it searches after the translated string. It makes it kind of confusing because you never know if the option has been translated.
lphuberdeau, In any other case I would agree but this is our intranet.
only trusted users
polom
polom chealer
tikiwiki: 03chealer * r36807 10/trunk/lib/categories/categlib.php: [REF] Categlib: re-remove get_all_categories_ext(), following HEAD refresh operation
good going chealer, I believe I wanted to do that for about 2 years now
:-)
Tiki8 is a cleanup release :-)
The anti-cruft crew!
A couple of questions. I have downloaded the Tiki 8 trunk from SVN. Q1) Staging & Approval no longer appears in the Wiki features. Is it removed? Q2) The copyright plugin no longer appears in the plugin list. Though I have activated the feature where needed (I believe). Is this a bug, or are there plans to remove the copyright feature?
lphuberdeau: hehehe. I had done it 7 years ago :-)
I just realized some of my work was also affected by that. quite something!
that change was introduced between 3 and 4
arildb: interesting questions i have no clue to answer unfortunatelly
arildb, as mentioned on doc.tiki.org/Tiki8, yes, it was removed
staging & approval removed...ok. I guess flagged revisions is better anyhow.
arildb, the functionality was replaced with flagged revisions, which is simpler
S&A didn't live long :-|
well, it lived like 6 releases
maybe 5
the copyriht is however quite useful, and I hope that is being kept
tikiwiki: 03jonnybradley * r36808 10/trunk/ (3 files in 3 dirs): [DOC] connect: Adding some notes, help links and hiding irrelevant prefs
how is that related?
the reason why s&a was removed is that it was too much of a maintenance burden, had to be constantly fixed and had repercussions all around, so unless copyright is that way, it should stick around ;)
lib/wiki-plugins/wikiplugin_copyright.php is still there - maybe it's a dependency thing - it says it needs wiki_feature_copyrights and wikiplugin_copyright
marclaporte: want a play with tiki connect sometime?
yes!
jonnyb: My settings...
- Copyright enabled in Features.
- Copyright plugin is marked as "Enabled" in "Editing and Plugins".
- In "Copyright" settings. Copyright is checked, Enable copyright management for: wiki enabled.
That used to be the needed seetings to activate it properly.
Show up ok in the wiki properties and stores the data ok.
Since no plugin. No display on the wiki page though.
might be broken i guess
changi: you about?
tikiwiki: 03chealer * r36809 10/trunk/lib/categories/categlib.php: list_all_categories(): optional parameters cannot precede required parameters
if the data is stored, it's not all that bad
sorry marclaporte - just trying to get my own trunk servers up to date...
any idea how come my "local" memory_limit is only 32M, when the php.ini says 128M (and it's not in .htaccess)
i think i set it to that ages ago for testing, but can't remember how...
overrides in apache configs?
that's what i'm thinking...
httpd.conf or some vhost config
might just be .htaccess too I believe
no, checked that one first (that's how i should have done it!)
I really can't help you finding that on a mac
tikiwiki: 03nkoth * r36810 10/trunk/lib/smarty_tiki/function.service.php: [MOD] use newer way to loadPlugin
they probably moved the config files around just because it did not look pretty enough for them
nice to see how much of tiki trunk still works with 32M :)
it's Debian
yeah, on read operations it's really all nice
oh, check out /etc/apache2/conf.d/*
thx, will do
write operations can bust 32M in some cases
hey jonnyb. did you try a phpinfo() in the root (/var/www/)?
i even seen Tiki running post fresh install on 16M recently ;)
until i went login and admin modules :-p
that's a thought, thanks chealer
I rarely see page views over 10M
how does apache config change php vars? can't find "memory" anywhere...
and I have all sorts of stuff enabled on my dev install
php_value or something like that
grep -R memory_limit /etc/
most curious... will grep
hmm, found some, thanks
hmm, it was set in some virtual host conf files (no memory of doing that... odd)
there are some fields in the tracker creation I would never expect any user to understand
good thing accordions can hide those
:)
CSS can
or jQuery
I can also make them invisible to the non true-believers that know they are there, but people complain when I do that
polom
'lom xavi
hi xavi
doc.t.o extremely slow (and showing mysql errors every now and then). Known issue?
hi jonnyb & luciash
just noticed the same on mother.t.o
ok
plus WSOD after searching some strig in doc.t.o (reproduced several times)
url: http://doc.tiki.org/tiki-searchindex.php?filter~content=file+gallery+to+store+images&search=Search&exact_match=
that's the trouble with making tiki better and better, people want to use it!
:-D
oups, things getting worse: 3 error 500 on doc..t.o
while attempting to edit simple pages
mmmm
now error related to compression format
mmm
andmight be related with current issues in doc.t.o
changi ?
wth is my only one footnote displayed twice in footnotearea when the page is included ? when i use detect duplicate it even displays none then
footnotes are weird luciash
indeed
bit like maketoc, they work for a single execution because they rely on global scope information
ah, that would explain the duplication wehn included in other page
*when
see http://www.ntdtv.cz/tiki-index.php?page=libyjsti-zide-napjate-ocekavaji-vyvoj-po-padu-kaddafiho&refresh=1#footnote2
tikiwiki: 03chealer * r36811 10/trunk/lib/categories/categlib.php: [REF] get_viewable_child_categories(): remove special case for empty (optimization?)
also external link icons behave weird when in include plugin pages
external icon only displays once on the page
I am trying to setup a test of the Zotero Bibliography in Tiki 8 SVN, but the user interface refuses to accept the "Zotero Group" input (the field is emptied) after applying the change. All other fields seem to be stored ok. So, I was thinking of entering the "Zotero Group" directly in the database, but I cannot find where the info is stored. Anyone here, who knows where the Zotero config data is stored in the database?
arildb, zotero feature might be buggy in tiki7. I also had issues with Zotero in my trials
good luck
yes, I gave up when testing it in Tiki 7. Hoping it works better in Tiki 8 .... so, far it doesn't look good
zotero group is a numeric value
and that field probably only accepts digits
that's the only thing I can see that would cause what you see
I need a way to handle references. So, far Zotero is the only alternative I have found in Tiki. Is there any other mod/feature that may support wikipedia styled references (but stored in the datbase
numeric value...ah, yes I recall now. Thanks
you get it from the URL
arildb: please, help to improve the documentation if you succeed with zotero in tiki
lphuberdeau: trunk is not for production . users expeect to have features working in the stable releases
xavi, just saying the feature works
and some users are willing to pay to have features fixed in stable releases
I don't work on stable releases
The Zotero Group was accepted, when I enetered the numeric vallue from the URL. ...but when I try to authenticate the installation I get: "Provider not supported.".
"the feature works" on trunk, which doesn't imply that "the feature works on stable releases for mere mortal users"
xavi: pls note that arildb is testing also on trunk
yes, luciash, I know. He also tested on 7, as I did, weeks ago, with no success
anyway, i agree working things should be backported ;)
xavi, I can feel your frustration, but I'm giving the information I have to help
it doesn't mean lph should bp them
lphuberdeau: If Zotero worked for you, do you recall which group type you used: 1) Private or 2) Public, Closed Membership or 3) Public, Open Membership. I am trying with a private group
actually, I just got the lookup working locally (still set-up)
it's a private group
ok
authentication through oauth should allow you to access any group you need
did you enter the api keys?
client key / client secret
I entered all fields, including client key & secrec + a citation style I installed
oh, you're using your own instance of the zotero server?
no, I am using zotero.org
make sure you set the permissions correctly when doing the authentication
trying now and their interface changed
I set allow library access, per-group permissions, read-only on my group
I am checking my Zotero parameters again...they are a bit confusing
Thanks. I will check the parameters
I know they are
I'd do a clean install to test from nothing, but I have too much data locally for my tests to scrap the install
per-group permissions was not set...trying again
same problem...
hmmm
what's your zotero username?
cogtest
I'll give you some info to test with in private
I try to edit the key, by setting: "Per Group Permissions". Press save, but when I check the setting afterwards the setting is reset
you might want to go on #zotero about that
not sure about the name, but they have a channel on freenode
for the record, zotero debugging session points to a system configuration issue
tikiwiki: 03chealer * r36812 10/trunk/lib/categories/categlib.php: [REF] list_categs(): minor optimization and start listing related functions in case someone has the courage to merge them
tikiwiki: 03chealer * r36813 10/trunk/lib/categories/categlib.php: [REF] get_all_categories(): remove outdated comment
tikiwiki: 03chealer * r36814 10/trunk/tiki-list_file_gallery.php: [REF] File galleries: remove hopefully unneeded call to categlib->build_cache() (untested)
polom
tikiwiki: 03nkoth * r36815 10/trunk/lib/wiki-plugins/wikiplugin_list.php: [ENH] Allow setting of max number to list
tikiwiki: 03jonnybradley * r36816 10/trunk/lib/ (5 files in 3 dirs):
tikiwiki: [REF] Create $tikilib->clean_id_string() to remove spaces and accents from
tikiwiki: strings for use as id's etc. Deployed in several places (look out for more) and
tikiwiki: added to smarty_modifier_escape as 'id' option (also added a couple of missing
tikiwiki: chars to take_away_accent)
hi RobertPlummer
jonnyb: How is development today?
good thanks :)
and for you?
Just getting started, been in meetings all day :)
ik
I worked with LP last night to try and get tracker value rendering faster.
That is a very big job.
i worked with a guy who believed you should always have meetings standing up - makes them shorter!
jonnyb: I feel there are 2 types of meetings....
yes, i saw some mentions
good meetings, and long meetings.
:P
There just aren't as many good meetings as you'd hope.
So last night I got spreadsheets and trackers working together a bit better.
coolio
tikiwiki: 03jonnybradley * r36817 10/trunk/templates/wiki-plugins/wikiplugin_memberlist.tpl: [FIX] memberlist: Fix group names with spaces etc in using escape:id
I removed dependancy for wikiplugin to view tracker, and added tracker query lib.
I also turned off tracker value rendering for anything text, and felt that it was a fair compromise to make the feature stand out for tiki 8.
jonnyb: got load time for 5600 cells to 1 second attached onto 2 spreadsheets.
that sounds quick
It feels quick.
jonnyb: FWIW, I don't consider id to be an escapement. it's a sanitization or standardization
hi chealer
re
jonnyb: also, either you should modify id to HTML-escape, or you should leave the HTML-escape
lots of things in there don't actually escape, but it seemed like a good place to put it
why?
lphuberdeau: Are you there?
(html escape doesn't work - it adds % chars)
jonnyb: well I see mail does not really escape, but at least it's reversible
I believe I have found the reason for my Zotero access problems: startRequestCycle: Unable to Connect to ssl://www.zotero.org:443. Error #5: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
jonnyb: are you sure you're not thinking about URL-escape? htmlspecialchars() shouldn't add % chars
The next question is how to enable it in PHP/Zend
but it would add & etc, no? (feel free to rewrite it if you think it's necessary)
jonnyb: yes, it would if the string contains problematic characters
jonnyb: the group name still needs to be HTML-escaped in case it contains HTML metacharacters, such as double quotes
isn't it?
jonnyb: after r36817, not that I see
(didn't test, but quite sure)
any idea how js validator works?
jonnyb: in fact I'm pretty sure the ampersand wouldn't be a valid id character neither. I suppose these should just be stripped or converted too.
jonnyb: I don't even remember hearing about that
tikiwiki: 03chealer * r36818 10/trunk/lib/tikilib.php: [REF] TikiLib: declare take_away_accents() and clean_id_string() as static
tikiwiki: 03chealer * r36819 10/trunk/lib/categories/categlib.php: [REF] CategLib: fold public build_cache() in private get_category_cache()
polom
jonnyb: do you see the group name HTML-escaped anywhere?
hi Jyhem!
hi !
no, i'm on to other stuff now chealer, sorry - please do escape anything you think needs it
I'm looking for a function which gets the specifics of a comment from the comment ID (threadId).
Strangely, i only found get_all_comments() which is a bit of overkill
Must be somewhere
how do you set svn:keywords on a new file (not committed yet) using svn(1)?
lphuberdeau: Now I get a connect with Zotero. Will test my own account and the integration later
lphuberdeau: Some comments...
Trying to connect to a Zotero account, requires that SSL is enabled in PHP.
That is: "extension=php_openssl.dll" must be uncommented in php.ini.
If this is not done, the error "Error in HTTP request" will occur.
The exception handler may want to use the code block:
{
$oauth_ex = $e->getPrevious();
$prevErr = "";
if($oauth_ex != null)
$prevErr = $oauth_ex->getMessage();
die($e->getMessage().". Origin: ".$prevErr);
}
It will display the previous exception in Zend, which explains the error.
A better approach would be to check the activation status of SSL in PHP when enabling Zotero and warn the user.
The Zend error indicating an HTTP request, is misleading
Personally I would prefer that the configuration of Zotero "Zotero Group:" said "Zotero Group ID:", since the numeric group ID must be used and not the group name
tikiwiki: 03chealer * r36820 10/trunk/ (3 files in 2 dirs): [REF] move id "escapement type" to a new modifier, to_id, as it wasn't a real escapement
I figured it, you have to svn add the file first.
(before the propset)
There are people who *pretend* to be nerds ?
tikiwiki: 03jonnybradley * r36821 10/trunk/lib/core/Tracker/Field/ItemLink.php: [FIX] trackers: Add item to item link list: validate form before submitting
apparently (in the "graphic novel" world, anyway)
jonnyb: apparently "HTML 5" is actually quite loose on ids: http://dev.w3.org/html5/markup/global-attributes.html#common.attrs.core
jonnyb: do you think we should relax the replacement to only treat spaces?
chealer: it definitely doesn't like spaces
i also have it cleaning pref names in several places
&'s seem to need to be added
in the memberlist context
jonnyb: the output does need to be HTML-escaped (ampersands, etc.), but appart from that, do we have a problem for anything other than spaces (i.e. can we drop the accents, commas and slashes replacements)?
tikiwiki: 03robertplummer * r36822 10/trunk/lib/codemirror_tiki/ (codemirror_tiki.js mode/r/r.js):
tikiwiki: [FIX] Brought codemirror 2 to be able to use new mode structure, had to create new way of joining mime types with syntax
tikiwiki: [ENH] Added a mime type for language "R"
do you want me to revert it and de-refactor it?
chealer: were you aware clean_id_string was being used elsewhere?
i have conflicts now... :(
jonnyb: uh...no, why?
(not aware)
jonnyb: sorry, I had no idea you were working on that. can I help with conflicts?
i was happy with how it was (apart form it not replacing punctuation)
i was going to fix all the other references to clean_id_string after you made it static
(first)
jonnyb: fix? what broke?
tikiwiki: 03robertplummer * r36823 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Remove allowing codemirror to set multi modes at the same time, it just doesn't support them
it seemed to work ok, but we shouldn't use TikiLib::lib() to access static functions
jonnyb: really? it might be suboptimal, but I don't see how it's "broken".
i don't see what was wrong with it apart from slightly unscientific use of the work escape (and &'s etc)
jonnyb: not declaring a function as static is not wrong, it's just better to do it if it is indeed static (that's why I tagged the change "REF")
tikiwiki: 03jonnybradley * r36824 10/trunk/lib/ (3 files in 3 dirs): [FIX] clean_id_string is now static
tikiwiki: 03jonnybradley * r36825 10/trunk/lib/smarty_tiki/modifier.to_id.php: [FIX] clean_id_string is now static and smarty_modifier_escape was already being used (testing is good)
jonnyb: oops, thanks for r36825
tikiwiki: 03jonnybradley * r36826 10/trunk/lib/tikilib.php: [FIX] clean_id_string: Simplify and extend regex to clean all non-word chars (and add a little doc)
feeding time - maybebacklater
tikiwiki: 03mlustenberg * r36827 10/trunk/ (lib/setup/editmode.php tiki-editpage.php): [FIX] wysiwyg_htmltowiki: multiple editor switches (without saving) lead to faulty syntax conversions
tikiwiki: 03robertplummer * r36828 10/trunk/lib/ (3 files in 2 dirs):
tikiwiki: [ENH] Made param "colors" turn into a select object filled with the options from codemirror for codemirror plugin help
tikiwiki: [FIX] A few refinements to code to get it more usable
tikiwiki: [FIX] Added attribute of colors (php) to the pre element on the page so that codemirror could pick it up
tikiwiki: [FIX] Killed the code plugin inside of codemirror_tiki.php, it needs to be with
tikiwiki: the plugin, now that it is much more stable, and we know how it is integrated,
tikiwiki: it is easier to have it all together from the plugin point of view
tikiwiki: 03robertplummer * r36829 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Override was set wrong for modes
tikiwiki: 03robertplummer * r36830 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Styling fixes to make codemirror resemble geshi in when readOnly
tikiwiki: 03robertplummer * r36831 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Ensure no double loading of syntax highlighter
tikiwiki: 03robertplummer * r36832 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Better parent selector for textarea resizable from codemirror, select only the editor's parent, not every one
tikiwiki: 03robertplummer * r36833 10/trunk/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Since textarea overrides plugin settings, ensure that the textarea's settings updated when changing syntax/mode
doc.tiki.org is dead for me
same for me
Is google down for you guys?
I can't go to google or to sourceforge
Yet I can talk here just fine.
test
it is back
RobertPlummer: regarding http://sourceforge.net/apps/trac/tikiwiki/changeset/31473/trunk/lib/wiki-plugins/wikiplugin_code.php , could you please avoid putting anything that directly executes in plugin files? did you want to prevent that code from running twice when the plugin is called several times?
chealer: It is sort of difficult because it applies directly to the plugin helper and the plugin in that case.
I agree that we need to make sure it doesn't fire more than once, at least for the parent. But I was testing it in a multi-run cenario, and it didn't run the code more than once, as far as I could tell.
The file was only loaded once in tiki.
The plugin function was ran multi times.
chealer: Can you be more specific as to what you are talking about?
line 12 = tiki_syntax_highlighter_base();?
RobertPlummer: hum. the code at the top of wikiplugin_code needs to run on tiki-editpage.php?
RobertPlummer: I'm talking about current line 11 to 52
actually, 8 to 52
chealer: But why can't it be more plugable? If we put it in tiki=editpage.php it isn't a plugin, it is core.
RobertPlummer: I didn't mean it should be put in tiki-editpage.php. I was asking if the code at the top needs to run when an editor is on tiki-editpage.php.
No, it should run in both cases.
The reason is because you can select a page's plugin, and change it right on that page.
RobertPlummer: what cases? page view and edit?
This should run if you have access to edit.
page view and edit, yes.
But all base does is add js files
RobertPlummer: are you saying this currently runs on every page view or what?
Any time that plugin code is needed, and can be either viewed or edited, it should run.
RobertPlummer: oh, I think I see
I think I can turn off base from running,
RobertPlummer: so that won't work if the page is cached, right?
I'm not sure I know the difference.
Can you help me test that, I would want to make sure.
RobertPlummer: yes...you say you don't know the difference? do you know the wiki page cache?
tikiwiki: 03robertplummer * r36834 10/trunk/lib/ (2 files in 2 dirs): [FIX] removed base from running as it runs from tiki already.
Is that a feature?
I really am not, I do not think I have been using it.
RobertPlummer: see tiki-admin.php?page=performance&cookietab=3&highlight=feature_wiki_icache and tell me if it's not clear
Should I turn on individual wiki cache to?
I turned it on, and it seems to work ok.
RobertPlummer: for testing, you should see the problem just with global cache, individual cache is... well, if you want different caches per page :-)
RobertPlummer: yes, now there's one thing about wiki cache, it's disabled for Registered
RobertPlummer: so you would only see the problem if you log out
I don't see a problem, but I am finally getting the duplicates that marc had.
Woohoo! now I can fix!
RobertPlummer: you're logged out, with cache enabled and you get the JavaScript when just viewing the page?
is it the first page load perhaps (there should be an indication at the top if you get a cached page)?
yup, it works fine.
(Cached)
RobertPlummer: that is almost worrying. let me try...
It is running it double, but not a big deal, I can put a limit on it.
If it loads the code plugin file, then we're fine.
RobertPlummer: I guess the limit should be 1 :-)
tikiwiki: 03nkoth * r36835 10/trunk/templates/wiki-plugins/wikiplugin_groupstat.tpl: [MOD] Improve headings and column order of table
chealer it only doubles them up with the page is cached, but for some reason, it loads just fine.
Very very odd.
I have to head out for a bit, can you look a little into this?
tikiwiki: 03nkoth * r36836 10/trunk/templates/wiki-plugins/wikiplugin_groupstat.tpl: [MOD] Is there a reason why percentage sign was before the number?
RobertPlummer: huum, I see strangeness too.
RobertPlummer: could you ask jonnyb? I seem to remember he had a similar problem (plugin that needs to output JavaScript when it runs) a while ago.
tikiwiki: 03nkoth * r36837 10/trunk/lib/wiki-plugins/wikiplugin_groupstat.php: [FIX] Database error
tikiwiki: 03chealer * r36838 10/trunk/templates/wiki-plugins/wikiplugin_groupstat.tpl: [FIX] HTML special characters encoding
tikiwiki: 03nkoth * r36839 10/trunk/lib/wiki-plugins/wikiplugin_groupstat.php: [ENH] Allow calculation of percentage out of site users vs just specified groups
my profile is replacing y with 1 when I really need y, any ideas?
well, 'y' works
two tikis on same site in dif directories both 7.1: using firefox. logging out of one logs me out of the other. the second one is brand new and WILL NOT allow me to install or even list any type of profile. is this normal?
nothing shows in firebug as error either
clicking featured profile sends me to the bottom of the page, clicking any other item in profile spins the load bar for awhile and then sends me to the bottom of the page
tikiwiki: 03chealer * r36840 10/trunk/lib/tikilib.php:
tikiwiki: clean_id_string():
tikiwiki: [FIX] HTML special characters encoding
tikiwiki: [REF] Do not remove accents, should not be needed anymore with "HTML 5"
tikiwiki: advise to avoid
OTR: what are the 2 URL-s?
http://offgridops/opcenter (this one has been in play for a bit w/o problems) and http://offgridops/foreclosurepedia (this one is the problem)
tikiwiki: 03chealer * r36841 10/trunk/lib/smarty_tiki/modifier.to_id.php: [REF] to_id modifier: fix/update documentation and advise to avoid
i've f5'd, ccleaner, deleted all saved passwords, etc as well --- firebug reports back 200 ok on the profile load but never loads one
OTR: logging out of any logs you out of the other, or of one in particular?
OTR: do you know how to view cookies with Firebug?
brb
these are the only two I have. yeah, log in or out and it duplicates on the other. no don't know the cookies deal.
i can deal (for now) w/the logging in/out issue, but found it odd that the new install wont allow me to generate a profile (wanted collaborative community). wanted to see if it's on the code end or my host being all jacked up ;)
both user names are admin dont know if that is important
OTR: applying a profile needs an Internet connection
yeah i have one thats how i am talking to you --- dont mean that rude, but
OTR: sorry, you need Firecookie to see cookies
will download in a sec
OTR: otherwise, Web Developer allows you to see them too
OTR: the problem is probably on the other end, http://profiles.tiki.org/ is not very reliable
OTR: it seems to be down right now. that would cause the repository button to be grey (not green anyway)
maybe back later
gotta restart to get firecookie loaded. ah, there it is ;)
@chealer: so firecookie installed. should i use this somehow to see why the login/out is occuring unilaterally on both sites?
OTR: yeah, as the profiles issue is not on your end, you just have that problem
OTR: do you have any particular PHP session or cookie settings?
session id for my site
is that what you mean?
thats what fc says
OTR: "fc"?
firecookie
expires: Session
OTR: oh. there are some cookie settings in the Login control panel
do you have "tikiwiki" as cookie name and blank as domain?
and what do you have as path, on both?
ah, now each install probably has tikiwiki as the cookie name, huh? -- /opcenter and /foreclosurepedia
OTR: normally, the cookie you want to watch is PHPSESSID
only one PHPSESSID
they are identical for each site
the value
OTR: ah. that must be the problem
rephrase: the site is simply my site with no dir extension simply http://offgridops.org
OTR: ah, then yes, there must be a conflict between your PHP session cookies
is this on my end then? i mean do i need to read up on this or is this on the server end
i deleted all the cookies, reloaded and still the same thing. the only cookie that gets set is the singular PHPSESSID and the same login/out thru both wikis
OTR: see the session cookie name in the general control panel
OTR: try to set different cookie names for each site
bbl
will do thanx
clearning out everything brb
chealer: Sorry, back
chealer: tiki-setup.php is loaded twice when there is caching