#silverstripe IRC Log

IRC log for 9 October 2013

All timestamps are in UTC.

1: [00:04:11] * Shrike_Finland quit (Ping timeout: 260 seconds)
2: [00:06:03] <atmos> you can upload video to flickr right?
3: [00:06:47] <Colin[pi]> atmos: yep
4: [00:06:48] <Pyromanik> http://www.stuff.co.nz/world/americas/9261298/Scared-husband-fakes-his-kidnapping
5: [00:06:50] <Pyromanik> hahahah
6: [00:06:53] <Pyromanik> brilliant
7: [00:06:58] <Colin[pi]> atmos: http://www.flickr.com/explore/video/
8: [00:08:00] <Pyromanik> wholey shit
9: [00:08:03] <Pyromanik> emergency elephants
10: [00:08:09] <Pyromanik> what a fantastic idea
11: [00:08:40] <spronk> wtf
12: [00:10:32] <atmos> Colin[pi]: nice
13: [00:11:27] <atmos> Pyromanik: epic
14: [00:13:24] * wilr_ quit (Quit: wilr_)
15: [00:17:33] * Shrike_Finland has joined #silverstripe
16: [00:20:41] * UncleCheese quit (Quit: UncleCheese)
17: [00:20:54] <Pyromanik> fuck me the chick in the irrelephant t-shirt is ridiculously hot.
18: [00:21:06] <atmos> is anyone watching Sleepy Hollow tv series?
19: [00:21:40] <atmos> heh simon_w http://www.stuff.co.nz/business/industries/9261904/TradeMe-glitch-sends-site-offline
20: [00:21:44] * UncleCheese has joined #silverstripe
21: [00:21:58] <Pyromanik> http://www.snorgtees.com/anything-unrelated-elephants
22: [00:22:14] <Pyromanik> atmos: yeh, I am
23: [00:22:17] <spronk> the fuck are you looking at
24: [00:22:35] <atmos> Pyromanik: any good>
25: [00:22:36] <atmos> ?
26: [00:22:44] <Pyromanik> yeh, not bad.
27: [00:23:11] <Pyromanik> typical baddy of the week style tv show, but is enjoyable enough.
28: [00:23:27] <atmos> cool - adult?
29: [00:23:36] <atmos> like BB level adult?
30: [00:23:56] <Pyromanik> "Hurry I've got auctions," one user tweeted.
31: [00:24:01] <Pyromanik> wow, really? fuck.
32: [00:24:09] <Pyromanik> how the hell is this news.
33: [00:24:12] <Pyromanik> why did I click a stuff link :<
34: [00:24:20] <Pyromanik> atmos: define: BB
35: [00:24:36] <atmos> breaking bad
36: [00:24:36] <Pyromanik> oh, no.
37: [00:24:50] <Pyromanik> breaking bad is an entirely different type of show.
38: [00:24:55] <Pyromanik> It's more like... Castle.
39: [00:25:00] <atmos> of course
40: [00:25:22] <atmos> but yeah, I meant is it as 'adult' - but yeah if it's like Castle then I could probably get on board
41: [00:25:34] <Pyromanik> spronk: first bird in the lineup of pics.
42: [00:25:39] <Pyromanik> hawt
43: [00:26:26] <Pyromanik> atmos: it has humerous elements, but is of course magic/fantasy type show rather than realistic type.
44: [00:26:44] <Pyromanik> has an underlying plot, but focuses on baddies of the week each ep.
45: [00:26:48] <Pyromanik> like mentalist
46: [00:26:50] <Pyromanik> etc
47: [00:26:53] <atmos> Pyromanik: cool, as long as the 'monsters' are well done, I'm down
48: [00:28:29] <Pyromanik> it's got elements of horror
49: [00:29:07] * bambii7 has joined #silverstripe
50: [00:29:08] <Pyromanik> it ain't no shitty misunderstood tickle monster running around giving overbearing love hugs
51: [00:29:55] <spronk> oo
52: [00:31:04] * super-ru has joined #silverstripe
53: [00:31:24] <bambii7> came into the chat at the wrong point obviously "misunderstood tickle monster"
54: [00:31:31] <bambii7> sounds awesome
55: [00:31:51] <ss23> lol
56: [00:31:53] <Pyromanik> bambii7: The sheriff's department are out to kill it
57: [00:31:55] <ss23> Sounds somewhat like pedobear
58: [00:32:00] <Pyromanik> It just wants to be loved
59: [00:32:12] <Pyromanik> it's not it's fault its hugs crush humans.
60: [00:32:17] <Pyromanik> TO DEATH
61: [00:32:39] * Jayden90 has joined #silverstripe
62: [00:32:40] <ss23> lol
63: [00:32:42] <Pyromanik> wholey shit I should make TV shows
64: [00:32:57] <ss23> rofl Pyromanik
65: [00:32:59] <Pyromanik> there'd be this secret board of shadowey figures out to try and control it
66: [00:33:01] <ss23> I loaded http://www.snorgtees.com/anything-unrelated-elephants and the guy showed up first
67: [00:33:05] <ss23> I was like "wtf man... he's not that hot"
68: [00:33:13] <Pyromanik> ss23: yeh, but the bird that follows right...
69: [00:33:14] <atmos> ss23: lol
70: [00:33:23] <ss23> dude
71: [00:33:24] <Pyromanik> (as opposed to the others further down the list)
72: [00:33:25] <ss23> the first chick isn't hot
73: [00:33:28] <ss23> the 2nd one is okay
74: [00:33:29] <Pyromanik> LIES
75: [00:33:33] <Pyromanik> same chick -.-
76: [00:33:33] <bambii7> lol i've been trying to read the logs for some context
77: [00:33:35] <ss23> :/
78: [00:33:36] <ss23> She's OLD
79: [00:33:41] <Pyromanik> I'd hit it
80: [00:33:50] <ss23> I wouldn't
81: [00:33:52] <ss23> you old man, Pyromanik
82: [00:33:53] <Pyromanik> ss23: sssshhhhhhhh whippershnapper
83: [00:33:55] <ss23> idk
84: [00:33:59] <Jayden90> Guys how many agencies in melbourne do you think dev with silverstripe
85: [00:34:00] <ss23> the third one isn't bad either
86: [00:34:03] <ss23> (the one in the pink)
87: [00:34:06] <Pyromanik> Jayden90: a few
88: [00:34:31] <ss23> Pyromanik: but still, 2nd chick >>>>>>>>>>>>>> first chick
89: [00:34:33] <Jayden90> How would you find out? Google is not particularly helpfull
90: [00:34:33] <bambii7> I know of 4 agencies in Melbs
91: [00:34:45] <bambii7> besides the SS office that use Silverstripe
92: [00:34:49] <Jayden90> I know we are one lol
93: [00:34:49] <Pyromanik> ss23: you sicko.
94: [00:34:54] * wilr_ has joined #silverstripe
95: [00:35:26] <ss23> XD
96: [00:35:28] <Jayden90> bambii7: Is silversripe their main platform?
97: [00:36:21] <bambii7> @Jayden90 Blissmedia apparently use only silverstripe
98: [00:37:09] <bambii7> & BJMDesign where I'm working now primarily use it, but also some Ruby
99: [00:37:22] * swordsmanz is now known as Ogrammanazi
100: [00:37:27] <bambii7> Salsadigital just started to use it but haven't done any projects in it yet
101: [00:37:59] * Ogrammanazi is now known as swordsmanz
102: [00:38:07] <bambii7> And can't remember the last agency, but they just use SS & the ASP framework which I also can't remember
103: [00:38:44] <Jayden90> It would be cool to get a list up somewhere
104: [00:38:48] <Pyromanik> designcity.com.au is in melb or radilade?
105: [00:39:02] <simon_w> Perth?
106: [00:39:06] <Jayden90> we use it for everything not ecom here at Digital360
107: [00:39:56] <bambii7> One Agency. One Solution. One CMS?
108: [00:39:57] <ss23> Jayden90: © Copyright 2013 Zoho CRM http://www.digital360.co.nz/ :O
109: [00:39:58] <ss23> Is that you?!
110: [00:40:03] <simon_w> Pyromanik, yeah, Perth
111: [00:40:12] <Jayden90> na digital360.com.au
112: [00:40:20] <ss23> lol
113: [00:40:22] <ss23> Very similiar..
114: [00:41:01] <bambii7> Nice site digital360
115: [00:41:03] <Pyromanik> o yes. $jointPictureExpertsGroupImageTypeFilenameExtensions = array('jpeg','jpg');
116: [00:41:20] <ss23> Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 523800 bytes) in /home/admin/public_html/framework/core/Object.php on line 406
117: [00:41:24] <ss23> lol... what?
118: [00:41:29] <atmos> wait, those aren't the same company?
119: [00:41:31] <ss23> Jayden90: Sorry if I just broke your server
120: [00:41:32] <ss23> ;_;
121: [00:41:53] <Jayden90> ss23: REALY?
122: [00:41:54] <ss23> wtf
123: [00:41:57] <Jayden90> just worked for me
124: [00:41:57] <ss23> how did i even get that error
125: [00:42:04] <ss23> Yeah, Jayden90, looks fine :P
126: [00:42:09] <ss23> idk how I hit a memory limit.. hmmm
127: [00:42:10] <simon_w> ss23, you ran out of rams :p
128: [00:42:18] <ss23> simon_w: It's not my server
129: [00:42:20] <ss23> :S
130: [00:42:25] <Jayden90> we being dossed lol
131: [00:42:32] <ss23> Jayden90: really? ;_;
132: [00:42:36] <ss23> I did some flush=1 stuff
133: [00:42:45] <ss23> Not fast, just like 3 requests with like 5 seconds gap, as I was testing stuff
134: [00:42:51] <Jayden90> idk, taking a look now
135: [00:43:32] <Jayden90> ss23: yea, it is an ooold build I have had a much better one (same looking) that has been waiting to be deployed for 6months
136: [00:43:39] <Jayden90> it was my first SS attempt
137: [00:43:59] * ss23 waits
138: [00:44:32] <ss23> Hmm
139: [00:44:39] <ss23> Not sure if there's a logic bug somewhere or what
140: [00:46:27] <Jayden90> Its slow as balls because of all the heavy assets (new version has slides ajaxed in, performance improvements)
141: [00:46:37] <ss23> wtf
142: [00:46:38] <Jayden90> cant get the error though
143: [00:46:38] * swordsmanz quit (Ping timeout: 240 seconds)
144: [00:46:40] <ss23> I think I...
145: [00:46:42] <ss23> Found a bug
146: [00:46:46] <ss23> simon_w: Can I PM you?
147: [00:46:48] <Jayden90> yea?
148: [00:46:54] <ss23> Jayden90: Not in your site :P
149: [00:46:55] <ss23> Well
150: [00:46:59] <ss23> It'll be in there too
151: [00:47:02] <Jayden90> jayden.seric@digital360.com.au
152: [00:47:04] <bambii7> Oh I remember why I came here in the first place, anyone have ideas about why my GridFields don't show the first row if only one entry....
153: [00:47:06] <simon_w> ss23, I suppose
154: [00:47:09] <ss23> Jayden90: I'll get it fixed official
155: [00:47:10] <ss23> simon_w: ty :D
156: [00:50:17] <ss23> simon_w: Did you get my PM? :O
157: [00:50:59] <ss23> ;_;
158: [00:53:09] <ss23> Yay
159: [00:53:14] <ss23> ss23 finds another security bug
160: [00:53:14] <ss23> :D
161: [00:53:26] <Colin[pi]> \o/
162: [00:53:28] <simon_w> DDoS isn't security :p
163: [00:53:34] <ss23> lol
164: [00:53:42] <ss23> simon_w: as soon as they did the first fix, this because security!
165: [00:53:45] <ss23> It's auth bpyass!
166: [00:53:50] <ss23> Technically
167: [00:53:50] <ss23> :D
168: [00:54:22] <atmos> \o\
169: [00:54:32] <atmos> securitay!
170: [00:54:42] * simon_w bypasses auth all the time!
171: [00:54:48] <simon_w> Woo, root!
172: [00:55:01] <ss23> XD
173: [00:57:35] <Pyromanik> chmod -R 777 /
174: [00:57:39] * UncleCheese quit (Quit: UncleCheese)
175: [00:57:43] <Pyromanik> eh wilr_
176: [00:59:50] <ss23> lol
177: [01:00:30] <Pyromanik> $this->tmpFile['name']
178: [01:00:35] <Pyromanik> returns actual filename :<
179: [01:00:39] <Pyromanik> idek
180: [01:00:45] <Pyromanik> it worked before, now it 'mares
181: [01:01:18] <Pyromanik> urgh
182: [01:01:23] <Pyromanik> tmp_name, derp
183: [01:01:34] <Pyromanik> that's what you get for copy & paste assumptions.
184: [01:02:12] <atmos> Pyromanik: Programming!
185: [01:02:20] <Pyromanik> Motherfucker!
186: [01:02:38] <Pyromanik> http://programming-motherfucker.com/
187: [01:02:42] * UncleCheese has joined #silverstripe
188: [01:02:53] <atmos> XD
189: [01:06:19] * Jayden90 quit (Quit: Jayden90)
190: [01:07:36] <Colin[pi]> anyone done validation of suburbs/postcodes in ss before? or ajax loading of the same?
191: [01:07:58] * unsignedint has joined #silverstripe
192: [01:08:02] * wilr_ quit (Quit: wilr_)
193: [01:09:08] <unsignedint> hey does anyone know how to *retrieve* a SS_Datetime field as a SS_Datetime object? I have a class with eg 'static $db = array('ActionDate' => 'SS_Datetime')' and it saves fine, but when I call $this->ActionDate it returns a string instead of an SS_Datetime
194: [01:09:13] <unsignedint> silverstripe 2.4 by the way
195: [01:09:22] <Colin[pi]> ->dbObject('ActionDate')
196: [01:09:23] <unsignedint> (id love to upgrade this site to 3.1 but not possible atm)
197: [01:10:15] <unsignedint> Colin[pi]: cheers, that worked perfectly
198: [01:10:35] <Colin[pi]> yay I was helpful *blush*
199: [01:10:41] * unsignedint wonders why you dont get the proper types by default
200: [01:11:27] <Colin[pi]> the default is to return something template suitable, I think
201: [01:13:23] <Pyromanik> unsignedint: ... oh what Colin[pi] said.
202: [01:13:40] <Pyromanik> unsignedint: because that'd be shit to work with
203: [01:14:08] <Pyromanik> Templates cast on the fly, but you don't want to be semearing ->getValue() all over the show in your php
204: [01:15:21] * wilr_ has joined #silverstripe
205: [01:18:43] <ss23> Anyone got a live 3.1/3.0 site I can test some stuff on?
206: [01:19:05] <ss23> (Latest version, pls)
207: [01:19:16] <EasyCo> How do I keep the tempting system from changing my &amp; to &
208: [01:19:18] <Colin[pi]> ss23! do you have the link to that patch that fixes teh // double slash on flush issue??
209: [01:19:25] <ss23> Colin[pi]: Nope, sorry :<
210: [01:19:28] <Colin[pi]> gah
211: [01:19:30] <Colin[pi]> I lost it :(
212: [01:19:34] <Colin[pi]> I will look in mah historyh
213: [01:19:44] <ss23> Trying to figure out the exact conditions required to reproduce this bug
214: [01:19:48] <EasyCo> return '&amp;'; gives me & in the template
215: [01:19:51] <ss23> Looks like none of the live CWP sites are affected...
216: [01:20:05] <ss23> EasyCo: That's probably not the templating system?
217: [01:20:12] <ss23> EasyCo: That's just how brswers work?
218: [01:20:19] <EasyCo> Nope
219: [01:20:25] <ss23> weird then
220: [01:20:27] <ss23> Sounds like a bug!
221: [01:20:34] <EasyCo> If I return &amp; I should get &amp; in my source
222: [01:20:38] <EasyCo> Not &
223: [01:20:44] <ss23> EasyCo: Agree'd
224: [01:20:49] <ss23> So no new live 3.0 or 3.1 sites?
225: [01:20:52] <ss23> New as in latest version
226: [01:20:53] <ss23> :
227: [01:20:55] <ss23> :<
228: [01:21:23] <atmos> ss23: do you still have access to our dev site?
229: [01:21:32] <ss23> atmos: Not easily! That's over VPN! :<
230: [01:22:34] <atmos> ss23: hmmm bugger
231: [01:22:34] <atmos> I forgot
232: [01:24:18] * IRXperson has joined #silverstripe
233: [01:24:22] <EasyCo> Can you somehow keep keep the SS from passing your returned string through forTemplate()?
234: [01:24:47] <IRXperson> Hey all, does anyone know if SilverStripe 2.4 or SilverStripe 3 is ATAG 2.0 compliant?
235: [01:25:00] <ss23> What's ATAG 2.0?
236: [01:25:33] <atmos> authoring or something I think?
237: [01:25:42] <IRXperson> ATAG 2.0 is WCAG for a CMS
238: [01:26:06] <IRXperson> allowing people with disability to use SilverStripe
239: [01:26:19] <IRXperson> http://www.w3.org/TR/ATAG20/
240: [01:26:20] <atmos> good question
241: [01:26:27] <atmos> I've wondered this
242: [01:26:50] <ss23> Doubtful, IRXperson
243: [01:27:27] <atmos> sometimes, I FEEL like a disabled person using SS
244: [01:27:33] <atmos> if that helps
245: [01:27:38] <IRXperson> hmm... hahahaha atmos
246: [01:27:56] <IRXperson> it will interesting to know for 100% sure
247: [01:28:22] <ss23> I'll check with some of the accesibility people here, but really, I doubt it meets any accesibility guidelines
248: [01:28:31] <ss23> CMS accessibility seems less cared about than front end stuff
249: [01:28:48] * nickmolhoek quit (Quit: nickmolhoek)
250: [01:29:15] <ss23> Pretty sure the copious amounts of Javascript used make it not passing
251: [01:29:17] <IRXperson> Thank you ss23
252: [01:30:22] <atmos> so much JS that it probably CAUSES users to become more disabled - like ANTI-ATAG
253: [01:30:34] <atmos> I should be a salesman
254: [01:31:06] * BPower has joined #silverstripe
255: [01:32:28] <Pyromanik> File is not a valid upload
256: [01:32:29] <Pyromanik> fffff
257: [01:33:32] <BPower> Pyromanik: you forgot an f. ...and a "#" :-P
258: [01:34:56] <BPower> Anyone know of a solid menu extension for building site menus separately from the SiteTree tiers? I found http://addons.silverstripe.org/add-ons/heyday/silverstripe-menumanager and http://addons.silverstripe.org/add-ons/i-lateral/silverstripe-custommenus but they don't seem to allow multi-tiered menus.
259: [01:35:23] <ss23> IRXperson: No one responded, guessing it's not :P
260: [01:35:47] <BPower> Oh, and WOO!! 3.1.x stable!! :)
261: [01:35:52] <guzzlefry> ugh
262: [01:35:55] <guzzlefry> composer docs suck :P
263: [01:36:02] <ss23> s/composer //
264: [01:36:14] <guzzlefry> How do I install a newly added dependency?
265: [01:36:26] <guzzlefry> without trying to install others, since I don't know if that will break production website. :P
266: [01:36:50] <BPower> guzzlefry: Just a guess: composer require name/name version
267: [01:36:53] <Pyromanik> BPower: naw, too bright.
268: [01:37:08] <BPower> Pyromanik: glad you got it.
269: [01:37:12] <irogue> < spronk> longtips: irogue has some nice quick code to do this
270: [01:37:15] <irogue> ohai
271: [01:37:25] <guzzlefry> oh, found it
272: [01:38:27] <EasyCo> if anybody is wondering why if you do something like: return '&amp;'; and you get & in your template. It's because by default all values are escaped as XML. So if you want to get around it, you need to cast your string as say HTMLText then you can apply .ATT on it to keep it from escaping.
273: [01:38:32] <bambii7> anyone experienced "unexpected token u" when using the GridFieldSortableRows?
274: [01:38:48] <simon_w> EasyCo, or, .RAW
275: [01:39:00] <EasyCo> Sure, or .RAW
276: [01:39:03] <spronk> ohai
277: [01:39:32] <irogue> longtips: http://sspaste.com/paste/show/5254b23e14d1f
278: [01:39:39] * aznain has joined #silverstripe
279: [01:39:39] <BPower> guzzlefry: care to share?
280: [01:39:40] <irogue> thats basically all there is to it
281: [01:39:44] <irogue> (thats in my _config.php)
282: [01:40:23] <guzzlefry> composer update vendor/package
283: [01:40:33] <BPower> guzzlefry: ah. makes sense.
284: [01:40:34] <Pyromanik> oic, error #2
285: [01:40:43] <guzzlefry> now, I'm wondering why composer isn't on this server. :P
286: [01:40:46] <Pyromanik> Value: 2; The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.
287: [01:40:49] <Pyromanik> bs!
288: [01:40:55] <Pyromanik> idek
289: [01:41:17] <BPower> So, no one here uses a Menu extension allowing them to decouple their Menu from SiteTree?
290: [01:41:18] <Pyromanik> oh, I know... you.. windows.
291: [01:41:31] <Pyromanik> "filesize 190Kb - SIZE ON DISK 208KB"
292: [01:41:39] <Pyromanik> fffff
293: [01:41:42] <BPower> #f
294: [01:42:12] <Stomach> BPower
295: [01:42:22] <Stomach> I use the silverstripe-menumanager from heyday all the time
296: [01:42:31] <Stomach> having worked there and all
297: [01:42:37] <aznain> SS3: How to hide a particular field in getCMSFields() method ? I have created fields using insertBefore and insertAfter ... but now for time being, I have to hide 1-2 fields ... How can I hide those fields temporarily ?
298: [01:44:16] <BPower> aznain: $fields->removeFieldsFromTab('Root.Settings',array('ClassName','ParentType','ParentID'));
299: [01:44:33] <BPower> aznain: OR: $fields->removeByName('Main');
300: [01:44:42] <Pyromanik> Stomach: you're not at heyday anymore?
301: [01:44:59] <BPower> Stomach: Thanks - that extension only allows one tier, right?
302: [01:45:11] <aznain> Hi BPower: thanks let me try that
303: [01:45:14] <Stomach> Pyromanik - nope
304: [01:45:40] <Stomach> BPower - yeah its only for one tier. I've built extensions for it a few times for megamenus etc
305: [01:45:51] <BPower> Stomach: I tried to install it but composer is failing with "heyday/silverstripe-menumanager 2.0.2 requires ajshort/silverstripe-gridfieldextensions dev-master -> no matching package found"
306: [01:46:17] <BPower> If I can get it to work, I'm happy building out the multi-tier functionality and contributing back to it
307: [01:46:43] <Stomach> oh that must be on a local composer server
308: [01:46:47] <Stomach> silly ajshort
309: [01:47:34] <Stomach> hmm nope its on packagist
310: [01:47:36] <Stomach> :S
311: [01:48:02] <Stomach> just add this to your composer
312: [01:48:02] <Stomach> "ajshort/silverstripe-gridfieldextensions": "dev-master",
313: [01:48:58] <BPower> really odd, because I can install gridfieldextensions by itself on a new init'd composer.json.
314: [01:49:03] <BPower> i'll try that
315: [01:49:22] <Stomach> yeah I have it installed on a project here and it seems to be working fine
316: [01:49:31] <Stomach> might have just been a transport error or something funtimes like that
317: [01:53:19] * Peavers quit ()
318: [01:57:30] * zagoodwin has joined #silverstripe
319: [01:58:13] <zagoodwin> Hey, do any of you know what could be causing the error "Action 'Security' isn't available on class Security."
320: [01:58:32] <Pyromanik> zagoodwin: we told you yesterday, no <% base_tag %>
321: [01:59:28] <zagoodwin> ohh cheers man, must have slipped my eyes
322: [01:59:45] <Pyromanik> :)
323: [02:05:31] <zagoodwin> Hey this probably sounds stupid, Im only on my second silverstripe build, where do i need <% base_tag %>? im getting that error when i try to login
324: [02:05:55] <unsignedint> zagoodwin: in your <head> section
325: [02:05:58] <Stomach> in the page head
326: [02:06:21] <unsignedint> zagoodwin: check out the default theme for examples
327: [02:06:44] <zippy__> inside the <head> section
328: [02:06:51] <zippy__> before the body
329: [02:06:52] * wilr_ quit (Quit: wilr_)
330: [02:06:55] <zippy__> but after the opening html
331: [02:09:23] * aznain quit (Quit: Page closed)
332: [02:11:02] <BPower> Stomach: I got it working. Must be a composer bug.
333: [02:11:18] <Stomach> thats pretty odd
334: [02:11:22] <BPower> I added it to my json as you suggested
335: [02:11:34] <Stomach> especially since dev-master is the only version thats available on that package
336: [02:11:55] <BPower> Other than that bug, I'm fairly happy with Composer (this is my first dive into it).
337: [02:12:23] <Stomach> yeah I love it :D
338: [02:12:32] <BPower> There are a few quirks that I don't like (e.g. "dev-master" should not be an allowable version), but nothing too major.
339: [02:12:54] <Stomach> yeah thats more down to the people providing the packages not using correct versioning
340: [02:13:07] <Stomach> or any versioning in some cases ;)
341: [02:13:14] <BPower> Which is pretty much all of SS modules, it seems.
342: [02:13:32] <Stomach> yep
343: [02:13:57] <Stomach> SS really shouldn't allow them to be added to their addons section if they dont have a tagged release
344: [02:15:13] <Colin[pi]> note to self, don't ask an API again to dump all suburbs and postcodes in Australia
345: [02:15:36] <atmos> Colin[pi]: lol colin
346: [02:15:42] <Colin[pi]> my firefox has died lol
347: [02:16:04] <Colin[pi]> ah restrict my postcode, that's better lo
348: [02:16:18] <atmos> haha I did that on my 2nd day of work with a dump of all rates invoices for the region
349: [02:16:41] <Colin[pi]> 16 bazillion records?
350: [02:16:52] <atmos> somewhere around there yeah
351: [02:17:10] <atmos> the 'stop' button took 6.7 minutes to trigger heh
352: [02:17:20] <Colin[pi]> lol same for what I just did
353: [02:17:24] <unsignedint> Colin[pi]: whos API is that?
354: [02:17:27] <Colin[pi]> stop STAHP damn you
355: [02:17:32] <Colin[pi]> Fastway Couriers
356: [02:17:37] <unsignedint> ahahaha! I wrote that!
357: [02:17:42] <Colin[pi]> wtf seriously?
358: [02:17:47] <unsignedint> and I knew someone would do that eventually!
359: [02:17:48] <unsignedint> yep
360: [02:17:50] <Colin[pi]> LOL
361: [02:17:55] <Colin[pi]> that's hilarious
362: [02:18:17] <Colin[pi]> I'm just testing.. but I thought hmmm what happens if I don't put a search keyword?
363: [02:18:28] <Colin[pi]> 500 KAZILLION ZILLION SUBURBS
364: [02:18:51] <unsignedint> yep you get everything. The postcode data is also notoriously bad (unless they've improved it since I stopped working there but I doubt it)
365: [02:19:01] <atmos> I bet the names all would have looked like a circus/kids book
366: [02:19:39] <atmos> 'Boogliwok', 'Walala', 'Copatawatata Beach' etc
367: [02:19:46] <Colin[pi]> unsignedint: ack don't say that, I'm integrating their API into an ss-shop site
368: [02:20:07] <unsignedint> Colin[pi]: I mean its amazing and you should definitely use it :)
369: [02:20:32] <Colin[pi]> lol
370: [02:20:33] <Stomach> is ss-shop any good
371: [02:20:37] <Stomach> ?
372: [02:20:41] <Colin[pi]> Stomach: it's like 80% ok
373: [02:20:53] <Colin[pi]> but I had to fix a CRAP load of stuff to get it working
374: [02:20:59] <Stomach> ive been looking at using swipestripe now its open
375: [02:21:04] <Colin[pi]> unless it's some weird combination of files on my site
376: [02:21:09] <Stomach> i used ecommerce once and it ruined my life
377: [02:21:11] <atmos> Stomach: open?
378: [02:21:18] <Stomach> open source*
379: [02:21:22] <atmos> really?
380: [02:21:22] <Colin[pi]> swipestripe changed their licence
381: [02:21:23] <atmos> hmmmm
382: [02:21:29] <unsignedint> Colin[pi]: swipestripe is nice :) its source is available on github but I cant figure out if Frank made it opens ource yet or not
383: [02:21:38] <Stomach> yeah he did
384: [02:21:38] <atmos> when you say open source, do you mean free too?
385: [02:21:40] <atmos> :D
386: [02:21:45] <Stomach> like 4 weeks ago
387: [02:21:47] <unsignedint> yeah, free software*
388: [02:21:53] <Stomach> he works for ss auckland now too
389: [02:21:58] <Colin[pi]> yeah right after I started my ss-shop project lol
390: [02:21:59] <Stomach> what a player.
391: [02:22:01] <simon_w> It's BSD license now
392: [02:22:06] <atmos> ah ok
393: [02:22:08] <unsignedint> Stomach: ah bugger, I purchased 2 licenses last week haha
394: [02:22:12] <Colin[pi]> lol
395: [02:22:13] <atmos> I dunno - Shopify
396: [02:22:16] <atmos> .
397: [02:23:02] <Stomach> any of you going to the wellington meetup tonight?
398: [02:23:12] <atmos> I used Swipestripe a while back - it was nice
399: [02:23:24] <atmos> + good/quick support
400: [02:24:19] <unsignedint> Colin[pi]: I used ss-shop and immediately regretted it. I didnt like the client so I kept them on it, but Swipestripe is a gazillion times nicer
401: [02:24:28] <Colin[pi]> :C
402: [02:24:31] <Colin[pi]> next time :)
403: [02:24:34] <Stomach> LOL
404: [02:25:47] <Colin[pi]> ss-shop is functional, and saved me a head of time if I had started from scratch, but um, yeah, a lot of stuff broken
405: [02:25:58] <unsignedint> yeah especially around payments I found
406: [02:26:04] <Colin[pi]> well
407: [02:26:10] <Colin[pi]> I had to switch to the stepped checkout
408: [02:26:11] <Stomach> yeah its like silvercart
409: [02:26:18] <Colin[pi]> to support the Fastway shipping
410: [02:26:18] <Stomach> it works, but its fucking slow and hard to use
411: [02:26:20] <Colin[pi]> but
412: [02:26:28] <unsignedint> I ended up hacking various parts of it into varying states and now have an awful, un-maintainable mess
413: [02:26:29] <Colin[pi]> the stepped checkout doesn't support the CC fields in the checkout
414: [02:27:37] <unsignedint> well the great thing about open source is, you get to fix that! :O
415: [02:27:41] <unsignedint> err, *:P
416: [02:27:52] <EasyCo> Epic: http://the-dimka.livejournal.com/6645.html
417: [02:28:21] <Colin[pi]> yeah I need to support eWAY, and the eWAY payment module doesn't support shared payments on the eWAY site... so I had to write a new payment class yesty, sigh
418: [02:29:03] <unsignedint> EasyCo: that guy must have been on some serious drugs
419: [02:29:31] <unsignedint> Colin[pi]: One thing I did like about it was the user account section, that seemed to work ok
420: [02:29:48] <Colin[pi]> it's something \o/
421: [02:29:55] <EasyCo> unsignedint: Haha yep. It's pretty amazing really. I'm tempted to get a copy.
422: [02:32:13] <unsignedint> do it
423: [02:33:08] <Stomach> decode it :D
424: [02:33:24] <EasyCo> There's already decodex
425: [02:33:50] <EasyCo> http://www.ebay.com.au/itm/CODEX-SERAPHINIANUS-2006-Edition-w-DECODEX-HARD-COVER-RARE-SEALED-Serafini-Italy-/161122587154?pt=Antiquarian_Collectible&hash=item2583a79212&_uhb=1
426: [02:35:52] <unsignedint> nice
427: [02:36:10] * unsignedint wishes silverstripe was namespaced and leveraged IoC like laravel
428: [02:37:16] <unsignedint> it would make confusing and hacky stuff like the whole DataExtension system completely unnecessary
429: [02:38:14] <EasyCo> IoC?
430: [02:38:39] <unsignedint> inversion of control/dependency injection/a container for resolving interfaces to instances/whatever you want to call it
431: [02:39:10] <unsignedint> instead of using Object::extend() you'd simply tell the container to use your instance instead of the one it was going to use
432: [02:39:31] <EasyCo> Interesting, I'd never heard of larval either
433: [02:39:38] <EasyCo> *laravel
434: [02:39:52] <unsignedint> its just another framework but it has some nice concepts
435: [02:39:57] <EasyCo> http://laravel.com/docs/ioc :)
436: [02:40:01] <unsignedint> yep :)
437: [02:40:19] <unsignedint> i use it for all my non-cms websites, its quite handy
438: [02:40:30] * EasyCo has left #silverstripe
439: [02:40:35] * EasyCo has joined #silverstripe
440: [02:44:34] <IRXperson> any luck in finding out if SilverStripe 2.4 or SilverStripe 3.0 is ATAG compliant?
441: [02:45:40] <Pyromanik> unsignedint: it is.
442: [02:45:43] <Pyromanik> does.
443: [02:46:10] <Pyromanik> IRXperson: doubtful.
444: [02:46:39] <Pyromanik> IRXperson: is there no service you can run it through to determine that?
445: [02:48:13] <IRXperson> not sure, there is checklist that SilverStripe can go through to check if it is ATAG compliant
446: [02:49:03] <simon_w> Got a link to it? I can probably tell you if it's compat or not
447: [02:49:16] <Pyromanik> unsignedint: l2injector
448: [02:49:35] <Pyromanik> simon_w: what happened to all that namespacing you and sminnee were up to a while back?
449: [02:49:48] <Pyromanik> got scrapped?
450: [02:49:57] <simon_w> Pyromanik, way too hard to get the BC layer working
451: [02:50:06] <unsignedint> Pyromanik: whats that? googling it returns random russian sites
452: [02:50:08] <Pyromanik> like I said at the time, fk bc :<
453: [02:50:13] <Pyromanik> unsignedint: IoC
454: [02:50:42] <sminnee> Pyromanik: lol.
455: [02:50:43] <simon_w> unsignedint, http://docs.silverstripe.org/framework/en/reference/injector
456: [02:50:55] <Pyromanik> unsignedint: that's what BlahClass::create() is all about.
457: [02:51:14] <sminnee> Saying "fuck BC" you may as well say "fuck current SilverStripe users"
458: [02:51:14] <Pyromanik> sminnee: well, to be fair 3.1 broke it anyway...
459: [02:51:28] <sminnee> Pyromanik: not as much as it would have otherwise… :-/
460: [02:51:35] <Pyromanik> public/private all the things
461: [02:51:45] <Pyromanik> yeah, but in the name of progress!
462: [02:51:45] <sminnee> yeah… :|
463: [02:52:00] <sminnee> i think we need an auto-upgrade system for those kind of changes.
464: [02:52:06] <Pyromanik> it was a major version change
465: [02:52:07] <Pyromanik> and all taht
466: [02:52:10] <sminnee> so all the publics can be reliably rewritten
467: [02:52:19] <Pyromanik> reliable :<
468: [02:52:24] <Pyromanik> too many fringe cases :(
469: [02:52:26] <simon_w> Don't worry, there's going to be more annoying headaches with 3.2! (Assuming this particular patch gets landed)
470: [02:52:29] <unsignedint> silverstripes backwards compatibility has actually been pretty good, I also take the 'fuck anyone not using the latest version' approach but I appreciate it when other people dont :)
471: [02:52:30] <sminnee> yeah you'd need to use the PHP parser.
472: [02:52:54] <sminnee> unsignedint: the problem is that the more you damage BC, the more you have to support older versions
473: [02:52:59] <sminnee> because people won't upgrade.
474: [02:53:05] <Pyromanik> unsignedint: at a certian point you have to, or you end up being Internet Explorer.
475: [02:53:11] <sminnee> i'd like to live in a world where everyone is easily upgraded to the latest version
476: [02:53:13] <unsignedint> haha yeah
477: [02:53:20] <sminnee> and we push out new releases weekly and they auto-update
478: [02:53:38] <sminnee> and if we can't have that magical reality, well, i'd rather be closer to it than not
479: [02:53:40] <unsignedint> yep people are lazy and wont upgrade, so force them by not supporting old versions and making extensions only work with newer versions
480: [02:53:42] <Pyromanik> sminnee: people don't upgrade anyway, so it's like why not?
481: [02:53:57] <Pyromanik> I mean, I understand where you're coming from, and I'm not saying I disagree...
482: [02:54:16] <Pyromanik> I guess I just have a naturally harsh pragmatic view on some things.
483: [02:54:33] <unsignedint> I think breaking BC is fine as long as the breaks are noted and how to achieve the old functionality in the new version is documented
484: [02:54:43] <Pyromanik> eg, I'm not about to go upgrade all the 2.4 sites we have, so 3.1 issues with publics and privates don't really phase me much.
485: [02:54:52] <simon_w> unsignedint, no one reads upgrade documentation
486: [02:54:57] <unsignedint> simon_w: I did!
487: [02:55:02] <Pyromanik> because no one upgrades!
488: [02:55:16] <unsignedint> simon_w: in fact it was extremely helpful, so thanks for taking the time to make it
489: [02:55:21] <Pyromanik> that said, namespaces are there for spacing names.
490: [02:55:33] * SightUnseen has joined #silverstripe
491: [02:55:38] * SightUnseen has left #silverstripe
492: [02:55:40] <Pyromanik> the fact that SS resides in the \ space doesn't mean f-all when you can put every single thing you make in the \blah space
493: [02:55:56] <Stomach> was just gonna say that
494: [02:55:57] * simon_w is so not looking forward to offering support for code broken by https://github.com/silverstripe/silverstripe-framework/pull/2469
495: [02:56:04] <Pyromanik> or the fact that if 2 people make the same module and use 2 different namespaces then it's still all g
496: [02:56:21] <Pyromanik> I mean, you can still run into the issue where 2 people use the same name space coincidentally
497: [02:56:32] <unsignedint> simon_w: I didnt even know the old behaviour existed anyway :)
498: [02:57:06] <simon_w> unsignedint, is a fairly common pattern to do $this->HasOneID = $obj->write(); $this->write();
499: [02:57:08] <unsignedint> Pyromanik: but it reduces the chance, if you didnt have them at all then everyones going to use the global namespace and the likelihood of collisions is way higher
500: [02:57:22] <unsignedint> oh I see
501: [02:57:38] <Pyromanik> In reality it's no different to calling your classes ModuleNameMyClass extends blah
502: [02:58:09] <Pyromanik> unsignedint: they only use the global namespace if they're not aware of namespaces. There's nothing stoping any dev from using namespaces.
503: [02:58:16] <Pyromanik> like any/all modules on the heyday account.
504: [02:58:28] <unsignedint> yes I know that
505: [02:58:35] <irogue> are you trying to hax me, ss23?
506: [02:58:35] <sminnee> Pyromanik: you're saying upgrading already too harder, so let's make it harder. I wouldn't describe that as pragmatic :p
507: [02:58:37] <unsignedint> it'd just be nice to see the main CMS/framework namespaced
508: [02:58:42] <ss23> irogue: I did, hours ago
509: [02:58:45] <ss23> irogue: Succeded too
510: [02:58:45] <unsignedint> of course itd break everything
511: [02:58:46] <ss23> ;)
512: [02:58:54] <Pyromanik> sminnee: not saying it's too hard, just saying I'm not likely to do it.
513: [02:59:02] <Pyromanik> ie, not broken don't fix :P
514: [02:59:03] <sminnee> Pyromanik: that's a failure of SilverStripe.
515: [02:59:03] * IRXperson quit (Ping timeout: 250 seconds)
516: [02:59:06] <ss23> Oh crap CEO is here, I mean irogue NO NOT AT ALL I NEVER HACK
517: [02:59:19] <Stomach> Pyromanik - the only issue with that is that we put our SS code into the global namespace
518: [02:59:19] <irogue> ss23: lol
519: [02:59:24] <sminnee> ss23: nah, you're our "security expert"
520: [02:59:28] <sminnee> not hacker.
521: [02:59:29] <ss23> haha
522: [02:59:34] <Colin[pi]> lol love the quotes
523: [02:59:34] <Pyromanik> legit
524: [02:59:36] <Stomach> and just pull out the non SS loaded code into our own autoloaded space
525: [02:59:43] <Colin[pi]> dr evil "security expert"
526: [02:59:44] <simon_w> ss23 as a security expert. That's worrying :p
527: [03:00:00] <Pyromanik> he secures all the pies!
528: [03:00:04] <ss23> XD
529: [03:00:19] <ss23> Speaking of, the training for Kiwicon is being announceed today I'm told
530: [03:00:24] <ss23> So I expect all you little plebs to come to my class.
531: [03:00:30] <ss23> :D
532: [03:00:42] <simon_w> So we can sit at the back and heckle you?
533: [03:00:54] <ss23> haha
534: [03:01:00] <Pyromanik> I mean, not broke don't fix is not an ideal mentality anyway, as it leaves one open to security issues.
535: [03:01:03] <ss23> It's going to be in a bar, it wouldn't be complete without heckling!
536: [03:01:11] <Pyromanik> but at the end of the day most websites have a ~5 year lifespan anyway
537: [03:01:21] <Pyromanik> or they're not that complicated to upgrade
538: [03:01:22] <irogue> ss23: will UncleCheese be there eating?
539: [03:01:30] <ss23> hahahahaha
540: [03:01:31] <ss23> naw
541: [03:01:37] <simon_w> Come on HHVM, build already. I have an Executor to go start building!
542: [03:01:55] <Pyromanik> unless there's mass reliance, like simon_w has, so he's chosen a different tool anyway
543: [03:02:00] <atmos> anyone had any exp with Seamless?
544: [03:02:14] <Pyromanik> in any case he wasn't going to upgrade the framework anyway.
545: [03:02:29] * UncleCheese quit (Quit: UncleCheese)
546: [03:02:29] * BPower quit (Remote host closed the connection)
547: [03:02:30] <irogue> so i was doin' some python yesterday
548: [03:02:37] <Pyromanik> k
549: [03:02:42] <Pyromanik> hiss?
550: [03:02:43] <simon_w> Oh, sminnee, once https://github.com/facebook/hiphop-php/pull/1083 is landed SS will actually be able to bootstrap on HHVM, and only some of the code won't run
551: [03:02:53] <irogue> this website is awesome: http://www.php2python.com/wiki/function.substr/
552: [03:04:06] <sminnee> simon_w: will nested __get calls still break?
553: [03:04:11] <simon_w> sminnee, yeah
554: [03:04:15] <ss23> handy, irogue :D
555: [03:04:21] <ss23> irogue: And yeah, pythons slice syntax is <3 <3 <3
556: [03:04:26] <sminnee> simon_w: any clues as to how hard that would be to fix.
557: [03:06:24] <simon_w> sminnee, no idea. Haven't looked into it
558: [03:06:35] <irogue> ss23: yeah, it makes so much sense, since you can do $a[2] in php, idk why you can't do $a[2:5] or whatever
559: [03:06:45] <ss23> Because that's array syntax!
560: [03:07:19] <sminnee> simon_w: well, great work with that patch, look forward do seeing how it goes! ;)
561: [03:07:35] <Pyromanik> ss23: nope, no : in arrays
562: [03:07:39] <Pyromanik> it's =>
563: [03:09:02] <irogue> ss23: on a string, $a[2] will give you the character at position 2 (i.e. 3rd char)
564: [03:09:25] <irogue> so it's half-implemented, just can't do >1 char
565: [03:09:54] * bambii7 quit (Quit: Page closed)
566: [03:10:42] <simon_w> irogue, IIRC, the last time it was discussed the confusion between arrays and strings was brought up as a counter point
567: [03:11:42] <irogue> ah yep
568: [03:12:14] * zippy__ quit (Ping timeout: 264 seconds)
569: [03:12:30] <irogue> wonder if the same syntax does an array_slice equivalent if you do it on a list in python
570: [03:13:02] <irogue> http://www.php2python.com/wiki/function.array-slice/
571: [03:13:02] <irogue> yes
572: [03:13:03] <irogue> lol
573: [03:14:22] <ss23> 16:11:16 < irogue> ss23: on a string, $a[2] will give you the character at position 2 (i.e. 3rd char)
574: [03:14:25] <ss23> not always
575: [03:14:27] <ss23> multibyte, etc
576: [03:14:36] <ss23> Technically it gives you the third *byte*
577: [03:14:46] <simon_w> PHP doesn't have multibyte strings
578: [03:15:03] <ss23> It has strings of bytes
579: [03:15:18] <ss23> Anyway, you get what I mean
580: [03:16:29] <Pyromanik> mbstring
581: [03:16:32] <Pyromanik> whole different thing
582: [03:16:57] <Pyromanik> but yeh, probably shouldn't rely on it
583: [03:17:13] <Pyromanik> change the implmentation to get chars rather than bytes!~
584: [03:17:16] <simon_w> Just wait until PHP6! :p
585: [03:17:21] * Zauberfi1ch has joined #silverstripe
586: [03:17:46] <simon_w> Given the way a string is defined in PHP, a character is a byte. Always.
587: [03:17:57] <Colin[pi]> simon_w: yeah, due for release some time by 2053
588: [03:18:49] <irogue> i always find it strange when projects reuse really obscure, seemingly single-use licenses
589: [03:18:59] <irogue> this c++ threading library i'm looking at uses linpng license
590: [03:19:05] <irogue> *libpng
591: [03:19:32] <simon_w> Yay, it linked!
592: [03:19:52] <simon_w> Take that, you third party library that's throwing warnings all the time
593: [03:20:00] * irogue shudders
594: [03:20:17] <DryerLintPurple> are there any actual plans for PHP 6 right now? most of what was originally going to be PHP 6 is basically what became 5.3.
595: [03:20:25] <simon_w> Nope
596: [03:20:48] <simon_w> PHP 6 is just this thing that got picked up by blogs that had no idea what they were talking about
597: [03:22:36] * Zauberfisch quit (*.net *.split)
598: [03:23:49] <Pyromanik> simon_w: bloggers never have any idea what they're talking about.
599: [03:23:59] <Pyromanik> well, the type that post that kind of 'news' story.
600: [03:25:22] * simon_w removes a .trim() call and wonders how many imported tests end up breaking
601: [03:26:13] <simon_w> Hmm, pretty much all of them
602: [03:28:30] <Colin[pi]> average blogger: "i wwebsite as on the internet when you were a sperm in your daddy's balls"
603: [03:28:43] * UncleCheese has joined #silverstripe
604: [03:28:47] <Stomach> I saw a company advertising php6 websites last night
605: [03:28:55] <Stomach> i was very confused
606: [03:28:58] <Stomach> and then i loled
607: [03:29:11] <Colin[pi]> beat them at their game, advertise php7
608: [03:29:21] <Stomach> hph8!!
609: [03:29:40] <Stomach> hypertext preprocessor hypertext
610: [03:29:48] <Stomach> o_O
611: [03:32:08] <DryerLintPurple> Complex Hypertext User Technology Not Emergent Yet (CHUTNEY)
612: [03:32:24] <Colin[pi]> my favourite is when recruiters ask you "DO YOU KNOW HMTL AND PPH4?"
613: [03:32:47] <EasyCo> Colin[pi]: Yah but do you know about SCO?
614: [03:33:00] <EasyCo> Oh, you mean SEO?!
615: [03:33:06] <DryerLintPurple> that and when they don't know java vs javascript
616: [03:33:06] <EasyCo> Yah, SCO
617: [03:33:08] <Colin[pi]> THAT TOO!
618: [03:33:09] <UncleCheese> ss23: apparently i'll be there talking, so no time for noms
619: [03:34:29] <ss23> o.o
620: [03:34:33] <ss23> UncleCheese: At... Kiwicon?
621: [03:34:53] <UncleCheese> ooh, what's that?
622: [03:35:02] <UncleCheese> it sounds elite as
623: [03:35:18] <UncleCheese> do you all sit around and talk about how cold your houses are?
624: [03:35:21] <guzzlefry> I keep seeing SEO in job listings. >_>
625: [03:35:28] <ss23> hahaha UncleCheese
626: [03:35:31] <atmos> Kiwicon?
627: [03:35:32] <ss23> https://kiwicon.org/
628: [03:35:35] <ss23> @ UncleCheese
629: [03:35:37] <UncleCheese> are you like, "You know what we need is more cold rain and wind off of Antarctica"
630: [03:35:39] <ss23> NZ's only hacker conference!
631: [03:35:56] * cloph_away has joined #silverstripe
632: [03:36:42] * cloph quit (Ping timeout: 264 seconds)
633: [03:37:16] <atmos> admn, if it was 2 weeks later I could have got my flights+tickets paid for :(
634: [03:37:27] <atmos> damn*
635: [03:39:12] * atmos quit (Quit: Page closed)
636: [03:44:27] <irogue> UncleCheese: well, you did move to *wellington*
637: [03:44:45] <UncleCheese> under false pretenses
638: [03:44:56] <irogue> lol
639: [03:45:01] <UncleCheese> i was promised a South Pacific island
640: [03:45:10] <ss23> lol
641: [03:45:12] <irogue> did someone bs you and say "the wind in wellington isn't *that bad*"
642: [03:45:13] <ss23> Technically it is!
643: [03:45:14] <ss23> :3
644: [03:45:17] <ss23> hahaha irogue
645: [03:45:33] <UncleCheese> yes, technically
646: [03:45:45] <UncleCheese> maybe i'll just become a jafa
647: [03:46:32] <irogue> in that case i'll bs you and say "the traffic in auckland isn't *that bad*"
648: [03:47:54] * wilr_ has joined #silverstripe
649: [03:48:25] <ss23> Your stare was holding
650: [03:48:29] <ss23> WHERE YOU THINK YOU'RE GOING BABY?
651: [03:48:29] <ss23> HEY
652: [03:48:30] <ss23> I JUST MET YOU~
653: [03:48:38] <ss23> AND THIS IS CRAZY~ BUT HERE'S MY NUMBER, SO CALL ME MAYBE~
654: [03:48:44] <ss23> office speakers++
655: [03:49:39] * wilr_ quit (Client Quit)
656: [03:49:53] * BPower has joined #silverstripe
657: [03:50:07] <UncleCheese> ss23: what do you call the thing you push around in the grocery store?
658: [03:50:16] <BPower> Grocery cart.
659: [03:50:18] <Colin[pi]> trolley
660: [03:50:23] <UncleCheese> BPower: you're not a kiwi
661: [03:50:36] <UncleCheese> i need the kiwi word
662: [03:50:36] <ss23> trolley
663: [03:50:38] <Colin[pi]> trolley in AU, same in NZ?
664: [03:50:45] <BPower> Shopping cart
665: [03:50:46] <BPower> Cart
666: [03:50:51] <Colin[pi]> bzzt!
667: [03:50:52] <UncleCheese> i'm with BPower
668: [03:51:03] <UncleCheese> but even the US, it varies state to state
669: [03:51:04] <Colin[pi]> no one calls it a cart here, NO ONE GOOD SIR
670: [03:51:19] <UncleCheese> "buggy" is one i've heard quite a lot
671: [03:51:22] <BPower> Carriage, trundler, wagon, basket
672: [03:51:24] <Colin[pi]> rofl buggy
673: [03:51:47] <Colin[pi]> PUSHAMAJIG
674: [03:52:07] <BPower> http://en.wikipedia.org/wiki/Shopping_cart
675: [03:52:17] <BPower> Pushamajig ftw.
676: [03:52:26] <Colin[pi]> CHAZWOZZER
677: [03:52:32] <BPower> -_-
678: [03:53:06] <ss23> Be my teenage dream tonight`
679: [03:53:54] <ss23> SOMETHING SOMETHING SOMETHING TIGHT JEANS TEENAGE DREAM TONIGHT
680: [03:54:13] <BPower> -.^
681: [03:54:33] <BPower> I apparently came in at a very bad time?
682: [03:55:03] <ss23> lol
683: [03:55:04] <ss23> Or a good time?
684: [03:55:04] <ss23> :D
685: [03:55:18] <ss23> UncleCheese: Honestly, it hardly matters
686: [03:55:41] <UncleCheese> if i say shopping cart, do you know what i mean?
687: [03:55:48] <UncleCheese> or are you like omg wtf
688: [03:56:10] <Colin[pi]> I'm like omg you're american
689: [03:56:12] <Colin[pi]> ;)
690: [03:56:28] <UncleCheese> see that's precisely what i want to avoid
691: [03:56:34] <BPower> Shopping Trolley Bug?
692: [03:56:37] <Colin[pi]> then say "trolley"
693: [03:56:58] <UncleCheese> see y'all over there!
694: [04:02:37] * DigNZ quit (Quit: DigNZ)
695: [04:05:41] * wilr_ has joined #silverstripe
696: [04:07:22] * stecman quit (Quit: This computer has gone to sleep)
697: [04:08:21] * Pyromanik quit (Quit: leaving)
698: [04:08:39] * stecman has joined #silverstripe
699: [04:08:52] * UncleCheese quit (Quit: UncleCheese)
700: [04:08:57] * stecman quit (Client Quit)
701: [04:13:46] <zagoodwin> Hey for some reason when i'm trying to access an image im just getting "/assets/"
702: [04:17:33] * travis-ci has joined #silverstripe
703: [04:17:33] <travis-ci> [travis-ci] ajshort/sapphire#39 (pull-3 - a339687 : Andrew Short): The build passed.
704: [04:17:33] <travis-ci> [travis-ci] Change view : https://github.com/ajshort/sapphire/compare/0e7231ff60ef^...a3396874933f
705: [04:17:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/ajshort/sapphire/builds/12304514
706: [04:17:33] * travis-ci has left #silverstripe
707: [04:18:03] * wilr_ quit (Quit: wilr_)
708: [04:20:26] * wilr_ has joined #silverstripe
709: [04:27:36] * Stomach quit (Ping timeout: 268 seconds)
710: [04:27:52] * DigNZ has joined #silverstripe
711: [04:28:47] * DigNZ quit (Client Quit)
712: [04:29:28] * Bollig|DesignCty has joined #silverstripe
713: [04:32:28] * wilr_ quit (Quit: wilr_)
714: [04:36:09] <guzzlefry> Guys!
715: [04:36:22] <Colin[pi]> HAI2U
716: [04:37:19] <ss23> hai
717: [04:37:29] <ss23> zagoodwin: More information needed
718: [04:37:41] <guzzlefry> Can you filter by using anything other than equality?
719: [04:38:03] <guzzlefry> derp, nevermind
720: [04:38:20] <guzzlefry> It's under Search Filter Modifiers rather than Filter, in the docs. :P
721: [04:38:32] <ss23> lol
722: [04:38:37] <ss23> SilverStripe docs suck, fix 'em, guzzlefry :D
723: [04:38:40] <guzzlefry> but, it gets more complex!
724: [04:38:45] <guzzlefry> I need to...
725: [04:39:20] <guzzlefry> get all dataobjects where the first 4 letters (digits in this case) are 100 less than current year.
726: [04:39:32] * Shrike_Finland quit (Quit: Leaving.)
727: [04:39:58] <guzzlefry> I might be better off using raw sql, huh?
728: [04:40:53] <ss23> perhaps
729: [04:40:55] <ss23> Well
730: [04:40:57] <ss23> guzzlefry: ->addWhere
731: [04:40:58] <ss23> etc
732: [04:42:39] <guzzlefry> ah
733: [04:42:40] <guzzlefry> hrm
734: [04:43:05] <guzzlefry> Where's a good place to set a breakpoint for testing?
735: [04:43:12] <guzzlefry> Everything needs to be kind of initialized. :P
736: [04:43:13] <ss23> guzzlefry: Testing what? o.o
737: [04:43:31] <guzzlefry> calling random expressions to get stuff from the datamodel.
738: [04:44:00] <ss23> just die where you need it etc?
739: [04:44:21] <guzzlefry> no, actual breakpoints for a debugger.
740: [04:44:30] <ss23> *shrug*
741: [04:44:36] <ss23> 2hard4me
742: [04:48:46] * super-ru_ has joined #silverstripe
743: [04:50:07] * super-ru_ quit (Client Quit)
744: [04:51:48] * super-ru quit (Ping timeout: 240 seconds)
745: [04:53:38] <guzzlefry> I don't know what I'm doing!
746: [04:54:02] * EasyCo quit (Quit: EasyCo)
747: [04:54:30] <Colin[pi]> <guzzlefry> I don't know what I'm doing! -- said 95% of PHP programmers everywhere
748: [04:54:33] <Colin[pi]> ;)
749: [04:54:46] <guzzlefry> I forgot all of my SQL.
750: [04:55:36] <guzzlefry> oh ffs
751: [04:55:46] <guzzlefry> SQL strings are one-indexed.
752: [05:03:31] <guzzlefry> Select Title, SUBSTRING(`Year`, 1, 4) FROM CatalogItem WHERE CAST(SUBSTR(`Year`, 1, 4) as UNSIGNED) < (YEAR(NOW()) - 100);
753: [05:03:36] <guzzlefry> why god why
754: [05:03:52] <guzzlefry> oh wait, I know.
755: [05:03:59] <guzzlefry> because client keeps changing specs. :P
756: [05:05:31] <ss23> That doesn't look indexible, guzzlefry, so be careful
757: [05:05:42] * zagoodwin quit (Quit: Page closed)
758: [05:06:06] <guzzlefry> oh
759: [05:06:30] <guzzlefry> If this website was going to be sizeable in scope I'd be doing this a lot more thoroughly.
760: [05:06:36] <guzzlefry> It also wouldn't have a deadline of monday. :P
761: [05:09:28] <DesignerX> hi everyone, is the a built in method or a module to prevent including the same file again ? I have few modules that have some commen files so I need to make sure these files are only included once
762: [05:09:58] <Colin[pi]> include_once() ?
763: [05:11:14] <DesignerX> this is for like .js,.less,.css & other files .
764: [05:11:48] <Colin[pi]> ah, well Requirements is supposed to prevent dupes right?
765: [05:13:08] <DesignerX> Colin[pi]: as far as I know it doesnt, I will test again to check (I hope you are right )
766: [05:14:05] <Colin[pi]> Requirements uses an associative array based on file name iirc
767: [05:14:22] <Colin[pi]> so if you have multiple calls with the same file name, it should only pull it in once
768: [05:20:01] <DesignerX> Colin[pi]: :) that worked for CSs files, but I cant have a $var in the path name in the template
769: [05:20:54] <Colin[pi]> hmm prolly not no
770: [05:21:32] * Pyromanik__ has joined #silverstripe
771: [05:23:17] <DesignerX> another question regarding MVC + DataObjects in SS , shouldnt all "template & view" functions should be in the "controller" of my DatabObejct ? i'm not too sure how to create controller for Myclass extends DataObject .. any ideas ?
772: [05:24:01] <Pyromanik__> you don't, controllers are not models.
773: [05:24:38] <Colin[pi]> DesignerX: if I need a controller for a DataObject, I usually extend Page_Controller as it inherits all the init() stuff for the site
774: [05:27:42] <ss23> So...
775: [05:27:45] <ss23> This page won't print properly in IE
776: [05:27:53] <ss23> Who the fuck knew that IE was so bad it couldn't even do *printing* properly
777: [05:28:10] <DesignerX> ss23: everyone knew ? :D
778: [05:28:17] <ss23> I DIDN'T KNOW
779: [05:28:20] <Colin[pi]> ss23: IE fails at failing
780: [05:28:21] <ss23> I PROMISED TO HAVE THIS DONE TONIGHT
781: [05:28:23] <ss23> WHAT THE FUCK
782: [05:28:25] <ss23> >.<
783: [05:29:06] <Pyromanik__> haha print css kgo
784: [05:29:16] <ss23> I have it
785: [05:29:20] <ss23> but how the fuck am I meant to even test?
786: [05:29:20] <ss23> idk
787: [05:29:28] <ss23> I guess I'll remove the media=print and see if I can get it to render rightly
788: [05:30:19] <guzzlefry> ss23: Don't make promises!
789: [05:30:31] <guzzlefry> I'm slowly learning that.
790: [05:30:38] <ss23> I have no choice, it's like, an important client
791: [05:30:39] * ss23 coughs
792: [05:30:45] <guzzlefry> oh
793: [05:31:09] * Colin[pi] points and laughs at ss23
794: [05:31:12] <Colin[pi]> ;)
795: [05:31:37] <Colin[pi]> never make promises ESPECIALLY when IE is concerned
796: [05:31:39] <guzzlefry> ss23: Just put on a strong american redneck accent and tell them "yessir we'll git err dun!" so they never come back :P
797: [05:32:25] <Pyromanik__> 06:23 DesignerX another question regarding MVC + DataObjects in SS , shouldnt all "template & view" functions should be in the "controller" of my DatabObejct ? i'm not too sure how to create controller for Myclass extends DataObject .. any ideas ?
798: [05:32:31] <Pyromanik__> what Colin[pi] said.
799: [05:33:03] <DesignerX> Pyromanik__: so MyObject_Controller extends Page_Controller ? just to be sure
800: [05:33:57] <Pyromanik__> does YourObject extends Page ?
801: [05:34:06] <ss23> I didn't know it was IE
802: [05:34:11] <DesignerX> MyObject extends DataObject
803: [05:34:27] <Pyromanik__> ss23: you print preview, or print to pdf!
804: [05:34:32] <Pyromanik__> (a lot!)
805: [05:34:45] <ss23> I'm doing this!
806: [05:34:46] <ss23> FUCK
807: [05:35:03] <Pyromanik__> it only wants your soul, gosh
808: [05:35:21] <guzzlefry> I'm still confused on what to put in the Model vs. Controller.
809: [05:35:23] <Pyromanik__> DesignerX: why do you need a controller for it?
810: [05:35:48] <Pyromanik__> guzzlefry: anything pertaining to the record of that object goes in the dataobject.
811: [05:35:58] <guzzlefry> Pyromanik__: So filtering functions and such?
812: [05:36:02] <Colin[pi]> guzzlefry: Model holds data, Controller is responsible for responding to user input and manipulating the model based on it
813: [05:36:05] <Pyromanik__> things pertaining to loading and altering said object through page loads go in the controller.
814: [05:36:29] <DesignerX> Pyromanik__: I have a getMyObject() method on Page , so I need to do some template related checks & include some "Requirements" related to MyObject . shouldnt all this go into controller ?
815: [05:36:37] <Pyromanik__> guzzlefry: model does one thing. It stores data, and has getters and setters for it.
816: [05:37:11] <Pyromanik__> controller loads and does all sorts of things with it. One might say it... 'controls' it...
817: [05:37:23] <guzzlefry> okay, so a method that fetches DataObjects that were created more than 10 days ago would go on the Model?
818: [05:37:53] <Pyromanik__> DesignerX: why is your getter in the model?
819: [05:38:04] <Colin[pi]> guzzlefry: in SS conventions, that would go on the Controller
820: [05:38:11] <Pyromanik__> guzzlefry: depends on how you're getting it
821: [05:38:24] <guzzlefry> DataObject::get()->where() :P
822: [05:38:25] <Pyromanik__> guzzlefry: Colin[pi]: DesignerX: don't get too hung up on it all.
823: [05:38:34] <guzzlefry> okay
824: [05:38:39] <guzzlefry> mostly convention?
825: [05:38:42] <Pyromanik__> at the end of the day it's conceptual where you put stuff, so long as it's cleanly separated.
826: [05:38:49] <Colin[pi]> yes, MVC is one of those topics that has been debated since the dawn of time and no one ever gets right
827: [05:39:01] <Pyromanik__> don't go flunking functions for getting similar shit all over the show in 8 different controllers, etc.
828: [05:39:12] <Pyromanik__> You'll make a maintanability nightmare
829: [05:39:19] <Colin[pi]> as long as you aim to put stuff in a MOSTLY logical place, I think it's a good thing :)
830: [05:39:27] <Pyromanik__> the idea is to keep things _clean_
831: [05:39:30] <Colin[pi]> and aim for clean separation aye
832: [05:39:33] <Pyromanik__> separation of concearns.
833: [05:39:38] <Pyromanik__> mmm
834: [05:39:43] <Pyromanik__> viewer draws shit.
835: [05:39:50] <Pyromanik__> controller gets and sets data
836: [05:39:56] * BPower quit (Remote host closed the connection)
837: [05:39:59] <Pyromanik__> model represents that data
838: [05:40:03] <DesignerX> Pyromanik__: ok, so if MyObject has some CSS & JS requirements, where do I put the Requirements:: ?
839: [05:40:33] <Pyromanik__> DesignerX: sounds like your object isn't really a model object.
840: [05:40:44] <Pyromanik__> sounds more like a view.
841: [05:41:01] <Pyromanik__> if you can't stick the requirements in the view, I'd probably plonk them in the controller
842: [05:41:16] * Shrike_Finland has joined #silverstripe
843: [05:41:19] <Pyromanik__> unless I found myself plonking them in many controllers, then I might think about putting them on the view.
844: [05:41:22] <Pyromanik__> errr.... model.
845: [05:41:41] <Colin[pi]> Requirements are a bit all over the place in the SS core
846: [05:41:56] <Pyromanik__> yeah, but with reason.
847: [05:42:04] <Colin[pi]> i.e. if a Model object has a method which is called from the template, often the Requirements calls are in that method
848: [05:42:04] <Pyromanik__> they're one of those things.
849: [05:42:30] <Pyromanik__> if that method is responsible for doing view shit, yeh, maybe.
850: [05:42:33] <Colin[pi]> Requirements are added wherever they are... required
851: [05:42:54] <Pyromanik__> generally I put stuff in controllers. The controller you have is the controller you've got.
852: [05:43:02] <DesignerX> Colin[pi]: ty for your reply in the PM
853: [05:43:12] <Pyromanik__> if you need it to be in others, you could try pushing it up the (class) heirarchy
854: [05:43:13] <DesignerX> from my research : Model has the data , the Controller should have any template & view related settings then the "view" is the template
855: [05:43:28] <Pyromanik__> DesignerX: not strictly, no.
856: [05:43:31] <Pyromanik__> but near enough.
857: [05:43:42] <Pyromanik__> ss_viewer is the view. The template is just the template.
858: [05:43:54] <Pyromanik__> a part of the view.
859: [05:43:57] <Colin[pi]> yeah most MVC separation stuff aims to be "close enough", I find with web you can never get it 100% clean
860: [05:44:09] <Pyromanik__> I find web the cleanest tbh.
861: [05:44:23] <Colin[pi]> Pyromanik__: ever tried Smalltalk? now that's clean
862: [05:44:27] <Pyromanik__> because there's a definite C involved with everything thanks to stateless nature.
863: [05:44:31] <Colin[pi]> that's where it came from originally
864: [05:44:34] <Pyromanik__> Colin[pi]: yeh, but nah.
865: [05:45:03] <Pyromanik__> My toes are cold, I'm going to put socks on, cook food and watch a lot of TV shows.
866: [05:45:11] <Pyromanik__> then I'm giong to go "oh fuck" and do work.
867: [05:45:15] <Pyromanik__> UNTIL THEN
868: [05:45:17] * Pyromanik__ has left #silverstripe
869: [05:45:20] <Colin[pi]> Pyromanik__: web stuff always end up with the "but this record we need to show in red, so ima just stick some HTML into the model" crap - it shouldn't, but it does
870: [05:45:34] <DesignerX> Colin[pi]: lolz :)
871: [05:46:01] <Colin[pi]> SS they've tried to keep it pretty clean, but there are lots of classes that have HTML embedded in them
872: [05:47:08] <Colin[pi]> plus the lazy coder + time factor is another thing, "oh shit, I need this ready in 10 minutes, ima just stick this hack here where I know I shouldn't but fuck it I aint got time for doing it right"
873: [05:47:20] <Colin[pi]> and then it gets buried and forgotten about
874: [05:47:59] <DesignerX> Colin[pi]: thats wahy I wanna learn how to do it correctly so I can do it right when I have the time
875: [05:49:06] <Colin[pi]> DesignerX: a noble cause... best way I've found is to look through a lot of the SS source and core, to see how they do things... and other experienced developerit takes TIME though
876: [05:49:08] <DesignerX> I have a Gadgets Module that I have developed over the past few weeks, using only GridField & few of the GF addons . so Each gadget has CSS/JS requirements & want to be sure these are build the right way
877: [05:49:13] <Colin[pi]> *developers
878: [05:50:47] <Colin[pi]> the controller and forms stuff in SS is where I still get the most confused sometimes
879: [05:51:05] <Colin[pi]> view is fine, model is mostly fine.. but controller and forms I still feel like such a n00b
880: [05:51:24] <DesignerX> Colin[pi]: that makes 2 of us :)
881: [05:52:46] <DesignerX> is my Case, i'm doing Model->View (skipping the control?) , as I have a method that just gets the data & puts it in the template(view)
882: [05:53:25] <Colin[pi]> what, the view is pulling the data directly from the model?
883: [05:54:01] <Colin[pi]> that's what's supposed to happen, so that's fine
884: [05:54:37] <ss23> fuck IE
885: [05:54:38] * ss23 cries
886: [05:54:46] <ss23> I feel like I've gone the past 5 years of my life not dealing with IE
887: [05:54:50] <ss23> And it's all come crashing back today
888: [05:54:51] * ss23 sobs
889: [05:54:52] <ss23> why
890: [05:55:44] <DesignerX> Colin[pi]: I have a getMyObject() method on Page class, the methos just returns the object & puts it on the Template, doesnt this mean Model -> View as i'm not controlling the Model in any way ?
891: [05:56:30] <Colin[pi]> DesignerX: sounds like you've got it backwards, the View pulls data from the Model
892: [05:56:58] <Colin[pi]> i.e. $Placeholder in template calls function Placeholder() on model
893: [05:57:48] <DesignerX> ah ok
894: [05:59:12] <DesignerX> & if I was to add the "controll" to this then the $Placeholder will call Placeholder() on the "control" class then this method should do some changes to check on what data needs to be sent to the view?
895: [06:01:06] <Colin[pi]> yeah that's it
896: [06:01:19] <Colin[pi]> so the view could call Placeholder() from the model, or the controller
897: [06:02:21] <DesignerX> & in SS (not sure about other systems), if Placeholder() doesnt exist on the controller it will look for it on the Model ?
898: [06:03:54] <Colin[pi]> correct
899: [06:03:59] <Colin[pi]> well in SS anyway
900: [06:04:21] <Colin[pi]> first it looks in the controller, if it finds a method, it calls it, if not, it goes to the associated dataobject (or model)
901: [06:07:50] <DesignerX> that got alot of MVC questions answered :)
902: [06:17:53] <DryerLintPurple> ss23: is it the same in all IE versions? how far back do you have to support?
903: [06:17:57] * wmk quit (Ping timeout: 240 seconds)
904: [06:18:12] * wmk has joined #silverstripe
905: [06:20:43] * discorpia has joined #silverstripe
906: [06:26:33] * discorpi1 quit (Ping timeout: 240 seconds)
907: [06:28:53] * sam____ has joined #silverstripe
908: [06:29:10] <sam____> hi m not able to link externally from ss page
909: [06:29:17] <sam____> http://www.planmytournament.com/listingpage/show/20
910: [06:32:13] <DryerLintPurple> did you put http:// at the start of the link?
911: [06:33:19] <DryerLintPurple> (if not, try it)
912: [06:35:22] <sam____> if i put it works
913: [06:35:35] <sam____> but if we donot put, how can i lonk?
914: [06:36:58] * ss23 quit (Ping timeout: 240 seconds)
915: [06:37:39] <DryerLintPurple> the http:// at the start of the link is what indicates that the link is to an external website, and not a page on your site that just happens to start with 'www'. that's true of any page, not just with silverstripe.
916: [06:37:52] * ss23 has joined #silverstripe
917: [06:38:32] <sam____> is there anyway I can append http://?
918: [06:38:40] <sam____> in template page?
919: [06:40:42] <DryerLintPurple> it might be possible to, but you'd be a lot better off if you just put http:// in the original link. if it's a form that users enter data into, you could try pre-filling the form with http://, but then you'd probably end up with users entering something like http://http://www.site.com (double http://)
920: [06:41:08] <sam____> ok...
921: [06:41:11] <sam____> thnx
922: [06:50:01] * sam____ quit (Ping timeout: 250 seconds)
923: [06:50:43] <DryerLintPurple> always nice to know that I'm not the biggest n00b here. o_o;
924: [06:50:58] <ss23> DryerLintPurple: OUCH
925: [06:50:58] <ss23> :<
926: [06:51:03] <ss23> I don't wanna be noob, it just happenes!
927: [06:53:10] * zfmf1 has joined #silverstripe
928: [07:16:50] * spronk2 has joined #silverstripe
929: [07:55:26] * chillu has joined #silverstripe
930: [08:01:41] * kinglozzer has joined #silverstripe
931: [08:05:41] <Zauberfi1ch> ss23 haha, yeah, some people are just born this way
932: [08:12:26] * Colin[pi] quit (Ping timeout: 265 seconds)
933: [08:14:07] * Nightjar has joined #silverstripe
934: [08:22:51] <kinglozzer> Following up on my HTTPS issue yesterday - solved it. Loadbalancer was setting a $_SERVER['HTTP_X_FORWARDED_PROTO'] header that wasn't 'https' (like SilverStripe expects), so just had to manually set $_SERVER['SSL'] = true; in _config.php :)
935: [08:23:26] * osterlaus has joined #silverstripe
936: [08:24:21] * osterlaus has left #silverstripe
937: [08:25:50] * travis-ci has joined #silverstripe
938: [08:25:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1165 (3.1 - 156679f : Ingo Schommer): The build was broken.
939: [08:25:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f0ccdeb9fcb1...156679ff14f3
940: [08:25:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12309653
941: [08:25:50] * travis-ci has left #silverstripe
942: [08:32:36] * Colin[pi] has joined #silverstripe
943: [08:40:19] * wilr_ has joined #silverstripe
944: [08:42:00] * wilr_ quit (Client Quit)
945: [08:54:50] * travis-ci has joined #silverstripe
946: [08:54:51] <travis-ci> [travis-ci] chillu/silverstripe-framework#84 (pulls/lastvisited - ada77f1 : Ingo Schommer): The build has errored.
947: [08:54:51] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/commit/ada77f1933f3
948: [08:54:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12310684
949: [08:54:51] * travis-ci has left #silverstripe
950: [09:02:30] * micmania1 has joined #silverstripe
951: [09:04:45] * travis-ci has joined #silverstripe
952: [09:04:46] <travis-ci> [travis-ci] chillu/silverstripe-framework#85 (pulls/lastvisited - 285a4fd : Ingo Schommer): The build has errored.
953: [09:04:46] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/ada77f1933f3...285a4fd84435
954: [09:04:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12311003
955: [09:04:46] * travis-ci has left #silverstripe
956: [09:05:09] <chillu> simon_w: How was the ss meetup? :)
957: [09:05:24] <Nightjar> oh everyone met up?
958: [09:05:41] <Nightjar> ss23: did you meat up?
959: [09:05:53] <DryerLintPurple> *rimshot*
960: [09:06:19] <Nightjar> was there some awesome oration?
961: [09:07:43] * travis-ci has joined #silverstripe
962: [09:07:43] <travis-ci> [travis-ci] chillu/silverstripe-framework#86 (pulls/lastvisited - daff799 : Ingo Schommer): The build has errored.
963: [09:07:43] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/285a4fd84435...daff7994509e
964: [09:07:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/12311112
965: [09:07:43] * travis-ci has left #silverstripe
966: [09:10:49] * travis-ci has joined #silverstripe
967: [09:10:49] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#596 (3.1 - c3e25e9 : Ingo Schommer): The build passed.
968: [09:10:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/34a0fe3bf122...c3e25e9e0733
969: [09:10:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12310769
970: [09:10:49] * travis-ci has left #silverstripe
971: [09:12:32] * Sjohn has joined #silverstripe
972: [09:13:05] <Sjohn> Morning
973: [09:14:28] * guci0 has joined #silverstripe
974: [09:14:53] <guci0> Morning!
975: [09:15:29] <Nightjar> gidday
976: [09:18:53] * ocm has joined #silverstripe
977: [09:18:58] <ocm> howdy!
978: [09:19:03] * travis-ci has joined #silverstripe
979: [09:19:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1167 (3.1 - 55c6f35 : Ingo Schommer): The build was fixed.
980: [09:19:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/156679ff14f3...55c6f35e159f
981: [09:19:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12310790
982: [09:19:04] * travis-ci has left #silverstripe
983: [09:27:48] <ss23> Nightjar: naw
984: [09:27:52] <ss23> It was CWP tonight
985: [09:28:01] <ss23> chillu: simon_w didn't go to meetup either
986: [09:28:02] <Nightjar> ah
987: [09:31:26] <irogue> http://www2.warnerbros.com/spacejam/movie/jam.htm
988: [09:31:30] <irogue> forgotten websites are awesome
989: [09:32:08] <DesignerX> irogue: :)
990: [09:32:36] <Nightjar> rofl
991: [09:32:45] <Nightjar> how does one even find that shit?
992: [09:33:04] <Nightjar> Surely it's gone way down bugs's hole
993: [09:33:05] <Sjohn> pretty oldskool
994: [09:33:08] <DesignerX> Nightjar: un social media
995: [09:33:24] <Nightjar> background amazing
996: [09:33:24] <DesignerX> on *
997: [09:33:46] <DesignerX> lolz.. this reminds me of my 1st design made with power point
998: [09:33:58] <irogue> it's top google result for spacejam, lol
999: [09:34:03] <Nightjar> lol
1000: [09:34:08] <irogue> i'm guessing someone googled it and was like "wait, wtf"
1001: [09:34:15] <Nightjar> Guess os
1002: [09:34:17] <Nightjar> so*
1003: [09:39:10] <Nightjar> "Click on any of the photos to get a full-size, full-color, internet-quality still."
1004: [09:39:34] * travis-ci has joined #silverstripe
1005: [09:39:35] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#597 (master - f9315a5 : Ingo Schommer): The build passed.
1006: [09:39:35] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/16d8505bbb22...f9315a561dc9
1007: [09:39:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12311614
1008: [09:39:35] * travis-ci has left #silverstripe
1009: [09:39:37] <Nightjar> 360x216
1010: [09:39:42] <Nightjar> lol
1011: [09:46:24] <irogue> kekeke
1012: [09:46:36] <irogue> that was like almost fullscreen bro!
1013: [09:47:00] <Nightjar> not if you're rocking a glorious 800x600!
1014: [09:47:09] <irogue> whoa
1015: [09:47:31] <irogue> in 1996? what a rich guy!
1016: [09:47:39] <irogue> i didn't even get internets til 1998...
1017: [09:47:51] <Nightjar> neither
1018: [09:48:12] <Nightjar> as for first resolutions, can't say. Didn't know what that was back then.
1019: [09:48:12] <Colin[pi]> I remember when I went to 800x600, dat high definition
1020: [09:48:51] <Nightjar> But I remember finding out that my monitor would let me switch from 800x600 to 1024x768
1021: [09:49:05] <Nightjar> man I could hardly see the letters they were so small!
1022: [09:49:39] <Colin[pi]> remember hires on crt monitors? ugh
1023: [09:50:00] <Nightjar> Colin[pi]: you had LCD back then? far out irogue, talk about a rich guy.
1024: [09:50:25] <irogue> i think it was 1997 that we upgraded from the 486 DX2 66MHz to the Pentium 166MHz
1025: [09:50:26] <Colin[pi]> when? no i had my first lcd in mebbe... 2003?
1026: [09:50:35] <Colin[pi]> 2001? can't remember
1027: [09:50:38] <Nightjar> still pretty early Colin[pi]
1028: [09:50:50] <Nightjar> got mine in 2003, not many had them then.
1029: [09:50:56] <Colin[pi]> must have been 2003
1030: [09:51:08] * Nightjar rocked it until it fried
1031: [09:51:18] <irogue> i waited til there were LCDs with decent response times
1032: [09:51:24] <Nightjar> now I rock a later model of the same monitor.
1033: [09:51:40] * Nightjar devs in 1280x1024 glory
1034: [09:51:55] <Nightjar> 17 inches of heaven! (yes I say that to all the boys)
1035: [09:52:27] <Colin[pi]> i have that res on my right panel, left one is still 1680x1050
1036: [09:53:22] <irogue> Nightjar: sounds like a mouthful
1037: [09:53:37] <Colin[pi]> i would like a high pixel density panel, but windows will look shitty, right?
1038: [09:53:41] <Colin[pi]> or microscopic
1039: [09:54:09] <Nightjar> no
1040: [09:54:16] <Nightjar> well
1041: [09:54:22] <Nightjar> lol windows 8
1042: [09:54:40] <Nightjar> get a real OS
1043: [09:54:48] <Nightjar> one that put the O back into it.
1044: [09:54:57] <irogue> 2006
1045: [09:55:00] <irogue> is when i got my first LCD
1046: [09:55:03] <Colin[pi]> wait!!! http://www.theverge.com/2013/6/26/4465442/windows-8-1-will-finally-add-retina-display-support
1047: [09:55:21] <Nightjar> retina TM apple corp.
1048: [09:55:35] <Colin[pi]> yeah but that's what everyone calls them
1049: [09:55:41] <Nightjar> RETINA IS ON THE BACK OF YOUR EYE YOU DERPS
1050: [09:55:50] <Nightjar> gosh
1051: [09:56:04] <ocm> retinadisplay is just a fancy name
1052: [09:56:05] <ocm> nothing more
1053: [09:56:15] <Colin[pi]> yes it's just marketing
1054: [09:56:23] <Colin[pi]> of which apple is extremely good at
1055: [09:56:29] <ocm> though it has some kind of meaning, it has to do with pixel density
1056: [09:56:56] <Colin[pi]> I get tired of their bs... every time they release something... "THE BESTEST, FASTEST MOST AWESOME THING EVER. EVER."
1057: [09:57:07] <ocm> hahahaha
1058: [09:57:14] <Nightjar> and "we did it first, buy it from us, it's better"
1059: [09:57:22] <ocm> I hate everything that has anything to do with an apple
1060: [09:57:25] <ocm> except for the beatles
1061: [09:57:36] <Colin[pi]> like with safari... "WORLDS. FASTEST. BROWSER."
1062: [09:57:43] <Nightjar> when it's someone elses tech they just pinched and there are thousands of other products just as good, just not as main stream yet.
1063: [09:57:47] <Colin[pi]> with no evidence to back that up at all
1064: [09:57:51] <Nightjar> rofl
1065: [09:57:59] <Nightjar> slowest ever if you start it on windows.
1066: [09:58:03] <Colin[pi]> lol yep
1067: [09:58:08] <Nightjar> HOPE YOU GOT AN AFTERNOON SPARE, LOL
1068: [09:58:12] <ocm> uhm guys, something more serious here
1069: [09:58:18] <Nightjar> ok
1070: [09:58:19] <ocm> is it normal that if I use UploadField in a frontend form
1071: [09:58:28] <Nightjar> mm?
1072: [09:58:28] <ocm> that I can choose from existing files?
1073: [09:58:32] <Nightjar> yes
1074: [09:58:34] <ocm> or is it only if I am logged in in the cms aswell?
1075: [09:58:34] <Colin[pi]> ocm: I think so
1076: [09:58:42] <Nightjar> disable it
1077: [09:58:51] <Nightjar> there's a config setting or a method or sometihng to disallow
1078: [09:59:14] <ocm> ah I see
1079: [09:59:19] <ocm> that was for the serious part of the day
1080: [09:59:23] <ocm> lets get back to them apples
1081: [09:59:29] <Nightjar> no oranges.
1082: [09:59:45] <ocm> orangjes
1083: [09:59:47] <ocm> oranges
1084: [09:59:53] <ocm> we call them also "apples from orange"
1085: [10:00:21] <Nightjar> just get a banana in ya.
1086: [10:00:28] <ocm> no thanks
1087: [10:00:43] <ocm> he likes banana's though: http://www.shockmansion.com/2013/09/14/video-swedish-comic-tries-magic-trick-with-a-banana-absolutely-nails-it/
1088: [10:00:59] <Nightjar> :/
1089: [10:02:22] <ocm> ?
1090: [10:06:49] <Nightjar> ok so that wasn't as shocking as I thought it was going to be
1091: [10:07:13] <Nightjar> pretty good even
1092: [10:09:02] <Sjohn> and funny :p
1093: [10:09:54] <ocm> hahaha
1094: [10:10:04] <ocm> he does nailt it, without getting nailed
1095: [10:14:03] * Nightjar has left #silverstripe
1096: [10:17:39] * g4b0 has joined #silverstripe
1097: [10:18:17] <g4b0> hi all
1098: [10:18:30] <g4b0> in a has_many/has_one relationship
1099: [10:18:57] <g4b0> scaffolding's dropdown shows #id in select option
1100: [10:19:21] <g4b0> is it possible to change this beavhiour
1101: [10:19:32] <g4b0> showing an arbitrary field
1102: [10:19:41] <g4b0> without redefining the DropDown?
1103: [10:20:48] * irogue cries like a little girl
1104: [10:32:50] <Colin[pi]> o_O
1105: [10:34:47] * travis-ci has joined #silverstripe
1106: [10:34:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1171 (tmp/travis-artifacts - a071ce1 : Ingo Schommer): The build failed.
1107: [10:34:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c9ca54e317ac...a071ce142e4d
1108: [10:34:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12313518
1109: [10:34:47] * travis-ci has left #silverstripe
1110: [10:34:53] <Colin[pi]> my gf is watching RPA (hospital documentary series)
1111: [10:35:09] <Colin[pi]> I said wow watching these shows makes me realise I'm lucky to not have anything wrong with me
1112: [10:35:13] <Colin[pi]> she said "...not yet"
1113: [10:35:16] <Colin[pi]> gee thanks
1114: [10:35:16] * Sj0hn has joined #silverstripe
1115: [10:35:17] <Colin[pi]> ;D
1116: [10:35:55] * Sj0hn quit (Client Quit)
1117: [10:37:05] * Sjohn quit (Ping timeout: 250 seconds)
1118: [10:38:44] <irogue> Colin[pi]: hahahaha
1119: [10:38:54] <irogue> she's gonna stab you in your sleep.
1120: [10:39:08] <Colin[pi]> she's brazilian so that's plausible
1121: [10:39:33] * Sjohn has joined #silverstripe
1122: [10:39:45] <irogue> could be worse
1123: [10:39:47] <irogue> could be columbian
1124: [10:40:15] <Colin[pi]> hehe all the south americans have a dash of crazy in them
1125: [10:48:40] * svandragt has joined #silverstripe
1126: [10:50:47] <svandragt> I'm creating a new BuildTask that imports/updates a bunch of custom dataobjects. $c = new CustomObject; $c->Title = 'title'; etc. I can write a new do and save it's ID to the right property for a has_one relationship. But how would I attach a has_many and many_many?
1127: [10:51:29] <svandragt> just need a pointer to the functions
1128: [10:55:10] <kinglozzer> svandragt: I'm not sure, but I'd guess $list = $object->RelationName(); $list->add($item);
1129: [10:55:37] <kinglozzer> RelationName being the has_many / many_many relation name
1130: [11:01:55] <svandragt> cheers kinglozzer will look at that
1131: [11:03:46] * pwintermantel has joined #silverstripe
1132: [11:04:51] * NobrainerWeb has joined #silverstripe
1133: [11:06:18] <NobrainerWeb> Hi :o)
1134: [11:06:40] <Colin[pi]> heya
1135: [11:07:36] <NobrainerWeb> I need a list of checkboxes to be rendered in frontend, for that i used: CheckboxSetField. It works fine. But now i would like to add extra classes for each checkbox in the set, can i do this and how can i do that?
1136: [11:12:50] <kinglozzer> You can't
1137: [11:13:14] <kinglozzer> Each one should have a val_CheckboxValue css class anyway
1138: [11:15:10] <NobrainerWeb> kinglozzer: ok thanks - well i need to have checkboxes in frontend, each with it's own set of classes. The checkboxes are accessories that you can select, but only if available for a specific model
1139: [11:15:16] <kinglozzer> The only way you can do it is to extend CheckboxSetField, overload the Field() method and do something in there
1140: [11:15:30] * kerosene has joined #silverstripe
1141: [11:16:18] <kinglozzer> Then use MyCheckboxSetField instead of CheckboxSetField when you create the form
1142: [11:28:38] * spronk2 quit (Quit: spronk2)
1143: [11:30:50] * DesignerX quit (Ping timeout: 264 seconds)
1144: [11:32:59] <NobrainerWeb> I think i'm going to try to just create my form in the template, this is getting to complicated for me
1145: [11:34:07] * travis-ci has joined #silverstripe
1146: [11:34:07] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1175 (tmp/travis-artifacts - 7cdb91b : Ingo Schommer): The build has errored.
1147: [11:34:07] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d82b2c5b2ba3...7cdb91b1de1c
1148: [11:34:07] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12315594
1149: [11:34:07] * travis-ci has left #silverstripe
1150: [11:41:05] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1151: [11:41:09] <Colin[pi]> GAH
1152: [11:41:26] <Colin[pi]> spent the last twenty minutes trying to figure out why a template wasn't working
1153: [11:41:36] <Colin[pi]> file had a typo
1154: [11:55:44] * Colin[pi] quit (Ping timeout: 265 seconds)
1155: [12:11:39] * UndefinedOffset has joined #silverstripe
1156: [12:19:48] <Sjohn> any1 has experience with blogloving and the silverstripe blog here?
1157: [12:22:42] <Zauberfi1ch> Sjohn: no, but the bloglovin FAQ says:
1158: [12:22:43] <Zauberfi1ch> Go to Search and type in the full url of the blog you want to add. For example: http://patrikring.blogg.se and we'll find the blog if it has a valid RSS-feed.
1159: [12:22:46] <Zauberfi1ch> http://help.bloglovin.com/knowledgebase/articles/214466-how-do-i-add-my-or-somebody-else-s-blog-on-blogl
1160: [12:23:08] <Zauberfi1ch> so I guess all you need to do is make sure you have an RSS feed that can be found by bloglovin
1161: [12:24:49] <Sjohn> yeah i got it, Thnx
1162: [12:25:43] <Sjohn> i needed to add the url of the blog not just the website (http://www.mwebsite.com/blog)
1163: [12:38:37] * philipp_ has joined #silverstripe
1164: [12:38:52] * pwintermantel quit (Ping timeout: 264 seconds)
1165: [12:39:16] * philipp_ quit (Client Quit)
1166: [12:40:41] <Sjohn> Ok, i have not quite alot of PHP skills but im trying to figure something out. I need some guidelines :)
1167: [12:41:27] <Sjohn> havn't*
1168: [12:43:40] <Sjohn> I have a class SalonPage which has_may Reviews (dataobject). Now im trying to calculate the total rating(this is a db field in Review) of each SalonPage, but only use the Reviews that have the boolean "Aproved" set true
1169: [12:44:54] * travis-ci has joined #silverstripe
1170: [12:44:54] <travis-ci> [travis-ci] ajshort/sapphire#40 (pull-4 - a63b9c9 : Andrew Short): The build passed.
1171: [12:44:54] <travis-ci> [travis-ci] Change view : https://github.com/ajshort/sapphire/compare/75f2b17f30f2^...a63b9c9d5de4
1172: [12:44:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/ajshort/sapphire/builds/12317466
1173: [12:44:54] * travis-ci has left #silverstripe
1174: [12:46:16] * ajshort has joined #silverstripe
1175: [12:46:22] <Zauberfi1ch> Sjohn: $arrayWithRaitings = $this->Reviews()->filter('Aproved', 1)->column('Rating');
1176: [12:46:33] <kinglozzer> Sjohn: $this->Reviews()->filter('Approved', 1); ?
1177: [12:46:39] <kinglozzer> ^^
1178: [12:50:26] * wilr_ has joined #silverstripe
1179: [12:51:39] * travis-ci has joined #silverstripe
1180: [12:51:40] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1177 (tmp/travis-artifacts - fe749cc : Ingo Schommer): The build has errored.
1181: [12:51:40] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7cdb91b1de1c...fe749ccda6b8
1182: [12:51:40] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12317754
1183: [12:51:40] * travis-ci has left #silverstripe
1184: [12:51:50] <Sjohn> combined with this in a function: $reviewcount = $this->Reviews->filter('Aproved', 1)->Count(); i can do $arraywithraitings / $reviewcount?
1185: [12:51:59] * wilr_ quit (Client Quit)
1186: [12:52:03] <Sjohn> trying to get the total rating
1187: [12:52:13] <Sjohn> divided by the amount of reviews
1188: [12:52:20] <Sjohn> so i get a grade
1189: [12:52:22] <kinglozzer> Sjohn: No. I assume you want the 'average' rating?
1190: [12:52:28] <Sjohn> yes
1191: [12:52:55] <ajshort> Sjohn: $this->Reviews()->avg('Rating')?
1192: [12:54:03] <Sjohn> $this->Reviews()->filter('Aproved', 1)->avg('Rating') Will this will work?
1193: [12:54:04] <Sjohn> xD
1194: [12:55:01] * mento has joined #silverstripe
1195: [12:55:02] <ajshort> if you spell approved right, it should
1196: [12:55:06] <kinglozzer> :P
1197: [12:55:52] <Zauberfi1ch> oh, I didn't think of avg, good catch, yeah, that should work
1198: [12:56:07] <Zauberfi1ch> ajshort: if he is consistent about spelling it wrong, it will still work :PO
1199: [12:56:11] <Zauberfi1ch> *:P
1200: [12:56:18] <Sjohn> haha
1201: [12:58:38] <kinglozzer> The workflow module makes my head spin >.<
1202: [13:02:12] <Sjohn> public function ReviewResults() {
1203: [13:02:12] <Sjohn> $review = $this->Reviews()->filter('Approval', 1)->avg('Rating');
1204: [13:02:12] <Sjohn>
1205: [13:02:12] <Sjohn> return $review;
1206: [13:02:12] <Sjohn> }
1207: [13:02:19] <Sjohn> Thats my fucntion
1208: [13:02:34] <Sjohn> but in the template it doesnt return the rating\
1209: [13:02:49] <Zauberfi1ch> 1) don't dump code here, use a paste site
1210: [13:02:54] <Zauberfi1ch> (eg paste2.org)
1211: [13:02:55] <Sjohn> ok
1212: [13:02:58] <Sjohn> sorry bout that
1213: [13:03:14] <Zauberfi1ch> 2) have you dumped the $review vaule? like var_dump($review); and see what it outputs
1214: [13:06:24] <Sjohn> http://paste2.org/W3Y7W5DB
1215: [13:06:26] <Sjohn> like so?
1216: [13:06:53] <Zauberfi1ch> yeah,
1217: [13:06:59] <Zauberfi1ch> what does it output?
1218: [13:08:42] <Sjohn> string(7) "55.5000"
1219: [13:08:53] <Sjohn> it says underneath the body tag
1220: [13:09:31] <Zauberfi1ch> so there you have it, $review contaqins the string "55.5000"
1221: [13:09:56] <Zauberfi1ch> is that the value that you expected?
1222: [13:10:19] <Sjohn> Yes it seems to work.. so im prbly doign something wrong on the templating then
1223: [13:10:21] * travis-ci has joined #silverstripe
1224: [13:10:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1178 (tmp/travis-artifacts - 35874b1 : Ingo Schommer): The build has errored.
1225: [13:10:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fe749ccda6b8...35874b1343da
1226: [13:10:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12319024
1227: [13:10:22] * travis-ci has left #silverstripe
1228: [13:10:54] <g4b0> how can I modify the defauilt of scaffold dropdown in a has_one/has_may relationship?
1229: [13:11:47] <g4b0> I would like to have another field into the dropdown option label, instead of DO id
1230: [13:13:14] <Zauberfi1ch> ID in label?
1231: [13:13:16] <Zauberfi1ch> :O
1232: [13:13:25] <Zauberfi1ch> isnt it usually ID => Title
1233: [13:13:42] <Zauberfi1ch> ID beying the dropdown value and $Title beeing the label
1234: [13:13:58] <g4b0> There's no Title in my DO
1235: [13:14:31] <Zauberfi1ch> but I think its new TreeDropdownField($name, $title = null, $sourceObject = 'Group', $keyField = 'ID', $labelField = 'TreeTitle', $showSearch = true)
1236: [13:14:50] <Zauberfi1ch> so just set $labelField to whatever you want
1237: [13:15:11] <Zauberfi1ch> or if its a normal DropdownField you have to set it in the array
1238: [13:15:28] <g4b0> There's no a short way without passing through getCMSField?
1239: [13:15:34] <Zauberfi1ch> like so: $source = MyDataObject::get()->map('ID', 'MyTItleField');
1240: [13:15:39] <g4b0> like setting a static var
1241: [13:15:46] <ajshort> define a getTitle method
1242: [13:15:55] <Zauberfi1ch> yep, define a getTitle method
1243: [13:15:56] <g4b0> mmm
1244: [13:15:58] <g4b0> intresting
1245: [13:16:11] <g4b0> i tryed with fotTemplate
1246: [13:16:16] <Zauberfi1ch> I would also recommend that for another reason, it is used at the "This record has been saved" mesage
1247: [13:16:28] <Zauberfi1ch> so like if you have no title it will say "Record #42 has been saved"
1248: [13:16:41] <Zauberfi1ch> with getTitle it will say "Record '....' has been saved"
1249: [13:16:43] * catcher has joined #silverstripe
1250: [13:17:06] <g4b0> it works like a charm
1251: [13:17:11] <g4b0> tnx a lot
1252: [13:19:20] <kinglozzer> Has anyone used the advancedworkflow module before?
1253: [13:20:43] <g4b0> kinglozzer: nope, I wrote a wf module by myself
1254: [13:21:11] <g4b0> tailored on customer needings
1255: [13:21:27] <g4b0> I tryed it on an early SS 3.0 version
1256: [13:21:33] <g4b0> and it was not working..
1257: [13:22:09] * travis-ci has joined #silverstripe
1258: [13:22:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1179 (tmp/travis-artifacts - 4bedc72 : Ingo Schommer): The build has errored.
1259: [13:22:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/35874b1343da...4bedc7241615
1260: [13:22:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12319348
1261: [13:22:09] * travis-ci has left #silverstripe
1262: [13:29:24] * Shrike_Finland quit (Quit: Leaving.)
1263: [13:29:58] * steveheyes has joined #silverstripe
1264: [13:30:05] <steveheyes> Hello everyone :)
1265: [13:30:48] <steveheyes> i was wondering if anyone would be able to help me
1266: [13:31:05] <steveheyes> I have a front end form that involves uploading a file
1267: [13:31:32] <steveheyes> but when you upload a file with the same name as a file that has already been uploaded it throughs an error
1268: [13:31:59] <steveheyes> is there way of setting it so it will rename the file (like add a (1) at the end or something) on upload?
1269: [13:36:32] <guci0> ping
1270: [13:36:48] <Zauberfi1ch> pong
1271: [13:36:51] <guci0> :P
1272: [13:37:27] <micmania1> anybody familiar with Director::test() ? Its throwing errors when I call it
1273: [13:38:45] * micmania2 has joined #silverstripe
1274: [13:39:03] <micmania2> ERROR [User Warning]: popCurrent called on TestRunner controller, but it wasn't at the top of the stack
1275: [13:39:26] <micmania2> I tried to copy that stright in from the terminal and it crashed my irc client...
1276: [13:40:01] * travis-ci has joined #silverstripe
1277: [13:40:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1182 (tmp/travis-artifacts - 5e2bcf4 : Ingo Schommer): The build failed.
1278: [13:40:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5f20939d9e5c...5e2bcf44f009
1279: [13:40:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12320200
1280: [13:40:01] * travis-ci has left #silverstripe
1281: [13:42:19] <NobrainerWeb> i have added public function send() { echo "hello"; } to my Page_Controller, but that just gives me a blank page with the text Hello - why is it not rendering my page template?
1282: [13:42:39] <kinglozzer> micmania2: Can you paste the test somewhere?
1283: [13:42:49] <micmania2> yep, 2 secs
1284: [13:42:52] <ocm> if I use an uploadfield in a form, how to attach it to the email?
1285: [13:42:58] <micmania2> NobrainerWeb, don't echo. just return.
1286: [13:43:01] * micmania1 quit (Ping timeout: 248 seconds)
1287: [13:45:32] <steveheyes> Does anyone know how to dynamically change a name of a file on upload that is already there? Like adding a (1) on the end or something?
1288: [13:46:07] <micmania2> kinglozzer: http://www.sspaste.com/paste/show/52555c730081a - I've commented out the actual tests as its failing without them. The full error is below
1289: [13:46:37] <ajshort> steveheyes: the upload class is supposed to do that for you already
1290: [13:47:13] <steveheyes> oh really? how do you set that?
1291: [13:47:57] <ajshort> you shouldn't need to :)
1292: [13:48:09] <ajshort> so it sounds like something isn't working
1293: [13:48:09] <steveheyes> oh, well i doesn't do at the moment!
1294: [13:48:43] <micmania2> steveheyes, you using it in the front end?
1295: [13:48:48] <steveheyes> yeah
1296: [13:48:56] <steveheyes> but it's the same situation in the back end
1297: [13:49:20] <steveheyes> in the back end it gives the option to overwrite
1298: [13:49:46] <micmania2> When you upload the file, it checks for files with the same name then should prompt you to 'overwrite' but what it actually does is create a new name for it. Very misleading.
1299: [13:49:57] <kinglozzer> micmania2: I've added a comment: http://www.sspaste.com/paste/show/52555c730081a
1300: [13:50:05] <kinglozzer> I had the same error, not with Director::test() though
1301: [13:50:33] <kinglozzer> I used the setUp() method to push an extra controller, then tearDown() to pop it back off again (so it doesn't affect any other tests)
1302: [13:50:59] <kinglozzer> Not sure of the actual cause though
1303: [13:50:59] <ajshort> usually the popCurrent controller error is hiding another error
1304: [13:51:08] * travis-ci has joined #silverstripe
1305: [13:51:08] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1183 (tmp/travis-artifacts - cc05fcf : Ingo Schommer): The build has errored.
1306: [13:51:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5e2bcf44f009...cc05fcf370d9
1307: [13:51:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12320723
1308: [13:51:08] * travis-ci has left #silverstripe
1309: [13:52:21] <NobrainerWeb> micmania2: sry i should have added that i want that send to be something i visit by example..com/mypage/send
1310: [13:52:31] <steveheyes> micmania2: oh well that is confusing.
1311: [13:52:42] <steveheyes> micmania2: It doesn't upload the file from the front end though
1312: [13:54:12] <g4b0> is it possible to pass a parameter from a gridfield to the form for adding a DO?
1313: [13:55:31] <g4b0> For example, page holder Products has_one category and has_many DoProduct
1314: [13:55:41] <ocm> anyone can help me on attaching an upload from a form to the email that gets send?
1315: [13:56:01] <g4b0> I set the category through a DropDownFIeld
1316: [13:56:15] <g4b0> then I click to "Add new" green button
1317: [13:56:17] <ajshort> ocm: $email->attachFile
1318: [13:56:42] <g4b0> I would like to know the gategori into DoProduct::getCMSFields
1319: [13:56:56] <g4b0> gategori == category :)
1320: [13:58:03] <steveheyes> ajshort: any idea why it would work in the front end?
1321: [13:58:09] <ajshort> nope
1322: [14:01:40] <steveheyes> ajshort: haha valid
1323: [14:02:02] <ajshort> maybe use plain old FileField
1324: [14:11:48] * NobrainerWeb quit (Quit: NobrainerWeb)
1325: [14:14:36] * kerosene quit (Quit: wtf? go to sleep)
1326: [14:14:46] * Alexw has joined #silverstripe
1327: [14:15:12] <Alexw> Hi all
1328: [14:17:06] * osterlaus has joined #silverstripe
1329: [14:17:47] <Alexw> Hi Zauberfisch
1330: [14:21:09] * osterlaus has left #silverstripe
1331: [14:22:20] <ocm> ajshort I got that, but I need the file from the uploadfield to come with it
1332: [14:23:31] <ajshort> $uploadField->getItemIDs()
1333: [14:24:41] <ocm> nop :P
1334: [14:25:55] <ocm> this is what I got: http://sspaste.com/paste/show/525565cc07ba1
1335: [14:26:04] <ocm> give this
1336: [14:26:05] <ocm> Call to a member function getItemIDs()
1337: [14:26:53] <ajshort> get the field instance from the form
1338: [14:26:59] <ajshort> $data is just the request params
1339: [14:27:36] <ocm> I dont think I understand what you mean
1340: [14:27:44] <ocm> $uploadField->getItemIDs() doesnt work
1341: [14:29:00] <ajshort> you need to get the UploadField instance from $form
1342: [14:29:58] <ocm> like $form['CV'] ?
1343: [14:30:38] <ajshort> no
1344: [14:30:43] <ajshort> it's an instance of the Form class
1345: [14:31:14] <ajshort> $form->Fields()->dataFieldByName(...)->getItemIDs()
1346: [14:32:07] <ocm> getitemids does not exists for uploadfield
1347: [14:33:04] * svandragt quit (Ping timeout: 248 seconds)
1348: [14:33:29] <ajshort> ah, you're still on 3.0
1349: [14:33:40] <ajshort> you'll need to find the 3.0 equivalent by looking through the UploadFIeld source
1350: [14:34:03] <ocm> ah, will do :) thnx!
1351: [14:42:14] <Alexw> Who knows a lot about PHP Composer around here?
1352: [14:43:09] <g4b0> is it possible from the add new form
1353: [14:43:16] <g4b0> located here: /admin/pages/edit/EditForm/field/Prodotti/item/new
1354: [14:43:36] <g4b0> to know from wich pages was clicked the "Add Nwe button"?
1355: [14:48:08] <Alexw> In composer.json what does the type silverstripe-module do exactly?
1356: [14:48:20] <Alexw> Does it do anything special?
1357: [14:48:26] <Alexw> Or does it only say where to install the module?
1358: [14:49:59] <micmania2> Alexw, it tells composer where it should put the module
1359: [14:50:31] <Alexw> So it install it in the root? Where framework and cms is located
1360: [14:50:37] <Alexw> And with the name of the package after the slash?
1361: [14:52:15] <Alexw> Correct?
1362: [14:53:13] <micmania2> yes, it installs it in the same directory.
1363: [14:53:37] <Alexw> And silverstripe-theme will install it in themes folder?
1364: [14:53:53] <micmania2> yes
1365: [14:54:01] <Alexw> So silverstripe-module and silverstripe-theme are reserved types on packagist.org?
1366: [14:54:12] <micmania2> yes, Silverstripe has its own installer.
1367: [14:54:17] <Alexw> ok
1368: [14:54:23] <micmania2> reserved with composer*
1369: [14:54:26] <Alexw> Great! Thanks...
1370: [14:55:35] * steveheyes quit (Quit: steveheyes)
1371: [15:10:07] <Sjohn> Gnight all
1372: [15:10:28] <Sjohn> Zauberfi1sh thanks for your help today
1373: [15:10:51] * Sjohn quit ()
1374: [15:16:06] * svandragt has joined #silverstripe
1375: [15:38:39] * mento quit (Quit: Page closed)
1376: [15:51:33] * micmania2 quit (Ping timeout: 248 seconds)
1377: [15:59:56] * kinglozzer quit (Remote host closed the connection)
1378: [16:00:10] * Colin[pi] has joined #silverstripe
1379: [16:01:08] * g4b0 quit (Quit: Sto andando via)
1380: [16:01:39] * svandragt quit (Read error: Connection reset by peer)
1381: [16:16:22] * violetina has joined #silverstripe
1382: [16:18:48] * chillu quit (Quit: chillu)
1383: [16:24:02] * bikeydz has joined #silverstripe
1384: [16:28:59] * swordsmanz has joined #silverstripe
1385: [16:35:01] * bikeydz quit (Ping timeout: 250 seconds)
1386: [16:35:29] * chillu has joined #silverstripe
1387: [17:00:00] * wilr_ has joined #silverstripe
1388: [17:02:07] * wilr_ quit (Client Quit)
1389: [17:09:15] * Colin[pi] quit (Ping timeout: 248 seconds)
1390: [18:09:00] * ARNHOE has joined #silverstripe
1391: [18:23:27] * micmania1 has joined #silverstripe
1392: [18:41:11] <Alexw> Hi, I'm trying to use the following tutorial: http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site
1393: [18:41:24] <Alexw> Only I like to exclude the article page
1394: [18:41:31] <Alexw> So You have one pages with all the articles
1395: [18:41:40] <Alexw> Without having an extra page for it
1396: [18:41:50] <Alexw> What should I change to do that?
1397: [18:42:08] <Alexw> What should the class Article exend to?
1398: [18:48:41] * r3v3rb has joined #silverstripe
1399: [18:59:40] <AlphaCactus> Alexw: A simple solution would be to still use the same structure, however instead of linking to the article page for each article, just output full articles on the ArticleHolder page.
1400: [18:59:55] <Alexw> But then I still have the article page
1401: [18:59:58] <Alexw> That I don't want
1402: [19:00:57] <simon_w> Alexw, Article would subclass DataObject and you'd use a GridField or ModelAdmin to manage them.
1403: [19:06:45] * micmania1 quit (Ping timeout: 248 seconds)
1404: [19:06:52] <Alexw> I get an page without input fields after chaning it to DataObject
1405: [19:11:30] * micmania1 has joined #silverstripe
1406: [19:12:46] <Alexw> Ok now I can't create a Article
1407: [19:12:49] <catcher> Alexw, you'll have to add the gridfield to the Page, or use modeladmin as simon_w said
1408: [19:13:04] <Alexw> I copied the default code for a gridfield
1409: [19:13:12] <Alexw> and extend article to DataObject
1410: [19:14:50] * Stomach has joined #silverstripe
1411: [19:16:03] <Alexw> How can I connect the Article back to the Article Holder?
1412: [19:16:09] <Alexw> So I can add Articles to it
1413: [19:16:14] <Alexw> Without being a page
1414: [19:20:00] <simon_w> Alexw, have you done the tutorial on relations?
1415: [19:20:03] <catcher> ArticleHolder's getCMSFields will need the proper gridfield
1416: [19:20:50] <guzzlefry> Is there a simple way to filter on a many_many field?
1417: [19:21:17] <simon_w> guzzlefry, 3.1 or 3.0?
1418: [19:21:22] <guzzlefry> 3.0
1419: [19:21:49] <simon_w> $list->filter('RelationName.Field:ExactMatch', $value)
1420: [19:21:51] <Alexw> Not yet
1421: [19:22:05] <guzzlefry> wait I lied, 3.1 :P
1422: [19:22:05] <Alexw> But I got the basics of datbase relations if thats what you mean
1423: [19:22:16] <simon_w> guzzlefry, then you don't need the :ExactMatch :p
1424: [19:22:23] <guzzlefry> hah, thanks
1425: [19:22:37] <simon_w> Alexw, no, it teaches you how to do relations in SilverStripe, including to non-Pages
1426: [19:23:49] * trent001 has joined #silverstripe
1427: [19:25:29] <Alexw> It still confuses me
1428: [19:26:00] <Alexw> I'm reading http://doc.silverstripe.org/framework/en/reference/grid-field
1429: [19:26:27] <Alexw> But I can't find anything about liking it "Player"/"Team"/"Teams" to a page
1430: [19:26:44] <trent001> Hi guys... I am trying to use GridFieldConfig_RelationEditor to set a relationship but all the form field seems to provide is a search is there anyway to provide a drop down or list of all possible selections on click or something like that.
1431: [19:27:18] * atmos has joined #silverstripe
1432: [19:27:39] <simon_w> Alexw, http://docs.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management
1433: [19:28:07] <Alexw> Ok thanks
1434: [19:28:08] <simon_w> trent001, http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
1435: [19:28:39] <Alexw> As far as I can see the tutorial gives the right explanation about what I want to do
1436: [19:28:40] <Alexw> I think
1437: [19:31:09] <trent001> Thanks simon_w you are a legend...
1438: [19:36:44] <AlphaCactus> thx for taking that over simon_w i got called afk
1439: [19:39:18] <guzzlefry> oh wait
1440: [19:42:04] * DigNZ has joined #silverstripe
1441: [19:42:05] * DigNZ quit (Remote host closed the connection)
1442: [19:42:19] * DigNZ has joined #silverstripe
1443: [19:47:57] * wilr_ has joined #silverstripe
1444: [19:58:10] * UncleCheese has joined #silverstripe
1445: [19:59:59] * Pyromanik has joined #silverstripe
1446: [20:00:10] <Pyromanik> oh backurl, you troll
1447: [20:02:48] <atmos> mornin
1448: [20:03:15] * travis-ci has joined #silverstripe
1449: [20:03:16] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1184 (tmp/travis-artifacts - ae2e4b3 : Ingo Schommer): The build has errored.
1450: [20:03:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/cc05fcf370d9...ae2e4b341458
1451: [20:03:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12337296
1452: [20:03:16] * travis-ci has left #silverstripe
1453: [20:03:21] * stecman has joined #silverstripe
1454: [20:06:04] * UndefinedOffset quit (Quit: Leaving.)
1455: [20:07:19] <shakesoda> sweet. sqlite bugs
1456: [20:07:29] <shakesoda> (as in the module)
1457: [20:07:56] <shakesoda> filter("LastViewed:GreaterThan", DB::getConn()->datetimeIntervalClause('NOW', '-15 MINUTE')) results in ("Member"."LastViewed" > '')
1458: [20:09:04] <shakesoda> the expected result is something like ("Member"."LastViewed" > datetime('now','localtime', '-15 minutes')
1459: [20:09:47] <simon_w> Well, that won't work with any of the database connectors
1460: [20:10:03] <shakesoda> no?
1461: [20:10:10] <shakesoda> then the forum module is rather broken ;)
1462: [20:10:37] <shakesoda> any ideas for fixing it?
1463: [20:10:47] <simon_w> You'd end up with something like "Member"."LastViewed" > 'datetime(\'now\',\'localtime\', \'-15 minutes\')'
1464: [20:11:11] * zfmf1 has left #silverstripe
1465: [20:11:15] <shakesoda> yeah, that's an issue.
1466: [20:11:18] <shakesoda> hm
1467: [20:11:39] <simon_w> You can get datetimeIntervalClause() as much as you want, still won't help :p
1468: [20:13:58] * nickmolhoek has joined #silverstripe
1469: [20:14:00] * nickmolhoek quit (Remote host closed the connection)
1470: [20:14:13] * nickmolhoek has joined #silverstripe
1471: [20:14:15] <shakesoda> kind of a nasty limitation to have
1472: [20:14:45] <shakesoda> I don't know enough about the inner workings to have ideas for a reasonable solution.
1473: [20:15:33] <shakesoda> throwing in my own SQL here would be pretty nasty
1474: [20:15:34] <Pyromanik> shakesoda: the forum module is broken?
1475: [20:15:43] <Pyromanik> worked for me, save for searching.
1476: [20:16:15] <shakesoda> Pyromanik: this particular bit of code is for the currently online users bit
1477: [20:16:24] <Pyromanik> shakesoda: link?
1478: [20:16:35] <shakesoda> since the query is wrong, it's returning every user.
1479: [20:16:40] <Pyromanik> hahaha
1480: [20:16:49] <Pyromanik> just limit it by 10
1481: [20:17:00] <Pyromanik> Fake it 'til you make it!
1482: [20:17:20] <shakesoda> haha
1483: [20:17:52] <shakesoda> https://github.com/shakesoda/stepmania-site/blob/master/forum/code/pagetypes/ForumHolder.php#L230
1484: [20:18:17] <Pyromanik> shakesoda: give it an actual time.
1485: [20:19:15] <shakesoda> hm, I guess that's one way around it.
1486: [20:19:17] <Pyromanik> lastviewed:greaterthan, new Datetime( blah blah
1487: [20:19:19] <Pyromanik> or whatever
1488: [20:19:28] <Pyromanik> that's what simon_w's alluding to.
1489: [20:19:42] <simon_w> date('Y-m-d H:i:s', time() - 900)
1490: [20:19:47] <Pyromanik> you don't put SQL stuff directly in the query, that's what the filter is for
1491: [20:19:53] <Pyromanik> yeah or that
1492: [20:20:36] <shakesoda> https://github.com/silverstripe/silverstripe-forum/blob/master/code/pagetypes/ForumHolder.php#L230
1493: [20:20:39] * shakesoda blames wilr_
1494: [20:20:52] <Pyromanik> probably legacy code that's not updated yet shakesoda.
1495: [20:20:54] <shakesoda> simon_w: I'll give that a go
1496: [20:21:00] <Pyromanik> Forum is in an array of dis-support
1497: [20:21:19] <Pyromanik> http://php.net/manual/en/datetime.sub.php
1498: [20:21:20] <shakesoda> yeah, and I've been hacking it up for my own needs
1499: [20:21:24] * r3v3rb quit (Quit: r3v3rb)
1500: [20:21:34] <shakesoda> now that it's been said I kind of feel dumb for not thinking of just putting the time in like that.
1501: [20:21:39] <wilr_> I blame kmayo-ss
1502: [20:21:43] <wilr_> https://github.com/silverstripe/silverstripe-forum/blame/master/code/pagetypes/ForumHolder.php#L230
1503: [20:22:10] <Pyromanik> I was fixing forum for 3.1 support
1504: [20:22:16] <Pyromanik> but then I got pulled on to other projects
1505: [20:22:27] <Pyromanik> It's quite a mess in there!
1506: [20:22:36] <simon_w> I thought of fixing forum, but then I decided to have a life instead
1507: [20:22:40] <Pyromanik> so much legacy code :<
1508: [20:22:47] <Pyromanik> haha simon_w, yeh, but mine was paid work :P
1509: [20:23:04] <simon_w> I'm getting paid to add reflection to HHVM!
1510: [20:23:06] <simon_w> Kinda ;P
1511: [20:23:30] <shakesoda> simon_w: seems to be behaving. appreciate the help!
1512: [20:23:37] <shakesoda> :)
1513: [20:23:50] * r3v3rb has joined #silverstripe
1514: [20:28:31] * nickmolhoek quit (Quit: nickmolhoek)
1515: [20:29:53] <Pyromanik> simon_w: yeh, kinda like that :P
1516: [20:31:14] * zippy__ has joined #silverstripe
1517: [20:31:46] * r3v3rb quit (Quit: r3v3rb)
1518: [20:33:37] * r3v3rb has joined #silverstripe
1519: [20:42:59] <guzzlefry> My filter doesn't seem to work...
1520: [20:43:28] <guzzlefry> $results->filter("Mediums.Title", "Stream");
1521: [20:43:45] <guzzlefry> Anything glaringly wrong with that?
1522: [20:43:54] <guzzlefry> Mediums is a many_many field on the dataobject.
1523: [20:43:57] <simon_w> $results = $results->filter(...)
1524: [20:44:14] <UncleCheese> is that dot syntax supported now?
1525: [20:44:30] <guzzlefry> simon_w: thanks again
1526: [20:44:41] <simon_w> UncleCheese, it was supported in 3.0 too
1527: [20:44:50] <simon_w> You just had to supply the name of a filter
1528: [20:44:53] <UncleCheese> not out of the gate.. it was in the docs, but never worked
1529: [20:45:12] <simon_w> ->filter('Blah.Thing:ExactMatch', 'value')
1530: [20:48:14] <zippy__> morning
1531: [20:49:08] <wilr_> UncleCheese nice demo last night, alpha release up on github somewhere?
1532: [20:49:18] * AlphaCactus_ has joined #silverstripe
1533: [20:49:20] <UncleCheese> yes, but private
1534: [20:49:29] <UncleCheese> what was the tool you mentioned? I was going to look at it today
1535: [20:49:43] <guzzlefry> simon_w: Can I pass an array to filter? ->filter('Blah.Thing', array ('this','that'); where Blah.Thing contains this or that or both?
1536: [20:49:51] <simon_w> guzzlefry, yes
1537: [20:49:58] <guzzlefry> yay
1538: [20:50:38] * AlphaCactus quit (Ping timeout: 264 seconds)
1539: [20:50:43] * AlphaCactus_ is now known as AlphaCactus
1540: [20:51:09] <guzzlefry> What about finding items where Blah.Thing contains something other than "this", but may also include it? >_>
1541: [20:54:52] <wilr_> UncleCheese tweeted it last night, https://github.com/facebook/huxley is what we're using for end user testing at the moment. Lightweight and allows the non techs to create custom flows
1542: [20:55:39] <guzzlefry> I might be getting into SQL territory now. ;P
1543: [20:56:59] <Alexw> Hi, I followed this tutorial: http://docs.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management.
1544: [20:57:20] <Alexw> But when visiting the project url it giving me a internal error
1545: [20:58:02] <Alexw> Also at every student you can select a project. But it won't be saved. But you already gave it a project. So that project dropdown should not be visible.
1546: [20:58:06] <Alexw> How to fix both of those issues?
1547: [20:58:44] <wilr_> You'll need to put the site into dev mode to see the actual error message
1548: [20:59:17] <Alexw> I did
1549: [20:59:26] <Alexw> Added Director:
1550: [20:59:26] <Alexw> environment_type: 'dev' to config.yml
1551: [20:59:38] * ARNHOE quit (Remote host closed the connection)
1552: [20:59:48] <Alexw> Oh, you need to flush it before you can see it :)
1553: [21:00:08] <Alexw> "Uncaught Exception: Object->__call(): the method 'handlerequest' does not exist on 'Project'"
1554: [21:02:02] * r3v3rb quit (Quit: r3v3rb)
1555: [21:03:08] <Alexw> The class project extends Page
1556: [21:04:17] <simon_w> Alexw, you need a Project_Controller
1557: [21:04:49] <Alexw> Oh crap, totally missed that
1558: [21:05:03] <Alexw> Oh, that fixed that
1559: [21:05:07] <Alexw> ok*
1560: [21:05:19] <Alexw> How about the Project field?
1561: [21:05:39] <Alexw> When you go a project holder, then a project
1562: [21:05:56] <Alexw> you create a project and then you need also need to select a project
1563: [21:05:56] <simon_w> In getCMSFields() on Student, remove the ProjectID field
1564: [21:06:25] * catcher quit (Quit: Leaving)
1565: [21:06:32] <Alexw> I don't have that function in my Student class
1566: [21:06:39] <Alexw> Only $db and $has_one
1567: [21:06:53] * travis-ci has joined #silverstripe
1568: [21:06:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1185 (tmp/travis-artifacts - dfd20b6 : Ingo Schommer): The build has errored.
1569: [21:06:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ae2e4b341458...dfd20b6645ad
1570: [21:06:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12340172
1571: [21:06:53] * travis-ci has left #silverstripe
1572: [21:07:05] <simon_w> public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName('ParentID'); return $fields; }
1573: [21:07:41] <Alexw> It's still there
1574: [21:08:03] <micmania1> How do I add many many links in yaml?
1575: [21:08:23] <simon_w> Alexw, is the name of the field actually ParentID?
1576: [21:08:34] <simon_w> micmania1, which yaml?
1577: [21:08:41] <simon_w> and what sort of links?
1578: [21:08:54] <Alexw> No
1579: [21:08:55] <Avroceptyr> when dealing with enterprise xml I just want to neck myself :(
1580: [21:08:57] <Alexw> Just Project
1581: [21:09:02] <micmania1> I'm trying to setup a fixtures file for testing.
1582: [21:09:02] <Avroceptyr> Also, good morning everyone
1583: [21:09:09] <simon_w> Alexw, then you want ProjectID, not ParentID
1584: [21:09:13] <Alexw> Avroceptyr: Evenin :)
1585: [21:09:20] <Avroceptyr> hey Alexw
1586: [21:09:38] <Avroceptyr> how did your MD5 compression efforts go? did they speed up your Silverstripe site?
1587: [21:09:53] <Alexw> @simon_w: Still the same
1588: [21:10:10] <Alexw> Avroceptyr: I did it with bcrypt and a bit of salt
1589: [21:10:15] <Alexw> It increase like 500% :)
1590: [21:10:25] <Avroceptyr> ah cool -- nice! haha
1591: [21:10:40] <Avroceptyr> salt always improves the flavour
1592: [21:10:45] <simon_w> micmania1, have a look at how MemberTest does it for group membership
1593: [21:10:50] <Alexw> It also got a dynamic salt :)
1594: [21:11:14] <Alexw> That is very handy for the search engine
1595: [21:11:37] <micmania1> @simon_w, thanks
1596: [21:12:06] <Alexw> @simon_w: So what's next to try out?
1597: [21:12:28] <ss23> Hmm, why is Travis pulling in an old version of Framework?
1598: [21:12:51] <Alexw> @simon_w: Oeps...misstype...The field is indeed gone now
1599: [21:12:54] <ss23> https://travis-ci.org/silverstripe-labs/silverstripe-dms -- 48.1 passes because it gets latest framework, 48.2 and 48.3 don't pass, because they're getting an old version
1600: [21:12:59] <Alexw> Now it only remains on the overview page
1601: [21:15:42] <Alexw> Nvm, fixed that too :)
1602: [21:15:55] <Alexw> Where can add custom translation for one module?
1603: [21:23:56] <guzzlefry> translatable module maybe?
1604: [21:24:08] <guzzlefry> There's also built-in translation stuff iirc.
1605: [21:24:36] <Alexw> You mean thiss: https://github.com/bummzack/translatable-dataobject?
1606: [21:25:08] <Alexw> And this: https://github.com/silverstripe/silverstripe-translatable?
1607: [21:25:20] <guzzlefry> https://github.com/silverstripe/silverstripe-translatable
1608: [21:25:21] <guzzlefry> that one
1609: [21:25:38] <Pyromanik> gotta have them dynamic salts
1610: [21:25:43] <guzzlefry> Is there a listing of all of the Filter search modifiers?
1611: [21:25:46] * travis-ci has joined #silverstripe
1612: [21:25:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1186 (tmp/travis-artifacts - 78da1e6 : Ingo Schommer): The build has errored.
1613: [21:25:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/dfd20b6645ad...78da1e648177
1614: [21:25:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12340914
1615: [21:25:47] * travis-ci has left #silverstripe
1616: [21:26:00] <Alexw> Well I only want to translate the cms
1617: [21:26:03] <Alexw> not the site itself
1618: [21:26:08] * AlphaCactus quit (Ping timeout: 240 seconds)
1619: [21:26:13] <Avroceptyr> translate ALL the things
1620: [21:26:26] <Pyromanik> guzzlefry: yes, they're called searchfilters
1621: [21:26:40] <guzzlefry> meh, I think I found them.
1622: [21:26:45] <guzzlefry> No clue if they'll work for me.
1623: [21:26:57] <Pyromanik> http://api.silverstripe.org/3.1/class-SearchFilter.html
1624: [21:27:01] <guzzlefry> I'm trying to filter on many-many relations.
1625: [21:27:24] <Pyromanik> EndsWithFilter, ExactMatchFilter, WithinRangeFilter, ExactMatchMultiFilter, FulltextFilter, GreaterThanFilter, LessThanFilter, PartialMatchFilter, StartsWithFilter
1626: [21:27:34] <Alexw> One last question...at my products page I get the following placeholder in the search field: "Zoek Products op Title:Starts With, Description:Starts With"
1627: [21:27:42] <Alexw> As you can see it is partly english and partly dutch
1628: [21:27:54] <Alexw> How can I change everything of that to dutch
1629: [21:27:55] <Pyromanik> Alexw: Polski?
1630: [21:27:59] <Pyromanik> oh, dutch
1631: [21:28:06] <Alexw> :)
1632: [21:28:13] <guzzlefry> Specially if the many relationship side contains something other than a given value. :/
1633: [21:28:34] <Pyromanik> Alexw: no idea, read up on the translation service SS uses
1634: [21:28:44] <Pyromanik> and how _t works (core.php iirc)
1635: [21:29:56] <simon_w> guzzlefry, ->exclude() instead of ->filter()
1636: [21:30:07] <simon_w> or the :not flag
1637: [21:30:23] * travis-ci has joined #silverstripe
1638: [21:30:24] <travis-ci> [travis-ci] guttmann/silverstripe-framework#1 (3.1 - 55c6f35 : Ingo Schommer): The build has errored.
1639: [21:30:24] <travis-ci> [travis-ci] Change view : https://github.com/guttmann/silverstripe-framework/compare/f0ccdeb9fcb1...55c6f35e159f
1640: [21:30:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/guttmann/silverstripe-framework/builds/12340235
1641: [21:30:24] * travis-ci has left #silverstripe
1642: [21:31:00] <guzzlefry> simon_w: That will find all objects whose many property contains something other than "this", but may also contain "this"?
1643: [21:32:16] <ss23> guzzlefry: Look at the SQL and find out :D
1644: [21:33:29] <guzzlefry> Example: Product has a stream, DVD, and Bluray. I want to find all products that have some physical component.
1645: [21:33:54] <guzzlefry> ss23: I might have an aneurysm. :P
1646: [21:36:35] * AlphaCactus has joined #silverstripe
1647: [21:37:20] <guzzlefry> Is there a way to dump the query into code?
1648: [21:37:58] <simon_w> ->sql()
1649: [21:38:17] * guzzlefry feels dumb.
1650: [21:38:18] <guzzlefry> thanks
1651: [21:38:35] <guzzlefry> might be less dumb if I wasn't in panic mode. ;P
1652: [21:38:46] * DigNZ quit (Quit: DigNZ)
1653: [21:40:58] <Avroceptyr> try rebooting, guzzlefry - that usually fixes panic mode
1654: [21:40:58] <Alexw> But nobody got any clue how to edit the Grid Relation Search Input field Translations?
1655: [21:42:20] <Pyromanik> halp halp
1656: [21:42:25] <Pyromanik> I'm being oppressed
1657: [21:42:47] <simon_w> See the oppression inherit in the system!
1658: [21:42:56] <Alexw> Hmm...none of search input fields are nicely translated
1659: [21:43:01] <Pyromanik> simon_w: I have a DO, I set said DO with some sane values
1660: [21:43:50] <Pyromanik> and it generates UPDATE do SET MemberID = 1, '' = '2013-10-10 21:21:21'
1661: [21:43:57] <Pyromanik> unknown field ''
1662: [21:44:11] <Pyromanik> It worked fine last night
1663: [21:44:15] <Pyromanik> what do?
1664: [21:44:46] <Pyromanik> I dumpped object before write call
1665: [21:45:10] <Pyromanik> it definitely said 'OrderedOn' => SS_Datetime{blah blah == '2013-10-10 21:21:21'}
1666: [21:48:37] * DigNZ has joined #silverstripe
1667: [21:48:40] <ss23> Pyromanik: Flush!
1668: [21:48:40] <Pyromanik> where db: OrderedOn: SS_Datetime
1669: [21:48:45] * DigNZ quit (Remote host closed the connection)
1670: [21:48:48] <Pyromanik> ss23: FLUSHED ALL THE THINGS
1671: [21:48:55] <ss23> dev/build?flush=all
1672: [21:48:59] <Pyromanik> and dev/buildededdedrered themall too
1673: [21:49:02] * DigNZ has joined #silverstripe
1674: [21:49:03] <ss23> ohh goood
1675: [21:49:05] <ss23> there's no saving you
1676: [21:49:09] <Pyromanik> ikr
1677: [21:49:11] <Pyromanik> doomed
1678: [21:49:12] <ss23> (that was Oh God, not oh good, btw)
1679: [21:49:20] <Pyromanik> I understood.
1680: [21:49:25] <Alexw> How to change the page type name?
1681: [21:49:31] <Alexw> And maybe in multiple languages
1682: [21:49:57] <Alexw> I want to change "CategoryHolder" into "Category Holder". (With space.)
1683: [21:50:13] <Pyromanik> private static $description = "";
1684: [21:51:06] <ss23> Pyromanik: That won't work
1685: [21:51:17] <ss23> It'll need to be private static $description = "Category Holder";
1686: [21:51:18] <ss23> :3
1687: [21:51:19] <ss23> :D
1688: [21:51:54] <Alexw> And it also called DESCRIPTION with caps in the lang file?
1689: [21:52:01] <Alexw> lang/en_US.php
1690: [21:52:02] <ss23> Patch Tuesday sucks hard when you have ~6 OS's on ~5 test laptops
1691: [21:52:45] <Alexw> Damn, did not work
1692: [21:53:21] <Alexw> Does the lang folder even get included?
1693: [21:54:01] <Pyromanik> Alexw: nfi.
1694: [21:54:11] <Pyromanik> Alexw: you need to build the translations iirc
1695: [21:54:11] <Alexw> nfi?
1696: [21:54:17] <Pyromanik> no fuck'n idea
1697: [21:54:21] <Alexw> ah ok
1698: [21:54:50] <Pyromanik> ss23: 6 os's?
1699: [21:54:56] <Pyromanik> you testing SS on OS2?
1700: [21:55:03] * travis-ci has joined #silverstripe
1701: [21:55:03] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1187 (tmp/travis-artifacts - 61f8428 : Ingo Schommer): The build has errored.
1702: [21:55:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/78da1e648177...61f84280bab9
1703: [21:55:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12342319
1704: [21:55:03] * travis-ci has left #silverstripe
1705: [21:55:08] <ss23> lol
1706: [21:55:24] <ss23> Pyromanik: Browser + OS combos
1707: [21:55:43] * wilr_ quit (Quit: wilr_)
1708: [21:55:51] <ss23> XP IE6, XP IE7, XP IE8, Vista IE8, Vista IE9, 7 IE8, 7 IE9, 8 IE10
1709: [21:55:57] <ss23> There's a bucnh of weird combos on the test laptops
1710: [21:57:01] <Avroceptyr> Selenium ftw
1711: [21:57:08] <Avroceptyr> if you can set it up
1712: [21:57:12] <Avroceptyr> and/or run it
1713: [21:57:17] <Avroceptyr> and/or be bothered
1714: [21:57:37] * travis-ci has joined #silverstripe
1715: [21:57:37] <travis-ci> [travis-ci] guttmann/silverstripe-framework#2 (html-text-absolutelink-placeholders - 5ddbf77 : James Goodman): The build passed.
1716: [21:57:37] <travis-ci> [travis-ci] Change view : https://github.com/guttmann/silverstripe-framework/compare/34ffa389098d...5ddbf77f3743
1717: [21:57:37] <travis-ci> [travis-ci] Build details : http://travis-ci.org/guttmann/silverstripe-framework/builds/12340403
1718: [21:57:37] * travis-ci has left #silverstripe
1719: [21:57:53] <ss23> haha, I started humming the Ompla Loompa song, reached into my bag, and a coworker looks at me and goes... "are you going to pull out a gun and kill us now?"
1720: [21:57:58] <ss23> WHO KNEW THAT IT WAS CREEPY TO DO THAT
1721: [21:58:16] <longtips> haha
1722: [21:58:34] * Pyromanik pulls hair out
1723: [21:58:35] <Pyromanik> WTF
1724: [21:58:36] <guzzlefry> 0.o
1725: [21:59:07] <guzzlefry> Does SilverStripe do something to the SQL code immediately before running it?
1726: [21:59:22] <guzzlefry> the output from ->sql() fails when I run it through the command line.
1727: [21:59:44] * wilr_ has joined #silverstripe
1728: [21:59:55] <Pyromanik> guzzlefry: no, it's just no support for ANSI on the command line
1729: [21:59:57] <Pyromanik> or something like that
1730: [22:00:08] <Pyromanik> by command line do you mean phpmyadmin?
1731: [22:00:13] <simon_w> guzzlefry, SET sql_mode='ANSI'; first
1732: [22:00:49] <Pyromanik> guzzlefry: major difference being ` vs "
1733: [22:01:35] <guzzlefry> oh right
1734: [22:01:40] <guzzlefry> " is what everyone else uses. :P
1735: [22:01:54] <Pyromanik> no
1736: [22:01:58] <Pyromanik> other way around.
1737: [22:02:14] <Pyromanik> " is ansi, ` is generic
1738: [22:02:19] <Pyromanik> commandline doesn't NEED any.
1739: [22:02:30] <guzzlefry> I never use them. :P
1740: [22:02:32] <Stomach> how does one add more buttons in modeladmin now :S
1741: [22:02:42] <guzzlefry> I thought the other DBMSs used " for identifiers?
1742: [22:02:43] <Pyromanik> Stomach: with the cms button api!
1743: [22:02:53] <Stomach> is that a thing?
1744: [22:02:59] <Pyromanik> guzzlefry: oh, DBMS, dunno.
1745: [22:03:01] <guzzlefry> Stomach: UpdateCMSActions maybe?
1746: [22:03:08] <Pyromanik> Stomach: indeed.
1747: [22:03:23] <Stomach> let me guess - no documentation? :D
1748: [22:03:29] <Pyromanik> Stomach: unfortunately for you, I know nothing on it beyond that.
1749: [22:03:32] <guzzlefry> Write some! :)
1750: [22:03:38] * guzzlefry keeps meaning to do that.
1751: [22:03:41] <Pyromanik> Stomach: there's a dev list post about it...
1752: [22:03:47] <Stomach> coolies
1753: [22:03:53] <Pyromanik> when sminnee decided it was a good idea
1754: [22:04:00] <Pyromanik> which was aaaaages ago
1755: [22:04:04] <Pyromanik> so... dunno.
1756: [22:04:07] <Stomach> yeah i must have missed that one :P
1757: [22:04:13] <Pyromanik> tl;dr, you're fucked.
1758: [22:04:15] <Pyromanik> :P
1759: [22:05:14] <Stomach> haha
1760: [22:05:37] <Pyromanik> Stomach: why does my write() ignore the fieldname?
1761: [22:05:49] <Pyromanik> UPDATE "Order" SET "MemberID" = 1, "" = '2013-10-09 21:58:22'
1762: [22:05:58] <Pyromanik> where "" should be "OrderedOn"
1763: [22:06:06] <guzzlefry> 0.o
1764: [22:06:10] <Pyromanik> yes
1765: [22:06:13] <Pyromanik> I'm very perplexed
1766: [22:06:14] <guzzlefry> typo?
1767: [22:06:16] <Pyromanik> nope
1768: [22:06:20] <Stomach> paste?
1769: [22:06:21] <guzzlefry> casing?
1770: [22:06:23] <Pyromanik> dumped $this in onbeforewrite
1771: [22:06:28] <Pyromanik> everything swell
1772: [22:06:51] <Pyromanik> had this writing fine last night
1773: [22:06:51] <Stomach> are you on 3.1.1 or bleeding edge?
1774: [22:06:53] <Avroceptyr> also, isn't the mysql format for a table name a backtick not a quote
1775: [22:06:56] <Avroceptyr> ` vs "
1776: [22:07:02] <Avroceptyr> or general SQL format8
1777: [22:07:04] <Avroceptyr> format*
1778: [22:07:10] <Pyromanik> Avroceptyr: yes.
1779: [22:07:22] <Pyromanik> hence needing to put into ansi mode first
1780: [22:07:33] <guzzlefry> Avroceptyr: Only in MySQL land.
1781: [22:07:45] <Pyromanik> guzzlefry: he said mysql, not SQL
1782: [22:07:48] <guzzlefry> oh
1783: [22:07:52] <Avroceptyr> true, sql server uses brackets
1784: [22:07:55] <guzzlefry> I need to read more better.
1785: [22:08:04] * Alexw quit ()
1786: [22:08:07] <guzzlefry> that's just weird
1787: [22:08:09] <Pyromanik> mm, but then he fucked up and said general SQL format
1788: [22:08:09] <Avroceptyr> bettererer
1789: [22:08:11] <Pyromanik> so either way
1790: [22:08:17] <Avroceptyr> OR
1791: [22:08:18] <Avroceptyr> people
1792: [22:08:18] <Pyromanik> I know it's fucked right.
1793: [22:08:19] <Avroceptyr> OR
1794: [22:08:30] <Avroceptyr> lern2booleanlogic
1795: [22:08:38] <Pyromanik> NOU
1796: [22:08:42] <Avroceptyr> u mad bro?
1797: [22:08:50] <Avroceptyr> I get my big bro to hax u
1798: [22:08:52] <Pyromanik> yes,.
1799: [22:08:55] <Pyromanik> sif
1800: [22:09:22] <Avroceptyr> man, I can't believe people talk / write like that
1801: [22:10:41] <guzzlefry> They think it's 'kule'
1802: [22:11:09] <Pyromanik> kewl isn't kule anymore?
1803: [22:11:26] <Pyromanik> they just wish they were Hawaiian!
1804: [22:12:05] <trent001> Hey guys this maybe a question which has been asked many times before but I can't figure out how to use: ListboxField properly? I just get a standard html select option instead of a select multiple?? I thought this option was used for multiple selection?
1805: [22:12:25] <Pyromanik> simon_w: ss23 is "OrderedOn" some kind of special protected thing?
1806: [22:12:25] * Colin[pi] has joined #silverstripe
1807: [22:12:34] <Pyromanik> in SQL or SS or something?
1808: [22:12:43] <zippy__> grep the code?
1809: [22:13:02] <Pyromanik> nah it can't be, or it wouldn't work from the CMS :<
1810: [22:13:06] <Pyromanik> IDEK
1811: [22:13:53] <Pyromanik> FFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUU
1812: [22:15:01] * SightUnseen has joined #silverstripe
1813: [22:15:04] * ss23 cries
1814: [22:15:08] * SightUnseen has left #silverstripe
1815: [22:15:10] <ss23> I slept on my thigh funny, and now it's really really sore
1816: [22:15:16] <Pyromanik> You're such an inspiration for the ways I will never ever choose to be.
1817: [22:15:23] <ss23> ;_;
1818: [22:15:28] <ss23> I DIDN'T CHOOSE TO SLEEP ON IT FUNNY
1819: [22:15:55] <trent001> anyone :(
1820: [22:17:12] <Avroceptyr> You didn't choose the sleep-funny life; the sleep-funny life chose you
1821: [22:17:18] <simon_w> trent001, $field->setMultiple(true);
1822: [22:17:29] <Avroceptyr> Pyromanik: can you test manually setting that field?
1823: [22:18:00] <Avroceptyr> the OrderedOn model is somewhere in your code, I assume - can you test if that field is being set properly
1824: [22:18:22] <guzzlefry> What's a good method for moving tons of files to another server?
1825: [22:18:47] <Avroceptyr> rsync -vczr
1826: [22:18:48] <guzzlefry> scp ended up getting a signal 15, so that's out. :P
1827: [22:18:57] <guzzlefry> oh yeah, thanks
1828: [22:19:21] <trent001> Once again simon_w thank you man I acutally just saw that myself sorry must read API docs more carefully.
1829: [22:19:33] <Pyromanik> wait
1830: [22:19:34] <Pyromanik> wtf
1831: [22:19:42] <trent001> In a big hurry to get this project out :S
1832: [22:19:43] * EasyCo has joined #silverstripe
1833: [22:19:50] <guzzlefry> Did you solve the missing field mystery?
1834: [22:19:52] <Pyromanik> it's writing, or thinks it is
1835: [22:19:56] <Pyromanik> guzzlefry: no
1836: [22:20:07] <Pyromanik> but I've just clicked that it's tryign to UPDATE when it should be INSERT
1837: [22:20:35] <Pyromanik> worse still, it actually has an appropriately incrementing ID on the end (ie, where ID = 14)
1838: [22:20:57] * travis-ci has joined #silverstripe
1839: [22:20:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1189 (tmp/travis-artifacts - a56316b : Ingo Schommer): The build has errored.
1840: [22:20:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/61f84280bab9...a56316b79bda
1841: [22:20:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12343344
1842: [22:20:57] * travis-ci has left #silverstripe
1843: [22:21:21] <Pyromanik> oh yeah, there's heaps of them in the DB.
1844: [22:21:21] <Pyromanik> wtf
1845: [22:22:01] <simon_w> SS does an empty INSERT then an UPDATE to set fields
1846: [22:22:16] <Pyromanik> what
1847: [22:22:18] <Pyromanik> why?
1848: [22:22:19] <guzzlefry> oh
1849: [22:22:22] <guzzlefry> So it can get the ID?
1850: [22:22:34] <Pyromanik> makes sense I guess...
1851: [22:22:39] <guzzlefry> I'm guessing.
1852: [22:22:50] <Avroceptyr> if you're using mysql, why not just use the get next id?
1853: [22:22:52] <Pyromanik> docs say it uses an internal ID monitor, rather than relying on auto_increment
1854: [22:23:01] <Pyromanik> Avroceptyr: because unreliable
1855: [22:23:13] <guzzlefry> race condition thingies
1856: [22:23:16] <Pyromanik> mm
1857: [22:23:20] <Avroceptyr> in a transaction it should be reliable
1858: [22:23:31] * violetina quit (Remote host closed the connection)
1859: [22:23:33] <Pyromanik> ISAM no transactions
1860: [22:23:37] <Avroceptyr> oh right
1861: [22:23:42] <simon_w> And what if no MySQL?
1862: [22:23:47] <Pyromanik> ss uses inno these days, but also yeah
1863: [22:23:49] <Pyromanik> manything
1864: [22:23:53] <Avroceptyr> ISAM, babes, is why you should use a real db engine
1865: [22:23:55] <Avroceptyr> hah
1866: [22:24:07] <Avroceptyr> or use the Memory engine if you need speed :D
1867: [22:24:10] <Pyromanik> check id would be a transaction, but then your insert would be separate transaction, so still race condition?
1868: [22:24:17] <simon_w> Though the way it gets the ID out of postgres is seriously flawed
1869: [22:24:39] <Pyromanik> simon_w: ss is flawed or postgres does it weird
1870: [22:24:40] <Pyromanik> ?
1871: [22:24:47] <simon_w> SS is flawed
1872: [22:24:51] <Pyromanik> mm
1873: [22:24:53] <Pyromanik> tell me about it
1874: [22:24:56] <simon_w> It goes and does a SELECT MAX("ID")
1875: [22:25:01] <Pyromanik> OrderedOn != ''
1876: [22:25:07] <Pyromanik> ooh, ouch
1877: [22:25:38] <Colin[pi]> good morning :D
1878: [22:25:51] <simon_w> Colin[pi], you're going to melt today!
1879: [22:25:54] * Pyromanik admits he doesn't really know how transactions work
1880: [22:26:21] <Colin[pi]> yep 31C today, and 20C tomorrow, wat
1881: [22:27:31] <simon_w> So long as it's nice and cool in a fortnight :p
1882: [22:27:43] <Colin[pi]> you coming to visit?
1883: [22:27:44] <ss23> >australia
1884: [22:27:45] <ss23> >cool
1885: [22:27:47] <ss23> loool
1886: [22:27:54] <Colin[pi]> ss23: canberra is the exception :)
1887: [22:28:08] <simon_w> Colin[pi], yup
1888: [22:28:18] <simon_w> Hopefully going phone shopping too
1889: [22:28:21] <ss23> The two temperatures I had in Sydney were "Scalding hot" and "Mild with a large helping of people bitching because it was less than 15c"
1890: [22:28:38] <simon_w> ss23, key part of that: Sydney
1891: [22:28:41] <Colin[pi]> it was 47C in Sydney one day last summer
1892: [22:28:48] <ss23> shiiiiiit
1893: [22:28:54] <Colin[pi]> that's pretty rare though
1894: [22:29:06] <Colin[pi]> hottest day on record
1895: [22:29:07] <guzzlefry> Is it possile to pass null to a template function?
1896: [22:29:14] <ss23> I remember for an entire week when I was there it was like ~40c
1897: [22:29:16] <ss23> I died
1898: [22:29:16] <ss23> :<
1899: [22:29:30] <simon_w> guzzlefry, nope. Closest is no value or the empty string
1900: [22:29:31] <guzzlefry> actually, anything that equals loosely to false should work.
1901: [22:29:34] <Colin[pi]> guzzlefry: make template function parameter default to null?
1902: [22:29:55] <ss23> So did anyone know why Travis is checking out an old version of Framework?
1903: [22:29:59] <ss23> It's totally fucking up these tests
1904: [22:30:18] <simon_w> ss23, it's checking out a newer version. dev-master > 3.1.x-dev
1905: [22:30:28] <simon_w> And because composer.
1906: [22:30:53] <ss23> oh wtf, this change wasn't merged into master?
1907: [22:31:14] * BPower has joined #silverstripe
1908: [22:31:27] <Colin[pi]> btw you guys want to hear something freaky crazy weird?
1909: [22:31:38] <BPower> Hey - we're upgrading to 3.1.1. Did anyone else have issues using ->setHasEmptyDefault(true)?
1910: [22:31:55] <BPower> Colin[pi]: no.
1911: [22:31:56] <BPower> :-P
1912: [22:31:58] <Colin[pi]> OK
1913: [22:31:59] <Colin[pi]> ;D
1914: [22:32:02] <ss23> chillu: Can you merge 3.1 into master?
1915: [22:32:06] <Colin[pi]> but anyway
1916: [22:32:08] <Colin[pi]> I wrote this shitty blog post to try and explain how it's tricky to get first place on google: http://www.praxis.net.au/blog/how-to-improve-your-google-ranking/
1917: [22:32:14] <ss23> Colin[pi]: Or will that happen anyway?
1918: [22:32:20] <Colin[pi]> see the photo with the hand writing?
1919: [22:32:22] <ss23> chillu*
1920: [22:32:38] <ss23> yeah, I see it Colin[pi]!
1921: [22:32:39] <Colin[pi]> I get an email from my mate last night (runs an it support company) and he said "where did you get that photo?"
1922: [22:32:52] <Colin[pi]> I said a stock photo site (stock exchange)
1923: [22:32:56] <Colin[pi]> and he said "it's my hand"
1924: [22:33:00] <ss23> lol
1925: [22:33:01] <Colin[pi]> seriously 100%
1926: [22:33:12] <BPower> lol nice
1927: [22:33:14] <Colin[pi]> another mate of ours took photos of him for stock
1928: [22:33:23] <Colin[pi]> I had zero idea it was him LOL
1929: [22:33:31] <BPower> Crazy.
1930: [22:33:47] <BPower> So, how 'bout that ->setHasEmptyDefault(true)? Anyone have issues with it?
1931: [22:33:48] <Colin[pi]> i love freaky coincidences
1932: [22:34:08] <BPower> chillu: have you noticed anything?
1933: [22:35:07] <longtips> how do i get the url for the current controller, including protocol and domain
1934: [22:35:16] <longtips> need to fire it at pinterest fully qualified
1935: [22:35:31] <Colin[pi]> this track sounds so awesome through my sub: http://www.youtube.com/watch?v=IonmLWtRbz4
1936: [22:35:36] <BPower> longtips: $this->Link()?
1937: [22:35:44] <longtips> juno reactor is pretty good
1938: [22:35:51] <longtips> cheers BPower
1939: [22:36:01] <simon_w> longtips, ->AbsoluteLink()
1940: [22:36:04] <Colin[pi]> I LOVE them... the matrix soundtrack introduced me a long time ago
1941: [22:36:21] <BPower> longtips: actually, probably $this->AbsoluteLink()
1942: [22:36:23] <simon_w> longtips, or, $this->request->getURL()
1943: [22:36:30] <BPower> ya, like simon_w said
1944: [22:36:32] <ss23> Office speakers, I choose Ompa Loompa song!
1945: [22:36:43] <Colin[pi]> OOMpa LOOMpa DOOMity DO
1946: [22:36:45] <ss23> YOU KONW EXACTLY WHO TO BLAME
1947: [22:36:48] <ss23> The mother and the father!
1948: [22:36:56] <Colin[pi]> XD
1949: [22:37:13] <Colin[pi]> are you a good egg or a bad egg ss23?
1950: [22:37:37] <simon_w> He's a bad one
1951: [22:37:45] <Pyromanik> simon_w: if I create an object with some default vals using myObj::create(array('myfield'=>'defaultval'))
1952: [22:37:46] <ss23> ;_;
1953: [22:37:51] <ss23> YOU'LL GET NO COMMERCIALS
1954: [22:37:53] <Pyromanik> does it make issues when writing?
1955: [22:37:56] <simon_w> Pyromanik, yes
1956: [22:37:59] <Pyromanik> becuase of the way it measures changed, etc
1957: [22:38:01] <Pyromanik> fuck
1958: [22:38:04] <Pyromanik> WHY :<
1959: [22:38:08] <simon_w> Pyromanik, ::create()->update(array())
1960: [22:38:09] <Pyromanik> I'm sure that used to work
1961: [22:38:13] <simon_w> Nope
1962: [22:38:22] <ss23> It takes so long to find a nice song to play on the speakers
1963: [22:38:26] <Pyromanik> simon_w: pre-empting my next questions, thanks! <3
1964: [22:39:12] <Colin[pi]> ss23: what speakers? do you have a sub?
1965: [22:39:31] <spronk> ss23: i gave you a nice song to play on the speakers
1966: [22:39:34] <spronk> you didn't have the balls.
1967: [22:39:53] <Pyromanik> oh
1968: [22:40:03] <Pyromanik> something I've wondered right
1969: [22:40:08] <Pyromanik> is abstract class
1970: [22:40:27] <Pyromanik> if I abstract class Blah extends DataObject, and then do implementation stuffs in subclasses, will SS have a 'mare?
1971: [22:40:58] <ss23> Colin[pi]: They have a sub!
1972: [22:41:02] <ss23> Colin[pi]: They're some standard logictech ones
1973: [22:41:49] * travis-ci has joined #silverstripe
1974: [22:41:49] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1189 (tmp/travis-artifacts - a56316b : Ingo Schommer): The build has errored.
1975: [22:41:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/61f84280bab9...a56316b79bda
1976: [22:41:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12343344
1977: [22:41:49] * travis-ci has left #silverstripe
1978: [22:42:15] <Colin[pi]> ss23: I have the THX logitechs... zomg amazeballs
1979: [22:42:35] <spronk> Colin[pi]: which?
1980: [22:42:38] * spronk has the first THX logis
1981: [22:42:39] <spronk> Z-560
1982: [22:42:40] <spronk> 4.1 :P
1983: [22:42:44] <Pyromanik> YUSSSSS
1984: [22:42:48] <Pyromanik> thanks simon_w!
1985: [22:42:53] <spronk> http://img.tomshardware.com/us/2002/03/25/comparison_of_13_4/logitechz560.jpg
1986: [22:43:03] <spronk> although, i run them as 2.1 because one of the speakers died
1987: [22:43:07] <Colin[pi]> Z623 I think
1988: [22:43:11] <Colin[pi]> 2.1
1989: [22:43:13] <Pyromanik> I always wanted a set of 5500's
1990: [22:43:18] <Pyromanik> but they never came down in price
1991: [22:43:21] <spronk> ooh
1992: [22:43:22] <spronk> they did a bit
1993: [22:43:24] <Pyromanik> even after all these years (like 10)
1994: [22:43:25] * DesignerX has joined #silverstripe
1995: [22:43:29] <spronk> before discontinued you could get them for $350 or so
1996: [22:43:34] <Pyromanik> sif, they're still about $500
1997: [22:43:45] <Pyromanik> last I checked
1998: [22:43:49] <Pyromanik> admittedly a few years ago now
1999: [22:43:59] * spronk was tempted to buy some, but they don't sound quite as good as the 560s
2000: [22:44:14] <spronk> or the 680s, for that matter... 8" sub > 10" sub unless you want a rave
2001: [22:44:14] <Colin[pi]> these are mine: look ugly but sound amazeballs http://www.engadget.com/2010/08/25/logitech-intros-z623-2-1-speaker-system-for-150-gloats-about-t/
2002: [22:44:28] <spronk> yeah
2003: [22:44:32] <spronk> logitech's design has gone downhill
2004: [22:44:53] <Colin[pi]> for a computer sub too it's quite sizabler
2005: [22:44:53] <spronk> http://images.amazon.com/images/P/B00006B9CN.01.LZZZZZZZ.jpg these looked teh boss
2006: [22:44:58] <Colin[pi]> *sizeable
2007: [22:45:17] <shakesoda> as long as they don't stop making the m570 all is well
2008: [22:45:45] <guzzlefry> design question!
2009: [22:45:51] <guzzlefry> oh wait, I think I already know the answer.
2010: [22:46:00] * guzzlefry asks anyway.
2011: [22:46:03] <longtips> hum, can i get the full url from an Image rather than just the path
2012: [22:46:13] <spronk> oh what
2013: [22:46:17] <spronk> shakesoda: you use trackball!?
2014: [22:46:18] <guzzlefry> longtips: think so
2015: [22:46:50] <Colin[pi]> shakesoda: I have the G400
2016: [22:46:51] <shakesoda> spronk: only the thumb ones - the other kind are infuriating.
2017: [22:46:57] <spronk> hmmmmm
2018: [22:47:00] <spronk> i still find you bizarre
2019: [22:47:06] <guzzlefry> longtips: getAbsoluteURL()
2020: [22:47:08] <spronk> :P
2021: [22:47:13] <longtips> have a rat9, just been using a g400, gonna switch
2022: [22:47:24] * spronk is still using an mx518
2023: [22:47:27] <Colin[pi]> G400 is like the AK47 of mice
2024: [22:47:37] <Colin[pi]> that design just keeps going and going and going..
2025: [22:47:41] <spronk> mm
2026: [22:47:42] <shakesoda> spronk: it's a fantastic mouse (as a point of interest, I do lots of 3d modeling)
2027: [22:48:00] <Colin[pi]> what was it before? the MX518?
2028: [22:48:00] <longtips> cheers guzzlefry
2029: [22:48:00] <spronk> the MX500/700/900 were CRAZY new design when they came out
2030: [22:48:01] * spronk remembers
2031: [22:48:07] <BPower> longtips: ->AbsoluteURL;
2032: [22:48:12] <longtips> back in the ancient days aye spronk
2033: [22:48:14] <spronk> mx500 -> mx510 -> mx518 -> g400 iirc
2034: [22:48:15] <Colin[pi]> I had an MX518 for about 5 years
2035: [22:48:19] <longtips> when other people were using Apple Newtons
2036: [22:48:20] <spronk> lolya longtips
2037: [22:48:26] <Colin[pi]> when it finally died I shed a tear ;_;
2038: [22:48:35] <spronk> my 518 must be over 5 years old now
2039: [22:48:38] <spronk> still going strong
2040: [22:48:44] <spronk> fantastic mice
2041: [22:48:59] <guzzlefry> So if I have different pages that need to show different types of products depending on type, I should just give that page type a CMS field to set it right? ;P
2042: [22:49:04] <Colin[pi]> I thought they didn't make them anymore and then I found the G400... I was like OMG HI OLD FRIEND
2043: [22:49:09] <spronk> :D
2044: [22:49:18] * guzzlefry wonders if he could make his question more wordy.
2045: [22:49:19] * nickmolhoek has joined #silverstripe
2046: [22:49:20] * nickmolhoek quit (Remote host closed the connection)
2047: [22:49:34] * nickmolhoek has joined #silverstripe
2048: [22:49:57] <Pyromanik> G500
2049: [22:50:09] <Pyromanik> MX518 here at work
2050: [22:50:37] <ss23> Anyone interested in doing some CWP training :D
2051: [22:50:38] <shakesoda> I actually could stand to replace my current m570
2052: [22:50:45] <ss23> 1.5k, get work to pay!
2053: [22:50:47] <shakesoda> just general wear/tear
2054: [22:50:50] <shakesoda> I've had it for a long time.
2055: [22:51:07] <Colin[pi]> ohh G500, that is a sweet mouse
2056: [22:51:46] <spronk> g500s now with the ugly new logo
2057: [22:52:26] * spronk had his eyes on a Razer Imperator
2058: [22:53:18] <Colin[pi]> yeah I am tempted to get a Razer mouse to match my Razer black widow
2059: [22:53:27] * travis-ci has joined #silverstripe
2060: [22:53:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1189 (tmp/travis-artifacts - a56316b : Ingo Schommer): The build has errored.
2061: [22:53:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/61f84280bab9...a56316b79bda
2062: [22:53:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12343344
2063: [22:53:27] * travis-ci has left #silverstripe
2064: [22:53:58] <spronk> oo you have a black widow
2065: [22:54:04] <Colin[pi]> aye... LOVE it
2066: [22:54:06] <spronk> i have a blackwidow... don't use it for my main keyboard anymore though
2067: [22:54:13] <Colin[pi]> so nice to type on
2068: [22:54:14] <spronk> too clicky since i moved to a smaller office :P
2069: [22:54:19] <Colin[pi]> clacky clacky clacky clacky
2070: [22:54:21] * spronk has a ducky 9008 with mx blues
2071: [22:54:22] <spronk> err
2072: [22:54:23] <spronk> browns*
2073: [22:54:31] <spronk> next best thing i guess
2074: [22:54:39] <Colin[pi]> how are the browns vs the blues?
2075: [22:54:44] <spronk> hmm
2076: [22:54:51] <spronk> they're not actually too different
2077: [22:54:55] * Colin[pi] thinks the blackwidow is blues
2078: [22:55:04] <spronk> yeah it is, unless you managed to get their silent version
2079: [22:55:07] <spronk> blues are noisier
2080: [22:55:11] <spronk> but browns aren't exactly quiet
2081: [22:55:29] <Colin[pi]> ah here is the comparison: http://www.tomshardware.com/reviews/mechanical-switch-keyboard,2955-3.html
2082: [22:56:02] <Colin[pi]> ah I see, browns are a good hybrid
2083: [22:56:30] <spronk> i prefer blues to type on
2084: [22:56:40] <spronk> blues can be a pain for gaming though
2085: [22:56:48] <Colin[pi]> ehh I find them ok
2086: [22:57:15] <spronk> i kept accidentally keeping keys pressed
2087: [22:57:32] <spronk> in that "midway" action where it's pressed but not fully releasd
2088: [22:58:04] <Colin[pi]> mm
2089: [22:58:06] <spronk> anyone know a good way to convert a keepass db to 1password? :(
2090: [22:59:09] <spronk> oooo the mac version can do it
2091: [23:01:24] * travis-ci has joined #silverstripe
2092: [23:01:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1190 (tmp/travis-artifacts - 76f6780 : Ingo Schommer): The build has errored.
2093: [23:01:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a56316b79bda...76f6780125ce
2094: [23:01:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12344654
2095: [23:01:24] * travis-ci has left #silverstripe
2096: [23:03:16] <Colin[pi]> by adding several has_one's to the Page class, does anyone know if that causes any significant performance impact on the site?
2097: [23:04:46] <BPower> BOOM BABY! I found a 3.1.1 bug, and I know how to fix it!
2098: [23:04:49] <BPower> :)
2099: [23:04:56] <unsignedint> Colin[pi]: I wouldnt think so unless you were accessing them all, but then again I have no idea how silverstripe loads its relations, just that it does :)
2100: [23:05:08] <Colin[pi]> unsignedint: hmm k
2101: [23:05:13] <Colin[pi]> will try it out and see
2102: [23:07:06] <BPower> Which branch has the latest code? Master?
2103: [23:07:44] * travis-ci has joined #silverstripe
2104: [23:07:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1190 (tmp/travis-artifacts - 76f6780 : Ingo Schommer): The build has errored.
2105: [23:07:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a56316b79bda...76f6780125ce
2106: [23:07:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12344654
2107: [23:07:45] * travis-ci has left #silverstripe
2108: [23:08:27] <Colin[pi]> I wish I could draw this good: http://sakimichan.deviantart.com/art/The-Major-405852926
2109: [23:10:33] <guzzlefry> Is that vector art?
2110: [23:10:38] <guzzlefry> drawing*
2111: [23:10:45] <Colin[pi]> not sure, done with a wacom most likely
2112: [23:11:12] <spronk> mm
2113: [23:11:22] <Colin[pi]> her gallery is amazing
2114: [23:11:22] <guzzlefry> wacom?
2115: [23:11:28] * DigNZ quit (Quit: DigNZ)
2116: [23:11:41] <Colin[pi]> guzzlefry: graphics tablet
2117: [23:11:51] <guzzlefry> oh word
2118: [23:11:58] <guzzlefry> I have uDraw myself.
2119: [23:12:23] <guzzlefry> The thing that managed to bankrupt THQ >_>
2120: [23:12:33] <Colin[pi]> i used to do some awesome drawings when I was at school... dont have time any more :(
2121: [23:13:15] * guci0 quit (Ping timeout: 250 seconds)
2122: [23:16:55] <ss23> Client: "IT doesn't work!" I test: "Works fine..."
2123: [23:17:25] <guzzlefry> That happens to me a lot.
2124: [23:17:42] <Colin[pi]> same
2125: [23:17:45] <guzzlefry> Except I have a bad habit of spending 20 minutes trying to make it error.
2126: [23:17:49] * DigNZ has joined #silverstripe
2127: [23:17:51] * DigNZ quit (Read error: Connection reset by peer)
2128: [23:18:09] * DigNZ has joined #silverstripe
2129: [23:18:10] <guzzlefry> Starting to demand specifics like steps to reproduce and browser version. :P
2130: [23:18:36] <Colin[pi]> Netscape 2.0
2131: [23:19:24] <guzzlefry> RESO_NOFIX
2132: [23:20:26] <spronk> ugh
2133: [23:20:29] <spronk> FUCK SQL SERVER
2134: [23:20:47] * travis-ci has joined #silverstripe
2135: [23:20:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1191 (tmp/travis-artifacts - 1f97cd4 : Ingo Schommer): The build has errored.
2136: [23:20:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/76f6780125ce...1f97cd442a8f
2137: [23:20:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12345242
2138: [23:20:47] * travis-ci has left #silverstripe
2139: [23:20:52] <Pyromanik> 12:16 <@ss23> Client: "IT doesn't work!" I test: "Works fine..."
2140: [23:20:54] <Pyromanik> ir right?
2141: [23:20:56] <Pyromanik> ie*
2142: [23:22:25] <BPower> BAM! https://github.com/silverstripe/silverstripe-framework/pull/2516
2143: [23:22:43] <BPower> Tiny change, but significant bug fix, I believe.
2144: [23:23:17] <BPower> And that marks my 2nd contribute. Hopefully a lot more to come next Q. :) (chillu)
2145: [23:23:59] <simon_w> BPower, tests!
2146: [23:24:05] <ss23> lol
2147: [23:24:14] <ss23> simon_w: The person who did the commit that broke it didn't include tests!
2148: [23:24:33] <simon_w> So?
2149: [23:24:39] <simon_w> And you wonder why it broke?
2150: [23:24:51] <BPower> Sorry, that's one area that I need to brush up on. I've never done unit tests :(
2151: [23:25:16] <BPower> There's some kind unit test already for this but I'm not sure why it's passing (I'm assuming it's passing).
2152: [23:27:27] * mobiusnz quit (Quit: Leaving.)
2153: [23:27:37] <BPower> Here it is: https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/forms/DropdownFieldTest.php#L41
2154: [23:28:58] * wilr_ quit (Quit: wilr_)
2155: [23:31:24] <simon_w> BPower, "is_object($source)" is the key part of the line you changed
2156: [23:32:28] <BPower> Hm... I see it
2157: [23:33:10] <BPower> OH
2158: [23:33:50] * travis-ci has joined #silverstripe
2159: [23:33:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1191 (tmp/travis-artifacts - 1f97cd4 : Ingo Schommer): The build has errored.
2160: [23:33:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/76f6780125ce...1f97cd442a8f
2161: [23:33:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12345242
2162: [23:33:50] * travis-ci has left #silverstripe
2163: [23:34:42] <BPower> getSource is only adding the emptyString if it's an array. That doesn't make sense.... Shouldn't both parts be in getSource instead of typecasting the object to an Array in a different method?
2164: [23:36:57] <simon_w> The object's not converted to an array
2165: [23:37:09] <simon_w> If you did both in getSource(), it would need to be
2166: [23:41:13] * travis-ci has joined #silverstripe
2167: [23:41:14] <travis-ci> [travis-ci] guttmann/silverstripe-framework#3 (html-text-absolutelink-placeholders - 3f12cce : james.s.goodman@gmail.com): The build was canceled.
2168: [23:41:14] <travis-ci> [travis-ci] Change view : https://github.com/guttmann/silverstripe-framework/compare/5ddbf77f3743...3f12cce0efb4
2169: [23:41:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/guttmann/silverstripe-framework/builds/12345744
2170: [23:41:14] * travis-ci has left #silverstripe
2171: [23:51:28] * wilr_ has joined #silverstripe
2172: [23:54:08] * chillu quit (Quit: chillu)

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