#silverstripe IRC Log

IRC log for 11 September 2015

All timestamps are in UTC.

1: [00:02:38] <DanaeNZ> https://i.imgur.com/G5eOcFu.jpg
2: [00:02:41] <DanaeNZ> prophet
3: [00:03:15] * Azure quit (Read error: Connection reset by peer)
4: [00:03:58] * Azure has joined #silverstripe
5: [00:04:27] <antmas> DanaeNZ: hahahaha
6: [00:04:56] <antmas> tis funny how Nadela does look somewhat like a black Steve Jobs :P
7: [00:08:11] <spronk> lul
8: [00:08:12] * Pyromanik quit (Quit: Leaving)
9: [00:08:28] * nathanz has joined #silverstripe
10: [00:09:10] <antmas> and tbh he is kinda starting to do to MS what Jobs did to rescue Apple
11: [00:10:17] <spronk> ... what?
12: [00:10:23] <spronk> you're way too kool-aided antmas
13: [00:10:42] <DanaeNZ> i like how you can download an image of basically any windows version now
14: [00:11:26] <spronk> you can?
15: [00:11:26] * chocolatemoose_ quit (Ping timeout: 272 seconds)
16: [00:11:29] <Colin[pi]> getting rid of Balmer was the best thing MS did
17: [00:11:35] <spronk> oh god
18: [00:11:35] <spronk> ballmer was an idiot
19: [00:12:05] <antmas> well he really is fixing the company
20: [00:12:11] * chocolatemoose has joined #silverstripe
21: [00:12:23] <antmas> seemingly anyway
22: [00:12:33] <antmas> who knows if Gates is still controlling it in some way :P
23: [00:13:02] <spronk> prolly not
24: [00:13:05] <spronk> but he should
25: [00:13:16] <spronk> he was just as good as steve, in his own way
26: [00:13:22] <spronk> akward and bumbling
27: [00:13:29] <spronk> just how we like it.
28: [00:13:30] <antmas> :P
29: [00:14:09] <DanaeNZ> MS has made leaps and bounds in the last few years
30: [00:14:28] <DanaeNZ> i mean, you can update a pirated version of windows to windows 10
31: [00:14:49] <DanaeNZ> which I did
32: [00:14:49] <DanaeNZ> lol
33: [00:15:08] <Colin[pi]> DanaeNZ: naughty naughty
34: [00:15:09] <Colin[pi]> :D
35: [00:15:20] <antmas> :P
36: [00:15:43] <DanaeNZ> blame my student days
37: [00:16:25] <antmas> lol do many people actually pay for windows though?
38: [00:16:29] <Colin[pi]> DanaeNZ: when Win7 came out, there was a loophole that if you bought this student membership via some website for $30, you got 8 free licences for Win 7 Pro :D
39: [00:16:36] <Colin[pi]> so I never ran out ;)
40: [00:16:47] <antmas> lol yeah I have all my win7 keys from school
41: [00:16:58] <antmas> plus like, 10+ keys for every other version from msdn
42: [00:17:08] * willr quit (Ping timeout: 272 seconds)
43: [00:17:28] * willr has joined #silverstripe
44: [00:17:53] <Colin[pi]> antmas: yeah MS shut down this loophole pretty quick lol
45: [00:18:08] <Colin[pi]> I know heaps of people that paid the $30 for 8 licences :D
46: [00:19:35] <antmas> yeah :P
47: [00:19:48] <antmas> I have multi use keys for a bunch of 8.1 Pro and 10 Pro versions
48: [00:19:53] <Colin[pi]> lol: http://slickdeals.net/f/5275360-update-10-21-eight-license-keys-windows-8-professional-windows-server-2012-vs-2012-ultimate-more-free-with-42-32-student-membership-to-acm-ieee
49: [00:20:01] <Colin[pi]> oh wait, they did the same for Win8?
50: [00:20:02] <Colin[pi]> LOL
51: [00:20:10] <Colin[pi]> that's hilarious
52: [00:20:15] <antmas> nah not the same exactly
53: [00:20:32] <antmas> but using old 7 keys meant win 8 was also free if you were sneaky :P
54: [00:21:13] <Colin[pi]> oh? well fuck, I paid while it was cheap :P
55: [00:21:24] <antmas> mm
56: [00:21:39] <antmas> like work pays for my msdn
57: [00:21:51] <antmas> but only use enterprise windows keys
58: [00:22:00] <antmas> so all the other ones my account has are free for me to use
59: [00:22:10] <antmas> so I have like over 100 keys lol
60: [00:22:18] <antmas> office, VS, server etc
61: [00:24:08] * Colin[pi] pictures antmas standing on some shady street corner "psst... psst hey buddy... wanna buy some cheap software keys?"
62: [00:24:35] * spronk opens coat
63: [00:24:40] <antmas> hahahaha
64: [00:40:04] * Stomach quit (Quit: zzz)
65: [00:43:32] * micmania1 quit (Quit: micmania1)
66: [00:43:57] * micmania1 has joined #silverstripe
67: [01:01:01] * camfindlay quit (Quit: camfindlay)
68: [01:08:04] * Stomach has joined #silverstripe
69: [01:16:38] * samlander has joined #silverstripe
70: [01:17:38] * Stomach quit (Quit: zzz)
71: [01:23:57] <DanaeNZ> too much burgerfuel u___u
72: [01:24:35] <spronk> OM NOM NOM
73: [01:24:35] <spronk> i haven't had lunch yet
74: [01:25:30] * Stomach has joined #silverstripe
75: [01:29:49] * Tanger has joined #silverstripe
76: [01:30:47] * Tanger quit (Remote host closed the connection)
77: [01:43:49] * antmas had bento and it was delicious
78: [01:45:48] * Phlunk3 has joined #silverstripe
79: [01:45:53] <spronk> oh god
80: [01:45:56] <spronk> has anyone seen lovefield?
81: [01:46:00] <spronk> https://google.github.io/lovefield/
82: [01:46:03] <spronk> its lie
83: [01:46:05] * Hailwood quit (Remote host closed the connection)
84: [01:46:11] <spronk> lets build horrible old tech back into new stuff!
85: [01:47:51] <antmas> I read the title and noped out
86: [01:48:01] <antmas> Javascript Relational Database
87: [01:48:06] <antmas> O.O
88: [01:48:07] <antmas> nope
89: [01:48:10] <antmas> no thanks
90: [01:50:23] * chocolatemoose quit (Ping timeout: 246 seconds)
91: [01:51:01] * chocolatemoose has joined #silverstripe
92: [01:51:41] <chocolatemoose> is it possible to check if a datalist has an even number of items in a template?
93: [01:52:03] <chocolatemoose> I know you can use modulus inside the loop, but is it possible outside of the loop?
94: [01:52:11] * micmania1 quit (Quit: micmania1)
95: [01:56:15] * willr quit (Quit: willr)
96: [01:59:00] * cheddam-work has joined #silverstripe
97: [01:59:38] * Tanger has joined #silverstripe
98: [02:02:15] <antmas> guis
99: [02:02:28] <antmas> is a brand new iphone 4s 32gb worth $100?
100: [02:03:48] <spronk> yes
101: [02:03:57] * willr has joined #silverstripe
102: [02:04:07] <spronk> i sold my 5 year old iphone 4 16gb for $200 about 2 week sago
103: [02:04:24] <antmas> nice
104: [02:05:54] * pins has joined #silverstripe
105: [02:05:54] <ss-helper> pins: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
106: [02:07:14] <antmas> oooh a welcome message
107: [02:07:19] <antmas> when did that start?
108: [02:15:57] * kerozene quit (Remote host closed the connection)
109: [02:18:31] * cheddam-work quit (Quit: My Mac has gone to sleep. ZZZzzz…)
110: [02:20:00] * EasyCo has joined #silverstripe
111: [02:23:05] * cheddam-work has joined #silverstripe
112: [02:23:52] <helenclarko> Hey ss-helper!! Nice of you to welcome people.
113: [02:25:33] <antmas> omg http://i.imgur.com/Zds2fUJ.gif
114: [02:27:59] * Stomach quit (Quit: bye)
115: [02:29:20] * Stomach has joined #silverstripe
116: [02:30:58] * keroberos has joined #silverstripe
117: [02:42:00] <antmas> anyone here watch football?
118: [02:45:02] <MichalKleiner> I rather play it
119: [02:45:03] <antmas> I know UC does
120: [02:45:09] * micmania1 has joined #silverstripe
121: [02:45:40] <antmas> MichalKleiner: you may mean the other kind of football ;) I mean american football
122: [02:49:16] <MichalKleiner> bleh... yeah, I mean soccer.. I thought it's safe to use football in nz for soccer :-D
123: [02:49:33] <antmas> I think it is yeah
124: [02:49:43] <antmas> I mean, 1/2 of us seem to be brittish these days :P
125: [02:57:28] * micmania1 quit (Quit: micmania1)
126: [02:59:05] * timack_ has joined #silverstripe
127: [03:06:35] <ss-helper> Silverstripe custom search into members dataobject - http://stackoverflow.com/questions/32514741/silverstripe-custom-search-into-members-dataobject
128: [03:06:49] <antmas> mm need to remember to not log email address at conferences
129: [03:06:55] <antmas> the spam from sponsers is real
130: [03:19:12] * micmania1 has joined #silverstripe
131: [03:34:34] * timack_ quit (Quit: timack_)
132: [03:40:07] * chocolatemoose_ has joined #silverstripe
133: [03:42:41] * chocolatemoose quit (Ping timeout: 265 seconds)
134: [03:49:08] <DanaeNZ> happy friday afternoon!
135: [03:49:12] * DanaeNZ sips coffee
136: [03:49:20] <MichalKleiner> haha, that's why I have domain bin and give conference-name@domain so I can easily tell when it comes from..
137: [03:49:38] <MichalKleiner> and if they sell it it's easy to see who did it
138: [03:49:38] <antmas> lol yeah I should really do that
139: [03:50:32] <antmas> bah, next long weekend not until 26th october :|
140: [03:52:55] * cheddam-work quit (Ping timeout: 260 seconds)
141: [03:53:55] * helenclarko raises coffee cup to DanaeNZ
142: [03:54:25] * antmas is too tired to raise coffee cup
143: [03:54:53] * DanaeNZ attempts to raise coffee cup but is over-caffeinated so spills it with jittery hands
144: [03:55:02] <DanaeNZ> THAT LONG WEEKEND IS ARMAGEDDON
145: [03:55:05] * Phlunk3 quit (Quit: Leaving)
146: [03:55:06] <DanaeNZ> MY BODY IS READY
147: [03:55:08] <ss23> LONG WEEKEND?!
148: [03:55:15] <DanaeNZ> LABOUR WEEKEND
149: [03:55:19] <ss23> WHEN?!
150: [03:55:28] <DanaeNZ> 26th OCTOBER ISH
151: [03:55:45] <DanaeNZ> First time I ever bought a 4 day pass to armageddon
152: [03:55:45] <ss23> That's literally OVER A MONTH AWAY
153: [03:55:47] <ss23> Holy shit DanaeNZ
154: [03:55:51] <ss23> You got my bloody hopes up so much
155: [03:55:52] <ss23> ;_;
156: [03:55:53] <DanaeNZ> IT'S NOT FAR AWAY ENOUGH
157: [03:55:58] <DanaeNZ> I NEED MORE TIME
158: [03:55:59] <DanaeNZ> TO SEW
159: [03:56:01] <ss23> gunna cosplay? :D
160: [03:56:04] <DanaeNZ> FUCK YEH
161: [03:56:08] <ss23> As long as it's not Naruto
162: [03:56:10] <antmas> LOL http://www.stuff.co.nz/world/australia/71975161/labour-accuses-julie-bishop-of-calling-tanya-plibersek-a-bitch-in-parliament
163: [03:56:14] <DanaeNZ> SORRY TO DISAPPOINT
164: [03:56:30] <ss23> :P
165: [03:56:55] * antmas votes for Thundercats cosplay
166: [03:57:32] <DanaeNZ> Oh i think i finally decided on my comp piece
167: [03:57:44] <DanaeNZ> http://farm8.staticflickr.com/7436/9291055613_9fbef23441_b.jpg
168: [03:57:47] <DanaeNZ> i will die
169: [03:57:54] <antmas> woah
170: [03:57:57] <antmas> nice
171: [03:58:00] <ss23> That looks a little warm
172: [03:58:05] <DanaeNZ> TOASTY
173: [03:58:09] <DanaeNZ> it's in MArch, might be ok
174: [03:58:12] <ss23> Sweaty
175: [03:58:16] <DanaeNZ> authentic
176: [03:58:20] <antmas> that Khajiit one was awesome
177: [03:58:53] * wmk has joined #silverstripe
178: [03:58:53] <DanaeNZ> Was it M'aiq the liar?
179: [03:59:09] <antmas> yeah
180: [03:59:16] <DanaeNZ> I think I saw it too :D
181: [03:59:35] <antmas> mm some pics of it went all around the place I think
182: [03:59:51] <DanaeNZ> omfg they put footage up from hamilton armageddon on that "Bogans" show last night
183: [03:59:58] <DanaeNZ> we were trying to eat lunch
184: [04:00:04] <DanaeNZ> and this guy was recording uys
185: [04:00:20] <DanaeNZ> not so subtle fliipping of the bird was involved
186: [04:00:24] <DanaeNZ> and hideous faces
187: [04:00:30] <DanaeNZ> BUT THEY STILL PUT IT ON THE SHOW
188: [04:00:43] * Azure|dc has joined #silverstripe
189: [04:01:00] <antmas> LOL
190: [04:01:09] <antmas> that Bogan show is awesome
191: [04:01:12] <antmas> it's so stupid
192: [04:01:31] <antmas> that and Neighbours at War are gold
193: [04:02:25] <antmas> wonder if anyone will go as Quiet from MGSV :P
194: [04:02:53] * Azure quit (Ping timeout: 244 seconds)
195: [04:05:26] * antmas_ has joined #silverstripe
196: [04:08:48] * antmas quit (Ping timeout: 246 seconds)
197: [04:09:31] * antmas_ is now known as antmas
198: [04:12:48] <antmas> this is me after releasing sharepoint last week http://i.imgur.com/r9hasFo.gifv
199: [04:16:18] <Colin[pi]> antmas: some say he's still rollin'
200: [04:16:31] <antmas> rofl
201: [04:17:13] <antmas> kinda how I interpreted sharepoint speakers saying 'development is never finished'
202: [04:17:27] <antmas> tis that sheep, rolling down a non stop hill at like 60mph
203: [04:20:21] <DanaeNZ> can SS_HTTPRequest::send_file send zips?
204: [04:20:35] <DanaeNZ> either it can't or I'm comrpessing it allll wronmg
205: [04:23:30] * chocolatemoose_ quit (Ping timeout: 246 seconds)
206: [04:25:07] <Colin[pi]> DanaeNZ: got a header inspector on ur browser?
207: [04:25:14] <Colin[pi]> check what headers it's sending
208: [04:27:01] * chocolatemoose has joined #silverstripe
209: [04:29:11] <Stomach> DanaeNZ - might be too big to store in memory?
210: [04:29:44] <antmas> mm was thinking file size
211: [04:30:51] * pins quit (Ping timeout: 246 seconds)
212: [04:33:41] * Stomach quit (Ping timeout: 252 seconds)
213: [04:34:12] <DanaeNZ> dang i'll check that out
214: [04:34:18] <DanaeNZ> also someone brought a baby in
215: [04:34:22] <DanaeNZ> so i was distracted for a while
216: [04:34:57] <DanaeNZ> Content-Length:259318
217: [04:35:21] <DanaeNZ> ~259kb
218: [04:35:23] <DanaeNZ> that should be fine
219: [04:35:31] <DanaeNZ> i must be making it wrong
220: [04:43:44] * antmas quit (Quit: Page closed)
221: [04:48:05] * UncleCheese has joined #silverstripe
222: [04:48:12] <UncleCheese> vodafail telling me my internet isn't working because my Airport router is not configured for cable.
223: [04:49:18] <UncleCheese> also, i love the old, "well, speedtest.net says you're getting 50mbps"
224: [04:49:39] <UncleCheese> true! but unfortunately, sometimes i like to visit sites other than speedtest.net.
225: [04:50:37] <helenclarko> why, Speedtest is great... Those advertisements!!
226: [04:51:00] <UncleCheese> yeah, and it wouldn't be in an ISP's interest to prioritise traffic to speed testing sites or anything
227: [04:51:04] <UncleCheese> good thing that never happens
228: [04:52:56] <DanaeNZ> lellll
229: [04:54:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
230: [04:55:57] <helenclarko> "Lets not shape traffic over speedtest.net, just to fuck with everyone"
231: [04:56:08] <helenclarko> Thats fantastic!
232: [04:57:37] <helenclarko> Well, I'm done!
233: [04:57:40] * helenclarko quit (Quit: Leaving)
234: [04:59:16] * willr quit (Quit: willr)
235: [05:05:19] * timack_ has joined #silverstripe
236: [05:07:54] * timack_ quit (Client Quit)
237: [05:09:57] * nathanz quit (Quit: Leaving.)
238: [05:20:08] * DanaeNZ quit (Quit: TIME TO FEED)
239: [05:20:21] * timack_ has joined #silverstripe
240: [05:20:21] * timack_ quit (Client Quit)
241: [05:33:51] * micmania1 quit (Quit: micmania1)
242: [05:37:10] * wmk quit (Quit: nice to meet you ;))
243: [05:43:07] * chocolatemoose quit ()
244: [06:21:49] * keroberos is now known as kerozene
245: [06:28:02] * Mike123 has joined #silverstripe
246: [06:31:38] <Mike123> Morning
247: [06:36:28] * willr has joined #silverstripe
248: [06:36:34] * willr quit (Client Quit)
249: [06:36:39] * Eliseth has joined #silverstripe
250: [07:00:31] * spronk quit (Quit: I may need a longer sleep timer...)
251: [07:18:45] * spronk has joined #silverstripe
252: [07:20:12] * spronk quit (Max SendQ exceeded)
253: [07:24:11] * ss23 quit (Ping timeout: 252 seconds)
254: [07:24:26] * ss23 has joined #silverstripe
255: [07:26:25] * Pyromanik has joined #silverstripe
256: [07:32:13] * wmk has joined #silverstripe
257: [07:50:47] * ss23 quit (Ping timeout: 256 seconds)
258: [07:59:53] <Mike123> hey guys how is it possible to sort objects by they last relation , like Products->ChemicalUnit->Chemical->Class , i need to get ChmicalUnits in Products sorted by Class ID
259: [08:03:26] * MichalKleiner quit ()
260: [08:07:14] * r_hector has joined #silverstripe
261: [08:14:05] * ss31noob has joined #silverstripe
262: [08:14:46] * GioVdK has joined #silverstripe
263: [08:15:04] * kinglozzer has joined #silverstripe
264: [08:15:04] <ss31noob> hello. anyone knows about the updates on what will be the schedule for the Silverstripe EU conference next month?
265: [08:25:10] <wmk> Mike123, sorted or grouped?
266: [08:27:12] <wmk> Mike123, well, a good knowledge of mysql helps in this case, to know what you want to acchieve and how to do so.
267: [08:27:49] * spronka has joined #silverstripe
268: [08:27:50] <wmk> i doubt it's possible with pure ORM out of the box
269: [08:28:20] <wmk> if you don't have too many rows can cache the results you can make a filterByCallback, this sorts the Products in php
270: [08:28:37] <wmk> so it has to get all Products from DB first
271: [08:28:50] <wmk> not good if you have thousands of products
272: [08:29:21] <wmk> ss31noob, not that i know of. Zauberfi1ch Sphere ..? Any infos on schedule of conf?
273: [08:49:43] * zlinux has joined #silverstripe
274: [09:01:51] * jeroenem has joined #silverstripe
275: [09:02:48] * Colin[pi] quit (Ping timeout: 255 seconds)
276: [09:03:14] <jeroenem> hey guys, i need to allow my CMS users to embed some CRM source code inside the CMS (In a textarea field) however, the CRM code is quite lame and uses inline javascript in onSubmit stuff etc using single quotes. Now SilverStripe transforms these single quotes into double quotes resulting not working CRM code
277: [09:03:32] <jeroenem> should i use something different than HTMLText as DB field type?
278: [09:05:03] <wmk> jeroenem, either enable javascript in tinymce
279: [09:05:06] <wmk> or use a shortcode
280: [09:05:16] <wmk> if it's always quite the same stuff to embed
281: [09:05:31] <wmk> you can pass variables to the shortcode
282: [09:08:32] * benjhocking has joined #silverstripe
283: [09:09:03] <wmk> jeroenem, you could also make an extra field for the JS and some kind of {{CRM}} in your htmltext which gets replaced by the value of the other field
284: [09:09:09] * wmk likes shortcode
285: [09:09:32] <wmk> and shortcodable extension for a neat UI to insert a shortcode
286: [09:10:25] <jeroenem> here is some of that crappy code: name=WebToLeads1342212000000567029 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory()'
287: [09:10:45] <jeroenem> no quotes on name, single on method, single onSumbit and double quotes around UTF-8
288: [09:11:04] <wmk> well, the quotes shouldn't matter
289: [09:11:11] <wmk> that's html
290: [09:11:31] <wmk> well onSubmit is one big value
291: [09:11:35] <jeroenem> they do, because the javascript wont run because silverstripe changes the single quotes to double quotes
292: [09:11:43] <wmk> ouch, unobstrusive javascript... bad...
293: [09:11:51] <jeroenem> yeah.... this is so crap
294: [09:11:54] <wmk> jpu
295: [09:12:07] <wmk> is it always quite the same form or stuff to insert?
296: [09:12:21] <wmk> just changes e.g. the name?
297: [09:12:22] <jeroenem> always when customers want their super fancy CRM embed code inside their site. and they they are like "ohh it worked great on my wordpress site"
298: [09:12:22] <Pyromanik> wholey shit
299: [09:12:26] <Pyromanik> UK buttfuck retarded.
300: [09:12:41] <wmk> jeroenem, that wordpress site that got hacked?
301: [09:12:49] <jeroenem> wmk hah ;-)
302: [09:12:55] <Pyromanik> anyone sitting in some kind of clerical office instantly takes a hit to the IQ or something
303: [09:13:06] <Pyromanik> it's like, you've got ONE fucking job, and you blow it. Every time.
304: [09:13:15] <wmk> Pyromanik, ??
305: [09:13:34] <Pyromanik> Process an application. It has fucking dates written on it, as an application should. GET PROCESSED WITH WRONG DATES.
306: [09:14:02] <jeroenem> in this case i just want to save the embedded code the same way they paste it and then load in on the page, without anything touching it :P just to get over it in a fast way and move on :P
307: [09:14:11] <Pyromanik> It's like, thanks for wasting my money.
308: [09:14:17] <Pyromanik> and time, and effort.
309: [09:14:44] <wmk> jeroenem, then i'd make a textarea for pasting the code and str_replace to put it into $Content
310: [09:14:51] <ss31noob> hope that schedule will be release soon as i have to discuss it with the boss :P
311: [09:14:53] <wmk> does it have to be inside content?
312: [09:14:58] <jeroenem> yeah i guess i will go for that
313: [09:15:12] <wmk> better would be place it e.g. under $Content
314: [09:15:12] <jeroenem> no, it has its own variable
315: [09:15:15] <Pyromanik> ss31noob, it will be good
316: [09:15:17] <jeroenem> $CRMCode or something
317: [09:15:22] <wmk> jup
318: [09:15:29] <wmk> $CRMCode.RAW in doubt
319: [09:20:34] <Pyromanik> Mike123, wmk possible
320: [09:21:01] <Pyromanik> I only learnt of it recently too, and I've not used it myself, but there's a func on DataList for it
321: [09:21:12] <wmk> Pyromanik, which one?
322: [09:21:44] * Tanger quit (Quit: exit())
323: [09:28:39] <kinglozzer> Mike123, Pyromanik, wmk: I know you can filter by relations, but I dunno about sort? You could use alterDataQuery() I guess, or possibly approach it from the "class" side - Class::get()->sort('ClassID')->relation('Chemicals')->relation('ChemicalUnits')->relation('Products'); but damn that shit's ugly
324: [09:29:27] <wmk> kinglozzer, i'd save that in Products table onAfterWrite()
325: [09:31:42] <Pyromanik> kinglozzer, oh, sort. Yeah, I meant a -> b -> c, you can get C from a
326: [09:32:21] <kinglozzer> That'd be a nice feature actually
327: [09:32:46] <kinglozzer> Product::get()->sort('Category.Title'), rather than Category::get()->sort('Title')->relation('Products')
328: [09:34:26] * benjhocking quit (Ping timeout: 240 seconds)
329: [09:35:01] <wmk> kinglozzer, so TheClassToBeSorted::get()->sort('SortColumn')->relation('Foo')->relation('Bar')->relation('Products') should return products sorted by that other class?
330: [09:35:23] <wmk> does this also work on manymany?
331: [09:35:27] <kinglozzer> wmk: In theory... though I've not tried it
332: [09:35:34] <wmk> Mike123, ^^^^
333: [09:36:49] <Mike123> wmk , kinglozzer , i see.. so i will try it
334: [09:38:22] <wmk> kinglozzer, good to know... so ->relation('Foo') is just the same like ->Foo() ?
335: [09:38:41] <kinglozzer> wmk: It's similar, it's a subset of ->Foo()
336: [09:38:49] <wmk> ok
337: [09:38:56] <kinglozzer> http://api.silverstripe.org/3.1/source-class-DataList.html#903-918
338: [09:39:21] <wmk> ah, ->Foo() works on a single DataObject
339: [09:39:30] <wmk> ->relation('Foo') works on a DataList
340: [09:39:31] <kinglozzer> Yeah, relation is for hasmany/manymany
341: [09:39:36] <kinglozzer> Yup ^^
342: [09:39:46] <wmk> hey, it's friday
343: [09:39:48] * benjhocking has joined #silverstripe
344: [09:41:27] <kinglozzer> Is it even possible to sort on many-many relation's values? e.g. product has_one category - I can sort products by category title... but if products many_many categories, is it possible to sort all products by category titles? I know it wouldn't make much sense
345: [09:41:38] <kinglozzer> I guess you'd just group the products so they only appear once..
346: [09:42:46] <Pyromanik> kinglozzer, dot notation, yeh
347: [09:43:04] <Pyromanik> but then you need to aggregate the many rel
348: [09:43:24] <Pyromanik> it'd be easier to do 2 left joins and a group.
349: [09:43:32] <Pyromanik> ... it'd be easier to database.
350: [09:44:13] <kinglozzer> Pyromanik: Yeah I'm trying to think in db context
351: [09:44:25] <kinglozzer> I suppose you'd approach it from the category side, then group by product id
352: [09:46:56] <Pyromanik> select thing.*, max(ar.fieldthing) from thing left join thing.rel on thing.id = rel.thingid left join actualrel ar on ar.id = rel.actualrelid sort by ar.sortme
353: [09:48:03] <Pyromanik> oh, group by thing.id
354: [09:48:07] <Pyromanik> forgot that bit :<
355: [09:49:18] <wmk> so Product manymany Chemicals, we need Chemicals::get()->sort()->relation('Products')->distinct() to get only single products?
356: [09:50:30] <Pyromanik> yeah, products that are applicable for those chems only. Also you'd probably sort on the end though. idk.
357: [09:50:47] <Pyromanik> something like that wmk :>
358: [09:50:54] * Pyromanik got lost, there's drama in the house
359: [09:51:31] <Pyromanik> I just want to be left alone. Home ill. But fuck'n drama. There's always drama in England. And murder on the dancefloor, or something.
360: [09:56:09] * keroberos has joined #silverstripe
361: [09:56:18] * kerozene quit (Ping timeout: 265 seconds)
362: [09:56:34] * ss23 has joined #silverstripe
363: [09:59:02] <jeroenem> this CRM crap is driving me nuts
364: [09:59:09] <jeroenem> now, i got the embed code fine in my source
365: [09:59:18] <jeroenem> when i will in the form on my website, the data wont be saved
366: [10:00:00] <jeroenem> now i open the view source in my browser, copy the entire source code and save it as a local HTML file - submit the form with my data - and the CRM registered that data i filled in locally
367: [10:00:06] <jeroenem> oh i love fridays :D
368: [10:00:24] <jeroenem> fill in the form*
369: [10:11:00] * nathanz has joined #silverstripe
370: [10:19:19] * jeroenem quit (Quit: Page closed)
371: [10:30:44] <Pyromanik> CRM eh
372: [10:30:46] <Pyromanik> good times
373: [10:38:34] * keroberos quit (Quit: brb)
374: [10:40:57] * keroberos has joined #silverstripe
375: [10:58:36] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
376: [11:16:12] * spronka has joined #silverstripe
377: [11:30:04] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
378: [11:35:54] * spronka has joined #silverstripe
379: [11:48:26] * keroberos quit (Max SendQ exceeded)
380: [11:50:31] * keroberos has joined #silverstripe
381: [11:50:49] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
382: [11:57:51] * Colin[pi] has joined #silverstripe
383: [11:58:22] * spronk has joined #silverstripe
384: [12:16:31] * UndefinedOffset has joined #silverstripe
385: [12:18:32] * keroberos quit (Max SendQ exceeded)
386: [12:19:50] <samlander> hey guys
387: [12:20:06] <samlander> im getting the dreaded permission denied when trying to pick an image in the cms
388: [12:20:14] <samlander> on a new deployment...
389: [12:20:21] <samlander> any thoughs on how to resolve?
390: [12:20:31] * keroberos has joined #silverstripe
391: [12:21:35] <cloph> check permissions of assets folder and what's printed in the logs?
392: [12:21:53] <samlander> got it
393: [12:21:55] <samlander> thanks
394: [12:31:40] <samlander> Image->generateFormattedImage(stripthumbnail) cant write to assets
395: [12:36:21] <samlander> i got it figured out, chown www-data
396: [12:47:01] * spronk quit (Quit: I may need a longer sleep timer...)
397: [12:52:30] * Audlex quit (Ping timeout: 240 seconds)
398: [12:53:48] * Colin[pi] quit (Ping timeout: 246 seconds)
399: [12:56:53] * Colin[pi] has joined #silverstripe
400: [13:03:12] * Audlex has joined #silverstripe
401: [13:03:12] * Audlex quit (Changing host)
402: [13:03:12] * Audlex has joined #silverstripe
403: [13:13:44] * benjhocking quit (Read error: Connection reset by peer)
404: [13:15:30] * spronk has joined #silverstripe
405: [13:27:11] * shellbackpacific has joined #silverstripe
406: [13:50:10] * jcwacky quit (Remote host closed the connection)
407: [13:50:56] * jcwacky has joined #silverstripe
408: [13:51:21] * jcwacky quit (Client Quit)
409: [14:03:59] * ss-helper quit (Ping timeout: 246 seconds)
410: [14:04:10] * spronk quit (Quit: I may need a longer sleep timer...)
411: [14:06:13] <darjus01> how to make gzip compression and cache in htaccess files? I was looking in google various codes but seems nothing works fine
412: [14:10:03] * ss-helper has joined #silverstripe
413: [14:20:24] * darjus01 quit (Quit: Leaving)
414: [14:22:46] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
415: [14:24:53] <shellbackpacific> anyone ever mess around with Active Directory integration through silverstripe? I see a couple modules - just wondering if any one has horror stories or (hopefully) good ones
416: [14:27:27] <Pyromanik> easy.
417: [14:27:45] <shellbackpacific> silverstripe-activedirectory looks pretty nice
418: [14:27:50] <shellbackpacific> great docs
419: [14:29:38] <wmk> shellbackpacific, i was told to use this.
420: [14:29:54] <wmk> there is also a blog post about it on silverststripe.org/blog
421: [14:30:08] <wmk> well, could work out of the box, could be horror story
422: [14:30:19] <wmk> cause every AD is specific and a bit different
423: [14:31:50] <shellbackpacific> wmk: yeah that's what i'm thinking too. I work for an agency and am setting it up for another org…should be fun lol
424: [14:41:03] <Pyromanik> for the most part it's configuring the box to integrate, with apache.
425: [14:41:20] <Pyromanik> that is to get apache configured (or however you're going to do it)
426: [14:41:34] <Pyromanik> beyond that, the module and docs should get you most of the way there.
427: [14:42:02] <shellbackpacific> yeah i think the biggest PITA for me is going to be getting the org i'm doing the work for to do the admin-y tasks on the AD side
428: [14:42:21] <Pyromanik> depends on how you want it to work.
429: [14:42:39] <shellbackpacific> seems like ADFS is the best-documented way?
430: [14:43:13] <shellbackpacific> i'm looking at silverstripe-auth-external as well
431: [14:44:04] <Pyromanik> you don't need them to do anything to get it working as a workstation.
432: [14:44:30] <Pyromanik> adfs?
433: [14:44:53] <shellbackpacific> active directory federation services
434: [14:45:14] <Pyromanik> oh, the old unix integreation serviceds
435: [14:45:15] <Pyromanik> yeh
436: [14:45:19] <Pyromanik> I didn't bother with that
437: [14:45:27] <shellbackpacific> docs say i need an endpoint accessible on the web (https://github.com/silverstripe/silverstripe-activedirectory)
438: [14:45:31] <shellbackpacific> how did you do it?
439: [14:45:42] <Pyromanik> just with winbind.
440: [14:45:43] <shellbackpacific> just connect to port 636 on the remote machine
441: [14:45:48] <shellbackpacific> ?
442: [14:45:55] <Pyromanik> no
443: [14:46:04] <shellbackpacific> hmm…not familiar with winbind. i'm mostly a unix guy
444: [14:46:07] <Pyromanik> I haven't set that module up.
445: [14:46:15] <Pyromanik> ... winbind is unix -.-
446: [14:46:23] <Pyromanik> Samba even.
447: [14:46:30] <Pyromanik> afaik
448: [14:46:47] <shellbackpacific> hmm my bad :)
449: [14:47:11] <shellbackpacific> interesting (winbind)
450: [14:47:33] * Mike123 quit (Ping timeout: 246 seconds)
451: [14:47:38] <Pyromanik> I don't think you need to go so far as having the box connected as a workstation, but I did because I want the admin accounts to be AD too
452: [14:47:50] <Pyromanik> winbind is apparently getting old, but I found it easy to set up.
453: [14:48:13] <Pyromanik> there is a redhat slides presentation somewhere about the differing solutions.
454: [14:48:32] <shellbackpacific> so you just hooked it up to Authenticator ?
455: [14:48:33] <Pyromanik> in any case winbind worked better than direct ldap that someone had tried previously.
456: [14:48:46] <Pyromanik> Nah, I just told PAM to auth with the DC
457: [14:48:51] <Pyromanik> and it does.
458: [14:49:00] <Pyromanik> presumably via kerberos5
459: [14:49:13] <Pyromanik> unsure of all the ins and outs, it's all pretty new to me too.
460: [14:49:20] <shellbackpacific> wow and all that worked through the CMS and everything?
461: [14:49:23] <Pyromanik> no.
462: [14:49:35] <Pyromanik> as I said, I hooked the box up as a workstation.
463: [14:49:45] <Pyromanik> I haven't configured apache to auth that way, but it can.
464: [14:50:02] <Pyromanik> I don't know if you need to hook the box up in order to get apache to work. Might do.
465: [14:50:15] <Pyromanik> and I said I haven't used that module.
466: [14:50:29] <Pyromanik> my workplace doesn't use SS unfortunately.
467: [14:50:43] <Pyromanik> but I took a quick look at it, and it seems pretty good.
468: [14:51:40] <Pyromanik> I'm sure between reading up on winbind or whatever you're going to use and that module, it should work no trouble.
469: [14:51:52] <shellbackpacific> pyromanik: cool thanks for the info
470: [14:51:53] <Pyromanik> mod_authz_kerb iirc
471: [14:51:56] <Pyromanik> is what apache needs.
472: [14:52:11] <Pyromanik> the ubuntu wiki was actually surprisingly helpful for a change.
473: [14:52:35] <Pyromanik> although as I said, it sounds like the methods described are becoming dated from what I read in the redhat slideshow
474: [14:55:10] <Pyromanik> redhat seem to be pushing sssd
475: [14:55:18] <Pyromanik> as at 2014
476: [14:55:21] <Pyromanik> I didn't look into it
477: [15:14:09] * ss31noob quit (Ping timeout: 246 seconds)
478: [15:41:08] * the_sandman has joined #silverstripe
479: [15:41:48] * Colin[pi] quit (Ping timeout: 246 seconds)
480: [15:55:32] * Motoservo quit (Read error: Connection reset by peer)
481: [15:56:45] * Motoservo has joined #silverstripe
482: [16:00:18] * kinglozzer quit ()
483: [16:01:24] * the_sandman quit (Quit: My Mac has gone to sleep. ZZZzzz…)
484: [16:01:37] * wmk quit (Read error: Network is unreachable)
485: [16:33:44] * keroberos quit (Max SendQ exceeded)
486: [16:35:37] * keroberos has joined #silverstripe
487: [16:51:47] <Pyromanik> It's the weekend now.
488: [16:51:56] * Pyromanik quit (Quit: Leaving)
489: [17:12:15] * gelignite has joined #silverstripe
490: [17:15:05] * the_sandman has joined #silverstripe
491: [17:19:20] * GioVdK quit (Ping timeout: 272 seconds)
492: [17:27:02] * the_sandman quit (Read error: Connection reset by peer)
493: [17:57:57] * zlinux_ has joined #silverstripe
494: [17:58:30] * zlinux quit (Ping timeout: 240 seconds)
495: [18:11:42] * irogue-mobile has joined #silverstripe
496: [18:11:43] <ss-helper> irogue-mobile: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
497: [18:12:14] <irogue-mobile> Mornin folks
498: [18:33:12] * r_hector quit (Remote host closed the connection)
499: [18:34:53] * zlinux has joined #silverstripe
500: [18:37:07] * zlinux_ quit (Ping timeout: 250 seconds)
501: [18:57:00] * zlinux_ has joined #silverstripe
502: [18:58:40] * zlinux quit (Ping timeout: 250 seconds)
503: [19:03:48] * zlinux_ quit (Ping timeout: 252 seconds)
504: [19:03:52] * zlinux has joined #silverstripe
505: [19:24:57] * muskie9 has joined #silverstripe
506: [19:43:44] * muskie9 quit (Read error: Connection reset by peer)
507: [20:42:36] * spronka has joined #silverstripe
508: [20:51:53] * UncleCheese has joined #silverstripe
509: [20:58:04] <zlinux> hi all
510: [20:58:35] <zlinux> is there a method to return All Column Names in a DataList?
511: [21:20:23] * shellbackpacific quit (Quit: Leaving.)
512: [21:22:18] * UndefinedOffset quit (Quit: Leaving.)
513: [21:25:22] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
514: [21:57:19] * BPower has joined #silverstripe
515: [21:57:37] <BPower> Hey world!
516: [21:58:26] <BPower> Within a template loop, how can I access the total count of items I'm looping through?
517: [22:00:10] * shellbackpacific has joined #silverstripe
518: [22:00:20] * shellbackpacific has left #silverstripe
519: [22:01:41] <cloph> BPower: https://docs.silverstripe.org/en/3.2/developer_guides/templates/syntax/#position-indicators
520: [22:03:58] <BPower> cloph: THANK YOU
521: [22:04:36] <BPower> I was looking in the wrong place :)
522: [22:06:20] * Azure|dc quit (Quit: Oops.)
523: [22:23:01] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
524: [22:23:12] * zlinux quit (Ping timeout: 264 seconds)
525: [22:25:28] * BPower quit (Remote host closed the connection)
526: [22:33:26] * keroberos quit (Max SendQ exceeded)
527: [22:35:20] * keroberos has joined #silverstripe
528: [22:59:26] * Azure has joined #silverstripe
529: [23:02:53] * neilf quit (Ping timeout: 252 seconds)
530: [23:07:46] * neilf has joined #silverstripe
531: [23:38:21] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)

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