#silverstripe IRC Log

IRC log for 19 January 2015

All timestamps are in UTC.

1: [00:05:39] <mento> Colin[pi]: nothing strange to see, as far as i know: http://www.sspaste.com/paste/show/54bc4a15a629a
2: [00:09:34] <Colin[pi]> mento: yeah that looks normal :\
3: [00:09:49] <mento> this thing is driving me nuts =p
4: [00:10:25] <hailwood> When using colymba/silverstripe-restfulapi how can I make it so any model with Approved==false gets filtered out?
5: [00:10:32] <Colin[pi]> mento: can I see the source on sspaste of your submit function?
6: [00:11:03] <mento> yes it's here: http://www.sspaste.com/paste/show/54bc39d4a9717
7: [00:14:01] * guci0 quit (Ping timeout: 246 seconds)
8: [00:14:39] <hailwood> does (in a different serializer) modifying this line: https://github.com/colymba/silverstripe-restfulapi/blob/master/code/serializers/Basic/RESTfulAPI_BasicSerializer.php#L135 so it reads as if (!RESTfulAPI::api_access_control($dataObject, 'GET') || ($dataObject->hasDatabaseField('Approved') && !$dataObject->Approved)) return null; sound like it should work?
9: [00:14:54] <Colin[pi]> mento: hmm all looks pretty good :\
10: [00:15:27] <mento> could it be some server configuration thingy?
11: [00:28:12] * Stomach has joined #silverstripe
12: [00:38:24] <pippy> mento: is HP being set? you could populate it using javascript
13: [00:48:17] * mirrors quit (Quit: Page closed)
14: [00:55:19] * mento quit (Ping timeout: 246 seconds)
15: [01:09:09] <hailwood> hi guys, if I have /mysite/templates/email/NewBusiness.ss in $email->setTemplate(???); what should the ??? be? just 'newBusiness' or something like 'email.NewBusiness' ??
16: [01:11:33] <Olliepop> 'NewBusiness'
17: [01:17:10] * gordon has joined #silverstripe
18: [01:17:32] * gordon is now known as Guest54315
19: [01:17:40] * Guest54315 is now known as nontgor
20: [01:22:12] * r_hector has joined #silverstripe
21: [01:35:36] * WandL has joined #silverstripe
22: [01:35:51] * aragonne has joined #silverstripe
23: [01:38:18] <Colin[pi]> hmm since when did the logs site have ads?
24: [01:38:25] <Colin[pi]> recent change by simon?
25: [01:41:15] <nontgor> Drink Coke
26: [01:42:15] <WandL> Hi guys lets say I have a DataObject with two many_many relations how do I get all records from the DataObject that do not have any records in either of the many_many tables, is there a way to do that with the relation filters?
27: [01:44:30] <hailwood> Hmm, what's the best way in a template to generate an absolute url to the admin section? (for sending in an email)
28: [01:46:00] * aragonne quit (Quit: aragonne)
29: [01:47:15] <WandL> hailwood: not sure best way but {$BaseHref}/admin should work?
30: [01:47:29] * Kingy^ quit (Ping timeout: 252 seconds)
31: [01:50:10] <hailwood> Ah, BaseHref, cheers
32: [01:52:48] * joelpittet quit ()
33: [01:55:29] * r_hector quit (Quit: Leaving.)
34: [01:58:02] * joelpittet has joined #silverstripe
35: [01:59:41] <hailwood> Hmm, is there any way to get SS to spit out the parsed email template for a preview?
36: [02:04:43] * vebb is now known as veb
37: [02:07:32] * veb is now known as vebb
38: [02:11:23] * spronk2 has joined #silverstripe
39: [02:17:46] * vebb is now known as veb
40: [02:19:50] * Kingy[a] has joined #silverstripe
41: [02:24:32] * joelpittet quit (Remote host closed the connection)
42: [02:27:36] <WandL> hailwood: $template = $email->getTemplate(); var_dump($template); ? http://doc.silverstripe.org/framework/en/topics/email
43: [02:42:18] * veb is now known as vebb
44: [02:47:16] * Ryan-Toast quit (Ping timeout: 264 seconds)
45: [02:50:28] * Ryan-Toast has joined #silverstripe
46: [02:51:16] * mobiusnz quit (Read error: No route to host)
47: [02:51:22] * mobiusnz1 has joined #silverstripe
48: [02:52:28] * vebb is now known as veb
49: [02:53:02] * riddler7 quit (Quit: Leaving)
50: [02:57:22] <nontgor> My attempt at threaded comments https://github.com/silverstripe/silverstripe-comments/issues/28#issuecomment-70353418
51: [03:11:03] * zippy has joined #silverstripe
52: [03:11:33] <zippy> still no simon...
53: [03:11:47] <zippy> or antmas, no-one to bitch about the heat too
54: [03:11:50] <zippy> to
55: [03:18:16] <hailwood> WandL, $email->getTemplate() just returns the name of the ss template file
56: [03:26:05] <Stomach> its hot zippy
57: [03:26:07] <Stomach> its hoooot
58: [03:26:08] <Stomach> hot hot hot
59: [03:26:11] <zippy> mm
60: [03:26:25] <zippy> cricket game on her tomorrow, semi tempted but fuck me im busy
61: [03:28:47] <Stomach> just do it
62: [03:30:35] <Colin[pi]> zippy: DO EEET FAGORT
63: [03:30:45] <Colin[pi]> nah I dunno, up to you :P
64: [03:31:09] <zippy> lets see if its sold out, that might answer the quetion
65: [03:32:12] <zippy> $5.00 - $140.00
66: [03:32:15] <zippy> thats a bit of a price range
67: [03:33:47] <Stomach> go for the $5 one
68: [03:34:10] <Stomach> spend $135 on a sweet tambourine and a gong
69: [03:34:13] <Stomach> perfect.
70: [03:36:27] <zippy> wtf.
71: [03:36:33] <zippy> $250 for two adults and 1 under 16
72: [03:37:16] <zippy> but 1 adult + 1 kid if $35
73: [03:37:42] <zippy> mm their site is fucked
74: [03:37:48] * nickboo has joined #silverstripe
75: [03:39:01] <zippy> $75 bucks for two adults and 1 kid
76: [03:39:01] <zippy> m
77: [03:41:10] <nickboo> Does anyone know what the usual cause of an "You're logged in as Default Admin." page to be displayed instead of the cms?
78: [03:41:34] <nickboo> Done a bit of googling but exhausted all avenues
79: [03:43:19] <Ryan-Toast> nickboo: when you try to go to the login page, and you’re logged in.
80: [03:43:25] <Ryan-Toast> usually froma redirect.
81: [03:43:36] <hailwood> Using https://github.com/colymba/silverstripe-restfulapi What's the best way to go about running a block of code when a specific DataObject is created via the API?
82: [03:44:33] <nickboo> Ryan-Toast: Does that mean /admin/pages is redirecting me to /security/login?
83: [03:44:45] <Ryan-Toast> nickboo: Most likely.
84: [03:44:53] <hailwood> I only want to trigger the action if it's created via the API, I don't want to be triggering the action if it's done via the CMS.
85: [03:45:36] <nickboo> Ryan-Toast: Any idea why/how to fix?
86: [03:47:16] <nickboo> I've tried dev/build, flush=1, flush=all, logout,login, removed silverstripe-cache, Security::setDefaultAdmin
87: [03:48:09] <Ryan-Toast> nickboo: Usually a permisions error in the code somewhere, if you’re manipulating the Member do's
88: [03:48:56] <zippy> nickboo: tried different browser? you might have a cookie set for the return url or somethin gmaybe
89: [03:49:46] <nickboo> yeah
90: [03:49:58] <nickboo> also tried private browsing
91: [03:50:33] * Stomach quit (Ping timeout: 276 seconds)
92: [03:54:21] <nickboo> same thing even happens when I log in on another machine (vm)
93: [03:56:10] <nickboo> Hope my database isn't borked :(
94: [03:56:38] <zippy> nickboo: ss 2.4x?
95: [03:57:26] * mobiusnz1 quit (Quit: Leaving.)
96: [03:57:26] <zippy> might have to dig through the code to see why it's redirecitng
97: [03:57:30] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
98: [03:57:43] <nickboo> 3.1.9
99: [04:03:52] * babak_ has joined #silverstripe
100: [04:05:32] * veb is now known as vebb
101: [04:09:46] * mobiusnz has joined #silverstripe
102: [04:09:48] * mobiusnz quit (Client Quit)
103: [04:10:24] * mobiusnz has joined #silverstripe
104: [04:14:07] * Kingy[a] is now known as Kingy
105: [04:14:22] <Colin[pi]> hai2u Kingy
106: [04:14:28] <Kingy> hey Colin[pi]
107: [04:14:28] * Olliepop quit (Ping timeout: 246 seconds)
108: [04:14:30] * nontgor quit (Ping timeout: 265 seconds)
109: [04:14:34] <Colin[pi]> quiet in here today!
110: [04:14:50] <Colin[pi]> I can tell from IRC when there are holidays in NZ :)
111: [04:15:08] <Kingy> haha yeah Welly anniversery
112: [04:15:31] <Kingy> Aucklanders should've been here though
113: [04:16:04] <Colin[pi]> auckland is kinda north wellington amirite
114: [04:16:21] <Kingy> haha pmuch
115: [04:16:46] <Colin[pi]> how are things over there?
116: [04:17:05] <Kingy> loving it man
117: [04:17:22] <Kingy> because petrol is so cheap can just go into crazy explorer mode lol
118: [04:17:25] <Colin[pi]> lol
119: [04:17:29] <Colin[pi]> how much is it there?
120: [04:17:35] <Kingy> 100fils/L
121: [04:17:51] <Kingy> yesterday it cost me 2.9BD for 3/4 of a tank
122: [04:18:13] <Kingy> ~$10NZD
123: [04:18:29] <Colin[pi]> $10NZD for most of a tank??
124: [04:18:34] <Colin[pi]> holy crap
125: [04:18:46] <Kingy> yeah
126: [04:18:58] <Kingy> a proper full tank cost me just under $13 the other day lol
127: [04:19:04] <Colin[pi]> wow
128: [04:19:12] <Colin[pi]> I mean, it's cheap here now too relatively
129: [04:19:16] <Colin[pi]> but not THAT cheap
130: [04:19:17] <Colin[pi]> :D
131: [04:19:22] <Kingy> yeah i've heard it's coming down
132: [04:19:28] <Kingy> this is also for 95 octane
133: [04:19:35] <Kingy> none of that filthy 91 shit over here lol
134: [04:19:58] <Colin[pi]> ONLY THE BEST FOR PRINCE ABUBU
135: [04:20:05] <Kingy> lawl
136: [04:20:19] <Kingy> but i've seen it can get quite dodgy here though
137: [04:20:29] <Kingy> we went trying to look for the botanical gardens
138: [04:20:53] <Kingy> and the highway you're supposed to take had 2 cops across it, so we diverted down some random streets
139: [04:20:56] <Kingy> ended up in the hood
140: [04:21:04] <Colin[pi]> :\
141: [04:21:13] <Colin[pi]> i'm not even sure what the hood over there would look like
142: [04:21:22] <Kingy> all of a sudden we come out and there are ~50 cops/swat
143: [04:21:31] <Kingy> just blocking off this area
144: [04:21:47] <Colin[pi]> wow your clench factor must have been over 9000
145: [04:21:48] <Kingy> and we end up driving down this extremely dodgy area with a bunch of young guys milling around
146: [04:22:02] <Kingy> got the fuck out of there pretty fast lol
147: [04:22:21] <Colin[pi]> yeaaaaahhh I'm gonna need you to go ahead and.... floor it
148: [04:22:28] * Ryan-Toast quit (Quit: Ryan-Toast)
149: [04:22:29] <Kingy> locked the doors lol
150: [04:22:38] <Kingy> well we couldn't floor it, coz there were cars everywhere
151: [04:22:42] <Colin[pi]> oic
152: [04:22:53] <Colin[pi]> yeah it's weird in other countries because the parameters are all different
153: [04:23:01] <Colin[pi]> things can get pear shaped pretty quick
154: [04:23:19] <Kingy> there must've been a lot of unrest that night
155: [04:23:26] <Kingy> coz i was looking the next day and found a few headlines
156: [04:23:30] <Kingy> "Forty five injured in protests demanding to free Sheikh Ali Salman"
157: [04:23:42] <Colin[pi]> :(
158: [04:24:38] <Colin[pi]> Kingy: one time in the US, I was in Phoenix AZ
159: [04:24:45] <Colin[pi]> and we got lost in the hire car
160: [04:24:52] <Colin[pi]> so we're driving around and around
161: [04:25:01] <Colin[pi]> and I see this supermarket
162: [04:25:12] <Colin[pi]> so I thought we should stop to look for a map book or something
163: [04:25:17] <Colin[pi]> this was pre common GPS
164: [04:25:23] <Colin[pi]> so I walk into this place
165: [04:25:44] <Colin[pi]> and every single fucking person, except me, and a *cop* stationed at the checkouts, are hispanic
166: [04:25:47] * Stomach has joined #silverstripe
167: [04:25:59] <Kingy> lolol
168: [04:26:04] <Colin[pi]> and they all look at me like "...DAFUQ you doing here bro?"
169: [04:26:19] <Colin[pi]> they even had la cucuracha playing on the radio, I shit you not
170: [04:26:25] <Colin[pi]> it felt like I was in a cartoon
171: [04:26:36] <Kingy> rofl
172: [04:26:44] <Kingy> apparently they're pretty good here though
173: [04:26:47] <Kingy> both the cops and protestors
174: [04:26:57] * nontgor has joined #silverstripe
175: [04:27:01] <Kingy> if they see you're white, and look lost they'll turn you around and point you in the right direction
176: [04:27:10] <Kingy> unless you have a camera, in which case the cops will probs beat you
177: [04:27:44] <Colin[pi]> so... tourist snaps are out?
178: [04:28:01] <Kingy> basically
179: [04:28:30] <Colin[pi]> did someone give you like a 101 class before you arrived of do's and don't's?
180: [04:29:54] <Kingy> nope lol
181: [04:29:57] <Colin[pi]> because that'd be my fear, doing something innocuous but pissing someone off
182: [04:30:05] <Kingy> i spent a lot of time on google the last few months
183: [04:30:13] <Colin[pi]> haha good plan
184: [04:30:29] <Kingy> yeah half my gfs degree is in middle eastern politics so she had a pretty good idea
185: [04:30:40] <Kingy> i have no idea you're not supposed to make eye contact with woman in the full burka
186: [04:30:44] <Colin[pi]> oh that's handy
187: [04:31:35] <Colin[pi]> there's always weird things in each country that you don't know about but might be normal in your own
188: [04:31:59] <Kingy> well yeah exactly
189: [04:32:08] <Colin[pi]> like you know that sign you make with your hand like "ok", with the thumb and pointer finger in a circle, and the other fingers sticking out?
190: [04:32:15] <Kingy> but so far it seems most people here are pretty chill so that's good
191: [04:32:29] <Kingy> lolol
192: [04:32:33] <Kingy> o god don't shoot
193: [04:32:40] <Colin[pi]> Kingy: that gesture with your hand in brazil is really offensive
194: [04:32:54] <Colin[pi]> luckily I dont think I used it there until someone told me first
195: [04:35:47] <Colin[pi]> Kingy: are you working from over there yet?
196: [04:36:43] <Kingy> yep, have been for a week
197: [04:36:46] <Colin[pi]> nice
198: [04:37:29] <Kingy> yeah it's not bad
199: [04:37:41] <Kingy> just work during the day and then have the stand-up meeting at 10pm lol
200: [04:51:33] * cloph_away has joined #silverstripe
201: [04:51:54] * cloph quit (Ping timeout: 245 seconds)
202: [04:59:20] * mobiusnz quit (Quit: Leaving.)
203: [05:15:03] <Colin[pi]> Kingy: I ordered a Motoko Kusanagi figure when I was drunk like 4 months ago, arrived today from Tokyo... I love how the Japanese have their priorities straight. This is the only illustration in the leaflet: http://i.imgur.com/0uNdZTj.jpg
204: [05:15:29] <Kingy> HA!
205: [05:15:44] <Colin[pi]> "and this is how you make the boobs bigger"
206: [05:16:01] <Kingy> lol fantastic
207: [05:16:48] * benjhocking quit (Quit: Leaving.)
208: [05:17:42] * benjhocking has joined #silverstripe
209: [05:17:53] * Kingy is now known as Kingy[a]
210: [05:18:51] * jedateach has left #silverstripe
211: [05:20:04] * praveen has joined #silverstripe
212: [05:20:45] <nickboo> Can anyone tell me why /admin/pages would redirect back to the login screen with "You're logged in as Default Admin."?
213: [05:21:13] <nickboo> I've tried debugging through the code but I get wrapped around the axles at errorcontrolchain
214: [05:23:00] <nickboo> the only google results seem to have solved the problem with a reinstall :/
215: [05:31:48] * vebb is now known as veb
216: [05:39:36] * guci0 has joined #silverstripe
217: [05:39:39] <guci0> Morning!
218: [05:40:16] <Colin[pi]> hey guci0
219: [05:49:39] * veb is now known as vebb
220: [05:50:31] * benjhocking1 has joined #silverstripe
221: [05:52:04] * benjhocking quit (Ping timeout: 264 seconds)
222: [06:03:21] * r_hector has joined #silverstripe
223: [06:05:40] * vebb is now known as veb
224: [06:07:52] * praveen quit (Ping timeout: 246 seconds)
225: [06:15:38] * veb is now known as vebb
226: [06:18:40] * Error404NotFound has joined #silverstripe
227: [06:18:45] * Error404NotFound quit (Changing host)
228: [06:18:45] * Error404NotFound has joined #silverstripe
229: [06:23:44] * Colin[pi] quit ()
230: [06:26:24] * Shrike_Finland1 quit (Quit: Leaving.)
231: [06:34:38] * vebb quit (Quit: veb-irc: quit)
232: [06:35:50] * Stomach quit (Quit: bye)
233: [06:45:29] * aragonne has joined #silverstripe
234: [06:45:30] * praveen has joined #silverstripe
235: [06:49:13] * WandL quit (Quit: My Mac has gone to sleep. ZZZzzz…)
236: [06:51:59] <praveen> @nickboo are you there?
237: [06:52:32] <praveen> you had problem with admin page redirection to login
238: [06:52:37] <praveen> is it solved
239: [06:52:48] <praveen> or you in sleep
240: [06:53:23] <praveen> Sorry, Are you in sleep?
241: [06:57:42] * Shrike_Finland has joined #silverstripe
242: [06:59:08] * Shrike_Finland1 has joined #silverstripe
243: [06:59:08] * Shrike_Finland quit (Read error: Connection reset by peer)
244: [07:00:59] * Shrike_Finland has joined #silverstripe
245: [07:00:59] * Shrike_Finland1 quit (Read error: Connection reset by peer)
246: [07:04:23] * aragonne quit (Quit: aragonne)
247: [07:25:43] * wmk has joined #silverstripe
248: [07:26:45] * mobiusnz has joined #silverstripe
249: [07:31:49] <praveen> is there a other way of markPartialTree i.e dept frist traversal in Hierarchy.php
250: [07:33:34] <praveen> If I opened a page in admin which is of depth 5, the intial treeview l stops at level 2
251: [07:34:59] <praveen> Is it possible to get the all the parent nodes and the selected node with treeview
252: [07:50:34] <Eliseth> Morning
253: [07:54:53] * Shrike_Finland quit (Quit: Leaving.)
254: [08:10:44] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
255: [08:15:06] * arnhoe has joined #silverstripe
256: [08:32:19] * lerni_ has joined #silverstripe
257: [08:32:34] * mobiusnz quit (Quit: Leaving.)
258: [08:42:49] * mento has joined #silverstripe
259: [08:50:31] * aragonne has joined #silverstripe
260: [09:00:55] * aragonne quit (Quit: aragonne)
261: [09:08:28] * kinglozzer has joined #silverstripe
262: [09:15:11] * mento quit (Quit: Page closed)
263: [09:18:05] * aragonne has joined #silverstripe
264: [09:26:58] * cloph_away is now known as cloph
265: [09:30:13] * r3v3rb has joined #silverstripe
266: [09:30:18] <r3v3rb> good morning
267: [09:30:54] <r3v3rb> is it possible to define a single silverstripe-cache for a site that doesn’t create sub-folders for development machines?
268: [09:31:39] <r3v3rb> I use two machines and each has its own cache folder because each machine has its own mamp server running on it
269: [09:38:57] <kinglozzer> r3v3rb: You can define it in _ss_environment I think, if that's any use?
270: [09:39:08] <r3v3rb> kinglozzer, hmm
271: [09:39:28] <r3v3rb> i’ll take a look again at the _ss_environment stuff
272: [09:40:00] <r3v3rb> not the end of the world but would save me ‘syncing’ files between servers
273: [09:43:07] * praveen quit (Ping timeout: 246 seconds)
274: [09:56:34] * Guits has joined #silverstripe
275: [09:57:00] * praveen__ has joined #silverstripe
276: [09:58:51] * Pysnaank has joined #silverstripe
277: [09:59:19] <Pysnaank> fookn snaan oo'seed.
278: [09:59:39] <Pysnaank> you too kinglozzer ?
279: [10:00:17] <kinglozzer> Pysnaank: It took me a good 30 seconds to translate that
280: [10:00:21] <kinglozzer> Nah it's like 2 degrees here
281: [10:03:37] * praveen__ quit (Quit: Page closed)
282: [10:06:53] <Pysnaank> kinglozzer: it keeps switch'n on and off owa heer.
283: [10:07:05] <Pysnaank> ps, welcome to my world :P
284: [10:10:19] <kinglozzer> Pysnaank: Much like the shitty 1&1 domain control panel I'm tryna use ><
285: [10:13:56] <kinglozzer> "Oh, you wanna change an A record? SORRY, GOTTA FILL OUT DEM MX RECORDS TOO"
286: [10:13:59] <kinglozzer> I hate domains.
287: [10:38:56] <Pysnaank> lol, mx records wut
288: [10:39:02] <Pysnaank> who the fuck wants email anyway?
289: [10:42:28] <kinglozzer> Exactly! It wants me to fill out a priority field... so... just guess a big number, right? :P
290: [10:55:43] <Pysnaank> kinglozzer: well, if no mail comes to that domain, then it doesn't matter.
291: [10:58:33] <kinglozzer> Pysnaank: Unfortunately it does, but there's only one MX record so I'm guessing priority ain't gonna matter
292: [10:58:45] <Pysnaank> so I just found this article on the internet where someone was all "TIL what those nasty smelling white chunks that you cough up somtimes are"
293: [10:58:58] <Pysnaank> so then I read it thinking 'wtf?'
294: [10:59:17] <Pysnaank> Now I have learnt that 'tonsil stones' are apparently a common thing.
295: [10:59:20] <Pysnaank> and I'm all D:
296: [10:59:28] <Pysnaank> I've never experienced ever.
297: [10:59:40] <Pysnaank> (thus my wtf to 'things you cough up')
298: [10:59:46] <Pysnaank> fuck you curiosity!
299: [10:59:59] <kinglozzer> lol wut
300: [11:00:05] <Pysnaank> ikr!
301: [11:00:10] <kinglozzer> Yeah I've never had that either :P
302: [11:00:45] <Pysnaank> apparently when mucus, phlegm, dead cells, food, and shit get caught in your 'tonsil pockets' they eventually calcify into a 'stone'
303: [11:00:50] <Pysnaank> which sounds disgusting.
304: [11:00:59] <Pysnaank> And I've never had, despite still having tonsils.
305: [11:01:20] <Pysnaank> Maybe it's just an American thing, or something smokers get
306: [11:01:22] <Pysnaank> idk
307: [11:01:38] <kinglozzer> nice...
308: [11:01:41] <Pysnaank> I didn't wanna know any more about 'cauliflower shaped' disgusto things
309: [11:01:51] <Pysnaank> grossed myself out.
310: [11:02:00] <Pysnaank> That's what I get for being bored at work :(
311: [11:02:20] <Pysnaank> worst part: this was a link from an article about Tim Berners-Lee inventing the internet.
312: [11:02:32] <Pysnaank> How the fuck the two are related in any way, I dunno.
313: [11:02:59] * ThePeach has joined #silverstripe
314: [11:03:16] * mahfuz quit (Ping timeout: 246 seconds)
315: [11:03:33] <Pysnaank> fuck'n spam links. "Interested in technology? Like this article? Maybe you'd also like to read other articles on our website about how disgusting the huamn body can be! CLICK HERE'
316: [11:03:39] <Pysnaank> TO LEARN MORE
317: [11:05:18] <Pysnaank> https://www.youtube.com/watch?v=SMTz9nIUkGc
318: [11:09:03] <Pysnaank> kinglozzer: so long as the priority you enter in your bogus field is larger than the actual one, should be infe.
319: [11:09:04] <Pysnaank> fine*
320: [11:09:40] <Pysnaank> I on the other hand, cannot figure out at all how the fuck my webserver is authenticating people :<
321: [11:12:59] <Pysnaank> kinglozzer: how does it happen?
322: [11:14:21] <r3v3rb> hmm, attach a file from File::get()->byID to an email - as simple as $e->attachFile(File::get()->byID($id)->FileName); ?
323: [11:14:33] <kinglozzer> Pysnaank: There's only one record, it was missing a priority for some reason
324: [11:14:44] <kinglozzer> Pysnaank: How does authentication happen? D:
325: [11:15:00] <Pysnaank> kinglozzer: indeed, how!
326: [11:15:07] <kinglozzer> r3v3rb: Yeah I think that's right
327: [11:15:16] <r3v3rb> kinglozzer: I shall try now :D
328: [11:15:21] <Pysnaank> r3v3rb: test.
329: [11:15:26] <r3v3rb> yar Pysnaank
330: [11:15:29] <Pysnaank> should be. but idk.
331: [11:15:32] <Pysnaank> read docs
332: [11:15:57] * aragonne quit (Quit: aragonne)
333: [11:16:04] <Pysnaank> mmm, just wants filename.
334: [11:16:12] <Pysnaank> should do it.
335: [11:16:18] <kinglozzer> r3v3rb: Confirmed as working: $file->RelativeLink()
336: [11:16:23] <kinglozzer> (from an old project)
337: [11:16:37] <kinglozzer> Which is identical to ->Filename I think
338: [11:16:40] <r3v3rb> $file being the object ?
339: [11:16:44] <kinglozzer> Yeah
340: [11:16:45] <Pysnaank> http://api.silverstripe.org/3.1/source-class-Email.html#191-200
341: [11:16:46] <Pysnaank> yush
342: [11:16:52] <r3v3rb> got it
343: [11:16:59] <kinglozzer> public function RelativeLink() { return $this->Filename; }
344: [11:17:03] <kinglozzer> oh
345: [11:17:03] <kinglozzer> :P
346: [11:17:43] <r3v3rb> :P
347: [11:17:43] <Pysnaank> ywah but...
348: [11:17:45] <Pysnaank> safer.
349: [11:17:51] <Pysnaank> just coz
350: [11:17:59] * r3v3rb has left #silverstripe
351: [11:18:28] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3802
352: [11:18:53] <kinglozzer> I'm claiming this as a "UX improvement", most important fields (that would've been first) are now last - save the best 'till last and all that
353: [11:20:49] * r3v3rb has joined #silverstripe
354: [11:20:55] <r3v3rb> woot! where did i go?
355: [11:21:30] <Pysnaank> polyderpism
356: [11:21:47] <r3v3rb> yup with my pdt payment/email confirmation/fileattachment
357: [11:21:55] <Pysnaank> yup
358: [11:22:09] * Sander has joined #silverstripe
359: [11:22:17] <Pysnaank> Maybe I'll set up an online shop. I'll sell...
360: [11:22:20] <Pysnaank> hmm...
361: [11:22:26] <r3v3rb> pys!
362: [11:22:29] <Pysnaank> something digital!
363: [11:22:52] <Pysnaank> yes, so then I can make money with robots. becauase everything can be automated, and I'll never be out of stock 'coz copy!
364: [11:23:03] <Pysnaank> yush.
365: [11:23:08] <Pysnaank> now what to sell?
366: [11:23:39] <Pysnaank> idk, but so long as it pays for the domain, host and merchant account with a bit left over, should be fine.
367: [11:23:39] <Pysnaank> yush.
368: [11:23:48] <Pysnaank> books? seems easy enough.
369: [11:24:44] <Pysnaank> I wonder if I could build a robot that basically automates folks' customised cards. It'll print them, put them in envelopes, and slide then down a chute for a mailman to pick up. Yes.
370: [11:24:49] <Pysnaank> I'll call it... space cow!
371: [11:25:01] <Pysnaank> cosmos carova.
372: [11:25:04] <Sander> Hey does anyone have any experience with implementing a global userform (sidebar), using the Userforms module?
373: [11:25:19] <Pysnaank> Sander: make a page.
374: [11:25:42] <Pysnaank> sidebar must get this page, instantiate the controller, dump the form.
375: [11:26:06] <Pysnaank> you might need to customise the userform (so subclass that is) to control the redirect a bit better.
376: [11:26:18] <Pysnaank> or ensure it's always submitted via ajax, if you want users to remain on the same page.
377: [11:27:09] <Sander> Hmm well I tried this, it threw an error though https://bpaste.net/show/768c0e0f406d
378: [11:27:27] <kinglozzer> Does anyone have any experience of SwipeStripe?
379: [11:27:30] <kinglozzer> http://swipestripe.com/
380: [11:27:34] <Pysnaank> yeah, but that's only half the story Sander
381: [11:27:41] <Pysnaank> also, stop using new.
382: [11:28:07] <Sander> Yeah sorry, its form a 2.4 SS site im updating. Didnt even create this site in the first palce
383: [11:28:56] <Pysnaank> return UserDefinedForm_Controler::create(UserDefinedForm::get()->byID(SiteConfig::get()->first()->UserFormPageID))->Form();
384: [11:28:58] * jeroenem has joined #silverstripe
385: [11:29:00] <Pysnaank> oh
386: [11:29:01] <Pysnaank> uhh
387: [11:29:07] <Pysnaank> well basically that.
388: [11:29:15] <Sander> Wow thanks dude, i'll try that
389: [11:29:18] <Pysnaank> Don't return the controller, when you want the form.
390: [11:29:26] <r3v3rb> Pysnaank: guess what! pm pm pm me!
391: [11:29:27] <Pysnaank> Sander: yeah well that won't work in 2.4
392: [11:29:37] <Pysnaank> r3v3rb: l 2 /query
393: [11:29:48] <Sander> On the existing site we used $QuickContactForm.Form in templates
394: [11:29:50] <Sander> to get the form
395: [11:30:33] <Pysnaank> yeah, well that should work. I can't see why your code is erroring, but I imagine the error itself should tell you why.
396: [11:30:35] * lerni_ quit (Remote host closed the connection)
397: [11:31:26] <Sander> The error is "Please implement a getFormField() on your EditableFormClass EditableFormField" , which confuses me quite a bit
398: [11:32:57] <Pysnaank> Sander: if I understand correctly you've upgraded the site to SSv3.1?
399: [11:33:14] <Pysnaank> you need to update all modules also.
400: [11:33:50] <Sander> Yes sorry. I have updated to 3.1.8, and have update the modules aswell
401: [11:34:28] <Pysnaank> yeah, that error is to do with userforms itself
402: [11:34:36] <Pysnaank> does it work on the page?
403: [11:34:48] <Pysnaank> if you go to the page it's trying to pull the form from?
404: [11:34:57] * Shrike_Finland has joined #silverstripe
405: [11:35:23] <Sander> Nope same error on the form page itself
406: [11:36:37] <Pysnaank> yeah. Check the custom code (ie, under mysite) to see if original author implemented a custom editable form field.
407: [11:39:38] * Shrike_Finland quit (Client Quit)
408: [11:42:51] <Sander> Alright thx, will give it a go
409: [11:43:44] * Copperis has joined #silverstripe
410: [11:47:15] <Copperis> Hello. Is it possible to modify a field's value before showing it? Somewhat like this: TextField::create('Field1')->setValue('test'). This way actually doesn't work, it displays the set value.
411: [11:47:51] <Copperis> *displays value set in db
412: [11:50:31] * r3v3rb sad MAMPPro sometimes misbehaves with postix on OSX
413: [11:50:33] <Sander> Im no expert, but are you thinking about something like onAfterWrite?
414: [11:52:43] <Pysnaank> Copperis: how do you mean...
415: [11:53:05] <Pysnaank> you want to change the value IN THE DB before you show it?
416: [11:53:20] <Pysnaank> wouldn't it make far more sense to alter the value before it gets written in that case?
417: [11:53:36] <Copperis> I want to change the value only for displaying
418: [11:53:38] <Pysnaank> What are you trying to do? This sounds very X=>Y question-y.
419: [11:53:44] <Sander> Btw Pysnaank I found the userforms error. There was an inputfield set on the form, which did no longer exist in the new version of the module, if that makes sense
420: [11:54:04] <Pysnaank> Sander: input field... hmm.
421: [11:54:06] <Pysnaank> interesting!
422: [11:54:23] <Pysnaank> change it to EdittableTextField and all should be good? Idk.
423: [11:54:29] <Pysnaank> I guess you fixed it :)
424: [11:54:34] <Pysnaank> I'm glad.
425: [11:54:45] <Pysnaank> Copperis: so then make a getter for it.
426: [11:54:50] <Copperis> actually I wan't to apply trim() to the values, but store them untrimmed
427: [11:54:53] * babak_ quit (Quit: Connection closed for inactivity)
428: [11:56:11] <Pysnaank> public function getThatField(){return trim($this->data()->ThatFeild); }
429: [11:56:13] <Pysnaank> or something
430: [11:56:50] <Pysnaank> or name it differently if you need it untrimmed sometimes.
431: [11:57:10] <Pysnaank> public function getTrimmedField(){ return trim($this->Field); }
432: [11:57:52] <Copperis> yeah I guess I'll go with a getter for trimmed, cause it's only needed for display in the cms
433: [11:58:30] <Pysnaank> Yeah well... if it's for display in the cms... if you're populating a field with it, it'll save that value trimmed on next save.
434: [11:58:34] <Pysnaank> so be careful with it.
435: [11:59:22] * r_hector quit (Quit: Leaving.)
436: [11:59:41] * Shrike_Finland has joined #silverstripe
437: [12:00:16] * Shrike_Finland1 has joined #silverstripe
438: [12:01:24] * lerni_ has joined #silverstripe
439: [12:04:01] <Sander> Pysnaank: Sorry for not replying mate hehe. Yeah I fixed it. It was caused by not having installed the spamprotection module, which had appearently been used.
440: [12:04:04] * lerni_ quit (Read error: Connection reset by peer)
441: [12:04:30] * lerni_ has joined #silverstripe
442: [12:04:49] * Shrike_Finland quit (Ping timeout: 272 seconds)
443: [12:05:08] <Copperis> i have code that adds whitespace on save, so saving trimmed values is fine
444: [12:07:28] <Pysnaank> I'm confused as to what good the whitespace is at all then :<
445: [12:07:37] <Pysnaank> But I guess you have your reasons.
446: [12:07:56] * danbroooks has joined #silverstripe
447: [12:08:53] * lerni_ quit (Ping timeout: 240 seconds)
448: [12:09:05] <Copperis> yup. Theres an text-image generating script and whitespace is added to get the right position
449: [12:09:28] <Copperis> and the whitespace is calculated, no need to show it to the user
450: [12:10:06] * wmk quit (Read error: No route to host)
451: [12:10:07] * Werner_2_ has joined #silverstripe
452: [12:15:55] * LoveDuckie has joined #silverstripe
453: [12:18:30] * lerni_ has joined #silverstripe
454: [12:22:41] <Copperis> so I have field which uses a custom getter, like this: TextField::create('CustomGetter'); How can I get it's user modified value in onBeforeWrite() ?
455: [12:22:43] * danbroooks quit (Ping timeout: 246 seconds)
456: [12:23:08] <Copperis> currently it return the value from the getter
457: [12:23:31] * huberd has joined #silverstripe
458: [12:31:37] <kinglozzer> Copperis: Why do you need to store the whitespace in the database? Wouldn't it be easier to add it just before you generate the image?
459: [12:34:38] <Copperis> yeah, it probably would be better, thanks. Forgot about that part completely
460: [13:01:14] <r3v3rb> I have two sub pages of page, I then need to update either one’s sub $db fields at any given time - when I get the record via Page::get()->byID($id); I see my $db fields as Customfield_Lazy in the records fields and trying to do $p->update(‘customfield’ => ‘xyz’); $p->write(); doesn’t update the fields :\ any ideas?
461: [13:02:03] <r3v3rb> Pysnaank: ^^ ;) hellllllp
462: [13:02:35] * hailwood quit (Read error: Connection reset by peer)
463: [13:11:01] <Guits> How can i change a page type to being dataobject.. (not SiteTree)
464: [13:22:33] <r3v3rb> ignore me ^^ it’s working needed to update dev/build ;)
465: [13:26:25] * huberd quit (Ping timeout: 246 seconds)
466: [13:34:11] <Pysnaank> r3v3rb: wut?
467: [13:34:22] <r3v3rb> Pysnaank: nothing fixed it meself :D
468: [13:34:29] <r3v3rb> was being a spaz
469: [13:34:45] <Pysnaank> i c
470: [13:35:22] <r3v3rb> i want to know is there a way to debug template parsing - step by step in phpstorm
471: [13:41:39] <Pysnaank> perhaps ask zauberfisch if he's around :>
472: [13:46:07] <zauberfisch> hmm?
473: [13:46:15] <zauberfisch> oh
474: [13:47:32] <zauberfisch> if you try to debug the template engine, http://memecrunch.com/meme/PORN/you-re-going-to-have-a-bad-time/image.png
475: [13:49:00] <zauberfisch> I mean sure, you can set php breakpoints in SSTemplateParseException, but not sure that will be useful
476: [13:49:44] <Werner_2_> zauberfisch, you're gonna have a bed time?
477: [13:49:49] * Werner_2_ is now known as wmk
478: [13:50:18] * UndefinedOffset has joined #silverstripe
479: [13:58:49] * spronk2 quit (Quit: spronk2)
480: [14:02:25] * Werner_2_ has joined #silverstripe
481: [14:02:41] * wmk quit (Read error: No route to host)
482: [14:08:21] <kinglozzer> lol zauberfisch
483: [14:09:09] <kinglozzer> r3v3rb: No step-by-step way that I know of, but looking at the cached templates is helpful sometimes
484: [14:14:33] <r3v3rb> kinglozzer: well step into kinda worked but was painful
485: [14:15:16] <r3v3rb> zauberfisch: i did have a bad time - toooooo many clicks
486: [14:15:53] <kinglozzer> r3v3rb: I don't use phpstorm, so I dunno what that is :P
487: [14:16:36] <kinglozzer> It's on my "to try again" list
488: [14:16:36] <r3v3rb> :D
489: [14:16:46] <kinglozzer> (used it before, didn't like it 'cause ugly)
490: [14:16:48] <kinglozzer> :P
491: [14:17:23] <r3v3rb> it’s very handy as it has a nice little ss addon for the templating engine for autocomplete and such
492: [14:17:48] <r3v3rb> kinglozzer: what you using that isn’t ugly then?
493: [14:18:11] <kinglozzer> r3v3rb: Just looking at the home page, it looks much less ugly than the last time I tried it (I'm sure there are themes or something)
494: [14:18:17] <kinglozzer> Sublime text
495: [14:18:18] <kinglozzer> <3
496: [14:19:20] * Werner_2_ is now known as wmk
497: [14:19:40] <wmk> kinglozzer, sublime is afaik just a text editor, phpstorm is an IDE
498: [14:24:36] <r3v3rb> wmk: true
499: [14:24:57] <r3v3rb> phpstorm is ‘like having a proper wife’ it does everything I tell it ;)
500: [14:26:40] <wmk> r3v3rb, how epic
501: [14:27:00] <r3v3rb> wmk: as long as my wife doesn’t see that comment i’m safe
502: [14:27:15] <wmk> or the kids ;)
503: [14:28:25] * catcher has joined #silverstripe
504: [14:29:24] <kinglozzer> r3v3rb: I'm so confused
505: [14:29:30] <kinglozzer> Trying to set up a project from existing files
506: [14:29:39] <kinglozzer> It's asking me about adding a remote server
507: [14:29:43] <kinglozzer> I DON'T WANNA D:
508: [14:29:49] <r3v3rb> dont then
509: [14:29:54] <catcher> phpstorm?
510: [14:29:57] <kinglozzer> Yeah
511: [14:30:05] <catcher> Yeah, you can skip that.
512: [14:30:09] <r3v3rb> aye
513: [14:30:16] <catcher> drove me crazy for a bit too.
514: [14:30:37] <kinglozzer> What do I pick then? "Source files are local, no web server configured"? I picked "Source files are local, web server is installed locally"
515: [14:31:37] <catcher> kinglozzer, correct (assuming you have a local web server in a location that's separate from the phpstorm dir)
516: [14:31:53] <kinglozzer> catcher: So, the first one?
517: [14:32:37] <wmk> kinglozzer, yup, the first time this whole "project" stuff is confusing
518: [14:32:46] <catcher> kinglozzer, the one you picked is fine
519: [14:32:53] <wmk> but it's worth...
520: [14:33:17] <kinglozzer> Right, well the "no web server configured" option won't actually let me pick a folder, so I'll go with the one I originally picked :P
521: [14:33:19] <wmk> kinglozzer, isn't there a "create project from directory" option in phpstorm?
522: [14:33:31] <kinglozzer> wmk: "Create new project from existing files"
523: [14:33:56] <wmk> using idea i don't have this option, but i loved it in phpstorm
524: [14:35:30] <kinglozzer> OH I SEE
525: [14:35:53] <kinglozzer> I had to click the "Project root" button at the top after picking a folder before I could click next
526: [14:36:01] <catcher> kinglozzer, oh yeah, there's that
527: [14:40:21] <zauberfisch> what is this nonsense
528: [14:40:33] <zauberfisch> packagist tells me that there is a 3.x-dev which is 3.2
529: [14:40:44] <zauberfisch> but composer tells me there is no 3.2
530: [14:40:49] <zauberfisch> "silverstripe/framework": "3.2.*@dev"
531: [14:40:53] <catcher> zauberfisch, minimum-stability set?
532: [14:41:00] <zauberfisch> - The requested package silverstripe/framework 3.2.*@dev could not be found.
533: [14:41:04] <zauberfisch> catcher: yes. dev
534: [14:41:07] <catcher> mm
535: [14:41:28] <zauberfisch> damn those semvers
536: [14:44:19] <kinglozzer> zauberfisch: cms requires "silverstripe/framework": "3.2.x-dev", does that work?
537: [14:44:51] <kinglozzer> afaict they should be identical... but worth a shot
538: [14:45:56] * Error404NotFound has joined #silverstripe
539: [14:46:10] <zauberfisch> no
540: [14:46:13] <zauberfisch> doesn't work either
541: [14:47:22] * muskie9 has joined #silverstripe
542: [14:47:34] <Pysnaank> snow and ice outside, perfect time for ICE CREAM!
543: [14:47:37] * Pysnaank nom nom noms
544: [14:49:00] <Pysnaank> [13:49] <Werner_2_> zauberfisch, you're gonna have a bed time?
545: [14:49:04] <Pysnaank> fantastic pun wmk :D
546: [14:49:15] * wmk quit (Ping timeout: 264 seconds)
547: [14:49:51] <zauberfisch> I don't seem to be able to checkout anything but 3.1
548: [14:49:53] <zauberfisch> this is weird
549: [14:50:00] <zauberfisch> I must be doing something wrong
550: [14:50:04] * Sander quit (Ping timeout: 246 seconds)
551: [14:52:49] <Eliseth> SS is throwing the following error: [Notice] Uninitialized string offset: 0 - Line 416 in /Users/jpvanderpoel/Documents/Repositories/johnny-loco/htdocs/framework/control/Director.php
552: [14:53:20] <Eliseth> The line is: if($url[0] != "/") $url = Director::baseURL() . $url;
553: [14:53:30] <Eliseth> baseURL is defined...
554: [14:53:38] <Eliseth> Any idea?
555: [14:54:18] <zauberfisch> Eliseth: are you calling Director::absoluteURL('') somewhere?
556: [14:54:26] <zauberfisch> Eliseth: or perhaps calling it with an empty variable
557: [14:56:16] <Eliseth> hmmm
558: [14:58:15] <Pysnaank> Eliseth: update.
559: [14:58:29] <Eliseth> update?
560: [14:58:53] <zauberfisch> god damn it. this is so anoying
561: [14:58:57] <Pysnaank> or, what version are you using?
562: [14:59:07] <zauberfisch> would anyone mind trying to require ss 3.2 please?
563: [14:59:07] <Pysnaank> zauberfisch: having a bad pron time?
564: [14:59:17] <zauberfisch> hmm?
565: [14:59:24] <Eliseth> 3.1.2
566: [14:59:51] <Pysnaank> Eliseth: and look through the call stack, what is the variable being passed in?
567: [15:00:04] <Pysnaank> It's probably as zauberfisch suggests.
568: [15:00:08] <Eliseth> What is a call stack?
569: [15:00:16] <Pysnaank> the bit underneath the error
570: [15:00:27] <Pysnaank> aka stack trace.
571: [15:00:50] <zauberfisch> - silverstripe/cms 3.x-dev requires silverstripe/framework 3.2.x-dev
572: [15:00:51] <zauberfisch> dafuq
573: [15:01:01] <zauberfisch> -> no matching package found.
574: [15:03:20] <Eliseth> http://sspaste.com/paste/show/54bd1c865fe1e
575: [15:13:35] * Shrike_Finland1 quit (Quit: Leaving.)
576: [15:21:45] <zauberfisch> wow. 3.2 release will break a lot
577: [15:22:12] <zauberfisch> so many modules are locked to 3.1 D:
578: [15:23:38] * slievr has joined #silverstripe
579: [15:27:27] <catcher> Is there a preliminary upgrade guide, or a list of non-bc changes for 3.2?
580: [15:27:52] * slievr quit (Ping timeout: 246 seconds)
581: [15:28:05] <kinglozzer> catcher: https://github.com/silverstripe/silverstripe-framework/blob/3/docs/en/04_Changelogs/3.2.0.md
582: [15:28:20] <kinglozzer> and https://github.com/silverstripe/silverstripe-framework/blob/3/docs/en/04_Changelogs/rc/3.2.0.md
583: [15:28:31] <kinglozzer> (dunno why there are 2 docs, but...)
584: [15:28:54] <zauberfisch> finnally getting somewhere
585: [15:29:07] <zauberfisch> but with a hardcoded commit hash
586: [15:29:22] <zauberfisch> and forking 5 modules
587: [15:29:25] <zauberfisch> "silverstripe/framework": "dev-master#33b18ce99800028c1e7f16e5749da6d337a288a8",
588: [15:29:56] <catcher> kinglozzer, nice, thanks
589: [15:31:22] <Pysnaank> [15:28] <kinglozzer> (dunno why there are 2 docs, but...)
590: [15:31:30] <Pysnaank> but... you pasted the same link twice.
591: [15:31:41] <kinglozzer> Pysnaank: look closely
592: [15:31:44] <kinglozzer> :P
593: [15:32:19] <Pysnaank> oh, one is rc
594: [15:32:25] <Pysnaank> yeah, gotcha. weird.
595: [15:32:33] <Pysnaank> it's all about consistency man!
596: [15:32:37] <r3v3rb> arghhh:
597: [15:32:38] <r3v3rb> API: Removed URL routing by controller name
598: [15:32:49] <Pysnaank> urgh wut
599: [15:32:50] <r3v3rb> now I have to specify routes.yaml
600: [15:33:01] <Pysnaank> oh, the default * root
601: [15:33:04] <Pysnaank> err, route*
602: [15:33:41] <Pysnaank> yeah that's been coming for a while r3v3rb
603: [15:33:49] <r3v3rb> not too bad to be honest
604: [15:33:53] <Pysnaank> but thankfully routes.yml isn't a hard thing.
605: [15:34:01] <Pysnaank> just HurrDurr: *
606: [15:34:07] <Pysnaank> iirc
607: [15:34:21] <Pysnaank> * basically means "controller name is request name"
608: [15:34:35] <Pysnaank> or sommet liek thaat
609: [15:35:45] <nontgor> not quite done but my attempt at threaded comments against the standard simple theme https://github.com/silverstripe/silverstripe-comments/issues/28#issuecomment-70353418
610: [15:37:07] <Pysnaank> nice nontgor :>
611: [15:38:33] <nontgor> Pysnaank: Thanks. Still some minor JS issues and I havent tested all the possible config options other than those related to threading on/off of moderation on/off
612: [15:44:27] <nontgor> felt unwell today so decided to dist-upgrade my laptop. I was hoping for an early night....
613: [15:47:31] <Pysnaank> hahaha
614: [15:47:38] <Pysnaank> fuck'n... ubuntu why.
615: [15:47:43] <Pysnaank> why does anyone ever use it D:
616: [15:48:05] <Pysnaank> Debian is for servers, rolling updates are for desktops!
617: [15:48:17] <Pysnaank> arch or Manjaro, ftw.
618: [15:49:06] * Pysnaank tries to kick start another iteration of the age old 'no my distro is better' debate - it's been a while since I've seen one of these :P
619: [15:49:43] <Pysnaank> It's been a while since I looked at the distroscape. I hear there are some new ones out there based on chromeos or something?
620: [15:49:46] <Pysnaank> sounds like madness
621: [15:51:04] <zauberfisch> oh yay
622: [15:51:07] <zauberfisch> 3.2 is broken
623: [15:55:09] <jeroenem> is there a way to add some default text to a HtmlEditorField in the CMS?
624: [15:55:24] <jeroenem> like having a default h1 title sitting in there by default?
625: [15:55:32] <zauberfisch> oh. wait- that might have been my mistake
626: [15:55:43] <zauberfisch> jeroenem: 3 ways:
627: [15:56:15] <zauberfisch> private static $defaults = ['Content' => '<h1>awesome zauberfisch is awesome</h1>'];
628: [15:56:33] <zauberfisch> or use function populateDefaults() if you need dynamic content
629: [15:56:56] <zauberfisch> those 2 ways will only be called on object creation. so on creating a new page. not on saving and not on existing pages
630: [15:57:33] <zauberfisch> 3) in getCMSFields(): if (!$this->Content) { $this->Content = '<h1>awesome zauberfisch is awesome</h1>'; }
631: [15:57:41] <jeroenem> yay, thats what i need :)
632: [15:58:14] <jeroenem> thanks zauberfisch !
633: [16:04:25] * lerni_ quit ()
634: [16:07:40] * joelpittet has joined #silverstripe
635: [16:07:41] <Pysnaank> zauberfisch: unsurprising (3.2 broken) - it's still unstable afaik :>
636: [16:08:05] <Pysnaank> Also, did you or kinglozzer ever hear from Anselm about his idea of an e-conference?
637: [16:08:31] <kinglozzer> Pysnaank: Nope
638: [16:08:49] <Pysnaank> hmm. Might tweet @ him a bit more then.
639: [16:08:57] <Pysnaank> Seemed like it might be a good idea.
640: [16:09:17] <kinglozzer> zauberfisch: I was developing on 3.2 yesterday, seemed that dev/build alone doesn't clear config statics cache.. had to ?flush as well
641: [16:09:28] <kinglozzer> (though it might just be my env, didn't have time to investigate)
642: [16:14:24] <zauberfisch> kinglozzer: wasn't that the case as well in 3.1?
643: [16:14:50] <zauberfisch> kinglozzer: I've been flusing dev/builds for over a month now
644: [16:14:54] <kinglozzer> zauberfisch: Nah it was the template manifest that wasn't cleared on dev/build I think
645: [16:15:02] <zauberfisch> proabaly more several months
646: [16:15:12] <Pysnaank> no, I'm pretty sure dev/build would re-do the default config stuff too.
647: [16:15:15] <kinglozzer> zauberfisch: Like adding a new db field, /dev/build is enough on 3.1, but not 3
648: [16:15:28] <zauberfisch> hmmm
649: [16:15:46] <zauberfisch> I was on 3.1.x@dev and am convinced that I had to flush
650: [16:15:57] <Pysnaank> kinglozzer: so what you're telling me is that dev/build is almost entirely obsolete?
651: [16:16:12] <kinglozzer> I added a new DataObject & ModelAdmin, did a dev/build, my ModelAdmin appeared but then when I entered it I got an error because there were no db fields added ><
652: [16:16:15] <Pysnaank> the whole point of BUILD is to build the database, and if you need to flush to detect $db changes now...
653: [16:16:16] <Pysnaank> wtf
654: [16:16:23] <kinglozzer> Pysnaank: It's probably a blug
655: [16:16:25] <kinglozzer> blug
656: [16:16:28] <kinglozzer> lol
657: [16:16:34] <Pysnaank> blug blug blug
658: [16:16:51] <Pysnaank> blubb blubb blubb
659: [16:17:00] <Pysnaank> xD
660: [16:17:35] <kinglozzer> blug rolls off the tongue nicely
661: [16:17:45] <Pysnaank> quite
662: [16:17:55] <Pysnaank> fleature not quite though
663: [16:23:55] <kinglozzer> reglession
664: [16:28:30] * arnhoe quit ()
665: [16:38:13] * jenniferaslan has joined #silverstripe
666: [16:43:25] * joelpittet quit ()
667: [16:45:00] * wmk has joined #silverstripe
668: [16:49:08] * wmk quit (Ping timeout: 245 seconds)
669: [16:52:52] * babak_ has joined #silverstripe
670: [16:55:49] * cloph is now known as cloph_away
671: [16:59:40] * jeroenem quit (Quit: Page closed)
672: [17:06:59] * nontgor quit (Remote host closed the connection)
673: [17:09:09] * aragonne has joined #silverstripe
674: [17:17:15] * kinglozzer quit ()
675: [17:17:48] * DimiStripe has joined #silverstripe
676: [17:19:18] * aragonne quit (Quit: aragonne)
677: [17:24:07] <Pysnaank> I'll regless you in a minute if you're not careful kinglozzer
678: [17:29:17] * Pysnaank reglesses
679: [17:29:19] * Pysnaank quit ()
680: [17:30:14] * Guits quit (Ping timeout: 245 seconds)
681: [17:32:30] * Guits has joined #silverstripe
682: [17:39:37] <r3v3rb> how can I add a field at a certain place in a frontend form fieldlist based on an if statement
683: [17:40:03] <r3v3rb> tried ->push((field),’place’) and ->add etc etc
684: [17:40:47] <r3v3rb> doh
685: [17:44:59] <muskie9> r3v3rb there's ->insertBefore()/->insertAfter() iirc
686: [17:45:12] <r3v3rb> muskie9: hence my doh! :D
687: [17:46:58] * Err404NotFound has joined #silverstripe
688: [17:46:58] * Error404NotFound quit (Disconnected by services)
689: [17:54:43] * ThePeach quit (Quit: leaving)
690: [18:01:38] * Liquide has joined #silverstripe
691: [18:06:23] * Error404NotFound has joined #silverstripe
692: [18:07:57] * Err404NotFound quit (Ping timeout: 252 seconds)
693: [18:24:38] * Copperis quit (Remote host closed the connection)
694: [18:30:58] * benjhocking1 quit (Quit: Leaving.)
695: [18:43:09] * guttmann has joined #silverstripe
696: [18:43:28] * gelignite has joined #silverstripe
697: [18:43:55] * Shrike_Finland has joined #silverstripe
698: [18:58:21] * cloph_away is now known as cloph
699: [18:58:23] <muskie9> in 3.1.x how do you update allowed file extensions... in 2.4.x I had File::$allowed_extensions[] = 'vcf';
700: [18:58:44] <muskie9> digging through and not finding a method to call... unless I missed it somewhere
701: [19:00:33] * Stomach has joined #silverstripe
702: [19:02:33] <guttmann> it's still File::$allowed_extensions but you need to use the config system to modify it
703: [19:03:52] <guttmann> something like this should go in config.yml:
704: [19:03:54] <guttmann> File:
705: [19:03:59] <guttmann> allowed_extensions:
706: [19:04:04] <guttmann> - vcf
707: [19:04:40] <muskie9> thanks guttmann, figured it was something along those lines
708: [19:06:25] * wmk has joined #silverstripe
709: [19:07:24] * lerni_ has joined #silverstripe
710: [19:08:08] * masnun has joined #silverstripe
711: [19:10:09] * mobiusnz has joined #silverstripe
712: [19:21:05] <masnun> I am having an weird issue, my controller is throwing 403
713: [19:21:14] <masnun> I can't figure out where it's coming from
714: [19:21:27] <masnun> It's not reaching my actions
715: [19:21:38] <masnun> but it's calling init()
716: [19:21:43] <masnun> after that I get a 403
717: [19:21:49] <masnun> where should I look?
718: [19:22:11] <muskie9> masnun are your actions in your $allowed_actions
719: [19:22:18] <masnun> yes
720: [19:22:28] <muskie9> and you flushed
721: [19:22:37] <masnun> even interesting everything was working fine
722: [19:22:45] <masnun> suddenly it started
723: [19:22:50] <muskie9> odd
724: [19:23:07] <masnun> I have reverted my code changes but it still persists
725: [19:23:28] <guttmann> are you logged into the CMS?
726: [19:23:43] <masnun> yes
727: [19:23:46] <masnun> I just flushed
728: [19:24:01] <masnun> In fact I can get the logged in user in init() method
729: [19:24:19] <masnun> but before the action executes, I get a 403
730: [19:24:43] * LoveDuckie_ has joined #silverstripe
731: [19:24:54] <guttmann> which class are you extending?
732: [19:25:20] <masnun> Page
733: [19:25:22] * LoveDuckie_ quit (Remote host closed the connection)
734: [19:25:24] <masnun> wait
735: [19:25:26] <masnun> let me check
736: [19:25:40] <masnun> class AccountPage_Controller extends Page_Controller
737: [19:26:36] <guttmann> so you get the 403 when trying to visit an action on a specific AccountPage?
738: [19:26:55] * jedateach has joined #silverstripe
739: [19:27:26] <masnun> yes
740: [19:27:45] <guttmann> do you get the same problem if you create a new AccountPage in the CMS?
741: [19:27:58] <masnun> I am getting this on other pages too
742: [19:28:07] <masnun> the cms says the user is logged in
743: [19:28:16] <masnun> but somehow it's not recognizing the user
744: [19:28:33] * aragonne has joined #silverstripe
745: [19:29:11] <guttmann> if you edit the page in the CMS and go to the settings tab, what is "Who can view this page?" set to?
746: [19:29:35] <masnun> checking
747: [19:33:05] <masnun> some pages have Inherit from Parent
748: [19:33:21] <masnun> can't find the Account Page in there though
749: [19:34:10] * Ryan-Toast has joined #silverstripe
750: [19:35:11] <masnun> guttmann I also can't see the page in available page types
751: [19:35:17] <masnun> database corrupted?
752: [19:35:53] * LoveDuckie_ has joined #silverstripe
753: [19:40:11] <masnun> yes
754: [19:40:18] <masnun> I just reverted my db and it worked fine
755: [19:45:03] * wmk quit (Ping timeout: 264 seconds)
756: [19:51:34] * aragonne quit (Quit: aragonne)
757: [19:51:50] * novaweb has joined #silverstripe
758: [19:58:00] * antmas has joined #silverstripe
759: [19:58:06] <antmas> morning all
760: [19:58:08] <antmas> o/
761: [19:58:47] <Guits> Is it possible to hide the path to an original image? - so a visitor cannot figure out the URL by looking at a _Resampled URL?
762: [20:00:09] * spekulatius has joined #silverstripe
763: [20:00:53] <Stomach> hey antmas
764: [20:01:17] <novaweb> Guits, you'd probably want to take a look at Image.php and hash the resampled URL. Assuming this is possible without looking in to it.
765: [20:01:57] <novaweb> Original image URL would be left as normal.
766: [20:02:33] <Guits> So hacking the core?
767: [20:02:51] <novaweb> I'll just take a look at the API
768: [20:04:16] * LoveDuckie_ quit (Remote host closed the connection)
769: [20:04:53] <novaweb> Guits, use DataExtension to add functionality to Image.php
770: [20:05:49] <novaweb> I can't confirm if this would work, you'd have to try it and see.
771: [20:06:26] * Sj0hn has joined #silverstripe
772: [20:06:26] <Guits> ok thanx for the directions!
773: [20:06:51] <Sj0hn> Hiya,
774: [20:07:08] <r3v3rb> anyone seen UncleCheese lately
775: [20:07:37] <Sj0hn> Has anyone here tried sheadawson/silverstripe-blocks with zauberfisch/silverstripe-boilerplate?
776: [20:07:53] <Sj0hn> Im not sure how to set up the config.yml
777: [20:08:22] <Sj0hn> (for the blocks module)
778: [20:10:50] * glenn-bautista has joined #silverstripe
779: [20:14:18] <Sj0hn> im guessing this should work: http://www.silverstripe.org/community/forums/themes-2/show/18231
780: [20:15:00] * LoveDuckie_ has joined #silverstripe
781: [20:15:18] <Ryan-Toast> Sj0hn: you should just have to chuck the blocks config in the mysite config yml.
782: [20:19:53] <Sj0hn> Ryan-Toast: yes, but the thing is I didnt have a theme set. So I wasn't sure what theme name to put where 'simple' stood. If that makes any sense
783: [20:20:41] <Sj0hn> using set_theme, it worked :)
784: [20:20:47] <Ryan-Toast> Sj0hn: Yay!
785: [20:22:25] * Shrike_Finland quit (Quit: Leaving.)
786: [20:24:32] <antmas> Ryan-Toast: is bp ok to use at the mo? Need to move a long with a site
787: [20:24:36] <antmas> along*
788: [20:24:47] <Ryan-Toast> antmas: yeah, it’s fine to use.
789: [20:24:56] <antmas> Ryan-Toast: :D
790: [20:25:07] <Ryan-Toast> Just will be easier in a few weeks after I change how everything’s installed.
791: [20:25:17] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
792: [20:25:39] <Ryan-Toast> antmas: started cleaning everything up: https://github.com/Rhym/ss_boilerplate/commits/master
793: [20:26:13] <r3v3rb> Ryan-Toast: that the foundation boilerplate?
794: [20:26:36] <Ryan-Toast> r3v3rb: Twbs
795: [20:26:53] * micmania1 has joined #silverstripe
796: [20:27:02] <Ryan-Toast> r3v3rb: Well, it uses these modules by default: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/sass/_bootstrap.scss
797: [20:27:22] * LD has joined #silverstripe
798: [20:27:45] <antmas> Ryan-Toast: I showed a client the menu setup with no styling and all they wanted was that
799: [20:27:46] <antmas> as it was
800: [20:27:49] <antmas> no changes
801: [20:27:50] <antmas> :|
802: [20:27:54] <Ryan-Toast> antmas: lol
803: [20:27:55] * jonny__ has joined #silverstripe
804: [20:28:12] <Ryan-Toast> antmas: Awkward moment when I removed that module...
805: [20:28:16] <r3v3rb> easy money antmas
806: [20:28:23] <antmas> Ryan-Toast: nooooooo!
807: [20:28:26] <Ryan-Toast> antmas: You’ll have to grab the code from a previous commit.
808: [20:28:36] <antmas> Ryan-Toast: I might not upgrade this project then
809: [20:28:45] <jonny__> sup guys I need a quick help
810: [20:28:51] <Ryan-Toast> antmas: :P
811: [20:28:55] <antmas> I checked in with your other changes and I think I'm OK with my distro :P
812: [20:29:11] <antmas> just need to do a bloody theme :O
813: [20:29:12] * LoveDuckie_ quit (Remote host closed the connection)
814: [20:29:21] <Ryan-Toast> antmas: yeah, there isn’t any core changes, just styling and template.s
815: [20:29:35] <jonny__> I want to create fields and set values using data from a dataobject
816: [20:31:17] <pippy> https://github.com/silverstripe/silverstripe-restfulserver/issues/6
817: [20:31:24] <pippy> merge merge merge merge!
818: [20:32:03] <pippy> has any one else wanted to pull custom db fields from a page using restfulserver? apparently it can't do it
819: [20:32:19] <Ryan-Toast> jonny__: yarp?
820: [20:34:02] <jonny__> I'm creating a rating list
821: [20:34:20] <jonny__> each list item will have a dropdownfield
822: [20:34:34] * zippy has joined #silverstripe
823: [20:34:36] <jonny__> and list will come from a dataobject
824: [20:34:44] <zippy> christ
825: [20:35:02] <zippy> you think it'd be easy to setup a email forward in google apps for a domain to forward to two email accounts
826: [20:35:19] <zippy> xx@xxx.com forwards emails to usera@xxx.com and userb@xxx.com
827: [20:36:36] <Ryan-Toast> jonny__: Nice and easy, man. Just once you have your DataObjects set up, you can call them anywhere in a controller using MyDataObjectName::get();
828: [20:38:09] <Ryan-Toast> jonny__: And if you want them in a dropdown just use the map method for your DropdownField: http://api.silverstripe.org/3.1/class-ArrayList.html#_map
829: [20:38:53] * r3v3rb quit (Quit: r3v3rb)
830: [20:39:06] <jonny__> Thanks Ryan, I want each list item to have it own dropdown menu
831: [20:39:47] <jonny__> values from 1 to 5
832: [20:39:56] <jonny__> to be used in rating
833: [20:41:11] <Ryan-Toast> jonny__: So the DO will have the star rating dropdown, and then you’ll call them on a holder page somewhere?
834: [20:44:02] <jonny__> Ryan-Toast: I want the DO content to be used in a form and each item will have a dropdown menu
835: [20:44:26] <Ryan-Toast> jonny__: yeah, that’s easy. Just use the get() method I mentioned above :)
836: [20:44:39] <antmas> zippy: no cricket for you?
837: [20:44:50] <zippy> antmas: im on the fence a bit..
838: [20:45:02] <antmas> zippy: lots of people from here are going
839: [20:45:04] <zippy> I have too much work to do, so I can't really justify it
840: [20:45:04] <Ryan-Toast> zippy: on the boundry.
841: [20:45:13] <antmas> Ryan-Toast: HARHARHARHAR
842: [20:45:38] <Ryan-Toast> antmas: huehuehuehue
843: [20:45:40] <zippy> if nz batting second and I get through a bunch of shit I might go
844: [20:46:01] <antmas> zippy: they're like a 3-4 hour innings yeah?
845: [20:46:08] <jonny__> Ryan-Toast: cool, can the same proceedure be used to repopulate the form with the previous answers ?
846: [20:46:13] <zippy> 3~
847: [20:46:47] <Ryan-Toast> jonny__: Depends, does the form update the DO?
848: [20:47:04] <antmas> can anyone recommend a HDD? Not after an SSD at this stage, just something cheapish - at least 1TB and no Seagate
849: [20:47:22] <Ryan-Toast> antmas: Don’t fucking do it.
850: [20:47:31] <Ryan-Toast> antmas: just be patient and get an SSD
851: [20:47:43] <Ryan-Toast> a SSD*
852: [20:47:57] <jonny__> Ryan-Toast: the anwers to the form are stored in a different DataObject
853: [20:48:08] <antmas> Ryan-Toast: I just need a cheap one for storage
854: [20:48:11] <Ryan-Toast> jonny__: yeah, should be fine.
855: [20:48:39] <jonny__> Thanks Ryan
856: [20:48:49] <Ryan-Toast> jonny__: np, man.
857: [20:49:00] <antmas> I plan on getting 2 250 samsungs, but need a cheap storage one as my current one is barking
858: [20:49:31] <Ryan-Toast> antmas: just go Seagate then.
859: [20:50:08] <Ryan-Toast> antmas: pick your price: http://www.logicalincrements.com/
860: [20:50:33] <antmas> Ryan-Toast: might as well I suppose
861: [20:50:44] <antmas> is samsung OK for SSDs? I hear mixed things about EVOs
862: [20:51:10] <Ryan-Toast> I have always had samsung SSD’s, I can’t compare but they’re pretty swish.
863: [20:51:22] <antmas> Ryan-Toast: that site is awesome
864: [20:51:26] <Ryan-Toast> antmas: yarp.
865: [20:51:33] <antmas> the 970 one is exactly what I have lol
866: [20:52:22] <antmas> anyone able to help me with "Call to a member function getModules() on a non-object in /siteURL/framework/dev/Deprecation.php on line 92" ?
867: [20:53:01] * jonny__ quit (Ping timeout: 246 seconds)
868: [20:53:39] <Ryan-Toast> antmas: lthat’s why I don’t like using modules :P
869: [20:54:15] <antmas> Ryan-Toast: mmmm and we have loads :S
870: [20:54:33] * Colin[pi] has joined #silverstripe
871: [20:56:08] <antmas> if I run a dev build only 1 table is created :P
872: [20:56:49] <Ryan-Toast> antmas: https://i.imgur.com/jys9vVi.jpg
873: [20:57:19] <antmas> I haven't watched that show in so long
874: [20:57:30] <Ryan-Toast> antmas: It continues to be excellent.
875: [20:57:56] <antmas> I kinda got a little annoyed when the Ice King got his origin story
876: [20:58:08] <antmas> it got all real life on me and I freaked out
877: [20:58:09] <Ryan-Toast> antmas: …
878: [20:58:21] <Ryan-Toast> that’s one of the best episodes in TV history.
879: [20:58:27] * veb has joined #silverstripe
880: [20:58:41] <Ryan-Toast> Well if you’re invested in the characters I guess.
881: [20:58:57] <Colin[pi]> morning all!
882: [20:59:03] <antmas> don't get me wrong that was an amazing episode
883: [20:59:07] <Ryan-Toast> Colin[pi]: Hai
884: [20:59:09] <Colin[pi]> I haven't watched nearly enough Adv.Time
885: [20:59:11] <antmas> but it was just weird
886: [20:59:21] <Ryan-Toast> antmas: That episode got nominated for an Emmy :P
887: [20:59:25] <antmas> as in it changed the show completely
888: [20:59:48] <Colin[pi]> I liked the one where Finn went into the pillow land for an entire lifetime
889: [20:59:56] <antmas> haha
890: [20:59:59] <antmas> that was messed up
891: [21:00:00] <Colin[pi]> old Finn's voice was Jonathan Frakes
892: [21:00:11] <antmas> yeah I hated when the voice changed
893: [21:00:19] <Colin[pi]> I'm like... that sounds like Riker
894: [21:00:23] <Colin[pi]> sure nuff
895: [21:00:31] <Ryan-Toast> Colin[pi]: I like the kitten prince episode.
896: [21:00:37] <Ryan-Toast> I LIKE ALL THE EPISODES.
897: [21:00:38] <Colin[pi]> Ryan-Toast: have not seen :(
898: [21:00:40] <antmas> didn't Finn's normal voice actor change to his younger brother when his balls dropped?
899: [21:00:43] <Ryan-Toast> … the ones without Tree Trunks.
900: [21:00:43] <Colin[pi]> I need to watch more of it
901: [21:00:55] <Ryan-Toast> No, same guy.
902: [21:00:55] <antmas> Ryan-Toast: LOVE TREE TRUNKS
903: [21:01:03] <Ryan-Toast> antmas: Tree trunks is the fucking worst.
904: [21:01:08] <antmas> lol
905: [21:01:20] <antmas> the original tart toter is the best
906: [21:01:27] <antmas> whatever his name was
907: [21:01:39] <antmas> him or cinnamon bun
908: [21:01:54] <Ryan-Toast> Not PB?
909: [21:02:05] <Ryan-Toast> Actually Finn’s previous life was cool.
910: [21:02:16] <antmas> peppermint butler?
911: [21:02:23] <antmas> he's aight
912: [21:02:27] <Ryan-Toast> Princess bubblegum.
913: [21:02:39] <antmas> </3
914: [21:02:50] <Ryan-Toast> She’s such a dark character behind the scenes. I love it.
915: [21:02:56] <antmas> Finn's son is pretty good
916: [21:03:09] <antmas> WIAT
917: [21:03:11] <antmas> WAIT*
918: [21:03:15] <antmas> Lemongrabb
919: [21:03:29] <Colin[pi]> last time I watched adv time I think was one of the only times I've ever heard my gf say "what the fuck"
920: [21:03:50] <Ryan-Toast> Finn’s son is Nector, or that psychic eagle thing.
921: [21:03:58] <Ryan-Toast> Lemongrab is PB’s creation.
922: [21:04:42] <antmas> https://www.youtube.com/watch?feature=player_detailpage&v=MIZbGSXeWWE
923: [21:05:00] <antmas> Ryan-Toast: yeah
924: [21:05:06] <Ryan-Toast> He was one of here first subjects.
925: [21:05:13] <antmas> from the Goliad episode?
926: [21:05:13] <Ryan-Toast> Which is why he’s so fucked.
927: [21:05:35] <Ryan-Toast> antmas: yeah. Love that one too.
928: [21:07:19] <antmas> fuck this error
929: [21:07:22] <antmas> :|
930: [21:08:26] <antmas> lol found a pastie from when I had this error almost exactly a year ago
931: [21:08:45] <Colin[pi]> antmas: haha! I've done that too!
932: [21:09:58] <Colin[pi]> another supercar destroyed by morons: https://www.youtube.com/watch?v=LHp3jqRj-jg :(
933: [21:10:36] * DimiStripe quit (Quit: DimiStripe)
934: [21:10:43] * mahfuz has joined #silverstripe
935: [21:12:31] <antmas> Colin[pi]: :|
936: [21:12:43] <Colin[pi]> antmas: can't believe they survived that
937: [21:14:05] * Jakx has joined #silverstripe
938: [21:14:45] <antmas> I'm getting this'n http://www.sspaste.com/paste/show/54bd738d9f0fb
939: [21:16:40] <Colin[pi]> antmas: so it's manifest related
940: [21:17:05] <Colin[pi]> (just digging into the code)
941: [21:17:19] <antmas> Colin[pi]: mmmm
942: [21:17:30] <antmas> I've had this before but can't remember how to fix it
943: [21:18:59] <Colin[pi]> and I take it flush/build doesn't fix it?
944: [21:20:43] * UncleCheese has joined #silverstripe
945: [21:21:42] <antmas> Colin[pi]: nup, meeting
946: [21:21:44] <antmas> brb
947: [21:22:22] <Colin[pi]> k
948: [21:23:46] * lerni_ quit (Remote host closed the connection)
949: [21:29:18] * UndefinedOffset quit (Quit: Leaving.)
950: [21:29:55] <zippy> antmas: maybe blow away the whole cache folder (or rename the ss cache folder)
951: [21:30:03] <zippy> UncleCheese: I had a dream about you last night
952: [21:30:20] <UncleCheese> it wasn't a dream
953: [21:30:24] <zippy> I sent in a pull request, and you put a comment that it was the best code you ever seen
954: [21:30:33] <UncleCheese> i really did come over your house and cover you with sacred oils from India
955: [21:32:05] * scpi has joined #silverstripe
956: [21:33:29] <Colin[pi]> UncleCheese: rofl
957: [21:34:57] * Jakx has left #silverstripe
958: [21:36:50] <zippy> UncleCheese: might be why I feel like Indian for dinner.... mmm curry
959: [21:38:07] <zauberfisch> UncleCheese: display_logic still broken for readonly fields as far as I can tell
960: [21:38:21] <UncleCheese> yeah, i was just going to write to you
961: [21:38:26] <UncleCheese> i think i got it sorted, but i just want to be sure
962: [21:38:52] <UncleCheese> you're expecting this to work: ReadonlyField::create('Something')->displayIf('Foo')->isEqualTo('bar') ??
963: [21:38:53] <zauberfisch> (I presume it now was because you bound to input fields, and readonly is a span)
964: [21:39:01] <zauberfisch> UncleCheese: yes
965: [21:39:05] <UncleCheese> how did that ever work?
966: [21:40:00] <UncleCheese> oh, i guess because i had custom templates, so readonly field would use that
967: [21:40:04] <zauberfisch> it did with commit 051a860ebd65006493a19ce3381f9af3de8be875
968: [21:40:18] <UncleCheese> problem is, readonly field doesn't let you inject custom attributes
969: [21:40:30] <zauberfisch> the commit after that you added that rule for the history readonly fields and broke my code D:
970: [21:40:35] <UncleCheese> i want to move away from teh custom templates and rely on $this->setAttribute() in onBeforeRender()
971: [21:40:51] <UncleCheese> so I think you're going to have to wrap readonly fields in DisplayLogicWrapper
972: [21:40:56] <UncleCheese> that's the best i can think of right now
973: [21:41:33] <UncleCheese> unless you think it's appropriate to have a custom template just for readonly field.. i don't
974: [21:41:54] <zauberfisch> UncleCheese: are you sure you can't do setAttribute() ?
975: [21:41:54] <UncleCheese> checkboxsetfield still needs a custom template because it doesn't respond to setAttribute(), for obvious reasons
976: [21:42:01] <UncleCheese> on a readonly field? no.. they're spans
977: [21:42:29] <UncleCheese> maybe i'm missing something
978: [21:42:38] <zauberfisch> ah, wait, yeah, its set on the field not the field_holder
979: [21:42:56] <zauberfisch> so you can ->setAttribute() it just never gets used
980: [21:43:06] <zauberfisch> ok, so there is a wrapper? that a composite field?
981: [21:43:27] <zauberfisch> (that would be perfectly fine for me)
982: [21:43:30] <UncleCheese> yeah, displaylogicwrapper
983: [21:43:34] * lerni has joined #silverstripe
984: [21:43:39] <zauberfisch> perfect, I'll use that then
985: [21:43:41] <UncleCheese> ok, i'm going to push my stuff to master.. you test and let me know
986: [21:43:53] <UncleCheese> i have a suite of informal tests i'm running and they pass
987: [21:44:09] <zauberfisch> wait, what did you change?
988: [21:45:39] <zauberfisch> readonly field related? :O
989: [21:46:10] * masnun is now known as masnun|away
990: [21:50:03] * spronk2 has joined #silverstripe
991: [21:52:10] * masnun|away is now known as masnun
992: [21:53:45] <antmas> zippy: mmm re cache clearing
993: [21:53:49] <antmas> it's prolly that
994: [21:55:29] <antmas> is there any real benefit in getting 2 128gb SSDs vs 1 240gb?
995: [21:57:21] * Ryan-Toast quit (Quit: Ryan-Toast)
996: [21:58:19] <ibeardslee> different filesystems on different disks .. really ensures that the bottleneck isn't the disk ;)
997: [21:58:32] * masnun quit (Quit: Signing out.)
998: [21:58:51] <ibeardslee> also allows for a mirror if you aren't going to be using much disk
999: [21:59:04] <UncleCheese> Z, i just pushed up a new master
1000: [21:59:40] <UncleCheese> binding it to the inputs was rubbish.. it had regressed displaylogicwrapper and all kinds of other things
1001: [21:59:47] <UncleCheese> i went back to the way it was, binding to the holder, but better this time
1002: [22:00:02] <UncleCheese> i'll release it as 1.3, and 1.2 will be the shortest lived release in history
1003: [22:00:26] <UncleCheese> use my "kitchen sink, with chaining" example as a test case
1004: [22:04:36] * Stomach quit (Ping timeout: 265 seconds)
1005: [22:06:06] * scpi quit (Quit: scpi)
1006: [22:16:44] * Sj0hn quit ()
1007: [22:21:51] * wracu has joined #silverstripe
1008: [22:23:36] <wracu> .
1009: [22:25:19] <zauberfisch> UncleCheese: so, when you bind to the holder, do you still use attributes?
1010: [22:25:36] <UncleCheese> yeah, only through the api, and not via the template directly
1011: [22:25:45] <antmas> mmm fantasic noodle pottle
1012: [22:25:47] <antmas> :D
1013: [22:26:38] <MichalKleiner> brb
1014: [22:26:42] * MichalKleiner quit ()
1015: [22:31:06] * mediabeast has joined #silverstripe
1016: [22:31:23] <mediabeast> Morning all
1017: [22:32:46] * mediabeast quit (Client Quit)
1018: [22:33:24] <zippy> lol... he stuck around
1019: [22:33:45] <novaweb> i was about to say, it's nearly lunchtime dude...
1020: [22:33:56] <novaweb> probably gone back to bed :D
1021: [22:34:35] <zauberfisch> UncleCheese: will check out the code later
1022: [22:34:40] <zauberfisch> UncleCheese: have another project open right now
1023: [22:34:59] <antmas> haha
1024: [22:43:02] * aragonne has joined #silverstripe
1025: [22:51:24] * Stomach has joined #silverstripe
1026: [22:52:35] * gelignite quit (Quit: http://bit.ly/nkczDT)
1027: [22:56:40] * aragonne quit (Quit: aragonne)
1028: [22:59:49] <Stomach> zippy - not going to cricket? :(
1029: [23:00:01] <zippy> might go this arvo, maybe
1030: [23:00:12] <zippy> got sky on, we'll see
1031: [23:01:00] * lerni quit ()
1032: [23:01:06] <zippy> looks like slow wicket, they got a boat load of spinners (and probably a few more boat loads coming illegally.... ;-)) so, we'll see
1033: [23:01:10] * Michal__ has joined #silverstripe
1034: [23:01:17] * camfindlay has joined #silverstripe
1035: [23:01:17] * Michal__ is now known as MichalKleiner
1036: [23:02:21] * catcher quit (Ping timeout: 246 seconds)
1037: [23:03:32] <antmas> zippy: who's batting first?
1038: [23:03:36] <zippy> lanka
1039: [23:03:44] <zippy> 72/1 - 13th over
1040: [23:03:56] <zippy> http://www.espncricinfo.com/new-zealand-v-sri-lanka-2014-15/engine/match/749787.html
1041: [23:08:05] <zippy> looks pretty full, I think they said it was close to a sell out
1042: [23:08:12] <Stomach> hopefully B.McCullum manages to stay in this match
1043: [23:08:56] * qlex has joined #silverstripe
1044: [23:09:03] * qlex says hi
1045: [23:09:22] <qlex> could any1 tell me if DesignerX shows up here every now & then ?
1046: [23:09:25] * WandL has joined #silverstripe
1047: [23:09:31] <qlex> need to chat with him, but couldnt see him online in ages
1048: [23:09:41] <qlex> did sydney loose internet connection ?
1049: [23:12:40] <Stomach> qlex - he does now and then
1050: [23:13:51] <WandL> Hi guys, has anyone got a filter on a many_many relation working? when I try and do it using ->filter('RelationName.ColumnName, $var); the SQL is wrong in the query it is using the RelationName as table also tried passing as an array to filter... any ideas?
1051: [23:13:52] <qlex> really? logs indicate he wasn't oline in 2015 ?
1052: [23:15:00] <Stomach> now and then doesnt mean that he has definitely been on in the last 20 days
1053: [23:15:03] <Stomach> he might be on holiday
1054: [23:15:04] <Stomach> who knows
1055: [23:18:31] <Colin[pi]> <qlex> did sydney loose internet connection ?
1056: [23:18:35] <Colin[pi]> qlex: with the state of our shitty internet, anything is possible
1057: [23:25:01] <antmas> I always write loose instead of lose
1058: [23:25:07] <antmas> :(
1059: [23:25:34] * travis-ci has joined #silverstripe
1060: [23:25:34] <travis-ci> silverstripe/silverstripe-framework#3899 (3.1 - bf4c9fc : Damian Mooyman): The build passed.
1061: [23:25:34] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9e4c0c66637e...bf4c9fcd50da
1062: [23:25:34] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/47582810
1063: [23:25:34] * travis-ci has left #silverstripe
1064: [23:27:40] <WandL> never mind.... ->byIds($ids)->relation('RelationName'); works it seems...
1065: [23:32:51] * qlex will try to catch DesignerX - if you see him here, please let him know im looking for his help
1066: [23:38:18] <Colin[pi]> antmas: I always write "pubic function"
1067: [23:38:20] <Colin[pi]> ;(
1068: [23:39:55] <antmas> mmm yeah I know that one
1069: [23:39:59] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1070: [23:40:01] <antmas> reslut gets me too
1071: [23:40:05] <Colin[pi]> LOL same
1072: [23:40:09] <WandL> :antmas mine is 'webiste'
1073: [23:40:21] <antmas> or fnuction
1074: [23:40:23] <Colin[pi]> "hey reslut, wanna see my pubic function"
1075: [23:40:29] <antmas> LOL
1076: [23:40:37] * micmania1 quit (Quit: micmania1)
1077: [23:40:55] <antmas> the senior dev here can't write banana
1078: [23:41:03] * r_hector has joined #silverstripe
1079: [23:41:22] <antmas> he's dyslexic and it always comes out like banananna or bnnana
1080: [23:41:26] <antmas> drives me NUTS
1081: [23:42:06] <Colin[pi]> lol
1082: [23:42:45] <WandL> :)
1083: [23:43:23] <WandL> pubic fnuction banananna() ?
1084: [23:44:36] * qlex has left #silverstripe
1085: [23:45:27] <Colin[pi]> WandL: ugh it hurts my brain
1086: [23:46:14] <WandL> Colin[pi]: yeah me too :)
1087: [23:54:02] * micmania1 has joined #silverstripe
1088: [23:54:29] * EasyCo has joined #silverstripe
1089: [23:54:53] * babak_ quit (Quit: Connection closed for inactivity)

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