05 Oct
By: George
that can really help others development
This looks like a really good conversation for #drupal-dev
may be we should reference to some other else OOS implementation, e.g. Gallery2. they can support for both MySQL/PgSQL/MSSQL/Oracle/DB2/SQLite with no pain
That should really be said with a Super Hero Voice. This looks like a discussion for… #DRUPAL-DEV!!!
ok so move
Hahahaha True!
seems Crell is too busy… so i will just back to my work…
my .install keeps crashing the admin page, any idea as to why? there are no syntax errors aside from the occasional single quote and double quote comprising a t() statement.. nvmd, thanks!
so, anyone up for an interesting login-related challenge?
I need to add a bunch of the same fields to a bunch of cck types. I’d prefer not to do it through the UI since that’s rather tedious. Once they’ve all been added to one of the types so the fields are created, can I just copy and adjust the records in node_field_instance? Or is there something else I’m missing? (Not worried about groups)
writing secure code? hmm, there’s something missing. :p
secure code?
secure code is http://drupal.org/writing-secure-code
heh, thanks
np So can we talk this opt-out option again? on update.module.
Oh… Heh… I was trying to make the connection to my CCK question
Currently, the code does: md5($site_url . $private_key); however, $private_key is set to ” by default. Meaning that if I, as a trusted drupal.org user with access to drupal.org’s database, wanted to spy on what specific modules that, say, Lullabot.com was running, I could do so if this key wasn’t set. Does it make sense to set this key during install time to something like md5(time()) ?
hmm random key hash
Then it would truly be unique for every single site, and no possible way to determine what the calling site was, aside from folks who have access to Apache’s logs and could figure out via IP requests, but that’s maybe 3 people as opposed to 20. Morbus, thoughts?
yes, I was under assumption that this would already happen.
Oh perhaps it is. Oh. Duh. Yes it’s already being set sometime. Ok, nevermind.
change the ‘label’ of a cck field in a custom cck node type and then that field disappears entirely from the node type.
I saw the variable_get() with ” as the default and got nervous. Hm. Actually, that does look like a bug. It should be calling drupal_get_private_key() not variable_get, I think
never happened to me.
Havent’ had that but have other wierd glitchy things with CCK so doesn’t surprise me
Morbus, tks, has never happened to me previously either but i’ve reproduce the problem several times.
no, i mean, i’ve edited label things no problem. on multipel installs.
Morbus, yes, i know, me too
merlinofchaos, ping
pong
Was that me?
heh heh
I’m already getting tired.
ping
I’m also sorry we didn’t get contact info so we could meet up with you and Amy again after the con.
well, I finally made my phone work on Sunday…
We had great fun on Tuesday. Though monday was the catch-up-on-sleep-feet-too-tired-to-see-stuff day. We tried
yes?
But didn’t get very far beyond going to Belgious to get another creppe
mmmm beklgious er yeah that
Drupal, system.module, critical, patch (code needs review), 1 IRC mention
darren yook us to belgious on Monday night. Now I can die.3 yook == took
If anyone cares to mark RTBC.
DONUT RUN Are they angry donuts?
i just try to submit a patch for both MySQL and PgSQL, as code syntax cleanup, it should helps about our maintenance
:p
haha - that’s why i’m runnin!
would you mind to give me a hand?
btw. one of collegaues added a “length of username” feature so autocomplete can be sorted by length so that “foo” user appears before “foobar” — useful for short names — and he added that with a trigger
DONUTS
Drupal, database system, normal, patch (code needs review), 1 IRC mention
the simplicity and the power blew my socks
donuts won’t compare to belgious by=ut they will do in a pinch
did anyone else do Correfoc?
Ugh.. theme cascades beyond 1 level is broke.
i am busy today
ack
look i posted no patches!
What happened? That worked when the patch was committed I tested it
I need to work very hard now drumm’s slide is otu
I am fairly sure someone will want to dethrone me
I will not let that happen
You may want to look at Freso’s patch above - it’s a bug you introduced.
Dunno.. having 3 levels will completely ignore except the immediate base theme.
ooo so sorry about that BTW, as it can helps mysql database driver maintenance, hope you may help if you have a little bit spare time the work is mainly for mysql
you were missed at the hackathon this laptop stand is fantasti i thought the product description is flaky — i mean, 3mm thick when closed? it is.
i’m sorry! the trains seemed to be a bigger dilemma than i had anticipated
next time
Argh. That’s bad. Post an issue and email me the nid. I’d say to give me the nid but I’ll lose it right now.
yeah.. try a var_dump on $base_theme inside init_theme()
seen nedjo
nedjo was last seen in #drupal 12 weeks 3 days ago saying ‘Ciao all.’. unedjo was last seen in #drupal 12 weeks 3 days ago saying ‘Ciao all.’./u
Luckily the support list can be mark-all-read.
Will do. Will post tonight
when I say fixed, I mean marked as fixed, not actually fixed
158927
Drupal, system.module, normal, active, 3 IRC mentions
this bug needs attention I tried to chase it but it’s the weirdest bug ever it happens once per install never more
Probably something unset in the variables
but the strange thing is that it happens when you switch back to system default
That causes a weird issue
so it’s not a flaky variable_get default 1) load the screen. See system default. All OK
After install is the ‘default theme’ still not properly enabled? I fixed that once and then it recurred
2) switch to say, pushbutton. All OK
dopry, didn’t imagefield have token support, or am I completely wigging out?
3) switch back to system default. Error. 4) switch back to pushbutton. All OK 5) switch back to system default. All OK ah! could be, could be! can you look into this issue? honestly i have never seen such a weirdo and i have seen lots of weirdness
I’ll take a look.
correction.. It only sees the deepest base theme.. The in-between themes are ignored.
thanks for having a look at the ahah stuff, could you post your thoughts on the issue?
ok
thanks much, all this time and i haven’t been able to get many actual code reviews
There are few people who can/will review javascript patches
yeah, true
not so. we do need a proper “see php4 home” ceremony
oh kkaefer let me post a new patch without the duplicate divs that really is quite silly
PHP4 was a great tool to work with
So a solemn funeral service, then a big party?
is it $_POST that we are supposed to avoid interacting with directly?
indeed _YES_ it was deprecated in D5 and I will do something nasty to those who use it in six. Honestly. bit was deprecated in D5 and I will do something nasty to those who use it in six. Honestly./b why? #post did we introduce that in six or five? can’t remember
I’m writing an “avoid xsrf” handbook page they should use #post instead?
When using multiple forms I still have to look at $_POST[’form_id’] to identify. When doing AJAX stuff sometimes data is sent via $_POST and it’s completely not form related.
5
#post is not protected
ah
it’s raw $_POST with one huge difference you allow drupal_execute to work in five maybe
This will remain true in six.
um why you need to look at form id? your submit/validate/foo handlers are called accordingly
Because drupal_get_form requires a form id.
just call all forms on the page if one of them happens to be submitted it’ll be handled properly if not you need all of ‘em to be rendered where is my logic flawed?
Your logic is flawed because you always try to put ‘wizard’ forms (previously multistep) in the same form id. I don’t. I hate that approach. When I do wizards, I do multiple forms in succession, and in order to *process* a form, I need to know *which* form was submitted.
honestly in six it’s VERY nice to have them under one form id just try it you will never go back cached forms are teh shit
Stop treating me like a fucking idiot.
Honestly I am trying to treat you as one of the best developers of Drupal if this does not come through then I apologize
When I have a series of forms that are basically unrelated to each other, it is NOT convenient to have them under the same form id. The relationship, in general, is the series. Possibly there is an object. That migrates between them as it is being built. And I HAVE explored fapi 3, and there is some damn cool stuff in there.
exactly we have form_state storage just for that object instead of deciding on a definite step you can take the object and decide on its state the submit handler can massage income data into the object
can you poke someone to commit http://drupal.org/node/178890
Drupal, system.module, critical, patch (ready to be committed), 2 IRC mentions
aka. I told Goba
Yes, and that doesn’t change the fact that the form build ends up being a huge switch statement, or has to find some identifying information to determine which step things are on. In some earlier experimentation, I actually used the form id to determine which step the wizard was on.
form API 4 designing session is going to be held in your house
Thank you. : Without the equal sign.
I am fine with the equal sign
I think a feature I really wanted didn’t quite make it into fapi 3, too.
we had a codeword “one nosed people” for lamers apparently you have two so you not a lamer
Nice
Very well then. I am fine with being called “not a lamer”!
we also use “one bit people” “I am on it” three minutes. nice. if the world wants to end I have both goba and Dries cell phone numbers but me be damned if I call Dries ever for a patch
lol
Goba says “done” four minutes from telling him to done. good job http://photofile.ru/photo/fishki_net/3119227/65810291.jpg
ping what is the mechanism that marks comments with the ‘new’ label?
can we talk handbook organization or any other doc people… magic
hunmonk yeah
good question
node_mark?
http://api.drupal.org/api/5/function/node_mark
there is a table.
is that it?
history yes you were not here yesterday when i begin raving about node ACL
k, good.
so my though is that most features come with a table that contains (nid, uid) pairs and assorted rights of course the table would be ungodly huge so we create node groups (ngid) and user groups (ugid) with any meaning and then we give rights to (ngid, ugid) pairs typical node groups are by types and by terms typical user groups are organic groups and roles
And even in a very complex setup, that will grow more slowly than node_access.
hopefully ngid tables is hopefully O(|{node}|) so is ugid mmm that expression looks nice
It’s worst case is equal to node_access, if every user/node is in its own group. bIt’s worst case is equal to node_access, if every user/node is in its own group./b
of course we need to contemplate how we handle if a node is in a group that has denied access and one that allows
How would that handle rule changes, then? Or do we just toss that to batch api?
i guess we do that
http://drupal.org/node/158927 — I’m comparing a DB dump, before and after changing the settings.
Drupal, system.module, normal, active, 4 IRC mentions
the presumption is that ngid X ugid is small I was trying to that whatever small means
hi! If I want to manipulate only a specific node-type with hook_nodeapi, should I just use an if statement for $node-type?
cache changes do not affect teh issue I tried truncating caches. y
kk
…
major changes are added lines in blocks, and variables.
yuppp
admin_theme, node_admin_theme
lots of serialized info that /me was way way way too lazy to check
those are added. (I ran diff on the dumps)
i believe system changes too I ave no less than four dumps i diff
Well, the most common case would be something like ogs vs. user roles. Which on gdo would be, say 300×5 or something? Well, maybe 600 to account for og admins.
I see the changes in system, but the lines just appear to be reordered.
what is the smallest web server OS with APache you know of?
So, like, acl.module?
Does ACL handle subgroups?
No Each group is distinct
ok. I think Cake has subgroups, but I have no idea how their performance is. /random side notes
i do not know whether htis is a module or an inc
drupal seems to automatically put a in front of it, how can I disable that?
we might or might not (prolly depending on the state of CRUD API) need functions to handle adding/removing a node/user from a group ah you are saying that with db_rewrite_sql we might do this is a contrib module? uah you are saying that with db_rewrite_sql we might do this is a contrib module?/u
chx was rewrite_sql’ed out of the query. *moment of silence*
anyone?
Define “in template.php” And “do a list”.
I think I see something - blocks: theme name = ‘0′
I’m saying I have an acl.module (for a long time now) that does a lot of what you suggest, though it works using node_access. It has functions to add/remove nodes and users from groups. It requires a module that utilizes it to register each ACL that it needs and maintain it (by adding/removing users/nodes) as necessary. It also comes with a bit of form api logic to make editing the user list relatively easy. Though it was before I knew any javascript. I should update that UI to use ajax
and template.php is where theme code is
Bingo - chx it’s the entries in the blocks table - delete them and you can reproduce the issue again.
That still does not explain what you’re trying to do, as a lot of things live in template.php. Try pastebin.
Bingo - chx it’s the entries in the blocks table - delete them and you can reproduce the issue again.
and it automatically puts a infront of it, i dont want drupal to automatically put ’s infront of lists
Your statement does not provide any useful information to assist in debugging of the issue.
It does.
Are you doing $output = ‘li’?
It is a settings issue yes
in a template file?
$output
Then pastebin your code.
I have a mad idea, do you think it would be possible to use a cck computed field to run, and sub the outputs of a view? - the computed field just runs php code, so I should be able to run a view from within it, and do whatevr I like with the output, right? This would be WAY cool - much cooler, I think, than the view_cal approach… what do you think? - have you seen this done? can you give me a hint about
eaton, is http://drupal.org/node/163785 the patch you want people to review?
Drupal, theme system, critical, patch (code needs review), 3 IRC mentions
all it is, is output ‘testlitest/li’
yes, that one
and when i look at the code on the server
yeah, though quicksketch had some excellent feedback. two of the things he mentioned (code issues) I’m going to change, but another can’t really be changed unless I’m msiunderstanding something. about to post
it shows testlitest/li
Cool.
What context is it in? It sounds like the output is being run through the filter system. Did you compose an appropriate limerick?
context? what is the filter system how can i view it?
lol @ limmerick There once was a dude named Crell He immersed huimself in PDO hell
I’m writing one, but man is ‘Quicksketch’ hard to rhyme…
..I’m out. Something about php5 5.2 being awesome, etc. etc. …and that’s where he gets his unique smell!
There once was a dude named Crell / He immersed himself in databae hell / Then he pushed PHP 5 / And the lists came alive / And now all our database handling is swell.
Crell, OoooO!!
There once was a coder named Crell, who descended to PDO hell. Though objects he loved, chx pushed and shoved. In the end, the two did show-and-tell.
ROFL
hahaha
Who’s up for a won’t fix? http://drupal.org/node/178911
Drupal, node system, critical, active, 1 IRC mention
How different is what you suggest from the ‘viewfield’ module?
nice Crell!!!
wwwebernet, I’ll by design it.
lol actually I need to change some of it based on quicksketch’s review
I dealt with a nearly identical one last week. (different person()
http://drupal.org/node/178911#comment-311350
Drupal, node system, critical, by design, 2 IRC mentions
so, i got that out of my system http://willy.boerland.com/myblog/how_de_you_see_transparancy_and_how_open_should_a_kitchen_be and with that i leave you all, back in two weeks
Hello and goodbye
ping
[esq]:wq!
See ya, Bert.
byebye
view fields places a view as a cck object, what I am suggesting is to run the view, and use the output internally to derive a value - so run a view that extracts all the prices, and then sum them up and provide the answer in a computed field - this is what view_cal does, only it works on the view, and does not provide a cck field (and it’s very limited in what it can do)
i look away for a second and you guys write nice limericks now, only if the same euthanism could be showed for http://drupal.org/node/146466
Drupal, search.module, critical, patch (code needs review), 16 IRC mentions
(not sure I’ve explained it too well, sorry
)
Oh I see That’s kind of interesting. Seems theoretically doable.
chx, tbh, that patch scares the hell out of me.
pong
CLI update script on the way for ifac
chx, a) I’m not exactly sure how to test, and b) I’m scared that if I do test and gtest it wrong, I’m going to get my head chewed off.
you’ll also get the ifac patch in about 1 minute
okay
Phew, at least one of us is on the ball
— yes - theoretically doable, and I think quite elegant… I think it provides a nice solution.
hunmonk, hey that project ui hack session was fun. thanks!
I’m a little lost trying to “run” the view - I think thats “todo” on the docs… can you give me a hint?
I think you meant enthusiasm. Euthanism would be a form of the word euthenasia which is killing someone who is suffering to put them out of their misery. views_build_view()
Indeed.
your language is finicky
greta great, even
you ready to start testing issue followups as comments??
hunmonk, Oooo!! Yes!
we should have it on scratch shortly
All are
i’m ready when you are, both files have been mailed to you
Crell, hey would you midn reviewing http://drupal.org/node/178581?
Drupal, update.module, critical, patch (code needs review), 3 IRC mentions
Crell, it needs the eyeballs from people familiar with the open source community in general and how they might gague such a thing.
Oh man this is going to be easy and cool.. but I have to sleep last week Barcelona, this week Nice, I feel like a yoyo… I’ll keep this little gem of an idea for when I’m awake again, and post somewhere to say how it goes…. THANKS
I’ll subscribe and try to look at it tonight.
– still at work and supposed to be doing something for clients.
Crell, if you’re reviewing, would you throw a scrap in my direction? http://drupal.org/node/55277
Drupal, comment.module, normal, patch (code needs review), 1 IRC mention
http://drupal.org/node/146466#comment-309799 #36
Drupal, search.module, critical, patch (code needs review), 17 IRC mentions
seems have testing instructions?
I see that jmorahan came up with a patch for the admin theme issue (testing now)
ooooo! does that mean I will be able to delete “how do I apply this 7.x patch to 5.x” followups, now? YAY
FYI - blocks table is the root cause
hah i saw the 0 block
chx, I read that, and also the patch spotlight. The problem is, those instructions are over my head.
and i thought it’s all or smthng bleh
That’s the one.
“That the change in the search indexing queue mechanism works” What is the change? How do I tell it works? “That the search syntax generates the right queries to return the right results set” How do I know the queries are right? etc. etc.
is it possible to add additional fields to a node content submission form via hook_nodeapi? (ie: when $op == ‘prepare’)?
Even just a ‘for instance’ here would raise my understanding to the ldevel that I could probably be useful.
probably. it took me forever to get the comment editing/deleting behavior to make sense for issues but i believe i have it
no. hook_form_alter is what you need
pm
eaton, ahh, ok - thx
I carefully read over the thread, and what I discovered was that I knew less about search than I thought I did
you are aware that was the onl reason i put my code into this
it will work
Do you want to help with the Views 2 stuff or are you going to be very busy with the project.module side of it?
i’ve had to do a fair amount of refactoring to your code, but it’s looking pretty good now
This week I’m going to start collecting my resources and actually making assignments.
of course
oh, dude. we have so much to do
i just resurrected a long dead issue
i’m hoping that dww can carry a lot of the project_views stuff… i’ve been working on ifac since about 3am this morning, basically non-stop
ifac?
ifac is http://drupal.org/node/18920
ifac is also issue followups as comments
Okay.
ifac?
ifac is http://drupal.org/node/18920 and is also issue followups as comments
will do.
ahh comment module support. Got it. Just didn’t know what the acronym menat.
acronyim is invented by me ‘cos it was too long
I see
let’s see local shops.
well folks, we’re installing ifac on scratch as we speak…
http://drupal.org/files/issues/admin_theme_0.patch look OK to you? - if so It’s working and I’ll RTBC. a href=”http://drupal.org/files/issues/admin_theme_0.patch”http://drupal.org/files/issues/admin_theme_0.patch/a look OK to you? - if so It’s working and I’ll RTBC.
yea looks a sane patchy.
i think the issue still needs some UI love, but it’s not too bad
RTBCing then.
IMO, the comment subject stuff is a bit weird
great another iffin’ issue down and it died an easy dead, even
http://drupal.org/node/174220 can you RTBC?
Drupal, node system, normal, patch (code needs review), 3 IRC mentions
… and here’s another ‘notice issue’ that still needs a patch: http://drupal.org/node/174233
Drupal, comment.module, normal, active, 1 IRC mention
still no cigar. to denotice if ($foo) use if (!empty($foo)) the two are equivalent just the latter is faster and no notice still no cigar. to denotice if ($foo) use if (!empty($foo)) the two are equivalent just the latter is faster and no notice
What about false?
what’s with FALSE?
false != empty ?
????????????????????????? empty(FALSE) is FALSE so if (FALSE) and if (empty(FALSE)) are the same true for any value
You’re right - I misread http://ca3.php.net/manual/en/types.comparisons.php
!empty($foo) is the magic “do what I mean the right way” incantation.
it’s nothing magic
ok, genuises, what’s the secret to overriding the default validation error message during a D5 form_alter? I’m following the Pro drupal instructions to the letter here. I’ve got the form throwing an error if a radio button isn’t selected during step 1, but it just prints the field’s label + ” field is required” instead of my t(’you forgot to choose a package!’). Any hints for a guy who just wishes D6 was ready for production today?
i once , only once took the effort to read ZEND_ISSET_ISEMPTY_VAR it’s not that hard
wow, empty(0) is false
if (0) is also false what’s the trick? I mean what’s the wow
empty() is a useless function.
I would have thought it’s true
0 is hollow
erm waht?
i like empty() for arrays and strings
php $a = 0; var_dump(empty($a)); i see a true.
it’ll bite you on strings. it makes sense for arrays.
what do you see…?
true hrm
empty() requires a reference I think.
never mind…
wait
yes
So empty(0) should fail and provide an E_NOTICE
it’s a parse error syntax error, unexpected T_LNUMBER, expecting T_STRING or T_VARIABLE or ‘$’”
php $a = 0; if ($a) echo ‘if ($a) fired’; if (empty($a)) echo ‘if empty($a) fired’; this seems like problem to me
yeah
yup
fuck, fuck FUCK notices!
$a !== empty($a)
seems so
if ($a === 0)
now , just how many places have I made this error? SIGH and, does it have any dire consequences?
I’m lost
E_STRICT dies here and now — we will now need to go over every if(empty()) in core because i fucked up but this means that such cleanups are costly in time and i will oppose doing another
can you explain?
run the above three lines and see
if ($foo === 0) assert($foo !== empty($foo);
What, it’s too hard for you to just tell us what you got?
no problems I am just very very confused I am tired and got confused no worries no bugs sorry i got lost in the maze of zeroes falses and all I have slept in the cab heading home
OK - so: if($a) == if(!empty($a))?
even better (bool)$a === !empty($a)
if $a == 0 then empty($a) == TRUE and TRUE !== 0
and if ($a) makes an implicit cast to bool
on template.php how do i check if im on admin section or not?
if (arg(0) == ‘admin’)
rerolled http://drupal.org/node/174220
Drupal, node system, normal, patch (code needs review), 4 IRC mentions
that doesnt work when im on edit content page because on url there is no “admin”
there is no clear distinction between admin and non-admin, then
http://lxr.php.net/source/ZendEngine2/zend_vm_def.h#3624 = look, ZEND_ISSET_ISEMPTY_VAR does a cast to bool same stuff just without notices. C source comforts me when I am confused.
I’m having an issue with the date module. When I attempt to convert a datestamp field with the date() function, the result is one day short. When I use the same code on a date created with mktime() the value is correct.
we all have issues with dating
Speak for yourself, chx.
I’ve put my code here http://drupal.pastebin.com/d2e16d384
this was a joke (obviously?)
As was mine.
I’m not sure if it’s something I’m doing wrong or the module.
hey, fish protocol is cooool maybe not protocol just a kioslave but still
whats the function to get the content type/
chx, yeah, it is.
sftp does not want to use my prviate key fish does.
killes roughly benchmarked the ifac db update as converting 1000 comments per minute that is sloooow…
why?
dunno
300 000 followups, 300 minutes, five hours, do we pay the servers an hourly fee when converting or what? b300 000 followups, 300 minutes, five hours, do we pay the servers an hourly fee when converting or what?/b
i’m not complaining. just a bit surprised. i had to write a CLI updater since we don’t have batch in D5
????
nycphper, you mean the node type?
update.php has that
in 5? for a single update?
4. 4.7 even sure sure
nycphper, node_get_types
well then i’ll need to see some code on how to run it…
system_update_172 I always use that as a skeleton
i followed up on your css patch again lol chx, good luck with that
thanks. I’m pondering it. Hmmm.
We only have 300K issue followups? I would’ve expected millions
that was a guess from me hey, Tank runs Mac OS X natively just there is no wifi so Tank got Kubuntu as well
what’s tank?
oh hahah
actually, the machine hostname is Tank
i didn’t realize. i guess i should’ve said “who’s Tank”?
*nothing* comes close to Omnigraffle I am not an OSS zealot. I use what works the availability the source does not make a product great. See Firefox vs Opera.
well, it doesn’t work in when cooperating with others.
hands up Omnigraffle owners
I have the feeling issue followups cluster heavily
http://drupal.org/node/163785#comment-311408 — 300K followups is pretty close.
Drupal, theme system, critical, patch (code needs review), 4 IRC mentions
hey quicksketch, I just downloaded the 5.2 branch of imagefield, great stuff
your attitude reminds me of M$-users in the early and mid-90ies.
that’s great. i haven’t been touching imagefield for a while
hehe
though i’d like to have 2.x see the light of day sometime
I was getting ready to write in token support when I saw that branch
yep, that happens frequently
I’m searching a good CMS for do surverys
quick question, it looks like the ajax upload is broken for safari and opera, is that just my wacky setup, or a known bug?
and I wanna study results of this surveys
honestly, ask the guys with fruit laptops, most of ‘em has omnigraffle
can I use drupal?
noone will stop you for sure.
palmax, you want to do surveys?
also, most of the stuff i need this for can be exported in PDF and that’s it
yeah
a drupal setup with the webforms module will do wonders for you
I want to do surveys, and later I have to study it
hmm it probably doesn’t work, it’s based on the upload.js file
bask in the glory of drupal
Affordable postgresql website hosting
imagefield 2.x? The times I’ve tried it I couldn’t get it to work on firefox.
quicksketch, cool, np
which has some trouble in both those browsers
I have never even looked at upload.js
jscheel, mmm
I’ll have to peek under the hood after this project
anyway i’m out for the night, i’m still on vacation
nice enjoy!
vacation == hacking core 24hrs in a quiet mountain retreat? (that’s my definition of vacation, anyways.)
no, but i’ve got one of those days reserved for when i get back home
aren’t those days supposed to be wind-down days?
There’s no good way to migrate a multi-site install is, there? Since all of the file paths end up changing on the new domain, and those are in the databasE? uThere’s no good way to migrate a multi-site install is, there? Since all of the file paths end up changing on the new domain, and those are in the databasE?/u
Crell, one big fat migration script, loads of fun
Yeah…
Crell, if it makes you feel any better, one of our guys had to write a script that deployed multi-site drupal installs with multi-site gallery2 installs bridged over to drupal, register domain name, pay for it, and activate everything, all on the fly.
Ouch.
well, time to pick up my wife for bible study, have a great evening everyone
voy a ir cerrando el chiringuito I have to go bye
Mh… is it already possible to release a development snapshot for a D6-compatible module?
I think so. You just make a DRUPAL-6-1 branch.
Yes. You can create the snapshot out of HEAD or DRUPAL-6–1
–1, that’s right.
Ugh. I’ve been away too long - I forgot you have to make the branch before making a release. Duh. -_- Wait, I can make a snapshot from HEAD?
You can make a release node based on HEAD.
well you can tag it from anywhere
In the “add project release” form, I can only see one option under “CVS Identifier”, which is a branch. So how do I pick HEAD?
You’ll have to remove HEAD from whatever it’s currently attached to Which is probably your 5.x dev release
Ouch.
No, it’s easy to do
I’ve never meddled in releases before, see.
They do have rather a lot of complexities unfortunately
Do I need to create a different CVS tag to attach the old 5.x-dev release to?
(I love Drupal. End of Transmission)
If you don’t already have a DRUPAL-5 branch you’ll need to create one.
(wait, I’m checking the repository…) Yes, there’s a DRUPAL-5 branch already
I forgot to mention — 3 bottles of your stout was used as part of the entertainment at our Drupal Association dinner. That’s damn fine stuff. You should be able to point your d5 dev release at that branch
he he glad to hear the brewery are going all drupal in a coupple of weeks were still working on the site
You’re doing the web site for a brewery?
But in the node editing form for the release, HEAD shows up as the only available choice… perhaps another release is attached to DRUPAL-5…
Could be I guess you’ll need to go through your dev releases and see which one is attached to HEAD
bet ya a microbrewery just outside of copenhagen actually bout 500 meters from where i grew up
What project is this? I will have to order from them
No, doesn’t seem to be. I don’t know why DRUPAL-5 is unavailable when editing the 5.x-dev release.
Stout from skovlyst -approved by the drupal association
There is just so much beautiful predictability and symmetry there I could cry.
well there are beginning to do some retail order stuff but that will take a while though - ill cramp together a box and send it instead
what’s a reasonable refresh rate for the progress bar in update.php? every 5 seconds?
well they first opened up a couple of years ago a secret preview http://bryggeriskovlyst.dk/drupal
This is about dhtml menu, so you can edit the release node too: http://drupal.org/node/102362/edit - does it do the same for you?
1 IRC mention
its very secret he he i gut a bunch here so when panels 2 is done … the beer for code program!
Hmm. For you it doesn’t offer DRUPAL-5 as an option on the branch? Yay beer for code
Nope. It does for you? Perhaps some user access stuff…
Nice, very pretty site! Yea it may be a project maintainer feature.
Ah. So I can edit release nodes, but not actually change the branch they’re attached to.
Ok, I changed it over.
well its not done yet … and i need to get deep into that calender - but thanx
Thanks
Oh, spiffy. Looks like a Zen-derived theme?
nopes an mortendk derived css framework thingie - but some of the stuff _phptemplate_variables were stolen
http://www-307.ibm.com/pc/support/site.wss/VSTA-DWNGRD.html terrific.
hehe. The classes looked familiar.
get a mac
currently, I don’t need another
I call that an upgrade.
he he i need another
I need a replacement mac for a short while though
My ThinkPad has 3 buttons, As God Intended.
use a pen mate
how uses those weird buttons when you can just tap with two fingers on the touchpad?
Because I loath touchpads?
Thinkpads have the little nubby thing. Not the touchpads. I like those too.
The T series has both.
thinkpads look so 1980s
Ah.
The X series is just the pointing stick.
ThinkPads look like Real Laptops(tm).
My Thinkpad T60 has both Also the pointing stick is a little less stiff than they used to be So it’s easier to use.
but the touchpad still sucks
It’s useful for scrolling. That’s about all I use it for. Bad wires!
Pretty. Makes me pine for a brown ale… or a stout… mmm… I wouldn’t mind a pint o’ stout right now…
ehee. see, i tend to use mice on some machines right handed, and others are left handed
Neat. irssix
so if I don’t use a real mouse, I get confused :/
I’m fairly satisfied with Colloquy.
I hate Colloquy so much I could spit. a) It stores the freaking logs in XML.
But I haven’t tried that many and I don’t have very high demands.
you can change that
b) It won’t let me complete my parentheses and makes (hello! ) into (hello!
Doesn’t for me… )
c) I forget what else, and it
turn on “Human readable file formatting”
just annoys me.
(hello! )
Freso, do you have the most recent version? It started doing this around a month or two ago. OH!
but yeah, Colloquy is not one of the best os x apps
d) It and Safari 3 beta are bitter, mortal enemies.
“Version 2.1 (3720)”
I think they finally fixed that though. But it used to be that if you had Safari 3 beta installed, when you’d enter certain channels tehre would be …. nothing. You could see that people were saying your name but the entire screen was blank.
Currently the newest version available, according to “check for updates”.
yeah, annoying bug
So yeah. Not Colloquy. And I’m currently on X-Chat Aqua but it has some really annoying things too. Like eatong my posts randomly.
True. I think that was fixed though. Haven’t experienced that for a long time now.
Freso, can you make colloquy use plain text logs?
ill take a pint with me to the next drupaldk meetup
that is my main reason to not use it
Oh yeah.
wow that would be sweet
if that was an option, I would go back to using it.
But I doubt it is.
And frankly, I don’t feel like writing a parser just to read fricking plain text.
But as I said, I’m not even close to religious about IRC clients (except that irssi rules and I have come to dislike all other IRC clients on Linux).
webchick, there is KVIrc
yeah?
maybe irssi is for you
OoooO!
webchick, i don’t know if it’s any good but it might be worth a shot http://www.kvirc.net/
Macirssi! now THIS is 0ld sk00l!!
Morelike preskool
Hm. Their download link is broken. So -1 so far.
Macirssi? Link?
Yes, it’s a GUI for irssi http://www.g1m0.se/macirssi/ That site is incredibly sparse but this is coooooool.
In case you missed my previous comment, I am quite a fan of irssi when using Linux. Chances are I might be here on OS X as well.
I did see that.
Sparse != bad
Which caused me to go searching for ‘mac irssi’
paralells desktop -geeeezaaaaus you suck
Aw. I like parallels
i used to but maaaan is foooking slow :/
mortendk_, how much HDD space do you have left?
yeah the newest version of parallels is molasses
buy another gigabyte of ram
well at least right now …. mmm maybe me need anothe machine
ran fine before i upgraded
bout 21GB
I’ve found that the speed of Parallels is inversely proportionate to the amount of GB you have free. Well not that problem then. 2 or whatever.
21 gb?
Excellent! Except, the first Wednesday of next month (or, week), I’m in Rome. So I won’t be able to attend that one. But I’ll look forward to it in November.
yup me gotta another hard drive
It’s me or the Payment module has been removed from e-commerce pack ?
oh, hd space
Pardon the interruption but.. does anyone know the best route to take for displaying a business listing page where each business is a node? Would I want to use views for that or would hard coding it be best?
cool im kinda hoping that the information newspaper guys wanna do a talk bout the paper - im soooo much not agreein by the bitching bout the styles cck views and you will be a happy geek
awww no love for KVIrc
Hm? Do a talk? When/where? Oh, at the meeting.
_CitizenKane_, I finally got it to download. trying it now. It’s.. pretty.
webchick, strange, first link worked for me
yup and then ill se if we can hook up a “Royal Geek” with the scandinavians a 1 day thingie all thinxs drupal
is there another way to create pagination and $arg/businesses easily without using views or cck ?
have no idea i guess so / me loves cck & views
Ew. KVirc has a ginormous window with all the screens in it. No thanks.
ill have to take a look then im not familiar with cck at all
Though I’ll probably go blind soon with this 0ld sk00l font
ugh
well you will thank me then cck is da shiiiiart
macirssi doesn’t support umlauts correctly
change the interface to UTF-8 Under preferences Or is that not what you mean?
the actual application settings for real name
ü seems to work? Ahhh.
arg why cant i get evil paralells to view a page at localhost *aaargh*
When using the forms API to edit a form, what is the hook used to add the #required attribute?
configuration files are obviously not in utf-8
hook_form_alter hook_form_alter?
http://api.drupal.org/api/5/function/hook_form_alter
plus, the icon sucks bad
Thanks, webchick!
dude. it’s a ship. it implies. uh… treasure? but…HIDDEN treasure! that you need to defend with …cannons and stuff.
it still looks horrible
hahaa
Fine. Stick with your ugly, unusable XML logs.
I can open them in Colloquy
have you ever tried searching?
yeah but try sending them to someone
yes
Or even just reading them. It’s constantly refreshing the damn thing while you’re reading it. so the lines jump all around. *so annoying*
spotlight indexes colloquy search logs
Spotlight is another horror.
I’m not saying colloquy is perfect
Don’t get me started on that.
you know what?
what?
you should switch to windows
chicken butt? hahaha
see?
I’m not saying Windows is better. I’m saying storing plaintext IRC logs in XML is a completely dumb-ass idea.
there is an option to change that
checking.. if that’s true, that would eliminate my main complaint with it I’m under “Transcripts” So.. uncheck “Human readable file formatting?”
check
It is checdked.
oh
anyone know how i can make sure my form gets a token if i override a node add form for a cck content type ?
I think there’s something like a form_get_token Overrding the node add form sounds dangerous though there are modules that add stuff to that form. if you take conrtol, they won’t be able to.
well … I’m only overriding it in one particular case … when i’m generating an add or edit form for one cck type. but ya, I dont like that I’m doing this … but I dont know how to do it a different way.
Don’t use CCK for that. Create your own basic node type, and then add stuff with CCK to that. (The basic node type, including stock form, is maybe 15 lines of stock code.) You have more flexibility with basic nodes you declare yourself.
hm … i dont totally understand.
What do you need to do to this form?
i have a client that wants total control over the appearance of a node add/edit form
Theme function.
with a CCK type?
Why not?
right so whats what i was trying to do … i overrode phptemplate_node_form and am trying to take the $form array and generate the markup exactly how I want. is that the right approach?
Sounds good to me.
Lots of drupal_render() calls.
Good luck, rors.
hey thanks!
Can you run hook_form_alter() to edit a part of a form that has been added by another module using hook_form_alter()?
i guess it depends what order the various modules’ hook_form_alter()s are called ya? shouldnt be too hard to do a little test.
I just read that it’s based on a weight in the system table. That should allow me to bump my ‘custom’ module to the end. Thanks!
don’t mind me - just playing with irc clients
seen zlender*
ping’. Zlender_ was last seen in #drupal-soc 1 week 10 hours ago saying ‘allisterb: pm’. ping’.
Regarding views, how come arguements only show some options and filters show what seems to be all options?
Probably because arguments aren’t filters?
I know that.. but they are similar or they can be
hmmm… someone pinged me ahh well
Well, ‘all the options’ are really ‘operator’ and ‘value’ and arguments get the value from the argument itself, and the operator is usually equality.
seen greggles
magic’.
greggles is Greg Gnadison right?
Knaddison
wow, talk about your runaway voting! http://groups.drupal.org/node/6164
1 IRC mention
Nobody’s on Oracle? I’m depressed…
Most people aren’t going to spend ten grand to run Drupal.
See, that’s the real reason I have 0 interest in Drupal on Oracle
It’d be a $10,000 database that was rock-solid and never failed, but it’d only work for 12 months. Then, when D7 rolled out…
hmmm one of the ie hacks in the css for calender actually makes it not work in ie6 .. me gonna post my first bug report
Is Oracle support native in Drupal? I don’t know much about Oracle.
There is an oracle driver for D6
seen eaton?
I have the feeling issue followups cluster heavily’.
You’re in the show too.
We have a show?
What are you doing Wednesday night the 10th? heh http://groups.drupal.org/drupal-dojo/schedule
is there a hook I can attach to that happens just before a user login is attempted ?
i’m being as patient as i possibly can i believe this patch is qualified to be a part of next views beta release: http://drupal.org/node/103171
Views, Code, normal, patch (ready to be committed), 22 IRC mentions
Not sure yet. doh
don’t worry about it. I just made that up on the fly as I was typing.
merlinofchaos, that patch is older than sprout!
I have a gift for you. It’s a patch to override module styles.
whee! I LOVE suprises! gimme I’ll test tonight. I have some time
It’s easy and I think you’ll love it. set your override directory and drag & drop.. done. :p
mortendk will too, I’m sure… Lesse now. Drag ‘N Drop in the command line would be… dnd. No wait, that just launched an instance of Dungeons And Dragons in Lynx!
http://drupal.org/node/163785#comment-311485
Drupal, theme system, critical, patch (code needs review), 6 IRC mentions
cool
I just noticed your comment after I posted. The override directory has to be explicitly set so it won’t affect anything.
http://www.flickr.com/photo_zoom.gne?id=1439750542&size=o — all macs
anyone know of a plugin that allows you to provide an arbitrary ordering over node attachments?
If your around.. http://drupal.org/node/178973
Drupal, theme system, critical, active, 1 IRC mention
hello all
HI dmitrig01
hello Michelle pwoladin?? horray, javascript patch got in!
ping again?
?
there are two pages related to security stuff http://drupal.org/node/32750 and http://drupal.org/writing-secure-code
5 IRC mentions
the first is about the “team” and is under the Getting Started book
yes, I put it there
http://drupal.org/node/101494 and http://drupal.org/node/101497 are basically about the team process and not about “writing secure code”
2 IRC mentions
3 IRC mentions
so, drumm proposed moving them to the “security team” page thoughts?
wait. what? you all had this whole conversation without me
well duh
so. brief synopsis?
that’s it drumm just proposed it to the security team it made sense to me, but I wanted to run it past you first
i have a offlie version of a site and an online version. I did some mod w/ the offline one but dont want to upload the whole dir. instead i just want to upload the mod files what to do?
support?
Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.
so, you want to move, how to report and contacted by pages to under the ’security team page? and leave ‘writing secure code’ where it is?
I can do it
I am asking if that’s waht you want to do
just curious about thoughts of slamming lots of sub pages into the getting started section yeah, that’s the idea
let me read ok. move them. I need to retitle them but I will have to think about it. I will also have to convert them for the getting started pdf I am not killing myself with this handbook update but the ‘getting started’ section is the ‘core supported’ handbook. At least that’s the goal for that specifically and most info will be mirrored in the docbook stuff going forward so thanks for checking when I get done, I am going to alias every page in the getting started book do you like the new organization so far? No one really commented on the proposed structure on the doc list. 2 liked it, 1 wanted a card sort survay and one wanted to use it as a hammer for his own issues people surveyed and collaborated with in channel liked it evenetually I want to tackle the dev guide and split it in two/three major sections but that can wait a bit
ah, I see now about getting started
it matches the PDF
these don’t _have_ to be in there if that then means that they are in “the new doc” but if it seems reasonable to you, then great
no, after reading them they make sense to be in the pdf.
ok cool
oh. 4.6 and earlier only content is fair game to unpublish
heh
especially snippets ruthlessness is acceptable
ping I got an issue saying “you should do a release of the new BETA version the same way that panels has” which means nothing to me if you feel like it, any insight you have would be nice but I’m mostly following the same pattern you did with recent views (i.e. a long BETA period)
Hey all
Well I’ve released 10 different alphas And I tend to keep them moving every 2-3 weeks
Sheesh, how many webchicks are there???
There can be only one.
seen webchick*
webchick was last seen in #drupal 5 hours 41 min ago saying ‘there are modules that add stuff to that form. if you take conrtol, they won’t be able to.’.
Cue glass shattering and “yaaaugh” sound effects.
webchick1 was last seen in #drupal 5 hours 43 min ago saying ‘It is checdked.’. webchick_ was last seen in #drupal 6 hours 3 min ago saying ‘Neat. irssix’.
ping?
you only see webchickenator when thyere is a paticularly crappy internet connection for her
Too mayn connections on drupal.org at moment ;-(
Ah.
So why are there 4 of her here tonight?
is good for me
oh. ok now..
she was experimenting with irc clients
Ah.
it was mocking you
What’s the name of the file that holds my bash command line aliases and such? I can’t recall where I saved my CVS checkout commands.
.bashrc you need ls -a to see it
searches Found it! Thanks.
http://news.php.net/php.internals/32435 - nice.
So what level of compression do all you blokes use when checking out cvs HEAD? -z6? 8? or do you take it all the way to 9?
I think I do 9, but it doesn’t matter much unless you’re on dial up.
oh, bummer. I was gloating over my supposed speed increase too
You trade CPU for bandwidth.
Good thing I have CPU to burn
bad thing is you burn drupal.org CPU
ooo, that’s good to know
how could your computer compress data it does not yet have?
so the lover the compression number, the better it is for the server? chx, stop being so damn smart! lol
that’s like wishing me to drop dead :/
I guess I’ll lower my number for compression to help out the servers Every little bit helps
I believe these days the web server is idling while the SQL server is straining. I’m not sure where the CVS server lives, though.
that’s the only way I could stop being smart anyways how’s issue queue these days? i’ve been absent since Monday
Critical queue is just over 2 pages.
with how many greens?
5 since the last one with your name on it.
pending bugs below five pages that’s jolly good
well crap that’s depressing
?
well think about it from my perspective I just got decent quality docs for 5 written, so I have to hurry now for Drupal 6 since I just raised the darn bar
? ah i thought having 70-something bugs is depressing
lol
which is definitely not
actually, my plan is to have a complete D6 Getting Started guide on the day of release
it’s a nice number there are issues that itches won’t fix or a feature request instead of a bug
What module is this patch against? (the #33 patch by dvesel) http://drupal.org/node/163785#comment-311485
Drupal, theme system, critical, patch (code needs review), 7 IRC mentions
Mostly core. I’m reviewing eaton’s version now (which I conceptually prefer).
NM. I think I figured it out. It says “Index: includes/bootstrap.inc” at the top of the patch.
any module to construct many block to made first page ?
oh suck it up trooper and get patching…
yesterday I bought a new USB stick. the file that took two minutes and then some to copy to the old is copied in 22s to this one.
Please try #drupal-support
thank
i felt like when i moved from floppy to usb stick
dang. WHere is the bootstrap file anyway?
patch will handle it for you, what the hell are you doing?
I’m applying dvessel’s patch so I can test it so if I drop it into the root of the drupal install and then run a patch auto_style_override, it’ll just go? bso if I drop it into the root of the drupal install and then run a patch auto_style_override, it’ll just go?/b
If patch -p0 file.patch doesn’t work, then just stop there.
ahh, I forgot about the -p option good reminder.
Woot!
I already watched PHP 5 part 1.
don’t worry
I thought it was
don’t forget to resubmit the theme since the .info file is cached in the db.
it;s already up
Is it?
yes but it was you so I figured I’d skip it
Hey look, more of them!
lol
sweet! Hunk 1 suceeded, dvessel! I just patched a core CORE file.
anyways one question
actually I am building a gallery/image based site for a friend so it was more relavant
can you disable registration?
so, like the new getting started book?
of course
Haven’t had a chance to look at it.
it’s in the getting started guide
there should be no offsets. Just made the damn thing a few hours ago.
I’m still not caught up from my week away, and I’m going to Kentucky this weekend.
3 IRC mentions
I’ll send you $5 so you can buy 500 GB drive hmmmm…. asterick now has a pre-configured vmware image you can download I want to see the php5 ones but so far my update attempts to php5.2 have failed
I wonder if this CSS issue should also include a patch to the garland.info file to create a default style override path = /themes/garland/styleoverrides/
what for? Garland isn’t overriding anything.
Think about it. I’m a new drupalii. I install the slicker-than-pudding D6, and now I wanna change my site’s title font.
And no one should be touching Garland
You know I’m gonna start messing with the style.css file inside garland iteslf
easy.. Set a “base theme” and your override
You just know it!
base theme = garland style override path = styleoverrides
does this style override path have to be from the root of the installation?
Done.. now just drag & drop.
Does it take a relative path into account?
http://drupal.org/node/163785#comment-311490
Drupal, theme system, critical, patch (code needs review), 8 IRC mentions
That says it right there. doesn’t matter where the style originates. as long as there’s a “modules” or “themes” in the original path. It slices from there and resets the path. And it’s reliable since Drupal is so consistent with folder names.
holy craps! It DOES accept a relative path! W00t All seems well with this patch I’ve tried it three ways i didn’t try it on any different themes though
And Senpai, it works with sub-themes too. If the base also has an override set it’ll take that into account.
I should try one inside the /sites/all/themes/contrib/customized/coolass/ directory, just for kicks
hehe I dare you. I’m pretty certain it won’t fail. heh
I am amazed at how many people in the video I recognize
I am vain
Is there a video of me?
or every video camera just gave up when pointed at me
?
this was walkah’s image future presentation. haven’t seen you in it
well no i do not believe in that if there is work you will see me
The PHP 5 part 1 video has a lot of you I think you get more close ups than I do.
dang. It works, even inside a /sites/all/themes/contrib/customized/coolass/color/overrides/ There’s one wierd drawback tho. You can’t make any edits to the main style.css file any longer. At all.
haha, you actually tried.
It threw me off for a sec.
Eh?
I’m so used to CMD-O, style.css
shouldn’t affect that at all
link?
yeah. It breaks off all contact with the regular style.css file.
http://www.archive.org/details/Drupal_and_PHP_5
The theme on’t listen to anything but the overridden styles from then on in
I want to have one of those “hey mom look at me” moments.
hehe
I’m so excited about the theme system in 6
I haven’t seen part 2 yet.
I might actually be able to hand of all UI portions to my graphic design team!
something else must be wrong. the theme’s main style.css shouldn’t be affected.
I’m looking forward to teaching our new themers about it.
Ya want me to nodate that on the issue? *notate
Once I read a quote that the ultimate goal for every performer is “hey mom look at me”
double check first.
ok
er, I’ll check myself.
uhh, oh. The color wheel is broke-ded too.
Of course it is.
anyone made this http://coblitz.codeen.org/ thingie working with this archive.org videos? this is unwatchable slow.
no, wait, it’s not. Sort of.
All image links have to be reset.
It changes to the correct color.mod selections after you navigate away from the admin/themes page. They just don’t show up right away like they used to.
It must be because of duplicate style names.
I sleep now.
So if I change the name of /styleOverrides/style.css to something different, that’ll fix it?
yeah /styleOverrides/original_parent/style.css
New Zealand Tomcat 5
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Feb | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
Leave a reply
You must be logged in to post a comment.