#silverstripe IRC Log

IRC log for 24 March 2015

All timestamps are in UTC.

1: [00:10:17] * micmania1 quit (Quit: micmania1)
2: [00:20:13] * nontgor quit (Ping timeout: 264 seconds)
3: [00:26:17] * benjhocking quit (Read error: Connection reset by peer)
4: [00:30:38] * benjhocking has joined #silverstripe
5: [00:32:37] * nontgor has joined #silverstripe
6: [00:35:05] <spronk2> what the fuck is up
7: [00:35:27] <spronk2> does anyone know what standard / rfc covers country codes for locales? like en_nz?
8: [00:40:56] <spronk2> ...christ this place is slow
9: [00:41:30] <antmas> ssssh I have errors
10: [00:41:34] <spronk2> oo
11: [00:41:36] <spronk2> LET ME HELP!
12: [00:41:42] <antmas> it's .net
13: [00:42:12] <spronk2> i used to work with .net
14: [00:42:13] <spronk2> :p
15: [00:42:29] <spronk2> wonder whether i should get back up to speed now that they're open sourcing everything
16: [00:42:34] <spronk2> C# and asp.net mvc are reasonably nice platforms
17: [00:43:00] <antmas> they're pretty good
18: [00:43:11] <spronk2> asp.net?
19: [00:43:14] <spronk2> (your project)
20: [00:43:22] <antmas> naw this error is form a thirdparty vendor, so not really 'our' error
21: [00:43:27] <antmas> but yeah asp.net
22: [00:43:27] <spronk2> ah
23: [00:43:31] <spronk2> RAZOR TEMPLATES?
24: [00:43:36] <antmas> nup
25: [00:43:41] <spronk2> :(
26: [00:43:51] <antmas> not a lot of front end stuff here that'd need it
27: [00:44:55] * micmania1 has joined #silverstripe
28: [00:52:41] <Ryan-Toast> $data is escaped already, right?
29: [00:52:47] <Ryan-Toast> sanatised I mean
30: [00:53:18] * micmania1 quit (Ping timeout: 246 seconds)
31: [00:54:30] <Stomach> yes
32: [00:54:35] <Ryan-Toast> coolio.
33: [00:56:41] * crooker has joined #silverstripe
34: [00:56:54] <crooker> Greetings
35: [00:58:28] * crooker quit (Client Quit)
36: [00:58:36] <spronk2> hi crooker.
37: [00:58:37] <spronk2> bye crooker.
38: [01:01:50] * Tanger has joined #silverstripe
39: [01:02:39] <WandL> Hi everyone if anyone knows any good silverstripe developers in Adelaide, South Australia who are looking for work please email it@wellnesslifestyles.com.au. need to be able to at least attend meetings in office (btw I know of Jonathon Menz)
40: [01:07:46] <Ryan-Toast> FUCK YOU, ENTWINE HOW DO YOU EVEN WORK?
41: [01:07:47] * Crooker has joined #silverstripe
42: [01:08:36] * mobiusnz1 has joined #silverstripe
43: [01:08:37] * mobiusnz quit (Read error: Connection reset by peer)
44: [01:09:34] * mobiusnz1 is now known as mobiusnz
45: [01:10:23] <spronk2> hahahahahaha Ryan-Toast
46: [01:10:24] <spronk2> ikr
47: [01:10:31] <Ryan-Toast> spronk2: :(
48: [01:10:33] <Ryan-Toast> so confuse.
49: [01:10:37] <spronk2> wat the problem?
50: [01:11:12] <Ryan-Toast> spronk2: No idea.
51: [01:11:42] <spronk2> lol
52: [01:17:32] <Ryan-Toast> spronk2: omg it works.
53: [01:17:35] <Ryan-Toast> what a miricle.
54: [01:17:37] <spronk2> OMG NO WAY
55: [01:17:38] <spronk2> hmm
56: [01:17:39] <Ryan-Toast> miracle
57: [01:17:42] <spronk2> should i go to subway to get some lunch
58: [01:17:43] <spronk2> or
59: [01:17:55] <spronk2> should i be super lazy and get a pizza delivered so that i can continue to watch the cricket
60: [01:19:43] <MichalKleiner> PHPCI looks good on a first look but the lack of documentation is terrible
61: [01:19:52] <Ryan-Toast> spronk2: pizza
62: [01:20:05] <MichalKleiner> looks like I end up using jenkins
63: [01:21:19] <spronk2> hmm
64: [01:22:04] <MichalKleiner> spronk2: lazy
65: [01:23:46] * nupnups quit (Changing host)
66: [01:23:46] * nupnups has joined #silverstripe
67: [01:25:43] * oddnoc quit (Quit: yawn!)
68: [01:36:29] <Ryan-Toast> spronk2: http://www.gfycat.com/PinkBoldItaliangreyhound
69: [01:36:49] <spronk2> :D
70: [01:37:02] <Tanger> Morning guys
71: [01:37:23] <spronk2> YUSSSSS
72: [01:37:36] <spronk2> TAKEN DOOOWNNNNNNN DE KOCK
73: [01:37:38] <Stomach> where is zippy
74: [01:38:23] <Stomach> spronk2 - hopefully we keep getting them oouuutt
75: [01:38:28] <spronk2> yaya
76: [01:40:19] * zippy__ has joined #silverstripe
77: [01:40:28] <zippy__> Stomach: o/
78: [01:40:32] <zippy__> Decent start eh
79: [01:40:32] <Stomach> zippy__ \o
80: [01:40:36] <Stomach> yep
81: [01:40:43] <Stomach> good timing btw
82: [01:40:46] <Stomach> [14:37:40] <Stomach> where is zippy
83: [01:40:58] <zippy__> Ah, so Henry is on. I been busy moving a house but been watching from the start
84: [01:41:07] <zippy__> Boss gave me day off, so on the couch with a beer
85: [01:41:13] <Stomach> bastard :D
86: [01:41:20] <Stomach> I'm at work doing no work
87: [01:42:04] <zippy__> must be an awesome atmospher at the ground
88: [01:42:20] <zippy__> The game is on prime fyi
89: [01:42:22] <Stomach> yeah it would be crazy
90: [01:42:30] * Crooker has left #silverstripe
91: [01:42:32] <zippy__> live on prime
92: [01:42:49] <Stomach> yeah I'm watching it streaming lol
93: [01:42:54] <Stomach> not on prime :P
94: [01:43:27] <zippy__> So, Netflix in NZ eh
95: [01:43:37] <zippy__> think I will cancel sky next month
96: [01:43:50] <zippy__> Nickserv why you so bitch
97: [01:45:38] * Hailwood has joined #silverstripe
98: [01:48:48] * zippy__ is now known as zippy
99: [01:48:51] <Stomach> yaaaay
100: [01:48:53] <Stomach> you beat it
101: [01:48:56] <zippy> :D
102: [01:48:57] <zippy> I win
103: [01:49:16] * UncleCheese has joined #silverstripe
104: [01:49:38] <UncleCheese> how do you add a select clause to a datalist?
105: [01:50:18] <zippy> Stomach: drones pretty cool eh
106: [01:50:40] <Stomach> yeah zippy its awesome
107: [01:51:37] <zippy> UncleCheese: in the datalist you have the data already so why would you need to add a select?
108: [01:51:45] <zippy> You can use ->column to get a specific column
109: [01:51:54] <UncleCheese> no, like select an arbitrary expression
110: [01:52:07] <UncleCheese> ->addSelect( complex math thing AS something)
111: [01:52:08] <zippy> setQueriedColumns
112: [01:52:18] <zippy> http://api.silverstripe.org/master/source-class-DataList.html#776-786
113: [01:52:19] <UncleCheese> right, that will override all of them though, right?
114: [01:52:32] <zippy> pass.
115: [01:52:38] <Stomach> zippy - matt henry ftw
116: [01:52:44] <zippy> yea that over was impressive
117: [01:53:07] <Hailwood> is there a dev task to wipe out all _resampled images?
118: [01:53:15] <zippy> need wickets thou, restricting isn't enough these days when teams can smash 120+ in the last 10 overs
119: [01:53:16] <UncleCheese> Hailwood yes
120: [01:55:41] <zippy> Stomach: man, this is intense!
121: [01:55:52] <Stomach> zippy - agree
122: [01:55:53] <Stomach> its mental
123: [01:56:25] <zippy> AU NZ final would be tough, a NZ IN final I would be happier about
124: [01:58:56] <zippy> Stomach: currently #48 on reddit -> http://www.reddit.com/?count=25&after=t3_300t79
125: [01:59:02] <zippy> With NZ in cricket fever .. lets not forget this golden moment in cricket history
126: [01:59:20] <Stomach> hahaha
127: [02:00:14] * vanny quit (Quit: Page closed)
128: [02:01:18] <zippy> I've been pretty impressed with Dan the man
129: [02:02:44] <spronk2> his catch
130: [02:02:46] <spronk2> was faaaaantastic
131: [02:06:14] * jedateach quit (Quit: jedateach)
132: [02:07:31] * jedateach has joined #silverstripe
133: [02:10:31] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
134: [02:17:53] <Hailwood> Is there any way in silverstripe to enable lossless compression for any resized images?
135: [02:18:31] * zippy has joined #silverstripe
136: [02:18:58] <Ryan-Toast> Hailwood: GDBackend:
137: [02:18:59] <Ryan-Toast> default_quality: 100
138: [02:19:04] <Ryan-Toast> in your yml file
139: [02:20:41] <Hailwood> Ryan-Toast, Is that the same result as using GD::set_default_quality(...) ?
140: [02:21:12] <Ryan-Toast> Hailwood: yes
141: [02:23:26] <mobiusnz> I'm upgrading a SS site from 2.4 to 3.1. Did $image->renderWith() disappear?
142: [02:23:32] <Hailwood> Strange, I have added that to the _config.php with the ridiculous value of 5. then run /dev/tasks/FlushGeneratedImagesTask but I'm still getting messages from pagespeed insights e.g. Losslessly compressing ..../SetWidth324-fde-system-accredited.png could save 25.8KiB (27% reduction)
143: [02:25:24] <Ryan-Toast> mobiusnz: what did it used to do?
144: [02:25:35] <Hailwood> Would it be refusing to compress them because they are .png files?
145: [02:26:03] <Ryan-Toast> Hailwood: shrug, I have a grunt task that compressed all my images
146: [02:26:24] <Hailwood> Ryan-Toast, these are user-uploadable images
147: [02:26:25] <Ryan-Toast> compresses**
148: [02:26:37] <Hailwood> For the ones that are hard coded yeah we have a grunt task for that too
149: [02:26:50] <mobiusnz> Ryan-Toast: I have $image->renderWith('Carousel'), and Carousel.ss has a carousel div. Doesn't seem to want to work in 3.1 tho
150: [02:26:52] <Ryan-Toast> Yeah, I run the task on the images that get uploaded
151: [02:27:14] <Ryan-Toast> mobiusnz: Image()->renderWith() maybe?
152: [02:28:09] <mobiusnz> Ryan-Toast: mm, Debug::show($image) shows the correct image (it's from an array)
153: [02:28:21] <mobiusnz> it just doesn't seem to be loading my template
154: [02:28:25] <Ryan-Toast> mobiusnz: Sorry, never worked with 2.54
155: [02:28:27] <Ryan-Toast> 2.4**
156: [02:29:34] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
157: [02:29:34] <mobiusnz> ah, think I've found it
158: [02:29:58] <mobiusnz> for some reason, Convert::array2json changes html to be "HTMLText"
159: [02:30:05] <mobiusnz> because that's super fucking useful
160: [02:30:25] * antmas quit (Ping timeout: 246 seconds)
161: [02:45:26] * mobiusnz quit (Quit: Leaving.)
162: [02:52:14] <Ryan-Toast> I solved my problem with recursion
163: [02:52:15] <Ryan-Toast> I solved my problem with recursion
164: [02:52:15] <Ryan-Toast> I solved my problem with recursion
165: [02:52:16] <Ryan-Toast> I solved my problem with recursion
166: [02:52:16] <Ryan-Toast> I solved my problem with recursion
167: [02:52:17] <Ryan-Toast> I solved my problem with recursion
168: [02:52:18] <Ryan-Toast> I solved my problem with recursion
169: [02:52:19] <Ryan-Toast> I solved my problem with recursion
170: [02:52:24] <Ryan-Toast> break;
171: [02:54:54] <spronk2> SCHUPERB!!!!
172: [02:55:44] <nontgor> Hailwood: tinypng.net is worth checking out, seen some huge wins with that. Though not practical for user uploaded files
173: [02:55:51] <nontgor> (unless you use the API)
174: [02:57:20] <Ryan-Toast> nontgor: https://github.com/gruntjs/grunt-contrib-imagemin
175: [03:02:04] * mobiusnz has joined #silverstripe
176: [03:39:13] <nontgor> Ryan-Toast: thanks
177: [03:39:48] * mobiusnz quit (Quit: Leaving.)
178: [03:45:18] <spronk2> nz are in big trouble here if they don't get their act together
179: [03:57:50] * mobiusnz has joined #silverstripe
180: [03:59:10] <spronk2> man, this place really is dead
181: [04:01:17] <Colin[pi]> spronk2: RIP in peace #SS
182: [04:01:28] <spronk2> pretty much eh
183: [04:01:41] <Colin[pi]> maybe we're all just busy working
184: [04:01:45] * Colin[pi] bursts out laughing
185: [04:02:08] <Ryan-Toast> People are watching the cricket, shh.
186: [04:02:26] <Ryan-Toast> That and I’m actually doing work.
187: [04:08:39] * jedateach quit (Ping timeout: 256 seconds)
188: [04:12:17] * r_hector has joined #silverstripe
189: [04:12:59] <spronk2> lawl :D
190: [04:17:56] <Stomach> ive been too busy working to talk lately :(
191: [04:18:11] <Stomach> its dumb
192: [04:19:25] * mobiusnz quit (Quit: Leaving.)
193: [04:19:32] <Colin[pi]> Stomach: http://i.imgur.com/Z4xpnSG.gif
194: [04:20:19] <Stomach> yes Colin[pi] for serious
195: [04:20:20] <Stomach> bahahaha
196: [04:20:24] <Colin[pi]> :o
197: [04:21:39] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
198: [04:25:49] <Colin[pi]> oh yey, html for email! it's like a time machine back to 1998!
199: [04:26:30] * Ryan-Toast quit (Quit: Ryan-Toast)
200: [04:32:39] * wmk has joined #silverstripe
201: [04:33:09] <spronk2> lulll
202: [04:33:36] <Colin[pi]> spronk2: I've actually forgotten how to do shitty html
203: [04:33:45] <spronk2> <table>
204: [04:33:48] <Colin[pi]> ^
205: [04:33:49] <spronk2> *1000
206: [04:33:52] <Colin[pi]> yes lol
207: [04:33:59] <Colin[pi]> and inline all the styles
208: [04:35:32] * mobiusnz has joined #silverstripe
209: [04:37:06] <Colin[pi]> epic domestic happening upstairs
210: [04:37:08] <Colin[pi]> lol
211: [04:37:21] <Colin[pi]> expecting someone to get thrown off the balcony any minute
212: [04:38:35] <spronk2> oo
213: [04:38:37] <spronk2> hopefully
214: [04:39:27] <Colin[pi]> I wish, these people are just utter douchebags
215: [04:54:23] <spronk2> just go and throw them off yourself
216: [04:54:25] <spronk2> i think that's your perogative.
217: [04:54:29] <Colin[pi]> rofl
218: [04:54:32] <Colin[pi]> dude
219: [04:54:35] <Colin[pi]> don't tempt me
220: [04:55:00] <spronk2> prerogative*
221: [04:55:04] <spronk2> DOOO ITTTTT
222: [04:58:27] <Colin[pi]> spronk2: had over a year now of their little fuckwit kids running around like elephants at all hours
223: [04:58:39] * Hailwood quit (Ping timeout: 246 seconds)
224: [05:02:58] <nontgor> leave a webcam running so you can youtube the moment
225: [05:03:28] <Colin[pi]> lol
226: [05:03:30] <Colin[pi]> good idea
227: [05:07:38] * stecman_ quit (Quit: This computer has gone to sleep)
228: [05:10:45] <wmk> Colin[pi], kids are running around like that
229: [05:15:23] <Colin[pi]> wmk: I know, I have one
230: [05:15:33] <Colin[pi]> but I make him walk in the house (doesn't always work)
231: [05:17:32] <wmk> not always, no
232: [05:25:28] * Stomach quit (Ping timeout: 255 seconds)
233: [05:35:51] * Hailwood has joined #silverstripe
234: [05:43:12] * mobiusnz quit (Quit: Leaving.)
235: [05:48:19] * Liquide has joined #silverstripe
236: [05:49:16] * mobiusnz has joined #silverstripe
237: [05:52:53] <ss23> https://bugzilla.redhat.com/show_bug.cgi?id=1202858
238: [05:52:57] <ss23> silverstripe bugs aint so bad
239: [05:53:09] * Shrike_Finland has joined #silverstripe
240: [05:56:27] * spronk2 quit (Quit: I may need a longer sleep timer...)
241: [05:57:29] * mobiusnz quit (Quit: Leaving.)
242: [05:58:21] * Shrike_Finland quit (Quit: Leaving.)
243: [05:59:37] * wmk quit (Ping timeout: 250 seconds)
244: [06:00:59] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
245: [06:24:23] <Tanger> Colin[pi]: I find tying their legs together with rope of maiming a kneecap ensures walking at all times
246: [06:26:46] * mobiusnz has joined #silverstripe
247: [06:26:57] <Colin[pi]> Tanger: lol
248: [06:27:02] * Shrike_Finland has joined #silverstripe
249: [06:27:12] * Error404NotFound has joined #silverstripe
250: [06:30:08] * Sticks quit (Quit: Leaving)
251: [06:31:31] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
252: [06:37:09] * mobiusnz quit (Quit: Leaving.)
253: [06:42:18] * zippy has joined #silverstripe
254: [06:46:24] * mobiusnz has joined #silverstripe
255: [06:53:33] <Hailwood> Anyone used heyday/silverstripe-optimisedimage?
256: [07:24:58] * markcl quit (Quit: Leaving.)
257: [07:25:52] * markcl has joined #silverstripe
258: [07:27:58] * markcl1 has joined #silverstripe
259: [07:27:59] * markcl quit (Read error: Connection reset by peer)
260: [07:30:15] * Eliseth has joined #silverstripe
261: [07:34:41] * nontgor quit (Ping timeout: 246 seconds)
262: [07:41:26] * markcl1 quit (Ping timeout: 265 seconds)
263: [07:41:32] * jedateach has joined #silverstripe
264: [07:47:23] * Colin[pi] quit (Ping timeout: 252 seconds)
265: [07:47:29] * nontgor has joined #silverstripe
266: [07:49:57] * oddnoc has joined #silverstripe
267: [07:50:58] * Stomach has joined #silverstripe
268: [07:52:30] * Stomach quit (Client Quit)
269: [07:53:34] * jedateach quit (Quit: jedateach)
270: [07:55:16] * wmk has joined #silverstripe
271: [08:03:58] * cupcake quit (Ping timeout: 246 seconds)
272: [08:05:36] * Stomach has joined #silverstripe
273: [08:05:42] <Stomach> zippy wtf
274: [08:05:43] <Stomach> taylor ftl
275: [08:06:08] <zippy> mmm
276: [08:06:14] <zippy> yea, fucking run out king
277: [08:06:26] <zippy> him and guppy were going sweet, had it won just ticking along
278: [08:06:28] <zippy> fuck me
279: [08:06:54] <zippy> it's winable but the wickets are adding up...
280: [08:07:14] <zippy> Stomach: 150~
281: [08:07:16] * arnhoe has joined #silverstripe
282: [08:07:18] <Stomach> yeah
283: [08:07:18] <zippy> !
284: [08:07:25] <Stomach> we can win but if we lose its taylors fault
285: [08:07:45] <Stomach> not blaming anyone...
286: [08:07:51] <Stomach> ...except for Taylor
287: [08:08:06] <zippy> wonder if it pissed down now would we win, since it's now 20 overs
288: [08:08:37] <Stomach> yeah we are way ahead in d/l
289: [08:09:12] <zippy> jeapers..
290: [08:09:25] <zippy> argh this is to close for me to like
291: [08:09:58] <Stomach> yeah its not enjoyable
292: [08:10:35] <zippy> god damn stressful
293: [08:10:48] <zippy> damn how'd that miss
294: [08:10:55] <zippy> arrggh
295: [08:11:26] * micmania1 has joined #silverstripe
296: [08:11:41] <Stomach> thats much better
297: [08:12:22] <zippy> I will feel better once we are under a 100, like at about
298: [08:12:25] <zippy> 10 or something :)
299: [08:12:34] <Stomach> yeah
300: [08:12:47] <Stomach> gonna go smoke cigarettes and glare at my missus until then
301: [08:14:20] <zippy> just tap it in, just tap it in, tap tap tappy
302: [08:14:40] <zippy> I suppose I could do this change for wmk
303: [08:14:56] <zippy> has a bloody on join message harassing me :P
304: [08:15:21] <Stomach> hahahaha :D
305: [08:15:23] <wmk> ???
306: [08:16:10] <wmk> bloody on join msg... hmm...
307: [08:16:18] * wmk wonders what zippy is trying to tell me
308: [08:16:21] <wmk> !help zippy
309: [08:16:21] <ss-helper> zippy: Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
310: [08:16:50] <micmania1> when does this game end?
311: [08:17:06] <ss23> the cricket?
312: [08:17:11] <ss23> It ends when all the overs are done, or they're all out
313: [08:17:13] <micmania1> yeah, that thing
314: [08:17:28] <ss23> New Zealand in trouble as they reach midway point of innings to be 150-4, chasing 298
315: [08:17:31] <ss23> no fucking way
316: [08:17:32] <ss23> qq
317: [08:17:34] <ss23> NZ have lost
318: [08:18:08] * Rienco has joined #silverstripe
319: [08:18:10] <micmania1> 298? :s
320: [08:18:34] <zippy> ss23: have some faith!!!
321: [08:18:58] <ss23> I have faith we'll lose
322: [08:18:58] <micmania1> I thought they got less :|
323: [08:19:09] <ss23> Hell, I'd bet $50 we'll lose
324: [08:19:17] <zippy> if this was a 20/20 game, you'd back the guys to get 135 with 18 overs
325: [08:19:43] <zippy> micmania1: they did, duck worth lewis adjusted score
326: [08:19:59] <ss23> raid adjusted
327: [08:20:00] <ss23> rain*
328: [08:20:15] <micmania1> oh yeah. Someone tried to explain that to me today.
329: [08:20:39] <zippy> basically, they got more because when they started to bat they didn't know there would be less overs than 50 so they got their score adjusted
330: [08:20:51] <zippy> and stuff
331: [08:20:59] <zippy> it's like ss - magical
332: [08:21:13] <micmania1> so does this have to finish tonight?
333: [08:21:38] <Stomach> micmania1 yes
334: [08:21:52] <Stomach> even if it rains it will be duckworth lewis adjusted for the winner
335: [08:22:03] <micmania1> strange. I always thought cricket got called off if the light wasn't good enough haha
336: [08:22:26] <ss23> Lots of different kind of matches
337: [08:22:32] <ss23> there are lighting requirements
338: [08:22:35] <Stomach> yeah thats a test match, no lights
339: [08:23:44] <zippy> Stomach: I think, if it pisses down now they will finish it tomorrow to get to 42 overs
340: [08:23:48] <zippy> since there is a reserve day
341: [08:23:57] <Stomach> nah thats not how it works in CWC
342: [08:24:07] <Stomach> once 20 overs per side have been batted thats it
343: [08:24:26] <zippy> RAIN!
344: [08:25:51] <Stomach> lol
345: [08:26:01] <ss23> Even adjusted now, we won't win...
346: [08:26:09] <Stomach> yes we would
347: [08:26:13] <ss23> Would we?
348: [08:26:13] <ss23> :O
349: [08:26:19] <Rienco> Hi all.
350: [08:26:19] <ss23> That's crazy
351: [08:26:23] <ss23> Hi Rienco
352: [08:26:45] <Stomach> ss23 - yeah, our run rate is way better than theirs
353: [08:26:49] <Stomach> hi Rienco
354: [08:27:06] <Rienco> I have a question. I want to import a csv file by model admin, but want to give a extra parameter once with it, what's not in the csv file. Is that possible?
355: [08:27:40] <Stomach> yes, thats fine
356: [08:28:18] <Stomach> micmania1 thanks for carrying the semantic versioning flag BTW, I didn't want to have to be the one to call out Damian
357: [08:30:58] <zippy> this is doable
358: [08:31:22] <ss23> zippy: Wanna bet? How about we bet BurgerFuel next time you're in wgtn when I am?
359: [08:31:26] <ss23> Loser buys the other a burger
360: [08:33:58] <Stomach> you're so confrontational ss23
361: [08:33:59] <Stomach> :P
362: [08:34:07] <ss23> :(
363: [08:34:07] <ss23> h8r
364: [08:34:16] <micmania1> Stomach: fightin' the good fight!
365: [08:34:28] <ss23> I mean... we don't have to
366: [08:34:29] <ss23> :(
367: [08:35:26] <Stomach> awww <3
368: [08:35:29] <Stomach> sorry buddy
369: [08:35:43] <Stomach> micmania1 - yes indeed :D there is so much in "3.2" which shouldnt be
370: [08:35:46] <zippy> ss23: done
371: [08:35:47] <ss23> ;_;
372: [08:35:54] <ss23> zippy: :D
373: [08:36:18] <micmania1> Stomach: yep. 3.2 is kind of an exception because its history is before semantic versioning but that's no excuse going forward
374: [08:36:19] <zippy> Stomach: should be in 4 and 4 should be brought forward
375: [08:36:30] <zippy> if there is too much shit in 4, then push shit to 5
376: [08:36:39] <Stomach> yeah its a bit of a dumb situation
377: [08:36:55] <Rienco> My code : http://pastebin.com/eA74Ky5z
378: [08:36:57] <Stomach> I have a bug to track down in 3.1.11 which broke all our model admins too :(
379: [08:37:14] <zippy> target a yearly new major version (maybe... 2, like 9 month cycle
380: [08:37:16] <zippy> )
381: [08:38:22] <micmania1> Stomach: possibly related to SiteTree->canCreate(). That was a security fix so is an exception.
382: [08:38:34] <Stomach> yeah its to do with that for sure
383: [08:39:50] <Stomach> we don't allow people access to the pages section, so probably something fun in that permission group
384: [08:39:58] * Shrike_Finland quit (Quit: Leaving.)
385: [08:42:03] <Stomach> yeah CMS_ACCESS_CMSMain is required now to create pages by default, will just have to change that for our installs
386: [08:42:16] <Stomach> seems weird though, access to the pages section doesn't imply creation of them
387: [08:42:25] <Stomach> might do a PR to add more permissions around that by default
388: [08:44:38] <zippy> there already is isn't there? canview, canedit and cancreate
389: [08:44:54] <zippy> ss23: 200 is up
390: [08:45:04] <Stomach> yeah, but they all now inherit that "Can access the Pages section" as their default check
391: [08:45:10] <Stomach> for view that makes sense
392: [08:45:14] <Stomach> but not for create and edit
393: [08:47:37] * simon_w has left #silverstripe
394: [08:49:57] <ss23> ;____;
395: [08:50:39] <Stomach> holy fuck zipp
396: [08:50:40] <Stomach> y
397: [08:50:41] <Stomach> omg
398: [08:50:45] <Stomach> zippy
399: [08:50:47] <Stomach> holy shit
400: [08:50:52] <zippy> omg
401: [08:50:55] <zippy> I almost lost my shit then
402: [08:51:13] <Stomach> i did lose my shit
403: [08:51:13] * zippy would of thrown it on the ground
404: [08:53:22] <micmania1> NZ need to up their game
405: [08:53:50] <Stomach> nah its all good
406: [08:53:57] <micmania1> Just welly the fucker for 6s
407: [08:54:43] * cupcake has joined #silverstripe
408: [08:56:12] <cupcake> does anyone know how can i add input elements beneath the title of a field?
409: [08:56:29] <zippy> ...... how do you mean
410: [08:56:32] <micmania1> $fields->insertAfter(/*Field*/, 'Title');
411: [08:56:42] * kinglozzer has joined #silverstripe
412: [08:56:43] <cupcake> no
413: [08:56:44] <cupcake> :)
414: [08:56:53] <cupcake> i have a checkbox field
415: [08:56:58] <cupcake> with a label
416: [08:57:18] <cupcake> new CheckboxField( 'DisableWatermark', 'Disable watermark?' ) ;
417: [08:57:22] <cupcake> example like the above
418: [08:57:35] <Stomach> ->setRightTitle('Watermarks are awesome.');
419: [08:57:36] <cupcake> or a normal form field
420: [08:57:53] <cupcake> each form field has a title
421: [08:57:59] <cupcake> which appears to the left of the field
422: [08:58:16] <cupcake> now i want to add some elements exactly beneath the title
423: [09:00:40] <cupcake> understood me ? :)
424: [09:00:52] <zippy> semi
425: [09:01:23] <zippy> elements as is html tags, or more form elements?
426: [09:01:36] <Tanger> cupcake: You could try subclassing the field and either make it render with a custom FieldHolder.ss or Field.ss
427: [09:01:40] <zippy> Stomach: jesus they need to calm the f down
428: [09:01:56] <cupcake> input fields
429: [09:02:05] <cupcake> which get updated through javascript
430: [09:03:52] <zippy> you looked at the LIrertal field?
431: [09:04:04] <zippy> hang on, why not use use text fields?
432: [09:04:16] <zippy> TextField::create().....
433: [09:04:19] <cupcake> yes
434: [09:04:32] <cupcake> but then how do i place them under the title of a particular field
435: [09:04:51] * jedateach has joined #silverstripe
436: [09:04:59] <cupcake> since when u create a text field you have to the left the title of the field and to the right u have the html input element
437: [09:05:00] <zippy> so you want it under the left gutter, in the sidebar?
438: [09:05:10] <zippy> not sidebar, but the gutter
439: [09:05:17] <zippy> look at literal field
440: [09:05:23] <zippy> I think that goes full width
441: [09:05:57] <zippy> eg LiteralField::create('foo', '<input name="foo" type="text">');
442: [09:06:35] * Tanger quit (Quit: sleep())
443: [09:06:38] * zippy gets his prayer beads out
444: [09:06:50] <micmania1> cupcake: You could just use a text field and overwrite the template using ->setTemplate()
445: [09:07:44] <zippy> Stomach: https://github.com/heyday/silverstripe-optimisedimage good?
446: [09:08:04] <Stomach> yeah it works well
447: [09:08:06] <micmania1> Does NZs score get adjusted?
448: [09:09:02] <Stomach> micmania1 - nope
449: [09:09:25] * jedateach quit (Ping timeout: 250 seconds)
450: [09:09:44] * GioVdK has joined #silverstripe
451: [09:10:31] <micmania1> Fuck this is close
452: [09:10:52] <Pywoopk> hmm?
453: [09:10:57] <ss23> the cricket
454: [09:10:59] <Stomach> Pywoopk - cricket
455: [09:11:02] <Pywoopk> oic
456: [09:11:05] <zippy> tight
457: [09:11:11] <Pywoopk> like a toiger
458: [09:11:17] <zippy> like a nuns...
459: [09:11:25] <Pywoopk> oh oi zippy I have something I wanna ask you
460: [09:11:26] <ss23> 67 needed off 48 balls
461: [09:11:33] <zippy> Pywoopk: sure
462: [09:11:40] <Pywoopk> about phergie
463: [09:11:46] <Rienco> I have a question. I want to import a csv file by ModelAdmin, but want to give a extra parameter once with it, what's not in the csv file. Is that possible? My code so far: http://pastebin.com/eA74Ky5z
464: [09:12:03] <zippy> god damn it, I dropped my fucking iphone 6 this morning and shattered the glass as well
465: [09:12:09] <Pywoopk> zippy: gizza bit, I need to remember what it was because it's been like fuck'n month since you were last on
466: [09:12:10] <zippy> so nz better win, otherwise today is real shit
467: [09:12:22] <Pywoopk> zippy: hahahaha, bl2u for buying iphone6
468: [09:12:40] <Pywoopk> zippy: just upgrade to iphone6s?
469: [09:12:54] <zippy> Pywoopk: yea, so phergie yea
470: [09:13:07] <Pywoopk> yeah, she sing;e?
471: [09:13:14] <zippy> sing?
472: [09:13:20] <zippy> !sing
473: [09:13:22] <zippy> nope :P
474: [09:13:43] * zippy stands up and claps Anderson
475: [09:13:48] <Pywoopk> single, but spelt poorly, in a bad joke attempt becauese I cannat remember yet what it was I wanted to ask but I think there wwere like 8 things
476: [09:14:04] <Pywoopk> zippy: on publics?
477: [09:14:04] <zippy> ok
478: [09:14:08] <Pywoopk> like the guthips?:
479: [09:14:21] <zippy> the ss-helper isn't on github, but a lot of the modules are
480: [09:14:36] <zippy> hang on
481: [09:15:08] <Pywoopk> zippy: cicdial
482: [09:15:31] <zippy> Pywoopk: pong, autojoin, feedticker, command, nickserv, phergie-keep-alive
483: [09:15:33] <zippy> is the base
484: [09:15:40] <Pywoopk> yeh I get that like right
485: [09:15:48] <zippy> ok
486: [09:15:52] <Pywoopk> but continuious deployment already k?
487: [09:16:08] <Pywoopk> so we can add more n' stuff :P
488: [09:16:16] <zippy> ohhh
489: [09:16:17] <Pywoopk> There was something I thought needed implementing
490: [09:16:19] <Pywoopk> oh
491: [09:16:27] <zippy> you want to add shit to it
492: [09:16:37] <zippy> wmk is all over me like a glove about that
493: [09:16:45] <Pywoopk> mebbe something like !api SSViewer:385
494: [09:16:53] <zippy> I was thinking for one doing a lot of in channel commands to pull from the db and shit
495: [09:16:56] <Pywoopk> would give link to api on that line
496: [09:16:59] <Pywoopk> etc
497: [09:16:59] <zippy> yeap
498: [09:17:05] <zippy> !api foo, and !docs foo
499: [09:17:13] <Pywoopk> yeh, that kinda stuff
500: [09:17:40] <Pywoopk> also perhaps send out in /msg instead of /say
501: [09:17:44] <Pywoopk> for some things
502: [09:17:47] <zippy> 55 with 41 balls....
503: [09:17:47] <Pywoopk> that kinda stuff
504: [09:17:59] <Pywoopk> Williamson out?
505: [09:18:05] <zippy> Stomach: this is getting intense
506: [09:18:13] <zippy> Pywoopk: ages ago
507: [09:18:14] <micmania1> Squeaky bum time
508: [09:18:18] <Pywoopk> guts
509: [09:18:26] <Pywoopk> might not get a clutch then :<
510: [09:18:28] <zippy> Pywoopk: yea I should push it up
511: [09:18:37] <Pywoopk> zippy: yeh, you should like :>
512: [09:18:55] <Pywoopk> so it's NZ v ... India?
513: [09:20:18] <zippy> Pywoopk: http://www.espncricinfo.com/icc-cricket-world-cup-2015/engine/match/656491.html
514: [09:20:50] <zippy> under 50 runs now
515: [09:22:09] <cupcake> yes zippy i want it in the left gutter
516: [09:22:19] <zippy> cupcake: you looked at literal?
517: [09:23:48] * Shrike_Finland has joined #silverstripe
518: [09:23:53] <cupcake> but i have a custom form field
519: [09:24:03] <cupcake> already
520: [09:24:34] <ss-helper> Re: Get CSV Filename in CsvBulkLoader - http://www.silverstripe.org/community/forums/general-questions/show/101370#post400841
521: [09:24:51] <zippy> shit
522: [09:25:30] <zippy> but the other edit field you want under the title, you use that as a literal field
523: [09:25:35] <zippy> you might have to draw a picture
524: [09:26:34] <Pywoopk> Rienco: does private static $defaults not do the job?
525: [09:27:55] <wmk> Pywoopk, !api DataObject$has_one
526: [09:28:41] <wmk> or !api DataObject::onBeforeWrite()
527: [09:28:44] <Pywoopk> D: zippy NZ need 46 runs with 6 wickets and 31 balls remaining *refreshes* NZ need 46 runs with 5 wickets and 30 balls remaining
528: [09:29:09] <zippy> wmk: :P
529: [09:29:32] <Rienco> Pywoopk: Uhh yes but it needs to be a dropdown from antoher DataObject
530: [09:29:57] <Pywoopk> so you mean an ID
531: [09:30:05] <Pywoopk> it's a has_one
532: [09:30:56] <Pywoopk> would it not just be easier to modify the csv first?
533: [09:31:31] <zippy> 6 more of those
534: [09:31:34] <micmania1> GETIN!
535: [09:32:06] <Pywoopk> w00t! ?
536: [09:32:18] <micmania1> 6 :)
537: [09:32:30] <Pywoopk> yeh I got that :> So now just 40 runs on 28 balls?
538: [09:32:44] <micmania1> 36 from 24
539: [09:32:52] <Pywoopk> cool
540: [09:35:28] <zippy> 4! yes
541: [09:35:47] <micmania1> ha my stream is way behind
542: [09:36:23] <zippy> 29 from 18, this gonna be real close
543: [09:36:57] <micmania1> They need a few more 4s if they're gana win
544: [09:38:16] <Stomach> shit.
545: [09:38:54] <zippy> mm
546: [09:39:57] <zippy> phew
547: [09:41:04] <zippy> 4 sixes...
548: [09:42:28] <Pywoopk> :<
549: [09:42:33] <Pywoopk> 24 from 14
550: [09:42:37] <Pywoopk> I'm told
551: [09:42:39] <Pywoopk> not looking good
552: [09:42:55] <zippy> mm
553: [09:43:01] * cloph quit (Ping timeout: 264 seconds)
554: [09:46:16] <micmania1> 20 from 10.
555: [09:46:26] * swaiba has joined #silverstripe
556: [09:46:28] <Pywoopk> 2 per ball
557: [09:47:16] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
558: [09:47:53] <Pywoopk> lol, zippy's raged out
559: [09:47:54] * zippy has joined #silverstripe
560: [09:48:02] <Pywoopk> ooh, he's back
561: [09:48:24] <zippy> need to sort out the sleep on this new mac
562: [09:48:26] <micmania1> Fuck this is some game. I don't even like cricket
563: [09:48:27] <zippy> it's too quick
564: [09:48:49] <zippy> uh oh
565: [09:48:56] <zippy> hahah
566: [09:49:16] <zippy> god damn
567: [09:49:31] <zippy> we only need 11 - if we draw we win
568: [09:50:51] <zippy> ojasdfojhsdfasdf
569: [09:51:38] <zippy> 5 wides would help :)
570: [09:52:04] <ss23> how many balls left?
571: [09:52:09] <micmania1> 4
572: [09:52:12] <micmania1> 10 runs
573: [09:52:39] <zippy> 9 runs is good enough
574: [09:53:26] <ss23> no way
575: [09:53:28] <ss23> zippy: mmm
576: [09:53:30] <ss23> what burger will I get
577: [09:53:31] <ss23> ...
578: [09:53:36] <ss23> I'll probably have to make it an expensive one
579: [09:53:37] <ss23> :D
580: [09:54:03] <Pywoopk> D: I want burgerfuel :<
581: [09:54:22] <Pywoopk> I went to GBK again in the weekend, had me some L&P.
582: [09:54:39] <Pywoopk> I aked to donate to the Whakatane trust, the poor lass just about shat herself.
583: [09:54:46] <zippy> 4!
584: [09:54:58] <ss23> 4 runs off 3 balls?
585: [09:54:59] <zippy> 6/5 from 3
586: [09:54:59] <Pywoopk> how many balls zippy ?
587: [09:55:04] <ss23> ehh...
588: [09:55:04] <ss23> no way
589: [09:55:05] <ss23> NO WAY
590: [09:55:07] <micmania1> i'm like 20secs behind haha
591: [09:55:09] <ss23> My burgerfuel... mmm
592: [09:56:03] <Rienco> Sorry was out of office for a few minutes. Yes, but modifying the csv is not really an option. The import are the result of a match (first place, second place etc)
593: [09:56:10] <Pywoopk> micmania1: it's become a favourite thing to do. Go to GBK, get the kiwiburger and explicitly ask to donate to the "Whakatane kiwi trust" - the poor people serving and their faces.
594: [09:56:11] <zippy> 5/4 from 2
595: [09:56:20] <zippy> boundry = we go to final
596: [09:56:20] <Pywoopk> It's so good
597: [09:56:44] <zippy> zdfnp'asd
598: [09:56:46] <zippy> ss23: hahahahahahaahah
599: [09:56:47] <Pywoopk> lol
600: [09:56:49] <zippy> you are buying BITCH
601: [09:56:50] <ss23> ;____;
602: [09:56:52] <ss23> ffffff
603: [09:56:55] <zippy> fucking 6!
604: [09:56:56] <zippy> wooooooo
605: [09:56:56] <Pywoopk> LOL
606: [09:57:08] <micmania1> FUUUUCK
607: [09:57:16] <zippy> that was EPIC
608: [09:57:25] <Stomach> UUUCKKKSSA
609: [09:57:26] <ss23> NZ was just playin the entire time
610: [09:57:27] <Stomach> ASDNASDJKASD
611: [09:57:36] <ss23> "you know what'd be funny? if we pretended to be shit then smash it home with a 6 on the last ball"
612: [09:57:39] <Pywoopk> lol, the irony of a South African chap playing for NZ hitting the 6
613: [09:57:42] <Pywoopk> hahaha
614: [09:57:46] <Pywoopk> lads at work telling me
615: [09:58:04] <ss23> :(
616: [09:58:12] <ss23> I'm leaving Wellington guys
617: [09:58:23] <ss23> never will buy zippy ;_;
618: [09:58:23] <Stomach> why
619: [09:58:25] <Pywoopk> Brilliant, what a clutch
620: [09:58:28] <Stomach> haha
621: [09:58:41] <Pywoopk> <3 clutch
622: [09:58:55] <zippy> ss23: I am checking the early morning flights
623: [09:59:05] <ss23> rofl
624: [09:59:07] <swaiba> morning all, this still #silverstripe? lol
625: [09:59:15] <ss23> swaiba: Well, sports happened in NZ
626: [09:59:16] <zippy> #cricket atm
627: [09:59:33] <Stomach> #sports
628: [09:59:40] <swaiba> i see, congrats to those with the best skill :)
629: [09:59:43] <Pywoopk> #silverstripesnzregularstalkaboutcricketworldcup
630: [09:59:55] <Pywoopk> #silverstripeoncricket
631: [10:00:00] * Pywoopk chirps
632: [10:00:08] * Pywoopk is now known as Pyrchirpk
633: [10:00:22] * Pyrchirpk is now known as Pychirpk
634: [10:00:29] * Pychirpk is now known as Pyrchirpk
635: [10:00:34] <Pyrchirpk> yeah nah, one of them
636: [10:01:45] <zippy> Flight Arrives - 11:20 am Wed 25 Mar
637: [10:01:53] <zippy> ss23: im coming for my buger
638: [10:01:54] <ss23> I dunno if I'll be awake by then!
639: [10:01:56] <ss23> XD
640: [10:02:12] <zippy> picking me up in the ss company car too right
641: [10:02:32] <ss23> >company car
642: [10:02:33] <ss23> dude
643: [10:02:39] <ss23> We just had a bet involving a $10 burger or so
644: [10:02:43] <ss23> I'm not rich! :O
645: [10:02:49] <zippy> :P
646: [10:02:50] <ss23> If you're *lucky* I'll let you meet SS when you eat it
647: [10:02:51] <ss23> :D
648: [10:02:57] <ss23> Maybe let yo uhave a company Coke
649: [10:02:57] <zippy> taylor is lucky eh Stomach
650: [10:02:58] <ss23> :P
651: [10:05:57] <Pyrchirpk> function updatetable($table, $arr){ $i=0; foreach($arr as $a){ if($this->db->insert($table, $a)){$i++;} unset $a; } return $i; }
652: [10:06:10] <Pyrchirpk> FFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
653: [10:06:18] <Stomach> taylor is very lucky
654: [10:06:22] <Stomach> hopefully they drop him
655: [10:06:23] <Stomach> :P
656: [10:07:07] <zippy> right, im out
657: [10:07:10] <zippy> night
658: [10:07:11] <Pyrchirpk> ciao
659: [10:07:16] <Pyrchirpk> put phergie on the github
660: [10:07:17] <Pyrchirpk> or something
661: [10:07:26] <Pyrchirpk> give wmk and I pro access
662: [10:07:29] <Pyrchirpk> coz we're awesome
663: [10:07:40] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
664: [10:07:46] <Stomach> me too
665: [10:07:48] <Stomach> later yall
666: [10:07:51] * Stomach quit (Quit: bye)
667: [10:07:52] <Pyrchirpk> l8a
668: [10:08:29] <wmk> Pyrchirpk, how do you know?
669: [10:09:24] * UncleCheese has joined #silverstripe
670: [10:09:40] <ss-helper> getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397
671: [10:12:30] <kinglozzer> Is the cricket over? Is it safe to return?
672: [10:12:31] <kinglozzer> :P
673: [10:15:20] <wmk> kinglozzer, at least it's quite silent now
674: [10:19:25] <wmk> nontgor: any way to configure the treshold of the map clusterer?
675: [10:21:53] * mobiusnz quit (Quit: Leaving.)
676: [10:27:57] <nontgor> wmk: Hard coded at the moment
677: [10:29:21] <wmk> hmm... worth an issue?
678: [10:29:38] <wmk> cause on a current project it's a bit too "harsh"
679: [10:29:44] <wmk> clustering too much
680: [10:36:18] <wmk> nontgor, where do i have to look to change it?
681: [10:39:43] <ss-helper> Submit function is not called - http://www.silverstripe.org/community/forums/form-questions/show/101398
682: [10:41:49] * r3v3rb has joined #silverstripe
683: [10:42:24] <r3v3rb> am i missing something with Currency and CurrencyField ? where do I set currencysymbol(‘£’) ?
684: [10:43:50] * travis-ci has joined #silverstripe
685: [10:43:51] <travis-ci> dhensby/silverstripe-framework#287 (pulls/debug-viewable-data - 2bb7a30 : Daniel Hensby): The build has errored.
686: [10:43:51] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/7a28ab86af9e...2bb7a300ad72
687: [10:43:51] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/55623051
688: [10:43:51] * travis-ci has left #silverstripe
689: [10:45:04] <wmk> r3v3rb, afaik moneyfield is what you're looking for
690: [10:45:11] <r3v3rb> wmk, ugh
691: [10:45:27] <wmk> r3v3rb, see class description
692: [10:45:50] <wmk> * Renders a text field, validating its input as a currency.
693: [10:45:51] <wmk> * Limited to US-centric formats, including a hardcoded currency
694: [10:45:51] <wmk> * symbol and decimal separators.
695: [10:45:51] <wmk> * See {@link MoneyField} for a more flexible implementation.
696: [10:46:07] <r3v3rb> it appears it’s not set via ->setCurrencySymbol method but via locales as per class _t(.CurrencyField.CURRENCYSYMBOL’)
697: [10:46:29] <r3v3rb> $val = '<i>'._t('CurrencyField.CURRENCYSYMBOL', '$').'0.00</i>';
698: [10:46:39] <r3v3rb> damn confusing
699: [10:46:58] <r3v3rb> or just deprecated in favour of MonyField?
700: [10:47:06] <r3v3rb> MoneyField not mony ;)
701: [10:47:15] <r3v3rb> although its getting pretty mony
702: [10:47:25] <wmk> Mony like Monika?
703: [10:47:37] <wmk> MoneyField is for Money db field
704: [10:47:40] <wmk> argh...
705: [10:47:44] <r3v3rb> yup
706: [10:47:53] <r3v3rb> then theres Currency db field
707: [10:48:44] <wmk> currency formfield is for floating db field
708: [10:48:47] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
709: [10:49:27] <r3v3rb> * @deprecated 3.2 Use the "Currency.currency_symbol" config setting instead
710: [10:49:28] <r3v3rb> ta da
711: [10:50:42] <r3v3rb> except thats 3.2 and this site is 3.1.12
712: [10:50:48] <r3v3rb> whaaaaaaaaa
713: [10:50:51] * UncleCheese has joined #silverstripe
714: [10:51:13] * r3v3rb was promoted to idiot by ChanServ
715: [10:52:51] <r3v3rb> however, it makes no difference :\ still get them lovly dollar symbols
716: [10:54:10] <wmk> !flush r3v3rb
717: [10:54:10] <ss-helper> r3v3rb: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
718: [10:54:45] <ss-helper> Re: Submit function is not called - http://www.silverstripe.org/community/forums/form-questions/show/101398#post400845
719: [10:54:46] <ss-helper> Re: Submit function is not called - http://www.silverstripe.org/community/forums/form-questions/show/101398#post400844
720: [10:55:31] <r3v3rb> no difference…. arhhhhh
721: [10:55:39] <r3v3rb> maybe just cheat and use decimal field
722: [10:57:30] <kinglozzer> r3v3rb: lol, I've hit the exact same thing just now
723: [10:57:38] <r3v3rb> :P great minds
724: [10:57:45] <r3v3rb> rubbish isn’t it
725: [10:57:49] <kinglozzer> r3v3rb: Are you using CurrencyField?
726: [10:58:01] <kinglozzer> Because it's hardcoded as '$', even though Currency isn't -_-
727: [10:58:33] <r3v3rb> nope its _t(Currency.CurrencySymbol, ‘$’) from what I can seee
728: [10:58:53] <kinglozzer> That's readonly though
729: [10:59:01] <r3v3rb> hehehe
730: [10:59:02] <kinglozzer> https://gist.github.com/kinglozzer/ff89186fa891411c6449
731: [10:59:07] <kinglozzer> That's what I've done :P
732: [10:59:33] <r3v3rb> pita
733: [10:59:39] <kinglozzer> Yup :(
734: [10:59:46] <kinglozzer> mebbe get round to submitting a fix to core soon
735: [10:59:47] * travis-ci has joined #silverstripe
736: [10:59:48] <travis-ci> dhensby/silverstripe-framework#288 (3 - 4959f0e : Daniel Hensby): The build passed.
737: [10:59:49] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/319b96b48b08...4959f0eea822
738: [10:59:49] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/55623243
739: [10:59:49] * travis-ci has left #silverstripe
740: [10:59:50] <r3v3rb> thanks though, saves me re inventing the wheel
741: [11:01:14] * travis-ci has joined #silverstripe
742: [11:01:15] <travis-ci> dhensby/silverstripe-framework#289 (pulls/debug-viewable-data-3 - 16f0e7b : Daniel Hensby): The build has errored.
743: [11:01:15] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/16f0e7b0d3f1
744: [11:01:15] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/55623751
745: [11:01:15] * travis-ci has left #silverstripe
746: [11:01:32] <r3v3rb> Mr Hensby - Please stop breaking SS
747: [11:01:43] <r3v3rb> thats my job....
748: [11:01:53] * Colin[pi] has joined #silverstripe
749: [11:03:13] <r3v3rb> kinglozzer: just gisted your gist
750: [11:04:00] <r3v3rb> with a gist comment
751: [11:04:21] <kinglozzer> r3v3rb: Huh? That doesn't work for me :/
752: [11:04:27] <r3v3rb> wierd
753: [11:04:59] <r3v3rb> lol, nope it was the FixedCurrency but my refresh happened without me noticing
754: [11:05:04] <r3v3rb> ignore the gist comment
755: [11:05:25] <r3v3rb> wemooved
756: [11:05:51] <kinglozzer> Designer put "shop by provinence"... do they mean "provenance" or "province"? D:
757: [11:06:03] <kinglozzer> I'm going for... provenance
758: [11:06:21] <r3v3rb> depends on context mr kinglozzer
759: [11:06:31] * markcl has joined #silverstripe
760: [11:06:37] <r3v3rb> just put ‘shop by item type'
761: [11:06:39] <r3v3rb> ;)
762: [11:06:52] <kinglozzer> Mmm, it's countries rather than counties etc... plus they're posh hampers so I think provenance is probably what they mean
763: [11:07:06] <r3v3rb> shop by country ;)
764: [11:07:06] <PigeonFriend> r3v3rb:it's only my fork that is failing because the travis script can't deal with forks properly
765: [11:07:15] <r3v3rb> PigeonFriend: only messing :D
766: [11:07:39] * PigeonFriend is now known as dhensby
767: [11:08:04] <r3v3rb> kinglozzer: validation error when saving FixedCurrencyField ;)
768: [11:08:14] <r3v3rb> please enter valid currency
769: [11:08:28] <kinglozzer> r3v3rb: Really? D: I didn't hit any errors :P
770: [11:08:36] <kinglozzer> Override the validate method!
771: [11:08:39] <r3v3rb> pooo, why me - WHY MEEEEE!!!!
772: [11:10:13] * markcl quit (Read error: Connection reset by peer)
773: [11:10:17] * markcl1 has joined #silverstripe
774: [11:10:22] <Pyrchirpk> tsk r3v3rb
775: [11:10:24] <Pyrchirpk> come on now
776: [11:10:40] <r3v3rb> Pyrchirpk: i’m having one of those days
777: [11:10:53] <Pyrchirpk> so it seems
778: [11:10:59] <r3v3rb> lol
779: [11:11:00] <micmania1> conference call at 1.30am cos normal business hours are just too damn easy.
780: [11:11:03] <micmania1> Livin' on the edge
781: [11:11:10] <Pyrchirpk> wtf micmania1
782: [11:11:14] <r3v3rb> micmania1: or your calling your new london office
783: [11:11:19] <Pyrchirpk> conference call to the UK?
784: [11:11:25] <micmania1> nah, hasn't opened yet lol
785: [11:11:29] <kinglozzer> lolwut r3v3rb now I hit it
786: [11:11:30] <Pyrchirpk> lol, so...?
787: [11:11:37] <r3v3rb> calling mum then!
788: [11:11:39] <kinglozzer> (validation)
789: [11:11:56] <Pyrchirpk> mam, get it right r3v3rb :P
790: [11:11:58] <micmania1> deployment of big project thing. I'm 24/7 support this week :(
791: [11:12:05] <Pyrchirpk> oic guts micmania1
792: [11:12:12] <Pyrchirpk> where deploying to?
793: [11:12:17] <Pyrchirpk> US or something?
794: [11:12:27] <micmania1> nah, NZ
795: [11:12:29] <Pyrchirpk> or just midnight deploy 'coz that's safe
796: [11:12:35] <Pyrchirpk> ah yeh, just coz safe or something
797: [11:12:42] <Pyrchirpk> all the coffee?
798: [11:12:44] <micmania1> I'm not deploying. I'm just checking stuff to make sure everything is working
799: [11:12:44] * markcl1 has left #silverstripe
800: [11:12:47] <Pyrchirpk> you still in the office/
801: [11:12:54] <Pyrchirpk> fair crack
802: [11:12:56] <micmania1> someone else is deploying :D
803: [11:13:01] <Pyrchirpk> joys
804: [11:13:07] <r3v3rb> kinglozzer: the validation bails on the hardcoded $’s in th preg_match
805: [11:13:17] <Pyrchirpk> I went to do some hacking last night, but then I realised how much I hate my 'dev' env
806: [11:13:21] <Pyrchirpk> 'env'
807: [11:13:23] <Pyrchirpk> :<
808: [11:13:30] <ss23> 00:11:59 < micmania1> deployment of big project thing. I'm 24/7 support this week :(
809: [11:13:32] <kinglozzer> r3v3rb: Yeah, just gotta swap them out for Currency.currency_symbol !
810: [11:13:33] <ss23> LOL
811: [11:13:41] <micmania1> FUUUUU
812: [11:13:42] <r3v3rb> doing it now
813: [11:13:43] <Pyrchirpk> vagrant is not an answer because wholey shit virtual machines on an atom chip is not a good idea.
814: [11:13:44] <r3v3rb> kinglozzer:
815: [11:13:56] <Pyrchirpk> micmania1: something gaan wrong?
816: [11:13:57] <ss23> vagrant
817: [11:14:03] <micmania1> Pyrchirpk: never!
818: [11:14:04] <Pyrchirpk> also why they playing cricket in the middle of the night?
819: [11:14:23] <micmania1> becuase rain
820: [11:14:28] <Pyrchirpk> heh
821: [11:14:45] <Pyrchirpk> s'wat you get when you have a world cup in Autumn, ha
822: [11:14:59] <Pyrchirpk> could be worse though, it could have been spring I guess.
823: [11:15:14] <micmania1> Only my fucking luck that the cricket world cup final in australia that NZ has just got to is on the same weekend that i'm flying through Australia :(
824: [11:15:27] <micmania1> recipe for disaster
825: [11:15:51] <ss23> Just don't take the bombs this time, micmania1, you ISIS lover
826: [11:15:52] <micmania1> althought I'm pretty sure mine is just a technical stop
827: [11:16:13] <micmania1> all the terrorist police are all over this irc now
828: [11:16:19] <micmania1> i'm screwed either way
829: [11:16:23] <ss23> :3
830: [11:16:38] * Colin[pi] quit (Ping timeout: 244 seconds)
831: [11:16:47] <kinglozzer> r3v3rb: gist updated if you've not already done it :)
832: [11:17:14] * Hailwood quit (Quit: Leaving)
833: [11:17:17] <r3v3rb> beat you :D
834: [11:17:29] <Pyrchirpk> micmania1: flying emirates?
835: [11:17:34] <Pyrchirpk> straight into NCL?
836: [11:17:38] <micmania1> yep
837: [11:17:45] <Pyrchirpk> you don't leave the airport
838: [11:17:46] <ss23> NCL?
839: [11:17:57] <Pyrchirpk> It's a stop, get off, refuel, get on, same plane./
840: [11:18:11] <Pyrchirpk> still go through security check though
841: [11:18:17] <r3v3rb> kinglozzer: cheers for the FixedCurrencyField though
842: [11:18:26] <Pyrchirpk> so don't buy any AK's as souviners
843: [11:18:29] <Pyrchirpk> in the airport
844: [11:18:33] <r3v3rb> are you going to request a merge upstream into Currency?
845: [11:18:37] <micmania1> Pyrchirpk: well, Jetstar to Auckland, then to Sydney (Technical stop), then to Dubai, then to Gaula Lumpa (technical stop) then to Newcastle
846: [11:18:39] <Pyrchirpk> (or more relevantly, bottles of alcohol)
847: [11:18:40] <micmania1> so, yeah. Direct.
848: [11:18:50] <Pyrchirpk> micmania1: oh?
849: [11:18:52] <Pyrchirpk> weird
850: [11:19:09] <r3v3rb> micmania1: yummy
851: [11:19:12] <Pyrchirpk> I went AKL=>SYD(technical)=>Dubai=>NCL
852: [11:19:22] <Pyrchirpk> bacially 1 stop
853: [11:19:22] <kinglozzer> r3v3rb: into CurrencyField probably. Might just create an issue for now
854: [11:19:32] <r3v3rb> needs it, it’s broken as is
855: [11:19:40] <micmania1> Pyrchirpk: maybe the tech stop in guala thingy is on the way back
856: [11:19:42] <micmania1> i forget
857: [11:19:49] <Pyrchirpk> Kuala
858: [11:19:57] <micmania1> i dno
859: [11:20:02] <Pyrchirpk> do now!
860: [11:20:05] <Pyrchirpk> :P
861: [11:20:20] <r3v3rb> Kuala Lumpar or Gaula Lumpa micmania1 :)
862: [11:20:38] <Pyrchirpk> hahahaha, so amazingly funny.
863: [11:20:53] <Pyrchirpk> Reminds me of those terrifying little fuckers from Charlie and the Chocolate Factory
864: [11:21:05] <micmania1> Kuala Lumpur - that place
865: [11:21:06] <r3v3rb> I might need to go to Gaula Lumpa - its a new continent micmania1 has found :D
866: [11:21:15] <r3v3rb> OOmpa Lumpa
867: [11:21:24] <r3v3rb> didddlededay
868: [11:21:27] <micmania1> oh, that stops on the way back
869: [11:21:36] <micmania1> looks like its the same route your took Pyrchirpk
870: [11:21:43] <micmania1> change at Dubai
871: [11:22:17] <Pyrchirpk> Yeh, at Dubai it seemed we mixed in (ie, going to NCL) with folk from Bangkok
872: [11:22:27] <Pyrchirpk> d'no about KL though
873: [11:22:36] <Pyrchirpk> BKK?
874: [11:22:39] * Pyrchirpk shrugs
875: [11:22:47] <micmania1> My route back is different
876: [11:23:04] <Pyrchirpk> yup, bkk
877: [11:23:11] <micmania1> NCL -> Dubai -> Guala Lumpa :) -> Melbourne -> Wellington
878: [11:23:18] <Pyrchirpk> lulz
879: [11:23:22] <Pyrchirpk> still emirates?
880: [11:23:34] <micmania1> yep
881: [11:23:42] <Pyrchirpk> I guess so with NCL=>Dubai
882: [11:23:46] <micmania1> emirates/qantis - they co-run it i think
883: [11:24:25] <Pyrchirpk> Qantas
884: [11:24:31] <micmania1> Guala quantis
885: [11:24:43] <Pyrchirpk> although to be fair at least you didn't add an extra U like most folk do
886: [11:24:45] <Pyrchirpk> Quantas
887: [11:24:50] <micmania1> hahaha
888: [11:25:02] <Pyrchirpk> Queensland And Northern Territories Air Service
889: [11:25:11] <Pyrchirpk> they run jetstar
890: [11:25:12] * Shrike_Finland quit (Quit: Leaving.)
891: [11:25:23] <Pyrchirpk> the Ocianic version of EzyJet
892: [11:25:40] <micmania1> yeah, look the same too
893: [11:25:49] <micmania1> well, orange
894: [11:25:52] <Pyrchirpk> Yeh, orange 'n all
895: [11:25:53] <Pyrchirpk> yeh
896: [11:25:59] <Pyrchirpk> fuck, lost me headphones :<
897: [11:26:49] <Pyrchirpk> oh, no I didnt'
898: [11:26:49] * Pyrchirpk looks harder
899: [11:27:11] <Pyrchirpk> also found a receipt from Sainsbury's I can throw out... from Holburn London
900: [11:27:12] <Pyrchirpk> lulz
901: [11:29:15] * Shrike_Finland has joined #silverstripe
902: [11:37:45] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
903: [11:47:33] <r3v3rb> zauberfisch: did you get the imgur link yesterday (re: osx in virtualbox)
904: [11:47:44] <kinglozzer> Support email: someone changed their email address on their account, can't log in with the *old* email address any more
905: [11:47:46] <kinglozzer> > users
906: [11:47:59] <r3v3rb> kinglozzer: kick em in the nutz
907: [11:48:32] <ss23> kinglozzer: Compare and contrast to my university who would force password changes every X weeks, but would let you log in with the old one.
908: [11:48:45] <r3v3rb> ss23: perfect solution :D
909: [11:48:52] <ss23> :P
910: [11:49:57] <kinglozzer> lol ss23, so they store the last 2 passwords? or just keep them forever? :P
911: [11:50:21] <ss23> idk, nver tested
912: [11:50:36] <ss23> tbh, I could've probably taken over the entire network and looked at sourcecode myself, but you kno,w jail and all that
913: [11:50:39] <ss23> :P
914: [11:51:11] <r3v3rb> stay a while, stay forever… password stickiness from the 1980's
915: [11:52:02] <kinglozzer> Haha, it was like that back when I was at school...
916: [11:52:22] <kinglozzer> Though most of the IT department's time was spent trying to recover people's work from backups after they somehow wiped literally everything
917: [11:52:30] <r3v3rb> https://www.youtube.com/watch?v=i1_fDwX1VVY <- best game ever
918: [11:52:42] * cloph_away has joined #silverstripe
919: [11:52:50] * cloph_away is now known as cloph
920: [11:52:54] <kinglozzer> I dunno how they managed it, but we each had to spend about 30 minutes with an IT guy looking through a massive list of files, pointing out which ones were our's
921: [11:57:46] <zauberfisch> r3v3rb: yes. thank you
922: [11:57:57] <zauberfisch> sounds nice. I'll have to check that out aswell
923: [11:57:58] <r3v3rb> excellent, i shall delete from imgur
924: [11:59:20] <r3v3rb> zauberfisch: it works well, I installed ‘Totals’ my quoting/invoicing/management software and it works perfectly. picks up local network without issue etc etc
925: [11:59:37] <r3v3rb> no need todrag large laptop away on trips abroad now
926: [11:59:42] <r3v3rb> to drag*
927: [11:59:49] <Pyrchirpk> oh?
928: [11:59:54] <Pyrchirpk> i wanan seeeeeeeee
929: [12:00:15] <r3v3rb> Pyrchirpk: just deleted soz, will reupload
930: [12:00:51] <r3v3rb> Pyrchirpk: it’s nothing special just OSX Mavericks running in VirtualBox
931: [12:01:23] <Pyrchirpk> oic
932: [12:01:29] <r3v3rb> :P
933: [12:01:30] <Pyrchirpk> hackintosh?
934: [12:03:00] <jbrungar> I'm working on upgrading a 2.4 site to 3.1 and am stuck on what to do with this on a ViewableData subclass: $obj->iteratorProperties($idx, sizeof($this->store));
935: [12:03:19] <r3v3rb> Pyrchirpk: surface pro 3, virtualbox, niresh’s hackintosh mavericks installer yep
936: [12:03:41] <r3v3rb> Pyrchirpk: zauberfisch considering taking a chance and dual booting it soon
937: [12:04:24] <r3v3rb> just need to grab the type cover kexts
938: [12:05:16] * robbit has joined #silverstripe
939: [12:05:25] <robbit> hi is anyone able ot help with user access levels
940: [12:07:15] <kinglozzer> jbrungar: It's kinda impossible to tell what that code is doing... can you paste the code somewhere?
941: [12:07:19] <kinglozzer> !paste jbrungar
942: [12:07:19] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
943: [12:07:34] <micmania1> oooo flash
944: [12:07:53] <robbit> I have the following model - Users Groups and Markets
945: [12:07:59] <robbit> User habtm Group
946: [12:08:15] <robbit> and Users have access to many Markets
947: [12:08:29] <robbit> depending on their Group level access
948: [12:08:52] <robbit> should I maintain a user_group and a markets_users model
949: [12:09:17] <robbit> or a single groups_markets_users model
950: [12:09:26] <robbit> the later I don't think is a good idea
951: [12:09:44] <robbit> because a user only has any status if if is assigned to a marekt
952: [12:11:10] <r3v3rb> is a shortcode parser the best way to allow a user to inject code from a SiteExtension into HTMLContent on a page?
953: [12:11:38] <r3v3rb> so this is going to cost [BasePrice] +shipping [Shipping] for example
954: [12:11:51] <r3v3rb> where BasePrice and Shipping are two shortcodes
955: [12:12:02] <kinglozzer> Yeah r3v3rb, shortcodes for that
956: [12:12:17] <r3v3rb> kinglozzer: thought so, but never know if things have moved on
957: [12:13:14] <Pyrchirpk> robbit: no idea what you're asking.
958: [12:13:32] <Pyrchirpk> but silverstripe has users and groups built in.
959: [12:13:42] <Pyrchirpk> and roles
960: [12:13:43] <robbit> I'm looking for calrification on modelling user's group access to a 3rd model
961: [12:13:48] <Pyrchirpk> why
962: [12:14:04] <Pyrchirpk> or rather, huh?
963: [12:14:19] <Pyrchirpk> you have users, in a group, and you want the whole group to have access to a model, but no one else?
964: [12:14:21] <robbit> it's a general question to approach, not necessarily specific to SS
965: [12:14:47] <robbit> not exactly, users in a group
966: [12:15:00] <robbit> and some user of that group have access to a market
967: [12:15:07] <Pyrchirpk> but others do not
968: [12:15:08] <Pyrchirpk> ?
969: [12:15:26] <robbit> correct
970: [12:15:33] <Pyrchirpk> then what is the point of the group?
971: [12:16:01] <robbit> hmmm, well the group is for example managers
972: [12:16:15] <robbit> managers should have access to only assigned markets
973: [12:16:28] <Pyrchirpk> then it's a simple user=>model relation, nothing to do with groups.
974: [12:16:49] <jbrungar> kinglozzer: http://kopy.io/DLEam
975: [12:17:00] <jbrungar> kinglozzer: line 364
976: [12:17:22] * cupcake quit (Ping timeout: 246 seconds)
977: [12:18:28] * UndefinedOffset has joined #silverstripe
978: [12:19:03] <robbit> Pyrchirpk: what if the user belongs to many groups (manager and supervisor)
979: [12:19:16] <Pyrchirpk> but groups don't come into your equation at all
980: [12:19:27] <Pyrchirpk> you're directly permitting single users at a time to access a market.
981: [12:19:43] <robbit> yes
982: [12:20:15] <Pyrchirpk> so groups don't come into it.
983: [12:22:17] <robbit> surely i need a group ?
984: [12:22:33] <robbit> 1=user, 2=staff, 3=manager etc
985: [12:22:51] <robbit> User.group_id=3
986: [12:25:46] * r_hector quit (Quit: Leaving.)
987: [12:25:59] <Pyrchirpk> why would it matter?
988: [12:26:18] <Pyrchirpk> market has_many permitted-users
989: [12:26:26] <Pyrchirpk> that's it.
990: [12:26:47] <Pyrchirpk> you can't have a permitted group, because not all members of the group get access to the market.
991: [12:28:50] <robbit> ok so that would give me a permitted-markets entity/model/table/object right
992: [12:29:03] * cloph is now known as cloph_away
993: [12:29:04] <robbit> wher eri would store user_id and market_id
994: [12:29:14] <robbit> that makes sense and is clear in my head
995: [12:29:15] <kinglozzer> jbrungar: As far as I can tell it's just setting the current iterator position and the number of total items (looks like SSViewer uses this for $Pos, $TotalItems etc). Those methods used to be on ViewableData, but they've been moved, which is probably why you're seeing an error.
996: [12:29:51] <robbit> but now as an admin I want to manager all of my supervisors
997: [12:29:51] <kinglozzer> Not sure why everything's a ViewableData instance instead of just writing a db driver, though I've never looked at CouchDB before
998: [12:30:33] <robbit> so i need to know which group or type of user you are
999: [12:31:11] <Pyrchirpk> robbit, I think you're not explaining this very well.
1000: [12:31:38] <Pyrchirpk> the easiest solution is to have a group or role per market, and assign it to users accordingly.
1001: [12:31:46] <robbit> I'm creating a Dashboard for 5 user types
1002: [12:41:17] * arnhoe quit (Remote host closed the connection)
1003: [12:49:27] <robbit> Pyrchirpk: i still follow your logic completely
1004: [12:50:03] <robbit> can you expand your approach please
1005: [12:52:14] * Shrike_Finland quit (Quit: Leaving.)
1006: [12:52:19] * arnhoe has joined #silverstripe
1007: [13:01:32] * cupcake has joined #silverstripe
1008: [13:07:25] * robbit quit (Ping timeout: 246 seconds)
1009: [13:15:07] * micmania1 quit (Ping timeout: 250 seconds)
1010: [13:21:19] <swaiba> is there a controller variable for Director::isDev() ?
1011: [13:21:38] <swaiba> used to be a docs page with tons of varaibels on it, seems gone now
1012: [13:22:11] * UndefinedOffset quit (Quit: Leaving.)
1013: [13:28:11] * dhensby quit (Ping timeout: 252 seconds)
1014: [13:35:10] * catcher has joined #silverstripe
1015: [13:51:57] <Pyrchirpk> No robbit, I cannot. Please figure it out yourself.
1016: [13:52:23] <Pyrchirpk> swaiba: by controller variable you mean url?
1017: [13:52:41] <Pyrchirpk> ?isDev=1
1018: [14:05:47] * ocmnt has joined #silverstripe
1019: [14:10:21] <swaiba> Pyrchirpk sorry no, my bad, like for use ina template, like $Top.IsDev
1020: [14:19:54] <kinglozzer> swaiba: afaict only these are available http://api.silverstripe.org/3.1/source-class-Director.html#1068-1080
1021: [14:20:17] <kinglozzer> Pretty simple to do yourself though, either in your controller or as a TemplateGlobalProvider instance
1022: [14:21:34] <swaiba> kinglozzer - thanks - and yes - just looking at a situation where someone has added a function and I was hoping it would have been there previously
1023: [14:26:35] * cloph_away is now known as cloph
1024: [14:32:49] <elgabbu> if I am querying ::get for a particular page type for instance MyPage::get() ... is it possible to add some sort of parent filter such that the results are limited to only children of a particular node within the site tree which might not be a direct parent of the MyPage itself?
1025: [14:37:15] <swaiba> elgabbu - I'm sure it is, but I don't follow the logic 100%
1026: [14:37:46] <swaiba> use of ParentID in filter for sure
1027: [14:38:56] <elgabbu> one could do ... SiteTree.ParentID = X ... but that would limit the query to only pages that are DIRECT discendents of X ...
1028: [14:39:19] <elgabbu> i want to search all sub folders of X
1029: [14:41:47] <kinglozzer> elgabbu: I don't know if you can do that with a single query, but it won't be easy.
1030: [14:41:55] <kinglozzer> As an alternative: https://gist.github.com/kinglozzer/1865d08ce500775c0cd1
1031: [14:42:04] <kinglozzer> Gets very slow if you have massive numbers of pages though, so I'd cache it]
1032: [14:45:41] <elgabbu> its very weird that the SiteTree class doesn't provide such a functionality
1033: [14:46:33] <r3v3rb> anyone know if this ever got pushed further along internally: http://www.silverstripe.org/community/forums/customising-the-cms/show/21647
1034: [14:47:06] <elgabbu> considering its a tree based structure the possiblity to filter a search with a higher node not just direct parent node should be available
1035: [14:50:29] <kinglozzer> r3v3rb: Nope :( https://github.com/silverstripe/silverstripe-siteconfig/issues/1
1036: [14:50:53] <r3v3rb> kinglozzer - hmmm
1037: [14:51:18] <kinglozzer> elgabbu: It's harder than it sounds... I don't even know how you would do it with a single MySQL query. Looping through them isn't very efficient, so it's probably not a good idea to put something like that in core
1038: [14:51:19] <Pyrchirpk> [14:45] <elgabbu> its very weird that the SiteTree class doesn't provide such a functionality
1039: [14:51:45] <Pyrchirpk> if you can figure out an efficient RDBMS SQL query to fetch such info... do go on.
1040: [14:51:58] <Pyrchirpk> But unless you're using a graph database, I highly doubt you'll be successful.
1041: [14:52:32] <Pyrchirpk> without either making several trips to the db, and or some involved php logic.
1042: [14:52:33] <nontgor> How do I check for zero values for both Lat and Lon fields in this scenario http://sspaste.com/paste/show/551179f75abb0
1043: [14:52:54] <Pyrchirpk> nontgor: == 0?
1044: [14:52:58] <kinglozzer> ^^
1045: [14:53:10] <kinglozzer> (int) $value might help too if you need it
1046: [14:53:24] <kinglozzer> or float
1047: [14:53:24] <kinglozzer> idk
1048: [14:53:40] <nontgor> ah I've got 3 === signs... let me delete one
1049: [14:54:04] <Pyrchirpk> === o.0
1050: [14:54:07] <Pyrchirpk> err
1051: [14:54:10] <Pyrchirpk> ===0.0
1052: [14:54:33] <Pyrchirpk> (int)$val===0
1053: [14:54:48] <r3v3rb> Pyrchirpk: int or float?
1054: [14:54:51] <Pyrchirpk> depends if you're in sql or not I guess
1055: [14:54:59] <nontgor> BigDecimal (18,15)
1056: [14:55:09] <swaiba> Pyrchirpk - ha - was going to (for lulz) suggest === (string) "0.0"
1057: [14:55:13] <Pyrchirpk> r3v3rb: 0 is literal int, 0.0 is literal float.
1058: [14:55:22] <nontgor> sorry, decimal 'Decimal(18,15)',
1059: [14:55:39] <Pyrchirpk> nontgor: mysql?
1060: [14:55:53] <Pyrchirpk> ==0 should do it.
1061: [14:57:09] <nontgor> mysql, yip
1062: [14:57:24] <nontgor> late night programming with a fuzzy head, should probably have a beer and watch the cricket highlights
1063: [14:57:24] <Pyrchirpk> even if it's a varchar ==0 would do it.
1064: [14:57:33] <Pyrchirpk> apparently we won nontgor :>
1065: [14:57:45] <Pyrchirpk> in a very epic clutch
1066: [14:57:59] <Pyrchirpk> only 1 ball to spare or something
1067: [14:58:17] <elgabbu> i agree such a fetch can't be done with a single query ... but i just expected to find some function somewhere that would faciliate the extraction :)
1068: [14:58:52] <Pyrchirpk> there is on sitetree I think, but not folders (from a very hazy memory)
1069: [14:58:56] <nontgor> Pyrchirpk: my stream kind of crapped out after a heavy rainstorm #DamnYouThailand - saw first half using Acestream, second half using BufferedToF**kStream
1070: [14:59:20] <Pyrchirpk> then again elgabbu I think it goes the other way, you can see if you're under a common ancestor, but not see if you have a *child
1071: [14:59:32] <Pyrchirpk> ha
1072: [14:59:34] <Pyrchirpk> nice pun nontgor
1073: [14:59:39] <Pyrchirpk> oh, buffered
1074: [14:59:41] <Pyrchirpk> not battered
1075: [14:59:48] <Pyrchirpk> :<
1076: [14:59:57] <Pyrchirpk> well it was a great pun when I first read it :P
1077: [15:00:26] <swaiba> elgabbu - if you use pure sql there is always a UNION statment
1078: [15:01:25] <elgabbu> yeah just found out we have a utility class and that is what it does
1079: [15:01:30] <nontgor> kinglozzer/Pyrchirpk: == 0 works, stupid late at night mistakes
1080: [15:04:01] <Pyrchirpk> swaiba: one hell of a query to union on a where dependent on the result of the previous query in the union
1081: [15:08:48] <swaiba> Pyrchirpk - think I've missread something then, TBH "which might not be a direct parent of the MyPage itself?" doesn't make sense on re-reading
1082: [15:09:11] <Pyrchirpk> yeah, elgabbu clarified a bit a few lines down
1083: [15:09:18] <swaiba> more like WHERE EXISTS (...) OR EXISTS (...)
1084: [15:09:37] <swaiba> nvm
1085: [15:09:42] * UndefinedOffset has joined #silverstripe
1086: [15:09:56] <Pyrchirpk> looking for (great)*(grand)?child
1087: [15:10:12] <Pyrchirpk> looking for ((great)*grand)?child
1088: [15:10:13] <Pyrchirpk> rather
1089: [15:10:50] <Pyrchirpk> so far as I understood it
1090: [15:11:00] <elgabbu> Pyrchirpk: yes search for grand children of a particular page type
1091: [15:11:19] <Pyrchirpk> elgabbu: grandchildren specifically?
1092: [15:11:26] <Pyrchirpk> or any decendant?
1093: [15:11:32] <elgabbu> any decendant
1094: [15:12:58] <Pyrchirpk> yeah,hard. Grandchildren would be Select * from <heirarchial> where ParentID IN (select ID from <heirarchial> where ParentID = <this.id>)
1095: [15:13:38] <Pyrchirpk> but it just gets messier and messier after that :(
1096: [15:13:49] <Pyrchirpk> (deeper children)
1097: [15:17:09] <DimiStripe> Hey guys, im on a ss 3.1.12 . In Model admin, when a filtering is done , the URL is "admin/OrderAdmin/OrderObject?Created[date]=&Created[time]=...", however when i go inside the Dataobject edit it and press Save and Close (using betterbuttons ) it reurnes me to admin/OrderAdmin/OrderObject , so filtering is lost .
1098: [15:17:23] <DimiStripe> Anyone know how to fix that ?
1099: [15:17:32] <Pyrchirpk> pull request to core I imagine
1100: [15:18:00] <Pyrchirpk> filters should maybe hopfeully be stored in teh session
1101: [15:18:07] <Pyrchirpk> check the comoponent that does it.
1102: [15:18:19] <Pyrchirpk> although it might be because it's not a component that's causing the issue.
1103: [15:18:22] <Pyrchirpk> I dunno man
1104: [15:18:32] <Pyrchirpk> it's not filterheaders, but perhaps start there
1105: [15:19:31] <kinglozzer> Yeah DimiStripe it just hasn't been built yet https://github.com/silverstripe/silverstripe-framework/issues/3229
1106: [15:22:11] <Pyrchirpk> great ideas from Sam as usual :>
1107: [15:23:41] <DimiStripe> Well, this is more related to reloading the page . However what i see , is that the BACK (button on top line, with blue arrow) would bring you back to filtered list when you load the Dataobject. But once you SAVE it , Back button would have a back link to a common admin/OrderAdmin/OrderObject list
1108: [15:24:23] <DimiStripe> on the other hand the URL is not changing when you SAVE the Object . thus pressing browsers BACK would get you to a list of fileterd results
1109: [15:24:26] <kinglozzer> DimiStripe: Sounds more like https://github.com/silverstripe/silverstripe-framework/pull/3542
1110: [15:24:36] <DimiStripe> And yep, betterbuttons has nothing to do here
1111: [15:26:48] <DimiStripe> kinglozzer: yep looks like it . I'm not too good with Git , how can i grab those 3 changed files to upload those over FTP ? :)
1112: [15:27:46] * Rienco quit (Ping timeout: 246 seconds)
1113: [15:32:24] <kinglozzer> DimiStripe: Editing core is usually a bad idea... next time there's a security fix, if you overwrite framework/ you'll lose your changes
1114: [15:32:33] <kinglozzer> DimiStripe: If you really want to... he submitted that pull request in october, so the rest of the file might be out of date. I'd make the changes to GridFieldDetailForm manually. The other file is here: https://raw.githubusercontent.com/glenn-bautista/silverstripe-framework/filter-persistence-fix/forms/gridfield/GridFieldItemEditForm.php
1115: [15:32:42] <nontgor> DimiStripe: If you go to https://github.com/silverstripe/silverstripe-framework/pull/3542/files you can click view, raw and then download. But +1 kinglozzer ^
1116: [15:36:00] * Pyrocrashk has joined #silverstripe
1117: [15:36:01] <Pyrocrashk> wey hey! firefox finally crashed!
1118: [15:36:19] <Pyrocrashk> Been runn'n slower than a wet week all day
1119: [15:38:58] * Pyrchirpk quit (Ping timeout: 246 seconds)
1120: [15:47:18] <DimiStripe> Thanks guys !
1121: [15:47:21] <DimiStripe> Worked as charm !
1122: [15:47:22] <DimiStripe> :)
1123: [15:47:42] <DimiStripe> changed lines manually , just in case
1124: [15:48:00] <DimiStripe> so lets hope this fix will apear in core soon :)
1125: [16:10:25] <ss-helper> 'Drag and Drop' responsive theme builder - http://www.silverstripe.org/community/forums/themes-2/show/101399
1126: [16:14:31] * Shrike_Finland has joined #silverstripe
1127: [16:16:52] * arnhoe quit ()
1128: [16:19:01] * Shrike_Finland quit (Ping timeout: 264 seconds)
1129: [16:20:56] * Shrike_Finland has joined #silverstripe
1130: [16:32:07] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1131: [16:44:44] * swaiba quit (Remote host closed the connection)
1132: [16:54:00] <Pyrocrashk> bail time
1133: [16:54:00] * Pyrocrashk quit ()
1134: [17:05:31] * gelignite has joined #silverstripe
1135: [17:26:46] * kinglozzer quit ()
1136: [18:10:40] <ss-helper> Add attribute data-custom to Dropdown - http://www.silverstripe.org/community/forums/general-questions/show/101400
1137: [18:30:15] * Colin[pi] has joined #silverstripe
1138: [18:34:03] * GioVdK quit (Ping timeout: 250 seconds)
1139: [18:37:53] * Shrike_Finland quit (Quit: Leaving.)
1140: [18:38:13] * Shrike_Finland has joined #silverstripe
1141: [18:54:52] * mobiusnz has joined #silverstripe
1142: [18:54:58] * mobiusnz quit (Client Quit)
1143: [19:06:24] * Shrike_Finland quit (Quit: Leaving.)
1144: [19:07:00] * Stomach has joined #silverstripe
1145: [19:20:03] * mobiusnz has joined #silverstripe
1146: [19:29:51] * jedateach has joined #silverstripe
1147: [19:30:46] * antmas has joined #silverstripe
1148: [19:31:49] <antmas> omg
1149: [19:31:51] <antmas> no sleep last night
1150: [19:31:53] <antmas> so tire
1151: [19:35:34] * Shrike_Finland has joined #silverstripe
1152: [19:35:48] * Shrike_Finland quit (Client Quit)
1153: [19:40:36] <Stomach> haha antmas :D
1154: [19:42:59] <antmas> Stomach: I was literally shaking
1155: [19:43:00] <antmas> :O
1156: [19:45:02] * Stomach quit (Ping timeout: 244 seconds)
1157: [19:47:36] * Stomach has joined #silverstripe
1158: [19:51:37] * Ryan-Toast has joined #silverstripe
1159: [20:04:07] * antons has joined #silverstripe
1160: [20:05:11] * UndefinedOffset quit (Quit: Leaving.)
1161: [20:05:22] * stecman_ has joined #silverstripe
1162: [20:06:50] <mobiusnz> does anyone know if the unclecheese\event-calendar is current/workable?
1163: [20:07:25] <mobiusnz> upgrading an old site that used it, so I've switched to the composer version and I get error 500's trying to edit it
1164: [20:08:27] * zippy has joined #silverstripe
1165: [20:08:58] <antmas> zipo/
1166: [20:09:00] <antmas> Ryan-Toast: o/
1167: [20:09:05] <Ryan-Toast> antmas: \o
1168: [20:09:13] * jedateach has left #silverstripe
1169: [20:09:51] * r3v3rb quit (Quit: r3v3rb)
1170: [20:10:13] <MichalKleiner> o/
1171: [20:10:20] * zippy quit (Client Quit)
1172: [20:11:17] <antmas> MichalKleiner: o/
1173: [20:11:42] <Stomach> SO MANY HIGH ONES
1174: [20:13:09] * zippy has joined #silverstripe
1175: [20:13:15] <antons> Does anyone know how to get the values inside $many_many_extraFields in a data object?
1176: [20:14:36] <MichalKleiner> antma/s
1177: [20:14:38] <MichalKleiner> :-D
1178: [20:14:59] <Stomach> antons - you should be able to just use $Template.Value or $method->Value
1179: [20:15:23] <zippy> Stomach: that game eh!
1180: [20:15:29] <Stomach> zippy - intense
1181: [20:15:35] <antmas> too intense
1182: [20:17:21] <mobiusnz> hmm, seems silverstripe/event-calendar is the same thing as the unclecheese one, and is also broken :(
1183: [20:17:59] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1184: [20:21:46] * Hailwood has joined #silverstripe
1185: [20:28:08] * Pyromanik has joined #silverstripe
1186: [20:28:18] <antmas> Pyromanik: o/
1187: [20:28:24] <Stomach> anyone else have an opinion on this: https://github.com/silverstripe/silverstripe-cms/commit/3df41e1176385215f15fffb04fcba033a5151fb4#commitcomment-10376274
1188: [20:29:52] <Ryan-Toast> Stomach: mini heart attacks
1189: [20:29:59] <Ryan-Toast> dem drops thou
1190: [20:30:26] <zippy> Stomach: should of been in 3.2 as well?
1191: [20:31:26] <Stomach> security fix
1192: [20:33:48] <Stomach> but its fucked a whole bunch of my sites
1193: [20:33:51] <Stomach> if we upgrade as is
1194: [20:33:53] <Stomach> and its wrong
1195: [20:33:55] <Stomach> and it makes me rage
1196: [20:33:58] <zippy> yea doesn't seem right
1197: [20:34:13] <zippy> but, need to look at it better without a headache.
1198: [20:34:18] <zippy> what would simon do....
1199: [20:35:05] <antmas> zippy: had a few drinks last night?
1200: [20:35:09] <antmas> :D
1201: [20:35:12] <antmas> who couldn't?
1202: [20:35:35] <zippy> :) a few
1203: [20:35:39] <zippy> but don't think that is the headache
1204: [20:38:17] <antmas> wtf X-Files is coming back?
1205: [20:39:50] <antons> Stomach - thanks, given that a try and I can see the $many_many_extraFields coming through as an array, but its showing the type instead of the value. eg. 'Consent' => 'Boolean' instead of 'Consent' => true
1206: [20:42:00] <MichalKleiner> antmas: so iterate over the array and use again -> to get the value
1207: [20:42:10] <MichalKleiner> sorry antons
1208: [20:42:42] <MichalKleiner> $template.Field.Value or $method->field->value
1209: [20:42:51] <MichalKleiner> just a guess though
1210: [20:42:55] <mobiusnz> is sunnysideup on IRC?
1211: [20:46:42] <Pyromanik> mobiusnz, on occasion
1212: [20:46:44] <Pyromanik> nicholaas
1213: [20:46:49] <Pyromanik> !seen nicholaas
1214: [20:46:49] <ss-helper> Pyromanik: Never seen that person before...
1215: [20:46:51] <Pyromanik> oh
1216: [20:47:00] <Pyromanik> not so recently then, or I'm spelling his name wrong
1217: [20:47:44] <mobiusnz> ah yep
1218: [20:48:09] <Pyromanik> You see his name pop up reasonably often in dev list and things like that
1219: [20:48:13] <mobiusnz> yeah
1220: [20:48:21] <mobiusnz> I'm looking at his calendar module
1221: [20:48:30] <mobiusnz> as the silverstripe one seems horribly broken
1222: [20:48:58] <mobiusnz> and the documentation on his says "contact the author" haha
1223: [20:49:31] <Pyromanik> he has a calander module/
1224: [20:49:31] <Pyromanik> ?
1225: [20:49:46] <mobiusnz> http://addons.silverstripe.org/add-ons/sunnysideup/calendar
1226: [20:49:47] <Pyromanik> last I saw he was just republishing unclecheese's one
1227: [20:49:47] <mobiusnz> apparently
1228: [20:49:55] <mobiusnz> it's quite different
1229: [20:50:22] <mobiusnz> the "official" silverstripe one appears to be unclecheese's http://addons.silverstripe.org/add-ons/silverstripe/event-calendar
1230: [20:50:28] <Pyromanik> Yeah, he was the guy who tried to make a definitive module source before addons.ss.org.nz existed
1231: [20:50:39] <Pyromanik> mobiusnz, don't ever, not even once.
1232: [20:50:45] <Pyromanik> Only pain and suffering lies that way
1233: [20:51:10] <mobiusnz> Pyromanik: yeah. This site was a 2.4 one that had UC's original event-calendar
1234: [20:51:17] <Pyromanik> I highly disrecommend it
1235: [20:51:29] <mobiusnz> I tried to convince the cust that as they don't have any calender items in their calendar, they don't actually need a calendar
1236: [20:51:34] <Pyromanik> well... depending on implementation going with 3.1 'upgrade' might be ok.
1237: [20:51:40] <Pyromanik> haha, true that.
1238: [20:51:42] <mobiusnz> but they disagree
1239: [20:51:48] <mobiusnz> for reasons I can't fathom
1240: [20:51:55] <Pyromanik> mobiusnz, I've converted blog into calendar before. Even wrote an output for ical
1241: [20:52:10] * Pyromanik digs
1242: [20:52:14] <Pyromanik> I wonder if I have a copy
1243: [20:52:44] <mobiusnz> mm. I might give http://addons.silverstripe.org/add-ons/andrewhoule/silverstripe-basiccalendar a shot
1244: [20:52:52] <mobiusnz> I doubt they need anything more than basic
1245: [20:53:28] <Pyromanik> hmm fuck, doesn't seem I do.
1246: [20:53:37] * wmk quit (Ping timeout: 265 seconds)
1247: [20:53:52] <Pyromanik> oh well, guts
1248: [20:54:36] <Pyromanik> I guess I'll have to re-implement the ical output next time I need it :(
1249: [20:54:41] <mobiusnz> indeed
1250: [20:55:07] <Pyromanik> bit dark tbh, I was semi proud of that
1251: [20:55:11] * Olliepop has joined #silverstripe
1252: [20:55:29] <mobiusnz> I hate it when I can't find old code that was awesomesauce
1253: [20:55:31] <Pyromanik> semi because adaptation of blog. proud because ical output that was actually standard compliant
1254: [20:55:52] <Pyromanik> (event-calendar's output is NOT)
1255: [20:56:07] <antons> MichalKleiner - Maybe I'm doing something wrong, I've added a gist of my class structure https://gist.github.com/antons-/1c626a1827f2a5b952f8#file-gistfile1-txt
1256: [20:56:14] <Pyromanik> in fact, I'd got so far as to say the fellow who wrote it was 100% unclued.
1257: [20:56:31] <Pyromanik> Not just in SS, but in development in general (but obviously thought he was the shizz)
1258: [20:58:49] * UncleCheese has joined #silverstripe
1259: [21:02:36] * micmania1 has joined #silverstripe
1260: [21:02:48] * nontgor quit (Ping timeout: 264 seconds)
1261: [21:03:13] <Pyromanik> morning MichalKleiner
1262: [21:03:15] <Pyromanik> err
1263: [21:03:16] <Pyromanik> micmania1,
1264: [21:03:45] <micmania1> areet
1265: [21:03:53] <Pyromanik> Sleep much? hehe
1266: [21:08:36] * spronk2 has joined #silverstripe
1267: [21:10:12] * travis-ci has joined #silverstripe
1268: [21:10:13] <travis-ci> dhensby/silverstripe-framework#290 (pulls/debug-viewable-data - 69f40c9 : Daniel Hensby): The build has errored.
1269: [21:10:13] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/2bb7a300ad72...69f40c975f93
1270: [21:10:13] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/55705628
1271: [21:10:13] * travis-ci has left #silverstripe
1272: [21:10:14] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1273: [21:10:28] <antons> Never mind, figured it out, had to use $this->getManyManyComponents() and then iterate through the list. I could then go $do->Consent and get the value. The responses now make sense, thanks for that
1274: [21:11:02] <ss-helper> Only partial nested urls - http://www.silverstripe.org/community/forums/general-questions/show/101402
1275: [21:11:03] <ss-helper> 분당오피( BAMWAR.COM ) l 강남오피@영통오피 - http://www.silverstripe.org/community/forums/forum-module-forum/show/101401
1276: [21:11:34] <MichalKleiner> antons: yeah, good on ya.. I don't use it that often so really I was just guessing based on other things..
1277: [21:11:41] * Ryan-Toast quit (Quit: Ryan-Toast)
1278: [21:11:58] <Pyromanik> lol
1279: [21:12:10] <Pyromanik> is that bot spamming us because someone has spammed the forums?
1280: [21:14:40] <MichalKleiner> at least we know it's utf8 safe :-D
1281: [21:14:52] * nontgor has joined #silverstripe
1282: [21:16:06] <Pyromanik> the bot?
1283: [21:16:13] <Pyromanik> I don't see UTF8 :<
1284: [21:22:20] <antmas> Colin[pi]: o/
1285: [21:26:04] <ss-helper> Re: Only partial nested urls - http://www.silverstripe.org/community/forums/general-questions/show/101402#post400850
1286: [21:26:08] <MichalKleiner> I see some chinese characters
1287: [21:26:13] <MichalKleiner> maybe it's the irc client
1288: [21:26:35] <MichalKleiner> I see the title as it's on the website
1289: [21:26:40] <antmas> where?
1290: [21:26:46] <MichalKleiner> http://www.silverstripe.org/community/forums/forum-module-forum/show/101401
1291: [21:26:51] <MichalKleiner> the chinese characters
1292: [21:26:54] <antmas> oh
1293: [21:26:55] <antmas> heh
1294: [21:26:58] <MichalKleiner> or whatever it is
1295: [21:27:10] <antmas> BAMWAR
1296: [21:29:14] <antmas> threw you a follow MichalKleiner ;)
1297: [21:29:16] <Pyromanik> WARBAM
1298: [21:29:22] <Pyromanik> WHAMBAR
1299: [21:31:44] * Colin[pi] quit ()
1300: [21:31:46] * catcher quit (Quit: Leaving)
1301: [21:32:06] * Colin[pi] has joined #silverstripe
1302: [21:33:09] <antmas> Colin[pi]: o/ \o o\ o/
1303: [21:33:11] <antmas> HAI
1304: [21:33:13] <antmas> HELLO
1305: [21:33:32] <Colin[pi]> antmas: http://i.imgur.com/nCZoEXs.gif
1306: [21:33:34] <Pyromanik> itt: antmas does the ymca in ascii
1307: [21:33:47] <antmas> XD
1308: [21:33:53] <antmas> gets me errrr time
1309: [21:34:05] <mobiusnz> does anyone use http://addons.silverstripe.org/add-ons/andrewhoule/silverstripe-photogallery ?
1310: [21:34:05] <Pyromanik> It's Korean MichalKleiner :>
1311: [21:34:26] <Pyromanik> and yeah, I guessed it's my client (or probably more relevantly my OS+client combo)
1312: [21:34:34] <antmas> Colin[pi]: https://gfycat.com/WaterloggedInbornCock
1313: [21:41:06] <ss-helper> Re: Set a default date on page load - http://www.silverstripe.org/community/forums/general-questions/show/101394#post400851
1314: [21:42:19] <Colin[pi]> antmas: lololol
1315: [21:42:24] <Pyromanik> antmas, seems not safe for work :>
1316: [21:42:44] <antmas> meh not really
1317: [21:42:49] <antmas> alllllmost :P
1318: [21:42:54] <Pyromanik> Inborn Cock?
1319: [21:42:56] <Pyromanik> xD
1320: [21:43:03] <Pyromanik> but yeh, picture a bit lolz
1321: [21:44:22] <antmas> yeah gifycat adds some interesting names to gif converts
1322: [21:47:14] * Stomach quit (Quit: zzz)
1323: [21:48:37] <Colin[pi]> oh hey, Netflix officially launched... pity AU internet is so shit as to actually make decent use of it
1324: [21:50:45] <antmas> NZAU netflix is pretty weak
1325: [21:50:49] <antmas> there is like, nothing on there
1326: [21:51:12] <Colin[pi]> there's an ok selection on ours, and it's priced fairly.... but dat internet
1327: [21:51:20] <Colin[pi]> I'd probably only manage SD
1328: [21:51:59] <antmas> mm
1329: [21:51:59] <MichalKleiner> antmas: cheers
1330: [21:52:39] <antmas> I can ALMOST manage 4k if literally nothing else is using bandwidth and I let it buffer (US Netlfix)
1331: [21:52:43] <antmas> on ADLS
1332: [21:52:52] <antmas> ADSL*
1333: [21:53:15] <Colin[pi]> antmas that's like a recruiter spelling
1334: [21:53:16] <Colin[pi]> :P
1335: [21:53:18] <Colin[pi]> HMTL
1336: [21:53:22] <antmas> :P
1337: [21:53:30] <antmas> I just use popcorntime now
1338: [21:53:41] <Colin[pi]> "must know how to program in HMTL"
1339: [21:53:46] <Colin[pi]> oh yeah popcorntime
1340: [21:53:53] * jedateach has joined #silverstripe
1341: [21:54:07] <Colin[pi]> I had forgotten about that
1342: [21:54:51] <mobiusnz> is popcorntime still a thing? I thought it got rolled
1343: [21:55:27] <Colin[pi]> mobiusnz: seems to be: https://popcorntime.io/
1344: [21:55:38] <mobiusnz> cool
1345: [21:55:42] <mobiusnz> will have to remember that
1346: [21:55:52] <mobiusnz> I'm mostly worried about tvtorrents.com being gone
1347: [21:55:57] <mobiusnz> where will I get my got?
1348: [21:56:05] <antmas> I've been tempted to get the source code and make my own version with custom trackers
1349: [21:56:08] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post400853
1350: [21:56:08] <ss-helper> Re: Add attribute data-custom to Dropdown - http://www.silverstripe.org/community/forums/general-questions/show/101400#post400852
1351: [21:56:49] <antmas> as in https://github.com/popcorn-official
1352: [21:58:19] <Colin[pi]> antmas: it doesn't allow you to add custom trackers?
1353: [21:58:44] <antmas> I don't think so, the settings are slightly janky so I haven't been able to find where
1354: [21:59:31] <Colin[pi]> mm maybe they want to make it as transparent as possible
1355: [21:59:51] <antmas> you can however, simply drag a torrent download straight onto the main screen and it will stream it
1356: [21:59:56] <antmas> awesome feature
1357: [22:00:37] * stan has joined #silverstripe
1358: [22:00:51] <Colin[pi]> the thing is, torrents come down in random chunks, right? so it must be forcing the download from the beginning yeah?
1359: [22:01:00] <antmas> did it last night, couldn't find a movie on there, found a torrent, draggd it to popcorn time and boom it started playing
1360: [22:01:00] * stan is now known as Guest98730
1361: [22:01:22] <antmas> it does actually download the file, but temporarily
1362: [22:01:25] <Pyromanik> Colin[pi], yes
1363: [22:01:30] <antmas> you can choose to save the actual movie if you like
1364: [22:01:56] <Colin[pi]> ah k
1365: [22:01:57] * Stomach has joined #silverstripe
1366: [22:02:08] <antmas> stores it in a temp location until you close the app, then it deletes it if you didn't opt to 'save' it
1367: [22:04:02] <antmas> they don't allow 720p or 1080p tv shows though, dat codec support
1368: [22:04:05] <antmas> kinda lame
1369: [22:04:14] <antmas> by default anyway
1370: [22:04:34] <Colin[pi]> antmas: does it play mkv?
1371: [22:04:39] * stecman_ quit (Quit: Leaving)
1372: [22:04:51] <antmas> never tried
1373: [22:05:13] <Guest98730> is it possible to add url_handlers to controller extensions ?
1374: [22:05:23] * Ryan-Toast has joined #silverstripe
1375: [22:05:26] <Guest98730> i want to add an ajax call to a controller extension, but url_handlers dont seem to work
1376: [22:05:33] <SphereSilver> Wut, Newsletter module has "http://website.com/unsubscribe/fackedvalidatehash/1" as unsubscribe link??!!
1377: [22:05:37] <SphereSilver> Dafuq?
1378: [22:06:16] <Colin[pi]> SphereSilver: yeah it does
1379: [22:06:17] <antmas> SphereSilver: huh?
1380: [22:06:28] <Colin[pi]> SphereSilver: but it's supposed to isn't it?
1381: [22:06:33] <SphereSilver> Errrrr, why?
1382: [22:06:42] <antmas> ...so you can unsubscribe?
1383: [22:06:43] <SphereSilver> That's not really subtle, nor functional, is it?
1384: [22:06:51] <SphereSilver> Nope, can't unsubscribe
1385: [22:07:12] <antmas> wat
1386: [22:08:29] * mahfuz has joined #silverstripe
1387: [22:09:01] <Guest98730> is it possible to route to an extension ?
1388: [22:09:14] <Guest98730> im guessing not
1389: [22:09:30] <MichalKleiner> extension to a controller is basically a controller so should be..
1390: [22:09:49] <Guest98730> but surely you'd be routing to the controller not the extension ?
1391: [22:10:31] <Guest98730> I have some code in an extension i want to be able to get from ajax, but i cant seem to be able to set up the call
1392: [22:10:32] <MichalKleiner> extension gives you extended functionality to something. dataobject, controller, page.. and the route is towards the thing that you are extending
1393: [22:10:50] <mobiusnz> has anyone used google map's new embed api?
1394: [22:10:52] <Guest98730> unless i set up a static controller, and route to that, then just use the controller in my extension as an arbitrary object
1395: [22:10:53] <SphereSilver> Guest98730: It should be possible, but you have to route to the controller, which has the extension
1396: [22:11:05] <SphereSilver> That way, the extension becomes "one" with the controller
1397: [22:11:10] <ss-helper> Re: Delete All Records - http://www.silverstripe.org/community/forums/general-questions/show/101351#post400854
1398: [22:26:12] <ss-helper> Re: How do I configure the datagrid of a Dataobject? - http://www.silverstripe.org/community/forums/customising-the-cms/show/101395#post400855
1399: [22:27:00] <ss-helper> Re: Compare two values - http://www.silverstripe.org/community/forums/template-questions/show/101379#post400856
1400: [22:27:52] <Pyromanik> fuck yeah Gypsi Kings https://www.youtube.com/watch?v=3l436MSlivQ
1401: [22:28:29] * Hailwood quit (Remote host closed the connection)
1402: [22:28:57] <Pyromanik> Guest98730, I think you have a fundamental misunderstanding with Extension if you're confused like that
1403: [22:29:20] <Pyromanik> like SphereSilver said, it _is_ the controller, as such.
1404: [22:29:36] <Pyromanik> As if you're adding new methods to an object like in javascript.
1405: [22:29:43] <Pyromanik> dynamically
1406: [22:30:10] <Pyromanik> mobiusnz, you might like to check out nontgor's new map module
1407: [22:30:55] <Pyromanik> well, perhaps I mean new extensions to mappable by uncle cheese https://github.com/gordonbanderson/Mappable
1408: [22:31:20] <Pyromanik> anyway, time for me to do something relaxy for a change.
1409: [22:31:21] <Pyromanik> ciao
1410: [22:31:23] * Pyromanik quit (Quit: Leaving)
1411: [22:34:18] <Colin[pi]> bye Pyrom.. oh
1412: [22:39:32] * willr has joined #silverstripe
1413: [22:40:32] <antmas> willr: o/
1414: [22:41:15] <willr> Howdey!
1415: [22:42:09] <Guest98730> is it possible to route directly to a method, rather than with url_handlers ?
1416: [22:42:19] <Stomach> you know, github issues aren't the best place to get a point across are they
1417: [22:42:19] <Stomach> :(
1418: [22:42:31] * DimiStripe quit (Quit: DimiStripe)
1419: [22:42:34] <Guest98730> so say 'ajax-call' => 'Page_Controller@AjaxMethod'
1420: [22:43:25] <Colin[pi]> Stomach: where issues go to die
1421: [22:44:02] <Stomach> and this is in the 3.1 branch
1422: [22:44:11] <Stomach> so theres no way that they will take it out and fix it
1423: [22:44:13] <Stomach> fucking hell
1424: [22:44:14] <Stomach> makes me so mad
1425: [22:44:32] <Stomach> security patches which break API should be new version releases
1426: [22:44:47] * Ryan-Toast quit (Quit: Ryan-Toast)
1427: [22:46:06] <willr> Stomach which issue. And we can’t leave 3.1.x-dev unpatched
1428: [22:46:35] <Stomach> https://github.com/silverstripe/silverstripe-cms/commit/3df41e1176385215f15fffb04fcba033a5151fb4#commitcomment-10377136
1429: [22:46:41] <willr> We discussed on the core contributors list in depth about it and decision was made to be secure by default.
1430: [22:47:17] <Stomach> its just this one seems so unnecessary and could have been handled without breaking BC
1431: [22:47:42] <Stomach> i mean, not the security fix being unnecessary, but the BC breaking change
1432: [22:48:12] <willr> Had pretty much all the core team contribute to that patch and that was the bare minimum could come up with
1433: [22:49:06] * travis-ci has joined #silverstripe
1434: [22:49:07] <travis-ci> tractorcow/sapphire#68 (pulls/3.1/fix-auth-login - 8d6cd15 : Damian Mooyman): The build has errored.
1435: [22:49:08] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/2af48738c9d9^...8d6cd1529f60
1436: [22:49:08] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/55722680
1437: [22:49:08] * travis-ci has left #silverstripe
1438: [22:49:14] <willr> Guest98730, convention is to simply point to the acontroller and ajaxmethod will match function name
1439: [22:49:59] * wmk has joined #silverstripe
1440: [22:50:26] <Stomach> willr I guess I'm just angry about the way which the permissions are now set and it making no sense at all
1441: [22:51:10] <Stomach> but maybe its just semantics
1442: [22:53:58] * adrexia quit (Ping timeout: 265 seconds)
1443: [22:53:58] <willr> Yeah if it was anything else it’ll have been a PR with open discussion but that was skipped
1444: [22:54:08] * wmk quit (Ping timeout: 244 seconds)
1445: [22:54:38] <MichalKleiner> but that can follow now right? It was patched so it's secure and now it can be discussed how to improve it
1446: [22:55:04] <Stomach> yes but any changes to that are now breaking
1447: [22:55:09] <Stomach> so won't be in until version 4.0
1448: [22:55:13] <Stomach> :\
1449: [22:55:19] <antmas> wat?
1450: [22:55:20] <antmas> really?
1451: [22:55:36] <Stomach> yeah, changing the default_requirements or whatever is an API change
1452: [22:55:51] <mahfuz> antmas: Sorry for yesterday's message about Black Caps, mixing them up with All Blacks. I have moved to New Zealand 2 years 4 months back, yet to familiarise with the sports vocabulary. Any way it was an amazing game to watch from the field. The Black Caps made it to the final with an excellent team effort. Congrats to them and good luck to them for the final.
1453: [22:55:51] <Stomach> so if its semver it wont go in until 4.0
1454: [22:56:18] <antmas> mahfuz: haha no need to apologise, was just a bit funny to read :D
1455: [22:56:33] <MichalKleiner> is fixing BC a bad BC again?
1456: [22:56:37] * Jared_ has joined #silverstripe
1457: [22:57:00] * Jared_ is now known as Guest16022
1458: [22:57:06] <Stomach> MichalKleiner - if you're gonna follow semver then you should follow it correctly
1459: [22:57:16] <Stomach> any time that anything slips through ruins the entire point
1460: [22:57:44] * Guest16022 quit (Client Quit)
1461: [22:57:59] <UncleCheese> why is my absolutely position element, right: -1000px expanding the width of its parent container by 1000px?
1462: [22:58:15] <UncleCheese> i thought that was like, the opposite of absolute positioning
1463: [22:58:31] <MichalKleiner> I understand that.. but even a security fix shouldn't be breaking it.. I'm not core educated enough to judge here but I see your point
1464: [22:58:53] <Stomach> MichalKleiner - thats what willr is saying
1465: [22:59:02] <Stomach> that they are willing to break semver to be secure by default
1466: [22:59:09] <Stomach> which blows my brain
1467: [22:59:14] <Stomach> but I understand it
1468: [22:59:29] <Stomach> UncleCheese - depends on which element its relevant to
1469: [22:59:32] <willr> Stomach the argument was that 3.1 isn’t semvar yet. We’ve committed to that from 3.2
1470: [22:59:33] <UncleCheese> ok?
1471: [22:59:56] <MichalKleiner> willr I was told that even 3.1.10 or what is semver'd
1472: [22:59:58] <Stomach> willr - okay so from 3.2 a security patch with an API change will be a new release?
1473: [23:00:11] <willr> Correct
1474: [23:00:14] <MichalKleiner> can find it in logs..
1475: [23:00:27] <Stomach> can you ask the core committers to release 3.2 immediately then to clear up all this brainsplosions that are happening to my head
1476: [23:00:43] <Stomach> very confusing place is the SS github right now
1477: [23:01:46] <willr> Well 3.2 should be out in the next couple of months. A lot of the api work has moved to 3
1478: [23:01:54] <willr> so will be smaller than planned
1479: [23:02:39] <Stomach> where are the plans stored
1480: [23:02:44] <Stomach> maybe I just need to see the plan
1481: [23:02:48] <Stomach> and I'll be okay
1482: [23:03:28] * Guest98730 quit (Ping timeout: 246 seconds)
1483: [23:03:31] <MichalKleiner> also 3.2 can go out and be increased by minor changes as how new features are added? or is it major rework so even v4 should be considered? will be good to see a roadmap, agree
1484: [23:04:15] <willr> should all be on uservoice if everyones following the rules
1485: [23:05:10] <Stomach> yeah but how do you tell whats going into 3.2 or 4.0 from that
1486: [23:05:23] <Stomach> i.e. it sounds like you have a definite overview of where things are releasing
1487: [23:05:26] <willr> Should be tagged with a version no?
1488: [23:05:50] <willr> So anything in 3 branch is 3.2, master is 4.0 and will have quite a few things
1489: [23:05:56] * adrexia has joined #silverstripe
1490: [23:06:02] <willr> so potentially 3 streams to support for a while
1491: [23:06:29] <willr> 3.2 should come up pretty darn quick though and simple for people to get up to there
1492: [23:06:30] <Stomach> but you can't see that from uservoice - so you have to jump between uservoice and github to check if there is a feature and where its going?
1493: [23:06:48] <Stomach> yeah I don't see any issues upgrading to 3.2 so far from following along github commits
1494: [23:06:51] <willr> I thought uservoice had a targeted version date
1495: [23:07:26] <Colin[pi]> Stomach: this is the prob with using a number of disparate 3rd party tools for a single project imho
1496: [23:07:27] <Stomach> not that I can see?
1497: [23:07:42] <antmas> agreed Colin[pi]
1498: [23:07:43] <Colin[pi]> i.e. shit all over the place and not linking up together
1499: [23:07:51] <Colin[pi]> makes for a bad time
1500: [23:08:04] <Stomach> I can filter by "Hot", "New", "Top" or "started, planning, declined" and other useless things
1501: [23:08:15] <Stomach> Colin[pi] - its a really bad time lol
1502: [23:08:37] <antmas> yeah it should filter by version
1503: [23:08:41] <willr> Have a buzz to Cam and he’ll be your advocate. I’m not a fan of uservoice. I’d voted for github issues being king and queen and keeping all in 1 place but people hate GH
1504: [23:09:08] <Colin[pi]> Stomach: so what we need to do, right, is combine github and uservoice, and release our own product, with blackjack and hookers as well
1505: [23:09:24] * antmas likes Colin[pi] 's thinking
1506: [23:09:31] <Colin[pi]> in fact, forget the blackjack
1507: [23:09:41] <antmas> just hookers
1508: [23:09:42] <Stomach> wheres the blow!
1509: [23:09:46] <Stomach> you guys forgot the blow
1510: [23:09:47] <Stomach> :(
1511: [23:09:51] * Colin[pi] smacks forehead
1512: [23:09:53] <Colin[pi]> forgot the blow
1513: [23:09:58] <antmas> the hookers come with blow
1514: [23:10:07] <antmas> they are one in the same
1515: [23:10:11] <Stomach> willr - yeah I'll have a rant to him when he is back from Japan
1516: [23:10:11] <Colin[pi]> you see? this is why antmas is the go to guy
1517: [23:10:23] * antmas asks the important questions
1518: [23:10:37] * willr quit (Quit: willr)
1519: [23:10:40] <antmas> "why is there no burgerfuel in Nelson"
1520: [23:10:50] <Stomach> awww I made willr run away :(
1521: [23:10:58] <antmas> " is it Aluminium or Aluminum?"
1522: [23:10:59] <Stomach> now there is just UncleCheese to ask questions of
1523: [23:11:24] <antmas> Stomach: spronk2 is here if you'd like know more about subsites
1524: [23:11:25] <Colin[pi]> I would lol so hard if UC quit right now
1525: [23:11:37] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
1526: [23:11:40] <Colin[pi]> LOL!!!!
1527: [23:11:42] <antmas> LOL
1528: [23:11:48] <Stomach> oh spronk2 I see that subsites has been taken over by UncleCheese
1529: [23:11:53] <Stomach> :(
1530: [23:11:53] * spronk2 has left #silverstripe
1531: [23:11:57] <antmas> hahaha
1532: [23:11:58] * spronk2 has joined #silverstripe
1533: [23:12:04] <spronk2> :D
1534: [23:12:04] <antmas> WHO WILL SAVE US
1535: [23:12:09] * Stomach is now known as WhyDoYouAllHateM
1536: [23:12:13] <WhyDoYouAllHateM> :(
1537: [23:12:31] <Colin[pi]> I have no problem with "<"
1538: [23:12:34] <Colin[pi]> "M"
1539: [23:12:34] <antmas> not even Ryan is here
1540: [23:12:39] <Colin[pi]> it's a fine letter
1541: [23:13:04] <Colin[pi]> he's not either!
1542: [23:13:08] <antmas> ss-helper: can you help?
1543: [23:13:16] <antmas> IT'S IN YOUR NAME
1544: [23:13:18] <antmas> to help
1545: [23:13:21] <Colin[pi]> if it quits now I'm gonna lose it
1546: [23:13:29] * WhyDoYouAllHateM is now known as Stomach
1547: [23:14:38] * ss-log has joined #silverstripe
1548: [23:14:39] <antmas> lol
1549: [23:14:42] <antmas> the log is out
1550: [23:14:44] <antmas> oh
1551: [23:14:46] <Colin[pi]> LOL what
1552: [23:14:46] <antmas> nvm
1553: [23:15:08] <Colin[pi]> everyone be like... abandon channel
1554: [23:15:29] * antmas takes control
1555: [23:15:38] <antmas> AMA about Sharepoint
1556: [23:16:00] * antmas quit (Quit: Page closed)
1557: [23:16:25] <Colin[pi]> rofl
1558: [23:20:31] * Ryan-Toast has joined #silverstripe
1559: [23:22:50] * Ryan-Toast quit (Client Quit)
1560: [23:23:18] <Stomach> WTF
1561: [23:23:27] <Stomach> is
1562: [23:23:27] <Stomach> going
1563: [23:23:28] <Stomach> on
1564: [23:24:11] * Ryan-Toast has joined #silverstripe
1565: [23:28:26] * Sticks has joined #silverstripe
1566: [23:33:55] * cupcake quit (Ping timeout: 246 seconds)
1567: [23:34:35] <MichalKleiner> everyone leaving
1568: [23:34:38] <MichalKleiner> lunchtime?
1569: [23:34:39] <MichalKleiner> :-D
1570: [23:34:47] <MichalKleiner> I'm going to bank and for lunch too
1571: [23:41:21] <ss-helper> Re: Delete All Records - http://www.silverstripe.org/community/forums/general-questions/show/101351#post400857
1572: [23:47:43] * Azure quit (Quit: Blue Sky Fish)
1573: [23:48:37] * Azure has joined #silverstripe

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