#silverstripe IRC Log

IRC log for 5 July 2013

All timestamps are in UTC.

1: [00:01:06] * micmania1_ quit (Ping timeout: 250 seconds)
2: [00:03:02] <simon_w> Ah, I remember when each test took 15 minutes to run
3: [00:03:05] <simon_w> So much faster now
4: [00:03:15] <ss23> Why faster?
5: [00:03:37] <simon_w> No icea
6: [00:03:39] <simon_w> *idea
7: [00:03:53] <simon_w> Better database usage? More RAMs?
8: [00:04:09] * wolfv has joined #silverstripe
9: [00:04:10] <ss23> mm
10: [00:04:50] <ss23> merged commit a4964f0 into silverstripe-labs:master from ss23:patch-3 4 months ago
11: [00:04:54] <ss23> ty github
12: [00:04:55] <ss23> now tell me the branch so I can merge it
13: [00:05:11] <ss23> uh
14: [00:05:12] <ss23> commit
15: [00:05:13] <ss23> you know
16: [00:05:13] <ss23> hash
17: [00:05:14] <ss23> FUCK
18: [00:06:14] * travis-ci has joined #silverstripe
19: [00:06:14] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#520 (master - 4b57a34 : Simon Welsh): The build was fixed.
20: [00:06:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/dfc8dbdee04e...4b57a343a286
21: [00:06:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8750329
22: [00:06:14] * travis-ci has left #silverstripe
23: [00:06:20] <simon_w> chillu, all green :)
24: [00:06:29] <chillu> woop woop!
25: [00:07:15] * zippy__ quit (Ping timeout: 245 seconds)
26: [00:07:24] * spronk quit (Read error: Connection reset by peer)
27: [00:07:46] <underk> hey, is the support for 2.4 dropped after 3.1 or 3.2?
28: [00:08:03] * joelpittet quit (Remote host closed the connection)
29: [00:08:05] * spronk has joined #silverstripe
30: [00:08:37] <metanat> hmm, I think it is just security fixes now, not sure about future
31: [00:08:54] <metanat> simon_w will know
32: [00:08:56] <metanat> :)
33: [00:08:57] <simon_w> Depends how important the fix is
34: [00:09:00] <simon_w> No I won't :p
35: [00:09:04] <metanat> hah
36: [00:09:11] * tankr1 has joined #silverstripe
37: [00:09:15] * tankr quit (Ping timeout: 240 seconds)
38: [00:09:56] <underk> that's what I'm wondering - when will security fixes stop. :o
39: [00:10:00] <Pyromanik> so how does translation for summary fields work these days?
40: [00:12:25] <simon_w> underk, like I said, depends on how important it is
41: [00:12:45] <simon_w> There's been a couple of fixes for 2.3/2.4
42: [00:14:22] * EasyCo has joined #silverstripe
43: [00:14:34] <EasyCo> Morning guys
44: [00:14:46] <underk> oh ok it's nice
45: [00:14:50] <ss23> moin EasyCo
46: [00:15:14] <simon_w> Yay, free lunch again!
47: [00:15:38] <EasyCo> Anyway to do something like <% with Page($URLSegment/apage) %>
48: [00:15:59] <EasyCo> I've got 2 'apage' in the site so I need to differentiate them
49: [00:16:40] <simon_w> <% with $AllChildren.filter('URLSegment', 'apage').First %>
50: [00:17:29] <EasyCo> 3.0.5?
51: [00:17:38] <simon_w> Unless it's not a direct descendant, in which case you need the full link
52: [00:17:39] <simon_w> yes
53: [00:18:11] <EasyCo> Beautiful. That's perfect. I didn't know you could use those methods like that in the template.
54: [00:18:40] <Pyromanik> chillu: willr it was that line. https://github.com/silverstripe/silverstripe-userforms/blob/1.0/code/model/UserDefinedForm.php#L72 Commenting this and putting (non _t()'d obviously) the summary fields directly on UserDefinedForm_EmailRecipient worked. Image is now no longer returning the wrong summary_fields
55: [00:19:05] <metanat> SS3 templates are just so much better than SS2. Such an improvement
56: [00:19:24] <simon_w> And, in 3.1, variable arguments will work properly too!
57: [00:19:28] <Pyromanik> not sure if direct class manipulation like that fiddles with Config somehow or what was going on, but something definitely going awry.
58: [00:19:37] <willr> Pyromanik yeah I don't see why that is in getCMSFields, should be in the model
59: [00:19:46] <simon_w> willr, fix it!
60: [00:20:07] <Pyromanik> willr: I imagine it's left over from 2.4 where one cannot (probably still can't) use a function inside a class level assignment.
61: [00:20:30] <simon_w> Well, that's a PHP thing
62: [00:20:42] <Pyromanik> eg class blah { public $foo = lolwut(); } is bad.
63: [00:20:46] <Pyromanik> simon_w: yeah, I'm aware.
64: [00:20:47] <willr> Pyromanik the usual approach is you can use get_field_labels() or something.
65: [00:20:57] <simon_w> fieldLabels()
66: [00:21:27] <willr> My lack of commits recents has been since I haven't been working with SS last couple of months!
67: [00:21:28] <Pyromanik> so yeah, but still dunno why it was interfering with Config.
68: [00:21:58] <simon_w> Pyromanik, it'll be setting the static on DataObject
69: [00:22:10] <chillu> alright, bed time here in .de - see ya guys, happy hacking
70: [00:22:17] <simon_w> Simple fix would be to stick a null $summary_fields on UserDefinedForm_EmailRecipient
71: [00:22:54] <simon_w> night chillu
72: [00:23:02] * chillu quit (Quit: chillu)
73: [00:23:26] <simon_w> He's gone! Let's break all the tests!
74: [00:23:44] <Peavers> You seem to break it regardless simon_w ;)
75: [00:24:06] <simon_w> Pfft, merging means it wasn't me :p
76: [00:24:37] <Peavers> Thats not what the bot said, and we all know bots can't lie.
77: [00:24:51] <simon_w> I made the merge commit
78: [00:25:14] <ss23> lol
79: [00:25:16] <simon_w> And all it did was move the failure from an allowed failure to one that causes the build to fail
80: [00:25:29] <simon_w> Ooh, we should turn the lint test back on!
81: [00:25:33] <simon_w> Make it really slow :D
82: [00:26:12] <ss23> Don't we already do that with scruitinizer?
83: [00:26:18] <ss23> Or is lint a different test that does the same thing?
84: [00:26:30] <simon_w> lint's a syntax check
85: [00:26:38] <ss23> Oh, that kind of lint
86: [00:26:47] <simon_w> Could probably turn it on for scruitinizer, since it only runs on changed files
87: [00:26:48] <ss23> simon_w: Hmm, if tests pass, it's probably fine
88: [00:27:07] <ss23> Do we have a code covereage tool that tells us our current test coverage?
89: [00:28:09] <simon_w> dev/tests/coverage
90: [00:29:57] <ss23> sweeet
91: [00:31:14] * howardgrigg has joined #silverstripe
92: [00:31:34] * tankr1 quit (Quit: Leaving.)
93: [00:34:55] <Pyromanik> simon_w: ah, that'd make the sense.
94: [00:35:39] <Pyromanik> so... who's brilliant idea was it to validate a page is a valid child of it's parent type WITHOUT also checking if user is trying to set it to a valid type with that very write?
95: [00:36:11] <Pyromanik> I don't want to do this in the DB but oh lawdy I will.
96: [00:42:34] <ss23> I want the newsletter module to notify people in here too!
97: [00:42:36] <ss23> So it'll be like
98: [00:42:38] <ss23> "ss23 fixed the build!"
99: [00:52:20] <ss23> halp
100: [00:52:21] <ss23> simon_w: halp
101: [00:52:26] <ss23> I didn't annotate my tag
102: [00:52:32] <ss23> how 2 ammend it to put an annotation there
103: [00:52:33] <ss23> ;_;
104: [00:52:53] <ss23> git tag -d tagname; git tag -a "annotation" tagname;
105: [00:52:54] <ss23> will that wokr?
106: [00:52:59] <ss23> I accidently pushed
107: [00:53:22] <ss23> simon_w: also lunch, if you happen to have not lready gone
108: [00:54:14] * Stomach quit (Quit: Leaving.)
109: [00:55:16] <ss23> yep, that worked
110: [00:55:17] <ss23> ty myself
111: [00:55:17] <ss23> :D
112: [00:55:21] * nickmolhoek quit (Ping timeout: 248 seconds)
113: [01:00:28] * wolfv quit (Quit: Page closed)
114: [01:11:15] * Pyromanik quit (Ping timeout: 240 seconds)
115: [01:14:44] * tankr has joined #silverstripe
116: [01:16:11] * nickmolhoek has joined #silverstripe
117: [01:16:12] * nickmolhoek quit (Remote host closed the connection)
118: [01:16:18] * zippy__ has joined #silverstripe
119: [01:16:25] * nickmolhoek has joined #silverstripe
120: [01:18:44] <zippy__> Is there any sort for upgrading SS2.4 site to SS3 ? I've looked around and found "change logs" but not real, replace these folders, alter any code that does xyz and beware of these gotchas
121: [01:19:08] <ss23> zippy__: Hmm
122: [01:19:15] <zippy__> http://doc.silverstripe.org/framework/en/installation/upgrading ?
123: [01:19:19] <Peavers> ssbits has a good guide on upgrading templates I think
124: [01:19:27] <ss23> zippy__: idk, but I would just shove the content over and fix whatever breaks
125: [01:19:31] <ss23> I need food
126: [01:19:32] * ss23 eats Peavers
127: [01:19:37] * Pyromanik has joined #silverstripe
128: [01:19:43] <ss23> subway, mcdonalds, burgerfuel, so many choices
129: [01:19:50] <Pyromanik> oh, back online!
130: [01:19:56] <ss23> Pyromanik: Did your internet die? :O
131: [01:19:57] <tractorcow> http://doc.silverstripe.org/framework/en/trunk/changelogs/3.0.0 has upgrading docs in it
132: [01:20:08] <ss23> All the redirector stuff
133: [01:20:11] <ss23> idk where I was working on it
134: [01:20:11] <ss23> :<
135: [01:20:14] <ss23> ls
136: [01:20:15] <zippy__> Common Upgrade Tasks - perfect!!
137: [01:20:22] <tractorcow> ss23: No carls jr ?
138: [01:20:24] <zippy__> tractorcow: Thanks very much
139: [01:20:29] <tractorcow> yw zippy__ :)
140: [01:20:40] <zippy__> Those carls jr buyers look nasty!
141: [01:20:42] <zippy__> I want to try one
142: [01:20:45] <zippy__> so greasssy
143: [01:20:56] <tractorcow> I hear they're top quality though
144: [01:20:58] <tractorcow> four kinds of fries :)
145: [01:21:06] <ss23> tractorcow: Not here. I had it in Hamilton though
146: [01:21:30] <ss23> all I can think is that I didn't do my silverstripe redirecting stuff on this server
147: [01:21:33] <ss23> ho hum.
148: [01:24:33] <simon_w> ss23, already lunched
149: [01:24:41] <simon_w> free lunch again!
150: [01:24:48] <ss23> LUCKY
151: [01:24:50] <ss23> Dammit
152: [01:24:51] <ss23> ;_;
153: [01:24:54] <ss23> Now I have to pick where to get lunch
154: [01:25:50] * mattybalaam quit (Quit: mattybalaam)
155: [01:26:03] <Jayden90> is there an easy way to disable the top right popup notification for the CMS?
156: [01:26:17] <Peavers> why would you want to do that?
157: [01:26:35] <ss23> Jayden90: Doubtful
158: [01:26:37] <Jayden90> Driving my workmate nuts, he is doing some massive content population
159: [01:26:37] <Pyromanik> ss23: vodafone unplugged it.
160: [01:26:42] <ss23> lol Pyromanik, nice
161: [01:27:06] <Pyromanik> by unplugged it I mean there was a man standing next to our cabinet doing speedtests, presumably with the modem->switch patch cable.
162: [01:27:19] <Pyromanik> and by cabinet I mean in office server one.
163: [01:27:21] <Pyromanik> not street leve.
164: [01:27:22] <Pyromanik> l
165: [01:27:36] <Jayden90> There is a green notification strip inline on the page that appears anyway
166: [01:27:49] <Pyromanik> Jayden90: tell him to drink some wet cement
167: [01:28:34] <simon_w> We're a pleasant bunch :p
168: [01:29:19] <Jayden90> Pyromanik: It covers the top right tabs, so it adds thousands of extra interactions for the poor fella
169: [01:29:31] <Pyromanik> Jayden90: import from CSV?
170: [01:29:44] <Pyromanik> but yeah, I know what you mean.
171: [01:29:49] <Pyromanik> but no, not so far as I know.
172: [01:30:03] <Pyromanik> But I do agree it should be moved.
173: [01:30:21] <Pyromanik> although I'm not sure if it's still in 3.1 at all
174: [01:30:42] <Jayden90> Pyromanik: Thats promising, we are on 3.0.5 till 3.1 is out
175: [01:30:43] * mrzero_ has joined #silverstripe
176: [01:30:44] <pippy> If i have a string
177: [01:30:58] <pippy> how to I escape the html entities in the template?
178: [01:31:02] <simon_w> You can find out how long a piece of string is!
179: [01:31:11] <simon_w> $Blah.XML
180: [01:31:41] <Pyromanik> doesn't that happen by default?
181: [01:31:42] * robert___ has joined #silverstripe
182: [01:32:02] <simon_w> Depends
183: [01:32:09] <simon_w> In 3.1, it's much more likely to
184: [01:34:43] * abitran has joined #silverstripe
185: [01:35:36] * ajmitch has joined #silverstripe
186: [01:36:47] * travis-ci has joined #silverstripe
187: [01:36:47] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#445 (3.1 - f7031b7 : Mateusz U): The build passed.
188: [01:36:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/2545f41bdcbe...f7031b799b69
189: [01:36:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/8752102
190: [01:36:48] * travis-ci has left #silverstripe
191: [01:36:53] <pippy> simon_w: thank!
192: [01:36:55] <pippy> simon_w: thanks!
193: [01:38:44] <Pyromanik> simon_w: when do changes get saved into the object proper when editing a page?
194: [01:38:50] <Pyromanik> after save, or before?
195: [01:39:04] <simon_w> Wha?
196: [01:39:26] <ss23> whaaaa
197: [01:39:41] * spronk quit (*.net *.split)
198: [01:39:41] * mrzero quit (*.net *.split)
199: [01:39:41] * robert__ quit (*.net *.split)
200: [01:39:41] * abitran_ quit (*.net *.split)
201: [01:39:41] * ajmitch_ quit (*.net *.split)
202: [01:39:43] * mrzero_ is now known as mrzero
203: [01:40:08] <Pyromanik> simon_w: I have a parent page, with a bunch of children.
204: [01:40:18] <Pyromanik> I just turned the parent into a BlogHolder
205: [01:40:33] <Pyromanik> and now am trying to turn the children into BlogEntry's
206: [01:41:10] <Pyromanik> but when trying to save and publish the children, I get a validation error, because the ClassName is not in the $allowed_children of BlogHolder
207: [01:41:24] <Pyromanik> so the write is aborted
208: [01:41:37] <Pyromanik> which is frustrating, because if it went ahead, it would become a valid child.
209: [01:41:55] <tractorcow> should HasManyList->remove care that it could remove an item from another list? It sets the foreign key to null and does no checking.
210: [01:42:20] <simon_w> tractorcow, why should it care?
211: [01:42:22] <tractorcow> if I have a banner in my $page->Banners(), but go $anotherPage->Banners()->remove($banner), it deletes it from the wrong page
212: [01:42:26] <ss23> lol at that, Pyromanik XD
213: [01:42:44] <tractorcow> Shouldn't that be an error?
214: [01:43:09] <tractorcow> I just want someone to check my assumptions before I try to 'fix' anything
215: [01:43:59] <tractorcow> I could 'fix' it by documenting the behavioru :P
216: [01:43:59] <tractorcow> hehe
217: [01:44:24] <tractorcow> *behaviour
218: [01:44:59] <Pyromanik> simon_w: ss23, yeah, and a var_dump of $subject (https://github.com/silverstripe/silverstripe-cms/blob/3.0/code/model/SiteTree.php#L1509) shows that the ClassName is still set to the old class type.
219: [01:45:11] <Pyromanik> so am wondering what do?
220: [01:45:26] <Pyromanik> how/when does a page saved as a changed type actually become that changed type?
221: [01:46:17] * simon__w has joined #silverstripe
222: [01:46:22] <simon__w> tractorcow, Well, it shouldn't error
223: [01:46:24] <simon__w> But it should probably behave like DataList and ManyManyList and only remove items actually in the list
224: [01:46:39] <tractorcow> It should silently not reset the foreign key right?
225: [01:46:50] <simon__w> yes
226: [01:46:55] <tractorcow> kk
227: [01:46:59] <tractorcow> Thanks simon______w
228: [01:47:03] <Pyromanik> yes it shouldn't, yes it should?
229: [01:47:20] * mrzero_ has joined #silverstripe
230: [01:47:24] <tractorcow> yes it should behave that way
231: [01:47:38] <simon__w> Yay, nickserv's down
232: [01:47:52] <ss23> Such is life with netsplit
233: [01:48:10] <tractorcow> what's a nickserve simon__________________________________________________________w?
234: [01:48:16] <Pyromanik> o.0
235: [01:48:20] <Pyromanik> r u srs?
236: [01:48:24] <ss23> tractorcow: IRC services to make IRC easier
237: [01:48:30] <ss23> Also
238: [01:48:37] * zane has joined #silverstripe
239: [01:48:38] <simon__w> You're lucky nickserv isn't working :p
240: [01:48:38] <ss23> This morning I thought "Hmm, last time I took my jacket it got fine during the day"
241: [01:48:39] <Pyromanik> a bot that serves nicks.
242: [01:48:40] <tractorcow> #silverstripe is my first experience with irc
243: [01:48:41] <ss23> I KNEW IT.
244: [01:48:50] <ss23> I don't bring my jacket, weather turns to *shit*
245: [01:48:56] <Pyromanik> ss23: sux2bu
246: [01:48:57] <simon__w> It's windy
247: [01:48:59] <ss23> ya
248: [01:49:01] <simon__w> That's it
249: [01:49:12] <ss23> simon__w: I'll die walking home in this wind
250: [01:49:12] <simon__w> You're in Wellington
251: [01:49:15] <Pyromanik> drink some wet cement ss23
252: [01:49:19] <Pyromanik> and harden up.
253: [01:49:49] <simon__w> Pyromanik, also, I'm guessing after validation
254: [01:50:06] <simon_w> Well, it shouldn't error
255: [01:50:07] <simon_w> But it should probably behave like DataList and ManyManyList and only remove items actually in the list
256: [01:50:07] * simon_w quit (Quit: Leaving)
257: [01:50:10] <Pyromanik> simon__w: yeah, I can't find the save action
258: [01:50:12] * abitran quit (Ping timeout: 264 seconds)
259: [01:50:13] * mrzero quit (Ping timeout: 264 seconds)
260: [01:50:13] * mrzero_ is now known as mrzero
261: [01:50:23] * simon__w is now known as simon_w
262: [01:50:33] <Pyromanik> boomed it
263: [01:50:42] <Pyromanik> so yeah
264: [01:50:51] * coldblooded01_ has joined #silverstripe
265: [01:50:57] <Pyromanik> https://github.com/silverstripe/silverstripe-cms/blob/3.0/code/model/SiteTree.php#L2116
266: [01:51:04] <Pyromanik> where is save() ?
267: [01:51:13] <Pyromanik> oh wait, CMSMain right?
268: [01:51:17] <Pyromanik> fffff
269: [01:52:25] * tractorcow______ has joined #silverstripe
270: [01:52:44] <tractorcow______> I had my serve nicked =(
271: [01:54:05] <Colin[pi]> huh?
272: [01:54:20] <Pyromanik> /msg NickServ help
273: [01:55:06] <simon_w> [13:54:07] * NickServ :Services are currently unavailable
274: [01:55:12] <Jayden90> In case anyone now or looking in the IRC logs is wondering, the top right CMS notification popup can be disabled by placing "LeftAndMain::require_css('mysite/css/cms.css');" in _config.php which includes .notice-wrap { display: none !important; }
275: [01:55:33] * ss23_ has joined #silverstripe
276: [01:56:02] * ooystein_ has joined #silverstripe
277: [01:56:13] * mattybalaam has joined #silverstripe
278: [01:57:12] <ss23_> I died
279: [01:57:12] <Pyromanik> simon_w: validation happens on write() right?
280: [01:57:36] <simon_w> Pyromanik, the one you're hitting's probably on form submit
281: [01:57:56] <Pyromanik> Jayden90: well yeah, that's technically not disabling it, but it'll work well. Good hack.
282: [01:58:02] <simon_w> Oh no, that one is on write()
283: [01:58:03] <ss23_> REMOVE ALL THE VALIDATION
284: [01:58:04] <ss23_> o/
285: [01:58:22] <Pyromanik> simon_w: you mean, before it even gets to action?
286: [01:58:35] <Pyromanik> pretty sure this is on write.
287: [01:58:49] <simon_w> If the error's "Page type "{type}" not allowed as child of this parent page", that one's one write
288: [01:58:57] <Pyromanik> yeah
289: [01:58:59] <Pyromanik> it is.
290: [01:59:13] <Pyromanik> but it does newClassInstance first, then saveInto, then write.
291: [01:59:34] <Pyromanik> it should be trying to write a BlogEntry, but a var_dump shows that it's still set as the previous page type
292: [01:59:36] <ss23_> I'ma pm Pyromanik and simon_w something k
293: [01:59:42] <Pyromanik> k
294: [02:00:10] * ss23 quit (*.net *.split)
295: [02:00:10] * coldblooded01 quit (*.net *.split)
296: [02:00:10] * tractorcow quit (*.net *.split)
297: [02:00:10] * ooystein quit (*.net *.split)
298: [02:00:10] * Bollig|DesignCty quit (*.net *.split)
299: [02:00:11] * coldblooded01_ is now known as coldblooded01
300: [02:01:23] * pippy_ has joined #silverstripe
301: [02:02:08] * Stomach has joined #silverstripe
302: [02:02:30] * underk quit (Quit: Leaving)
303: [02:03:01] * abitran has joined #silverstripe
304: [02:03:06] <sminnee> hey all - there's a wgtn meetup in a couple of weeks. does anyone want to speak, or can anyone think of a topic for me to talk about?
305: [02:03:22] <ss23_> sminnee: A meetup for Silverstripe specifically?
306: [02:03:39] <simon_w> yes
307: [02:03:41] <ss23_> And what kind of people coming, devs or clients?
308: [02:03:47] <simon_w> (that's for ss23_)
309: [02:03:57] <ss23_> (figured, you don't seem like the type to do a lot of speaking, simon_w :P)
310: [02:04:01] <sminnee> mostly devs but it's a mix.
311: [02:04:44] * tractorcow______ quit (Quit: Leaving)
312: [02:04:51] * tractorcow has joined #silverstripe
313: [02:05:34] <Pyromanik> sminnee: in a couple of weeks do you mean wednesday night, 24th July?
314: [02:05:54] <howardgrigg> UncleCheese will be in town - he might be willing
315: [02:06:17] * ss23_ is now known as ss23
316: [02:06:20] * pippy quit (*.net *.split)
317: [02:06:35] <Pyromanik> so many connectivity issues.
318: [02:06:42] <Pyromanik> whatup freenode?
319: [02:06:50] <simon_w> And still no nickserv :(
320: [02:07:15] <ss23> Yeah
321: [02:07:21] <ss23> And some chans I'm in require identification to talk...
322: [02:07:22] <ss23> So annoying
323: [02:07:40] <Pyromanik> SO we have these folks making a db in MS Dynamics CRM
324: [02:07:47] <ss23> yay. pay day :D
325: [02:07:48] <Pyromanik> and need to build website in SS
326: [02:07:52] <ss23> I can almost pay off my student loan!
327: [02:08:18] <sminnee> Pyromanik: yep i guess so.
328: [02:08:26] <Pyromanik> sminnee: cool, I'll be there.
329: [02:08:35] <simon_w> Pyromanik, speech!
330: [02:08:48] <Pyromanik> tell me something to talk about (that I actually can) and I'll do it
331: [02:09:43] <sminnee> I think ss23 wants to talk about writing secure code with silverstripe
332: [02:09:51] <Pyromanik> sounds good
333: [02:10:23] <Pyromanik> sminnee: how do I save a page that I changed the type of that was previously invalid as a child of it's parent?
334: [02:10:44] <sminnee> Pyromanik: fuck knows. i have a head cold. that question confuses me right now.
335: [02:10:47] <sminnee> :p
336: [02:10:52] <Pyromanik> haha, fair enough.
337: [02:11:00] <Pyromanik> just tell your cold to fuck off.
338: [02:11:00] <simon_w> Pyromanik, change the parent back, change children, change parent, ...., profit!
339: [02:11:03] <Pyromanik> that's what I do.
340: [02:11:06] <sminnee> or edit the db
341: [02:11:18] <Pyromanik> simon_w: yeah, trying that route atm.
342: [02:11:33] <Pyromanik> I though I'd try to debug why it's happen, but It's just... I don't even follow.
343: [02:11:52] <Pyromanik> ClassName should be set to something valid at the time write gets called and the validation happens.
344: [02:11:55] <Pyromanik> but it doesn't.
345: [02:12:04] <Pyromanik> so I'm super confuse.
346: [02:13:06] <Pyromanik> alright, now I'm mad.
347: [02:13:50] <Pyromanik> ok, turns out it's change parent to Page, change children, then change parent.
348: [02:14:32] <simon_w> sminnee, could talk on SS and enterprise, covering things like CMS workflow requirements, security requirements, etc
349: [02:16:12] <sminnee> simon_w: not a bad idea. maybe later; i'd like to familiarise myself with the workflow module (and maybe tidy up the UI) a bit more first.
350: [02:16:40] <sminnee> Pyromanik: it's 17 July not 24 July sorry http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/events/126152322/
351: [02:16:40] <ss23> Pyromanik: Will you be here?
352: [02:16:54] <Pyromanik> ss23: if sminnee changes the date.
353: [02:16:58] <ss23> lol
354: [02:17:01] <ss23> Pyromanik: When are you up?
355: [02:17:04] <ss23> 24th? :P
356: [02:17:07] <Pyromanik> yes :P
357: [02:17:11] <sminnee> lol that's not fair on everyone who as accepted already
358: [02:17:12] <Pyromanik> dat before WDC
359: [02:17:14] <ss23> Is that for that other con?
360: [02:17:15] <ss23> yepyep
361: [02:17:31] <Pyromanik> sminnee: lol, it was tounge in cheek statement
362: [02:17:36] <sminnee> maybe we can have drinks on the 24th tho
363: [02:17:45] <ss23> that's right, hit me up when you get here, Pyromanik o/
364: [02:17:45] <Pyromanik> sminnee: sounds good. I'm planning to hit Molly's
365: [02:17:57] <ss23> I'll show around all the cool places I've been to in Wellington!
366: [02:17:58] <ss23> :D
367: [02:18:07] <Pyromanik> ss23: but... I arive about midday I think
368: [02:18:12] <ss23> On the 24th?
369: [02:18:15] <ss23> You flying Jetstar?
370: [02:18:16] <ss23> :D
371: [02:18:17] <Pyromanik> something like that
372: [02:18:19] <Pyromanik> nope, F that
373: [02:18:26] <ss23> haha
374: [02:18:31] <Pyromanik> I'm leaving Friday too :/
375: [02:18:35] <ss23> I've flown jetstar every time I've flown, always worked out fine!
376: [02:18:39] <ss23> So here for... 2 nights?
377: [02:18:41] <simon_w> sminnee, fair enough. There's always the 3.2 and CWP talks :p
378: [02:18:42] <Pyromanik> yep
379: [02:18:44] <Pyromanik> 2 nights
380: [02:18:49] <ss23> Pyromanik: Staying at a hotel?
381: [02:18:59] <ss23> omg is working paying for it? :O
382: [02:18:59] <Pyromanik> leave midday Friday, because that's the only time one can get from WLG to Taupo
383: [02:19:03] <simon_w> Pyromanik, ss23 has a couch you can share@
384: [02:19:05] <ss23> Taupo..?
385: [02:19:07] <Pyromanik> ss23: you want to pay for it?
386: [02:19:08] <ss23> lol simon_w...
387: [02:19:09] <ss23> No way.
388: [02:19:13] <ss23> Well...
389: [02:19:17] <ss23> It would be *very* cosy.
390: [02:19:17] <Pyromanik> ss23: yes, Motor Vehicles don't race themselves.
391: [02:19:25] <ss23> We did have 5 people staying in the 2bdrm place though
392: [02:19:36] <Pyromanik> ss23: I've got places I could stay
393: [02:19:42] <ss23> :P
394: [02:19:52] <Pyromanik> a few places.
395: [02:19:55] <ss23> Beleve me, I'm notrying to convince you stay with me!
396: [02:20:02] <Pyromanik> one probably wouldn't appreciate me rolling in late drunk
397: [02:20:15] <ss23> XD
398: [02:20:16] <Pyromanik> one will deffers land me in some serious trouble with the missus
399: [02:20:25] <Pyromanik> and the last, well that costs a lot of money.
400: [02:20:27] <Pyromanik> (hotel)
401: [02:20:39] <Pyromanik> probably going to go for the money kind of trouble over the other two.
402: [02:22:08] <ss23> Sounds like one of them will land you in some serious fun, when you turn up there drunk ;)
403: [02:22:11] <ss23> Isn't there that saying
404: [02:22:14] <ss23> What she doesn't know won't hurt her?
405: [02:22:17] <ss23> :D
406: [02:22:18] <Pyromanik> ss23: yes.
407: [02:22:33] <ss23> And that's why Pyromanik has a girlfriend and I don't!
408: [02:22:35] <Pyromanik> Well, providing it's not all some elaborate troll.
409: [02:22:45] <Pyromanik> ss23: haha, oh the fun of being single.
410: [02:22:53] <ss23> I know
411: [02:22:56] <ss23> staying up late writing code
412: [02:22:59] <ss23> so fun
413: [02:22:59] <ss23> :D
414: [02:23:01] <Pyromanik> yeah
415: [02:23:16] <ss23> lol
416: [02:23:19] <simon_w> That doesn't stop!
417: [02:23:32] <Pyromanik> not when your GF is in another timezone, no.
418: [02:23:48] <ss23> Pyromanik: Oh, is she in England already?
419: [02:23:53] <simon_w> Also, when I enforce being in bed before midnight on work nights :p
420: [02:23:54] <ss23> (Was it England she was going to?)
421: [02:24:07] <ss23> simon_w: That's a good idea, and I aim for midnight, but it doesn't work out that way
422: [02:24:21] <Pyromanik> me tooo
423: [02:24:23] <simon_w> I aim for 10, usually ends up about 11
424: [02:25:03] <simon_w> Especially if I'm not using my heat pump
425: [02:25:20] <ss23> I stayed up late last nigh to set up this new VPS
426: [02:25:26] <Pyromanik> because... you're busy becoming blind to keep warm?
427: [02:25:28] <ss23> Was lulz, actually... you guys know about that SolusVM sploit?
428: [02:25:36] <ss23> rofl Pyromanik, is that... a reference to...
429: [02:25:42] <ss23> But an *hour*? That's impressive.
430: [02:25:42] <Pyromanik> yes.
431: [02:25:55] <simon_w> Nah, heat pump (if it's on) turns off just before 10
432: [02:25:57] <Pyromanik> I thought that was normal?
433: [02:26:03] <Pyromanik> maybe that's why you don't have a girlfriend...
434: [02:26:10] <Pyromanik> :P
435: [02:26:13] <Pyromanik> BOOM
436: [02:26:22] <simon_w> But last night I was up way too late adding search to the logs :p
437: [02:27:03] <Pyromanik> that happens
438: [02:27:12] <Pyromanik> last night I drank wine then watched youtube way too much.
439: [02:27:13] <ss23> simon_w: :3
440: [02:27:17] <simon_w> http://logs.simon.geek.nz/search.php?q=penis is kinda disappointing
441: [02:27:17] <ss23> simon_w: DAT LARKSIE TWEET
442: [02:27:26] <simon_w> I need to import the old logs...
443: [02:27:28] <ss23> lol
444: [02:27:32] <ss23> Lots of penis in them? :D
445: [02:27:32] <Pyromanik> simon_w: THAT'S WHAT SHE SAID!
446: [02:27:33] <Pyromanik> BOOM!
447: [02:27:52] <simon_w> ss23, she was mostly right too!
448: [02:27:53] <simon_w> Also, yes
449: [02:28:00] <ss23> https://twitter.com/larksie/status/352731202186264577
450: [02:28:00] <ss23> :3
451: [02:28:02] <simon_w> Probably more than you swearing
452: [02:28:42] <ss23> The long road to a new project via composer...
453: [02:28:49] <Pyromanik> lol
454: [02:28:55] <Pyromanik> step1: fix all the composer issues.
455: [02:29:01] <Pyromanik> step2: hack around the ones you can't fix
456: [02:29:07] <simon_w> Ooh, spronk's beating ss23
457: [02:29:09] <ss23> sminnee: Did you check my Skype message? I want to do the post some time today if possible
458: [02:29:11] <Pyromanik> step3: hack around the bits that couldn't be done
459: [02:29:15] <ss23> simon_w: in fucks or penises/
460: [02:29:21] <simon_w> ss23, the former
461: [02:29:25] <ss23> Cause if fucks, spronk *easily* beats me
462: [02:29:48] * Zauberfisch_ has joined #silverstripe
463: [02:29:48] * nickmolhoek quit (Remote host closed the connection)
464: [02:29:49] <ss23> halp
465: [02:29:49] <Pyromanik> spronk gives more fux thank ss23 does.
466: [02:29:49] <ss23> ;_;
467: [02:29:49] * DigNZ quit (Remote host closed the connection)
468: [02:29:49] <ss23> I just took a mouth full of coke
469: [02:29:50] <ss23> and it fizzed up in my mouth
470: [02:29:53] <ss23> almost sprayed everywhere
471: [02:29:53] <ss23> fml
472: [02:29:54] * nickmolhoek has joined #silverstripe
473: [02:29:58] * DigNZ has joined #silverstripe
474: [02:29:59] <Pyromanik> and came out your nose?
475: [02:30:04] <ss23> no
476: [02:30:08] <ss23> but my mouth was like :O
477: [02:30:09] <simon_w> Disappoint
478: [02:30:10] <Pyromanik> and now your nose burns like you just snorted salt?
479: [02:30:13] <ss23> lol
480: [02:30:15] <ss23> Pyromanik: dude
481: [02:30:18] <ss23> that hurts so bad
482: [02:30:36] <ss23> I'm sure composer is like 500% slower than doing the git checkout myself
483: [02:31:11] <simon_w> If you do a -vvv, you see it's downloading all the metadata from packagist, and every other listed repo, again
484: [02:31:13] <Pyromanik> I get tarballs. They're like 100000% faster.
485: [02:31:20] <ss23> >.<
486: [02:31:25] <simon_w> I do local clones
487: [02:31:30] <ss23> Pyromanik: Sounds painful, isn't tar normally hot? Wouldn't want anything like that on my balls
488: [02:31:33] <Pyromanik> rofl
489: [02:31:34] <ss23> HEYYOOOOO
490: [02:31:38] * Pyromanik read "I do local clowns"
491: [02:31:43] <ss23> hahaha
492: [02:31:51] <simon_w> Nah, just clone troopers
493: [02:31:57] <Pyromanik> and I was like "that's some weird fetish, I'm surprised there are prozzies willing to fill that"
494: [02:31:59] <simon_w> Something about maori clones
495: [02:32:12] <ss23> Pyromanik: If someone pays for it...
496: [02:32:24] <ss23> I'd dress up as a clown for someone, at the right price
497: [02:32:40] * Zauberfisch quit (Ping timeout: 245 seconds)
498: [02:34:42] <ss23> Warning: Creating initial filesystem assets failed (error: Object is of class 'FormPage' which doesn't exist - you need to change the ClassName before you can write it)
499: [02:34:45] <ss23> What does this mean?
500: [02:34:51] <ss23> I get it on install. Works fine, just seems... not good?
501: [02:34:54] <Pyromanik> that awkward moment when you think you've got a hair stuck on the shoulder of your shirt, so you go to pull it off and find out it's still attached to your head.
502: [02:35:01] <ss23> lol Pyromanik
503: [02:35:15] <Pyromanik> installer?
504: [02:35:17] <Pyromanik> so so broken.
505: [02:35:19] <Pyromanik> neglected
506: [02:35:20] <Pyromanik> and all that
507: [02:35:26] <ss23> It did that on install.php, whatever that means
508: [02:35:39] <ss23> wtf
509: [02:35:46] <ss23> There's a "New Form Page" in this DB already...
510: [02:35:52] <ss23> I suspect it's gone and used the database from another site
511: [02:36:00] <Pyromanik> lolbl2u
512: [02:36:01] <ss23> Building database SS_mysite using MySQL 5.1.70
513: [02:36:02] <ss23> yep
514: [02:36:42] <zippy__> http://doc.silverstripe.org/framework/en/trunk/changelogs/3.0.0 - Missing an important step :) swapping in the new cmd folder!
515: [02:38:18] <ss23> cmd folder?
516: [02:45:17] <Pyromanik> cms
517: [02:45:22] <ss23> oic
518: [02:45:25] <Pyromanik> 1 key over.
519: [02:45:32] <Pyromanik> gosh, think laterally
520: [02:45:36] <Pyromanik> (literally)
521: [02:45:39] <ss23> lol
522: [02:45:56] <simon_w> zippy__, that's because that's not a generic upgrade guide, but what you need to do to your code
523: [02:45:59] <simon_w> generic one's Identification
524: [02:46:05] <simon_w> generic one's http://doc.silverstripe.org/framework/en/installation/upgrading
525: [02:47:05] <zippy__> ah yeap
526: [02:47:13] <zippy__> well
527: [02:47:22] <zippy__> let us prey this works
528: [02:47:29] <zippy__> pray rather
529: [02:50:45] <ss23> http://ss23.geek.nz/silverstripe/hackfest/hackfest/old-page-title why this
530: [02:50:56] <ss23> [Notice] Trying to get property of non-object - static public function controller_for(SiteTree $sitetree, $action = null) {
531: [02:50:59] <ss23> 20 if($sitetree->class == 'SiteTree') $controller = "ContentController";
532: [02:51:33] <simon_w> cause you broke it?
533: [02:51:39] * trent001 has joined #silverstripe
534: [02:51:40] <ss23> How :<
535: [02:51:41] <ss23> Like
536: [02:51:50] <ss23> why would that be called without the SiteTree with my change
537: [02:51:51] <ss23> ;_;
538: [02:52:58] <ss23> I think I found it
539: [02:52:59] <ss23> ty simon_w
540: [02:54:45] * Colin[pi] quit (Ping timeout: 245 seconds)
541: [02:55:54] <Pyromanik> wrote bad code? Fix the test!
542: [02:56:48] <ss23> lol
543: [02:56:51] <ss23> Wasn't me!
544: [02:56:54] <ss23> This will break tests
545: [02:56:58] <ss23> There are lots of tests for testing for this
546: [02:59:47] <mobiusnz> I think I broke my computer
547: [02:59:48] <mobiusnz> http://cl.ly/image/383X0g0H1r0shttp://cl.ly/image/1M3E353i2R41http://cl.ly/image/2N2k1C2g2z1H
548: [02:59:52] <mobiusnz> ah
549: [03:00:17] <mobiusnz> http://cl.ly/image/2N2k1C2g2z1H
550: [03:00:33] <zippy__> >> ss23 authored 3 hours ago
551: [03:00:37] <zippy__> hope it still works....
552: [03:01:06] <zippy__> mobiusnz: supermarket freezer effect :)
553: [03:01:16] * trent001 quit (Remote host closed the connection)
554: [03:02:11] <ss23> zippy__: The newsletter module?
555: [03:02:51] <ss23> This redirector is almost done I think :O
556: [03:05:31] * metanat1 has joined #silverstripe
557: [03:06:11] <simon_w> It'd be really nice if errors in session handlers didn't result in a WSoD
558: [03:06:22] * metanat quit (Ping timeout: 264 seconds)
559: [03:07:17] <tractorcow> ss23: I think everyone here has a .geek.nz domain lol
560: [03:08:44] <zippy__> ss23: yeap
561: [03:09:01] <zippy__> tractorcow: I don't
562: [03:09:25] <tractorcow> zippy__: I'll make you a subdomain if you want it :)
563: [03:12:42] <simon_w> A subdomain. Wow :p
564: [03:13:18] <ss23> :D
565: [03:13:20] <ss23> .geek best!
566: [03:13:27] <ss23> simon_w: The two best Silverstripe employees
567: [03:13:53] <simon_w> ss23, Brooke told you about my complaint?
568: [03:14:07] <zippy__> tractorcow: thanks, but it's fine
569: [03:15:35] <simon_w> 28 tests run: 13 passes, 15 fails, and 0 exceptions
570: [03:15:35] <simon_w> Oops
571: [03:15:38] <zippy__> ss23: github says that the build for that module is failing, known issue?
572: [03:16:32] <ss23> simon_w: I have @silverstripe on twitter :P
573: [03:16:57] <ss23> zippy__: For Newsletter, yes. First of all, the tests are *bad*. The module is... not good. The main reason it's failing though is because newsletter doesn't support 3.1 yet
574: [03:17:08] <ss23> zippy__: I'm just doing a post to the announce list regarding newsletter now though, one sec
575: [03:17:41] <zippy__> ss23: Thats fine, 3.1 is beta anyway. Fine for 3.0?
576: [03:18:20] <zippy__> plug and pray
577: [03:20:28] <simon_w> 28 tests run: 21 passes, 7 fails, and 0 exceptions
578: [03:20:28] <simon_w> Progress!
579: [03:20:43] <zippy__> heh
580: [03:20:54] <zippy__> i was expecting 13 tests run: 13 passes, 0 fails, and 0 exceptions
581: [03:20:54] <zippy__> :D
582: [03:21:16] * Jayden90 quit (Quit: Jayden90)
583: [03:21:26] <zippy__> Fatal error: Access level to BlogEntry::$db must be public (as in class Page) in /blog/code/BlogEntry.php on line 219
584: [03:21:38] <zippy__> That is where the BlogEntry is setup for 3.1 eh, and I am running 3.0
585: [03:23:21] <simon_w> zippy__, grab the 0.6 branch
586: [03:23:31] <zippy__> yea I just realised, I selected that
587: [03:23:37] <zippy__> but when I clicked the 'download zip' it grabs the master
588: [03:23:52] <zippy__> I'm sure that download zip used to toggle based on branch
589: [03:23:57] * MrJeremy quit (Quit: MrJeremy)
590: [03:24:28] <ss23> Are you still talking about newsletter?
591: [03:24:36] <ss23> I totally saw a private $db in Newsletter
592: [03:24:43] <ss23> I was like "doesn't fail tests, wasn't my commit, DON'T CARE"
593: [03:26:13] <ss23> https://groups.google.com/forum/#!topic/silverstripe-announce/Tgs7H15vJEo
594: [03:26:15] <ss23> Peavers: ^^
595: [03:26:21] <ss23> Anyone else using newsletter
596: [03:26:31] <zippy__> ss23: That was the blog module :)
597: [03:26:35] <simon_w> 28 tests run: 25 passes, 3 fails, and 0 exceptions
598: [03:26:36] <simon_w> Okay, now on to the actual bugs rather than just tests that hadn't been updated
599: [03:26:43] <ss23> lol
600: [03:28:07] <ss23> Forgot to include version number in the title!
601: [03:28:08] <ss23> Oh well.
602: [03:28:47] <simon_w> Fix it!
603: [03:29:25] <simon_w> Dammit, the usage error isn't being picked up by a test
604: [03:32:02] <ss23> Director::redirect(FooPage::get()->First())
605: [03:32:05] <ss23> How to make something like that work?
606: [03:32:09] <ss23> Is it ->URL or something?
607: [03:32:43] <simon_w> ->Link()
608: [03:32:47] <ss23> ty
609: [03:34:35] <ss23> simon_w: Okay, my redirector seems to work nicely and all that now
610: [03:34:54] <ss23> simon_w: What I want to do is move it from a module which I've got at the moment, to be in the core, but done via an extension
611: [03:36:16] * McJoppy has joined #silverstripe
612: [03:38:00] * cloph has joined #silverstripe
613: [03:39:00] * cloph_away quit (Ping timeout: 248 seconds)
614: [03:40:23] * McJoppy quit (Ping timeout: 250 seconds)
615: [03:42:39] * nslookup has joined #silverstripe
616: [03:43:24] * MrJeremy has joined #silverstripe
617: [03:44:56] * nslookup has left #silverstripe
618: [03:45:28] <ss23> got statis
619: [03:50:58] * DigNZ quit (Remote host closed the connection)
620: [03:50:58] * nickmolhoek quit (Remote host closed the connection)
621: [03:51:05] * DigNZ has joined #silverstripe
622: [03:51:05] * nickmolhoek has joined #silverstripe
623: [03:51:07] * DigNZ quit (Remote host closed the connection)
624: [03:51:07] * nickmolhoek quit (Remote host closed the connection)
625: [03:51:25] * DigNZ has joined #silverstripe
626: [03:51:25] * nickmolhoek has joined #silverstripe
627: [03:59:56] <ss23> Anyone wanna help me with this? I have a class that I want to apply as an extension to a few classes in cms. Not sure where eto put it / how to do it best
628: [04:00:38] <tractorcow> In a yaml file?
629: [04:01:03] <tractorcow> Also, I am nearly done working on my polymorphic relation code.
630: [04:01:07] <ss23> Is that the best place? Not $extensions or w/e?
631: [04:01:18] <tractorcow> Need to finish some test cases and the docs, but it passes the test cases I've written so far. :)
632: [04:01:20] <tractorcow> https://github.com/tractorcow/sapphire/tree/3.2-polymorphic-relations
633: [04:01:59] <tractorcow> Sorry, I just read what you were discussing earlier... yeah you can put it into a static $extensions field,
634: [04:02:02] <ss23> tractorcow: Did you fork from master?
635: [04:02:05] <tractorcow> yep
636: [04:02:21] <ss23> tractorcow: Is it better to put it in that or a config.php, and where should I put the file?
637: [04:02:52] <simon_w> ss23, it should go in framework/control
638: [04:03:08] <tractorcow> I thought it was for the CMS?
639: [04:03:43] <simon_w> or cms/code/controllers
640: [04:03:55] <tractorcow> Keep CMS code out of framework:)
641: [04:03:58] <simon_w> Couldn't wait for me to find in install that actually had the CMS :p
642: [04:04:01] <tractorcow> I wouldn't put it into _config.php
643: [04:04:36] <ss23> I meant yml
644: [04:04:37] <ss23> mmk
645: [04:04:54] <tractorcow> For performance I don't think it matters
646: [04:05:02] <simon_w> ss23, if you know the extensions you want ahead of time, private static
647: [04:05:03] <tractorcow> For consistency, probably into a static
648: [04:05:14] <ss23> okay!
649: [04:06:02] <simon_w> Woo! http://swng.it/kyLX3.png was all done using a custom, user-editable template system :)
650: [04:06:07] <tractorcow> I'm going to eat banana splits soon
651: [04:06:12] <tractorcow> great way to end a friday :)
652: [04:06:15] <ss23> lol
653: [04:06:19] <ss23> simon_w looks silly with no +o
654: [04:06:20] <ss23> :3
655: [04:06:22] * zippy__ quit (Ping timeout: 264 seconds)
656: [04:06:30] * Stomach quit (Quit: Leaving.)
657: [04:06:35] <simon_w> Still no services :(
658: [04:07:55] <tractorcow> simon_w: How are templates edited by the user?
659: [04:08:11] <simon_w> In text fields
660: [04:08:18] <tractorcow> Ah, neat :)
661: [04:08:34] <ss23> wtf
662: [04:08:42] <tractorcow> I'd be scared of letting any of my clients edit SS templates directyl in the CMS
663: [04:08:48] <ss23> I accidently checked out 3.0 instead of master
664: [04:08:51] <ss23> How to change to master, simon_w?
665: [04:08:56] <ss23> with composer
666: [04:08:58] <simon_w> tractorcow, you missed "custom"
667: [04:09:08] <ss23> do I just git checkout master && composer update?
668: [04:09:23] <simon_w> ss23, edit composer.json, change versions to dev-master, composer update
669: [04:09:32] <tractorcow> I'd be custom scared of letting any of my clients edit SS templates directyl in the CMS
670: [04:09:55] <ss23> simon_w: composer.json doesn't define a version
671: [04:10:06] <simon_w> ss23, your base one should
672: [04:10:15] <simon_w> tractorcow, "custom, user-editable template system"
673: [04:10:16] <tractorcow> But, I have a client coming up who want the ability to edit the "skin" of their website as needed.
674: [04:10:21] <ss23> simon_w: https://gist.github.com/ss23/f1bed800872713a400ec
675: [04:10:24] <tractorcow> Yeah I'm just being a dork simon :P
676: [04:10:27] <tractorcow> I know
677: [04:10:49] <simon_w> You realise if you keep that up, I just start ignoring you?
678: [04:11:04] <simon_w> ss23, self.version
679: [04:11:15] <tractorcow> You ignore me anyway...
680: [04:11:24] <ss23> simon_w: I don't know what that means :<
681: [04:11:38] <tractorcow> almost ice cream o clock
682: [04:11:41] <tractorcow> :)
683: [04:12:06] <simon_w> ss23, well, you can replace that with dev-master, or (and I'm guessing here) switch the version of installer you've got to master
684: [04:13:04] <ss23> simon_w: ... I did ;_;
685: [04:13:05] <ss23> but uh
686: [04:13:10] <ss23> git checkout composer/master
687: [04:13:11] <ss23> git pull
688: [04:13:12] <ss23> ERROR
689: [04:13:17] <ss23> git pull remote composer
690: [04:13:18] <ss23> EROR
691: [04:13:21] <ss23> git pull remote origin
692: [04:13:22] <ss23> ERROR
693: [04:13:29] <simon_w> uh, git pull composer
694: [04:13:30] <tractorcow> composer update?
695: [04:13:44] <ss23> ty
696: [04:13:50] <ss23> :D
697: [04:13:54] <ss23> I will see if this works, tyvm
698: [04:13:55] <ss23> I am nooby
699: [04:14:03] * chrisrio has joined #silverstripe
700: [04:14:46] <chrisrio> by default when you throw an image into tinymce (ss3) it'll default to 600px wide
701: [04:14:58] <chrisrio> how do you alter that default value? :P
702: [04:15:14] <ss23> wtf is this...
703: [04:15:19] <ss23> lease configure your database connection details. You can do this by creating a file
704: [04:15:22] <ss23> why is composer getting me to do that?
705: [04:16:00] <tractorcow> HtmlEditorField::config()->insert_width = 999;
706: [04:16:16] <chrisrio> ss23: is this export all over again?
707: [04:16:50] <ss23> yes
708: [04:16:51] <ss23> idek
709: [04:16:57] <ss23> I'm going to rm -rf and start again
710: [04:17:10] <ss23> Whats the composer checkout --dev --keep-vs versino thing for master?
711: [04:17:22] <simon_w> dev-master
712: [04:17:31] <ss23> ty
713: [04:18:01] <tractorcow> cya everybody. Sorry for being a dork simon. >_> I'll behave better next week.
714: [04:18:06] <ss23> lol
715: [04:18:08] <ss23> cya, tractorcow
716: [04:18:10] <tractorcow> ta
717: [04:18:14] <tractorcow> ice cream :)
718: [04:18:19] * tractorcow quit (Quit: Leaving)
719: [04:18:44] <MrJeremy> Is there anyway to convert LastEdited to something like 5 months ago (simple)
720: [04:18:55] <simon_w> MrJeremy, $LastEdited.Ago
721: [04:19:07] <MrJeremy> ah :) that looks promising!
722: [04:19:45] <chrisrio> hrms.. that wizardry from tractorcow seems very ss3.1
723: [04:19:58] <simon_w> chrisrio, it is
724: [04:20:08] <simon_w> and rather recent oo
725: [04:20:10] <simon_w> *too
726: [04:20:48] <chrisrio> prior to SS3.1
727: [04:20:55] <chrisrio> hack dat corefile?
728: [04:21:10] <simon_w> yup
729: [04:21:27] <chrisrio> kk
730: [04:21:30] <ss23> I would love to see this get into 3.1 tbh
731: [04:21:36] <ss23> And it's not a break of anything
732: [04:23:49] * DigNZ quit (Remote host closed the connection)
733: [04:23:50] * nickmolhoek quit (Remote host closed the connection)
734: [04:24:01] * DigNZ has joined #silverstripe
735: [04:24:01] * nickmolhoek has joined #silverstripe
736: [04:24:15] <ss23> SADFKNASDFKNSADFKSDNAF WHAT THE FUCK
737: [04:25:35] <ss23> https://gist.github.com/ss23/5931588
738: [04:25:35] <ss23> pls
739: [04:25:36] <ss23> why simon_w
740: [04:25:37] <ss23> why
741: [04:25:40] <ss23> I have a _ss_config
742: [04:27:08] <simon_w> _ss_environment?
743: [04:27:13] <ss23> yeah
744: [04:27:14] <ss23> that thing
745: [04:27:16] <ss23> I haveo ne
746: [04:27:27] <ss23> silverstripes-iMac-2:dev.dev sshkardoon$ file ../_ss_environment.php
747: [04:27:28] <ss23> ../_ss_environment.php: PHP script text
748: [04:27:34] * nickmolhoek quit (Remote host closed the connection)
749: [04:27:34] * DigNZ quit (Remote host closed the connection)
750: [04:27:46] <ss23> Every other site uses it fine
751: [04:27:47] <ss23> oh fml
752: [04:27:48] <ss23> I bet I know
753: [04:27:51] * nickmolhoek has joined #silverstripe
754: [04:27:52] * DigNZ has joined #silverstripe
755: [04:27:52] * simon_w is now known as Guest7602
756: [04:28:15] <Guest7602> Oh great, NickServ is half back
757: [04:28:15] <ss23> halp
758: [04:28:16] <ss23> .op
759: [04:28:19] * Guest7602 is now known as simon__w
760: [04:28:41] * simon__w is now known as simon_w
761: [04:28:44] <simon_w> There we go!
762: [04:28:49] <ss23> simon_w: I take it back, I haven o idea why it's doing this
763: [04:30:47] <Pyromanik> whups, trying to copy paste over 1100 lines via VM ssh
764: [04:30:53] <Pyromanik> *stall*
765: [04:31:18] <ss23> srsly no idea
766: [04:31:19] <ss23> why simon_w
767: [04:32:06] * Stomach has joined #silverstripe
768: [04:32:35] <Pyromanik> because mac bad.
769: [04:32:50] <ss23> ^^^^^
770: [04:32:54] * tankr quit (Quit: Leaving.)
771: [04:33:42] <simon_w> ss23, does sake dev/build?
772: [04:33:55] <ss23> simon_w: that error comes from sake dev/build
773: [04:34:01] <ss23> the "plz include __ss_environment"
774: [04:34:07] <ss23> do I needa run the installer first?
775: [04:34:28] * kmayo quit (Remote host closed the connection)
776: [04:34:29] <simon_w> This reminds me of that problem you had with sspak
777: [04:35:05] * tankr has joined #silverstripe
778: [04:35:43] <ss23> simon_w: I blame them all on OSX
779: [04:35:49] <ss23> simon_w: But like. it worked before
780: [04:36:03] <simon_w> ss23, tankr is in your building!
781: [04:36:04] <ss23> I don't wanna have to dig into how sake works...
782: [04:36:07] <ss23> :O
783: [04:36:14] * ss23 looks around
784: [04:36:18] <ss23> I don't know waht tankr looks like
785: [04:36:24] <ss23> oh god
786: [04:36:27] <ss23> he could be watching me right now
787: [04:39:01] <tankr> hello? about to leave and jump on a plane back up to AKL.. :-)
788: [04:39:13] <ss23> tankr: wait
789: [04:39:14] <ss23> Are you frank
790: [04:39:15] <ss23> :O
791: [04:39:25] <tankr> yes
792: [04:39:34] <ss23> fuck
793: [04:39:35] <tankr> :-)
794: [04:39:39] <ss23> tankr: did you go for a photo?
795: [04:39:41] <ss23> I just remembered
796: [04:39:51] <tankr> haha, yes I did
797: [04:39:56] <ss23> dude wtf
798: [04:39:59] <ss23> you were meant to get me
799: [04:40:00] <ss23> ;___;
800: [04:40:03] <ss23> I WAS MEANT TO GO GET ONE TOO
801: [04:40:06] <ss23> BUT I WAS WORKING
802: [04:40:06] <ss23> fml
803: [04:40:35] <tankr> shit! sorry! I almost forgot and headed down there at 12:35ish
804: [04:40:52] <simon_w> So, I had a USD$100 credit from Rimu this billing cycle. It wasn't enough.
805: [04:41:11] <tankr> didn't know I had to find you for that ss23! sorry mate
806: [04:41:38] <tankr> have to go catch taxi
807: [04:41:41] * tankr quit (Quit: Leaving.)
808: [04:42:31] <simon_w> ss23, egg his taxi!
809: [04:44:45] <ss23> lol
810: [04:45:00] <ss23> simon_w: got it anyway
811: [04:45:11] <ss23> in my mysite/_config.php (the default thing that came with silverstripe-installer)
812: [04:45:16] <ss23> I needed to set a $database = 'foo'
813: [04:45:21] <ss23> IT was just an empty string
814: [04:45:25] <simon_w> Home time! With no bag to hide my laptop in
815: [04:45:27] <ss23> Anyway,going home
816: [04:45:28] <ss23> :D
817: [04:45:31] <ss23> I dunno if I'll walk...
818: [04:45:35] <ss23> I'll see how windy it si
819: [04:45:36] <ss23> is
820: [04:45:39] <ss23> anyway, cya later!
821: [04:45:46] <simon_w> ss23, define('SS_DATABASE_CHOOSE_NAME', 1)
822: [04:46:05] <ss23> what does that do?
823: [04:46:23] <simon_w> uses the name of the folder as the database name
824: [04:46:42] <ss23> Seems like a good idea
825: [04:46:55] <ss23> Cam
826: [04:46:59] * simon_w quit (Quit: This computer has gone to sleep)
827: [04:46:59] <ss23> Can't turn it on now though
828: [04:47:02] <ss23> Without renaming everything
829: [04:47:03] <ss23> ANYWAY BBL
830: [04:49:44] * DigNZ quit (Quit: DigNZ)
831: [04:51:36] * EasyCo has left #silverstripe
832: [04:57:38] * willr quit (Quit: willr)
833: [04:59:00] * mobiusnz quit (Quit: Leaving.)
834: [05:05:08] * zane quit (Quit: zane)
835: [05:05:41] * nickmolhoek quit (Quit: nickmolhoek)
836: [05:06:19] <Pyromanik> Friday drinking time!
837: [05:06:28] <Pyromanik> someone is going to straighten my hair!
838: [05:06:38] <Pyromanik> gonna be so weird.
839: [05:07:06] * DigNZ has joined #silverstripe
840: [05:07:07] * DigNZ quit (Remote host closed the connection)
841: [05:07:23] * DigNZ has joined #silverstripe
842: [05:07:48] * DigNZ quit (Client Quit)
843: [05:09:36] * DigNZ has joined #silverstripe
844: [05:09:36] * DigNZ quit (Remote host closed the connection)
845: [05:09:38] * openbees has joined #silverstripe
846: [05:09:51] * DigNZ has joined #silverstripe
847: [05:10:14] * DigNZ quit (Client Quit)
848: [05:10:29] * coldblooded01 quit (Quit: coldblooded01)
849: [05:11:23] * chrisrio quit (Ping timeout: 250 seconds)
850: [05:13:17] <openbees> Good Morning from Colombo !!! I am having a problem with DateTime field in SilverStripe Blog module (V 0.6) .. calender for date is appearing but dropdowns for time are not appearing .. any idea why ?
851: [05:17:49] <Pyromanik> openbees: Colombo?
852: [05:17:53] <Pyromanik> I thought you were from India?
853: [05:18:09] <Pyromanik> oh wait, I'm thinking of Colombia
854: [05:18:11] <Pyromanik> :<
855: [05:18:35] <openbees> ha ha .. I am ... but now days working for SIlverStripers ltd ... I here on 1 year work visa ;)
856: [05:18:36] * mario_ has joined #silverstripe
857: [05:18:58] <Pyromanik> Sri Lanka eh.
858: [05:19:00] <Pyromanik> cool.
859: [05:19:14] <Pyromanik> well, probably not so cool, rather quite warm I imagine.
860: [05:19:55] * Stomach quit (Quit: Leaving.)
861: [05:20:14] <openbees> not really .. most of the time less than 30 C :D
862: [05:20:56] * simon_w has joined #silverstripe
863: [05:21:53] <simon_w> ss23, it's a fallback if $database isn't set
864: [05:24:06] * T8 has joined #silverstripe
865: [05:25:01] * T8 quit (Client Quit)
866: [05:25:51] * Shrike_Finland quit (Quit: Leaving.)
867: [05:27:44] * mario_ quit (Ping timeout: 240 seconds)
868: [05:32:04] * openbees quit (Quit: Leaving)
869: [05:33:30] * MrJeremy quit (Quit: MrJeremy)
870: [05:34:13] * MrJeremy has joined #silverstripe
871: [05:38:52] * MrJeremy quit (Client Quit)
872: [05:40:27] * Shrike_Finland has joined #silverstripe
873: [05:43:22] * Stomach has joined #silverstripe
874: [05:50:29] <Pyromanik> WIN WIN
875: [05:50:38] <Pyromanik> time for the most boring part of the day
876: [05:50:41] <Pyromanik> timesheets
877: [05:51:47] * openbees has joined #silverstripe
878: [05:54:37] * Stomach quit (Quit: Leaving.)
879: [05:55:04] * openbees quit (Client Quit)
880: [05:57:24] * openbees has joined #silverstripe
881: [05:58:15] * nomidi has joined #silverstripe
882: [06:04:29] * Pyromanik quit (Quit: leaving)
883: [06:05:27] <howardgrigg> simon_w: have you watched the safari push notification session from WWDC?
884: [06:05:30] * robert___ quit (Changing host)
885: [06:05:31] * robert___ has joined #silverstripe
886: [06:05:35] * robert___ is now known as robert_
887: [06:15:48] * mario_ has joined #silverstripe
888: [06:16:59] <simon_w> howardgrigg, you mean one of those videos that covers content that's under NDA?
889: [06:18:02] <howardgrigg> yea - one of those that I wouldn't dare go into more detail than was covered in the keynote
890: [06:18:28] <simon_w> Nope, haven't had time to look at any of them yet
891: [06:18:52] * howardgrigg is looking forward to a SS plugin :p
892: [06:19:09] <simon_w> Yeah yeah :p
893: [06:24:42] <simon_w> Time to go watch some sessions, I guess
894: [06:30:32] <simon_w> Tempted to unplug simon_w|air to double by throughput, but meh
895: [06:32:51] * nomidi quit (Ping timeout: 250 seconds)
896: [06:34:04] * mrbookt has joined #silverstripe
897: [06:34:20] <simon_w> howardgrigg, any other session numbers you'll recommend?
898: [06:34:27] * Colin[pi] has joined #silverstripe
899: [06:34:50] <howardgrigg> 109 - not helpful but enjoyable
900: [06:35:19] <simon_w> Ah, they mentioned that in 101
901: [06:35:35] <howardgrigg> but yea I've only watched a couple
902: [06:35:59] <howardgrigg> mainly the web focused ones - app dev is a line I haven't crossed yet
903: [06:38:30] <simon_w> I'm only getting 3 MB/s across six videos :(
904: [06:38:46] <simon_w> I miss when it was all on a local TCL node
905: [07:02:25] * mdowton quit ()
906: [07:05:34] * jonaxx has joined #silverstripe
907: [07:09:45] * g4b0_ has joined #silverstripe
908: [07:10:35] <jonaxx> we're having some problems with our vps that hosts several ss3 sites; we're running out of inodes. my question is; can we symlink all framework-directories for all ss3 websites to a common location?
909: [07:12:38] <simon_w> yes, so long as you define the BASE_PATH in _ss_environment.php for each site
910: [07:13:37] <jonaxx> aha, that's cool. thanks
911: [07:13:41] <g4b0_> hi all
912: [07:16:52] <g4b0_> routing problem
913: [07:17:55] * jonaxx quit (Ping timeout: 250 seconds)
914: [07:18:41] <g4b0_> I hava a page displaying a dataobject
915: [07:18:53] <g4b0_> mentors-holder/show/mentor/26/mario-rossi
916: [07:19:21] <g4b0_> I have another page that shows all the dataobject grouped by categories
917: [07:19:39] <g4b0_> /mentors/
918: [07:20:11] <g4b0_> I would like to have a URL more seo-friendly for the first page
919: [07:20:24] <g4b0_> like /mentors/mario-rossi
920: [07:20:34] <g4b0_> how can I reach that?
921: [07:20:56] <simon_w> Are these pages, or controllers?
922: [07:21:05] <g4b0_> controllers
923: [07:22:21] <simon_w> Okay, one thing you could do is 'mentors//$Name!': 'ShowMentor'
924: [07:22:21] <simon_w> 'mentors': 'MentorController'
925: [07:22:23] <g4b0_> I would like to show the output of a controller using the url of another
926: [07:22:56] <simon_w> And then, in ShowMentor, static $url_handlers = array('$Name!' => 'handleAction')
927: [07:23:36] <g4b0_> where do I have to put this code?
928: [07:23:44] <simon_w> Then, in index(SS_HTTPRequest $req), you can use $req->param('Name')
929: [07:23:53] <simon_w> well, the routes go in your yaml file
930: [07:23:59] * mrbookt quit (Ping timeout: 250 seconds)
931: [07:24:12] <simon_w> the url_handler goes in the controller that handles mentors/mario-rossi
932: [07:25:01] <g4b0_> mmm
933: [07:25:05] <g4b0_> let's try :)
934: [07:29:10] <g4b0_> ... big mistake :P
935: [07:29:30] <g4b0_> I'm working with pages, not controllers...
936: [07:31:42] * jcwacky has joined #silverstripe
937: [07:36:32] * metanat1 quit (Quit: Leaving.)
938: [07:43:39] <openbees> simon_w : well you just solved my routing problem even without asking :D
939: [07:49:39] * Stomach has joined #silverstripe
940: [07:54:25] * Stomach quit (Ping timeout: 264 seconds)
941: [07:55:17] <g4b0_> simon_w: I partially solved creating a new controller dispalying the mentor
942: [07:55:25] <g4b0_> but I've got two problem
943: [07:56:14] <g4b0_> 1) In the page showing the mentor there's no Menu
944: [07:56:21] * lerni has joined #silverstripe
945: [07:58:11] * jcwacky quit (Quit: Until next time.)
946: [07:58:21] <g4b0_> 2) The page showing all the mentors does not show mentors anymore... :)
947: [08:01:01] * kinglozzer has joined #silverstripe
948: [08:09:33] * jcwacky has joined #silverstripe
949: [08:11:49] * mario_ quit (Quit: Lost terminal)
950: [08:12:15] * g4b0_ quit (Ping timeout: 245 seconds)
951: [08:19:57] * Zauberfisch__ has joined #silverstripe
952: [08:26:26] * g4b0_ has joined #silverstripe
953: [08:26:34] * lx-berlin has joined #silverstripe
954: [08:29:24] * Zauberfisch_ quit (*.net *.split)
955: [08:29:24] * mattybalaam quit (*.net *.split)
956: [08:29:24] * Marvanni quit (*.net *.split)
957: [08:33:59] * chillu has joined #silverstripe
958: [08:38:12] * Peavers quit (Ping timeout: 268 seconds)
959: [08:38:27] * lobarvaz has joined #silverstripe
960: [08:38:48] <jcwacky> So I've looked further into why certain SilverStripe features aren't working on a server without iconv.
961: [08:39:48] <jcwacky> Appears _parseDate in Zend Locale Format.php is trying to be called when uploading an image via Insert Media, and also when displaying a DateField/
962: [08:40:04] <jcwacky> and that function requires iconv.
963: [08:58:10] * swordsmanz has joined #silverstripe
964: [09:16:09] * samthejarvis has joined #silverstripe
965: [09:20:33] * samthejarvis quit (Ping timeout: 250 seconds)
966: [09:24:39] * micmania1 has joined #silverstripe
967: [09:28:25] <openbees> I downloaded code from 3.1 branch and I see a problem in CMS site tree .. go to "Add New" and "Create" button is not functioning. Is anyone else can see this issue
968: [09:29:00] <kinglozzer> I'll check, hold on
969: [09:29:01] <openbees> I am using both CMS and Framework from 3.1 branch .. latest code dowload 15 minutes back !
970: [09:30:09] <kinglozzer> It's working fine for me
971: [09:30:44] <openbees> hmm now it worked for me too .. after several flush .. :|
972: [09:31:22] <openbees> 18<kinglozzer thanks anyway
973: [09:53:44] <g4b0_> everithing is working, thanks a lot simon_w
974: [09:59:30] <Shrike_Finland> What are the feelings towards 3.1? Still a lot of hard to fix critical bugs or bugs as usual?
975: [10:07:59] * r3v3rb has joined #silverstripe
976: [10:08:18] <r3v3rb> morning all
977: [10:08:41] * lx-berlin has left #silverstripe
978: [10:08:55] <r3v3rb> just out of interest is there a 'roadmap' for silverstripe anywhere?
979: [10:09:42] <r3v3rb> doh! got it GS made that easier than it should be...
980: [10:11:45] * g4b0_ quit (Ping timeout: 240 seconds)
981: [10:18:20] * r3v3rb quit (Quit: Page closed)
982: [10:20:38] <simon_w> howardgrigg, okay, it's rather easy to add APN support
983: [10:20:40] * RojoD^zZz is now known as Quwame
984: [10:20:52] <simon_w> Just depends on how configurable I want to make the module ;)
985: [10:24:36] * g4b0_ has joined #silverstripe
986: [10:32:27] * g4b0_ quit (Quit: Sto andando via)
987: [11:11:45] * howardgrigg quit (Remote host closed the connection)
988: [11:13:19] <kinglozzer> Anyone else unable to enter 'split' editing mode in 3.1.x-dev ?
989: [11:34:27] * chillu23 has joined #silverstripe
990: [11:43:02] * chillu quit (*.net *.split)
991: [11:43:02] * chillu23 is now known as chillu
992: [11:53:54] * UndefinedOffset has joined #silverstripe
993: [11:56:19] * ARNHOE has joined #silverstripe
994: [12:03:26] <openbees> kinglozzer +1
995: [12:05:19] <openbees> kinglozzer : it just gives edit mode.
996: [12:18:13] * Colin[pi] quit ()
997: [12:22:27] <openbees> If I have "Title" and "URLSegment" field in any dataobject which is linked to some page SS3.1 cms automatically adds a "Update URL " button , not sure its a feature or bug as clicking on that button doesn't affects URL
998: [12:25:00] <openbees> simon_w ^^ any thoughts ?
999: [12:44:15] * jrthomer_ quit (*.net *.split)
1000: [12:44:15] * lenix quit (*.net *.split)
1001: [12:52:33] * lerni quit (*.net *.split)
1002: [12:52:34] * openbees quit (*.net *.split)
1003: [12:52:34] * kinglozzer quit (*.net *.split)
1004: [12:52:34] * pippy_ quit (*.net *.split)
1005: [12:52:34] * ss23 quit (*.net *.split)
1006: [12:52:34] * chillu quit (*.net *.split)
1007: [12:52:35] * onre quit (*.net *.split)
1008: [12:52:36] * andylockran quit (*.net *.split)
1009: [12:52:36] * Kapdap quit (*.net *.split)
1010: [12:52:36] * FrozenFire quit (*.net *.split)
1011: [12:52:37] * ARNHOE quit (*.net *.split)
1012: [12:52:37] * Shrike_Finland quit (*.net *.split)
1013: [12:52:37] * ajmitch quit (*.net *.split)
1014: [12:52:37] * Zauberfisch__ quit (*.net *.split)
1015: [12:52:38] * irogue quit (*.net *.split)
1016: [12:52:38] * cloph quit (*.net *.split)
1017: [12:52:39] * MattSS_ quit (*.net *.split)
1018: [12:52:39] * simon_w|air quit (*.net *.split)
1019: [12:52:39] * jcwacky quit (*.net *.split)
1020: [12:52:39] * abitran quit (*.net *.split)
1021: [12:52:40] * lewellyn quit (*.net *.split)
1022: [12:52:40] * unsignedint quit (*.net *.split)
1023: [12:52:40] * Kolin quit (*.net *.split)
1024: [12:52:40] * AlphaCactus quit (*.net *.split)
1025: [12:52:41] * Quwame quit (*.net *.split)
1026: [12:52:41] * sminnee quit (*.net *.split)
1027: [12:52:42] * ec8or quit (*.net *.split)
1028: [12:52:43] * UndefinedOffset quit (*.net *.split)
1029: [12:52:43] * swordsmanz quit (*.net *.split)
1030: [12:52:43] * lobarvaz quit (*.net *.split)
1031: [12:52:43] * mrzero quit (*.net *.split)
1032: [12:52:43] * micmania1 quit (*.net *.split)
1033: [12:52:43] * kerosene quit (*.net *.split)
1034: [12:57:19] * lenix has joined #silverstripe
1035: [12:57:19] * jrthomer_ has joined #silverstripe
1036: [12:57:19] * ec8or has joined #silverstripe
1037: [12:57:19] * Quwame has joined #silverstripe
1038: [12:57:19] * sminnee has joined #silverstripe
1039: [12:57:49] * lx-berlin has joined #silverstripe
1040: [12:57:49] * ARNHOE has joined #silverstripe
1041: [12:57:49] * UndefinedOffset has joined #silverstripe
1042: [12:57:49] * chillu has joined #silverstripe
1043: [12:57:49] * micmania1 has joined #silverstripe
1044: [12:57:49] * swordsmanz has joined #silverstripe
1045: [12:57:49] * lobarvaz has joined #silverstripe
1046: [12:57:49] * Zauberfisch__ has joined #silverstripe
1047: [12:57:49] * jcwacky has joined #silverstripe
1048: [12:57:49] * kinglozzer has joined #silverstripe
1049: [12:57:49] * lerni has joined #silverstripe
1050: [12:57:49] * openbees has joined #silverstripe
1051: [12:57:49] * Shrike_Finland has joined #silverstripe
1052: [12:57:49] * cloph has joined #silverstripe
1053: [12:57:49] * abitran has joined #silverstripe
1054: [12:57:49] * pippy_ has joined #silverstripe
1055: [12:57:49] * ss23 has joined #silverstripe
1056: [12:57:49] * mrzero has joined #silverstripe
1057: [12:57:49] * ajmitch has joined #silverstripe
1058: [12:57:49] * kerosene has joined #silverstripe
1059: [12:57:49] * MattSS_ has joined #silverstripe
1060: [12:57:49] * andylockran has joined #silverstripe
1061: [12:57:49] * onre has joined #silverstripe
1062: [12:57:49] * Kapdap has joined #silverstripe
1063: [12:57:49] * simon_w|air has joined #silverstripe
1064: [12:57:49] * AlphaCactus has joined #silverstripe
1065: [12:57:49] * irogue has joined #silverstripe
1066: [12:57:49] * lewellyn has joined #silverstripe
1067: [12:57:49] * Kolin has joined #silverstripe
1068: [12:57:49] * unsignedint has joined #silverstripe
1069: [12:57:49] * FrozenFire has joined #silverstripe
1070: [12:58:08] * lx-berlin has left #silverstripe
1071: [12:58:08] * cloph quit (Excess Flood)
1072: [13:00:09] * cloph_away has joined #silverstripe
1073: [13:12:44] * robert_ is now known as Guest31054
1074: [13:12:45] * simon_w is now known as Guest11125
1075: [13:12:52] * simon_w|air is now known as Guest4674
1076: [13:13:36] * ARNHOE quit (Remote host closed the connection)
1077: [13:14:58] * chillu quit (*.net *.split)
1078: [13:14:58] * onre quit (*.net *.split)
1079: [13:15:44] * vikas-s has joined #silverstripe
1080: [13:15:50] * lerni_ has joined #silverstripe
1081: [13:15:50] * chillu has joined #silverstripe
1082: [13:15:50] * onre has joined #silverstripe
1083: [13:16:26] * chillu quit (Changing host)
1084: [13:16:26] * chillu has joined #silverstripe
1085: [13:19:10] * lerni quit (*.net *.split)
1086: [13:19:10] * openbees quit (*.net *.split)
1087: [13:19:11] * kinglozzer quit (*.net *.split)
1088: [13:19:11] * pippy_ quit (*.net *.split)
1089: [13:19:11] * ss23 quit (*.net *.split)
1090: [13:19:11] * jcwacky quit (*.net *.split)
1091: [13:19:11] * abitran quit (*.net *.split)
1092: [13:19:12] * lewellyn quit (*.net *.split)
1093: [13:19:12] * unsignedint quit (*.net *.split)
1094: [13:19:12] * Kolin quit (*.net *.split)
1095: [13:19:13] * AlphaCactus quit (*.net *.split)
1096: [13:19:13] * UndefinedOffset quit (*.net *.split)
1097: [13:19:14] * swordsmanz quit (*.net *.split)
1098: [13:19:14] * lobarvaz quit (*.net *.split)
1099: [13:19:14] * mrzero quit (*.net *.split)
1100: [13:19:14] * micmania1 quit (*.net *.split)
1101: [13:19:14] * kerosene quit (*.net *.split)
1102: [13:19:29] * mrzero has joined #silverstripe
1103: [13:19:39] * ss23 has joined #silverstripe
1104: [13:19:40] * UndefinedOffset has joined #silverstripe
1105: [13:19:40] * swordsmanz has joined #silverstripe
1106: [13:19:40] * lobarvaz has joined #silverstripe
1107: [13:21:22] * kinglozzer has joined #silverstripe
1108: [13:21:22] * pippy_ has joined #silverstripe
1109: [13:21:37] * AlphaCactus has joined #silverstripe
1110: [13:21:44] * micmania1 has joined #silverstripe
1111: [13:22:58] * kerosene has joined #silverstripe
1112: [13:27:52] * jcwacky has joined #silverstripe
1113: [13:27:52] * abitran has joined #silverstripe
1114: [13:27:52] * lewellyn has joined #silverstripe
1115: [13:27:52] * unsignedint has joined #silverstripe
1116: [13:27:52] * Kolin has joined #silverstripe
1117: [13:30:20] * lx-berlin has joined #silverstripe
1118: [13:37:21] * lx-berlin has left #silverstripe
1119: [14:03:42] * feejin has joined #silverstripe
1120: [14:10:31] <feejin> Quick poll: do any of you use themes from the SS website. If so which ones, if not why not?
1121: [14:12:00] <vikas-s> simple answer our clients always want their custom design :D
1122: [14:16:39] <feejin> Same here. I was wondering if there were any stats on theme downloads and if it would be worth contributing.
1123: [14:17:18] <feejin> Or if most SS projects are bespoke and themes are best left to Wordpress. I suspect this is more likely.
1124: [14:19:09] * Shrike_Finland quit (Quit: Leaving.)
1125: [14:22:09] * jrthomer_ is now known as jrthomer
1126: [14:28:11] * simon__w|air has joined #silverstripe
1127: [14:28:21] * Guest4674 quit (Ping timeout: 276 seconds)
1128: [14:29:17] * MattSS has joined #silverstripe
1129: [14:31:31] * MattSS_ quit (Ping timeout: 276 seconds)
1130: [15:13:31] * Shrike_Finland has joined #silverstripe
1131: [15:15:39] <Shrike_Finland> I use custom template "framework" for SS
1132: [15:18:08] * Nivery has joined #silverstripe
1133: [15:19:26] * guzzlefry_dev has joined #silverstripe
1134: [15:19:46] * jcwacky quit (Quit: jcwacky)
1135: [15:19:54] <Shrike_Finland> Could someone helm me a bit with creating function out of widget to render it without widget area...
1136: [15:20:13] <Shrike_Finland> I have installed this twitter widget: https://github.com/matt-bailey/silverstripe-widget-latesttweets/blob/master/latestTweetsWidget.php
1137: [15:24:32] <Shrike_Finland> How can I pull the feed for template: http://www.sspaste.com/paste/show/51d6e4693fc7d
1138: [15:44:05] * osterlaus has joined #silverstripe
1139: [15:56:26] * lx-berlin has joined #silverstripe
1140: [16:05:23] <feejin> Shrike_Finland: is it your own framework? Do you just use it as a starting point for projects?
1141: [16:05:55] * kinglozzer quit (Remote host closed the connection)
1142: [16:05:56] * chillu quit (Quit: chillu)
1143: [16:06:40] * SpliffSplendor has joined #silverstripe
1144: [16:25:54] * feejin quit (Remote host closed the connection)
1145: [16:31:20] * SpliffSplendor quit (Quit: Page closed)
1146: [16:32:38] * lx-berlin quit (Ping timeout: 256 seconds)
1147: [16:35:44] * vikas-s quit (Quit: Leaving)
1148: [16:38:15] * DesignerX has joined #silverstripe
1149: [16:41:01] * Quwame is now known as RojoD^ten
1150: [16:41:06] * RojoD^ten is now known as Quwame
1151: [16:41:24] * Quwame is now known as RojoD^eten
1152: [16:43:08] <DesignerX> #UBUNTU
1153: [16:58:40] <guzzlefry_dev> I have a 2D array that I need to loop out in a template. How do I go about putting it into a format the template can use?
1154: [17:00:32] <micmania1> guzzlefry_dev, see ArrayList and ArrayData
1155: [17:00:40] <DesignerX> guzzlefry_dev: hi, I think its done with Datalist & arraylist .. check out the API regaring these
1156: [17:00:48] * lucasfilm has joined #silverstripe
1157: [17:00:54] <guzzlefry_dev> thanks
1158: [17:01:25] <DesignerX> lolz :D good timing micmania1
1159: [17:01:33] <micmania1> :)
1160: [17:05:57] * micmania1 quit (Ping timeout: 250 seconds)
1161: [17:06:09] <guzzlefry_dev> http://ryanmclaren.com/home/silverstripe-3-return-custom-data-to-template/ <-- needs to be in some how-to list. :P
1162: [17:12:09] <lucasfilm> Hi! I'm trying SS out to make an intranet. In my Header.ss I know if the user is logged in with <% if $CurrentMember %>, but how can I know if the user has Admin privileges? I tried <% if $CurrentMember.isAdmin %>, but didn't work =$
1163: [17:13:09] <lucasfilm> How can I find out if the user has access to the Admin panel, so I can display an Admin link?
1164: [17:17:54] * lobarvaz quit (Read error: Connection reset by peer)
1165: [17:22:32] <lucasfilm> Woops. Just found out in the forums via Google: <% if $CurrentMember.inGroup('Administrators') %>
1166: [17:22:48] <lucasfilm> Thnx
1167: [17:29:50] <lucasfilm> Just another question. I need to extend the Member table to add some other things like "Role", "Holidays", etc, but I don't know how. Here is a code sample that could help: http://www.silverstripe.org/framework-code-samples/ and I added that to /mysite/code/Page.php but don't know how to execute it. Could you help me a little bit plz?
1168: [17:38:29] <DesignerX> hi again, is there a way to get a taskbar at the bottom in Ubuntu 12 ? I dont mind installing & test new packages, addons or what ever is needed to get it done .
1169: [17:38:49] * osterlaus quit (Quit: Leaving.)
1170: [17:42:26] * Nivery quit (Quit: Nivery)
1171: [17:45:57] * Nivery has joined #silverstripe
1172: [17:54:28] * chillu has joined #silverstripe
1173: [18:20:12] * chillu quit (Quit: chillu)
1174: [18:20:33] * lerni_ quit (Remote host closed the connection)
1175: [18:24:52] * lerni has joined #silverstripe
1176: [18:28:55] * micmania1 has joined #silverstripe
1177: [18:29:58] <micmania1> Should a page controller's init function be called when loading a page in the CMS?
1178: [18:31:43] <UndefinedOffset> micmania1 no Page_Controller's init() is not called
1179: [18:32:07] <UndefinedOffset> in the cms LeftAndMain is the controller (or a decendant of it)
1180: [18:33:39] <micmania1> hmmm.. just tested and its definitely being called in the CMS (3.1).
1181: [18:34:47] * lucasfilm quit (Ping timeout: 250 seconds)
1182: [18:35:24] <UndefinedOffset> 0_o
1183: [18:35:27] <micmania1> public function init() { trigger_error("init", E_USER_ERROR); die; }
1184: [18:35:40] <micmania1> yeah, pasting that was never a good idea. lol
1185: [18:35:43] <UndefinedOffset> is that only in the right pane that that is crashing?
1186: [18:35:51] <UndefinedOffset> or is the whole cms stopping?
1187: [18:36:26] <micmania1> just the right side.
1188: [18:36:41] <UndefinedOffset> thats normal then :) that right most pane in 3.1 is the preview pane
1189: [18:36:54] <UndefinedOffset> it's an iframe if i remember right
1190: [18:36:56] <micmania1> ah, yeah. Totally forgot about that.
1191: [18:37:18] <micmania1> I wondered why I wasn't seeing and CMS controllers in the backtrace.
1192: [18:37:42] <UndefinedOffset> lol
1193: [18:37:53] <micmania1> cheers though :)
1194: [18:40:37] <UndefinedOffset> np
1195: [18:41:58] * lerni quit (Remote host closed the connection)
1196: [18:44:08] * Guest31054 is now known as robert_
1197: [18:46:20] * lerni has joined #silverstripe
1198: [18:49:11] <Nivery> i'm trying to remove the dropdowns that are added automatically to a class to manage its relationships with other classes
1199: [18:49:45] <Nivery> but using removeByName or removeFieldFromTab in getCMSFields doesn't seem to work
1200: [18:50:21] <Nivery> what method should i use?
1201: [18:52:44] <micmania1> $field->removeByName("FieldNameID") should work.
1202: [18:53:24] <andylockran> Hey all, I have a bit of a weird question. We're trying to keep our SilverStripe modules organised ourselves under our own namespace, but one of our developers has been unable to add SilverStripe code unless it's not got a namespace; is that his own error, or this there some common situation whereby SilverStripe user generated stuff shouldn't be in a namespace?
1203: [18:54:04] <micmania1> I don't use namespaces but I know they're fine to use with Silverstripe.
1204: [18:54:27] <andylockran> micmania1: ok, I'll go back to him on monday and look at the problem with a fresh set of eyes.
1205: [18:54:35] <micmania1> When referencing SS classes try using \SSClass
1206: [18:54:47] <andylockran> micmania1: would you recommend that as a way of keeping our modules organised
1207: [18:55:00] <andylockran> \SSClass as being referenced to the Global Namespace?
1208: [18:55:33] <micmania1> Personal preference really. Its probably good practice.
1209: [18:56:01] <micmania1> Silverstripe themselves don'e use namespaces.
1210: [18:56:54] <andylockran> ah, ok
1211: [19:01:17] * ben__ has joined #silverstripe
1212: [19:01:19] <ben__> hello
1213: [19:01:25] <ben__> anybody there
1214: [19:01:37] <ben__> need a help
1215: [19:04:45] <Nivery> micmania1, thank you -- i had omitted the "id" portion
1216: [19:06:51] <Shrike_Finland> DesignerX: could you help me a bit with one widget problem?
1217: [19:07:38] <DesignerX> sure, I havnt use widgets that much as I have been working on my own "Gadgets" module
1218: [19:09:10] <Shrike_Finland> Hmm, gadgets? :)
1219: [19:10:16] <DesignerX> yeh.. just using GF & the GF multi class module
1220: [19:10:54] <Shrike_Finland> Any example, what you are after?
1221: [19:24:49] * lerni quit (Remote host closed the connection)
1222: [19:27:53] * cloph_away quit (Remote host closed the connection)
1223: [19:31:21] <micmania1> Anybody know if its possible to reference a row number in a DataList/ArrayList/AnyOtherKindOfList?
1224: [19:32:09] <micmania1> I need to display league standings where the position is displayed on the fly.
1225: [19:33:15] * cloph_away has joined #silverstripe
1226: [19:36:22] * ben__ quit (Quit: Page closed)
1227: [19:37:26] <micmania1> Doesn't matter! I figured out a way :)
1228: [19:42:21] * cloph_away quit (Remote host closed the connection)
1229: [19:43:04] * cloph_away has joined #silverstripe
1230: [19:56:44] * lerni has joined #silverstripe
1231: [19:58:36] * Nivery quit (Quit: Nivery)
1232: [20:01:40] * RojoD^eten is now known as RojoD
1233: [20:01:41] * RojoD quit (Changing host)
1234: [20:01:41] * RojoD has joined #silverstripe
1235: [20:01:41] * RojoD quit (Changing host)
1236: [20:01:41] * RojoD has joined #silverstripe
1237: [20:06:06] * micmania1_ has joined #silverstripe
1238: [20:06:20] * metanat has joined #silverstripe
1239: [20:07:57] * micmania1 quit (Ping timeout: 250 seconds)
1240: [20:08:29] * UndefinedOffset quit (Quit: Leaving.)
1241: [20:11:23] * supernovah has joined #silverstripe
1242: [20:14:24] * micmania1 has joined #silverstripe
1243: [20:16:13] * metanat quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
1244: [20:17:03] * micmania1_ quit (Ping timeout: 250 seconds)
1245: [20:24:42] <supernovah> Can't get Debug::log to do anything.. zzz
1246: [20:27:15] <guzzlefry_dev> supernovah: Does the user/group that the webserver is running under have write access to the SS root directory?
1247: [20:27:50] * SightUnseen has joined #silverstripe
1248: [20:27:56] * SightUnseen has left #silverstripe
1249: [20:38:28] <micmania1> Is it possible to disable the preview pane in 3.1 on certain pages? I'm trying to make a redirection page but its affecting the CMS.
1250: [20:44:04] <supernovah> I gave the file in sapphires/security/Debug.php or wherever it is, 775
1251: [20:49:17] <guzzlefry_dev> supernovah: afaik Debug::log() will dump stuff to a file named debug.log in the root directory.
1252: [20:49:37] <supernovah> yeah I ran an file search thru ssh and didn't find it anywhere
1253: [20:49:50] <supernovah> nvm
1254: [20:49:53] <supernovah> time to go snowboarding
1255: [20:49:54] <guzzlefry_dev> The webserver probably can't create the file. :P
1256: [20:50:01] <guzzlefry_dev> have fun
1257: [20:50:02] <supernovah> I thought it would throw an error then
1258: [20:50:12] <supernovah> like, file doesn't exist or permission denied etc
1259: [20:54:50] * supernovah quit (Ping timeout: 248 seconds)
1260: [21:02:17] * mobiusnz has joined #silverstripe
1261: [21:05:44] * SightUnseen has joined #silverstripe
1262: [21:09:19] * SightUnseen has left #silverstripe
1263: [21:25:51] * joelpittet has joined #silverstripe
1264: [21:27:26] <guzzlefry_dev> Is there a proper way to get a web service working with SS?
1265: [21:32:36] <micmania1> guzzlefry_dev, web service as in API? There is a Resful API module.
1266: [21:34:52] <micmania1> https://github.com/silverstripe/silverstripe-restfulserver/
1267: [22:01:41] <guzzlefry_dev> micmania1: My current problem is that I have to wrap everything in ArrayList and ArrayData. Was wondering if maybe I could extend DataObject to work with the API, but I'm very new to SS, so I'm not sure.
1268: [22:03:21] * FrozenFire quit (Read error: Connection reset by peer)
1269: [22:03:24] <micmania1> guzzlefry_dev, can you give me an example of what you mean?
1270: [22:04:00] * FrozenFire has joined #silverstripe
1271: [22:09:10] <guzzlefry_dev> Right now I'm using an API that abstracts SOAP calls. The current thing is pulling schedule data and using that data to create a calendar array. Then I suppose I have to wrap all of that in ArrayList and ArrayData.
1272: [22:09:17] <guzzlefry_dev> Just wondering if there's a better way to do this.
1273: [22:10:54] <micmania1> so you're pulling data from an API and want to store it in a DataObject?
1274: [22:11:41] <guzzlefry_dev> eh, I just more or less want it in a format that's template-friendly.
1275: [22:16:51] <micmania1> The best thing to use is ArrayData. You could extend this to to represent that data you're wanting to make more friendly, then in your template call $MyArrayDataClass
1276: [22:17:45] <micmania1> What you'd need to to is create a forTemplate() function on your new class which renders the data to a specified template.
1277: [22:17:49] * Guest11125 is now known as simon_w
1278: [22:18:18] * simon_w is now known as Guest90162
1279: [22:18:26] <micmania1> Its pretty complicated if you're new to silverstripe so I'd advise reading through the docs. That was me just thinking out loud.
1280: [22:18:40] <guzzlefry_dev> ah thanks, it was helpful.
1281: [22:18:44] <guzzlefry_dev> I'll get to reading.
1282: [22:22:16] * Guest90162 is now known as simon_w
1283: [22:24:01] * lerni quit (Remote host closed the connection)
1284: [22:53:44] * Hippie has joined #silverstripe
1285: [23:46:16] * metanat has joined #silverstripe
1286: [23:46:28] * metanat quit (Client Quit)
1287: [23:53:18] * supernovah has joined #silverstripe
1288: [23:57:10] <supernovah> where do you set the default admin email
1289: [23:57:40] <guzzlefry_dev> supernovah: _ss_environment.php
1290: [23:58:37] <supernovah> 2.4
1291: [23:58:39] <supernovah> I don'
1292: [23:58:48] <supernovah> Don't have that file in ../sapphire
1293: [23:59:14] <guzzlefry_dev> ah, I'm not sure. I'm new so haven't touched anything older than 3.1 :P
1294: [23:59:25] <supernovah> Oh lol
1295: [23:59:32] <supernovah> The wonders of taking over older sites huh

These logs were automatically created by ss-log on irc.freenode.net.