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

WhoWhatWhen
arildbjoined #tikiwiki [00:29]
.... (idle for 16mn)
changi: the attribute users_users.hash has been updated in 9.x to accomodate the new blowfish algorithm, but the update of tiki.sql is missing. 9.x is closed, but maybe this change should be added first [00:45]
CIA-75tikiwiki: 03arildb * r42177 10/branches/9.x/db/tiki.sql: [FIX] Add missing update of tiki.sql to accommodate the blowfish algorithm for r42170. [00:52]
arildbI did the update [00:52]
g0thjoined #tikiwiki
hi
[00:52]
arildbhi [00:55]
g0thI'm new to wikis. I plan to make a wiki page containing all important information for my department, in some organized way. I planned to organize it into different topics, like "HOWTOs", "Social", "Administartion" and create a menu (with several entries) for each case. Now when clicking on a menu resp one of its entries it should show the corresponding page in the middle, I guess that would be a wiki page (what else?) how do I organize the
I have several other more specific questions but I guess I should start with basic questions ^^
tell me if I'm approaching this the wrong way
[00:57]
arildbg0th: It's late on my side. So, I don't really want to get into a longer discussion, but the word "topics" leads me to think of structures [00:59]
g0thstructure=? [00:59]
arildbyes. Structures are very handy for organizing "topics". You'll need to enable them first in the wiki admin menu [01:00]
g0thI start reading about it [01:00]
arildbAfterwards you can access the structure admin in the admin-wiki menu [01:01]
g0thso instead of menu I use structure? [01:01]
arildbstructures can also be made to automatically categorize the pages in it. By using category permissions you can easily control access to the different topics (if you need that)
manus can be used to access the root node of the different structures
s/manus/menus
[01:02]
g0thok I see
you exactly answered my question it seems :)
thanks
how do I show a structure on the wiki page?
besides using a menu?
I guess I have to use menu
i.e. create a menu for each structure
or I make biiig structure
one biig
[01:04]
arildbwiki pages can be organized in structures. Thus you don't show a structure in a wiki page
up to you how you want to organize the structure(s), buit if you want different permissions, you may want to use different structures.
I would suggest you make one structure per topic. This is the typical scenario
[01:06]
g0thyes
my idea
how to include it visually?
lemme show a screenshot of what I have
http://dl.dropbox.com/u/71965662/Screenshot%20from%202012-07-02%2001%3A07%3A55.png
[01:08]
arildbtry it. Once a structure is defined, you'll see a navigation bar on the page [01:09]
g0thhmm I don't really want that
oh you mean on the main page?
not on the wiki pages of the structure? ^^
[01:10]
arildbSee http://doc.tiki.org/Structures [01:10]
g0thanyway, thx
yeah I read this already
[01:10]
arildbsee on top there is a navigation bar
that's added to all structure pages
[01:11]
g0thbut I can configure that anyway I guess
so no problem
[01:11]
arildbit's added automatically, once you add the page to a structure [01:12]
g0thyou probably go to bed soon [01:12]
arildbyes, probably soon, but I am still here [01:13]
g0thI wanted to add trackers at registration (already did) to create a contact database of the users
how do I display the user tracker "nicely"?
e.g. with a picture, etc according to my layout
there are a lot of tracker related plugins, it is a bit confusing
[01:13]
arildbI am not that familiar with trackers. So, best get ahold of somebody else for good advice [01:14]
g0thok
how do I backup my wiki site?
I have the svn directory, I have the mysql database and I plan to add a directory for file/images/etc storage
is basically everything (configuration, wiki pages, trackers/etc) in the mysql database?
e.g. could I make a fresh svn ckeckout and just import the database and it would work?
[01:14]
arildbIt can be enough to backup the database. I prefer to also backup the files. If you have configured storage of filegallery files in the file system you'll need to back that up too [01:16]
g0thyeah the last part is clear [01:16]
arildbyes, I think that should work....but test your backup before relying on it [01:17]
g0thwhy do I need the files?
are they ever changed?
(when modifying the wiki=
also where do I need to create the storage directory?
somewhere where apache has access or the database?
[01:17]
arildbsome data may be stored outside the database. [01:18]
g0thwhat's the usual location
arildb: does it make any sense to store any "binary" data in the database?
shouldn't all binary stuff be stored somewhere else?
[01:18]
arildbthe storage directory (for filegallery files) should be outside your "web path".
binary data...
depends
[01:18]
g0the.g. images
all the webpages seem to indicate that the new way is to store them in the database
isn't that bad? to create a big database, won't it make everything slow?
[01:19]
arildbIf the amount of (filegallery) data is large, it may be best to store the files outside the database [01:19]
g0thyes
100gb-3TB
not sure yet
I'm not sure where to put the storage
[01:19]
arildbIn Tiki you can shift the files in and out of the database (though I haven't tested that). So, you are not locked into your initial choice [01:20]
g0thI just found a way to move stuff to the database, not how to put it on the fs
(have to check the options carefully again)
[01:20]
arildbyou have a lot of data. I would choose to store the files outside the database [01:21]
g0thany suggestions?
what do people normally use as a path?
/var/www/... is already bad, no? ^^
[01:21]
arildbI am not sure if there is a norm
I use Windows....
[01:21]
g0thah ok
with apache?
[01:22]
arildbjust outside the web path, so it cannot be addressed directly from the web is the recommendation, I guess [01:22]
g0thok, I'll probably use /var/www/storage/ or something like this, where I make sure that storage is not accessible or something like that
actually my setup is /var/www/homepage.ssl/
[01:23]
arildbI would ask somebody else about the recommended apache setup [01:23]
g0thok
thanks
oh another question :)
I want to make a scheduling calendar for machines
there are like 20 machines and users should simply be able to 1) select the machine, 2) select the period they want to reserver it, 3) it will reserve it immediately
[01:23]
arildbI am not familiar with calendars either. So, I am afraid I cannot help you out much there [01:25]
g0thok
are you familiar with menus?
and structures?
you already suggested to use them :)
[01:25]
arildbstructures I know a bit about [01:26]
g0thok, so mostly it is a logical helper I guess for grouping wiki pages
to let the structures show on the left I guess I create a menu for each, right?
I would also be able to expand the menu if I click on it, resp. reduze it
also like*
[01:26]
arildblike I mentioned above, structures are a bit more powerful, than simply a "grouping of wiki pages". It is specifically the combination of structures and categories which is very useful. Categories can have permissions [01:28]
g0thI still don't get the concept of categories, do you have a simple example?
of structure + category, that would help a lot
for me a category is something like a tag but I can also use permissions/etc
[01:28]
arildbyes, Tiki is rich in tags/categorization. However in the Tiki context a "category" can have permissions. Is permissions relevant to your installation? [01:30]
g0thmy guess is: I don't need all those permission things, basically we only need permissions based on groups
3/4 level permissions
admin -> editor -> registered -> anonymous
resp. otehr way round
users shouldn't be able to register themself
so the admin will create the users I guess and assign the rights
[01:30]
arildbThe Tiki permission model is: global/group -> category -> object. Meaning object overrides all and category permissions override global perms [01:32]
g0thobject?
hmm
[01:32]
arildbobject = wiki page, file gallery, etc. [01:33]
g0thactually my plan was to use LDAP to access the university for auth info (name/pwd), based on the id of the group supervisor, I guess if this is used then those specific users could register themselves [01:33]
arildbyou have an "admin topic", right? [01:33]
g0thtopic?
I have e.g. "latest changes", "svn up info" "application menu"
[01:34]
arildbfrom your screenshot, you had an admin menu [01:34]
g0ththose should only be shown for admin
Administration is bad it should be "Buerocratic stuff" or something like that
I don't have a good name yet, but yeah all the "editor/admin information" should not be shown to simple users
at the moment I just solved it by assigning it to admin group
that should do it
so you suggest to make an "admin topic" category?
btw, if you want to go to sleep just tell me :)
[01:34]
arildbadmins in tiki have all permissions. If you would like to limit the administration for editors, you can create an "editor" category. Then assign the editor category to the appropriate struture. Then grant the editor group full access to this category..possibly revoking rights from everybody else. That will limit the access to admins and editors [01:37]
g0thfor myself each answer I get from you is very helpful :)
oh
I start to see how it works
so the prefered way is to handle permissions through categories
[01:38]
arildbbtw. using LDAP or local Tiki users should have any effect on the permissions in Tiki [01:39]
g0thhmm
what??
[01:39]
arildbcategories makes it possible to apply a set of rules to e.g. a set of wiki pages/in a struture [01:40]
g0thso do groups? [01:40]
arildbLDAP authenticates users. Users are a part of a group. Tiki permissions are granted to groups [01:40]
g0thahhhh, but groups are about showing the page at all or not
whereis categories can be used for permissions
and I guess I cannot specify permissions for groups so easily, so I have to make a category first?
[01:40]
arildbYou'll need to activate the category feature before you can use them [01:41]
g0thstill not sure why I cannot "just" use groups [01:42]
arildbyou can
that's the global permisison
...maybe I am leading you down the wrong path...Tiki permissions are powerful, but also a bit complex.
[01:42]
g0than example where editor + editor category can do more than just editor? [01:43]
arildbSay you wanted some wiki pages to only be visible to editors, whereas others can be seen by all. The global permission will set the rights for all wiki pages. To limit the permissions to a set of wiki pages, you can use the category permissions (or direct object pemrissions) to override the global permissions setting [01:45]
g0thhmm
I could also set the group accordingly for all those exceptional pages
[01:48]
arildbMaybe this page can help: http://twbasics.tikiforsmarties.com/Configuring+Group+Permissions&structure=TikiWiki+for+Smarties
yes, you are right
[01:48]
g0thhttp://doc.tiki.org/Permissions <- I'm reading this atm
the "Press Release" example helps kind of
[01:48]
arildbI think I will call it a day.
Good luck with your quest
[01:49]
g0ththanks a lot
gnight! :)
[01:50]
................ (idle for 1h16mn)
goj_killedByISPjoined #tikiwiki [03:06]
........................................................................... (idle for 6h14mn)
redflojoined #tikiwiki [09:20]
.......................... (idle for 2h8mn)
jacmoejoined #tikiwiki [11:28]
g0th_joined #tikiwiki
hi
I am trying to setup ldap authentication with wiki. The method is active directory, ldaps is supported. I also know the address. I entered those three information under LDAP. How do I tests this? It doesn't seem to work at all... :(
in particular I have no idea what to put under LDAP user and LDAP admin...
[11:30]
arildbhi g0th_: did you take a look at http://doc.tiki.org/LDAP+authentication [11:39]
.... (idle for 17mn)
g0th_yes [11:56]
jacmoejoined #tikiwiki [11:56]
g0th_in general I have way too few information and when I ask the people that should know the information, then they don't ^^
so basically I'm doing trial and error.
how would I login using active directory? username or email or what?
[11:57]
blast_hardcheesejoined #tikiwiki [12:03]
arildbg0th_: I haven't tried the AD integration, but I believe the LDAP implementation have some variations. So, maybe you can try to google AD and LDAP. Should be in the doc, but... Sorry I cannot help more [12:05]
g0th_np ^^
hx
thx
[12:05]
...... (idle for 27mn)
Bsfezjoined #tikiwiki [12:33]
......... (idle for 40mn)
g0th_joined #tikiwiki [13:13]
..... (idle for 22mn)
I plan to make a calendar page that shows one big calendar and has several "event types" to choose from on top. The calendar is to be used for machine reservation, so the event types would be the different machines. The calendar shows all events from the currently selected event types (I guess either all or only one specific). my idea was: the user clicks on one event type, then selects a...
...time period on the calendar and it immediately adds an event under his username for that event type.
I'm not sure how to do this with tiki wiki's calendar, do I have to create a calendar for each "event type"? can several calendars be shown on top of each other? How do I allow automatic event insertion when a user clicks on a time period?
the fullcalendar improvements of tiki9 have this on the corresponding website, however I don't know how to reproduce this on tiki wiki...
[13:35]
.... (idle for 16mn)
YES, finallly LDAP with AD works
but now everyone can login, instead I would like that users have to register and the admin will have to approve that or that only members of a certain LDAP group can register...
[13:53]
rodrigoprimojoined #tikiwiki [13:57]
arildbHi g0th: what if you revoke rights from regular registered users, and create a new group, e.g. approved users, which assumes the role of registered users. The admin can then approve the members of this group [14:08]
g0th_hmm, that might be nice
but I would like to have a "new registration tracker"
that shows a form where you can input everything etc at registration time
at the moment I don't even have a "register" option
it just logs me in
(which is kind of nice, I mean that it's working with LDAP, but we don't want any user to be able to just login)
your suggestion would also introduce yet another group
[14:12]
arildbg0th_: I don't think you can prevent a registered user from logging in. You can however revoke all rights from such users, so nothing can be seen or done [14:14]
g0th_registered at LDAP?
so if I use LDAP I cannot make a tiki registration?
when a user logs in it also creates a tiki user, I assumed that at that point it could trigger a registration ...
I mainly want to use LDAP to make use of username/pwd of the existing db
[14:14]
arildbnormally a registration means creating a registered user, i.e. a user that can log in. ...As I understand the LDAP integration is that LDAP controls the user registration, ...though I am not sure [14:18]
g0th_yeah but I would like to store additional meta information for tiki
that is not available in the ldap (which basically only has the username, maybe email)
[14:21]
arildbyou should be able to. Users are mirrored in Tiki [14:22]
g0th_but it never asked me anything
hmm also I can just login, I would like some "approval system by admin"
it seems I have to use groups for that :(
the registration tracker catches the registration, but what if the user logs in via ldap, will it catch that? it seems not
[14:22]
arildbg0th_: America should be waking up soon. Then you may find more people to help you. You're setup is not matching what I have been using [14:30]
Jyhemg0th_: in tiki-admin.php?page=login → tab LDAP, first drop-down is "If user does not exist in Tiki: " Have you looked at what that does ? [14:42]
g0th_yes
I have two options: create a user or deny access
if I choose create user I can login without any validation by the admin or any registration/tracker
if I choose deny access I cannot login
and for registration one always has to choose a new username/pwd, it doesn't seem possible to "register existing ldap" users
the ldap db is _HUGE_, we only want a small part of it, what do you suggest to do?
[14:43]
RobertPlummerjoined #tikiwiki
polom all
I had a user delete a structure and it seems it deleted all the pages along with it. Any way to recover?
[14:48]
Jyhemg0th_: now I understand your problem, but I can't think of a solution
RobertPlummer: backups ?
[14:49]
RobertPlummerWhat about tiki_history? WHen a page is deleted is it gone from there? [14:50]
JyhemRobertPlummer: I don't know, but I would look if there is a trace of these pages in the database still (like in history tables). You could search the database for a word special to these pages
When a page is deleted, Tiki asks if the history should be deleted as well
I don't know how deleting structures work
[14:51]
....... (idle for 31mn)
dhazeljoined #tikiwiki [15:23]
CIA-75tikiwiki: 03chibaguy * r42178 10/trunk/styles/jqui/options/didiem.css: [FIX] Forum and blog posts - improved appearance through override of jqui styles. [15:26]
jonnybjoined #tikiwiki
polom/s
[15:38]
g0th_hi guys
I am doing a wiki page for the biomech group of our university. The university comes with a huge database (LDAP). But the wiki page should only be accessable for a small number of people. Ideally I would like the administrator to create (or validate) new users, the new user should be authenticated through LDAP, how do I do that?
second question: how do I reproduce something like "http://arshaw.com/js/fullcalendar-1.5.3/demos/selectable.html" for tiki wiki?
Is it simply not possible or do I need to enable js and basically reproduce the whole js page from above?
[15:45]
CIA-75tikiwiki: 03jonnybradley * r42179 10/trunk/ (20 files in 15 dirs): [MRG] Automatic merge, branches/9.x 42154 to 42177 [15:52]
jonnybhi g0th_ does http://doc.tiki.org/LDAP+authentication help at all? (not used it myself yet)
re the calendar thing, have you set "Use FullCalendar to display Calendars" on in admin/calendars?
[15:53]
g0th_no, yes
I read LDAP+auth, my question stands as it is
[15:55]
jonnybmaybe arildb can help on LDAP, i think he uses it [15:57]
g0th_he cannot help
he had a nice idea though
basically: let anyone from the university login, let registered users see nothing by default
[15:57]
arildbjonnyb: I have only tested it (against OpenLDAP...which worked fine)...different setup then g0th_ is using though [15:58]
g0th_and let the admin specifically assign groups
ldap works now but it does not register users
my idea was to use ldap for authentication (to avoid username/pwd duplication)
but it seems it is not possible
resp. if I do that I have to drop the registration idea
[15:58]
jonnybsorry, it's all beyond my experience with tiki
hi arildb :)
[16:01]
arildbhi jonnyb [16:01]
JyhemPolom
Jyhem can't login in {dev,doc}.tiki.org → Erreur XMLRPC : 2 - Invalid return payload: enable debugging to examine incoming payload
[16:06]
Bsfezhi all [16:07]
JyhemHmm, what is separator for {split} ? I need some table for a custom registration form
hi Bsfez
[16:07]
Bsfezjonnyb: good news, i didn't tested the share facebook button since a while, it now ask to select a thumbnail… :) [16:08]
JyhemJyhem suspected the issue was on FB's side [16:09]
jonnybhi all, thanks Bsfez, good news indeed :)
hi Jyhem
{split} uses something like //////// as the separator i think
[16:09]
Bsfezyes… i was ashame to sharer anything being stuck with the "live support" thumbnail :DDDD [16:10]
Jyhemjonnyb: actually, it is
--- separates columns
@@@ separates rows
but the /// rings a bell (TAB ?)
Jyhem wonders if split is one of those "working but obsolete" which he should dump for something btter ?
[16:13]
jonnybyes, i think you're right (on both counts) [16:15]
JyhemOh? What better plugin should I use, then ? [16:17]
g0th_so how can I add support for something like "http://arshaw.com/js/fullcalendar-1.5.3/demos/selectable.html" in tiki wiki? it is not possible? [16:18]
jonnybg0th_: i don't understand quite what you mean, is there some feature on that page we're not using? [16:22]
g0th_you can select a range and it then opens a window where you can give a title to the event
whereis in tiki's calendar, I have to do "add event" and then manually specify the time period
[16:25]
jonnyboh yes, nice! [16:26]
g0th_much much nicer than what I see in tiki atm [16:26]
jonnybi guess it could be added
agreed
[16:26]
g0th_please do :)
what if I don't want any description?
imo it just confuses the user
title + who scheduled the event is all I need, and "who" is not even available or is it
is it possible to make a group of calendars?
[16:27]
jonnybyou can make several calendars, yes [16:33]
g0th_e.g. "Machine scheduling" (contains a calendar for each machine) or "Work" (contains group meetings, conferences, etc) etc [16:33]
jonnyboh right, not as far as i know
you can categorise them though i think
[16:33]
g0th_can you elaborate?
can I show a specified list on one page and another one on another page?
e.g. calendar category machine_scheduling would only show machine scheduling calendars (but users could still choose among them)
[16:34]
jonnybsorry not sure off hand [16:35]
g0th_hmm I just realized something
the easiest way to add an event is by just immediately adding an event without specifying anything
then modify it by drag and drop/etc
it makes no sense at all to specify the date/time manually instead of drag&drop
[16:39]
jonnybi thought you could double click a day or time and it would add something there for you (but i seem to get a js error - something to do with the wysiwyg as default i think) [16:42]
CIA-75tikiwiki: 03jonnybradley * r42180 10/branches/9.x/styles/jqui/options/ (good/ good/arrows-005faa.png good/arrows-ffffff.png good.css): [ENH] Another option for jqui - "good" (flat blue boxes on white bg) [16:47]
g0th_hmm
my current plan for user authentication is as follows
Tiki + LDAP (then any university member can login), the user is then automatically added to the group anonymous (_instead of registered_)
so essentially login doesn't do anything, to get more the administrator has to add the user to "registered"
this sounds really ugly :(
but I think it would work, isn't there a better solution?
also, how does user registration tracker work together with ldap login (then there is no registration!?)
[16:57]
jonnybi don't think "Anonymous" can have memebers, it's not a real group [17:00]
g0th_isn't it a group? [17:00]
jonnybbetter to remove all permissions from registered and use that, then have a sub-group for people who can actually do stuff [17:00]
arildbg0th_: I would make a new group "approved users" (as mentioned before). Then have unapproved users in the registered group + revoke rights from the registered group
like jobbyb suggests
jonnyb suggests
[17:00]
jonnyb:D [17:01]
g0th_ok
or just "users"
how do I design the page that is shown to anonymous or just registered?
for anonymous I just want the logo + login
[17:03]
jonnybtry the {group} plugin [17:04]
CIA-75tikiwiki: 03xavidp * r42181 10/branches/9.x/lang/es/language.php: a few more [17:04]
................. (idle for 1h21mn)
redflojoined #tikiwiki [18:25]
................. (idle for 1h21mn)
oherteljoined #tikiwiki
Hello! :)
joined #tikiwiki
changi: did you get in?
[19:46]
sandroandrade_awjoined #tikiwiki [19:50]
...... (idle for 27mn)
marclaportejoined #tikiwiki [20:17]
ohertelohertel pokes marc :) [20:18]
sandroandradejoined #tikiwiki [20:31]
pedorjoined #tikiwiki
hi, how can I translate registration email?
[20:35]
ohertelThats some template files, afaik. Let me check.
templates/mail/user_welcome_msg.tpl This one maybe?
contains only a single line: {tr}Thank you for your registration.{/tr} <a href="tiki-login_scr.php">{tr}You may log in now.{/tr}</a>
Hm, that doesnt look like a MAIL?
Which mail exactly are you looking for? :)
This is a mail template where you verify your email: templatesmailuser_validation_mail.tpl
[20:39]
pedorAn administrator of the site below has added you as a new user:
the email starts like this
I will check in templates
[20:45]
ohertelOk, thats this one: templatesmailuser_creation_validation_mail.tpl [20:45]
pedorohertel: thanks a lot [20:48]
ohertel"Who Designed This Crap? Die, Google Wallet, Die" :P
Looks like the peeps on Tom's hardware dont like the google wallet. :P
[20:53]
pedorthat's something strange, the email has some words translated when i received it. Welcome to the site is translated. I just checked the language file and it has this welcome message translated, but it doesn't have any of the other email strings [20:54]
rodrigoprimojoined #tikiwiki [20:54]
.... (idle for 16mn)
Bsfezjoined #tikiwiki [21:10]
I'm missing something… on a tw9 i have set a 404 but when typing a wrong name i land on a page telling me that the page don't exist and a search form (wiki page error). When i go to Admin->General->Navigation i check on "Redirect On Error". Help say it will redirect like set in admin->general.
but there is no pref like this i can set. hu ?
[21:17]
ohertelUh, there is one, let me check. [21:18]
..... (idle for 21mn)
CIA-75tikiwiki: 03eromneg * r42182 10/branches/9.x/lib/smarty_tiki/ (function.page_alias.php function.page_in_structure.php): [NEW] add new generic smarty functions to enable fixes for search display with pages in structures [21:39]
...... (idle for 25mn)
changisee ya [22:04]
CIA-75tikiwiki: 03robertplummer * r42183 10/trunk/lib/parser/parserlib.php: [FIX] var ref was wrong [22:15]
oherteltw.o working again, we found an infinite loop. [22:16]
Tiki|bottw.o or t.o is just a shortcut referring to the official website of the project: http://tiki.org [22:16]
CIA-75tikiwiki: 03robertplummer * r42184 10/trunk/lib/core/JisonParser/Wiki/List.php: [NEW] List handler for jison parser, moving away from legacy code to much cleaner implementation
tikiwiki: 03robertplummer * r42185 10/trunk/lib/core/JisonParser/Wiki/List.php: [FIX] Forgot to also check for ol, and removed debug
tikiwiki: 03robertplummer * r42186 10/trunk/lib/core/JisonParser/ (Wiki.jison Wiki.js Wiki.php): [ENH] Some changes to parse lists within jison
tikiwiki: 03robertplummer * r42187 10/trunk/lib/core/ (4 files in 2 dirs): [ENH] Migrate to use new list handler, renamed 'HeaderManager' to simply 'Header'
[22:29]
RobertPlummerFinally, victory over lists! - http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk/lib/core/JisonParser/Wiki/List.php?revision=42187&view=markup
Jyhem, it took me a while to come up with how to properly handle them in the new parser, I ended up using old code because I gave up. Then it came to me this weekend.
Handle them like plugins and np.
[22:38]
ohertel:D [22:39]
RobertPlummerDetect it like we did before. But rather than make jison do all the work use it for just part of it, and simple tracking like we do with NP and plugins for the rest. If a line starts with a list syntax, add it to an array stack and see if there was a list before it using the line number as a point of reference, if not it is the first in a set. Return the list number as an md5 only in the case it is a first in a set. If the
re was a list before, add it to the stack before it and return nothing. Then on post parse restore the lists back into the page using strreplace on the md5 of the lists.
Before it required about 122 lines of code, and it was completely confusing, not it does it in an un-optimized 141, not too bad, but it is totally understandable.
[22:40]
JyhemCongrats RobertPlummer ! o/ [22:55]
RobertPlummerJyhem, cake right?
:)
[22:55]
JyhemCake ? Yes, you deserve one :) [22:55]
RobertPlummerParsers add such a new level of development in situations like that that your mindset becomes very different from standard development.
You start debugging within your head, and you can't really really 'start' on the project till once you've finished it mentally. At least this one I did.
I wrote it without touching a computer, and kept simplifying and simplifying, and finally it was a very easy concept to grasp.
[22:56]
JyhemAnd apparently, stepping back sometimes helps getting a new perspective [22:57]
RobertPlummerOnce I understood it fully, it was very easy to put to code.
Jyhem now headers and lists are handled very similarly in the new parser.
there is a stack in headers and stacks in lists.
[22:58]
JyhemWe'll find a cake in Barcelona. Now you need to come get it. That, and the nice beach :-) [22:59]
RobertPlummeryou keep appending items to the end of the stack at a certain level, if the level of the array doesn't exist it creates it then adds to it.
:)
I'm hoping that I start getting more help in the new parser now that it is getting easier to understand and extend.
Barcelona doesn't have that on the list do they?
Perhaps they could add it?
:)
[22:59]
oherteljoined #tikiwiki [23:01]
JyhemHmmm, not if you don't come :)
workspaces are hairy eough, I think
[23:02]
RobertPlummerI'm probably going to go to OSCON, but Barcelona is a bit out of my reach for now. [23:02]
JyhemYes, we need people in OSCON, too. But Barcellona doubles as vacations :) [23:04]
RobertPlummerI would go, but I have closing on a new property next week. and it is requiring much of my free time.
a place for the in-laws
I think things will be tight after osconn.
[23:04]
JyhemOh, it's end of august! [23:07]
RobertPlummerBut we will see.
Yes, I just read it.
grabbing a bite.
[23:07]
Jyhem:) [23:07]

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