#silverstripe IRC Log

IRC log for 6 November 2014

All timestamps are in UTC.

1: [00:11:28] <DimiStripe> Hah.. it DOES queries 140K of records :(
2: [00:11:44] <Colin[pi]> really? shit
3: [00:11:59] <DimiStripe> SELECT KeywordObject.ClassName,<other fields>, KeywordObject.ID, CASE WHEN KeywordObject.ClassName IS NOT NULL THEN KeywordObject.ClassName ELSE 'KeywordObject' END AS RecordClassName FROM KeywordObject
4: [00:12:01] <novaweb> Fellow nerds, email inbox@google.com for an invite to use Google Inbox. Requests being received for the next 50 minutes.
5: [00:12:07] <Colin[pi]> DimiStripe: so it's returning ALL data and doing the 50 limit post query?
6: [00:12:26] <Colin[pi]> novaweb: ooh that reminds me, mine was approved
7: [00:12:36] * SphereSilver quit (Remote host closed the connection)
8: [00:14:08] <DimiStripe> looks like it ... really weird
9: [00:17:19] * antmas has joined #silverstripe
10: [00:17:32] <antmas> yay meetings over!
11: [00:17:37] <antmas> also, harrow all
12: [00:18:03] <Colin[pi]> HI ANTMAS :D
13: [00:18:20] <antmas> HAI Colin[pi] :D
14: [00:18:54] <JeremyRoundill> Cheers novaweb
15: [00:20:16] <simon_w|work> So, our database server is being moved to a new SSD-based RAID at the moment
16: [00:20:19] <antmas> so nice and warm today :D
17: [00:20:20] <simon_w|work> Were told we wouldn't notice it
18: [00:20:40] <simon_w|work> Guess what? Massive slow down in response times!
19: [00:20:52] <Colin[pi]> simon_w|work: you're using it wrong
20: [00:21:09] <antmas> simon_w|work: what RAID?
21: [00:21:12] <simon_w|work> Silly sysadmin was lying
22: [00:21:21] <simon_w|work> antmas, no idea :p
23: [00:21:33] * antmas has no idea what his is either
24: [00:21:45] <antmas> I leave that magic for the neckbeards
25: [00:21:52] <simon_w|work> A number bigger than 0
26: [00:21:58] <simon_w|work> Well, I hope it's not raid-0
27: [00:22:16] <abitran> hello there
28: [00:22:24] <antmas> abitran: hellow world
29: [00:22:35] <abitran> hola mundo
30: [00:23:46] <antmas> looked at grabaseat this morning - mid jan flights return Nelson->Auckland = $85
31: [00:24:27] <Colin[pi]> return? wow
32: [00:24:32] <simon_w|work> antmas, or, you could splurge out and come visit!
33: [00:24:34] <antmas> yeah, one way is $20
34: [00:24:34] * mahfuz quit (Ping timeout: 246 seconds)
35: [00:24:47] <antmas> probably all gone by now though :/
36: [00:24:55] <Colin[pi]> antmas: is the airline Malaysian Airlines?
37: [00:25:04] <antmas> simon_w|work: I'd prefer not to be melting come January
38: [00:25:14] <antmas> Colin[pi]: lol too soon bro
39: [00:25:38] <simon_w|work> antmas, so would I :p
40: [00:25:51] <simon_w|work> Which is why I won't be going to Auckland
41: [00:25:53] <antmas> simon_w|work: good luck with that!
42: [00:26:13] <antmas> Canbera I assume in January would be a mild 3214324243 degreees
43: [00:26:26] <Colin[pi]> antmas: pretty much for you
44: [00:26:33] <Colin[pi]> 35 or so on some days
45: [00:27:16] <antmas> I don't even think NZ temps have that number on the scale
46: [00:28:24] <Colin[pi]> antmas: last summer in sydney: http://www.smh.com.au/data-point/city-sizzles-in-record-heat-20130118-2cyrj.html
47: [00:28:31] <Colin[pi]> hit 46.5
48: [00:29:05] <Colin[pi]> actually 2 years
49: [00:29:19] <Kingy> novaweb: "Thanks for requesting an invite. We’ll send you one as soon as possible."
50: [00:29:31] <Colin[pi]> Kingy: I got one within about a week
51: [00:29:39] <antmas> invite?
52: [00:29:41] <antmas> what are this?
53: [00:29:47] <Kingy> look at me and my name is Colin and I got an invite
54: [00:29:50] <Kingy> :P
55: [00:29:54] <Colin[pi]> :P
56: [00:30:05] <antmas> lol
57: [00:30:08] <Kingy> antmas: google inbox
58: [00:30:11] <Colin[pi]> antmas: inbox.google.com
59: [00:30:23] <Colin[pi]> antmas: well, you need to email them inbox@google.com
60: [00:30:41] <Kingy> is it good Colin[pi]
61: [00:30:46] <Colin[pi]> ehh it's ok
62: [00:31:03] <Colin[pi]> looks like they kinda merged Google+ and email together
63: [00:31:07] <adrexia> I had some, but I gave them all away
64: [00:31:17] <Colin[pi]> so the inbox looks more like a facebook feed now rather than an inbox
65: [00:31:18] <antmas> Colin[pi]: so you just email them and ask for an invite?
66: [00:31:22] <Kingy> do you have invites Colin[pi] ?
67: [00:31:26] <Colin[pi]> antmas: pretty much yeah
68: [00:31:29] <adrexia> nah - it's just googles version of mailbox
69: [00:31:32] <Colin[pi]> Kingy: let me see
70: [00:31:35] <adrexia> nothing from google plus
71: [00:31:43] <Colin[pi]> adrexia: no I mean it looks like it
72: [00:31:45] <Colin[pi]> not actually google+
73: [00:31:48] <simon_w|work> Colin[pi], what are the interstate buses here?
74: [00:31:48] <adrexia> http://www.mailboxapp.com/
75: [00:32:05] <adrexia> ahh, its the first product they have released with material design I think
76: [00:32:07] <Colin[pi]> simon_w|work: transborder, murrays, deanes
77: [00:32:52] <simon_w|work> Colin[pi], none of those go beyond NSW
78: [00:32:56] <simon_w|work> Hardly interstate :p
79: [00:32:59] <Colin[pi]> Kingy: can't seem to see any invites
80: [00:33:06] <antmas> lol at buses
81: [00:33:18] <adrexia> I was using mailbox before, and mailpilot on mac, to do the same thing inbox now does. So I think it was about time they did something like this
82: [00:33:21] <Colin[pi]> simon_w|work: do we even have buses that go further than that? more importantly, WHY WOULD YOU WANT TO?
83: [00:33:31] <adrexia> Colin[pi], you get them after about a week
84: [00:33:42] <adrexia> as a golden ticket in the + menu
85: [00:33:47] <simon_w|work> Colin[pi], Greyhound does, and because it's cheaper than flying
86: [00:33:52] <Colin[pi]> adrexia: ah k, thanks
87: [00:34:01] <Kingy> simon_w|work: car rental
88: [00:34:13] <simon_w|work> Kingy, Caitlin refuses to drive for 9 hours
89: [00:34:21] <Colin[pi]> simon_w|work: where you off to?
90: [00:34:22] <antmas> simon_w|work: put her in the boot
91: [00:34:23] <Kingy> but she'd sit on a bus?
92: [00:34:28] <simon_w|work> Colin[pi], Melbourne
93: [00:34:33] <Colin[pi]> antmas: rofl
94: [00:34:46] <Colin[pi]> simon_w|work: why not take a train? if you can get yourself to Yass
95: [00:34:48] <Kingy> i totally drive instead of sitting on a bus
96: [00:35:06] <antmas> Kingy: +1
97: [00:35:22] * Colin[pi] will do 2500 km in his new honda over xmas :o
98: [00:35:29] <Colin[pi]> got a big trip planned
99: [00:35:35] <Stomach> driving is so far superior than busing
100: [00:35:42] <antmas> Colin[pi]: take lots of coke
101: [00:35:43] <Stomach> I'd much rather a 9 hour drive than a 14 hour bus trip
102: [00:35:52] <Colin[pi]> antmas: and hookers?
103: [00:35:56] <antmas> YES
104: [00:35:57] <antmas> always
105: [00:36:00] <Colin[pi]> and BLACKJACK?
106: [00:36:04] <Kingy> I drove a furniture truck from palmy to whangarei and back in a weekend
107: [00:36:06] <Kingy> was fun as shit
108: [00:36:09] <simon_w|work> Colin[pi], train is another $100
109: [00:36:13] <UncleCheese> is it inbox happy hour?
110: [00:36:15] <Colin[pi]> simon_w|work: but SO much better
111: [00:36:18] <antmas> Kingy: lol lorries are good fun to drive eh
112: [00:36:27] <Kingy> hells yes
113: [00:36:30] <simon_w|work> Colin[pi], you sure? Bus might have power points :p
114: [00:36:42] <Kingy> simon_w|work: so should train
115: [00:36:44] <Colin[pi]> simon_w|work: the train didnt have powerpoints?
116: [00:36:48] <antmas> people fart on buses and trains
117: [00:36:52] <simon_w|work> Colin[pi], didn't last time we took it
118: [00:36:54] <antmas> and stranger farts are the WORST
119: [00:36:56] <Colin[pi]> simon_w|work: weak
120: [00:36:58] <simon_w|work> Is a rickety old thing
121: [00:37:07] <Kingy> simon_w|work: did it have a bar carriage?
122: [00:37:22] <simon_w|work> Kingy, well, a food one
123: [00:37:34] <Kingy> not a bar is it
124: [00:37:37] <Kingy> lol
125: [00:37:56] <Colin[pi]> simon_w|work: looks like greyhound then if you want a bus?
126: [00:38:20] <simon_w|work> Heh, can't even fly on one of the budget airlines
127: [00:38:22] <Colin[pi]> simon_w|work: also: http://fireflyexpress-px.rtrk.com.au/FFNew/index.asp
128: [00:38:38] <antmas> what would car rental equate to?
129: [00:38:54] <Kingy> antmas: I got a rental in qtown
130: [00:39:01] <Kingy> 5 days cost me $61 including insurance
131: [00:39:02] <simon_w|work> antmas, a 9 hour bus trip taking about 12 to drive
132: [00:39:17] <antmas> simon_w|work: how?
133: [00:39:25] <antmas> Kingy: woah, in qtown of all places?
134: [00:39:29] <Kingy> simon_w|work: how does that work.. buses stop for hours at a time in places
135: [00:39:29] <antmas> that is CHEAP
136: [00:39:33] <Kingy> antmas: was surprised for sure
137: [00:39:34] <simon_w|work> antmas, only one driver, so would need to stop a lot
138: [00:39:51] <antmas> simon_w|work: just take a can of concrete with you, for emergencies
139: [00:39:53] <Kingy> simon_w|work: wtf
140: [00:40:07] <Kingy> 9 hour bus trip would take like 5 hour driving
141: [00:40:13] <antmas> Kingy: was it like Juicy rental or something like that?
142: [00:40:18] <Kingy> AceRentals
143: [00:40:19] <simon_w|work> Kingy, no, is about an 8 hour drive
144: [00:40:23] <simon_w|work> Without stops
145: [00:40:25] <antmas> Kingy: what kind of car?
146: [00:40:44] <Kingy> Nissan tiida
147: [00:40:55] <antmas> not bad
148: [00:40:58] <Kingy> yeah
149: [00:40:59] <antmas> pretty typical rental
150: [00:41:06] <Kingy> carried 4 adults and luggage nicely
151: [00:41:22] <Kingy> good thing about AceRentals
152: [00:41:23] <Kingy> do a quite
153: [00:41:26] <Kingy> quote
154: [00:41:30] <Kingy> wait a few hours
155: [00:41:34] <Kingy> they'll give you a 10% discount
156: [00:41:48] <antmas> nice
157: [00:41:50] <Kingy> and then look around as the targeted ads that start popping up give you another 15%
158: [00:42:17] <antmas> I'm waiting on a quote for the cam belt for my new car
159: [00:42:17] <Kingy> to be fair I booked it ~6 months in advanced
160: [00:42:29] <antmas> I'm beginning to think it will cost a good amount :/
161: [00:42:42] <simon_w|work> Kingy, antmas, the journey is inline in Australia. There's almost nothing there, so bus has nowhere to stop.
162: [00:43:03] * mahfuz has joined #silverstripe
163: [00:43:06] <Kingy> will still stop for like 20mins for piss breaks
164: [00:43:12] <antmas> simon_w|work: if there is something, it will stop there
165: [00:43:26] <simon_w|work> Which is why it takes an hour longer in the bus than driving
166: [00:43:45] <Kingy> with you drivign maybe
167: [00:43:50] * Colin[pi] shudders thinking of the typical state of a coach toilet
168: [00:43:53] <antmas> man I still think it would be 2 hours less at least via car
169: [00:44:08] <Kingy> Google maps says 7hr 9min
170: [00:44:15] <Kingy> so take an hour off that because it's always wrong
171: [00:44:26] <Kingy> add 10min for 3 toilet stops
172: [00:44:30] <antmas> what are the roads like in inland AUS? I assume nicer than NZ?
173: [00:44:33] <simon_w|work> Add two hours because you keep getting pulled over for speeding
174: [00:44:52] <antmas> simon_w|work: you don't need to speed to break that time
175: [00:45:06] <Kingy> and aren't most of your roads 110km/hr anyway
176: [00:45:07] <Colin[pi]> antmas: major highways are fine
177: [00:45:28] <Colin[pi]> antmas: just the lesser known/used ones that can be touch and go
178: [00:45:29] <Kingy> cops give you like 10km leeway
179: [00:45:31] <Kingy> so that's 120
180: [00:45:32] <antmas> I remember being in brisbane and heading inland and the roads were SO much better than NZ
181: [00:45:55] <Colin[pi]> antmas: it's 110km/h pretty much the whole way from Canberra to Melbourne now
182: [00:46:00] <antmas> nice
183: [00:46:00] <Kingy> ^
184: [00:46:04] <Kingy> so make it 5 hours driving :P
185: [00:46:14] <antmas> that with cruise control set at 115-118kmh
186: [00:46:21] <Kingy> exactly
187: [00:46:25] <Colin[pi]> mm which is what I usually do
188: [00:46:29] <antmas> AC on high to avoid dat sleep
189: [00:46:40] <antmas> plus the coke of course
190: [00:46:50] <Kingy> road trip music blaring
191: [00:46:54] * antmas wants to go on a road trip now
192: [00:46:58] <Kingy> +1
193: [00:47:09] <Colin[pi]> antmas: I'm on a 2500km over new years
194: [00:47:09] <Kingy> I could do a road trip around Bahrain
195: [00:47:12] <Kingy> might take an hour or so
196: [00:47:18] <antmas> Kingy: lol
197: [00:47:31] <antmas> Colin[pi]: yeah that's a nice distance to enjoy a car
198: [00:47:42] <Kingy> I wanted to do the south island at some point
199: [00:47:46] <Kingy> guess that'll wait
200: [00:47:52] <Colin[pi]> cant wait to hit this road: http://www.colacherald.com.au/wp-content/uploads/2011/02/great-ocean-road.jpg
201: [00:48:04] <wracu> sortableGridField... before I embark on a discovery excercise... is it possible to add multople GridFieldSortableExtension() to $extensions for a DO ?
202: [00:48:24] <wracu> then assign each of them in a different gridfield using drag and drop?
203: [00:48:42] <antmas> omg our lead dev has a huge issue with checking stuff into SC
204: [00:48:47] <antmas> X<
205: [00:52:34] * Olliepop_ has joined #silverstripe
206: [00:58:42] <simon_w|work> Well, looks like we'll be driving across two days
207: [00:58:58] <adrexia> I get to work with this: http://fmtvp.github.io/tal/
208: [00:58:59] <adrexia> So excited. :)
209: [00:59:01] <antmas> for a 9 hour total drive time?
210: [00:59:06] <adrexia> never built anytyhing for a TV before
211: [00:59:08] <adrexia> :D
212: [00:59:20] <ss23> WE SO EXCITED
213: [00:59:23] <adrexia> :D
214: [00:59:34] <adrexia> it's a whole new world
215: [01:00:04] <Kingy> ss23: seen my ticket yet :D
216: [01:00:32] * _muskie9_ quit (Read error: Connection reset by peer)
217: [01:00:45] * muskie9 has joined #silverstripe
218: [01:00:49] <Kingy> adrexia: that looks badass
219: [01:00:51] <ss23> Kingy: I'm ignoring your tickets, muhahaha!
220: [01:00:55] <adrexia> I know,right?
221: [01:01:43] * DimiStripe quit (Quit: DimiStripe)
222: [01:01:56] <JeremyRoundill> So, there's an example of an audio recording flash object on Google Code
223: [01:02:00] <simon_w|work> antmas, yes
224: [01:02:01] <JeremyRoundill> https://code.google.com/p/wami-recorder/
225: [01:02:04] <JeremyRoundill> It's pretty neat
226: [01:02:18] <JeremyRoundill> But what's way cooler is listening to unsuspecting developers test it.
227: [01:02:32] <JeremyRoundill> The audio saves here: https://wami-recorder.appspot.com/audio
228: [01:03:28] <Olliepop_> I'm still holding out for MediaStreamRecorder
229: [01:03:54] <JeremyRoundill> Olliepop_, I built a javascript audio loading library a while back
230: [01:04:00] <JeremyRoundill> Based on recorder.js
231: [01:04:18] <JeremyRoundill> I should put it up on bitbucket.
232: [01:06:25] <Olliepop_> That would be neat! Doesn't look like there's been any movement on MSR lately. https://code.google.com/p/chromium/issues/detail?id=113676
233: [01:06:29] <antmas> simon_w|work: yeah a car would be 100% better in that case
234: [01:06:39] <Olliepop_> "This is on our to-do-list" -- Feb 21/2012
235: [01:06:55] <Kingy> to-maybe-do?
236: [01:06:55] * Olliepop quit (Ping timeout: 246 seconds)
237: [01:07:04] <Olliepop_> Pretty much
238: [01:07:08] <simon_w|work> antmas, also, means we get to "try out" some boutique hotels ;)
239: [01:07:42] <Kingy> by try out you mean break in amirite
240: [01:07:53] * antmas likes where this is going
241: [01:09:28] <Colin[pi]> go on...
242: [01:10:13] <simon_w|work> http://briarwoodgreytown.co.nz/ good times were had
243: [01:10:37] * auto9 has joined #silverstripe
244: [01:11:01] <simon_w|work> Also, the takeaway shop down the road is rather decent
245: [01:12:36] <antmas> I have a weird love for hedges
246: [01:12:51] <antmas> also, that place looks awesome simon_w|work
247: [01:12:53] <simon_w|work> ...is your missus a hedge?
248: [01:13:42] <antmas> I WISH
249: [01:13:43] <Colin[pi]> lol
250: [01:13:56] <Colin[pi]> simon_w|work: only if she goes without waxing
251: [01:14:11] <Kingy> Colin[pi]: don't you like a nice trimmed hedge?
252: [01:14:24] <Colin[pi]> Kingy: dude, my gf is brazilian...
253: [01:14:29] <simon_w|work> antmas, as a bonus, free wifi!
254: [01:14:40] <Kingy> Colin[pi]: rof
255: [01:14:41] <Kingy> rofl
256: [01:14:41] <simon_w|work> (Which was good, cause VF reception was rather spotty)
257: [01:15:20] <simon_w|work> We had a professional stripper/model in the wedding party
258: [01:15:34] <Colin[pi]> o_O
259: [01:15:40] <simon_w|work> I think the groomsmen may have found out about that too
260: [01:16:33] <Colin[pi]> go on...
261: [01:16:42] * david_____ has joined #silverstripe
262: [01:16:44] <simon_w|work> Haha :p
263: [01:16:49] <simon_w|work> She kept her clothes on :p
264: [01:16:53] <Colin[pi]> d'aww
265: [01:16:57] <Colin[pi]> DISAPPOINTMENT
266: [01:16:59] <Kingy> and instantly Colin[pi] was destroyed
267: [01:17:14] <simon_w|work> Colin[pi], natural G cup too
268: [01:17:17] <david_____> hey everyone
269: [01:17:25] <simon_w|work> hey david_____
270: [01:17:30] <david_____> has anyone tried functional tests with BasicAuth?
271: [01:17:39] <JeremyRoundill> Olliepop_: Have a look at this: https://bitbucket.org/jroundill/audiorecord.js
272: [01:18:09] <simon_w|work> david_____, the BasicAuth tests are functional tests
273: [01:18:11] <simon_w|work> https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/security/BasicAuthTest.php
274: [01:18:52] * Tanger has joined #silverstripe
275: [01:18:59] <Tanger> Morning guys
276: [01:19:39] <david_____> I'm trying to add an Authorization header to my Director::test call in my own custom functional test class
277: [01:19:39] <JeremyRoundill> Olliepop_: It'll POST a WAV at your url.
278: [01:19:56] <david_____> and the status code returned is always 401
279: [01:20:40] <david_____> if I dump out $_SERVER I don't see PHP_AUTH_USER nor PHP_AUTH_PW either
280: [01:20:44] * Sticks has joined #silverstripe
281: [01:20:51] <simon_w|work> david_____, ::test() doesn't go through a server, so the header isn't parsed. Set the $_SERVER values instead
282: [01:21:12] <Olliepop_> JeremyRoundill: Very cool
283: [01:21:47] <david_____> as in just assign them manually before I call ::test()?
284: [01:22:25] <simon_w|work> david_____, yup
285: [01:22:40] <simon_w|work> Like https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/security/BasicAuthTest.php#L52-L56
286: [01:22:56] <JeremyRoundill> Olliepop_: Cheers man, I'll be sure to update it a bit more in the future.
287: [01:23:43] <david_____> word, cheers simon
288: [01:24:23] <Sticks> Hi guys, how can I change the session timeout for general member logins? We need them to stay logged in for 4 hours, currently they get kicked after 15 (or 30?) minutes.
289: [01:24:29] <antmas> woah that underscore really makes thigns hard to read
290: [01:27:09] * spronk2 quit (Quit: I may need a longer sleep timer...)
291: [01:27:37] <JeremyRoundill> Sticks, I don't have time to help you out too much, but have a look here: http://api.silverstripe.org/master/class-Session.html
292: [01:28:02] <JeremyRoundill> Sticks: set_timeout( integer $timeout )
293: [01:28:09] <JeremyRoundill> I'm guessing that'll help
294: [01:31:24] <Sticks> Thanks JeremyRoundill. Where would I set that though? In _config.php?
295: [01:31:28] <Olliepop_> JeremyRoundill Gave you a cheeky watch on BB
296: [01:31:40] <antmas> woah linkedin is going all kinds of spazz at the mo
297: [01:31:52] <Kingy> ?
298: [01:32:58] <JeremyRoundill> Olliepop_ Sweet!
299: [01:33:25] <antmas> Kingy: some weird issue with the new Ts&Cs flashing all over the page in IE
300: [01:33:29] * Olliepop_ is now known as Olliepop
301: [01:33:31] <Kingy> oh yeah
302: [01:33:37] <Kingy> it's just supposed to be a banner along the top
303: [01:33:46] <Kingy> well it was in Chrome at any rate
304: [01:33:52] <Kingy> IE just doing IE things I guess :P
305: [01:33:52] <antmas> yeah Chrome is fine
306: [01:34:01] <antmas> IE gonna IE
307: [01:34:48] <antmas> that should be the front of a tshirt, with Clients Gonna Client on the back
308: [01:35:01] <JeremyRoundill> Sticks: maybe Page.php init()?
309: [01:37:29] <Kingy> feeling all kinds of crap right now
310: [01:37:38] <Kingy> another bad thing about living in Masterton
311: [01:37:46] <Kingy> limited trains per day means you can't just up and go home
312: [01:39:43] * jenniferaslan quit (Remote host closed the connection)
313: [01:40:10] <mahfuz> Inside this function function completed() {. ........} I am calling another function downloadfile() both of them are in same class. The page is not showing anything if I do so. What is the reason?
314: [01:40:22] <JeremyRoundill> Kingy :(
315: [01:40:43] <JeremyRoundill> mahfuz: Probably an error.
316: [01:40:54] <JeremyRoundill> mahfuz: Check yo' logs, yo
317: [01:41:18] <mahfuz> I am in dev mode. it is not showing any error
318: [01:41:33] <JeremyRoundill> mahfuz: Check yo' logs, yo.
319: [01:42:28] <Sticks> For the record - Config::inst()->update('Session', 'timeout', '14400'); in _config.php looks to work for setting the timeout.
320: [01:42:48] <mahfuz> ok. Instead of calling if I write the code in that place it is running ok.
321: [01:43:11] <JeremyRoundill> Sticks: Cool! I'll keep it in mind for next time someone asks :)
322: [01:43:46] <simon_w|work> Colin[pi], http://www.realpeople.com.au/profile/8215 her
323: [01:43:58] <antmas> o.O
324: [01:44:01] <antmas> NSFW?
325: [01:44:07] <JeremyRoundill> Mahfuz: debug as per usual then. Comment out all your code inside downloadfile() and replace it with a small amount of output.
326: [01:44:08] <simon_w|work> Um, potentially
327: [01:44:20] <simon_w|work> antmas, no nudity, but suggestive photos
328: [01:44:40] <Colin[pi]> good lord how is her back pain?
329: [01:44:49] <antmas> simon_w|work: I'd already clicked :<
330: [01:45:06] <Ryan-Toast> simon_w, Colin[pi]: what’s all this then?
331: [01:45:26] <simon_w|work> antmas, oh, in that case, totally fine :p
332: [01:46:04] <simon_w|work> Ryan-Toast, one the bridesmaids is a model (and may have quit stripping, can't remember)
333: [01:46:39] <Ryan-Toast> simon_w|work: whata about her?
334: [01:46:49] * david_____ quit (Ping timeout: 246 seconds)
335: [01:47:00] <antmas> lol
336: [01:47:16] <antmas> love it when it involves pics of woman and Ryan-Toast is in with a grin :P
337: [01:48:11] <Ryan-Toast> antmas: was just wondering what the context was.
338: [01:48:26] <simon_w|work> Context? In #silverstripe?
339: [01:48:27] <Kingy> beeeg american teeeties
340: [01:48:33] <Kingy> australian more like
341: [01:48:33] <Kingy> but still
342: [01:48:35] <simon_w|work> Kingy, nope, real
343: [01:48:42] <simon_w|work> So not american :p
344: [01:48:56] <antmas> lol
345: [01:49:03] <antmas> love this channel
346: [01:49:05] <Ryan-Toast> @sadtoamericans
347: [01:49:05] <Kingy> are you trying to say all those lovely american woman i've been watching have fake breasts
348: [01:49:20] <Ryan-Toast> #**
349: [01:49:20] <antmas> Kingy: THIS IS MADNESS
350: [01:49:39] <adrexia> " The supplied code has been written for clarity, not elegance, but should be simple to adapt." But elegance *is* clarity!
351: [01:49:47] * willr has joined #silverstripe
352: [01:49:52] * willr quit (Changing host)
353: [01:49:52] * willr has joined #silverstripe
354: [01:52:06] * auto9 quit (Read error: Connection reset by peer)
355: [01:54:46] <mahfuz> Can anyone have a look at what I am doing wrong here - http://www.sspaste.com/paste/show/545acfb794b94
356: [01:55:29] <antmas> mahfuz: what's the error?
357: [01:55:53] <mahfuz> I am just calling a function insider another one
358: [01:56:01] <helenclarko> Hi Willr
359: [01:56:09] <willr> Howdey
360: [01:56:15] <mahfuz> Blank page is showing. If I remove the function call its showing up
361: [01:56:23] * spronk2 has joined #silverstripe
362: [01:56:33] <JeremyRoundill> mahfuz: $this->createzipfile() ?
363: [01:57:07] <Colin[pi]> guys say you were importing member data from another system into SS.. and members in that system could have dupe email addresses, how would you handle that?
364: [01:57:18] <Colin[pi]> i.e. the emails are not unique in the db
365: [01:57:34] <willr> Colin[pi] merge the records?
366: [01:57:40] <mahfuz> Sorry Jeremy for the silly mistake
367: [01:57:53] <willr> you can make something like username the unique key if you need as well
368: [01:57:58] <willr> doesn’t need to be email
369: [01:58:01] <Colin[pi]> willr: I have like some members with different first names, last names etc. but the same email as others
370: [01:58:07] <Colin[pi]> which is annoying
371: [01:58:22] <Colin[pi]> I can't seem to see a username field either, which is more annoying
372: [01:58:57] <willr> Member has many aliases. Import as aliases and then when they first sign in they pick what alias they want to use and trash the rest?
373: [01:59:24] <Colin[pi]> hmm possibly
374: [01:59:35] <willr> Or just import the last created one and ignore any old first name / last name
375: [02:00:01] <Colin[pi]> well that's what it's doing currently
376: [02:00:03] <Colin[pi]> but seems lazy
377: [02:00:22] <helenclarko> Willr: Can I get you to take a quick look at an old container fields addon for userforms? I've been working on updating it. I no longer have any errors to fix, but once the form is submitted, it moves the fields inside the container out. http://www.silverstripe.org/community/forums/all-other-modules/show/80990
378: [02:00:52] <helenclarko> What I have linked, is what I am working on.
379: [02:01:17] <mahfuz> Can anyone give me a sample code of using this module - silverstripe-geoip ? I just want to detect visitor's country?
380: [02:02:40] <willr> helenclarko never seen that module so not sure how it works. How’d you mean it moves the fields in / out?
381: [02:03:38] <willr> mahfuz $country = Geoip:: visitor_country();
382: [02:04:41] <mahfuz> Thanks willr
383: [02:06:39] <helenclarko> Willr: Its a module for 2.4 which I found a very long time ago. When the form is saved and published within the CMS, it moves anything inside the container field back into the main fields area. For example if I have a text field, then a container field with an HTML field inside it, the html field will be sitting under the text field (outside of the container when saved.
384: [02:07:34] <willr> Yeah probably because an extension needs to be added to EditableFormField with a relationship to the container it’s in
385: [02:07:47] * Hailwood has joined #silverstripe
386: [02:14:33] * babak quit (Quit: Connection closed for inactivity)
387: [02:17:36] <antmas> lol overheard someone asking 'what is dickbutt? anyone know what dickbutt is?'
388: [02:19:21] <ss23> hahaha
389: [02:19:26] <Colin[pi]> rofl
390: [02:20:02] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
391: [02:22:12] <spronk2> hmm
392: [02:22:16] <spronk2> that is a good question
393: [02:22:45] <ss23> "It'S CALLED A ME-ME, MOM"
394: [02:22:45] <Colin[pi]> so cute: http://i2.kym-cdn.com/photos/images/newsfeed/000/697/069/753.png
395: [02:22:56] <ss23> lol
396: [02:23:00] <ss23> Pretty much what I expected...
397: [02:23:06] <Colin[pi]> dickbutt is so kawaii
398: [02:23:14] <ss23> uguu, sugoi kawaii, oniichan~!
399: [02:23:14] <Colin[pi]> dickbutt senpai I should say
400: [02:24:16] * Hailwood quit (Quit: Leaving)
401: [02:25:06] <Kingy> lol me-me
402: [02:25:25] * Phlunk3 has joined #silverstripe
403: [02:26:08] <Kingy> does anything know if DPS handles zero priced products
404: [02:26:32] <spronk2> something probably does
405: [02:26:44] <Kingy> yeah well either i've broken something
406: [02:26:57] <Kingy> or whoever do this initially didn't code something properly
407: [02:27:02] <Kingy> im really hoping for the latter :D
408: [02:27:28] <UncleCheese> if there were a website that let you rent a property in Middle Earth, what would it be called?
409: [02:27:55] <Kingy> One ring rentals
410: [02:28:02] <UncleCheese> one ring
411: [02:28:11] <UncleCheese> does that have relevance in LOTR?
412: [02:28:16] <spronk2> :|
413: [02:28:21] * Kingy facepalms
414: [02:28:25] <UncleCheese> Hobbit Holiday?
415: [02:29:19] <Kingy> Hobbiton Holidays
416: [02:29:26] * spronk2 likes One Ring Rentals
417: [02:29:44] <UncleCheese> cool
418: [02:29:50] <helenclarko> willr: heres EditableFormField.php adjustments made to the $has_one array and populateFormPostData function on line 300.
419: [02:30:00] <UncleCheese> does it actually apply to LOTR, though?
420: [02:30:02] <helenclarko> willr: http://pastebin.com/NVkkziCh
421: [02:30:11] <spronk2> UncleCheese ... you have read/seen LoTR, right?
422: [02:30:15] <UncleCheese> no
423: [02:30:17] <spronk2> ..
424: [02:30:18] <spronk2> do so.
425: [02:30:22] <UncleCheese> i tried
426: [02:30:26] <spronk2> TRY HARDER
427: [02:30:26] <Kingy> ps UncleCheese: "One Ring to rule them all, One ring to find them; One ring to bring them all
428: [02:30:26] <Kingy> and in the darkness bind them."
429: [02:30:27] <UncleCheese> fell asleep
430: [02:30:33] <UncleCheese> oh, nice
431: [02:30:35] <UncleCheese> cheers, Kingy
432: [02:30:44] <spronk2> also
433: [02:30:46] <spronk2> watch the movies
434: [02:30:48] <Kingy> btw you're no longer welcome to be a kiwi
435: [02:30:49] <spronk2> they are amazin
436: [02:30:50] <spronk2> g
437: [02:30:52] <UncleCheese> tried, tried
438: [02:30:52] * spronk2 concurs with Kingy
439: [02:30:56] <UncleCheese> i really did
440: [02:30:58] <spronk2> LoTR movies are a national treasure, right>
441: [02:30:59] <spronk2> ?
442: [02:31:07] <UncleCheese> first of all, one movie is four fucking hours
443: [02:31:07] <willr> helenclarko, shouldn’t really hack the core module. Should use extensions. But anyway, make sure ContainerFieldID is being set.
444: [02:31:09] <spronk2> .. how could you fall asleep when there's SUCH AN EPIC SOUNDTRACK!?
445: [02:31:15] <UncleCheese> so one week, i was like, ok, i'm going to watch this shit
446: [02:31:15] <Kingy> ^
447: [02:31:23] <UncleCheese> and i did about 20 minutes every night
448: [02:31:27] <UncleCheese> before falling asleep
449: [02:31:32] <spronk2> watch it in the day
450: [02:31:33] <spronk2> take time off work
451: [02:31:34] <spronk2> it's that important.
452: [02:31:35] <UncleCheese> and by the end of the week, i was like, what the fuck am i doing
453: [02:31:36] <spronk2> :D
454: [02:31:37] <Kingy> there's probably 40min of boring bits in the whole 9 hours
455: [02:31:40] <UncleCheese> so bad
456: [02:31:41] <spronk2> i agree
457: [02:31:42] <spronk2> it's so good
458: [02:31:49] <UncleCheese> it's all this weird shit
459: [02:31:59] <UncleCheese> people just randomly flying and stuff
460: [02:32:00] <UncleCheese> talking weird
461: [02:32:02] <spronk2> the best bit, IMO, is in RoTK where gandalf rides out to meet the riders from osgiliath
462: [02:32:05] <spronk2> fucking epic
463: [02:32:22] <spronk2> he's all *RAAAHH FUCK OFF RINGWRAITHS HERE'Z MY LAZOR*
464: [02:32:26] <UncleCheese> i lasted about one minute into Game of Thrones for the same reason
465: [02:32:26] <UncleCheese> ugh
466: [02:32:32] <spronk2> ba dum ba dum ba dum (sound of hourses)
467: [02:32:37] <UncleCheese> One Ring Rentals
468: [02:32:38] <UncleCheese> love it
469: [02:32:42] <spronk2> UncleCheese i was the same with GoT
470: [02:32:49] <spronk2> first episode i was just like
471: [02:32:54] <simon_w|work> I think the DIA needs to be told about this
472: [02:32:56] <spronk2> what the fuck is this mythology cavemen shit
473: [02:33:01] <UncleCheese> but then you see people fucking, and you're like, ah, i think i can get into this
474: [02:33:03] <Kingy> yeah I forced the first episode of GoT, didn't really get it
475: [02:33:05] <spronk2> but you power on through and OMG its amazing
476: [02:33:08] <Kingy> had nothing better to do on the train so kept watching
477: [02:33:14] <Kingy> got good
478: [02:33:19] <spronk2> fucking cersei
479: [02:33:21] <spronk2> suuuch a bitch.
480: [02:33:27] <spronk2> <ragehate>
481: [02:33:40] <Kingy> and yes UncleCheese then you see people fucking, and hide your monitor
482: [02:33:57] <Kingy> watching softcore porn on the train... gets awkward
483: [02:34:04] <JeremyRoundill> Boobs, swords, dragons
484: [02:34:09] <Stomach> hardcore porn only on the train
485: [02:34:09] <JeremyRoundill> What else could you need?
486: [02:34:14] <spronk2> lawls
487: [02:34:17] <spronk2> ikr
488: [02:34:20] <JeremyRoundill> Haha, I watch GoT with my grandparents.
489: [02:34:25] <UncleCheese> !!!!!!
490: [02:34:30] <spronk2> there's even Jason Momoa thrown in for the girls
491: [02:34:31] <UncleCheese> better than Orange is the New Black, I suppose
492: [02:34:42] <Kingy> I always remember my grandparents went and saw Borat at the movies
493: [02:34:50] <spronk2> aaaaakward
494: [02:34:51] <UncleCheese> "Hey, Grandma, hurry back.. you're missing the fisting scene!"
495: [02:34:58] <Kingy> Grandad was just cracking up when he was telling us about it
496: [02:35:01] <Kingy> Grandma not so much
497: [02:35:01] <spronk2> YAKSHEMASH
498: [02:35:09] <UncleCheese> i had to watch the gay sex scene in Bruno with my dad
499: [02:35:27] <JeremyRoundill> Hahaha
500: [02:35:38] <spronk2> oh wow
501: [02:35:45] <spronk2> bruno was just an entire movie-load of cringe
502: [02:35:52] <UncleCheese> it was
503: [02:35:57] <spronk2> borat, and the dictator, however, were awesoem
504: [02:35:58] <UncleCheese> actually ,it wasn't the gay sex scene
505: [02:36:01] <UncleCheese> that was at least funny
506: [02:36:09] <UncleCheese> it was the real sex scene.. at that orgy
507: [02:36:18] <UncleCheese> god damn.. ugh
508: [02:36:31] <ss23> My grandmother fell asleep and Team American came on
509: [02:36:44] <ss23> She woke up during the sex scene and was like "WHAT IS THIS?! GO TO BED"
510: [02:36:44] <ss23> :(
511: [02:36:48] <Kingy> AMERICA FUCK YEAH!
512: [02:36:57] <spronk2> DURKA DURKA MOHAMMED JIHAD!
513: [02:37:10] <ss23> BOOKS
514: [02:37:12] <ss23> LIBRARIES!
515: [02:37:14] <ss23> FUCK YEAH
516: [02:37:14] <Kingy> see UncleCheese we watch your national movies
517: [02:37:24] <simon_w|work> Well, ss23 doesn't know the song at all
518: [02:37:25] <antmas> I hated the Dictator
519: [02:37:31] <antmas> the others were so much better
520: [02:37:47] <ss23> 911 THE BEST
521: [02:38:04] <ss23> https://www.youtube.com/watch?v=JnszgkE3O8g
522: [02:39:01] * babak has joined #silverstripe
523: [02:41:38] <mahfuz> What is the best way to detect visitor's country? I am trying to use silverstripe-geoip module and Geoip::visitor_country() returns false instead of country\
524: [02:41:56] <ss23> mahfuz: Probably the most accurate way is to ask Google
525: [02:42:03] * willr quit (Quit: willr)
526: [02:43:02] <ss23> Eh
527: [02:43:06] <ss23> They might've removed that API
528: [02:43:09] <ss23> They used to have one you could use
529: [02:43:33] <ss23> mahfuz: You could use http://dev.w3.org/geo/api/spec-source.html and if that fails, geoop, and if that fails, use the locale
530: [02:43:50] <mahfuz> I have added this module - https://github.com/silverstripe-labs/silverstripe-geoip
531: [02:43:53] <antmas> man, that was a lot of ctrl-z's
532: [02:44:05] <mahfuz> but it is returning false
533: [02:46:39] <helenclarko> willr: Is it not being set on line 356 of http://pastebin.com/NVkkziCh
534: [02:46:56] <JeremyRoundill> mahfuz have you got the required libraries installed?
535: [02:47:17] <JeremyRoundill> mahfuz: might be worth reading the readme
536: [02:49:35] <mahfuz> Thanks Jeremy.
537: [02:50:21] <mahfuz> I have installed only the module. In the readme it says - Requirements: The GeoIP Binary
538: [02:50:55] <mahfuz> How do i do that? I just have FTP access
539: [02:51:09] <JeremyRoundill> Contact your sysadmin.
540: [02:51:37] * willr has joined #silverstripe
541: [02:51:50] <helenclarko> willr: Is it not being set on line 356 of http://pastebin.com/NVkkziCh
542: [02:52:05] <simon_w|work> Averaging between 1 and 3 million row reads per second. Not bad.
543: [02:52:31] <simon_w|work> (insert, update and delete max out at 40)
544: [02:53:05] <helenclarko> Nevermind
545: [02:53:19] <mahfuz> So there is no other way to use the GeoIP?
546: [02:53:49] * antmas quit (Quit: Page closed)
547: [02:55:03] <micmania1> mahfuz: ask Google.
548: [02:55:29] <JeremyRoundill> mahfuz: ^ this
549: [02:55:45] <JeremyRoundill> mahfuz: or read ss23's response to you earlier.
550: [02:56:19] <mahfuz> Thanks guys
551: [03:11:07] <Kingy> yus google inbox invite
552: [03:19:43] * joelpittet quit (Remote host closed the connection)
553: [03:20:12] <novaweb> is $Photo.ResponsiveImage a part of the core, or is that some custom sh*?
554: [03:20:13] * joelpittet has joined #silverstripe
555: [03:20:31] * joelpittet quit (Remote host closed the connection)
556: [03:20:46] <novaweb> Kingy - I have an organisation attached to my Google Account... it's not yet enabled for inbox so I can't use it :/
557: [03:21:00] <Kingy> bugger
558: [03:22:10] <JeremyRoundill> I got Google Inbox, but I had to install it on my tablet at home.
559: [03:22:18] <JeremyRoundill> So I have to wait until 5 to try it out :O
560: [03:22:23] <JeremyRoundill> Stupid phone is too old
561: [03:25:19] * wracu quit (Quit: Leaving)
562: [03:25:22] <Stomach> novaweb - that some custom shit
563: [03:25:31] <mahfuz> Is there a way to redirect to the last page I was visiting after login or registration?
564: [03:26:51] <JeremyRoundill> Director::redirectBack()
565: [03:27:17] <JeremyRoundill> Wait, that's deprecated
566: [03:27:18] <JeremyRoundill> Controller->redirectBack()
567: [03:29:24] <mahfuz> So I need to have my custom login / registration page and function? It can't be done with the Security/login page ?
568: [03:32:00] <micmania1> mahfuz: what do you mean by custom? What’s custom about it?
569: [03:32:46] <JeremyRoundill> mahfuz: http://i0.kym-cdn.com/photos/images/newsfeed/000/173/576/Wat8.jpg?1315930535
570: [03:33:52] <Stomach> if its just using a MemberLoginForm
571: [03:33:53] <Stomach> you can add
572: [03:34:16] <Stomach> <input type='hidden' name='BackURL' value='$Link' /> to your form
573: [03:34:23] <mahfuz> I mean i am using security/login page for the login of users. If I want them to forwarded to the page they were before visiting the login page.
574: [03:34:50] <Stomach> oh, then link to 'Security/login?BackURL=$Link'
575: [03:35:19] <Ryan-Toast> Stomach: Took a look at your company PDF, Stevie is the only important dev :P
576: [03:36:05] <Stomach> I'm 'critical'
577: [03:36:08] <Stomach> :S
578: [03:36:16] <Ryan-Toast> :D
579: [03:36:38] <adrexia> where do you work again?
580: [03:36:45] <Stomach> Little Giant
581: [03:36:51] <adrexia> oh that's right
582: [03:36:52] * mirrors quit (Quit: Page closed)
583: [03:36:52] <adrexia> :)
584: [03:36:55] <Stomach> http://www.littlegiant.co.nz/wp-content/uploads/2013/07/LittleGiant_aboutus_web.pdf
585: [03:37:18] <mahfuz> Thanks Stomach it worked fine.
586: [03:37:26] <Stomach> mahfuz - no problem :)
587: [03:38:43] <spronk2> THE FUCK
588: [03:38:44] <adrexia> Jeremy is listed first though ;)
589: [03:38:44] <spronk2> THATS A PDF
590: [03:38:49] <spronk2> WHO USES THOSE!?
591: [03:39:06] <adrexia> spronk2, funny, I thought the same thing... with a little less anger thoguh ;)
592: [03:39:31] * Olliepop quit (Ping timeout: 246 seconds)
593: [03:40:26] <JeremyRoundill> adrexia: I was all like "huh? wha?" but then I realised you were talking about a different Jeremy.
594: [03:40:46] <JeremyRoundill> Also, how did you know my name?!? :P
595: [03:40:47] <adrexia> yeah, the SilverPiker Jeremy
596: [03:40:51] <adrexia> lol
597: [03:41:16] <Colin[pi]> why the fuck does everyone need to do "quirky" photos? can't they just have.... photos?
598: [03:41:24] <Colin[pi]> look at us, we're quirky!
599: [03:41:31] <spronk2> :D
600: [03:41:50] <adrexia> such cynicism
601: [03:42:01] <Colin[pi]> and how!
602: [03:42:09] * novaweb makes a duck face
603: [03:43:59] <Stomach> yeah I prefer serious photo
604: [03:44:19] <Stomach> https://scontent-a-mia.xx.fbcdn.net/hphotos-ash2/v/t1.0-9/540711_10151835773783833_1301062533_n.jpg?oh=308a7f17fcb6e64a79660e21e3e0dcf0&oe=54E383BA
605: [03:44:22] <Colin[pi]> Stomach: I just busting your chops... I know why they do it
606: [03:44:41] <Colin[pi]> aw that photo is adorable, I want to hug you
607: [03:45:01] <Stomach> <3
608: [03:45:04] <adrexia> naww
609: [03:45:13] * david_j has joined #silverstripe
610: [03:47:14] <Ryan-Toast> Stomach: my old work photo - http://i.imgur.com/b9unUXM.jpg
611: [03:47:16] <novaweb> http://www.novaweb.co.nz/DF.jpg
612: [03:47:23] <Stomach> Ryan-Toast
613: [03:47:26] <Stomach> gaaahhhhhhh
614: [03:47:26] <novaweb> don't look at my website it's a POS
615: [03:47:48] <Ryan-Toast> Stomach: :P
616: [03:48:35] <Stomach> alright its beer time
617: [03:48:37] <Stomach> wooooooo
618: [03:49:11] * novaweb quit (Quit: Leaving)
619: [03:51:16] <adrexia> https://github.com/fmtvp/ezDBug "Why it is better css debugger?" "It is work with most browsers and more stable in compare with other css debuggers"
620: [03:51:17] <adrexia> lol
621: [03:52:21] <spronk2> o_O
622: [03:52:30] <spronk2> what fuck
623: [03:53:13] <Ryan-Toast> adrexia: the fuck is that?
624: [03:53:21] <adrexia> lol
625: [03:53:38] <adrexia> its a debugging tool for apoplications that run on TVs
626: [03:54:03] <adrexia> amoungst other things
627: [03:54:56] * willr quit (Quit: willr)
628: [03:55:42] <Colin[pi]> people use apps on their TVs?
629: [03:56:02] <adrexia> yep
630: [03:56:13] <spronk2> bullshit
631: [03:56:14] <adrexia> I disacove3red that when I inherited a sony bravio
632: [03:56:26] <adrexia> but anyway, its a thing
633: [03:56:42] <adrexia> it that case it's also for xbox etc
634: [03:57:28] <Colin[pi]> they must have got better
635: [03:57:32] <Colin[pi]> I have some on my samsung tv
636: [03:57:35] <Colin[pi]> I loaded them up once
637: [03:57:42] <Colin[pi]> and thought "wow, these are shit"
638: [03:57:47] <Colin[pi]> then didn't run them again :D
639: [03:58:03] <adrexia> yeah, I found some good
640: [03:58:15] <adrexia> but not as good as just plugging the tv into my macbook air
641: [03:58:17] <JeremyRoundill> "Is it fix ?"
642: [03:58:18] <adrexia> ;)
643: [03:58:43] <adrexia> I think I want that on a t-shirt
644: [03:59:02] <JeremyRoundill> I want to get something embroidered on a snapback.
645: [03:59:18] <JeremyRoundill> I want the classic black snapback with red text on it - like the OBEY brand
646: [03:59:23] <JeremyRoundill> But I want it to say OTAY
647: [04:02:56] * helenclarko quit (Quit: Page closed)
648: [04:09:38] * wracu has joined #silverstripe
649: [04:10:34] <wracu> is it possible to show a Gridfield on a tab within ModelAdmin, where the contents of the Gridfield is a subset of a DataObject?
650: [04:11:01] <wracu> my requirement is to show a gridfield ONLY to allow sorting, using sortableGridfield.
651: [04:13:16] <wracu> Example. I want to present a list of people, who have at least one Item belonging to a specific Group. I want to allow sorting of the people for use in templates
652: [04:15:43] * Stomach quit (Ping timeout: 255 seconds)
653: [04:22:52] * stefanh__ has joined #silverstripe
654: [04:25:30] <UncleCheese> Kingy what makes you think LOTR isn't an American movie?
655: [04:25:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
656: [04:27:06] * Hailwood has joined #silverstripe
657: [04:27:09] <Hailwood> pin
658: [04:33:31] * stefanh__ quit (Quit: This computer has gone to sleep)
659: [04:34:37] <madmatt> simon_w|work: Coming over for Kiwicon this year?
660: [04:34:49] <simon_w|work> madmatt, not this year
661: [04:34:52] <simon_w|work> No money
662: [04:36:11] * cloph_away has joined #silverstripe
663: [04:36:13] * cloph quit (Ping timeout: 244 seconds)
664: [04:38:40] * Ryan-Toast quit (Quit: Ryan-Toast)
665: [04:47:30] <Colin[pi]> simon_w|work: dat wedding cost
666: [04:50:26] * giarc has joined #silverstripe
667: [04:58:24] * Kingy is now known as Kingy[a]
668: [05:11:50] * spronk2 quit (Quit: I may need a longer sleep timer...)
669: [05:12:56] <simon_w|work> Colin[pi], pretty much
670: [05:14:54] * TRB143 quit (Read error: Connection reset by peer)
671: [05:15:01] * joelpittet has joined #silverstripe
672: [05:15:01] * TRB143 has joined #silverstripe
673: [05:22:04] <simon_w|work> Well, just did my first fix straight on live and didn't appear to fuck things up!
674: [05:37:14] * giarc quit (Quit: Leaving.)
675: [05:44:24] * Colin[pi] quit (Ping timeout: 245 seconds)
676: [05:48:50] * giarc has joined #silverstripe
677: [05:49:03] * Sticks quit (Quit: Leaving)
678: [05:50:31] * giarc quit (Client Quit)
679: [05:52:46] * giarc has joined #silverstripe
680: [05:54:29] * giarc quit (Client Quit)
681: [06:04:17] <Tanger> Grats simon_w. Best feeling in the world
682: [06:04:23] <Tanger> As long as it stays that way :P
683: [06:11:39] * Stomach has joined #silverstripe
684: [06:17:11] * Stomach quit (Quit: zzz)
685: [06:18:13] * abitran quit (Ping timeout: 265 seconds)
686: [06:19:52] * NobrainerWeb has joined #silverstripe
687: [06:20:00] <NobrainerWeb> Morning
688: [06:25:25] * abitran has joined #silverstripe
689: [06:27:36] <NobrainerWeb> Can someone explain this to me: i have a loop in my template, looping over Translations. For each translation i wish to print a value from SiteConfig, so in my loop i have $SiteConfig.PrimaryDomain. This used to work in 2.4, but in 3.1 it does not print anything
690: [06:29:06] * Stomach has joined #silverstripe
691: [06:34:29] * Colin[pi] has joined #silverstripe
692: [06:36:58] * david_j quit (Ping timeout: 246 seconds)
693: [06:46:07] * lerni_ has joined #silverstripe
694: [06:49:02] * Shrike_Finland has joined #silverstripe
695: [06:49:33] * Shrike_Finland1 has joined #silverstripe
696: [06:53:44] * Shrike_Finland quit (Ping timeout: 264 seconds)
697: [06:57:37] <Tanger> NobrainerWeb: Can you print $SiteConfig.Title inside the loop?
698: [06:57:47] <NobrainerWeb> Tanger: Yes
699: [06:58:36] <NobrainerWeb> Tanger: wait sry
700: [07:00:00] <NobrainerWeb> Tanger: Yes i can, but it prints the value of the language i’m currently on
701: [07:07:38] * micmania1 quit (Quit: micmania1)
702: [07:14:33] * babak quit (Quit: Connection closed for inactivity)
703: [07:17:10] * caamic30 has joined #silverstripe
704: [07:18:04] <caamic30> Hi SS, what is the equivalant of $Up from the template to backend, is there a function called $this->Up() ??
705: [07:21:50] * Tanger quit (Read error: Connection reset by peer)
706: [07:22:11] * Tanger has joined #silverstripe
707: [07:24:11] <NobrainerWeb> caamic30: Parent?
708: [07:25:40] <caamic30> NobrainerWeb: No, didn’t work
709: [07:26:26] <NobrainerWeb> caamic30: What is this refering to?
710: [07:28:02] <caamic30> NobrainerWeb: nvm, I solved it! thanks :)
711: [07:28:11] <NobrainerWeb> np
712: [07:37:01] * Eliseth quit (Remote host closed the connection)
713: [07:37:30] * mirrors has joined #silverstripe
714: [07:37:39] <mirrors> hey there everyone
715: [07:38:36] <mirrors> Is it possible to use a DataExtension to add a public method to a class that inturn uses a protected method of said classes parent
716: [07:39:53] <mirrors> I want to use the protected method duplicateManyManyRelations on a subclass of DataObject
717: [07:40:48] * Eliseth has joined #silverstripe
718: [07:50:09] <Eliseth> Morning
719: [07:54:14] <simon_w> mirrors, nope
720: [07:57:17] * Hailwood quit (Remote host closed the connection)
721: [07:59:11] * wmk has joined #silverstripe
722: [08:00:05] * abitran quit (Ping timeout: 244 seconds)
723: [08:00:19] * abitran has joined #silverstripe
724: [08:02:13] <wmk> gmorning (utc)
725: [08:02:23] <wmk> it was ugt, sorry
726: [08:08:13] * Stomach quit (Quit: zzz)
727: [08:08:34] * Stomach has joined #silverstripe
728: [08:08:53] * Guits has joined #silverstripe
729: [08:12:26] * UncleCheese has joined #silverstripe
730: [08:12:43] <Guits> I get 400 Bad Request {"error":"File is not a valid upload"}
731: [08:19:20] * Stomach quit (Quit: zzz)
732: [08:19:52] * joelpittet quit (Remote host closed the connection)
733: [08:23:59] * Shrike_Finland1 quit (Quit: Leaving.)
734: [08:25:49] * Stomach has joined #silverstripe
735: [08:29:52] * spronk2 has joined #silverstripe
736: [08:30:50] * jeroenem has joined #silverstripe
737: [08:31:00] <jeroenem> Too many tables; MySQL can only use 61 tables in a join :(
738: [08:34:40] * Stomach quit (Quit: zzz)
739: [08:35:34] * stefanh__ has joined #silverstripe
740: [08:35:52] <jeroenem> is there any work around for that error?
741: [08:38:00] * mirrors quit (Quit: Page closed)
742: [08:44:13] * Stomach has joined #silverstripe
743: [08:49:04] * arnhoe has joined #silverstripe
744: [08:50:38] * Shrike_Finland has joined #silverstripe
745: [08:52:25] * spronk2 quit (Quit: I may need a longer sleep timer...)
746: [08:54:23] * Stomach_ has joined #silverstripe
747: [08:55:54] * Stomach quit (Ping timeout: 256 seconds)
748: [08:56:22] <wmk> jeroenem, wow
749: [08:56:54] <wmk> how did you get this?
750: [08:56:56] <wmk> ORM ?
751: [08:57:12] * kinglozzer has joined #silverstripe
752: [08:58:03] * spronk2 has joined #silverstripe
753: [09:00:49] * mahfuz quit (Ping timeout: 246 seconds)
754: [09:01:06] <jeroenem> nope, it's a very big corporate site running on 2.4
755: [09:01:33] <jeroenem> they require a lot of different page types and the time has come that they've reached their limit ;P
756: [09:01:49] * Stomach_ quit (Quit: zzz)
757: [09:02:52] <jeroenem> it wont that that error in the frontend though, only when you try to get into the backend
758: [09:03:13] <jeroenem> i guess the join is needed to display the contents of the sitetree
759: [09:03:32] <wmk> yup. if you have tons of sub pagetypes
760: [09:03:42] <wmk> as data is stored across many tables :(
761: [09:04:12] <wmk> do you really need all pagetypes?
762: [09:04:40] <jeroenem> well i've found 4 of them which aren't being used at the moment - so i can get rid of those to clean up some 'space'
763: [09:05:06] <wmk> typical pagetypitis symptom
764: [09:05:24] <wmk> depends WHY there is a pagetype.
765: [09:05:57] <wmk> if it's just for layout and not for extra content / data it doesn't make sense
766: [09:06:39] <wmk> if it's for "add a gallery to the pagetype" you may add the gallery globally but show grid for it only for the types when needed.
767: [09:07:01] <wmk> i mean: if a pagetype doesn't add new db fields or relations you don't need an extra table for it
768: [09:07:25] <wmk> but you get different php classes / DOs with different logic.
769: [09:07:46] <jeroenem> yeah, we did some of that in the past - combine a lot of functionality into pages
770: [09:09:09] <jeroenem> anyway it has grown this big with different loyalty programs, webshop, daily deal stuff, forms, job listings, next to the regular page types
771: [09:09:22] <jeroenem> it's kinda big =)
772: [09:10:04] <jeroenem> i wonder if the same would happen to SS 3.X - i guess it's not a limitation to SS but to MySQL
773: [09:10:29] <jeroenem> or both, i dunno
774: [09:11:27] * stefanh__ quit (Quit: This computer has gone to sleep)
775: [09:15:17] <wmk> both.
776: [09:15:23] <wmk> though it's the way how ss works
777: [09:15:40] <wmk> time for refactoring ;)
778: [09:15:47] <wmk> and building migration scripts
779: [09:16:29] <Colin[pi]> migration script is what I
780: [09:16:32] <Colin[pi]> am doing
781: [09:16:33] <Colin[pi]> right now
782: [09:16:37] <Colin[pi]> ^.^
783: [09:17:19] * Otterpocket has joined #silverstripe
784: [09:17:35] <Otterpocket> Hi, how can I fix "use of iconv.internal_encoding is deprecated"?
785: [09:18:08] <Otterpocket> I assume its a server config problem, just not sure where to start looking
786: [09:18:29] <simon_w> Otterpocket, upgrade SilverStripe
787: [09:22:55] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
788: [09:23:25] <Otterpocket> simon_w: Im using 3.1.5
789: [09:23:43] * Tanger quit (Quit: Tanger)
790: [09:25:38] <jeroenem> yay!
791: [09:25:44] <Eliseth> ?
792: [09:26:17] <Otterpocket> simon_w: I need 3.1.6?
793: [09:28:05] <wmk> Otterpocket, where is it used? And what php version are you using?
794: [09:28:07] * Pyfjsk has joined #silverstripe
795: [09:28:10] <wmk> hi Pyfjsk
796: [09:28:16] <Pyfjsk> morgen wmk
797: [09:28:25] <Otterpocket> Ill paste, 1 sec
798: [09:28:38] <Pyfjsk> huffing at this hour!?
799: [09:28:53] <Pyfjsk> at least wait until after 3 to chrome your lips Otterpocket :P
800: [09:29:10] <wmk> huffing?
801: [09:29:30] <Pyfjsk> 'pasting' could be equivilated to 'sniffing glue'.
802: [09:29:50] <Otterpocket> wmk: http://fpaste.org/148308/41526603/
803: [09:29:54] <Pyfjsk> 'huffing' is the act of getting high from accelerant/propellants from the likes of spray cans.
804: [09:30:01] <wmk> like sniffing solvent?
805: [09:30:09] <Pyfjsk> yes, just like that.
806: [09:30:25] <wmk> so huffington post is the news for solvent addictant?
807: [09:30:26] <Otterpocket> php 5.6.1
808: [09:30:30] <Pyfjsk> but more like using chrome spray paint (thus usually leaving the spaced out abuser with chrome lips/face)
809: [09:30:42] <Pyfjsk> wmk: haahhaha, yes!
810: [09:30:47] <Pyfjsk> never thought of that :P
811: [09:31:05] * stefanh__ has joined #silverstripe
812: [09:31:07] <Otterpocket> I recently done a distro upgrade, and that php version is much newer..... maybe that then
813: [09:31:11] <wmk> i once was in romania (90s) where a church had a house for children living on the street
814: [09:31:40] <wmk> some of them were also sniffing, and a patre took it of them and we had a "chance" to hold our nose over that
815: [09:31:49] <wmk> MAN - such a strong solvent
816: [09:32:00] <wmk> and i thought my edding pens are stinking
817: [09:32:53] <wmk> Otterpocket, and the trace of the error?
818: [09:33:14] <wmk> i cannot see anything in the Subscription class paste which could use iconv...
819: [09:33:24] <wmk> but maybe 3.1.5 doesn't work on php 5.6
820: [09:33:30] <wmk> dunno. see changelogs
821: [09:33:35] <Pyfjsk> 3.1.6 sure does
822: [09:33:46] <Pyfjsk> don't see why 3.1.5 wouldn't.
823: [09:34:03] <Otterpocket> It works fine on the uat,staging and live servers
824: [09:34:03] * Pyfjsk reads logs
825: [09:34:18] <Otterpocket> they all have an older version of php
826: [09:35:08] <Pyfjsk> Otterpocket: $defaults = [ 'StartDate' => 'now' ]
827: [09:36:07] <wmk> this new array syntax looks so sexy
828: [09:36:53] <Otterpocket> Pyfjsk: HA! Same error but now I dont even get a date in the field, just 'now'
829: [09:37:21] <Pyfjsk> o.0
830: [09:37:23] <Pyfjsk> hmm
831: [09:37:33] <Pyfjsk> I could be mistaken. Was pretty sure that was a thing though.
832: [09:37:46] <Pyfjsk> Maybe it's just for DateField or something.
833: [09:38:10] <Pyfjsk> simon_w would know :< He's the one that old me!
834: [09:38:26] <Otterpocket> SS_DateTime does the same
835: [09:39:17] <kinglozzer> Otterpocket: As simon_w said, you need to upgrade SilverStripe
836: [09:39:37] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/commit/8ed5e8490d50a9e47dc568191824a97226cd65f2
837: [09:39:41] <kinglozzer> 3.1.6
838: [09:39:43] * Pyfjsk finally reads logs
839: [09:39:47] <Pyfjsk> oh, iconv eh
840: [09:39:49] <Pyfjsk> yeah, update.
841: [09:40:08] <Pyfjsk> it won't impact anything (or at least, it shouldn't. There should be no api changes in a point release)
842: [09:40:28] <Otterpocket> kinglozzer: Half way though a project though... is it advisable lol?
843: [09:40:38] <Pyfjsk> Otterpocket: read line above.
844: [09:40:43] <Pyfjsk> very advisable.
845: [09:40:54] <Otterpocket> I guess I shouldn't do distro upgrades lol
846: [09:40:57] <Otterpocket> k
847: [09:41:03] <kinglozzer> Otterpocket: Well if your prod servers are on PHP 5.6 you've got two choices: downgrade PHP or upgrade SilverStripe :P
848: [09:41:57] * Pyfjsk loves -Syu
849: [09:42:03] <Otterpocket> kinglozzer, Pyfjsk, wmk: Thanks
850: [09:42:06] * Pyfjsk did it last night, just coz.
851: [09:42:23] <Pyfjsk> Turned the computer on, did that, did nothing else, turned it off an hour later.
852: [09:42:30] <Pyfjsk> FEELS GOOD MAN
853: [09:42:54] <Otterpocket> lol
854: [09:43:45] <kinglozzer> Seriously, why the hell did Apple release Yosemite with PHP compiled _without_ png support
855: [09:43:56] <kinglozzer> (I don't use the bundled one anyway, but still)
856: [09:44:26] <wmk> php is bundled with an OS?
857: [09:44:28] <wmk> strange
858: [09:45:46] <Otterpocket> Doen't OSX come with Ruby also
859: [09:45:52] <kinglozzer> wmk: Yeah PHP, apache, mysql are bundled in OS X
860: [09:46:24] <kinglozzer> Not sure about Ruby ^^ I've got it but I might've installed it myself
861: [09:46:25] <wmk> well, somehow it's bundled with linux also, just run e.g. apt-get ...
862: [09:46:48] <simon_w> kinglozzer, OS X doesn't come with MySQL
863: [09:47:02] <kinglozzer> wmk: With OS X, just run "brew install" ;)
864: [09:47:14] <wmk> ok.
865: [09:47:24] <Otterpocket> "Error PHP is deprecated, use Ruby instead"
866: [09:47:25] <wmk> so not bundled by default but a packet mgr
867: [09:47:38] <wmk> Otterpocket, !!
868: [09:47:43] <kinglozzer> simon_w: Oh, then I guess I have a dead install laying around :P
869: [09:47:44] * Pyfjsk starts his VM just so he can scratch the pacman -Syu itch :D
870: [09:47:51] <Otterpocket> :D
871: [09:48:08] <kinglozzer> wmk: No it is bundled by default, I just mean that's the easiest way of installing one that actually works :P
872: [09:48:18] <wmk> ;)
873: [09:48:30] * wmk still prefers vagrant
874: [09:48:56] <Pyfjsk> Otterpocket: that would be 'Warning', not 'Error'.
875: [09:49:10] <Otterpocket> Pyfjsk: true
876: [09:49:12] <Pyfjsk> woo, a linux upgrade
877: [09:49:15] <Pyfjsk> 3.17 :D
878: [09:49:20] <Pyfjsk> .2-1
879: [09:49:58] <Pyfjsk> phpmyadmin, dhcpcd
880: [09:50:07] <Pyfjsk> and some other important looking shiz
881: [09:52:18] * caamic30 quit (Quit: caamic30)
882: [09:52:33] * Shrike_Finland quit (Quit: Leaving.)
883: [09:55:10] <Otterpocket> fyi, Update fixed it
884: [09:55:18] <Otterpocket> thanks
885: [09:56:46] <Pyfjsk> Otterpocket: next time jfdi! :P
886: [09:59:36] * micmania1 has joined #silverstripe
887: [10:05:12] <Pyfjsk> areet micmania1
888: [10:05:19] <micmania1> areeeeeet
889: [10:05:57] <Pyfjsk> what's the haps like?
890: [10:06:18] <Pyfjsk> -?
891: [10:06:47] <Pyfjsk> hows it gaan?
892: [10:06:48] <Pyfjsk> etc
893: [10:06:54] <wmk> jfdi?
894: [10:07:01] <Pyfjsk> just... do it.
895: [10:07:09] <wmk> ahh
896: [10:07:19] <wmk> just freakout'n do it ??
897: [10:07:21] <Pyfjsk> simon_w gave correct answer immediately!
898: [10:07:29] <Pyfjsk> wmk: uhh, yes :>
899: [10:07:58] * Shrike_Finland has joined #silverstripe
900: [10:08:34] * spronk2 quit (Quit: I may need a longer sleep timer...)
901: [10:08:43] * joelpittet has joined #silverstripe
902: [10:13:28] * joelpittet quit (Ping timeout: 255 seconds)
903: [10:14:38] * stefanh__ quit (Quit: This computer has gone to sleep)
904: [10:24:28] * BetterBert has joined #silverstripe
905: [10:26:13] * stefanh__ has joined #silverstripe
906: [10:32:41] * Colin[pi] quit ()
907: [10:35:54] * wmk quit (Ping timeout: 264 seconds)
908: [10:41:09] * JanD has joined #silverstripe
909: [10:41:46] <BetterBert> Question about using the UploadField: I have successfully implemented upload for images but uploading documents is doing something odd. I've tried all sorts of documents, they are all actually uploading but I'm then getting the message "SyntaxError: Unexpected token <". After which the document is not linked to Page record or presented on the site...
910: [10:42:21] <BetterBert> Also, I've tried this in 2 different environments, with the same response in both?!?
911: [10:45:37] * muzz has joined #silverstripe
912: [10:45:47] <muzz> G'day guys.
913: [10:46:32] <muzz> Was hoping somebody could give me a quick hand. I have a theme i am working on that is working in XAMPP on my computer but is just being that broken default theme when i upload it to the server
914: [10:46:51] <muzz> Both are fresh clean installs of the same version of SS so it makes no sense
915: [10:47:05] <muzz> also no uploaded themes are working , on the server despite working locally
916: [10:54:55] * arnhoe quit (Ping timeout: 272 seconds)
917: [10:56:28] * arnhoe has joined #silverstripe
918: [10:57:45] * firefox2kx has joined #silverstripe
919: [10:57:51] <firefox2kx> hi
920: [10:58:38] * Pyfjsk has discovered coreos - this looks quite interesting!
921: [10:58:49] <Pyfjsk> hi firefox2kx
922: [10:59:08] * lerni_ quit (Remote host closed the connection)
923: [10:59:12] <Pyfjsk> BetterBert: sounds like a typo in your php.
924: [10:59:15] <Pyfjsk> somewhere.
925: [10:59:34] <Pyfjsk> muzz: 'broken default theme'?
926: [10:59:52] <Pyfjsk> by chance do you mean the theme that isn't a theme?
927: [11:00:09] <Pyfjsk> dark blue bar on top with title, light blue/grey backing for output?
928: [11:00:27] <Pyfjsk> muzz: sounds like you don't have .htaccess or it's not configured properly.
929: [11:00:36] <Pyfjsk> stop 'deploying' via ftp :<
930: [11:00:38] * lerni has joined #silverstripe
931: [11:02:21] <firefox2kx> Already some time since I've done that - I assume: when copying mysite/code/Page.php to mysite/code/Home.php, creating a Home.ss inside Layout, flushing and setting the site type "Home" for a page in administration, the $Layout-Variable in Page.ss should get the Home.ss. But it gets Page.ss. What have I forgotten to do ?
932: [11:03:39] <firefox2kx> Home extends Page, Home_Controller extends Page_Controller
933: [11:06:15] <muzz> Pyfjsk: yeah that's what i mean
934: [11:06:40] <kinglozzer> firefox2kx: Well it gets the template names from the Controller name, so it's usually that someone's forgotten to rename the controller, but it looks like you've done that :/
935: [11:07:07] <muzz> Im not really a web developer normally. How else are you supposed to deploy other than ftp?
936: [11:08:24] <Pyfjsk> muzz: using a tool that isn't shit :P
937: [11:08:38] <muzz> Haha, ok any suggestions?
938: [11:08:56] <Pyfjsk> muzz: If you _have_ uploaded the .htaccess, most likely you just didn't update the RewriteBase before doing so
939: [11:09:11] <Pyfjsk> muzz: there are many. But FTP works fine too, mostly.
940: [11:09:29] <Pyfjsk> it's just not... recommended. Good. Easy. Reliable.
941: [11:10:07] <muzz> well you managed to guess i was using it... so that says something
942: [11:10:33] <Pyfjsk> if you've got your site in some kind of version control, and the repository is publically accessable, use that to clone/pull/checkout your site.
943: [11:10:51] <Pyfjsk> not 100% ideal without a few tweaks, but generally works ok once you get a groove going.
944: [11:10:55] <Pyfjsk> muzz: but FTP will suffice.
945: [11:11:04] <Pyfjsk> muzz: you may need to enable 'show hidden files'
946: [11:11:08] <Pyfjsk> or 'show dot files' or something
947: [11:11:31] <Pyfjsk> if you don't see .htaccess in your silverstripe root (ie, the place where you see the framework, cms, themes folders)
948: [11:12:26] <Pyfjsk> muzz: now, edit the .htaccess so that the part that says RewriteBase is apppropriate to the path to your website.
949: [11:12:32] <Pyfjsk> so if the deployed site is for example:
950: [11:12:36] <muzz> ah awesome, thanks
951: [11:12:38] <Pyfjsk> yourwebsite.com/
952: [11:12:42] <Pyfjsk> then it should be '/'
953: [11:13:13] <Pyfjsk> if your install is on yourwebsite.com/silverstripe/whatever/ (where framework folder is)
954: [11:13:22] <Pyfjsk> then it should be '/silverstripe/whatever/'
955: [11:13:43] <Pyfjsk> it is relative to the request path, not the physical file path.
956: [11:14:04] <muzz> awesome! That sounds like the solution
957: [11:14:24] <Pyfjsk> once you've updated that, upload it (then revert it if you've edited your local file otherwise your xampp version will stop working) and hopefully it will work.
958: [11:15:45] <Pyfjsk> then like, go crack a beer or something m8, it's after 10pm
959: [11:15:52] <Pyfjsk> gosh
960: [11:16:01] <muzz> 9pm, actually
961: [11:16:02] <firefox2kx> kinglozzer: deleting the cache folder helped
962: [11:16:02] <muzz> haha
963: [11:24:38] * micmania1 quit (Ping timeout: 258 seconds)
964: [11:29:30] * auto9 has joined #silverstripe
965: [11:31:05] * lerni quit (Remote host closed the connection)
966: [11:32:31] <BetterBert> Pyfjsk: about that upload, the same UploadField will upload images but not documents. How/Where would a typo exist that it could affect this?
967: [11:34:21] <Pyfjsk> I dunno, some kind of config maybe.
968: [11:34:27] * Pyfjsk shrugs
969: [11:34:28] <Pyfjsk> :<
970: [11:34:44] <BetterBert> :) fair enough, there must be something alright...
971: [11:50:38] <kinglozzer> BetterBert: Check 'em error logs!
972: [11:51:10] <kinglozzer> Is the "unexpected >" a JS error, or a PHP one? If it's JS, watch the "network" tab when you're uploading a document and inspect the response
973: [11:52:05] * NobrainerWeb quit (Quit: NobrainerWeb)
974: [11:53:13] <BetterBert> From what I can see so far, watching the network tab only shows JS being perfectly happy with whats going on...
975: [11:55:18] * NobrainerWeb has joined #silverstripe
976: [11:55:31] <BetterBert> PHP error: Call to a member function getURL() >> framework/forms/UploadField.php line 911
977: [11:56:02] <BetterBert> It is trying to create a Thumbnail for a document and getting its digital kninckers in a twist <facepalm>
978: [11:56:24] <kinglozzer> BetterBert: So the document class has a method "SetRatioSize"?
979: [11:56:36] <kinglozzer> (is it a custom class, or just "file")?
980: [11:56:43] <kinglozzer> Any extensions applied?
981: [11:57:01] <BetterBert> All upload funcitonality is straight out of the box...
982: [11:57:33] * joelpittet has joined #silverstripe
983: [12:01:23] <kinglozzer> BetterBert: So you've got a has_one (or many_many) 'Foo' => 'File'?
984: [12:01:50] <BetterBert> yup
985: [12:01:53] * lerni has joined #silverstripe
986: [12:02:22] * joelpittet quit (Ping timeout: 255 seconds)
987: [12:02:48] <kinglozzer> BetterBert: In your version of SilverStripe, which method is line "911"? "SetRatioSize" or "getThumbnailURL"?
988: [12:02:59] <BetterBert> getThumbnailURL
989: [12:04:11] <kinglozzer> BetterBert: And which version are you using?
990: [12:04:46] * lerni quit (Read error: Connection reset by peer)
991: [12:04:47] <BetterBert> v3.1. Found it, there was something else I was doing on my test server which was borking the mimetypes and sending SS in the wrong direction
992: [12:05:00] * lerni has joined #silverstripe
993: [12:05:14] <BetterBert> All fixed. Have the upload working as expected again now.. Thanks for your help Kinglozzer
994: [12:05:16] <BetterBert> :)
995: [12:05:20] <kinglozzer> Ah, cool :)
996: [12:07:36] <Pyfjsk> BetterBert: sounds like a config issue!
997: [12:07:46] <Pyfjsk> like... your uploadfield is set to Image, not File.
998: [12:08:10] <BetterBert> Pyfjsk: yup, bang on. Wood from the trees and all that...
999: [12:08:15] * stefanh__ quit (Quit: This computer has gone to sleep)
1000: [12:08:18] <Pyfjsk> hehe
1001: [12:08:47] <Pyfjsk> how did you get on muzz ?
1002: [12:09:03] <Pyfjsk> XXXX Gold?
1003: [12:09:08] <Pyfjsk> Tooheys?
1004: [12:09:14] <Guits> I get 400 Bad Request {"error":"File is not a valid upload"}
1005: [12:09:29] <Pyfjsk> Guits: from what line?
1006: [12:09:39] <Guits> 3.1
1007: [12:09:39] * lerni quit (Ping timeout: 272 seconds)
1008: [12:09:58] <Guits> ..if you mean version
1009: [12:10:35] * Tweeper has joined #silverstripe
1010: [12:13:12] <kinglozzer> Guits: Upload::validate(). is_uploaded_file($this->tmpFile['tmp_name']) is failing
1011: [12:13:28] <Tweeper> hello guys, I have a simple question: When changing the description in page.php (private static $description = 'Base Page';), the description of sitetree.php remains ("Generic content Page") and doesn't get overwritten. Neither after dev/build. For all other pages it works like charm, but not for page.php itself. Anybody knows if I'm missing something here?
1012: [12:14:56] <Guits> kinglozzer ..what do you mean?
1013: [12:15:20] <kinglozzer> Guits: That's where the "File is not a valid upload" error is coming from
1014: [12:15:31] <kinglozzer> Dunno what causes it, just pointing out where you might want to start looking :)
1015: [12:15:43] <Guits> ok, thanx
1016: [12:15:58] * stefanh__ has joined #silverstripe
1017: [12:16:36] <kinglozzer> Wait, no, I think I might be wrong there
1018: [12:16:40] <Guits> can i rename file on uploid?
1019: [12:16:40] * wmk has joined #silverstripe
1020: [12:16:47] <kinglozzer> I think it might be coming from UploadField::fileexists()
1021: [12:16:55] <kinglozzer> What's the URL it's trying to access when that error happens?
1022: [12:17:42] <Guits> admin/pages/edit/EditForm/field/Documents/fileexists?filename=%C3%85rsred+Olle+2005.pdf
1023: [12:20:16] * NobrainerWeb quit (Quit: NobrainerWeb)
1024: [12:22:37] <kinglozzer> Guits: That's weird.. it works fine for me
1025: [12:22:59] <Guits> I have tried on two different servers
1026: [12:23:03] <kinglozzer> /fileexists?filename=A%CC%8Arsred+Olle+2005.pdf
1027: [12:23:23] <kinglozzer> Guits: What version of 3.1? 3.1.6?
1028: [12:23:27] * cupcake has joined #silverstripe
1029: [12:23:31] <Guits> 3.1.6
1030: [12:25:54] <Guits> Do you want me to send the file ?
1031: [12:26:09] <kinglozzer> No, it's failing on the file name, not contents
1032: [12:26:24] <cupcake> hi guys
1033: [12:27:31] <cupcake> i have an array list containing a datalist
1034: [12:27:37] <cupcake> and im looping through it
1035: [12:27:38] <Guits> you get filename A%CC%8Arsred+Olle+2005.pdf while I get %C3%85rsred+Olle+2005
1036: [12:27:47] <cupcake> i want to access the object's functions
1037: [12:27:50] <cupcake> how do i do that
1038: [12:27:54] <cupcake> im getting this error
1039: [12:27:55] <cupcake> [User Error] Uncaught Exception: Object->__call(): the method 'formattedvideolength' does not exist on 'DataList'
1040: [12:28:35] <kinglozzer> Guits: Yeah, that's strange. Have you tried a different browser?
1041: [12:28:54] <kinglozzer> It's the javascript that's encoding that, not sure why it'd be behaving differently
1042: [12:29:12] <Guits> noe
1043: [12:29:13] <kinglozzer> cupcake: You're trying to call it on a _list_ of items, rather than an individual item
1044: [12:29:29] <kinglozzer> cupcake: You probably want ->first()->formattedVideoLength() or something like that
1045: [12:29:43] <cupcake> so how can i loop it
1046: [12:29:46] <cupcake> the arraylist
1047: [12:29:52] <cupcake> so that i have 1 object only at hand?
1048: [12:30:00] <cupcake> per loop i.e.
1049: [12:30:34] <Guits> Same error on chrome/ff
1050: [12:30:55] <kinglozzer> foreach($arrayList as $dataList) { $item = $dataList->first(); $videoLength = $item->formattedVideoLength(); }
1051: [12:31:28] <kinglozzer> Guits: Any custom javascript or modules? I can't figure out why it'd encode the url differently for me..
1052: [12:31:58] <Guits> multilingual module
1053: [12:32:09] <Guits> but not on another site i tried on
1054: [12:35:38] <kinglozzer> Guits: I've got no idea what's going on :| I've made sure my file is named with the decoded version of %C3%85rsred+Olle+2005, yet it changes back to A%CC%8Arsred+Olle+2005 when I upload it
1055: [12:36:11] <Guits> weird
1056: [12:37:24] <kinglozzer> My mac seems to change Å to Å (I just decoded both of them, they look identical to me!)
1057: [12:38:19] <Guits> :) our bad with so many strange characters
1058: [12:38:51] <Guits> but if i send you the file what will happens if you upload it (should keep the same charset)
1059: [12:41:58] * lerni has joined #silverstripe
1060: [12:54:28] <Tweeper> Guys, I can see you're busy, but maybe this is an easy one for one of you? I have a simple question: When changing the description in page.php (private static $description = 'Base Page';), the description of sitetree.php remains ("Generic content Page") and doesn't get overwritten. Neither after dev/build. For all other pages it works like charm, but not for page.php itself. Anybody knows if I'm missing something here?
1061: [13:00:23] <kinglozzer> Tweeper: Hmm, same behaviour here, looks like a bug to me
1062: [13:00:39] <kinglozzer> Create an issue for it: https://github.com/silverstripe/silverstripe-cms/issues
1063: [13:00:42] * kinglozzer lunch
1064: [13:10:27] <Tweeper> kinglozzer: alright, I'll create an issue. thanks
1065: [13:14:20] * UndefinedOffset has joined #silverstripe
1066: [13:16:04] * muskie9 has joined #silverstripe
1067: [13:21:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1068: [13:41:44] * cloph_away is now known as cloph
1069: [13:46:27] * joelpittet has joined #silverstripe
1070: [13:47:06] * caamic30 has joined #silverstripe
1071: [13:50:54] * joelpittet quit (Ping timeout: 255 seconds)
1072: [13:53:22] <Pyfjsk> Tweeper: flush.
1073: [13:54:14] <Pyfjsk> if it still doen't work, use _config.yml
1074: [13:55:55] <Pyfjsk> cupcake: <% loop thing %> <% loop nestedlist %>
1075: [13:57:31] <Pyfjsk> Tweeper: if it doesn't work with config system, then it's probably hard coded.
1076: [13:57:40] <Pyfjsk> and bug report like kinglozzer said.
1077: [13:58:03] <Pyfjsk> cupcake: you ahve a list, you loop it, then you want the items of things in ANOTHER list.
1078: [13:58:18] <Pyfjsk> $blah will presume it's a property on the list itself, as evident in the error message.
1079: [13:58:28] <Pyfjsk> remember your context!
1080: [14:02:29] * LoveDuckie has joined #silverstripe
1081: [14:10:01] * stefanh__ quit (Quit: This computer has gone to sleep)
1082: [14:15:37] * muskie9 has joined #silverstripe
1083: [14:17:13] * cupcake quit (Ping timeout: 246 seconds)
1084: [14:20:21] <lerni> how do people handle clicks on touch in 2014 - does fastclick still make sense?
1085: [14:25:50] * BetterBert quit (Ping timeout: 265 seconds)
1086: [14:30:13] * catcher has joined #silverstripe
1087: [14:44:17] * Otterpocket quit (Quit: Otterpocket)
1088: [14:45:14] * adrexia quit (Ping timeout: 265 seconds)
1089: [14:46:03] * actioussan has joined #silverstripe
1090: [14:48:17] <actioussan> I get this error when I'm trying to trigger Behaviour.register(): "ReferenceError: Behaviour is not defined"... Does anyone have an idea?
1091: [14:49:35] <catcher> actioussan, pretty sure Behaviour.register has been deprecated for a while.
1092: [14:49:59] <actioussan> nice that it is in the doc for 3.1
1093: [14:50:20] <actioussan> do you know an alternative?
1094: [14:50:22] <catcher> actioussan, I could be wrong about that, where's that link?
1095: [14:51:21] <actioussan> http://doc.silverstripe.org/framework/en/topics/javascript --> stands at the very end
1096: [14:54:50] <kinglozzer> Yeah actioussan, that needs to be removed
1097: [14:55:21] <actioussan> Thanks for the info.. but is there any other way?
1098: [14:55:31] <kinglozzer> actioussan: Entwine
1099: [14:55:45] <kinglozzer> I wrote a tutorial on it here: http://www.silverstripe.org/blog/a-beginners-introduction-to-using-entwine-in-silverstripe/
1100: [14:55:59] <kinglozzer> All the CMS JavaScript is written with Entwine
1101: [14:56:28] <actioussan> Thanks I'll have a look :)
1102: [14:57:07] * adrexia has joined #silverstripe
1103: [14:58:29] <Pyfjsk> too early adrexia, go back to sleep or sumf'n.
1104: [14:58:54] <Pyfjsk> actioussan: ask #prototype, idk.
1105: [14:59:20] <Pyfjsk> loldox
1106: [15:00:22] <Pyfjsk> right at the very top actioussan: Important: Parts of this guide apply to the SilverStripe 2.4 release, particularly around the jQuery.entwine library.
1107: [15:02:41] <Pyfjsk> http://doc.silverstripe.org/framework/en/reference/leftandmain#onload-javascript
1108: [15:02:43] <Pyfjsk> 404
1109: [15:06:29] <Pyfjsk> reluctantly crouched at the starting line, engines pumping and thumping in time, the green light flashes, the flags go up, churning and burning they yearn for the cup. They deftly manuvre and muscle for rank, fuel burning fast on an empty tank, reckless and wild they pour through the turns
1110: [15:09:54] * actioussan quit (Quit: Verlassend)
1111: [15:18:57] * joelpittet has joined #silverstripe
1112: [15:22:01] * caamic30 quit (Quit: caamic30)
1113: [15:35:12] * Otterpocket has joined #silverstripe
1114: [15:39:28] * Tweeper quit (Ping timeout: 246 seconds)
1115: [15:52:08] * Liquide quit ()
1116: [15:52:32] <catcher> *trumpet solo*
1117: [15:53:41] * Frans_Amsterdam has joined #silverstripe
1118: [15:54:27] <Frans_Amsterdam> Hi All, Anyone familiar with the Facebook SDK and how to implement?
1119: [15:55:49] <Pyfjsk> *solo trumpets*
1120: [15:55:58] <Pyfjsk> olo strumpets
1121: [15:56:08] <Pyfjsk> Frans_Amsterdam: nope.
1122: [15:56:31] <Frans_Amsterdam> Pyfjsk Bummer
1123: [15:56:36] <Pyfjsk> catcher: 'ullo tarts!
1124: [15:57:02] <catcher> haha
1125: [15:57:37] <Pyfjsk> My mind works in mysterious ways.
1126: [16:01:37] * auto9 quit (Ping timeout: 244 seconds)
1127: [16:04:30] * auto9 has joined #silverstripe
1128: [16:07:36] * Shrike_Finland1 has joined #silverstripe
1129: [16:09:45] * giarc has joined #silverstripe
1130: [16:09:55] * giarc quit (Changing host)
1131: [16:09:55] * giarc has joined #silverstripe
1132: [16:10:06] * Shrike_Finland quit (Ping timeout: 250 seconds)
1133: [16:10:49] * wmk quit (Ping timeout: 260 seconds)
1134: [16:11:11] * giarc has left #silverstripe
1135: [16:13:05] * micmania1 has joined #silverstripe
1136: [16:17:36] * micmania1 quit (Ping timeout: 255 seconds)
1137: [16:17:46] * arnhoe quit ()
1138: [16:23:20] * ralf_l has joined #silverstripe
1139: [16:23:33] * ralf_l quit (Remote host closed the connection)
1140: [16:24:28] * babak has joined #silverstripe
1141: [16:36:58] * jeroenem quit (Quit: Page closed)
1142: [16:38:07] * jenniferaslan has joined #silverstripe
1143: [16:38:27] <catcher> Pyfjsk, this I know.
1144: [16:40:18] * muskie9 is now known as _muskie9_
1145: [16:49:52] * _muskie9_ is now known as muskie9
1146: [16:53:25] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1147: [16:54:45] <muskie9> Frans_Amsterdam, I played around with it a while back... not too in depth though. was experimenting with images/albums and events: https://github.com/nhorstmeier/silverstripe-socialimages
1148: [16:54:57] <muskie9> more of a proof of concept than anything
1149: [16:55:25] <muskie9> oh, he just left... oh well
1150: [17:00:45] * lerni quit (Remote host closed the connection)
1151: [17:03:14] * oddnoc has joined #silverstripe
1152: [17:15:42] <Pyfjsk> mmhmm, it's that time of day
1153: [17:15:43] * Pyfjsk quit ()
1154: [17:21:01] <muskie9> so, what's the opposite of ->add() in a many_many relation... ->remove()?
1155: [17:25:42] <kinglozzer> muskie9: Yeah
1156: [17:25:49] <muskie9> cool, thnx
1157: [17:26:26] <kinglozzer> muskie9: It doesn't delete the item though, just removes the relation
1158: [17:26:50] * joelpittet quit (Remote host closed the connection)
1159: [17:26:54] <muskie9> perfect, exactly how I need it
1160: [17:27:04] * kinglozzer home time
1161: [17:27:08] * kinglozzer quit ()
1162: [17:28:40] * JanD quit (Ping timeout: 246 seconds)
1163: [17:28:51] * joelpittet has joined #silverstripe
1164: [17:31:44] * Otterpocket quit (Quit: Otterpocket)
1165: [17:34:16] * muzz quit (Ping timeout: 246 seconds)
1166: [17:35:26] * toddvalentine has joined #silverstripe
1167: [17:35:33] * joelpittet quit (Remote host closed the connection)
1168: [17:55:07] * joelpittet has joined #silverstripe
1169: [17:55:42] * Shrike_Finland1 quit (Quit: Leaving.)
1170: [17:56:10] * Shrike_Finland has joined #silverstripe
1171: [17:59:35] * joelpittet quit (Client Quit)
1172: [18:00:21] * auto9 quit (Quit: -a- Connection Timed Out)
1173: [18:00:37] * muskie9 is now known as _muskie9_
1174: [18:01:50] * Shrike_Finland1 has joined #silverstripe
1175: [18:02:11] * auto9 has joined #silverstripe
1176: [18:03:57] * Shrike_Finland quit (Ping timeout: 264 seconds)
1177: [18:43:53] * emitor has joined #silverstripe
1178: [18:44:08] <emitor> Hello ss World !:)
1179: [18:46:01] <emitor> I start using ss, today I want to pass 2nd tutorial (http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site), but I have a problem with Layout (*.ss) files. They are not working - ss always use the "default" - "Page.ss" file... I made a build&flush...
1180: [18:46:30] <emitor> Is here anybody who want to help me? Thanks :)
1181: [18:47:24] <oddnoc> emitor: Just ask your question. If anyone can help, they will (if not, you’ll hear crickets).
1182: [18:48:06] <catcher> emitor, did you create custom Pages?
1183: [18:48:58] <emitor> yes... ArticlePage.php with right code...
1184: [18:49:11] <catcher> emitor, how about its controller?
1185: [18:49:40] <oddnoc> Even if it’s empty, it has to declare a controller.
1186: [18:49:45] <emitor> I have it already... class ArticlePage_Controller extends Page_Controller { }
1187: [18:49:58] <oddnoc> so far, so good.
1188: [18:50:13] <oddnoc> What’s the name of the layout template?
1189: [18:50:31] <emitor> ArticlePage.ss
1190: [18:51:20] <oddnoc> Silly question: are you sure you saved it, and it’s not just in your editor’s buffer? No stray characters in the filename?
1191: [18:51:32] <emitor> yes :)
1192: [18:52:12] <catcher> emitor, did you create an ArticlePage in the CMS? (Settings/Page Type)
1193: [18:53:44] <emitor> yes, I make a "News" Page and set page type to ArticlePage
1194: [18:53:54] <emitor> my controller: http://ftp.6f.sk/files/controller.png
1195: [18:54:17] <emitor> I think controller is fine...
1196: [18:54:37] <catcher> emitor, visit the page, and add ?showtemplate=1 to the URL
1197: [18:54:53] <catcher> And list all the .ss files you see listed.
1198: [18:55:52] <emitor> I see in first row: Template: C:\.../.cache.themes.simple.templates.Layout.Page.ss
1199: [18:56:05] <emitor> ...I need here Layout.ArticlePage.ss
1200: [18:56:22] * Shrike_Finland1 quit (Quit: Leaving.)
1201: [18:56:50] <catcher> emitor, sounds like your flush isn't working.
1202: [18:56:50] * Stomach has joined #silverstripe
1203: [18:57:05] <catcher> Make sure you're logged into the CMS, and then visit the page with ?flush=all after the URL.
1204: [18:57:33] <emitor> I always made a flush with flush=1... is that some difference?
1205: [18:57:48] <catcher> emitor, I believe they're the same in 3.1 (assuming you're in 3.1), but I'm not positive
1206: [18:58:09] <emitor> ...I have 3.1
1207: [18:58:13] <catcher> It's important that you're logged into the CMS, and it's ?flush=all or ?flush=1
1208: [18:58:27] <oddnoc> emitor: Create a folder silverstripe-cache in your docroot. That will put all you cache somewhere that you can find it. Then you can easily remove the cache manually.
1209: [18:58:37] <emitor> yes I am logged... I see...Building database silverstripe using MySQL 5.6.20 Creating database tables...
1210: [18:59:26] <catcher> emitor, try oddnoc's step next, you may have permission issues with your cache dir.
1211: [19:00:28] <emitor> ok
1212: [19:01:05] <emitor> I made a dir... reload page and the dir is filled... should I remove all of it content?
1213: [19:01:39] * antmas has joined #silverstripe
1214: [19:02:02] <oddnoc> Did that correct the problem?
1215: [19:02:04] <emitor> btw ... I am using XAMPP...
1216: [19:03:13] <antmas> morning all!
1217: [19:04:44] <emitor> morning :D I haw 8:04 PM
1218: [19:05:23] <emitor> antmas & oddnoc: I think I got it...
1219: [19:05:33] <oddnoc> What was it?
1220: [19:05:50] <catcher> hello antmas
1221: [19:05:54] <antmas> catcher: howdy
1222: [19:05:58] <antmas> I'ts Friday :D
1223: [19:06:06] <antmas> party time in #silverstripe
1224: [19:06:10] <antmas> \o/
1225: [19:06:20] <oddnoc> Good THURSDAY morning from the west coast of North America!
1226: [19:06:31] * _muskie9_ is now known as muskie9
1227: [19:06:51] <antmas> oddnoc: the best part of Thursday is, you know that Friday is the next day :)
1228: [19:06:55] <emitor> Page was a subpage of ArticleHolder ... when I move page in site tree to root its ok...
1229: [19:07:23] <oddnoc> emitor: That’s odd behaviour...
1230: [19:07:47] <emitor> but I dont know why it works now :D ... maybe template for holder should be made (ArticleHolder.ss) ?
1231: [19:07:59] <catcher> emitor, it should match the controller name.
1232: [19:08:08] <catcher> emitor, did you edit Page.php at all?
1233: [19:08:18] <emitor> no
1234: [19:08:30] <catcher> The Page model name, rather
1235: [19:08:48] <catcher> emitor, did you create the silverstripe-cache dir?
1236: [19:08:54] <emitor> yes
1237: [19:09:27] <emitor> ...wait...
1238: [19:09:41] * Olliepop has joined #silverstripe
1239: [19:10:17] <catcher> Moving the pages around in the site tree can't change which templates they use..
1240: [19:10:25] <emitor> ... now its working at all, even as SubPage... so ... it was a problem with cache I think...
1241: [19:10:32] <catcher> emitor, makes sense.
1242: [19:10:34] * CodeTrap has joined #silverstripe
1243: [19:11:08] <emitor> maybe browser (chrome) own cache?
1244: [19:12:03] * LoveDuckie quit (Remote host closed the connection)
1245: [19:12:08] <catcher> emitor, not possible :) Anyway, the ?showtemplate=1 test would've caught that.
1246: [19:12:30] <emitor> I try show template now...
1247: [19:12:47] <catcher> emitor, it must have been an issue with your SS cache not clearing.
1248: [19:13:13] <emitor> Thats good: Template: D:\xampp\htdocs\SilverStripe\silverstripe-cache\emitor/.cache.themes.simple.templates.Layout.ArticlePage.ss
1249: [19:13:48] <catcher> Yep, that's good
1250: [19:14:03] * Kingy[a] is now known as Kingy
1251: [19:14:26] <emitor> I made flush with build with this: silverstripe/dev/build/?flush=1 is it correct ?
1252: [19:14:28] * DimiStripe has joined #silverstripe
1253: [19:15:49] <emitor> After flush should be a cache folder total empty?
1254: [19:15:55] <catcher> emitor, yes, you can also put the ?flush=1 on the URL for the page you're visiting.
1255: [19:16:14] <catcher> emitor, nope, only necessary parts will clear, and they'll regenerate on the same request.
1256: [19:16:22] <emitor> ...and it will flush only a cache concerning that page?
1257: [19:16:48] <catcher> emitor, It's changed a couple times in recent versions, so I'm not 100% sure - I believe it'll flush all template caches regardless.
1258: [19:18:32] <emitor> you said something about permissons... where is the default cache dir? I can check permissons on that folder
1259: [19:19:27] <catcher> emitor, you should stick with the new one you created.
1260: [19:21:08] <emitor> ...hmm... when I delete the cache dir - it still loads the default template... so I have to find out how to clear the cache...because I dont want to have "silverstripe-cache" folder... I want to solve the problem...
1261: [19:22:06] <catcher> emitor, the best solution to the problem is to give your site its own cache dir. Otherwise, you're worrying about a problem specific to a single environment that won't matter later.
1262: [19:22:50] <oddnoc> Also, if you don’t have a cache folder under your control, you can end up with different caches for the CLI and the web.
1263: [19:23:24] <catcher> emitor, When you create more sites, you'll be happy to have them organized within each site's dir.
1264: [19:23:24] <emitor> you are right
1265: [19:24:18] <oddnoc> If you don’t want it in your docroot, you can define TEMP_FOLDER in your _ss_environment.php
1266: [19:25:42] <emitor> really smart... the ss coders thinks on everything
1267: [19:26:55] <catcher> emitor, what did you use before SS?
1268: [19:27:32] <emitor> nothing :D no frame work... I made everything from "nothing"
1269: [19:28:01] <catcher> emitor, you'll be happy with SS :) Keep going with those tutorials.
1270: [19:28:30] <emitor> Tutor of my bachelor thesis says thats its start to real coding...
1271: [19:29:45] <antmas> emitor: yeah dude SS will help a LOT
1272: [19:29:55] <antmas> and we're all ready to help on here whenever you need it
1273: [19:30:05] * auto9 quit (Ping timeout: 260 seconds)
1274: [19:30:14] <emitor> and after 30days analyses of php frameworks said that SS it the right way... and also said "They have a good irc channel" - right - u solve my problem...
1275: [19:31:01] <oddnoc> excellent!
1276: [19:31:10] * Shrike_Finland has joined #silverstripe
1277: [19:31:38] <emitor> ... do you have some information about translations of SS ? ... I found several mistakes in Slovak translation - can I report it somewhere?
1278: [19:31:39] <catcher> emitor, I started the same way, the SS IRC channel has been fantastic.
1279: [19:32:41] * travis-ci has joined #silverstripe
1280: [19:32:41] <travis-ci> silverstripe/silverstripe-framework#3569 (3.1 - 6544e05 : Ingo Schommer): The build passed.
1281: [19:32:41] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/646a57c3244e...6544e05eb312
1282: [19:32:41] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/40217067
1283: [19:32:41] * travis-ci has left #silverstripe
1284: [19:32:56] * muskie9 quit (Ping timeout: 244 seconds)
1285: [19:33:10] <JeremyRoundill> emitor: Should be able to submit those issues on the repo.
1286: [19:33:32] <JeremyRoundill> emitor: Either a pull request, or submit an issue
1287: [19:34:03] <JeremyRoundill> emitor: CMS - https://github.com/silverstripe/silverstripe-cms
1288: [19:34:14] <JeremyRoundill> emitor: framework: https://github.com/silverstripe/silverstripe-framework
1289: [19:34:30] * muskie9 has joined #silverstripe
1290: [19:38:19] <emitor> another question... I add a field Date to my page and set somt date format... this format was used when I was filling the Date field (when I was writing a article)... but the displayed date format is still default (dd/MM/YY)... I want to change slashes by dots...
1291: [19:38:56] * Ryan-Toast has joined #silverstripe
1292: [19:39:14] <emitor> ...in controller I have: $dateField->setConfig('dateformat', 'dd.MM.YYYY'); but on the page it looks like: 2014-11-06
1293: [19:40:09] <Stomach> you can do in template {$DateField.format(y.m.d.)}
1294: [19:40:09] <JeremyRoundill> Usually I just pull it in the format I want
1295: [19:40:13] <emitor> Why is date format on page diferent of date format in administration?
1296: [19:40:33] <JeremyRoundill> $Date->Format('y-m-d');
1297: [19:40:42] <Stomach> emitor - the administration is managed through the users settings for date, so different people can view different date formats
1298: [19:40:49] <Stomach> then on the front end, you control it :)
1299: [19:41:32] * camfindlay has joined #silverstripe
1300: [19:42:17] <emitor> it makes sense ... so should I edit a template file, if I understand you
1301: [19:48:21] <emitor> its working, perfect, thanks a lot, bye & see u soon
1302: [19:48:47] <JeremyRoundill> emitor: Yeah, basically
1303: [19:50:47] * micmania1 has joined #silverstripe
1304: [19:51:42] <Stomach> cool, nice work :)
1305: [19:55:47] * micmania1 quit (Ping timeout: 272 seconds)
1306: [20:01:00] * SphereSilver has joined #silverstripe
1307: [20:01:23] <SphereSilver> Zauberfisch: Any news on the audio? Editor is asking for it.
1308: [20:07:33] <SphereSilver> Hey folks, 's up?
1309: [20:09:04] <JeremyRoundill> Not much, pal.
1310: [20:09:12] <JeremyRoundill> It's Friday though!
1311: [20:09:21] <SphereSilver> no it isn't
1312: [20:09:31] <SphereSilver> It's thursday, worst day of the year.
1313: [20:11:16] <JeremyRoundill> Haha
1314: [20:11:21] <JeremyRoundill> Unlucky, bud.
1315: [20:11:26] <JeremyRoundill> Where are you located?
1316: [20:11:32] <oddnoc> What kind of crazy planet has 2 days going on at once? It’s madness!
1317: [20:11:54] <JeremyRoundill> :D
1318: [20:14:56] * spronk2 has joined #silverstripe
1319: [20:15:32] * UncleCheese has joined #silverstripe
1320: [20:17:27] <spronk2> whatup folks
1321: [20:17:34] <JeremyRoundill> Friday!
1322: [20:17:40] <spronk2> apparently
1323: [20:17:50] <spronk2> doesn't feel like friday'
1324: [20:17:52] <JeremyRoundill> Friday spronk!
1325: [20:17:52] <simon_w> No pants!
1326: [20:17:54] <JeremyRoundill> It's Friday!
1327: [20:18:08] <spronk2> WHY AM I NOT HAPPY ABOUT IT THEN!?
1328: [20:18:16] <spronk2> wait
1329: [20:18:18] <spronk2> ITS FRIDAY!?
1330: [20:18:24] <JeremyRoundill> It's Friday!
1331: [20:18:24] <simon_w> Because you're not drunk yet?
1332: [20:18:25] <Stomach> no pants?
1333: [20:18:26] <Stomach> :S
1334: [20:18:27] * SphereSilver_ has joined #silverstripe
1335: [20:18:29] <simon_w> No pants!
1336: [20:18:37] <JeremyRoundill> You guys don't do pants-off Friday?
1337: [20:18:38] <Stomach> bloody Australians
1338: [20:18:45] <spronk2> yeahhhhhhh
1339: [20:18:49] * simon_w isn't at work yet :p
1340: [20:18:57] <Stomach> only fridays? amatuers
1341: [20:18:58] <JeremyRoundill> For that matter, nobody else in the office has taken their pants off for Friday.
1342: [20:19:00] <camfindlay> yo! Happy friday - havn’t been on IRC for 2 whole weeks… have been away and have finally finished all exams and crap for university degree. Only took 5 years part time haha
1343: [20:19:00] <Stomach> pants off 2014
1344: [20:19:15] <spronk2> wd acm
1345: [20:19:16] <spronk2> cam
1346: [20:19:18] <JeremyRoundill> Well done, camfindlay
1347: [20:19:26] <oddnoc> congrats, camfindlay !
1348: [20:19:36] <Stomach> don't congratulate him yet!
1349: [20:19:38] <Stomach> he has to pass first!
1350: [20:19:41] <Stomach> :P
1351: [20:19:49] * emitor quit (Ping timeout: 246 seconds)
1352: [20:19:50] <oddnoc> lol
1353: [20:20:14] * SphereSilver quit (Ping timeout: 245 seconds)
1354: [20:20:23] * SphereSilver_ is now known as SphereSilver
1355: [20:20:54] <camfindlay> thanks for the kind words Stomach
1356: [20:20:56] <camfindlay> :P
1357: [20:21:01] <Stomach> hey, I'm just a realist
1358: [20:21:01] <UncleCheese> nice one, cam!
1359: [20:21:10] <UncleCheese> heading in for hack day shortly
1360: [20:21:34] <camfindlay> UncleCheese sweet, I’m doing the kick off for hackday in 10 mins
1361: [20:22:24] <Kingy> camfindlay: are there any stripers in Bahrain/UAE?
1362: [20:24:04] <oddnoc> What’s on the hackday agenda?
1363: [20:24:23] * willr has joined #silverstripe
1364: [20:24:36] * simon_w guesses the usual amount of "nothing"
1365: [20:24:45] <camfindlay> Kingy, unsure perhaps tweet out about it?
1366: [20:26:28] <catcher> TinyMCE 4 on the hack list?
1367: [20:26:34] <camfindlay> oi, simon_w no need for that - I’ll post up some info once we do the stand up incase anyone external wants to help
1368: [20:26:53] <camfindlay> it’s internal hack day too so not strickly ss stuff
1369: [20:27:03] <camfindlay> some people do hardware
1370: [20:27:08] <oddnoc> ok thx
1371: [20:27:23] <camfindlay> plus other things it’s all about learning and trying things out
1372: [20:27:24] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1373: [20:27:48] <camfindlay> anyway - got to head over and sort it, back a bit later.
1374: [20:27:59] * camfindlay quit (Quit: camfindlay)
1375: [20:28:33] <simon_w> It's like camfindlay doesn't realise I'm still pissed off at SS Ltd
1376: [20:29:02] <simon_w> (The internal hack day was originally set up as a way to get internal stuff contributing to the open source community. It does not do that)
1377: [20:29:06] * spronk2 chuckles
1378: [20:30:58] <simon_w> And then he runs away!
1379: [20:31:01] <simon_w> Boring :p
1380: [20:31:24] <oddnoc> I was hopeful that some of the small easy bugs that I’m maintaining my own patches for could be rolled into a point release. A lot of that category are getting long in the tooth.
1381: [20:33:29] <simon_w> oddnoc, best way to get a release is to find a bug that effects CWP
1382: [20:33:42] * micmania1 has joined #silverstripe
1383: [20:35:45] <spronk2> :D simon_w is so bitter and it is brilliant.
1384: [20:36:30] <simon_w> I know! :D
1385: [20:36:35] <simon_w> Anyway, off to work time
1386: [20:36:57] <oddnoc> cheers, simon_w
1387: [20:37:52] * CodeTrap quit (Quit: CodeTrap)
1388: [20:40:22] <JeremyRoundill> Haha, we can't work out how to hang up our phones at work.
1389: [20:40:34] <JeremyRoundill> We're using headsets and it doesn't look like there's a hang-up button.
1390: [20:41:05] * MrGuits has joined #silverstripe
1391: [20:42:08] <Ryan-Toast> Hmm, had someone hack into my site through the SEO module
1392: [20:42:43] <SphereSilver> JeremyRoundill: Dutch ;)
1393: [20:43:18] <JeremyRoundill> SphereSilver: I sorta feel like a failure of a tech guy.
1394: [20:43:28] <JeremyRoundill> Isn't this the sort of thing we're meant to be born with?
1395: [20:43:39] <SphereSilver> Dates and Times are hard man
1396: [20:43:56] * Guits quit (Ping timeout: 244 seconds)
1397: [20:44:23] * novaweb has joined #silverstripe
1398: [20:44:30] <JeremyRoundill> SphereSilver: We have a guy from the Netherlands at work.
1399: [20:44:42] <JeremyRoundill> He brought in some Dutch liquorice.
1400: [20:44:47] <JeremyRoundill> Too salty for me :)
1401: [20:44:47] <SphereSilver> Ask him to say swearwords in Dutch
1402: [20:44:52] <JeremyRoundill> Hahaha
1403: [20:44:54] <SphereSilver> Too salty??????
1404: [20:44:54] <JeremyRoundill> The classic.
1405: [20:45:11] <JeremyRoundill> Yeah buddy
1406: [20:45:16] <SphereSilver> Dutch liquorice is hardly salty! You should try salt, now... that's salty@
1407: [20:45:36] <JeremyRoundill> Haha
1408: [20:45:51] <novaweb> TED Fanatics, bookmark this https://www.youtube.com/watch?v=hqKafI7Amd8
1409: [20:46:00] <SphereSilver> Hah! This just turned into the best day ever! I got to tell my parents to go f*ck themselves!
1410: [20:46:17] <JeremyRoundill> Hahaha, what?
1411: [20:46:27] <JeremyRoundill> I'll watch it in a bit, novaweb
1412: [20:46:37] * Ryan-Toast quit (Quit: Ryan-Toast)
1413: [20:46:38] <SphereSilver> I hate my parents ;)
1414: [20:46:50] <JeremyRoundill> I haven't talked to mine for a year now.
1415: [20:47:03] <SphereSilver> 6 years today exactly
1416: [20:47:35] <SphereSilver> I know because I told them to "go f*ck off" 6 years ago
1417: [20:47:45] <SphereSilver> the day before my birthday, easy to remember :D
1418: [20:47:55] * Ryan-Toast has joined #silverstripe
1419: [20:48:01] <spronk2> o_O
1420: [20:48:13] * camfindlay has joined #silverstripe
1421: [20:48:23] <SphereSilver> What's confusing you spronk2
1422: [20:48:28] <spronk2> hating your parents :p
1423: [20:48:50] <SphereSilver> ah, that's easy if they're a piece of shit :D
1424: [20:49:06] <JeremyRoundill> Mine are neo-cons.
1425: [20:49:17] <adrexia> <simon_w> (The internal hack day was originally set up as a way to get internal stuff contributing to the open source community. It does not do that)
1426: [20:49:25] <SphereSilver> what's a neo-con?
1427: [20:49:33] <wracu> urg. brain fail. In a ModelAdmin, can I display the same managed model more than once? (ie. on a different tab, so I can filter one to only show a subset...)
1428: [20:49:34] <adrexia> it didn't do that when it was 'bug fix' day either though
1429: [20:49:44] <adrexia> people diutched it for client work instead
1430: [20:49:45] <JeremyRoundill> They're like the new generation of conservatives.
1431: [20:50:07] <JeremyRoundill> By contrast, I'm more of an anarcho-punk.
1432: [20:50:21] <SphereSilver> I'm 31, I don't have time to be a punk :P
1433: [20:50:35] <JeremyRoundill> I'm 21, plenty of time for that business
1434: [20:51:14] <wracu> Anyone? I'm used to adding gridfields in a manager model, but unsuer how to add a custom one directly to a tab in the ModelAdmin...
1435: [20:51:22] <wracu> *managed model
1436: [20:51:39] <adrexia> errr
1437: [20:51:43] <adrexia> I guess you can
1438: [20:51:47] <JeremyRoundill> Yeah, I think so
1439: [20:51:48] <spronk2> i've never tried to do multiple modeladmin views on the same object... o_O
1440: [20:51:50] <SphereSilver> Why do you use ModelAdmin?
1441: [20:51:50] <JeremyRoundill> Let me have a look at my code
1442: [20:51:53] <adrexia> look at getEditFields
1443: [20:51:58] <SphereSilver> You can, but it's fucked up
1444: [20:52:03] <SphereSilver> seriously, don't do it.
1445: [20:52:06] <spronk2> SphereSilver the fuck else would you use?
1446: [20:52:09] <adrexia> I've had multiple modeladmins for the same object
1447: [20:52:30] <wracu> so I'm currently using getEditForm() to adjust the models, but not sure whether this is the right place to try an add a new one...
1448: [20:52:31] <SphereSilver> It can be done, but it's really only making things worse. Just use a direct admin for it.
1449: [20:52:33] <adrexia> with the first one filtered and the second one being an archive or everything
1450: [20:52:47] <spronk2> "direct admin", SphereSilver ?
1451: [20:52:56] <SphereSilver> SilverStripe 3?
1452: [20:53:04] <SphereSilver> ModelAdmin is SS2.4
1453: [20:53:09] <spronk2> no it isn't?
1454: [20:53:10] <SphereSilver> It's old
1455: [20:53:11] <adrexia> wracu just add an extra gridfiel
1456: [20:53:15] <Ryan-Toast> camfindlay: Hey, Cam. What if any extra security things did you guys ahave to add for the Lotto sites?
1457: [20:53:31] <adrexia> the model is already there
1458: [20:53:40] <wracu> yeah I;d like to but unsure how! I'm not actually declaring any of the gridfields... that happens by default for each item listed in $managed_models
1459: [20:54:04] <adrexia> SphereSilver, its still called modeladmin
1460: [20:54:05] <SphereSilver> Ow crap, I'm mixing up ModelAdmin
1461: [20:54:12] <SphereSilver> Yea, nevermind me ;)
1462: [20:54:53] <adrexia> wracu try it like you normally would - getr a bunch of dataobjects and construct a gridifel
1463: [20:55:00] <adrexia> same as you would elsewhere
1464: [20:55:17] <wracu> my problem is actually adding the gridfield I've created...
1465: [20:55:25] <wracu> I normally go $fields->addToTab etc.
1466: [20:55:36] <wracu> but there is no getCMSfields() in a ModelAdmin... haha
1467: [20:55:51] <SphereSilver> No, that's on DataObject
1468: [20:56:10] <camfindlay> Internal hackday is for staff (who are also community members too) to work on open source if they wish, or learn something new to upskill. Some people are working on bug fixes for Framework/CMS, a few people working on some modules too.
1469: [20:56:21] <adrexia> or do it dynamically with something like $this->sanitiseClassName($this->modelClass)
1470: [20:56:30] <camfindlay> just been catching up with @chillu and others to see what they are going to work on
1471: [20:56:43] <Ryan-Toast> camfindlay: Just staff?
1472: [20:56:45] <adrexia> but you'd need to call the gridfield something different, so might be best to hard code
1473: [20:56:56] <camfindlay> Ryan-Toast unsure about the lotto site
1474: [20:57:04] <wracu> hrmm... will try some more and see what I come up with
1475: [20:57:05] <adrexia> $form->Fields()
1476: [20:57:46] <adrexia> wracu - you have getEditForm, to get the fields you just just that ^
1477: [20:57:55] <camfindlay> Happy if community people in the area want to pop up to the office and join in (though we have just moved and have no chairs this time) lol
1478: [20:57:56] <adrexia> where form is: $form = parent::getEditForm($id, $fields);
1479: [20:58:08] <camfindlay> We have the weekend hackfest meetups for that too
1480: [20:58:26] <SphereSilver> I'm going to a concert this weekend. Sorry
1481: [20:58:31] <SphereSilver> Got stuff to do :(
1482: [20:58:36] * jedateach has joined #silverstripe
1483: [20:59:02] <camfindlay> Next one is 15th Nov in Welly (I’m hoping the tables turn up in time for the room! otherwise it might be beanbag day :)
1484: [20:59:29] <camfindlay> Ryan-Toast are you looking for some security stuff for a project?
1485: [20:59:33] <adrexia> coding form beanbags woirks fine for me
1486: [20:59:40] <Ryan-Toast> camfindlay: Yeah pretty much.
1487: [20:59:59] <Ryan-Toast> camfindlay: that am I’m paranoid by nature.
1488: [21:00:00] <camfindlay> ss23 might be your man for that stuff
1489: [21:00:08] <Stomach> wracu - you can do it with a custom LeftAndMain :)
1490: [21:00:11] <Ryan-Toast> everyone knows ss23 only works on docs
1491: [21:00:12] <adrexia> pro tip - stop access to yml and md files
1492: [21:00:13] <camfindlay> he love the secureness :P
1493: [21:00:15] <adrexia> ;)
1494: [21:00:26] <Ryan-Toast> adrexia: :P
1495: [21:00:29] <camfindlay> yip adrexia spot on
1496: [21:00:54] <adrexia> well, I can grab markdown files form half the cwp sites
1497: [21:00:59] <Ryan-Toast> adrexia: I do that by default in my .htaccess.
1498: [21:01:06] <adrexia> which I didn't relaise until a couple of days agoi
1499: [21:01:12] <camfindlay> interesting
1500: [21:01:13] <adrexia> yep, many don't
1501: [21:01:30] <adrexia> camfindlay, markdown isn't even in the cwp installer htaccess
1502: [21:01:34] <camfindlay> is it not in the htaccess by default?
1503: [21:01:42] <adrexia> nope. yml is though
1504: [21:02:03] <camfindlay> ok yeah yml is more concerning
1505: [21:02:05] <adrexia> but hasn't always been - so if you inherit an older cwp project, that bit is mssing
1506: [21:03:31] <camfindlay> Is markdown an issue, would hope people are not storing sensitive things in that - is this more documentation etc?
1507: [21:03:50] <adrexia> camfindlay, I would hope that too
1508: [21:03:53] <adrexia> but they do
1509: [21:05:04] <camfindlay> I’ll make a not to see if we can get md added to the htaccess.
1510: [21:05:09] <camfindlay> *note
1511: [21:05:10] <adrexia> I've found that dev's assume markdown is hidden
1512: [21:05:15] <adrexia> sweet :)
1513: [21:05:26] <adrexia> usually not actually an issue
1514: [21:05:54] <camfindlay> yeah understand, still nice to tidy up some of these things
1515: [21:05:55] <adrexia> I mean, everyone knows this site is silverstripe malreadyt, right? http://www.msi.govt.nz/cms/README.md
1516: [21:06:34] <spronk2> phail
1517: [21:06:39] <adrexia> but it lets you kn ow which moduels are installed
1518: [21:06:44] <adrexia> http://www.msi.govt.nz/subsites/README.md
1519: [21:06:50] <spronk2> VERY fail
1520: [21:06:53] <adrexia> lol
1521: [21:06:56] <SphereSilver> camfindlay: We need more info on the guide :( I wrote a bunch of experiences, but it's far from finished :(
1522: [21:06:59] <adrexia> it's like almost every cwp sites
1523: [21:07:01] <spronk2> that's a security flaw, adrexia
1524: [21:07:04] <adrexia> agree
1525: [21:07:05] <spronk2> a pretty decent one, too
1526: [21:07:06] <SphereSilver> and why are you not admin?
1527: [21:07:10] <adrexia> whgich is why I mentioned it
1528: [21:07:31] <camfindlay> much appreciated adrexia
1529: [21:07:43] <adrexia> developers are assuming this stuff will be denied by the server, and its not
1530: [21:07:49] <adrexia> no problem ;)
1531: [21:08:20] <camfindlay> SphereSilver thanks for adding your stuff to the meetup guide :) will look to add a bit more over the coming weeks and make it available in time to others that want to run meetups
1532: [21:09:31] <spronk2> the exposure of yaml is a bigger one, adrexia
1533: [21:09:48] <spronk2> some people might put sensitive stuff in there
1534: [21:09:54] <adrexia> spronk2, yeah that one is hidden in the default cwp htaccess file at least
1535: [21:10:38] <spronk2> the safer way would be to blacklist everything
1536: [21:10:43] <camfindlay> yeah yml would be a much bigger fail, still I have raised it with the guys here.
1537: [21:10:45] <spronk2> err
1538: [21:10:51] <spronk2> fail everything
1539: [21:10:52] * UndefinedOffset quit (Quit: Leaving.)
1540: [21:10:56] <spronk2> whitelist only a few things, from certain places
1541: [21:11:03] <adrexia> spronk sort of agree
1542: [21:11:05] <spronk2> but i guess that kinda fucks with SS's current setup
1543: [21:11:15] <JeremyRoundill> Are there any jobs for the CWP, or are the jobs all department specific?
1544: [21:11:17] <adrexia> deny by defauly and make devs have to explicitly allow it
1545: [21:11:26] <JeremyRoundill> I'd like a government job working with SS :D
1546: [21:12:33] <JeremyRoundill> Oh, all the CWP support jobs are *at* SS?
1547: [21:12:46] <adrexia> yep
1548: [21:13:09] <JeremyRoundill> Gotta apply for a job at SS then.
1549: [21:13:12] <adrexia> unless you want to be involved form the DIA end
1550: [21:18:52] <JeremyRoundill> http://www.istockphoto.com/photo/business-people-with-gears-27200211?st=c82bf78
1551: [21:18:52] <JeremyRoundill> Business people with gears: mangling fingers since aaaages ago.
1552: [21:19:00] <madmatt> adrexia: /w 5
1553: [21:19:00] <Ryan-Toast> JeremyRoundill: “no, we have to wait for marriage” http://www.istockphoto.com/photo/teamwork-27200130
1554: [21:19:03] <madmatt> herp derp, excuse me :)
1555: [21:19:10] <adrexia> ?
1556: [21:22:00] <JeremyRoundill> Doodling on his business card all day, Dave won the 'least productive worker' award for the third week running.
1557: [21:22:00] <JeremyRoundill> http://www.istockphoto.com/photo/businessmen-in-front-of-gears-19894768
1558: [21:22:24] * irogue_ has joined #silverstripe
1559: [21:22:24] <oddnoc> Ryan-Toast: That configuration is safe for fingers, because the gears won’t turn.
1560: [21:22:28] <Ryan-Toast> JeremyRoundill: “the gears of war are turning in my head, the office bloodbath begins"
1561: [21:22:34] <JeremyRoundill> Hahaha
1562: [21:24:22] <antmas> :D
1563: [21:24:45] <antmas> we should have Friday mornings as stock images and the afternoon as gif attack
1564: [21:25:19] <JeremyRoundill> That stock image site is great.
1565: [21:25:24] <JeremyRoundill> Such weird photos!
1566: [21:26:03] * joelpittet has joined #silverstripe
1567: [21:27:21] <antmas> hmmmm
1568: [21:27:27] <antmas> pest control is at our house today
1569: [21:27:33] <antmas> spray dose ants
1570: [21:28:04] <JeremyRoundill> They finally found Banksy :O http://www.istockphoto.com/photo/success-ladder-30657820?st=9da3d38
1571: [21:28:18] <antmas> lol
1572: [21:28:25] <antmas> 'success ladder'
1573: [21:28:37] * antmas plays GnR
1574: [21:28:52] <JeremyRoundill> Glass elevator? Take the stairs.
1575: [21:29:03] <JeremyRoundill> Psych! They're drawn on!
1576: [21:31:13] * kinglozzer has joined #silverstripe
1577: [21:32:33] <irogue_> mornin' folks
1578: [21:33:05] <JeremyRoundill> Morning!
1579: [21:33:10] <JeremyRoundill> Happy Friday
1580: [21:33:11] <JeremyRoundill> http://www.istockphoto.com/photo/business-analysis-28257548?st=9da3d38
1581: [21:35:17] <kinglozzer> Evening!
1582: [21:35:29] <catcher> 'afternoon?
1583: [21:36:22] <antmas> irogue_: long time no see?
1584: [21:36:26] * jedateach quit (Quit: jedateach)
1585: [21:36:45] <irogue_> antmas: yeah, been behind on a project so avoiding IRC - too distracting :P
1586: [21:36:54] <antmas> haha
1587: [21:37:02] <antmas> irogue_: yeah we all probably know those feels
1588: [21:37:26] <antmas> I have a deadline now for my Sharepoint thing so come january I won't be on here for up to a month
1589: [21:37:27] <antmas> :(
1590: [21:37:57] * jedateach has joined #silverstripe
1591: [21:38:10] <Stomach> projects ruining irc time are dumb
1592: [21:39:43] <Ryan-Toast> Stomach: just today in general is dumb.
1593: [21:39:45] <Ryan-Toast> Beer time pls
1594: [21:40:01] <antmas> yes
1595: [21:40:04] <antmas> Ryan-Toast: is correct
1596: [21:40:06] <antmas> today is dumb
1597: [21:40:15] * mirrors has joined #silverstripe
1598: [21:40:20] * antmas is back doing sql :(
1599: [21:40:30] <JeremyRoundill> Sharepoint though
1600: [21:40:40] <Kingy> i feel like shit
1601: [21:40:43] <Kingy> but i took the day off
1602: [21:40:46] <Kingy> so today could be wore
1603: [21:40:48] <Kingy> worse
1604: [21:40:58] <JeremyRoundill> Kingy: I was the same last Fridauy
1605: [21:40:58] <antmas> JeremyRoundill: tbh, it has been OK working with sharepoint
1606: [21:41:00] <JeremyRoundill> *Friday
1607: [21:41:04] <JeremyRoundill> Missed beer o'clock
1608: [21:41:14] <JeremyRoundill> antmas: Really?
1609: [21:41:25] <JeremyRoundill> antmas: I found it difficult to even use.
1610: [21:41:26] <mirrors> hey there everyone.....Does anyone know how I can add a class to a particular row on a gridfield so I can colour it a different colour
1611: [21:41:33] <JeremyRoundill> antmas: this was 4 or 5 years ago though.
1612: [21:41:43] <antmas> JeremyRoundill: yeah the bigges part was learning how to use the fucking thing
1613: [21:41:56] <JeremyRoundill> antmas: I think it just does too many things.
1614: [21:42:10] <antmas> JeremyRoundill: but 2013 is actually pretty good if you stick to OOB features and don't try too hard
1615: [21:42:19] <Kingy> mirrors: yep one sec
1616: [21:42:21] <antmas> made a couple of apps for it
1617: [21:42:24] <JeremyRoundill> antmas: I'll keep it in mind
1618: [21:42:42] <JeremyRoundill> antmas: Although I suck at Windows server stuff anyway.
1619: [21:42:43] <antmas> it is also fucking massive on resources
1620: [21:42:48] <JeremyRoundill> Really?
1621: [21:42:51] <antmas> hell yeah
1622: [21:42:52] <JeremyRoundill> Dag
1623: [21:43:09] * UncleCheese has joined #silverstripe
1624: [21:43:18] <antmas> you can also only have VS installed on the same server as Sharepoint and Sharepoint requires 16gb of RAM
1625: [21:43:24] <antmas> fucking bloated pig
1626: [21:43:27] <irogue_> Ryan-Toast: lies, today isn't dumb. it's hackday!
1627: [21:43:30] <Kingy> mirrors
1628: [21:43:30] <Kingy> $fields->addFieldToTab('Root.Footer', $content = new HTMLEditorField("FooterLeftContent", "Footer Left Content"));
1629: [21:43:31] <Kingy> $content->setRows(12)->addExtraClass('stacked');
1630: [21:43:34] * Stomach_ has joined #silverstripe
1631: [21:43:51] * Stomach quit (Read error: Connection reset by peer)
1632: [21:46:51] <Ryan-Toast> irogue_: I wish I was doing a hackday :(
1633: [21:47:05] <Ryan-Toast> irogue_: Could finish my material reskin of the cms
1634: [21:47:32] <Ryan-Toast> UncleCheese: I only just got that your name is unclecheese and you wear a cheesecutter...
1635: [21:47:45] <mirrors> Kingy: is that HTMLEditorField code for me?
1636: [21:47:52] <antmas> Ryan-Toast: dude, you're like a code breaker
1637: [21:47:54] <UncleCheese> i only found out that kiwis call them cheesecutters like a month ago
1638: [21:48:03] <antmas> :P
1639: [21:48:08] <antmas> UncleCheese: what do you call them?
1640: [21:48:08] <Ryan-Toast> antmas: :P
1641: [21:48:11] <Ryan-Toast> antmas: hey, guy
1642: [21:48:13] <UncleCheese> hats
1643: [21:48:22] <antmas> lol
1644: [21:48:45] <antmas> UncleCheese: but I bet you would call a fedora a fedora and not a hat
1645: [21:48:58] <simon_w|work> adrexia, I'd be interested in knowing why contributing back to open source works so much better for SS AU than SS NZ
1646: [21:49:01] <antmas> depends on context I guess
1647: [21:49:04] <antmas> like
1648: [21:49:18] <antmas> you're not going to say to someone, 'can you pass my cheesecutter'
1649: [21:49:32] <antmas> but when you look to buy one, you ask 'can I have a cheesecutter'
1650: [21:49:38] * antmas is thinking too hard
1651: [21:49:39] <simon_w|work> Cheesecutter?
1652: [21:49:47] * simon_w|work has not heard that term before
1653: [21:50:19] <antmas> http://en.wikipedia.org/wiki/Flat_cap
1654: [21:50:32] <antmas> England and New Zealand refer to it as 'cheesecutter'
1655: [21:50:43] <Kingy> we do?
1656: [21:50:55] <antmas> apparently
1657: [21:54:37] <irogue_> simon_w|work: my guess is cos PMs
1658: [21:54:44] <camfindlay> simon_w that is a really good constructive question, have you got some examples of where you have seen this in action?
1659: [21:54:45] * willr quit (Quit: willr)
1660: [21:55:06] <irogue_> the company is happy for us to contribute back to opensource, but getting clearance from our PMs to spend an extra hour on something to make it into a reusable module is pretty much impossible
1661: [21:55:12] <antmas> ohhhhhh what question camfindlay simon_w|work ?
1662: [21:55:16] <mirrors> Kingy: Did you say you know how I can add a class to a row in a gridfield?
1663: [21:55:16] <irogue_> (personal experience anyway_)
1664: [21:55:32] <spronk2> hmm
1665: [21:55:47] <camfindlay> I’m genuinely interested in constructive dialogue and understanding
1666: [21:55:49] <spronk2> thats pretty dumb as fuck, irogue_
1667: [21:56:19] <simon_w|work> camfindlay, https://github.com/nyeholt?tab=repositories versus anything from a SS NZ employee (or the org itself)
1668: [21:56:23] <spronk2> isn't it advantageous for an open source company witha strong os community to publish stuff as reusable modules, and take advantage of developer contributions?
1669: [21:56:37] <simon_w|work> spronk2, and that's why SS AU does it
1670: [21:56:40] <irogue_> spronk2: the company (i.e. management) knows that
1671: [21:56:51] <spronk2> sounds like it's just fucked up :)
1672: [21:57:08] <spronk2> vision from the top isn't clear and/or filtering down
1673: [21:57:11] * spronk2 shrugs
1674: [21:57:15] <irogue_> but PMs are all about billable time
1675: [21:57:18] <spronk2> hmm
1676: [21:57:26] <spronk2> what channel can i talk about tdd on..
1677: [21:57:31] <irogue_> and client work above all else
1678: [21:57:33] <simon_w|work> irogue_, also sounds like a contract problem then
1679: [21:57:41] <spronk2> i still think it sounds like a company direction problem
1680: [21:57:52] <simon_w|work> Talking with Shane, all their contracts require OSS releases
1681: [21:58:02] <spronk2> if PMs are that concerned about billable time, then they've either taken it upon themselves to be that way, or ahve had direction from the top to do so
1682: [21:58:14] <spronk2> or more to the point, haven't had direction from the top to consider the OSS stuff
1683: [21:58:17] * Shrike_Finland quit (Quit: Leaving.)
1684: [21:59:05] <camfindlay> thanks simon_w yeah nyeholt does some good work :)
1685: [21:59:12] * glenn-bautista has joined #silverstripe
1686: [21:59:31] <simon_w|work> camfindlay, and the majority of it is paid for by SS AU and their clients
1687: [21:59:48] * LimRes has joined #silverstripe
1688: [22:01:15] <irogue_> my PM wasn't letting us participate in hackday, had to complain above his head to change that
1689: [22:01:21] <spronk2> :|
1690: [22:01:24] <spronk2> yeah
1691: [22:01:28] <LimRes> Hi there everybody. I just tried the DataObject->duplicate() function for the first time, and found that it "stole" all the has_many relationships, rather than recursively duplicating the objects of those relationships.
1692: [22:01:30] <spronk2> definitely a problem from the top down ;)
1693: [22:02:15] <JeremyRoundill> Seems logical, LimRes.
1694: [22:02:19] <LimRes> In this case there are 2 levels deep of has_many. Do I have to do duplicate each target object and then stitch it all together or is there an elegant way?
1695: [22:03:40] <antmas> ughghhg sql scripts always make me nervous
1696: [22:03:57] <antmas> lol look at this guy http://blog.sqlauthority.com/2013/06/04/sql-server-script-to-update-a-specific-column-in-entire-database/
1697: [22:04:02] <irogue_> is that a new variant, antmas? :P
1698: [22:04:07] <irogue_> ughghhgSQL
1699: [22:04:08] <antmas> he's like, 'fuck you and your shitty sql scripts n00b'
1700: [22:04:18] <antmas> irogue_: lol XD
1701: [22:06:13] * spronk2 wants to download this ughghhg sql
1702: [22:06:19] <spronk2> sounds just like something i'd be into
1703: [22:06:37] <antmas> :P
1704: [22:07:14] <JeremyRoundill> LimRes: I think duplicating each target object is the elegant way to do it.
1705: [22:07:31] <LimRes> Actually my mistake, it doesn't "steal" it just ignores them, they were left on the original
1706: [22:08:03] <LimRes> JeremyRoundill: yeah I think you are right, now that I see it is not stealing them
1707: [22:08:32] <antmas> hmmm I need to write a script that will update 1 column with the average of 3 columns
1708: [22:08:56] <LimRes> But would be a good argument for duplicate() to have it recursively dupe all relationships
1709: [22:09:07] <LimRes> probably a common usage
1710: [22:09:08] * catcher quit (Quit: Leaving)
1711: [22:12:48] <UncleCheese> Printer is only $1K, but I bet they nail you on the cartridges. http://www.naturalmachines.com/
1712: [22:12:50] <JeremyRoundill> LimRes: I'm not sure.
1713: [22:12:58] <spronk2> wwttfffff
1714: [22:13:01] <spronk2> ITS A FOOD REPLICATOR?
1715: [22:13:07] <JeremyRoundill> LimRes: Maybe for the one to many relationships.
1716: [22:13:39] <spronk2> no way it can print bread
1717: [22:14:10] <antmas> mmmm Inbox is pretty nice
1718: [22:14:13] <spronk2> hmm
1719: [22:15:52] <antmas> spronk2: where is spronk1?
1720: [22:15:57] <antmas> or spronkHD?
1721: [22:16:11] * Otterpocket has joined #silverstripe
1722: [22:16:12] <spronk2> spronk is in his box, locked away in storage while my house gets repaired
1723: [22:16:16] <spronk2> spronkHD --> spronk2
1724: [22:16:21] <spronk2> :P
1725: [22:16:22] <antmas> ah
1726: [22:16:26] <antmas> spronk2: renos?
1727: [22:16:26] <spronk2> so really i could just be
1728: [22:16:27] * spronk2 is now known as spronk
1729: [22:16:52] * JeremyRoundill is now known as spronk2
1730: [22:16:54] <spronk2> Sweet!
1731: [22:17:01] * spronk2 is now known as JeremyRoundill
1732: [22:17:03] <JeremyRoundill> :P
1733: [22:17:05] <spronk> ;)
1734: [22:17:12] * spronk isn't as mean as Pyro and wouldn't get you g-lined
1735: [22:17:21] <LimRes> JeremyRoundill: True, it would get messy otherwise, perhaps why it is left as it is
1736: [22:17:36] <LimRes> It's pretty elegant anyway :)
1737: [22:17:59] <spronk> ow
1738: [22:18:00] <spronk> wow
1739: [22:18:06] <spronk> itunes music is expensive o_O
1740: [22:18:42] * Colin[pi] has joined #silverstripe
1741: [22:19:06] <antmas> lolitunes
1742: [22:19:16] <antmas> that old girl is still around?
1743: [22:19:17] * spronk just wanted groove armada - soundboy rock
1744: [22:19:21] <spronk> ... and it's like $14 :/
1745: [22:19:26] <antmas> Colin[pi]: WHAT DO YOU COOL THIS TIME o-o
1746: [22:19:35] <antmas> COOL TIME
1747: [22:19:38] * joelpittet quit (Remote host closed the connection)
1748: [22:19:39] <spronk> i bought the cd from real groovy years ago for like $8
1749: [22:19:47] <Colin[pi]> antmas: FRIDAY TIME COOL TIME
1750: [22:19:50] <spronk> and i got a cool jewel case and printed insert!
1751: [22:19:54] <JeremyRoundill> I want Rocket by Primitive Radio Gods.
1752: [22:19:58] <JeremyRoundill> I lost my last cd :O
1753: [22:20:01] <spronk> all itunes gives you is some lousy electrical signals
1754: [22:20:23] <antmas> I want my signed NIN cd back
1755: [22:20:24] <antmas> :(
1756: [22:20:24] <spronk> why is it not significantly cheaper than cds :@
1757: [22:20:31] * Otterpocket quit (Client Quit)
1758: [22:20:53] * joelpittet has joined #silverstripe
1759: [22:21:54] * MrGuits quit (Ping timeout: 250 seconds)
1760: [22:25:38] <irogue_> [11:19:39] <spronk> i bought the cd from real groovy years ago for like $8
1761: [22:25:42] <irogue_> "years ago" being the operative word
1762: [22:25:48] <spronk> yes, but
1763: [22:25:49] <spronk> it's got older
1764: [22:25:50] <spronk> and
1765: [22:26:00] <Stomach_> more rare
1766: [22:26:01] <spronk> ... fuck copyright .
1767: [22:26:05] <Stomach_> especially if its CIB
1768: [22:26:05] <spronk> except it isn't
1769: [22:26:10] <spronk> because of fucking digital
1770: [22:26:22] <spronk> rarity just doesn't exist as a concept with digital music
1771: [22:26:39] <spronk> irogue_ and by years ago i really mean like 4 years ago
1772: [22:26:45] <JeremyRoundill> spronk: But Taylor Swift said it did.
1773: [22:26:48] <Stomach_> spronk - yes it does
1774: [22:26:51] <spronk> how?
1775: [22:26:55] <JeremyRoundill> spronk: That's why she removed her songs from Spotify
1776: [22:27:04] <Stomach_> people who rip audio themselves
1777: [22:27:12] <spronk> ...?
1778: [22:27:13] <Stomach_> 99% of LPs aren't digital
1779: [22:27:19] <spronk> yes but that's not digital audio is it
1780: [22:27:30] <spronk> as soon as it's digital audio, it's no longer bound by the same rules as physical copies
1781: [22:27:43] <spronk> it becomes trivial to copy it
1782: [22:27:52] <spronk> and the copy is exactly the same as the original
1783: [22:27:55] <Stomach_> unless you dont have access to the copy
1784: [22:28:02] <spronk> but it's still not rarity
1785: [22:28:05] <Stomach_> like trying to find loseless audio
1786: [22:28:14] <spronk> in any case
1787: [22:28:18] <spronk> groove armada - soundboy rock isn't rare.
1788: [22:28:24] <spronk> it's available on a number of digital services
1789: [22:28:25] <Stomach_> :D
1790: [22:28:30] <spronk> yet the pricing is still rather high
1791: [22:28:36] <spronk> IMO
1792: [22:28:49] <JeremyRoundill> http://www.smh.com.au/entertainment/music/here-is-the-secret-of-success-according-to-taylor-swift-20140708-zt0ga.html
1793: [22:28:51] <irogue_> protip: just don't buy music :P
1794: [22:28:57] <JeremyRoundill> Read more: http://www.smh.com.au/entertainment/music/here-is-the-secret-of-success-according-to-taylor-swift-20140708-zt0ga.html#ixzz3IKXBIkGC
1795: [22:28:59] <spronk> according to inflation, my cd should cost less than $9.35 today
1796: [22:29:36] <JeremyRoundill> Silly Taylor Swift.
1797: [22:29:47] <irogue_> I'm all about the Spotify
1798: [22:29:50] <irogue_> even pay for it
1799: [22:29:54] <JeremyRoundill> I use GrooveShark.
1800: [22:29:57] * spronk really disagrees with the concept of recorded music being "art"
1801: [22:30:00] <spronk> live performance is art
1802: [22:30:06] <spronk> recorded music is like a photograph of the original
1803: [22:30:06] * antmas pays for Spotify
1804: [22:30:18] <irogue_> same with netflix
1805: [22:30:27] <Ryan-Toast> spronk: I think paintings aren’t art, only live paintings are art.
1806: [22:30:28] <irogue_> pay for that, and only pirate shit that isn't on netflix
1807: [22:30:29] <JeremyRoundill> I use netflix.
1808: [22:30:39] <spronk> Ryan-Toast i think copies of originals aren't art.
1809: [22:30:39] <irogue_> give me an easy, reasonably priced option, and I'll use it
1810: [22:30:49] <spronk> your attempt to logic me does not work.
1811: [22:30:49] <antmas> Netflix is amazing
1812: [22:30:55] <Ryan-Toast> spronk: :P
1813: [22:31:07] <spronk> sure the copies have worth, but it isn't nearly as high as the original
1814: [22:31:29] <antmas> you never know if CD's are original presses either
1815: [22:32:06] <Ryan-Toast> spronk: can’t remember what movie it is where they talk about forged art being better than the original, and question who the true master is.
1816: [22:32:21] <spronk> yeah, but that's different
1817: [22:32:25] <spronk> that's like a cover band
1818: [22:32:37] <spronk> but yes
1819: [22:32:56] <spronk> most of my collection of CDs came from real groovy's sale bins
1820: [22:33:07] <spronk> average paid price probably somewhere around 6-8$
1821: [22:33:41] <antmas> 99% of my CDs came from the band's official store
1822: [22:33:45] <antmas> or through auctions
1823: [22:33:56] * antmas paid waaaaay too much for this
1824: [22:33:59] <spronk> you'd struggle to find any kind of itunes album for anything like that price
1825: [22:34:11] <JeremyRoundill> I'm with spronk.
1826: [22:34:21] <JeremyRoundill> I buy everything from Real Groovy on sale :D
1827: [22:34:43] <spronk> digital music IMO, unless it's novel, should be less valuable than the CD
1828: [22:35:12] <antmas> yeah agreed
1829: [22:35:19] <antmas> which is why I use spotify :D
1830: [22:37:17] <irogue_> Real Groovy impress me
1831: [22:37:38] <irogue_> they seem to be the only music store in NZ that's been smart enough to stay alive
1832: [22:37:44] * mahfuz has joined #silverstripe
1833: [22:37:47] <Colin[pi]> oh hey it's irogue_
1834: [22:37:54] <Colin[pi]> you been away?
1835: [22:38:07] <irogue_> Colin[pi]: nah, just busy and needed to not be distracted by IRC :P
1836: [22:38:11] <Colin[pi]> oh haha
1837: [22:38:15] <Colin[pi]> yeah it has that effect
1838: [22:38:54] <irogue_> http://www.realgroovy.co.nz/images/assetimages/info_2406storefront.jpg
1839: [22:39:11] <irogue_> so often I've seen huge queues like that outside RG
1840: [22:39:43] * mirrors quit (Quit: Page closed)
1841: [22:40:26] <Colin[pi]> man I haven't bought a cd in a long, long time
1842: [22:40:53] <irogue_> they manage to score all of the concert ticket sales for the medium-size gigs like those at Powerstation
1843: [22:40:54] <antmas> last one I bought would have been a signed Tool CD
1844: [22:40:57] <Colin[pi]> last one I got I think was the prodigy, always outnumbered, never outgunned
1845: [22:40:59] <antmas> YEARS ago
1846: [22:41:03] <irogue_> as well as getting all of the bands in for signings etc
1847: [22:45:04] * kinglozzer quit ()
1848: [22:47:19] <Colin[pi]> I think I know the answer to this..
1849: [22:47:20] <Colin[pi]> but
1850: [22:47:33] <Colin[pi]> is there like a consolidated SilverStripe best practices document?
1851: [22:48:27] * toddvalentine quit ()
1852: [22:48:57] * antmas consolidates Colin[pi]
1853: [22:49:08] * Colin[pi] feels violated
1854: [22:49:13] <antmas> -------[ Colin[pi] ]----------------
1855: [22:49:35] <Ryan-Toast> Colin[pi]: http://i.imgur.com/Sk5ILIP.gif
1856: [22:49:49] <Colin[pi]> lol
1857: [22:50:10] <antmas> :P
1858: [22:50:17] <JeremyRoundill> Oh, Futurama.
1859: [22:50:19] <JeremyRoundill> My one true love.
1860: [22:50:31] <Colin[pi]> my fav, amazon women in the mood
1861: [22:50:38] <Colin[pi]> that episode was hilarious start to end
1862: [22:50:53] <Colin[pi]> like some are good, some are better... every joke in that episode had me rolling
1863: [22:51:09] <Colin[pi]> "I find the most erotic part of the woman is the boobies"
1864: [22:51:11] <Colin[pi]> rofl
1865: [22:51:51] <antmas> yeh that one is classic
1866: [22:52:10] <Colin[pi]> "she's built like a steakhouse, but she handles like a bistro"
1867: [22:52:14] <antmas> I do quite like the one where Zoidberg goes full on sex rage on his home planet
1868: [22:52:21] <Colin[pi]> haha that one is good too
1869: [22:52:49] <Colin[pi]> and I like the one where they went back in time in Roswell too
1870: [22:52:55] <Colin[pi]> "WHAT SMELLS LIKE BLUE?"
1871: [22:54:33] <Colin[pi]> antmas: https://www.youtube.com/watch?v=eCdrUW--Jic
1872: [22:54:34] <Colin[pi]> love it
1873: [22:54:39] <antmas> the skyrim mod for mudcrabs replaced with zoidberg is on my 'make sure this is installed' list from the steam workshop
1874: [22:54:55] * antmas loads up netflix
1875: [22:55:23] <Ryan-Toast> antmas: l2 nexus mods, noob.
1876: [22:55:40] <antmas> Ryan-Toast: pls don't remind me - I can't play that game anymore
1877: [22:55:45] <Ryan-Toast> antmas: :P
1878: [22:55:53] <Ryan-Toast> Have you played with ENB?
1879: [22:55:59] <antmas> also, that episode where they go into Fry looking for the worms
1880: [22:56:03] <antmas> Ryan-Toast: hells yeah
1881: [22:56:11] <Colin[pi]> Ryan-Toast: I got a ton of nexus mods installed :D
1882: [22:56:17] <antmas> but my computer cries when I try anything
1883: [22:56:37] <antmas> random question
1884: [22:56:58] <antmas> this js I have refuses to render a map until you 'refresh' the page using the URL bar and 'Enter'
1885: [22:57:02] <antmas> no other way will make it render
1886: [22:57:04] <antmas> wtf
1887: [22:57:20] <Colin[pi]> antmas: google maps?
1888: [22:57:25] <antmas> what's the difference between doing that and F5ing?
1889: [22:57:31] <antmas> Colin[pi]: naw, custom GIS stuffs
1890: [22:57:34] <Colin[pi]> oh
1891: [22:57:38] <UncleCheese> if i'm sqashing a bunch of commits
1892: [22:57:45] <UncleCheese> how do i know how far to go back?
1893: [22:57:47] <UncleCheese> do i have to count?
1894: [22:57:56] <Colin[pi]> antmas: maybe one is clearing cache the other not?
1895: [22:58:00] <Ryan-Toast> antmas: does the page use ajax at all?
1896: [22:58:01] <UncleCheese> git rebase -i HEAD~43 ?
1897: [22:58:07] <Colin[pi]> no, I'm thinking of shift refresh
1898: [22:58:20] <irogue_> UncleCheese: or use a gui :P
1899: [22:58:23] <antmas> Ryan-Toast: nup
1900: [22:58:24] <UncleCheese> blegh
1901: [22:58:38] <Ryan-Toast> antmas: give us a look at your init function for the map?
1902: [22:58:38] <antmas> maybe I should refresh cache on page load
1903: [22:58:45] <antmas> Ryan-Toast: hold on
1904: [22:59:00] <Colin[pi]> Ryan-Toast: yeah it sounds like typical JS weirdness
1905: [22:59:21] <simon_w|work> UncleCheese, git rebase -i master
1906: [22:59:44] <oddnoc> UncleCheese: You don’t have to count if you squash on merge
1907: [22:59:56] <antmas> its retardascript js because I wrote, so have the eye bleach ready everyone
1908: [23:00:03] <UncleCheese> cheers
1909: [23:00:07] <Colin[pi]> retardascript, lol
1910: [23:00:07] <oddnoc> Also —autosquash is your friend for rebase -i
1911: [23:00:36] <Ryan-Toast> Hmm, what would you use for a service iconm?
1912: [23:00:39] <Ryan-Toast> icon
1913: [23:00:41] <antmas> Ryan-Toast: Colin[pi] http://www.sspaste.com/paste/show/545bf8862858a
1914: [23:00:52] <antmas> Ryan-Toast: what do you mean by service?
1915: [23:00:56] <Colin[pi]> Ryan-Toast: depends on the type of service
1916: [23:01:27] <Colin[pi]> like, is it a mechanic, or a hooker?
1917: [23:01:30] <Colin[pi]> very different icons
1918: [23:01:35] <Ryan-Toast> antmas: antmas: and how are you calling init?
1919: [23:01:35] <Colin[pi]> or... maybe not
1920: [23:01:36] <Colin[pi]> ;)
1921: [23:01:48] <Ryan-Toast> Colin[oi]: parks and shit
1922: [23:02:14] <ss23> wut wut
1923: [23:02:27] <ss23> OH NO WHAT FREELEECH :O
1924: [23:02:28] <antmas> Ryan-Toast: not sure what you mean by calling, I don't strictly call it from anywhere, it's on the page itself
1925: [23:02:43] <Colin[pi]> Ryan-Toast: picnic table with a dog turd under it?
1926: [23:02:45] <Colin[pi]> ;P
1927: [23:02:48] <antmas> lol
1928: [23:02:57] <antmas> Ryan-Toast: parks and rec icon?
1929: [23:03:10] <Colin[pi]> I'm thinking like a tree and a table
1930: [23:03:16] <Colin[pi]> or a person hiking
1931: [23:03:17] <Colin[pi]> or something
1932: [23:03:18] <antmas> yeah something like that Colin[pi]
1933: [23:03:22] <Ryan-Toast> antmas: call your init on document load instrad of dojo.addOnLoad?
1934: [23:04:05] <antmas> Ryan-Toast: ah, you mean dojo.adddOnLoad(init);?
1935: [23:04:11] <Ryan-Toast> antmas: ye
1936: [23:04:16] <antmas> ok I'll try
1937: [23:05:07] <Colin[pi]> "inbox.google.com only works in Google Chrome" <--- FUUUU
1938: [23:05:45] <antmas> Colin[pi]: ikr
1939: [23:06:00] <Colin[pi]> you know chrome's font rendering is still not 100% :\
1940: [23:06:06] <Colin[pi]> they look fuzzy
1941: [23:06:44] <Colin[pi]> ooh I received reddit gold, wtf
1942: [23:06:53] <Colin[pi]> for that comment? lol k
1943: [23:08:03] <firefox2kx> where can i put a 404 page, which file name..?
1944: [23:08:17] <antmas> Ryan-Toast: no dice
1945: [23:08:32] <oddnoc> firefox2kx: One is created for you when you install.
1946: [23:08:33] <Ryan-Toast> antmas: #sucksforyoudawg
1947: [23:08:38] <antmas> Ryan-Toast: :(
1948: [23:09:14] <Ryan-Toast> antmas: is that jaavscrit only included on that pager?
1949: [23:09:17] <Ryan-Toast> page**
1950: [23:09:40] <firefox2kx> ah the one in assets?
1951: [23:09:41] <Ryan-Toast> usually the case is js not being loaded into the head/body on page change due to cache, but on page refresh it loads.
1952: [23:09:50] <oddnoc> firefox2kx: yes
1953: [23:09:55] * novaweb quit (Quit: Leaving)
1954: [23:10:05] <firefox2kx> would it be overwritten by ss some time?
1955: [23:10:34] <antmas> Ryan-Toast: yar
1956: [23:11:02] <antmas> Ryan-Toast: prolly better to put it else where?
1957: [23:11:18] <Ryan-Toast> antmas: no, just make sure it’sbeing loaded propertly on that page. Is this an ss site?
1958: [23:11:26] <antmas> Ryan-Toast: nup
1959: [23:12:01] <ss23> http://rauchg.com/2014/7-principles-of-rich-web-applications/#server-rendered-pages-are-not-optional
1960: [23:13:40] * Nightjar has joined #silverstripe
1961: [23:14:00] <antmas> hrrrrrrm now it is yelling that esri is not defined
1962: [23:14:28] * LimRes quit (Ping timeout: 246 seconds)
1963: [23:15:13] <Nightjar> what did you do to it antmas
1964: [23:15:19] <antmas> motherfucking fuck
1965: [23:15:33] <antmas> Ryan-Toast: NEVERMIND I FOUND IT
1966: [23:15:38] <antmas> I need a holiday
1967: [23:15:49] <Nightjar> everyday is a holiday
1968: [23:15:59] <antmas> not when you do sharepoint
1969: [23:16:07] <Nightjar> hahaahaha
1970: [23:16:11] <Nightjar> bl2u
1971: [23:16:13] <simon_w|work> We need a faster ops server
1972: [23:16:27] * Nightjar quit (Quit: Leaving)
1973: [23:18:07] <antmas> I didn't have my vars inside the init()
1974: [23:18:13] <antmas> but that doesn't make sense
1975: [23:18:22] <antmas> as why would it work sometimes and not others
1976: [23:18:32] <antmas> I give up
1977: [23:18:34] <antmas> :P
1978: [23:19:55] <mudmonth> hej guyz
1979: [23:19:59] * Sticks has joined #silverstripe
1980: [23:20:09] * micmania1 quit (Quit: micmania1)
1981: [23:20:11] <mudmonth> if i want my action to be some-action how do i map that to someAction method
1982: [23:21:01] <simon_w|work> it gets mapped to some_action
1983: [23:21:19] <mudmonth> ahh cheers
1984: [23:21:37] <mudmonth> now i'll be all adhd
1985: [23:21:47] <mudmonth> er OCD
1986: [23:25:52] <antmas> farrrrrr it works in IE11 but not IE10
1987: [23:25:57] * antmas throws desk
1988: [23:27:20] * willr has joined #silverstripe
1989: [23:27:50] <antmas> and it also works in IE9
1990: [23:27:53] <antmas> :|
1991: [23:28:50] <Colin[pi]> antmas: ┬──┬ ノ( ゜-゜ノ)
1992: [23:29:11] <ss23> Okay guys
1993: [23:29:14] <ss23> what.cd is on freeleech
1994: [23:29:17] <ss23> What music do I want?
1995: [23:29:44] <Colin[pi]> ss23: tiny tim
1996: [23:30:05] <antmas> ss23: tpain
1997: [23:30:08] <irogue_> ss23: miley cyrus discography
1998: [23:30:11] <ss23> fuck you all
1999: [23:31:05] * camfindlay quit (Quit: camfindlay)
2000: [23:34:18] <antmas> what are freeleech ss23 ?
2001: [23:36:36] <DimiStripe> Guys, SS 3.1.6 , getting "Object->__call(): the method 'i18n_singular_name' does not exist on 'KeywordAdmin'" on ModelAdmin
2002: [23:36:37] * willr quit (Quit: willr)
2003: [23:36:45] <DimiStripe> what could it be ?
2004: [23:36:51] * camfindlay has joined #silverstripe
2005: [23:37:05] <ss23> antmas: oh what.cd
2006: [23:37:48] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2007: [23:37:56] <simon_w|work> DimiStripe, you're trying to call it on the ModelAdmin instead of the DataObject
2008: [23:38:32] <DimiStripe> Oh , thanks ! :) too tired to realise :D
2009: [23:40:58] <DimiStripe> simon_w|work: Maybe you also know the solution on why ModelAdmin gets full list of 140K elements for ModelAdmin (when displaying only 100) ?
2010: [23:41:25] <DimiStripe> I had same situation on 2.4 , so decided 3.1.6 might work sleeker with huge ammount of data , but ... nope...
2011: [23:41:42] <simon_w|work> DimiStripe, it shouldn't. Should only load the elements actually being displayed
2012: [23:41:50] <simon_w|work> Unless you're doing something in your getList() call
2013: [23:42:08] <DimiStripe> well the query that im tracking is
2014: [23:42:10] <DimiStripe> SELECT KeywordObject.ClassName,<ALL FILEDS>, KeywordObject.ID, CASE WHEN KeywordObject.ClassName IS NOT NULL THEN KeywordObject.ClassName ELSE 'KeywordObject' END AS RecordClassName FROM KeywordObject
2015: [23:42:17] <DimiStripe> thus no LIMIT statement
2016: [23:42:41] <DimiStripe> but displays 100 elements
2017: [23:44:09] * Ryan-Toast quit (Quit: Ryan-Toast)
2018: [23:44:57] <simon_w|work> How are you getting the query?
2019: [23:45:06] <DimiStripe> ?showqueries
2020: [23:45:10] <DimiStripe> thats from 2.4
2021: [23:45:18] <DimiStripe> on 3.1.6 browser just hangs :)
2022: [23:47:16] <DimiStripe> I actually switched to 3.1.6 as someone here on IRC suggested i should update to avoid this problem :)
2023: [23:47:19] * Ryan-Toast has joined #silverstripe
2024: [23:47:56] <adrexia> <simon_w|work> adrexia, I'd be interested in knowing why contributing back to open source works so much better for SS AU than SS NZ
2025: [23:48:05] <adrexia> There business modal is quite different
2026: [23:49:07] <Colin[pi]> yeah it is
2027: [23:50:55] <simon_w|work> Yeah, they're an open source company
2028: [23:51:12] <adrexia> :P
2029: [23:51:22] <adrexia> no, I mean, they don't really work on client projects
2030: [23:51:32] <adrexia> they over warrenties as thjeir main business model
2031: [23:51:56] <antmas> adrexia: offer?
2032: [23:51:58] <adrexia> silverstripe nz, until very recently, has been a vendor
2033: [23:52:04] <adrexia> sorry, yes, offer
2034: [23:52:12] <adrexia> I'm multyi tasking and eating lunch ;)
2035: [23:53:14] <antmas> anyone heard of Force Fit? cool app produced by NZDF
2036: [23:53:17] <adrexia> being a vendor often means that open source work tends to wind up less important than client work
2037: [23:55:06] <adrexia> even fairly obvious bugs often just end up with the client being told that a bug has been logged in the open source project, rather than things being fixed.
2038: [23:55:13] <adrexia> meh
2039: [23:58:50] * spronk quit (Quit: I may need a longer sleep timer...)

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