#silverstripe IRC Log

IRC log for 19 February 2013

All timestamps are in UTC.

1: [00:02:00] * Stomach has joined #silverstripe
2: [00:03:00] * Andi_de__ is now known as Andi_de
3: [00:03:00] * Andi_de__ has joined #silverstripe
4: [00:22:00] <mirrors> Hey is there anyway I can tell I am in a pop up in SS2.4
5: [00:22:00] * mirrors has joined #silverstripe
6: [00:22:00] * t|m has joined #silverstripe
7: [00:23:00] <mirrors> e..g i can tell i am in the CMS by going if Controller::curr() instance of LeftandMain
8: [00:23:00] <mirrors> i need to know in an augmentSQL function
9: [00:30:00] * blindMoe has joined #silverstripe
10: [00:34:00] * blindMoe quit (Ping timeout: 264 seconds)
11: [00:37:00] <Pyromanik> err, ctf*
12: [00:37:00] <Pyromanik> mirrors: cms popups travel through the form field, etc.
13: [00:38:00] <Pyromanik> if you're using DOM you can just tell it to use a different method instead of getCMSFields on your object
14: [00:38:00] <t|m> is the 3.0.4 release official?
15: [00:38:00] <Pyromanik> I'm reasonably sure you can augment the query through the CTF instance itself
16: [00:38:00] <simon_w> Pyromanik, you can do that with any CTF
17: [00:38:00] <t|m> hey guys
18: [00:39:00] <Pyromanik> simon_w: true, I just don't, I suppose.
19: [00:39:00] <simon_w> bah
20: [00:39:00] <simon_w> http://ss.org/3.0.4
21: [00:39:00] <t|m> right
22: [00:39:00] <simon_w> t|m, because you're looking in the wrong place?
23: [00:39:00] <t|m> or is that coming soon?
24: [00:39:00] <t|m> why no official announcement?
25: [00:39:00] <simon_w> Yes
26: [00:39:00] <t|m> why are there no RCs?
27: [00:40:00] <t|m> sweet
28: [00:40:00] <simon_w> http://ss.org.nz/3.0.4
29: [00:40:00] <Pyromanik> this is three point OH point four, not three point one.
30: [00:40:00] <Pyromanik> it's official and it's announced.
31: [00:40:00] <Pyromanik> because it's a security patch
32: [00:40:00] <Pyromanik> why would tehre be RCs?
33: [00:41:00] <t|m> thanks guys
34: [00:41:00] <t|m> sweet as
35: [00:41:00] * t|m quit (Quit: Ex-Chat)
36: [00:55:00] * priithansen has joined #silverstripe
37: [01:04:00] <simon_w> It works?
38: [01:04:00] <pippy> woot!
39: [01:09:00] <pippy> nah, just wooting at 3.0.4
40: [01:17:00] * Liquide has joined #silverstripe
41: [01:31:00] <Pyromanik> o
42: [01:31:00] <Pyromanik> I'm saving my w00t for 3.1
43: [01:32:00] <simon_w> I'm saving mine for when speed improvements to the config system get merged
44: [01:39:00] * novaweb has joined #silverstripe
45: [01:43:00] <Bollig|DesignCty> simon_w: prior to 3.1?
46: [01:44:00] <simon_w> Bollig|DesignCty, hopefully
47: [01:44:00] <Bollig|DesignCty> :D
48: [01:48:00] * novaweb quit (Quit: novaweb)
49: [01:51:00] <Pyromanik> simon_w: sounds good!
50: [01:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4892283
51: [01:55:00] * travis-ci has joined #silverstripe
52: [01:55:00] <travis-ci> [travis-ci] silverstripe/sapphire#1448 (3.0 - 29de643 : Sean Harvey): The build passed.
53: [01:55:00] * travis-ci has left #silverstripe
54: [01:55:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/813730b96e3a...29de6431fd44
55: [02:22:00] * novaweb has joined #silverstripe
56: [02:31:00] <ss23> idgi
57: [02:31:00] <novaweb> I once was lost, but now I'm GIT
58: [02:31:00] <Pyromanik> interesting.
59: [02:33:00] * SightUnseen has left #silverstripe
60: [02:33:00] * SightUnseen has joined #silverstripe
61: [02:36:00] <simon_w> ss23, novaweb is even more lost
62: [02:38:00] <irogue> @AklTransport: Western Cabs are supplementing rail services between Henderson and Waitakere due to an earlier operational incident at Henderson Station.
63: [02:38:00] <irogue> that's... interesting
64: [02:38:00] <Pyromanik> :<
65: [02:38:00] <irogue> free taxis while train can't go
66: [02:39:00] <Pyromanik> oic
67: [02:39:00] <Pyromanik> 'operational incident'
68: [02:39:00] <irogue> they say that for pretty much anything
69: [02:40:00] <Pyromanik> what's that env definition that autos the db name?
70: [02:40:00] <Pyromanik> simon_w: ?
71: [02:41:00] <simon_w> as a number, for how many folders to go up to get the folder to turn into the db name
72: [02:41:00] <simon_w> SS_DATABASE_CHOOSE_NAME
73: [02:42:00] <Pyromanik> cool, thanks
74: [02:46:00] * SightUnseen1 has joined #silverstripe
75: [02:47:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
76: [02:49:00] * SightUnseen1 has left #silverstripe
77: [02:51:00] <irogue> i have just begun a rather large undertaking
78: [02:51:00] <Colin[pi]> :O
79: [02:51:00] <irogue> moving our site to ss3
80: [02:51:00] <Colin[pi]> yeah?
81: [02:52:00] <irogue> lol
82: [02:52:00] <simon_w> You think that's a large undertaking? Try moving ours :p
83: [02:53:00] <Colin[pi]> you go girl
84: [02:53:00] <Pyromanik> ic
85: [02:53:00] <irogue> am going to fix it while i'm at it
86: [02:53:00] <Pyromanik> just find/replace :P
87: [02:53:00] <Pyromanik> oic
88: [02:53:00] <irogue> cos my codebase is shite :P
89: [02:53:00] <irogue> i'm actually not going to even try to just throw my code into ss3 and fix the bits that break
90: [02:53:00] <Pyromanik> woop woop
91: [02:53:00] <Pyromanik> why not?
92: [02:54:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/dev/install/install.php5#L142
93: [02:54:00] <irogue> will keep the model definitions (so database can be pulled over) but redo controllers and templates
94: [02:55:00] <irogue> simon_w: i may require your assistance with making *that* fix in ss3, unless it's been pushed into core
95: [02:55:00] * Pyromanik makes raspberry noise
96: [02:56:00] <irogue> simon_w: ya
97: [02:56:00] <Pyromanik> that fix/
98: [02:56:00] <irogue> the one that makes everything awesome
99: [02:56:00] <Pyromanik> mmm
100: [02:56:00] <Pyromanik> make a $handle action?
101: [02:56:00] <Pyromanik> $this->fix
102: [02:56:00] <simon_w> irogue, that action as part of the rule one?
103: [02:56:00] <Pyromanik> oh taht fix
104: [02:56:00] <Pyromanik> ?
105: [02:57:00] <Colin[pi]> yay
106: [02:57:00] <Pyromanik> mmm, mebbe not
107: [02:57:00] <Colin[pi]> if I have a class that needs to be rendered with a template, but is not a Page or DataObject, do I extend ViewableData?
108: [02:57:00] <simon_w> It's pretty much just passing around the options you specify
109: [02:57:00] <simon_w> Colin[pi], yes
110: [02:57:00] <Colin[pi]> I am learning, wow
111: [02:58:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/dev/install/install.php5#L157
112: [02:58:00] <irogue> allows me to do stuff like that
113: [02:58:00] <irogue> 'favourite/add/$ID' => array('Controller' => 'StorePage_Controller', 'Action' => 'favourite_add')
114: [02:59:00] <Pyromanik> cool
115: [02:59:00] <Pyromanik> I had to hack it with 2.4, lol
116: [02:59:00] <Pyromanik> simon_w: but env config doesn't dump db name into installer: <
117: [02:59:00] <Pyromanik> hey wait, you can cli install now?
118: [02:59:00] <simon_w> irogue, I haven't seen something like that merged into 3, but it should basically be in the same spot
119: [02:59:00] <simon_w> Pyromanik, have been able to for some time
120: [03:00:00] <Pyromanik> :< *
121: [03:01:00] <Colin[pi]> if you guys have classes that are not DO's, do you use accessor methods for properties?
122: [03:01:00] <Pyromanik> it is make me the sadpanda
123: [03:02:00] <Colin[pi]> hmm good question
124: [03:02:00] <Pyromanik> does magic __get stop at DataObject?
125: [03:02:00] <Colin[pi]> i'm assuming yes because it's not the evil way, or so I'm told
126: [03:02:00] <Pyromanik> I'm not sure that it does.
127: [03:03:00] <Pyromanik> i c
128: [03:03:00] <Colin[pi]> templated object representing a Twitter button
129: [03:03:00] <Pyromanik> (for something that holds data)
130: [03:03:00] <Colin[pi]> ViewableData
131: [03:03:00] <Pyromanik> Colin[pi]: what are you extending, if not data object?
132: [03:03:00] <Pyromanik> there or viewable data
133: [03:03:00] <Pyromanik> makes sense
134: [03:03:00] <Pyromanik> though I suppose
135: [03:03:00] <Pyromanik> y?
136: [03:04:00] <Colin[pi]> ^
137: [03:04:00] <Pyromanik> why isn't it a data object?
138: [03:04:00] <Colin[pi]> wont be persisted at all, but handy for multiple locations on the site
139: [03:04:00] <Pyromanik> ic
140: [03:04:00] <Colin[pi]> (parameterised etc.)
141: [03:04:00] <Colin[pi]> *shouldn't
142: [03:04:00] * willr quit (Quit: willr)
143: [03:04:00] <Pyromanik> should
144: [03:04:00] <Pyromanik> it's an object with data
145: [03:04:00] <Colin[pi]> wont be persisted, so I thought it should be a DO
146: [03:04:00] <Pyromanik> n
147: [03:04:00] <simon_w> Pyromanik, gah, english, not letters
148: [03:05:00] <Colin[pi]> isn't DataObject analogous to Active Record?
149: [03:05:00] <Pyromanik> yes and no
150: [03:05:00] <Colin[pi]> LOL
151: [03:05:00] <Colin[pi]> but but
152: [03:05:00] <Pyromanik> don't write it.
153: [03:05:00] <Colin[pi]> it's not going in the DB :<
154: [03:05:00] <simon_w> That's not what the Data refers to :p
155: [03:05:00] <Pyromanik> ^^
156: [03:05:00] <simon_w> Yes
157: [03:05:00] <Pyromanik> No.
158: [03:05:00] <simon_w> Yes
159: [03:05:00] <Colin[pi]> then why should a Twitter button be an Active Record?
160: [03:05:00] <simon_w> ViewableData is generic data
161: [03:06:00] <Pyromanik> yes it is an active record, no you don't need to write it.
162: [03:06:00] <Colin[pi]> it's a GUI element
163: [03:07:00] <Colin[pi]> in any case, I just opened the source... magic get/set on ViewableData :)
164: [03:07:00] <Colin[pi]> why not make ViewableData a subclass of DataObject then? ;P
165: [03:07:00] <Pyromanik> well, either way
166: [03:07:00] <Pyromanik> because DataList
167: [03:07:00] <Pyromanik> is viewable
168: [03:07:00] <Pyromanik> why twitterbutton?
169: [03:08:00] <Pyromanik> BOOM
170: [03:08:00] <Pyromanik> I mean, taht's pretty much what your viewable data is going to do right?
171: [03:08:00] <Pyromanik> create some JS code
172: [03:08:00] <Colin[pi]> :D
173: [03:08:00] <Colin[pi]> why not?
174: [03:08:00] <Pyromanik> just <% include TwitterButton %>
175: [03:08:00] <Pyromanik> it's a gui element
176: [03:08:00] <Colin[pi]> because parameters
177: [03:08:00] <Pyromanik> taht's what JS is for
178: [03:08:00] <Colin[pi]> :(
179: [03:09:00] <Pyromanik> sounds like a dataobject
180: [03:09:00] <Colin[pi]> no, not really
181: [03:09:00] <Pyromanik> dump it in template
182: [03:09:00] <Colin[pi]> it will hold props like URL, Size etc.
183: [03:09:00] <Pyromanik> twitter init code for JS stuff
184: [03:09:00] <Colin[pi]> and has a forTemplate that calls the renderWith
185: [03:09:00] <Colin[pi]> renderWith renders HTML5 for the Twitter button
186: [03:09:00] <Colin[pi]> (and at some stage I'll need to require the JS, one time per page)
187: [03:09:00] <Pyromanik> so exactly what I just said?
188: [03:10:00] <Colin[pi]> it could
189: [03:10:00] <Pyromanik> it's what I meant.
190: [03:10:00] <Pyromanik> simon_w: I know.
191: [03:10:00] <Pyromanik> so instead of including template with params in it, you want to put params in a template to call a method that returns your template with parameters in it
192: [03:10:00] <Colin[pi]> for multiple buttons
193: [03:10:00] <Colin[pi]> but with the html5 mode it dumps once per page
194: [03:10:00] <Colin[pi]> yeah but it won't be dumping JS per button
195: [03:10:00] <Colin[pi]> well
196: [03:10:00] <simon_w> Pyromanik, tweet button gets its data from attributes
197: [03:11:00] <Colin[pi]> lol
198: [03:11:00] <Pyromanik> which are set by your $twitterbutton(parameters)
199: [03:11:00] <Colin[pi]> and the class provides the variables via renderWith/forTemplate
200: [03:11:00] <Colin[pi]> well the template is fairly dumb, just a HTML5 <a> tag pulling variables
201: [03:11:00] <Pyromanik> YO DAWG
202: [03:12:00] <Colin[pi]> all I want to do is put $TwitterShareButton in the template, say for a blog post
203: [03:12:00] <Colin[pi]> no I'm creating the button within other classes
204: [03:12:00] <Pyromanik> oic
205: [03:13:00] <Colin[pi]> aye, new TwitterShareButton($this->AbsoluteLink) etc.
206: [03:13:00] <Colin[pi]> and the BlogPost class will go and generate the button class and render it
207: [03:13:00] <Pyromanik> so
208: [03:13:00] <Pyromanik> based on URL and stuff?
209: [03:14:00] <Colin[pi]> soo... what adv is there to having it as a DataObject, if any?
210: [03:14:00] <Colin[pi]> yep but I want to tell it the URL as it's rendering the buttons for multiple posts on an index
211: [03:14:00] <Pyromanik> you know twitter will use the ref as the URL if you don't specify it right?
212: [03:14:00] <Pyromanik> ic
213: [03:15:00] <Colin[pi]> programmatic creation without hard coding stuff into the templates?
214: [03:15:00] <Pyromanik> what advantage is there to having it as an object, if any?
215: [03:15:00] <Pyromanik> so <% include Twitter %> where <a $Link %>
216: [03:16:00] <Pyromanik> but you don't hardcode anything
217: [03:16:00] <Colin[pi]> sigh
218: [03:16:00] <Pyromanik> <a href="https://twitter.com/share" class="twitter-share-button" data-url="$AbsoluteLink" data-via="$TwitterName" data-lang="en" target="_blank">Tweet</a>
219: [03:17:00] <Colin[pi]> ok, so that's fine if wherever I'm using that the source object has AbsoluteLink. It may not (I can write a method)
220: [03:17:00] <Pyromanik> If you want to render multiple different types of buttons with one object, then I suppose I could see a point
221: [03:17:00] <Colin[pi]> I guess the class is an adapter
222: [03:18:00] <Colin[pi]> no I mean the link may come from another source
223: [03:18:00] <Pyromanik> what are they sharing if it doesn't have an absolute link?
224: [03:18:00] <Pyromanik> how did they get to it to share it?
225: [03:18:00] <Pyromanik> like an external one?
226: [03:19:00] <Colin[pi]> like wherever, the point is I want to make it modular and repurposable as possible
227: [03:19:00] <Colin[pi]> this fits with how my brain works OK? lol
228: [03:19:00] <Pyromanik> hokey pokey
229: [03:19:00] <Colin[pi]> I want a twitter button wherever, k instantiate a class and define/render it ;)
230: [03:19:00] <Pyromanik> carry on then :>
231: [03:19:00] <Pyromanik> ok
232: [03:19:00] <Pyromanik> http://shit-not-from-my-site.com/rubbish-I-reposted-for-epeen/
233: [03:20:00] <Colin[pi]> well
234: [03:20:00] <Pyromanik> I hate PHP's lack of overloading.
235: [03:20:00] <Pyromanik> 2.4 so full of them
236: [03:20:00] <Pyromanik> can't blame you
237: [03:20:00] <Colin[pi]> I much prefer the ->URL = "blah"; ->Size = "large"; etc
238: [03:20:00] <Pyromanik> hehehe
239: [03:20:00] <Colin[pi]> one thing I hate is constructor params :(
240: [03:20:00] <Pyromanik> __construct($name, $link, $size, $etc)
241: [03:21:00] <Pyromanik> you can ::create()->blah()->blah()
242: [03:21:00] <Colin[pi]> yeah you can kinda kludge it with func_get_args()
243: [03:21:00] <Colin[pi]> but it's messy
244: [03:21:00] <Pyromanik> though good news
245: [03:21:00] <Pyromanik> goddamn ducktypes
246: [03:22:00] <ss23> Not like PHP is the bottleneck in speed 9/10
247: [03:22:00] <Pyromanik> it's a buttload of reflection
248: [03:22:00] <Colin[pi]> ah yep I use that with SQLQuery :)
249: [03:22:00] <Pyromanik> ^
250: [03:22:00] <simon_w> ::create()'s reliance on the Config is slow
251: [03:22:00] <Pyromanik> AND __construct($mandatory, $optional='lol'
252: [03:22:00] <Colin[pi]> mm
253: [03:22:00] <ss23> Who cares about slow?
254: [03:22:00] <Pyromanik> and slow
255: [03:22:00] <Colin[pi]> chaining, yeah it's cool
256: [03:22:00] <Colin[pi]> yeah? benchmarks show it's a bottleneck?
257: [03:23:00] * ss23 replaces every echo "foo" . "bar" with echo 'foo' . 'bar'
258: [03:23:00] <ss23> I should devote some time to micro-optimising Silverstripe
259: [03:23:00] <Pyromanik> and that
260: [03:23:00] <simon_w> Turns out Reflection isn't
261: [03:23:00] <Pyromanik> oic
262: [03:23:00] <ss23> Good idea y/n?
263: [03:23:00] <Pyromanik> usually reflection is a heavy thing
264: [03:23:00] <simon_w> PHP: Doing reflection right!
265: [03:23:00] <Pyromanik> ss23: no, we'd rather SS stayed stable.
266: [03:23:00] <ss23> :D
267: [03:23:00] <Pyromanik> lol
268: [03:23:00] <Pyromanik> shave off 2 1000ths of a second
269: [03:23:00] <simon_w> ss23, there's like 5 echo calls
270: [03:23:00] <Pyromanik> gw bro!
271: [03:24:00] <Pyromanik> simon_w: he's talking about the difference between " and '
272: [03:24:00] <Colin[pi]> ugh I had to profile a PDF generating site recently, managed to get a 70% improvement :)
273: [03:24:00] <simon_w> Pyromanik, I know
274: [03:24:00] <Pyromanik> lol, nice
275: [03:25:00] <Pyromanik> mm
276: [03:25:00] <Pyromanik> I roll with "if it works, it works", often coupled with 'deal with it'.
277: [03:25:00] <Colin[pi]> yeah basically mostly thanks to Wkhtmltopdf, loooove that program
278: [03:25:00] <simon_w> ss23, just rewrite SilverStripe as a pecl extension
279: [03:26:00] <Colin[pi]> maybe I should ditch mpm-itk on my server
280: [03:27:00] <Pyromanik> whut
281: [03:27:00] <Colin[pi]> did it originally for security reasons but it's kinda shitty
282: [03:27:00] <Pyromanik> suphp
283: [03:28:00] * Pyromanik grumbles at install.php not correctly sexing his env file, and having to manually edit .htaccess
284: [03:29:00] <Pyromanik> with _env.php
285: [03:29:00] <Pyromanik> nor can I set default locale
286: [03:31:00] <Colin[pi]> -_-
287: [03:32:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/conf/ConfigureFromEnv.php#L23
288: [03:32:00] <Pyromanik> wrong!
289: [03:36:00] <Pyromanik> too slow?
290: [03:36:00] <Pyromanik> oh
291: [03:36:00] <Pyromanik> simon_w: _ss_environment.php not recommended for production right/
292: [03:36:00] <simon_w> Pyromanik, is recommended.
293: [03:36:00] <Pyromanik> ?
294: [03:41:00] <Colin[pi]> now to get it to require the JS
295: [03:41:00] <Colin[pi]> aw yea, TwitterShareButton works
296: [03:42:00] <Pyromanik> Require:: ?
297: [03:42:00] <Colin[pi]> aye
298: [03:42:00] <Pyromanik> err, Requirements
299: [03:42:00] <Colin[pi]> that too :)
300: [03:43:00] <Colin[pi]> ugh old client site got 'sploited :C
301: [03:43:00] <Pyromanik> lold
302: [03:44:00] <Pyromanik> better than circa 1995
303: [03:44:00] <Colin[pi]> looks like it's circa 2005 :(
304: [03:45:00] <Pyromanik> twinkle star gifs, GOSH, get with the times Colin[pi]
305: [03:45:00] <Colin[pi]> spinning logos and rainbow gifs!
306: [03:46:00] <Pyromanik> marquee
307: [03:46:00] <Pyromanik> don't forget to re-style the scroll bar!
308: [03:46:00] * Colin[pi] shudders
309: [03:46:00] <Pyromanik> oh, and the obligatory mailbox that has the letter go into it
310: [03:46:00] <Colin[pi]> background midi
311: [03:46:00] <Pyromanik> blink
312: [03:47:00] <Pyromanik> This website has been made to work in Internet Explorer at 800x600
313: [03:48:00] <Stomach> better put up a picture of roadworks to let people know
314: [03:48:00] <Stomach> you guys are forgetting that this site is still under construction
315: [03:50:00] <Pyromanik> nah bro, just a black and yellow diagonal stripe & a road cone.
316: [03:51:00] <Pyromanik> along with afforementioned animated mailbox next to the email address
317: [03:53:00] <novaweb> how about you put in a splash page while you're at it.. don't use this though... it's a bit too cool http://24.media.tumblr.com/cfa55f70bbc5ce545eed804fa61a9d26/tumblr_mfpmmdCdWA1s1r5leo1_500.gif
318: [03:53:00] <Colin[pi]> infinite loading!
319: [03:54:00] <Colin[pi]> no
320: [03:54:00] <Stomach> http://media.tumblr.com/tumblr_lybnbeyQDh1qhcvgd.gif
321: [03:54:00] <Stomach> dont forget the dancing baby
322: [03:54:00] <Colin[pi]> no I can't look, it's painful
323: [03:55:00] * tankr quit (Quit: Leaving.)
324: [03:55:00] * Pyromanik refuses to view a dancing baby
325: [03:56:00] <Pyromanik> OMG HOW
326: [03:56:00] * Pyromanik wanted to physically hurt the human race after that ally mcbeal thing.
327: [03:56:00] <Colin[pi]> THAT GIF IS STILL LOADING :o
328: [03:56:00] <Colin[pi]> how long will it take?
329: [03:57:00] <Pyromanik> dunnno bro, must just be you, mine loaded ages ago
330: [03:57:00] <novaweb> lols
331: [04:01:00] <Pyromanik> http://www.theworldsworstwebsiteever.com/
332: [04:01:00] * Zauberfisch quit (Read error: Connection reset by peer)
333: [04:02:00] <Pyromanik> pinnacle of web design right thar
334: [04:02:00] <Pyromanik> Colin[pi]: Check that beauty out.
335: [04:03:00] <Colin[pi]> wat
336: [04:03:00] <novaweb> bye strippers!
337: [04:03:00] <novaweb> I guess I should go take care of my pants situation
338: [04:03:00] <Colin[pi]> I think I just threw up in my mouth
339: [04:03:00] <novaweb> I just shat my pants crazy
340: [04:03:00] <Colin[pi]> oh god
341: [04:03:00] * novaweb quit (Quit: novaweb)
342: [04:04:00] <Pyromanik> novaweb I just shat my pants crazy
343: [04:04:00] <Pyromanik> bai
344: [04:04:00] <Pyromanik> that's waht
345: [04:04:00] * Pyromanik has left #silverstripe
346: [04:04:00] <Pyromanik> also
347: [04:04:00] <Pyromanik> 5pm
348: [04:06:00] * Zauberfisch has joined #silverstripe
349: [04:08:00] * lenix- quit (Ping timeout: 276 seconds)
350: [04:10:00] * DigNZ quit (Quit: DigNZ)
351: [04:11:00] * lenix has joined #silverstripe
352: [04:13:00] * mirrors quit (Quit: Page closed)
353: [04:26:00] * lenix quit (Ping timeout: 255 seconds)
354: [04:31:00] * lenix has joined #silverstripe
355: [04:34:00] * Error404NotFound has joined #silverstripe
356: [05:01:00] * cloph_away1 has joined #silverstripe
357: [05:02:00] * cloph_away quit (Ping timeout: 248 seconds)
358: [05:10:00] * lenix quit (Ping timeout: 248 seconds)
359: [05:13:00] * Error404NotFound quit (Ping timeout: 248 seconds)
360: [05:13:00] * Error404NotFound has joined #silverstripe
361: [05:21:00] * lenix has joined #silverstripe
362: [05:27:00] * Error404NotFound quit (Ping timeout: 255 seconds)
363: [05:35:00] * Stomach quit (Quit: Leaving.)
364: [05:50:00] * Stomach has joined #silverstripe
365: [06:01:00] * DigNZ has joined #silverstripe
366: [06:03:00] <Colin[pi]> gg firefox, using 2GB of RAM
367: [06:06:00] * Zauberfisch quit (Read error: Connection reset by peer)
368: [06:07:00] * Zauberfisch has joined #silverstripe
369: [06:08:00] * SightUnseen has joined #silverstripe
370: [06:09:00] * SightUnseen has left #silverstripe
371: [06:22:00] * MysteriousWombat has joined #silverstripe
372: [06:23:00] <MysteriousWombat> Trying to use Zurb's Foundation with Silverstripe but Foundation puts css files to MyTheme/stylesheets/ rather than MyTheme/css/
373: [06:24:00] <MysteriousWombat> I'm using <% require css('themes/MyTheme/stylesheets/app.css') %> in page.ss but how can I make it so the theme is dynamic, not hard coded?
374: [06:24:00] * ajshort has joined #silverstripe
375: [06:26:00] <MysteriousWombat> Is there any functionality such as <% require themedCSS('app') %> but instead of using MyTheme/css/ using your own directory (in my case MyTheme/stylesheets) ?
376: [06:28:00] <priithansen> MysteriousWombat: are you using the sass version of foundation?
377: [06:28:00] <MysteriousWombat> yes
378: [06:29:00] <MysteriousWombat> Ah ok, sorry I'm using it for the first time trying to get a grasp of it
379: [06:29:00] <priithansen> then you can rename the css folder in config.rb
380: [06:30:00] <MysteriousWombat> How can I go about that?
381: [06:30:00] <priithansen> hm there should be a config.rb file included in foundation files
382: [06:31:00] <MysteriousWombat> found it
383: [06:31:00] <MysteriousWombat> cheers
384: [06:31:00] <MysteriousWombat> sorry last time I looked at that file it was empty ha
385: [06:31:00] <priithansen> or you could use this :) https://github.com/priithansen/silverstripe-foundation-boilerplate
386: [06:31:00] <priithansen> or maybe its only included with the foundation gem
387: [06:32:00] <MysteriousWombat> Nice man!
388: [06:34:00] <priithansen> I have not yet had a chance to use it for a project but everything should be there.
389: [06:43:00] <guci0> .0l;0l;
390: [06:51:00] * guci0 quit (Ping timeout: 245 seconds)
391: [06:56:00] * DigNZ quit (Quit: DigNZ)
392: [07:05:00] * Colin[pi] quit (Ping timeout: 256 seconds)
393: [07:12:00] * peter_ss quit (Ping timeout: 255 seconds)
394: [07:12:00] * peter_ss1 has joined #silverstripe
395: [07:31:00] * peter_ss1 is now known as peter_ss
396: [07:49:00] * Error404NotFound quit (Max SendQ exceeded)
397: [07:49:00] * Error404NotFound has joined #silverstripe
398: [07:49:00] * SightUnseen has joined #silverstripe
399: [07:50:00] * Error404NotFound has joined #silverstripe
400: [07:51:00] * SightUnseen has left #silverstripe
401: [07:51:00] * Error404NotFound quit (Max SendQ exceeded)
402: [07:52:00] * Error404NotFound has joined #silverstripe
403: [07:55:00] * zfmf has joined #silverstripe
404: [07:58:00] * Shrike_Finland has joined #silverstripe
405: [08:02:00] * Shrike_Finland has joined #silverstripe
406: [08:02:00] * Shrike_Finland quit (Read error: Connection reset by peer)
407: [08:06:00] * Andi_de has left #silverstripe
408: [08:08:00] * Error404NotFound quit (Ping timeout: 245 seconds)
409: [08:15:00] * Motoservo quit (Quit: Motoservo)
410: [08:20:00] * Motoservo has joined #silverstripe
411: [08:22:00] * chillu has joined #silverstripe
412: [08:25:00] * Error404NotFound has joined #silverstripe
413: [08:30:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4897489
414: [08:30:00] * travis-ci has joined #silverstripe
415: [08:30:00] <travis-ci> [travis-ci] silverstripe/sapphire#1452 (3.1 - aa0d4e6 : Ingo Schommer): The build is still failing.
416: [08:30:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d00fa67f3e90...aa0d4e6c902a
417: [08:30:00] * travis-ci has left #silverstripe
418: [08:33:00] * PigeonFriend has joined #silverstripe
419: [09:05:00] * kinglozzer has joined #silverstripe
420: [09:07:00] * travis-ci has joined #silverstripe
421: [09:07:00] * travis-ci has left #silverstripe
422: [09:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4898125
423: [09:07:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/aa0d4e6c902a...876c660018a2
424: [09:07:00] <travis-ci> [travis-ci] silverstripe/sapphire#1453 (3.1 - 876c660 : Ingo Schommer): The build is still failing.
425: [09:08:00] * simon_w|air has joined #silverstripe
426: [09:15:00] * Stomach quit (Quit: Leaving.)
427: [09:24:00] * Colin[pi] has joined #silverstripe
428: [09:33:00] <popeshoe> hey chaps, i've gone mentally ill and forgotten the name of a field and can't seem to google it
429: [09:33:00] <popeshoe> pretty sure it comes with sapphire it's like a page dropdown list but with checkboxes so you can select multiple pages
430: [09:34:00] * klastok has joined #silverstripe
431: [09:34:00] <klastok> how to get a pagetree dropdown in ss 3.0.4?
432: [09:34:00] <klastok> hai!
433: [09:35:00] <simon_w|air> klastok, look at TreeDropdownFIeld
434: [09:35:00] <simon_w|air> popeshoe, TreeMultiselectField?
435: [09:35:00] <ss23> It bugs me when a bug tracker has bugs that prevent you for searching for bugs, which then means you can't search for whether the bug about searching for bugs is an already reported bug or not.
436: [09:35:00] <ss23> simon_w|air: sif, if there is a bug reported and it's not fixed, they should fix it
437: [09:35:00] <simon_w|air> ss23, google.
438: [09:35:00] <popeshoe> ah! that sounds familiar, thanks simon_W
439: [09:36:00] <ss23> No excuse to make you bug tracker unusable
440: [09:36:00] <popeshoe> who bug tracks the bug trackers?
441: [09:36:00] <simon_w|air> ss23, you should try a bug tracker with no listing feature :)
442: [09:37:00] <ss23> popeshoe: +++
443: [09:37:00] <klastok> thnx simon_w :)
444: [09:46:00] * g4b0 has joined #silverstripe
445: [09:47:00] * DigNZ has joined #silverstripe
446: [09:47:00] <g4b0> morning
447: [09:48:00] <g4b0> Is there a way to enable a sort of rollback for publishing/unpublishing pages?
448: [09:48:00] <g4b0> the problem occours in large SiteTree
449: [09:49:00] <g4b0> and also their chidren are unpublished recursively
450: [09:49:00] <g4b0> when I unpublish a node all of its children are unpublished
451: [09:50:00] <g4b0> I do like to restore the situation when the father is re-published
452: [09:50:00] <g4b0> is it possible?
453: [09:51:00] * DigNZ quit (Client Quit)
454: [10:20:00] * feejin has joined #silverstripe
455: [10:26:00] * lx-berlin has joined #silverstripe
456: [10:29:00] <klastok> when I add it do a widgetarea of a page
457: [10:29:00] <klastok> the page is not found
458: [10:29:00] <klastok> the widget.php http://pastebin.com/z7aju4ik
459: [10:29:00] <klastok> I have a simple text widget for ss 3.0.4
460: [10:29:00] <klastok> anyone can help me with this?
461: [10:30:00] <klastok> and the errorlog http://pastebin.com/6y2JD9a6
462: [10:42:00] <klastok> any suggestions?
463: [11:17:00] * r3v3rb has joined #silverstripe
464: [11:27:00] <kinglozzer> Hmm. In 3.1b2 (pulled from Git, I know it's not ready yet) I'm getting tonnes of notices caused by TreeBuilder (property of non-object). Anything I can do to get rid of them, besides take it out of dev mode?
465: [11:27:00] * Friksel has joined #silverstripe
466: [11:31:00] <Friksel> Hi there, Once in a while when I flush Silverstripe sites it askes me to login in. Whatever I try, the right login never works. The username and password work on the CMS, but not with flushing.... aaaagh! :( Then I tried putting security::setDefaultAdmin in the _config.php file, but that doesn't work either. I also tried putting the site in DEV-mode by passing the URL parameter, but it's not working either... Anyone?
467: [11:36:00] * Liquide quit (Ping timeout: 255 seconds)
468: [11:38:00] <Friksel> yes, it works when I put the site in DEV-mode from within the _config.php file!
469: [11:42:00] * Liquide has joined #silverstripe
470: [11:50:00] * Friksel quit (Ping timeout: 245 seconds)
471: [11:59:00] <MysteriousWombat> think I've had a similar issue, I think it was just the browser caching something.
472: [12:00:00] * peter_ss quit (Quit: Leaving.)
473: [12:06:00] * MysteriousWombat quit (Quit: Page closed)
474: [12:07:00] * ajshort quit (Quit: Leaving)
475: [12:16:00] * ARNHOFF has joined #silverstripe
476: [12:29:00] * lobarvaz has joined #silverstripe
477: [12:48:00] * ARNHOFF quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
478: [12:56:00] * Waltergrad has joined #silverstripe
479: [13:05:00] * Colin[pi] quit (Ping timeout: 256 seconds)
480: [13:05:00] * UndefinedOffset has joined #silverstripe
481: [13:16:00] * Error404NotFound quit (Ping timeout: 252 seconds)
482: [13:18:00] * peter_ss has joined #silverstripe
483: [13:29:00] * Error404NotFound has joined #silverstripe
484: [13:32:00] * feejin quit (Remote host closed the connection)
485: [13:51:00] <kinglozzer> Just thought I'd bring it to your attention while we try to work out what's going on, just in case :)
486: [13:51:00] <kinglozzer> chillu, simon_w, simon_w|air: Potentially important - my colleague just did a blank install of 3.0.4 and can't delete pages - Action "delete" not allowed on controller (class: CMSPageEditController)
487: [13:53:00] * feejin has joined #silverstripe
488: [13:53:00] <kinglozzer> PigeonFriend: In the last 2 hours?
489: [13:53:00] <PigeonFriend> kinglozzer: I think that is fixed now...
490: [13:57:00] <r3v3rb> right paypal and ipn to play with now :D
491: [13:58:00] * priithansen quit (Quit: priithansen)
492: [13:58:00] <feejin> I'm getting the same problem as kinglozzer in a version of 3.0.4 I just downloaded a few minutes ago
493: [13:58:00] <PigeonFriend> kinglozzer: No, in a newer version of SS
494: [13:58:00] <kinglozzer> PigeonFriend: 3.0.4 is the most recent stable version
495: [13:59:00] <kinglozzer> PigeonFriend: That's not much use when people only use stable versions!
496: [13:59:00] <kinglozzer> chillu, MattSS, simon_w, simon_w|air: Guys? Unless we're doing something wrong, we have a bit of a problem here
497: [13:59:00] <feejin> delete, revert, deletefromlive and others aren't allowed actions in CMSMain so it's returning a 403 and doing nothing
498: [13:59:00] <PigeonFriend> kinglozzer: and it was fixed in a non-stable version...
499: [14:00:00] <PigeonFriend> * kinglozzer: https://github.com/silverstripe/sapphire/commit/14dcc82e76f37aa733f4f35e16bfcb20fb7cbb68
500: [14:00:00] <PigeonFriend> "This bug was introduced with the new nested CMS actions around December 2012"
501: [14:00:00] * priithansen has joined #silverstripe
502: [14:00:00] <PigeonFriend> kinglozzerhttps://github.com/silverstripe/sapphire/commit/14dcc82e76f37aa733f4f35e16bfcb20fb7cbb68
503: [14:01:00] <feejin> That may be PigeonFriend, but right now with a clean install of 3.0.4 stable, I can't delete pages in the CMS.
504: [14:02:00] * ARNHOFF has joined #silverstripe
505: [14:03:00] <PigeonFriend> I'm sorry guys, I'm not trying to be unhelpful but it's a bug. that simple. so don't upgrade to 3.0.4. if you're not going to use an "unstable" version, then stick to 3.0.3
506: [14:04:00] <kinglozzer> Just trying to bring it to their attention
507: [14:04:00] <PigeonFriend> kinglozzer: there is nothing you can do about it now. it's on 3.0.4 and that bug is there. realistically, it's wait for next stable and upgrade again, or downgrade now
508: [14:04:00] <kinglozzer> And everyone else who is now in the process of upgrading?
509: [14:04:00] <ec8or> PigeonFriend: got it, thanks
510: [14:04:00] <ec8or> does the search form insert a "Search" value in the input box automatically?
511: [14:04:00] <kinglozzer> PigeonFriend: What about all the sites we've just upgraded to 3.0.4? It takes considerable time to downgrade them all again.
512: [14:04:00] <PigeonFriend> ec8or: yes
513: [14:05:00] <feejin> Thanks. Guess that http://www.silverstripe.org/stable-download/ is a deceptive URL for releases then :/
514: [14:05:00] <PigeonFriend> kinglozzer: sure, and that is great. I raised it the other day and that's why it's now patched. not sure thye know it's in 3.0.4 but go to trac and open an urgent ticket if they don't know
515: [14:06:00] <kinglozzer> PigeonFriend: I think you're talking about a completely different bug
516: [14:06:00] <PigeonFriend> feejin: it is for this release ;)
517: [14:07:00] * Error404NotFound quit (Ping timeout: 244 seconds)
518: [14:07:00] <PigeonFriend> kinglozzer: maybe. but anyway, I agree, it's totally not cool it's in the stable and it does need to be sorted. But I'm trying to let you know you need to downgrade or wait.
519: [14:08:00] <kinglozzer> PigeonFriend: I understand that, but it's important for them to let other developers know if that is indeed the case. Some may have upgraded, like we did, and be completely unaware that the bug exists
520: [14:09:00] <kinglozzer> PigeonFriend: By hand
521: [14:09:00] <PigeonFriend> kinglozzer: agreed. Do you upgrade by hand, or using SVN/Git/Composer?
522: [14:10:00] <PigeonFriend> kinglozzer: ouches
523: [14:11:00] * Waltergrad quit (Ping timeout: 245 seconds)
524: [14:11:00] <PigeonFriend> kinglozzer: with no testing or integration environment before hand?
525: [14:13:00] <PigeonFriend> feejin: yer, understandable
526: [14:13:00] <feejin> we tested that the site still worked before upgrading the live version but didn't think to try deleting a page. only found the issue because i've just started a brand new site.
527: [14:14:00] <PigeonFriend> feejin: I'm not saying it's your fault, don't get me wrong, it's not really acceptable that 'stable' software doesn't meet it's core requirments, just interested really.
528: [14:15:00] * priithansen quit (Quit: priithansen)
529: [14:16:00] * priithansen has joined #silverstripe
530: [14:20:00] * Error404NotFound has joined #silverstripe
531: [14:21:00] <UndefinedOffset> I just tired this in 3.0.4 and it is present, simple fix for those sites that you updated feejin is to manually apply the patch PigeonFriend mentioned above. That addressed the issue for me
532: [14:22:00] <kinglozzer> Okay thanks UndefinedOffset, sorry PigeonFriend you were right!
533: [14:22:00] <UndefinedOffset> has anyone spotted/submitted a ticket in Trac about this?
534: [14:23:00] <kinglozzer> UndefinedOffset: Just been looking, can't find one yet
535: [14:24:00] <UndefinedOffset> :)
536: [14:24:00] <chillu> kinglozzer: On it.
537: [14:25:00] <kinglozzer> Thanks chillu
538: [14:26:00] <feejin> UndefinedOffset just tried it, fixes it here too
539: [14:26:00] <PigeonFriend> is anyone getting an issue where the group(s) being selected for a new user doesn't get written?
540: [14:27:00] <feejin> The notifications don't work in 3.0.4 though - TypeError: $ is not a function - line 966 LeftAndMain.js
541: [14:28:00] <feejin> I'm retreating to the safety of 3.0.3 :)
542: [14:30:00] <chillu> And that, boys and girls, is why we should *always* make a release candidate ;)
543: [14:30:00] * LupineWork has joined #silverstripe
544: [14:30:00] <chillu> I don't know what's worse: That I missed this bug, or that I had already fixed it in 3.1 (thinking its 3.1 only) - https://github.com/silverstripe/sapphire/commit/14dcc82e76f37aa733f4f35e16bfcb20fb7cbb68
545: [14:30:00] <feejin> Hehe, you win some you lose some
546: [14:31:00] <UndefinedOffset> lol
547: [14:32:00] <PigeonFriend> UndefinedOffset: hmm ok, i'm using 3.1
548: [14:32:00] <PigeonFriend> chillu: any ideas on that? Has ListboxField seen work or UnsavedRelationField... When I Debug::show() on the write() method, no items are in the UnsavedRelationList
549: [14:32:00] <chillu> Hm, to 3.0.5-rc1 or not to 3.0.5-rc1 ;)
550: [14:32:00] <chillu> PigeonFriend: No worries, I should've checked
551: [14:32:00] <UndefinedOffset> PigeonFriend adding groups for a user seem to be writing for me (3.0.4)
552: [14:32:00] <PigeonFriend> chillu: I did allude to it being only 3.1 :/ sorry
553: [14:32:00] <PigeonFriend> ok
554: [14:32:00] <PigeonFriend> hmm
555: [14:33:00] <PigeonFriend> chillu: you need to get a stable fix out now
556: [14:33:00] <chillu> @all: Any other *critical* bugs you noticed with 3.0.4?
557: [14:33:00] <LupineWork> Hello there. It has come to my attention that emails don't appear on the Comments viewer of the Admin panel. Either on Approved Comments or Awaiting Moderation ones, I see the comment but Email Address is empty, even though I put one every time I made a test comment. Any ideas on where to start looking?
558: [14:33:00] <PigeonFriend> so no rc
559: [14:34:00] <kinglozzer> ^^
560: [14:34:00] <UndefinedOffset> ya
561: [14:34:00] <kinglozzer> UndefinedOffset: I saw that too, about date format?
562: [14:34:00] <UndefinedOffset> I am spotting something else in the security section in 3.0.4, trying to see if the issue is related to the enviroment or an actual bug... one sec i screenshot
563: [14:34:00] <kinglozzer> chillu: There are some other bugs present as feejin mentioned, r.e. notifications causing JS errors but I don't know if those are 'critical'
564: [14:34:00] <PigeonFriend> chillu: that $ error feejin just mentioned? I saw a pull request go in recently to fix that
565: [14:34:00] <chillu> PigeonFriend: Are you asking if ListboxField works with UnsavedRelationField? Haven't tried, sorry
566: [14:35:00] <feejin> I only spotted it because I was checking console for info on the other bug. It's not really breaking anything.
567: [14:35:00] <UndefinedOffset> :) if you refresh it goes normal but doesn't function
568: [14:35:00] <PigeonFriend> chillu: more that UndefinedOffset says it works in 3.0.4 and I say it doesnt in 3.1.. so wondering it there's been work done that could be worth me investigating
569: [14:35:00] <UndefinedOffset> http://dev.webbuildingcms.com/SilverStripe-Security_20130219_103430.png
570: [14:36:00] <PigeonFriend> chillu: i think this is the fix: https://github.com/silverstripe/sapphire/commit/396af557df200c078d91c4649e465a87ef3413ce
571: [14:36:00] <chillu> UndefinedOffset: You mean that the formats aren't hidden? Ugly, yes - critical, no. Fixed in 3.1, happy to accept PRs for 3.0
572: [14:37:00] <UndefinedOffset> chillu ya for sure ;) i'll see what I can do
573: [14:39:00] <UndefinedOffset> only other issue i spotted was the notifications being broken, for example saveing settings produces a js error "TypeError: $ is not a function LeftAndMain.js line 966", though not really that critical
574: [14:39:00] <PigeonFriend> chillu: found it. Either UnsavedRelationList needs to extend RelationList
575: [14:40:00] <PigeonFriend> or ListboxField::saveInto() needs to add $relation instanceof UnsavedRelationList
576: [14:44:00] <UndefinedOffset> looks like this patch fixes the notifications https://github.com/silverstripe/sapphire/commit/396af557df200c078d91c4649e465a87ef3413ce
577: [14:47:00] <chillu> https://github.com/silverstripe/sapphire/commits/3.0.5 - cherrypicked the two fixes we talked about
578: [14:47:00] <UndefinedOffset> chillu want me to include the same tweak in a pull request?
579: [14:47:00] <chillu> I've pushed a 3.0.5 branch alreayd
580: [14:48:00] <UndefinedOffset> ah nice
581: [14:48:00] <PigeonFriend> chillu: brill
582: [14:48:00] <PigeonFriend> chillu: any thoughts on UnsavedRelationList extending RelationList instead of ArrayList?
583: [14:49:00] <travis-ci> [travis-ci] silverstripe/sapphire#1455 (3.0.5 - 55568f7 : roed): The build passed.
584: [14:49:00] <PigeonFriend> ok
585: [14:49:00] <chillu> No, we can't do that - it would inherit many APIs that don't make sense in this context
586: [14:49:00] <PigeonFriend> i'll send you a pull request in a sec to fix this bug
587: [14:49:00] * travis-ci has joined #silverstripe
588: [14:49:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/95888137f019^...55568f7b049c
589: [14:49:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4903970
590: [14:49:00] * travis-ci has left #silverstripe
591: [14:50:00] <UndefinedOffset> gonna put together a simple fix for that custom formatting issue on the dates
592: [14:50:00] <chillu> So yeah, a duplicated instanceof check is better in this case
593: [14:50:00] <UndefinedOffset> chillu if i fix it want me to commit to 3.0.5 branch or just the 3.0 branch?
594: [14:51:00] <chillu> 3.0 - we'll keep the 3.0.5 release to minimum required, critical changes
595: [14:51:00] <UndefinedOffset> ok cool will do
596: [14:51:00] * Shrike_Finland quit (Quit: Leaving.)
597: [14:55:00] <PigeonFriend> ;)
598: [14:55:00] <PigeonFriend> chillu: Is this buggy code designed to encourage more people to contribute? I think I've quadrupled the number of contributions I've ever made in the last week!
599: [14:55:00] * travis-ci has joined #silverstripe
600: [14:55:00] <travis-ci> [travis-ci] silverstripe/sapphire#1456 (3.0.5 - 9e7c622 : roed): The build failed.
601: [14:55:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/55568f7b049c...9e7c622abe28
602: [14:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4904076
603: [14:55:00] * travis-ci has left #silverstripe
604: [14:56:00] <chillu> PigeonFriend: Haha, damn you discovered our master plan *pats his white cat*
605: [14:56:00] <UndefinedOffset> lol
606: [14:59:00] <PigeonFriend> chillu: patch in there for the UnsavedRelationList https://github.com/silverstripe/sapphire/pull/1204
607: [14:59:00] <LupineWork> Hello there. Quick question for you lot: A few clients mentioned that emails don't appear on the Comments viewer of the Admin panel. Either on Approved Comments or Awaiting Moderation ones, I see the comment but Email Address is empty, even though I put one every time I made a test comment. Any ideas on where to start looking?
608: [14:59:00] <chillu> Indicentally, the UnsavedRelationList was also a community contribution, which failed to also fix the ListboxField usage :)
609: [15:00:00] <PigeonFriend> UnsavedRelationList is a f***ing brilliant idea, in my mind
610: [15:00:00] <PigeonFriend> I was literally about to write in until I decided to search for 'unsaved' on DataObject and saw it :P
611: [15:09:00] <priithansen> images in has_many is not supported right? i forgot
612: [15:10:00] <feejin> should be
613: [15:11:00] <priithansen> one page has_many images
614: [15:11:00] <PigeonFriend> priithansen: in UnsavedRelation?
615: [15:12:00] <priithansen> I kind vaguely remember that one of the relations was not meant to be used with images
616: [15:18:00] <kinglozzer> priithansen: Yep. You have to use $many_many
617: [15:18:00] <PigeonFriend> kinglozzer: is that the case :S I never recall that being an issue..
618: [15:19:00] <kinglozzer> PigeonFriend: Yeah, $has_many usually errors out. It sometimes works, but then images disappear and reappear at random. Something to do with the fact that it would need a $has_one on the Image end, when you can't do that without editing the Image class
619: [15:20:00] <priithansen> kinglozzer: thanks for the info
620: [15:21:00] <kinglozzer> PigeonFriend: Yeah you can do, but it's apparently "frowned upon"
621: [15:21:00] <PigeonFriend> kinglozzer: decorate Image ?!!? surely...
622: [15:21:00] <kinglozzer> As is extending it
623: [15:22:00] <PigeonFriend> kinglozzer: extending isn't so much fround upon as stupid
624: [15:22:00] <kinglozzer> http://doc.silverstripe.org/framework/en/reference/uploadfield#multiple-fileupload
625: [15:23:00] <kinglozzer> PigeonFriend, priithansen: To quote UncleCheese: Using an UploadField to manage a $has_many relation is a bad idea, IMO, because it precludes you from using existing files. If one UploadField selects a file that is already in use on another UploadField, you've now broken the previous relationship without even knowing it.
626: [15:24:00] <PigeonFriend> i did it a few times when i was an SS newb and the problem is core expects images to be an Image class. So if you the core does DataObject::get('Image') and you have MyExtendedImage, it won't be returned
627: [15:24:00] <priithansen> seems to make sense :)
628: [15:26:00] <PigeonFriend> kinglozzer: but that link to the docs is a very good reason not to use has_many :P
629: [15:28:00] * catcher has joined #silverstripe
630: [15:29:00] * LupineWork quit (Quit: Page closed)
631: [15:37:00] <feejin> I can confirm that using has_many on images can balls things up if you try to reuse existing images. At least that's what I heard???
632: [15:38:00] <PigeonFriend> feejin: well, that's to be expected. if you assign the same image to a new relation, you'll lose the old one. so for that reason, it's better to many_many it
633: [15:39:00] <feejin> It's a lesson in why I shouldn't code with wine while watching TV.
634: [15:39:00] <feejin> I should hasten to add it wasn't client work. I don't drink during client work :)
635: [15:42:00] <PigeonFriend> feejin: how do you stay sane, then?
636: [15:42:00] <feejin> Tea. ALL the tea.
637: [15:43:00] <UndefinedOffset> chillu there after much back and forth with js I seem to have convinced the custom date/custom time formatting help to function correctly https://github.com/silverstripe/sapphire/pull/1205
638: [15:46:00] <priithansen> Any ideas how to make upload field always save and retrieve from the pages main translation? It doesn't want to take anything besides the relation name in the parameters and I'm running out of ideas
639: [15:48:00] <PigeonFriend> priithansen: is there a relationautosetting you can turn off and manually define
640: [15:49:00] <PigeonFriend> but not sure about image fields actially.. that was CTG
641: [15:49:00] <PigeonFriend> that's how it used to work in 2.x i think
642: [15:49:00] <PigeonFriend> you could set source field and source ID
643: [15:49:00] <PigeonFriend> *CTF
644: [15:49:00] <priithansen> image field seems extra picky
645: [15:51:00] * Mento has joined #silverstripe
646: [15:51:00] <PigeonFriend> does anyone here think that it'd be nice to have a validate function for SiteTree objects that dictates if a page can be published or not?
647: [15:52:00] <Mento> hey guys, whats to proper way to link to an page ID in a template? Such as: mywebsite.com/?id=12 but that aint working ;p
648: [15:53:00] <UndefinedOffset> Mento, you really shouldn't need to link to a page id... what are you trying to do exactly?
649: [15:53:00] <Mento> withing a facebook app
650: [15:53:00] <UndefinedOffset> Mento I think, not sure... But you should be able to use $Link instead of $ID
651: [15:53:00] <Mento> hard coded links to translated pages
652: [15:54:00] <PigeonFriend> Mento: yes, $Link, not $ID. If you want to access pages by ID, you need to create your own handler for that
653: [15:54:00] <UndefinedOffset> haven't done much work using the translatable module
654: [16:00:00] * Kapdap quit (Ping timeout: 246 seconds)
655: [16:03:00] * Kapdap has joined #silverstripe
656: [16:05:00] * travis-ci has joined #silverstripe
657: [16:05:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/4905618
658: [16:05:00] <travis-ci> [travis-ci] chillu/sapphire#61 (pulls/requirements-parseargs - 391a6ac : Ingo Schommer): The build failed.
659: [16:05:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/16d0c188ee1f^...391a6ac9adc7
660: [16:05:00] * travis-ci has left #silverstripe
661: [16:05:00] <Mento> Well... yes ofcourse... logic ... i needs some rest, haha!
662: [16:06:00] <Mento> It was a static page, with hardcoded links to the different pages... i'm going to make some SiteTreeDropdownFields for the links instead... that way the links will automatically redirect to the translated pages
663: [16:07:00] * Mento slaps Mento around a bit with a large trout
664: [16:15:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
665: [16:20:00] * Mento quit ()
666: [16:24:00] <WillM> in exchange i have a nice module to add :)
667: [16:24:00] * WillM has joined #silverstripe
668: [16:24:00] <WillM> anyone here got a nice way of subscribing to CMS save events?
669: [16:25:00] <WillM> https://dl.dropbox.com/u/4215179/clips/2013-02-19_16-25-21.png
670: [16:25:00] * r3v3rb quit (Quit: r3v3rb)
671: [16:27:00] <PigeonFriend> WillM: just kidding, i love you brah
672: [16:27:00] <PigeonFriend> WillM: no! leave us alone!
673: [16:28:00] * WillM puts away lube
674: [16:28:00] <UndefinedOffset> WillM couldn't you also subscribe to the marker's drop event? {looks into maps api docs}
675: [16:28:00] <PigeonFriend> WillM: http://doc.silverstripe.com/framework/en/topics/javascript#jquery-plugins
676: [16:29:00] <WillM> so it's not doing anything drastically different
677: [16:29:00] <WillM> i'm digging through the cms javascript now
678: [16:29:00] <WillM> but it already does something like that
679: [16:29:00] <WillM> when the marker is changed, or the map location is changed (you can also search), it updates 2 hidden fields
680: [16:30:00] <WillM> PigeonFriend: linking me how to make jquery plugins? what do you take me for?
681: [16:30:00] <UndefinedOffset> ah ok
682: [16:30:00] <WillM> :-P
683: [16:32:00] <UndefinedOffset> PigeonFriend looks like these docs are out of date, Behaviour is dead :)
684: [16:32:00] <PigeonFriend> WillM: I want that field so bad!
685: [16:32:00] <PigeonFriend> WillM: http://doc.silverstripe.com/framework/en/3.1/topics/javascript#javascript-cms
686: [16:32:00] <WillM> thanks babe
687: [16:32:00] <WillM> only that's using Behaviour
688: [16:33:00] <WillM> indeed
689: [16:33:00] <UndefinedOffset> entwine that is*
690: [16:33:00] <UndefinedOffset> yep :), soo much better lol
691: [16:33:00] <kinglozzer> I did a similar module :)
692: [16:33:00] <WillM> I would be less shit at this if I knew how entwine worked :)
693: [16:33:00] <kinglozzer> WillM, UndefinedOffset: Yeah you'll need to use entwine
694: [16:34:00] <kinglozzer> WillM: https://github.com/kinglozzer/SilverStripe-GMapsPage/blob/master/javascript/jsInit.js That's my JS if it helps at all
695: [16:34:00] <kinglozzer> I'm only using a tiny bit of entwine though :P
696: [16:34:00] <WillM> ah! that fixes one other thing I'm trying to do, which is re-init
697: [16:34:00] <PigeonFriend> are there no docs on entwine and the cms?!
698: [16:34:00] <PigeonFriend> what events to hook into and how?!
699: [16:35:00] <WillM> the next thing I want to do is mark the form as changed if the marker is moved
700: [16:35:00] <WillM> :)
701: [16:35:00] <WillM> docs or gtfo Dan
702: [16:35:00] <PigeonFriend> wtf?
703: [16:36:00] <kinglozzer> Not sure on that
704: [16:36:00] <UndefinedOffset> entwine is largely undocumented, I believe they're being written (last I heard) its a complex thing https://github.com/hafriedlander/jquery.entwine
705: [16:36:00] <WillM> kinglozzer: yeah, for 3.1.
706: [16:36:00] <WillM> UndefinedOffset: I'm on github now, cheers dude
707: [16:36:00] <kinglozzer> WillM: For 3.1?
708: [16:37:00] <PigeonFriend> WillM: all i can say is read something like this: framework/javascript/TreeDropdownField.js and then see what you can do
709: [16:38:00] <UndefinedOffset> WillM change tracking in the cms is done with jquery.changetracker so that could also be a start point :)
710: [16:38:00] <WillM> i also looked for changetracker within the CMS module, not a lot matched
711: [16:39:00] <PigeonFriend> WillM: all the cms stuff is in framework
712: [16:39:00] <UndefinedOffset> its setup in framework/admin/javascript/LeftAndMain.EditForm.js
713: [16:39:00] <PigeonFriend> just to fuck with you
714: [16:39:00] <WillM> confirming i have been fucked with
715: [16:39:00] <PigeonFriend> when they said that they were decoupling CMS, they were just joking
716: [16:39:00] <UndefinedOffset> lol
717: [16:39:00] <WillM> darn my naivety
718: [16:39:00] <UndefinedOffset> well they decoupled CMSMain and decendents :P lol and SiteTree
719: [16:40:00] * feejin quit (Remote host closed the connection)
720: [16:40:00] <PigeonFriend> UndefinedOffset: thank god!
721: [16:41:00] <UndefinedOffset> lol
722: [16:41:00] <WillM> it's nice to know there's someone else out there resisting the Americanisation of the word "initialise" :)
723: [16:44:00] <WillM> UndefinedOffset PigeonFriend kinglozzer: here's what it looks like at the moment: http://pastebin.com/hfTXc3N5
724: [16:44:00] * ddelacru has joined #silverstripe
725: [16:44:00] <WillM> excuse the sparse commenting, I don't bother now to rage Pigeon out
726: [16:45:00] <WillM> lines 8-10 and 40 are where i'm going wrong
727: [16:45:00] <WillM> job done
728: [16:45:00] <PigeonFriend> you need more entWINE
729: [16:45:00] <PigeonFriend> WillM: why no gist
730: [16:45:00] * PigeonFriend RAGE
731: [16:45:00] * peter_ss has left #silverstripe
732: [16:46:00] <WillM> :sigh:
733: [16:46:00] <WillM> https://gist.github.com/willmorgan/46f4981b0fd53b252d72
734: [16:46:00] <PigeonFriend> lol @line 40
735: [16:47:00] * robert_ has joined #silverstripe
736: [16:47:00] * ss23 quit (Ping timeout: 245 seconds)
737: [16:48:00] <WillM> oh, so the hidden fields seem to do change detection
738: [16:48:00] <WillM> so that's pretty sweet
739: [16:48:00] <WillM> only other thing I need to do now is handling pjax
740: [16:48:00] * ddelacru quit (Ping timeout: 245 seconds)
741: [16:49:00] * Kapdap quit (Ping timeout: 256 seconds)
742: [16:51:00] <PigeonFriend> yay
743: [16:53:00] * klastok quit ()
744: [16:54:00] * robert_ quit (Ping timeout: 256 seconds)
745: [17:01:00] * g4b0 quit (Remote host closed the connection)
746: [17:15:00] * Kapdap has joined #silverstripe
747: [17:18:00] * ss23 has joined #silverstripe
748: [17:21:00] * kinglozzer quit (Remote host closed the connection)
749: [17:41:00] * tgfisher has joined #silverstripe
750: [17:43:00] <priithansen> Finally got the many many images to always relate to master lang page with help from a little lesser known translatable data objects plugin http://www.sspaste.com/paste/show/5123b911a6607
751: [18:02:00] <WillM> PigeonFriend UndefinedOffset: I added the module to github: https://github.com/willmorgan/googlemapfield
752: [18:02:00] <WillM> HTH!
753: [18:02:00] <PigeonFriend> WillM: whoop. just now you need to add tests, documentation, and entwine properly :)
754: [18:02:00] * lobarvaz has left #silverstripe
755: [18:03:00] <WillM> pull request or stfu <3
756: [18:03:00] <WillM> to be honest, I'll probably never get around to it
757: [18:07:00] * WillM quit (Quit: Ciao mateys.)
758: [18:25:00] * lx-berlin has left #silverstripe
759: [18:50:00] <catcher> Anyone else unable to unpublish/delete pages in 3.0.4 with an admin acct?
760: [18:54:00] <simon_w> https://groups.google.com/d/topic/silverstripe-dev/GIcrasMqcUE/discussion
761: [18:55:00] <catcher> cool, thanks simon_w
762: [19:04:00] * Kapdap quit (Quit: leaving)
763: [19:06:00] * gelignite has joined #silverstripe
764: [19:18:00] * SightUnseen has joined #silverstripe
765: [19:18:00] * SightUnseen has left #silverstripe
766: [19:23:00] * Kapdap has joined #silverstripe
767: [19:39:00] * helenclarko has joined #silverstripe
768: [19:39:00] * r3v3rb has joined #silverstripe
769: [19:46:00] <helenclarko> Hi all, Is there a limit on the "content" amount for a page?
770: [19:48:00] <simon_w> Usually just the database row size limit
771: [19:48:00] <catcher> helenclarko, I think that'd depend on the DB.
772: [19:49:00] <catcher> helenclarko, default mysql install uses mediumtext, which looks like 16,777,215 bytes
773: [19:49:00] * DigNZ has joined #silverstripe
774: [19:49:00] * DigNZ quit (Remote host closed the connection)
775: [19:49:00] <UndefinedOffset> ya thats what i was just about to say
776: [19:49:00] * DigNZ has joined #silverstripe
777: [19:50:00] <catcher> Anyone know what needs to happen to get atom RSS data with RestfulService? Working with other types of feeds, but having issues with atom.
778: [19:52:00] <simon_w> It's malformed XML?
779: [19:54:00] <catcher> it's generated by blogspot, seems fine.. ->request->getBody() looks good, but getValues is coming back null.
780: [19:55:00] <helenclarko> Right
781: [19:55:00] <helenclarko> That may explain my issue
782: [19:56:00] <helenclarko> The reason I ask is because I seem to have reached a limit on my Testimonials page. For example, Whenever I dropdown my list of Testimonials I can read about 19 separate Testimonials, but the 20th is cut-off half way.
783: [19:57:00] <catcher> helenclarko, probably quickest to crack open your db and look at the contents of the field.
784: [19:58:00] <helenclarko> Ill do that.
785: [19:59:00] * Pyromanik has joined #silverstripe
786: [19:59:00] <helenclarko> Im sure its all there, I can see it should be there when I open up "inspect element" in Firefox. Its just not being displayed correctly.
787: [20:00:00] * SightUnseen has joined #silverstripe
788: [20:01:00] <FrozenFire> Apparently selecting the column and setting it to a text column during import is too much work.
789: [20:01:00] <FrozenFire> Client wants a hack to preserve leading zeroes on their import of a CSV into Excel
790: [20:01:00] <FrozenFire> Transforming a column on ModelAdmin CSV export. Howto?
791: [20:01:00] * SightUnseen has left #silverstripe
792: [20:01:00] <helenclarko> Like if I remove a testimonial, Ill be able to see all of the 20th one.
793: [20:05:00] <FrozenFire> Hrmm, guess I'm going to add a getter to the object
794: [20:05:00] <simon_w> helenclarko, parent element with a max-height?
795: [20:06:00] <simon_w> FrozenFire, shoot the client?
796: [20:07:00] <FrozenFire> It's a ZipCode
797: [20:07:00] <FrozenFire> But Excel (and all other spreadsheeting applications) will discard leading zeroes in a CSV import.
798: [20:07:00] <Pyromanik> I f'n laugh every time I see that stupid word
799: [20:07:00] <FrozenFire> Pyromanik, I do.
800: [20:07:00] <FrozenFire> They're all Americans from the deep south, and I'm a liberal Canadian.
801: [20:07:00] <FrozenFire> They have more guns per capita.
802: [20:07:00] <FrozenFire> :P
803: [20:07:00] <Pyromanik> FrozenFire: wouldn't preserving leading zeros mean you need to preserve them in db too?
804: [20:07:00] <Pyromanik> I see
805: [20:08:00] <Pyromanik> because
806: [20:08:00] <Pyromanik> every. single. time.
807: [20:08:00] <Pyromanik> http://www.jdbbank.com/image/inpage/services8/zipzap.jpg
808: [20:08:00] <Pyromanik> zip code
809: [20:08:00] <Pyromanik> hahaaha
810: [20:09:00] <irogue> yes
811: [20:09:00] <irogue> very yes
812: [20:09:00] <Pyromanik> for what, so far as I can tell, exactly equivilates to a 'post code'.
813: [20:09:00] <Pyromanik> which makes FAR more sense.
814: [20:10:00] <Pyromanik> also
815: [20:10:00] <Pyromanik> oic
816: [20:10:00] <Pyromanik> I doubt it :<
817: [20:10:00] <FrozenFire> Zone Improvement Plan is what ZIP stands for
818: [20:10:00] <Pyromanik> FrozenFire: exactly. So why not call them postal codes? I just don't get it.
819: [20:10:00] <Pyromanik> http://www.zipindustries.com/
820: [20:10:00] <FrozenFire> Is there a trivial way to enable a search form in SecurityAdmin?
821: [20:10:00] <FrozenFire> Yeah, they're postal codes.
822: [20:11:00] <Pyromanik> we redid our post codes about 5 years back
823: [20:11:00] <Pyromanik> "light commercial"
824: [20:11:00] <FrozenFire> XD
825: [20:11:00] <Pyromanik> post codes.
826: [20:11:00] <FrozenFire> I have a database of them
827: [20:11:00] <FrozenFire> It's from the USPS
828: [20:11:00] <Pyromanik> how does it improve the zone?
829: [20:11:00] <FrozenFire> They probably had a shitty mailing zoning system
830: [20:11:00] <Pyromanik> xD
831: [20:11:00] <Pyromanik> yeh
832: [20:11:00] <FrozenFire> So they improved it.
833: [20:11:00] <Pyromanik> you know what we changed the name to?
834: [20:11:00] <Pyromanik> from: post codes.
835: [20:11:00] <FrozenFire> We really *need* to improve ours.
836: [20:11:00] <FrozenFire> Thus, ZIP
837: [20:12:00] <Pyromanik> well, for the most part
838: [20:12:00] <simon_w> Pyromanik, still is
839: [20:12:00] <FrozenFire> It's 42MB
840: [20:12:00] <irogue> yeah but they weren't actually any good for sorting
841: [20:12:00] <Pyromanik> and they started at 0 in the far north
842: [20:12:00] <irogue> e.g. the entire Hamilton was 2001
843: [20:12:00] <Pyromanik> and went to 9 in the far south
844: [20:12:00] <Pyromanik> irogue: I know.
845: [20:12:00] <Pyromanik> simon_w: Not exactly.
846: [20:12:00] <simon_w> FrozenFire, updateEditForm hook for a decorator, then pick the gridfield
847: [20:12:00] <Pyromanik> Ours used to be super logical
848: [20:12:00] <Pyromanik> every 1000 was a major city
849: [20:13:00] <simon_w> Probably because the lobby's in Auckland
850: [20:13:00] <simon_w> 0 at for above Auckland, 1 for Auckland, etc
851: [20:13:00] <irogue> yup
852: [20:13:00] <Pyromanik> eg you can get a 1200 which is actually above Auckland
853: [20:13:00] <Pyromanik> they're still roughly equiv, but they don't strictly cascade north -> south anymore
854: [20:13:00] <Pyromanik> probably
855: [20:14:00] <irogue> Pyromanik: everything street addy was 2001
856: [20:14:00] <irogue> there is some overlap
857: [20:14:00] <Pyromanik> nah
858: [20:14:00] <irogue> PO Boxes were different
859: [20:14:00] <Pyromanik> and 2001 wasn't ALL of hamilton irogue
860: [20:14:00] <irogue> http://www.nzpost.co.nz/sites/default/files/uploads/shared/postcodemaps/national-postcode-map-index.pdf
861: [20:14:00] <simon_w> IIRC 2s are some sort of PO box
862: [20:14:00] <Pyromanik> but that's what I mean, it used to go straight down country
863: [20:15:00] <irogue> Pyromanik: that's just areas, not first digit of code
864: [20:15:00] <Pyromanik> 2001 is the main sort centre in the middle of the city
865: [20:15:00] <simon_w> Pyromanik, 0-9
866: [20:15:00] <Pyromanik> was*
867: [20:15:00] <Pyromanik> oh there's a 10 now
868: [20:15:00] <Pyromanik> source, lived in Tauranga and regularly saw codes other than 3001
869: [20:15:00] <irogue> source: lived in hamilton all my life :-P
870: [20:15:00] <Pyromanik> everything was 2001 because people were lazy
871: [20:15:00] <irogue> well, every address i *ever* lookd up was 2001
872: [20:15:00] <Pyromanik> o.0
873: [20:15:00] <Pyromanik> heh
874: [20:16:00] <Pyromanik> computer counting
875: [20:16:00] <Pyromanik> oh yeah
876: [20:16:00] <Pyromanik> right
877: [20:16:00] <Pyromanik> THE LOGICAL KIND
878: [20:17:00] <irogue> hamilton still only has 4 codes though for street addresses, lol
879: [20:17:00] <irogue> and by middle i mean main sorting centre
880: [20:17:00] <FrozenFire> Do I have to construct that form manually?
881: [20:17:00] <irogue> within each area they cascade out from the middle
882: [20:17:00] <FrozenFire> simon_w, Not sure what you mean, regarding the Security search form
883: [20:17:00] <Pyromanik> irogue: yeah, that's what I mean by it's still roughly equiv but a little more confusing now
884: [20:17:00] <Pyromanik> because you get numbers larger than 8001 higher than Christchurch
885: [20:18:00] <Pyromanik> lol
886: [20:18:00] <Pyromanik> I moved house, my post code changed by over 30, although I moved just 8.4Km away.
887: [20:18:00] <simon_w> FrozenFire, add search headers to the GridField
888: [20:18:00] <irogue> there are more assigned but they're areas that don't actually have street addresses yet :P
889: [20:19:00] <irogue> http://www.nzpost.co.nz/sites/default/files/uploads/shared/postcodemaps/hamilton-city.pdf
890: [20:19:00] <FrozenFire> simon_w, I'm talking about the same thing as other ModelAdmins have.
891: [20:19:00] <simon_w> I moved across town. My code changed by 1.
892: [20:19:00] <Pyromanik> not even that, probably just 8
893: [20:19:00] <irogue> 3200, 3204, 3206, 3210, 3214, 3216
894: [20:19:00] <FrozenFire> The search form as part of the EditForm
895: [20:19:00] <irogue> ohsnap, i lied, 6 codes
896: [20:19:00] <Pyromanik> helenclarko: you probably have some crud copied from word commenting your content
897: [20:20:00] <Pyromanik> just click the HTML button on tinyMCE
898: [20:20:00] <Pyromanik> eg leaving a closing div out of a loop or something
899: [20:20:00] <Pyromanik> helenclarko: if it's not that, then poorly formed (x)html
900: [20:20:00] <FrozenFire> Adding a GridFieldFilterHeader probably would confuse the client
901: [20:20:00] <helenclarko> Ill take a look
902: [20:21:00] <helenclarko> actually you may have a point there. I have copied alot of the testimonials from word.
903: [20:21:00] <irogue> sure its not people using old postcodes?
904: [20:21:00] <irogue> Pyromanik: i can't find any 1xxx postcodes above the harbour bridge
905: [20:22:00] <irogue> http://www.nzpost.co.nz/sites/default/files/uploads/shared/postcodemaps/rodney-district.pdf
906: [20:22:00] <helenclarko> Ill have to go through it slowly, I cant think of any other reasons its failing
907: [20:23:00] <Pyromanik> irogue: nah, old post codes for rodney were all 0s
908: [20:24:00] <spronk> we need to rename our post codes to something cooler
909: [20:24:00] <spronk> zap codes
910: [20:24:00] <Pyromanik> oh
911: [20:24:00] <irogue> just people postcoding it wrong then :P
912: [20:24:00] <Pyromanik> maybe it was that tehre are 0's IN what I would consider Auckland
913: [20:24:00] <Pyromanik> ie North Shore all 06's
914: [20:24:00] <irogue> yeah
915: [20:24:00] <irogue> ah
916: [20:24:00] <spronk> like
917: [20:25:00] <spronk> or
918: [20:25:00] <spronk> ro
919: [20:25:00] <Pyromanik> and as low as Waitakere
920: [20:25:00] <spronk> WARP DESTINATIONS
921: [20:25:00] <irogue> 1000 is just auckland itself
922: [20:25:00] <Pyromanik> and west auckland
923: [20:25:00] <Pyromanik> 06
924: [20:25:00] <Pyromanik> too
925: [20:25:00] <Pyromanik> bogans
926: [20:25:00] <irogue> everything above/west is 0xxx, south is 2xxx
927: [20:25:00] <Pyromanik> not auclanders, lol
928: [20:25:00] <Pyromanik> yeah well see that just seems a little silly to me
929: [20:25:00] <irogue> they're split by population not area
930: [20:25:00] <irogue> or rather addresses
931: [20:25:00] <Pyromanik> sif anyone lives in auckland
932: [20:25:00] <irogue> lol
933: [20:26:00] <FrozenFire> Yes.
934: [20:26:00] <FrozenFire> Blegh. That's why. SecurityAdmin extends LeftAndMain
935: [20:26:00] <FrozenFire> Yucky.
936: [20:26:00] <Pyromanik> why do you think your traffic is so terrible?
937: [20:26:00] <Pyromanik> FrozenFire: you didn't think it did?
938: [20:26:00] <FrozenFire> I thought it extended ModelAdmin, which would make more sense.
939: [20:26:00] <Pyromanik> not really
940: [20:26:00] <FrozenFire> Member is a model
941: [20:26:00] <Pyromanik> so are pages
942: [20:27:00] <Pyromanik> and 1's no longer stretch until there are 2's
943: [20:27:00] <irogue> Pyromanik: just the area with 1xxx postcodes has 1.5x the population of christchurch :-P
944: [20:27:00] <Pyromanik> anyway irogue, that'll be what it was.
945: [20:27:00] <Pyromanik> 0's inside what used to be 1's
946: [20:27:00] <FrozenFire> The difference is that the Pages admin is a vastly different interface
947: [20:27:00] <FrozenFire> SecurityAdmin is basically ModelAdmin, except reimplemented for a single model.
948: [20:27:00] <irogue> Pyromanik: fair nuff
949: [20:27:00] <Pyromanik> etc
950: [20:28:00] <Pyromanik> so while still roughly equiv, you can't just look at a post code and go "starts with zero, send to whangarei"
951: [20:28:00] <irogue> yeah
952: [20:29:00] <Pyromanik> hmmm
953: [20:29:00] <Pyromanik> or 9000, send to invercargill, let them sort out which of the two.
954: [20:29:00] <Pyromanik> 4000 post code, send to taranaki
955: [20:29:00] <Pyromanik> actually I think the third was in Dunedin district
956: [20:29:00] <Pyromanik> which one?
957: [20:29:00] <Pyromanik> Waverley?
958: [20:29:00] <Pyromanik> which we used to do all the fuck'n time
959: [20:30:00] <Pyromanik> similar issues with places like waihi
960: [20:31:00] <irogue> Under the postcode system there are no duplicate streets or addresses within an urban postcode boundary.
961: [20:31:00] <irogue> "A postcode tells us whether you mean Queen Street in central Auckland or Queen Street in Otahuhu," said Mr Pearce. It also helps, for example to ensure mail gets to the right Beach Road, as there are 18 of them in the wider Auckland area.
962: [20:32:00] <Pyromanik> yeh
963: [20:32:00] <irogue> jebus
964: [20:32:00] <Pyromanik> or commit them all to memory
965: [20:32:00] <irogue> hamiltonians were confused when there ended up with *two* of the same street in one city
966: [20:32:00] <Pyromanik> actually have to look shit up
967: [20:32:00] <Pyromanik> not so good for quick glance redirects
968: [20:32:00] <Pyromanik> that's why MUCH better for sorting
969: [20:33:00] <FrozenFire> I tried adding the component
970: [20:33:00] <FrozenFire> Since apparently it's going to require extending SecurityAdmin with all of ModelAdmin's code to make it have a filter form...
971: [20:33:00] <Pyromanik> add comopnent
972: [20:33:00] <irogue> Pyromanik: yeah exactly
973: [20:33:00] <FrozenFire> Hokay. So how do I add GridFieldFilterHeader to GridField?
974: [20:33:00] <Pyromanik> irogue: yeh, but in Auckland's case, they probably didn't all start off in the same city
975: [20:33:00] * FrozenFire mutters obscene things at SecurityAdmin
976: [20:34:00] <FrozenFire> Didn't do anything
977: [20:34:00] <irogue> that excerpt was from an article about how mail should now be addressed to "123 Xyz St, Takapuna, Auckland" instead of "Takapuna, North Shore City"
978: [20:34:00] <irogue> and why postcodes are so important
979: [20:34:00] <Pyromanik> add it again
980: [20:34:00] <Pyromanik> yeh
981: [20:34:00] <Pyromanik> post codes used to be extremely underused before they brought in the new system, so that was a bonus
982: [20:34:00] <FrozenFire> "Add it again" HERPA DERP...
983: [20:34:00] <irogue> :P
984: [20:35:00] <FrozenFire> It's not documented
985: [20:35:00] <Pyromanik> FrozenFire: yes, but this time do it properly.
986: [20:35:00] <FrozenFire> $membersConfig = $form->Fields()->dataFieldByName("Members")->getConfig(); if($membersConfig) { $membersConfig->addComponent(new GridFieldFilterHeader()); }
987: [20:35:00] <FrozenFire> No clue what the constructor is
988: [20:36:00] <Pyromanik> grep!
989: [20:36:00] <FrozenFire> Presumably there is no constructor
990: [20:36:00] <FrozenFire> Nah, like, it doesn't exist.
991: [20:37:00] <Pyromanik> pretty standard these days
992: [20:37:00] <FrozenFire> But there's also no way to specify the fields.
993: [20:37:00] <irogue> holy shit
994: [20:37:00] <irogue> Pyromanik: one Mail Centre handles all of the 0, 1 and 2 postcodes
995: [20:38:00] <FrozenFire> Maybe it wants $searchable_fields
996: [20:38:00] <irogue> http://www.nzpost.co.nz/about-us/media-centre/media-archive/2007/new-name-for-aucklands-newest-mail-centre
997: [20:38:00] <irogue> that is large.
998: [20:38:00] <Pyromanik> FrozenFire: I'd say so
999: [20:38:00] <Pyromanik> irogue: heh
1000: [20:38:00] <Pyromanik> wholey crap
1001: [20:38:00] <Pyromanik> KARP
1002: [20:39:00] <FrozenFire> That being said, it probably doesn't.
1003: [20:39:00] * zenmonkey has joined #silverstripe
1004: [20:40:00] <FrozenFire> Because it won't search on the fields that it already defines as searchable in Member itself
1005: [20:40:00] * irogue wonders if the phones are working
1006: [20:40:00] * ARNHOFF quit (Read error: Connection reset by peer)
1007: [20:41:00] * Pyromanik chortles at irogue's pondering
1008: [20:42:00] <Pyromanik> FrozenFire: are you talking about headers still? because that's not searchable_fields, but summary_fields
1009: [20:42:00] <Pyromanik> figured it must have been pretty quiet there this morning...
1010: [20:42:00] <Pyromanik> :P
1011: [20:43:00] <Pyromanik> which are like groups.
1012: [20:43:00] <Pyromanik> ic
1013: [20:43:00] <Pyromanik> grops
1014: [20:43:00] <FrozenFire> I don't care how.
1015: [20:43:00] <FrozenFire> I'm talking about filtering SecurityAdmin's EditForm
1016: [20:43:00] <FrozenFire> Filtering by name/email
1017: [20:44:00] <Pyromanik> no
1018: [20:44:00] <FrozenFire> Are you being daft? :P
1019: [20:44:00] <Pyromanik> just add search component to gridfield?
1020: [20:44:00] <FrozenFire> I've added GridFieldFilterHeader
1021: [20:45:00] <FrozenFire> I don't know of another way to add a "search component" to a gridfield.
1022: [20:45:00] <Pyromanik> ok
1023: [20:45:00] <FrozenFire> Nothing happens whatsoever.
1024: [20:45:00] <Pyromanik> but no work?
1025: [20:46:00] <Pyromanik> when you search?
1026: [20:47:00] <FrozenFire> I may as well have not added it.
1027: [20:47:00] <FrozenFire> When I add the component. Nothing additional is displayed, whatsoever.
1028: [20:48:00] <Pyromanik> do that?
1029: [20:48:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/forms/gridfield/GridFieldConfig.php#L211
1030: [20:49:00] * markeaston has joined #silverstripe
1031: [20:49:00] <Pyromanik> ish
1032: [20:49:00] * travis-ci has left #silverstripe
1033: [20:49:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4911889
1034: [20:49:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9e7c622abe28...a753ce262175
1035: [20:49:00] <travis-ci> [travis-ci] silverstripe/sapphire#1463 (3.0.5 - a753ce2 : Ingo Schommer): The build is still failing.
1036: [20:49:00] * travis-ci has joined #silverstripe
1037: [20:49:00] <Pyromanik> probably that, actually
1038: [20:49:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/forms/gridfield/GridFieldConfig.php#L171
1039: [20:50:00] <helenclarko> Can someone take a look at this Testimonials page .ss and javascript and let me know if it looks like I messed anything up? http://www.silverstripe.org/customising-the-cms/show/22641
1040: [20:50:00] <Pyromanik> helenclarko: use loop, not control
1041: [20:50:00] <zenmonkey> I'm trying to confer the $Filename column in a GridField to a clickable link, according to the documentation I thought I could do it with setFieldFormatting, but seems t only have access to the page object
1042: [20:50:00] <FrozenFire> Hrmm, SecurityAdmin uses GridFieldConfig_RecordEditor
1043: [20:50:00] <Pyromanik> before you filterheader
1044: [20:50:00] <Pyromanik> seems like you might need to $this->addComponent(new GridFieldToolbarHeader());
1045: [20:51:00] <Pyromanik> control doesn't exist in 3.0
1046: [20:51:00] <Pyromanik> but it's been replaced with "with" for scope and "loop" for loops
1047: [20:51:00] <Pyromanik> oh
1048: [20:51:00] <Pyromanik> well then don't use loop :P
1049: [20:51:00] <helenclarko> infact, that should have been the first thing to say
1050: [20:51:00] <helenclarko> ah
1051: [20:51:00] <Pyromanik> it's still supported for backwards compatibility I think
1052: [20:51:00] <helenclarko> Sorry, I should have said earlier im in 2.4.5
1053: [20:52:00] <Pyromanik> look at your sidebar include to make sure no tags are out of place
1054: [20:52:00] <FrozenFire> I get a completely duplicated header now
1055: [20:52:00] <Pyromanik> FrozenFire: what?
1056: [20:52:00] <Pyromanik> hahahah
1057: [20:52:00] <Pyromanik> winning
1058: [20:52:00] <FrozenFire> Lolwat
1059: [20:53:00] <Pyromanik> :<
1060: [20:53:00] <FrozenFire> You click the right-hand little magnifying glass icon
1061: [20:53:00] <FrozenFire> Which, for my GridField, results in a nice overflowed grid (larger than the window)
1062: [20:53:00] <FrozenFire> Oh christ.
1063: [20:53:00] <Pyromanik> adventures with gridfield!
1064: [20:53:00] <Pyromanik> <3
1065: [20:53:00] <FrozenFire> It already has GridFieldFilterHeader
1066: [20:53:00] * Colin[pi] has joined #silverstripe
1067: [20:53:00] <FrozenFire> It's just non-obvious.
1068: [20:54:00] <Pyromanik> you sure you're not cropping with CSS?
1069: [20:54:00] <helenclarko> Pyromanik: other than that it looks fine, right?
1070: [20:54:00] <helenclarko> Thanks again
1071: [20:54:00] <Pyromanik> helenclarko: at a quick glance
1072: [20:54:00] <FrozenFire> By twice
1073: [20:55:00] <Pyromanik> oh, my bad
1074: [20:55:00] <FrozenFire> Duh
1075: [20:55:00] <Pyromanik> also, don't need to right click it
1076: [20:55:00] <Pyromanik> well that's intuitive!
1077: [20:55:00] <Pyromanik> FrozenFire: HAHAHAHAHAHAAHAH
1078: [20:55:00] <Pyromanik> ie. set height container element with overflow: hidden ?
1079: [20:56:00] <Pyromanik> FrozenFire You click the right-hand little magnifying glass icon - --- I read: FrozenFire You right-click the little magnifying glass icon
1080: [20:56:00] * slith has joined #silverstripe
1081: [20:57:00] <helenclarko> it only seems to be affecting the content field
1082: [20:57:00] <Pyromanik> disable JS, find out easy way.
1083: [20:57:00] <Pyromanik> helenclarko: sounds like your javascript is to blame
1084: [20:57:00] <helenclarko> Ill double check, it could very well be cropping. Its basically trimming it mid paragraph even cutting sentences in half (vertically)
1085: [20:58:00] <Pyromanik> might be selecting the wrong element
1086: [20:58:00] <helenclarko> Ill be right Back
1087: [20:58:00] <Pyromanik> and reload the page
1088: [20:58:00] <Pyromanik> if you disable JS in the browser
1089: [20:58:00] <helenclarko> as the footer is still fine
1090: [20:58:00] <Pyromanik> dunno
1091: [20:58:00] <helenclarko> Ill check the javascript
1092: [20:58:00] <Pyromanik> you'll see
1093: [20:58:00] <helenclarko> Thanks
1094: [20:59:00] <Pyromanik> FrozenFire: ah yeah. Turns out that is where the filter goes. I was thinking of the "add existing" component
1095: [20:59:00] <helenclarko> Spot on, disabling javascript shows all content
1096: [21:00:00] <FrozenFire> Yep
1097: [21:00:00] <FrozenFire> Well, it was already there.
1098: [21:00:00] <Pyromanik> helenclarko: time to re-work that jquery!
1099: [21:00:00] <FrozenFire> Presumably part of the default for GridFieldConfig_RecordViewer
1100: [21:00:00] <helenclarko> Ill need to go back through it
1101: [21:00:00] <Pyromanik> FrozenFire: yeah, but I mean turns out all my gridfields have it (relation_editor)
1102: [21:00:00] * UndefinedOffset quit (Quit: Leaving.)
1103: [21:00:00] <helenclarko> Thanks again Pyromanik!
1104: [21:01:00] <Pyromanik> helenclarko: protip: jquery.cycle
1105: [21:01:00] <Pyromanik> but I never realised because I always look at the add existing search. As I suspect most users would
1106: [21:08:00] * lx-berlin has joined #silverstripe
1107: [21:11:00] * lx-berlin has left #silverstripe
1108: [21:17:00] <Marvanni> hm, its not posible to subclass Folder anymore in ss3?
1109: [21:24:00] <simon_w> You can subclass it
1110: [21:27:00] <Marvanni> yes, but the CMS wont display the Folder
1111: [21:28:00] * zfmf has left #silverstripe
1112: [21:28:00] <Pyromanik> should
1113: [21:29:00] * r3v3rb quit (Quit: r3v3rb)
1114: [21:30:00] <Marvanni> thats what I thougt. It is displayed, but it wont open... redirect to /admin/assets/show/0
1115: [21:33:00] <Pyromanik> I mean, the folder is in the database, not generated on the fly, yes?
1116: [21:33:00] <Pyromanik> does it have an ID?
1117: [21:34:00] <Marvanni> yes it is, and is has MyCustomFolderClassName
1118: [21:34:00] * markeaston quit (Quit: markeaston)
1119: [21:35:00] * markeaston has joined #silverstripe
1120: [21:37:00] <Marvanni> I will create a DataExtension for this time..
1121: [21:42:00] * DanielFarbox has joined #silverstripe
1122: [21:47:00] <DanielFarbox> Hi, I'm using swipestripe and am trying to set up related products. I set up a one to many on the product class itelf using dataextension in tandem with listboxField. This pretty much worked completely except that would not update Product_Live, versions and the Product table it updated. Any ideas how I can best implement related products?
1123: [21:47:00] <Marvanni> hm.. also return false on FolderDataExtension::canDelete(); results in :
1124: [21:47:00] <Marvanni> SSVier.php r 144 : $retval = call_user_func_array(array($on, $name), $arguments); ?
1125: [21:47:00] <Marvanni> [Warning] call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object
1126: [21:50:00] <Colin[pi]> good morning all
1127: [21:59:00] <Pyromanik> hi
1128: [22:00:00] <Pyromanik> DanielFarbox: many_many relations do not update version tables.
1129: [22:00:00] * john_nye has joined #silverstripe
1130: [22:01:00] <Pyromanik> you've used the wrong relation type
1131: [22:01:00] <john_nye> I'm looking for a silverstripe puppet config file, so far google doesn't help much
1132: [22:01:00] <Pyromanik> if a product has many products, that means that the products it has also has many.
1133: [22:01:00] <Pyromanik> you want a many_many, not a has_many
1134: [22:01:00] <Pyromanik> john_nye: what is puppet?
1135: [22:02:00] <DanielFarbox> Hi Pyromanik, ok. I'll give that a go now. Thanks mate.
1136: [22:03:00] <john_nye> server configurations, I'm tryingto move to using vagrant vm's for local development and same config for production.
1137: [22:03:00] <Pyromanik> and what does the config file do?
1138: [22:04:00] <Pyromanik> most people use git and/or composer for deployment. They used to use piston, but I don't think that happens much anymore
1139: [22:04:00] * zenmonkey quit (Quit: This computer has gone to sleep)
1140: [22:05:00] <john_nye> provisions the server(s), database etc etc, it's more a ruby thing then php, but thought I'd ask.
1141: [22:05:00] <Pyromanik> john_nye: I'm not sure I understand puppet, but silverstripe manages it's own database unlike ruby installs which require you to construct them using a dump file (in my experience)
1142: [22:06:00] <Pyromanik> john_nye: Silverstripe also has a bunch of cache files and site assets that it stores in it's root directory, these are usually different between live and dev servers
1143: [22:06:00] <Pyromanik> along with database config details, etc.
1144: [22:07:00] <Pyromanik> john_nye: Oh, so it's more about the structure of the machine itself rather than SilverStripe
1145: [22:07:00] <john_nye> nah, vagrant file ensures I have for instance apach2.x, mysql, php5, correct permissions when setting up a server.
1146: [22:07:00] <Pyromanik> john_nye: http://doc.silverstripe.org/framework/en/topics/environment-management
1147: [22:08:00] <Pyromanik> well, SS just uses a run of the mill stack of Apache, *SQL, but requires PHP 5.3.2 at the very minimum
1148: [22:08:00] <Pyromanik> so long as the web user can read the files, every thing is fine.
1149: [22:08:00] <Pyromanik> as for directory permissions
1150: [22:08:00] <john_nye> yeah, but can set up directories and permissions.
1151: [22:09:00] <Pyromanik> the only directories that need write permission are the ones I mentioned before (assets and silverstripe-cache [if it exists])
1152: [22:10:00] <Pyromanik> I imagine finding a puppet config for almost any decent PHP app out there should almost do the trick
1153: [22:12:00] <john_nye> probably, worth asking, seems a nice tool to be using, especially for testing and development, MAMP is doing my head in
1154: [22:13:00] <Pyromanik> I always pictured it as a large devops kinda thing, too big for my kinda use
1155: [22:13:00] * novaweb has joined #silverstripe
1156: [22:14:00] <novaweb> Quote for the day from nova - "Don't live to work... work to live" - How are we today strippers?
1157: [22:15:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/876c660018a2...8a70019e7818
1158: [22:15:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4914350
1159: [22:15:00] * travis-ci has left #silverstripe
1160: [22:15:00] <Pyromanik> because
1161: [22:15:00] <Pyromanik> yawn.
1162: [22:15:00] <Colin[pi]> sass?
1163: [22:15:00] <novaweb> but Counter Strike Source kicks ass!
1164: [22:15:00] <simon_w> novaweb, probably only wanted one p in that :p
1165: [22:15:00] <Pyromanik> getting sick of CSS
1166: [22:15:00] <Pyromanik> stripping awesome
1167: [22:15:00] * travis-ci has joined #silverstripe
1168: [22:15:00] <travis-ci> [travis-ci] silverstripe/sapphire#1469 (3.1 - 8a70019 : Sean Harvey): The build is still failing.
1169: [22:16:00] <john_nye> Pyromanik:yeah, cos we have 50/50 split between windows and mac people are starting to use ubuntu VMs for dev, non-sydamin people are struggling with it so "vagrant up" to setup a dev box seems pretty nice at the moment.
1170: [22:16:00] <novaweb> simon_w - nah, I always refer to stripers as strippers... it's more riskayyy
1171: [22:16:00] <novaweb> :p
1172: [22:16:00] <Colin[pi]> haha the Silver Strippers are hired for the office christmas party
1173: [22:18:00] <novaweb> Shotgun!
1174: [22:18:00] <Pyromanik> I AM 12 AND I LIKE VIDEO GAEMZ
1175: [22:18:00] <Pyromanik> novaweb: CS:S... how old are you?
1176: [22:19:00] <Pyromanik> also
1177: [22:19:00] <novaweb> :p
1178: [22:19:00] <novaweb> no it's wris-K'
1179: [22:19:00] <novaweb> ish
1180: [22:19:00] <Pyromanik> I believe
1181: [22:19:00] <novaweb> i'm 26
1182: [22:19:00] <Pyromanik> Risqu?
1183: [22:19:00] <Pyromanik> Risque
1184: [22:19:00] <novaweb> its video gaymz
1185: [22:20:00] <Colin[pi]> ha, I counter strike as on the internet when you were a sperm in your daddys balls
1186: [22:20:00] <Colin[pi]> ;)
1187: [22:21:00] <Pyromanik> 2000
1188: [22:21:00] <novaweb> hahahah!
1189: [22:21:00] <Pyromanik> IIRC
1190: [22:21:00] <Pyromanik> so you see Colin[pi], he can't have been sperm and be 26 now.
1191: [22:21:00] <Pyromanik> CounterStrike, invented 1998
1192: [22:21:00] <Pyromanik> wait no
1193: [22:21:00] <Colin[pi]> :o
1194: [22:22:00] <Colin[pi]> i remember sitting down to half-life 1's epic intro sequence in awe
1195: [22:22:00] <Pyromanik> with the AK
1196: [22:22:00] <Pyromanik> when you bunnyhopped around everywhere and shot in the opposite direction to headshot anyone on the map, anywhere.
1197: [22:22:00] <Colin[pi]> my first 3d accelerated game was Forsaken, i loved that game
1198: [22:22:00] <Pyromanik> but it's true, you can only be part of the cool kids club if you played CSbeta, or loved the shit out of 1.1
1199: [22:23:00] <Colin[pi]> poor man's CS rip off
1200: [22:23:00] <Colin[pi]> I actually played UT TacOps back in the day
1201: [22:23:00] <Colin[pi]> Unreal Tournament
1202: [22:23:00] <Pyromanik> you mean UrbanTerror, not Unreal Tournament, right?
1203: [22:24:00] <Colin[pi]> TacOps was a mod for UT :P
1204: [22:24:00] <Pyromanik> lolwut
1205: [22:24:00] <Pyromanik> UrbanTerror was a mod for Q3
1206: [22:24:00] <Pyromanik> supposed to succeed ActionQ2
1207: [22:25:00] <Colin[pi]> Original UT... CTF... facing worlds... ahh memories
1208: [22:25:00] <Colin[pi]> CliffyB 4 lyfe lol
1209: [22:25:00] <Colin[pi]> I was heavily into UT back then :o
1210: [22:25:00] <Pyromanik> sif Ut.
1211: [22:25:00] <Pyromanik> but never did.
1212: [22:25:00] <ec8or> i was asked the other week what game i would pick to enter the gaming canon
1213: [22:25:00] <ec8or> Pyromanik: AQ2, there is a game
1214: [22:26:00] <Colin[pi]> or.. camping in front of the teleporter with the impact hammer, lol
1215: [22:26:00] <Pyromanik> Colin[pi]: ok, I can get with that memory, but only if you're using the translocator
1216: [22:26:00] <ec8or> yeah.. "the one _before_ counter-strike!!"
1217: [22:26:00] <Colin[pi]> telefragging!
1218: [22:26:00] <DanielFarbox> Pyromanik: changing from 1 to many to many to many for related products did the job nicely. Dissapointed I did not try that in the 5 odd hours I was trying to figure that out. Thanks again.
1219: [22:26:00] <Pyromanik> DanielFarbox: glad to hear :)
1220: [22:26:00] * t|m has joined #silverstripe
1221: [22:26:00] <Colin[pi]> AQ2?
1222: [22:26:00] <ec8or> couldn't remember what it was called, and noone else had any idea what i was talking about :_
1223: [22:27:00] * Pyromanik has an admission to make
1224: [22:27:00] <t|m> any idea when 3.0.5 will be ready?
1225: [22:27:00] <Colin[pi]> y hello thar
1226: [22:27:00] <Pyromanik> hi
1227: [22:27:00] <t|m> hey guys
1228: [22:27:00] <Colin[pi]> Quake is a classic, won't hold anything against you for that
1229: [22:27:00] <Colin[pi]> bzzzzzz *SPLOOSH* bzzzzzz *SPLOOSH* bzzzzzz *SPLOOSH*
1230: [22:27:00] <ec8or> yeah :)
1231: [22:27:00] <Pyromanik> ec8or: throwing knives
1232: [22:27:00] <ec8or> it was funny how aq2 started out as some sort of hong kong action mod and then became a super tactical team shooter
1233: [22:27:00] * Pyromanik still plays Quake.
1234: [22:28:00] <Colin[pi]> blasphemy!
1235: [22:28:00] <Colin[pi]> like Descent
1236: [22:28:00] <Pyromanik> t|m: how so?
1237: [22:28:00] <ec8or> i'm old enough to have played wolfenstein
1238: [22:28:00] <Colin[pi]> dude try Forsaken, 360 nausea inducing 3D
1239: [22:28:00] <Pyromanik> lolcod
1240: [22:28:00] <t|m> caus 304 is broken
1241: [22:28:00] <ec8or> haha
1242: [22:28:00] <Pyromanik> "I know what I'm talking about, I've played COD for 6 years"
1243: [22:28:00] <Pyromanik> kids these days
1244: [22:28:00] <Pyromanik> ec8or: rofl
1245: [22:28:00] <Pyromanik> t|m: why?
1246: [22:28:00] <ec8or> was quake even 3d? ;)
1247: [22:29:00] <Colin[pi]> DOWNLOAD THIS SHIT http://fly.thruhere.net/
1248: [22:29:00] <ec8or> descent was cool as well, super high resolution :)
1249: [22:29:00] <Pyromanik> I also played decent
1250: [22:29:00] <t|m> there is the announcement on the mailinglist
1251: [22:29:00] <Pyromanik> ec8or: so am I.
1252: [22:29:00] <ec8or> and then maybe day of the tentacle or monkey island to cap it off
1253: [22:29:00] <Pyromanik> http://www.ssdev.org/SSDeV/start.php
1254: [22:29:00] <Pyromanik> hahaahahahah
1255: [22:29:00] <Colin[pi]> port of the original forsaken for modern PCs
1256: [22:29:00] <ec8or> my other game for the canon was Dune II
1257: [22:29:00] <ec8or> sim city :)
1258: [22:29:00] <Colin[pi]> it's still awesome
1259: [22:29:00] * Pyromanik googled ssdev
1260: [22:30:00] <Pyromanik> ec8or: I bought SimCity4 in the holiday sale
1261: [22:30:00] <ec8or> ah got it
1262: [22:30:00] <Pyromanik> yeh, apparently, lol
1263: [22:30:00] <ec8or> Pyromanik: lock picks?
1264: [22:30:00] <ec8or> ssdev :)
1265: [22:31:00] <ec8or> haha
1266: [22:31:00] <Colin[pi]> is it good? never tried it
1267: [22:31:00] <ec8or> new one looks pretty cool actually, if you disregard the whole online thing
1268: [22:31:00] <Pyromanik> oh, it's probably fine
1269: [22:31:00] <Pyromanik> I didn't have the patience for it and it didn't have any nostalgia factor
1270: [22:31:00] <Colin[pi]> weaksauce
1271: [22:31:00] * soolan_ has joined #silverstripe
1272: [22:31:00] <Pyromanik> oh, and the roads self generated
1273: [22:31:00] <Colin[pi]> WAT
1274: [22:31:00] <Colin[pi]> WAT??
1275: [22:31:00] <Pyromanik> which was like, the entire point of sim city
1276: [22:31:00] <Pyromanik> yeh
1277: [22:31:00] <Colin[pi]> I'll take that as a no then?
1278: [22:31:00] <Pyromanik> then I ragequit, went to gog.com and bought the REAL sim city :P
1279: [22:32:00] <Pyromanik> ec8or: what?
1280: [22:32:00] <Colin[pi]> self generated roads? wtf?
1281: [22:32:00] <t|m> oh well
1282: [22:32:00] <Pyromanik> when you zone a region, it makes roads in the zone
1283: [22:32:00] <t|m> i'll try again later
1284: [22:32:00] * t|m quit (Quit: Ex-Chat)
1285: [22:32:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1286: [22:32:00] <Pyromanik> t|m: no idea sorry
1287: [22:32:00] <Colin[pi]> that's totally shit
1288: [22:32:00] * soolan_ quit (Client Quit)
1289: [22:32:00] <ec8or> man i'm starting my second work day now
1290: [22:33:00] <ec8or> yeah
1291: [22:33:00] <ec8or> it is like a year old job as well, would never have taken it now
1292: [22:33:00] <Pyromanik> http://i.imgur.com/qWKKK.jpg
1293: [22:33:00] <ec8or> haha
1294: [22:33:00] <Pyromanik> YOU ARE THE BATMAN
1295: [22:33:00] <Pyromanik> it's like... midnight
1296: [22:33:00] <ec8or> need to get this fucking site in shape for a client
1297: [22:33:00] <Pyromanik> :P
1298: [22:33:00] <Pyromanik> you're starting your second work night
1299: [22:34:00] <ec8or> but have to finish it :)
1300: [22:34:00] <Pyromanik> 18 hours now
1301: [22:34:00] <Pyromanik> due next 24 hours
1302: [22:34:00] <Pyromanik> RIGHT THERE
1303: [22:34:00] <Pyromanik> PROBLEM FIXED
1304: [22:34:00] <Pyromanik> https://groups.google.com/forum/?fromgroups=#!topic/silverstripe-dev/GIcrasMqcUE
1305: [22:34:00] <Pyromanik> oh t|m... y u quit so fast?
1306: [22:34:00] <ec8or> haha
1307: [22:35:00] * tgfisher quit (Ping timeout: 252 seconds)
1308: [22:35:00] <ec8or> this game looks pure genius: http://www.indiegogo.com/projects/335983
1309: [22:36:00] <Colin[pi]> heh awesome
1310: [22:36:00] * priithansen quit (Quit: priithansen)
1311: [22:38:00] * Zauberfisch has joined #silverstripe
1312: [22:38:00] * Zauberfisch quit (Read error: Connection reset by peer)
1313: [22:43:00] * aznain has joined #silverstripe
1314: [22:44:00] <aznain> With relation to dataobject, What is difference between getCMSFields and updateCMSFields ?
1315: [22:45:00] * pitchandtone has joined #silverstripe
1316: [22:46:00] * pitchandtone quit (Client Quit)
1317: [22:47:00] <Colin[pi]> updateCMSFields is called from a decorator class
1318: [22:47:00] <Colin[pi]> so if you apply a decorator/extension to a dataobject, updateCMSFields updates the fields of the decorated object
1319: [22:53:00] <aznain> colin[pi]: thanks
1320: [22:55:00] <Colin[pi]> no worries
1321: [22:58:00] * AshKyd has joined #silverstripe
1322: [22:58:00] * AshKyd quit (Read error: Operation timed out)
1323: [23:00:00] * stillEPIK has joined #silverstripe
1324: [23:01:00] * EPIK quit (Ping timeout: 256 seconds)
1325: [23:06:00] <chillu> in 3.1 branch? Sounds familiar
1326: [23:06:00] <PigeonFriend> yes, 3/1 branch
1327: [23:06:00] <PigeonFriend> well, i call it a bug.. perhaps it's expected, but it's very unintuitive for the user
1328: [23:06:00] <PigeonFriend> @chillu: Hey, I've noticed a bug with 3.1 side by side preview - when the preview pane is set to show the live site and a page is selected that isn't published, the preview goes to the 404 page
1329: [23:07:00] <PigeonFriend> is there any work on a patch for that?
1330: [23:07:00] <PigeonFriend> or, rather, is it a known issue?
1331: [23:08:00] <PigeonFriend> even though you're editing it?
1332: [23:08:00] <Pyromanik> PigeonFriend: sounds like it works as it should to me...
1333: [23:08:00] <PigeonFriend> Pyromanik: really? if you're looking through the CMS, you expect a page to show as not found?
1334: [23:08:00] <Pyromanik> though I suppose some kind of "page is not published" could be put in place instead of updating the iframe
1335: [23:08:00] <chillu> I thought I've fixed something like that already??? have a look if there's an existing issue on open.ss.org, otherwise file one with priority=critical
1336: [23:09:00] <PigeonFriend> anyway, im not here to argue symantics
1337: [23:09:00] <Pyromanik> page does in fact, not exist.
1338: [23:09:00] <Pyromanik> ...
1339: [23:09:00] <Pyromanik> as it is not live
1340: [23:09:00] <Pyromanik> PigeonFriend: I expect that it's a live preview
1341: [23:09:00] <PigeonFriend> Pyromanik: have you asked any of your CMS users?
1342: [23:09:00] <Pyromanik> people actually use the CMS?
1343: [23:09:00] <PigeonFriend> I understand that it could be deemed 'expected' if you are a developer, but it's not if you're a user
1344: [23:10:00] <Pyromanik> I have exactly 3 clients out of 300 that use the CMS
1345: [23:10:00] <Pyromanik> yeh
1346: [23:10:00] <PigeonFriend> chillu: I'm on latest branch 3.1 branch, i'll double check here
1347: [23:10:00] <Colin[pi]> wat
1348: [23:10:00] <Pyromanik> but
1349: [23:11:00] <Colin[pi]> who the hell is working on the sites then?
1350: [23:13:00] * l8s has joined #silverstripe
1351: [23:13:00] <PigeonFriend> Pyromanik: lol, oh well. then you dont need to worry about having a CMS nor about the little things like side-by-side editing, lucky you
1352: [23:14:00] <PigeonFriend> @chillu: you're right, not happening for me now.. odd, client reported it when doing testing
1353: [23:14:00] * zenmonkey has joined #silverstripe
1354: [23:20:00] * john_nye quit (Ping timeout: 245 seconds)
1355: [23:20:00] <PigeonFriend> heh, well, we all know that feeling
1356: [23:20:00] <Pyromanik> PigeonFriend: yeah, but on the flip side I get people ring me up to change a spelling mistake
1357: [23:21:00] <Pyromanik> exactly
1358: [23:21:00] <Colin[pi]> well that's true
1359: [23:21:00] <Pyromanik> surprised Colin[pi] is surprised.
1360: [23:21:00] <Pyromanik> or send me word documents with screenshots of the site in it with red circles around problems
1361: [23:21:00] <Colin[pi]> You have an awesome CMS.. but you don't let your clients use it?
1362: [23:21:00] <Pyromanik> like I'm supposed to magically supposed to know what to do about it
1363: [23:21:00] <PigeonFriend> also, chillu: i, of course, understand that my pull requests won't be pulled immediately, but do you have a schedule so i can tell a client how long (roughly) to expect for a minor pull to go in (by minor i mean like my last two)
1364: [23:21:00] <Pyromanik> Colin[pi]: oh, no they all get accounts.
1365: [23:21:00] <Pyromanik> clients just don't tend to give a fuck.
1366: [23:21:00] <PigeonFriend> Pyromanik: lol, you're describing eeryone's clients
1367: [23:21:00] <Pyromanik> yep
1368: [23:21:00] <PigeonFriend> i just never get word docs with screen shots in them
1369: [23:22:00] <chillu> I'm already doing way more open source than I should do, and have the 3.0.5 release throwing a spanner in the works. So can't promise anything. In general, I would recommend using forks with composer, and just merging from both upstream and your own feature branches as required
1370: [23:22:00] <Pyromanik> PigeonFriend: lucky you!
1371: [23:22:00] <PigeonFriend> Pyromanik: I hope you have support retainers for that crap
1372: [23:22:00] <Colin[pi]> no I'm not surprised but I try to keep them off my back as much as possible
1373: [23:22:00] <Pyromanik> PigeonFriend: of course.
1374: [23:22:00] <Pyromanik> min 15min charge
1375: [23:22:00] <PigeonFriend> Pyromanik: by 'get' i mean 'understand'
1376: [23:22:00] <Pyromanik> etc
1377: [23:22:00] <Pyromanik> Colin[pi]: so do I.
1378: [23:23:00] <Pyromanik> I'd like to employed full time to open source.
1379: [23:23:00] <Pyromanik> that would be cool.
1380: [23:23:00] <PigeonFriend> chillu: sure. ok. noted. tbh, i dont understand how you can get anything done with the volume of stuff. I'll quite hassling you... for now!
1381: [23:24:00] <Pyromanik> chillu: yeh, it's not what I'd call full time.
1382: [23:24:00] * slith quit (Quit: Leaving.)
1383: [23:24:00] <Pyromanik> still very awesome though
1384: [23:24:00] <Pyromanik> similar deal to R&D I guess.
1385: [23:24:00] <Pyromanik> that would also be cool
1386: [23:24:00] <PigeonFriend> heh, me too. SS have my details :P
1387: [23:24:00] <Pyromanik> get paid to learn shit
1388: [23:24:00] <Pyromanik> that would be winner
1389: [23:24:00] <chillu> Hehe, I'm fortunate enough that OSS is part of my day job - but that has limits as well
1390: [23:25:00] * slith has joined #silverstripe
1391: [23:25:00] * slith quit (Client Quit)
1392: [23:28:00] <Colin[pi]> nn
1393: [23:28:00] <Pyromanik> night
1394: [23:28:00] * zenmonkey quit (Quit: This computer has gone to sleep)
1395: [23:28:00] <PigeonFriend> night folks
1396: [23:31:00] * zenmonkey has joined #silverstripe
1397: [23:41:00] * zenmonkey quit (Quit: This computer has gone to sleep)
1398: [23:45:00] * travis-ci has joined #silverstripe
1399: [23:45:00] <travis-ci> [travis-ci] silverstripe/sapphire#1471 (3.0.5 - 9ceef6b : Ingo Schommer): The build was fixed.
1400: [23:45:00] * travis-ci has left #silverstripe
1401: [23:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4916154
1402: [23:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9e7c622abe28...9ceef6be0700
1403: [23:52:00] <novaweb> chillu, howdy bro! hope you're well. is it possible to shed some light on this when/if you get a moment? If you do, and I get it working, I can take ownership and put it in my Git repo if you like
1404: [23:52:00] <novaweb> http://www.silverstripe.org/general-questions/show/22645
1405: [23:53:00] <Colin[pi]> if I obtain a particular Page object, is there a way I can call a method from it's associated Controller?
1406: [23:53:00] * aznain quit (Ping timeout: 245 seconds)
1407: [23:59:00] * markeaston quit (Quit: markeaston)

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