#silverstripe IRC Log

IRC log for 12 March 2013

All timestamps are in UTC.

1: [00:01:00] <priithansen> Uncaught SyntaxErro token ILLEGAL in chrome console and ') outputted to end of html
2: [00:05:00] <Colin[pi]> belated good morning all
3: [00:08:00] <willr> Colin[pi] afternoon even.
4: [00:09:00] <ss23> simon_w|air: I CAN GET BURGERFUEL
5: [00:09:00] <Colin[pi]> yes because the world is on NZ time ;P
6: [00:13:00] * guci0 quit (Ping timeout: 245 seconds)
7: [00:18:00] <Colin[pi]> is this an NZ thing? I see you talking about it all the time
8: [00:18:00] <Colin[pi]> someone care to explain to me wtf burgerfuel is all about?
9: [00:18:00] <ss23> Think it might be NZ specific, not sure
10: [00:18:00] <ss23> Colin[pi]: It's just a fast food place that simon_w|air goes to a *lot*
11: [00:19:00] <willr> http://www.burgerfuel.com/
12: [00:19:00] <willr> It's in the middle east and couple in Aus.
13: [00:19:00] <ss23> Not NZ only?
14: [00:19:00] <willr> ss23 nope
15: [00:19:00] <ss23> Yep, NZ only Colin[pi]
16: [00:19:00] <ss23> NZ owned, but in more places than just NZ
17: [00:19:00] <ss23> oh
18: [00:20:00] <spronk> stop talking about burger fuel you horrible people :'(
19: [00:20:00] <ss23> XD
20: [00:20:00] * Pigeon has joined #silverstripe
21: [00:21:00] <spronk> IKR :@
22: [00:21:00] <irogue> spronk: you can get it in iraq... but not chch
23: [00:21:00] <spronk> they still haven't got a site for CHCH riccarton... though they are now under neg for the papanui territory franchisee
24: [00:21:00] * Pigeon is now known as Guest68459
25: [00:21:00] <irogue> kekeke
26: [00:21:00] * priithansen quit (Quit: priithansen)
27: [00:22:00] * Guest53742 quit (Ping timeout: 245 seconds)
28: [00:25:00] <Pyromanik> http://pbiheightsafety.com
29: [00:25:00] <Pyromanik> FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
30: [00:25:00] <Pyromanik> what is wrong with chrome
31: [00:25:00] <Pyromanik> ok guys
32: [00:25:00] * Stomach has joined #silverstripe
33: [00:26:00] <ss23> lol
34: [00:26:00] <Pyromanik> including IE
35: [00:26:00] <Pyromanik> no other browser
36: [00:26:00] * SightUnseen1 has joined #silverstripe
37: [00:26:00] <Pyromanik> windows fux da menuz
38: [00:26:00] <Pyromanik> WORKS FINE
39: [00:26:00] * Pyromanik just tried Chromium on linux
40: [00:26:00] <ss23> EVERYTHING
41: [00:26:00] <ss23> Whats wrong with Pyromanik being a noob
42: [00:26:00] <Pyromanik> what is wrong with Chrome *On Windows
43: [00:27:00] <spronk> explain
44: [00:27:00] <Pyromanik> Colin[pi], that's just how bad Chrome is.
45: [00:27:00] <Colin[pi]> wouldn't it be the same on Safari then?
46: [00:27:00] <spronk> whats the prob?
47: [00:27:00] * SightUnseen1 quit (Client Quit)
48: [00:27:00] <spronk> ?
49: [00:27:00] <Pyromanik> spronk, is bung.
50: [00:27:00] <Pyromanik> in Chrome, on windows.
51: [00:27:00] <spronk> ..?
52: [00:27:00] <Pyromanik> ...
53: [00:27:00] * SightUnseen1 has joined #silverstripe
54: [00:27:00] <Colin[pi]> including IE? what the shit?
55: [00:27:00] <Pyromanik> spronk, see menu
56: [00:28:00] <Colin[pi]> mactards :)
57: [00:28:00] <Colin[pi]> I still need to test on it
58: [00:28:00] <Pyromanik> Colin[pi], nfi
59: [00:28:00] <Pyromanik> no one uses that crap browser
60: [00:29:00] <ss23> So at least it suits Pyromanik
61: [00:29:00] <ss23> It looks ugly for me on Chrome on Windows
62: [00:29:00] <spronk> positioning
63: [00:29:00] <spronk> oh i see
64: [00:29:00] <spronk> sorta ok
65: [00:29:00] <spronk> it seems...
66: [00:29:00] <spronk> its fixed in chrome canary
67: [00:30:00] <spronk> the dodgy anmiated hovers are just altogether broken
68: [00:30:00] <spronk> ya, in chrome 27 it looks normal
69: [00:30:00] <Pyromanik> ^^
70: [00:30:00] <Pyromanik> spronk,
71: [00:30:00] <Pyromanik> http://iforce.co.nz/i/jhtmf0ga.nmd.png
72: [00:30:00] <spronk> its brokey in chrome 25
73: [00:30:00] <spronk> itr works in chrome 27
74: [00:30:00] <spronk> but yeah
75: [00:31:00] <Pyromanik> can't fix it
76: [00:31:00] <Pyromanik> I went to 'about chrome' and it says 25
77: [00:31:00] <Pyromanik> but then it says updating
78: [00:31:00] <Pyromanik> so
79: [00:31:00] <spronk> i dno what latest actual chrome is, but canary is 27
80: [00:31:00] * SightUnseen1 has left #silverstripe
81: [00:31:00] <Pyromanik> have 25
82: [00:31:00] <Pyromanik> is updating
83: [00:32:00] <Pyromanik> but
84: [00:32:00] <Pyromanik> margin isn't what's causing it?
85: [00:32:00] <Pyromanik> unsure if I should shrug or try to fix
86: [00:32:00] <ss23> Delay the launch till 27 hits stable!
87: [00:32:00] <ss23> :D
88: [00:32:00] <spronk> take the margin off the UL and stick it on the LIs?
89: [00:33:00] <spronk> you only need it on ones with submenus
90: [00:33:00] <Pyromanik> yeah but no
91: [00:33:00] <Pyromanik> shouldn't affect
92: [00:33:00] <spronk> well
93: [00:33:00] <spronk> it does
94: [00:33:00] <spronk> take it off in chrome and works fine
95: [00:33:00] <Pyromanik> nope, just took it off
96: [00:33:00] <spronk> take position:relative off the lis?
97: [00:33:00] <spronk> :p
98: [00:33:00] <Pyromanik> lol
99: [00:33:00] <Pyromanik> no
100: [00:34:00] <spronk> something is kinda weird with it
101: [00:34:00] <Pyromanik> I uncheck relative, does nothing.
102: [00:34:00] <Pyromanik> so then I uncheck float, then recheck float, fixed.
103: [00:34:00] <Pyromanik> wtf
104: [00:34:00] <Colin[pi]> yep I noticed that too!
105: [00:34:00] <spronk> mm..
106: [00:34:00] <Pyromanik> wait what
107: [00:34:00] <Pyromanik> DOES NOT FORCE REFLOW
108: [00:34:00] <Pyromanik> wtf?
109: [00:35:00] <Pyromanik> literally, last time I saw this exact thing, it was IE7
110: [00:35:00] <Pyromanik> I hate you, this is extremely IE7 ish behaviour
111: [00:35:00] <spronk> somethings a bit dodgy
112: [00:35:00] <Colin[pi]> float bug?
113: [00:35:00] <Colin[pi]> remove float: right from the ul
114: [00:35:00] <Pyromanik> don't even need to unrelative
115: [00:35:00] <Pyromanik> just float then float
116: [00:35:00] <Pyromanik> done
117: [00:36:00] <Colin[pi]> remove float:right from the UL fixes it for me
118: [00:36:00] <spronk> about about display:blocking the lis?
119: [00:36:00] <Pyromanik> yeah, tried that, no effect
120: [00:36:00] <spronk> the fuck is causing the problem o_O
121: [00:37:00] <Pyromanik> nup
122: [00:37:00] <spronk> shouldn't need clear:both on the ul, i think
123: [00:37:00] <Pyromanik> just the clear: both
124: [00:37:00] <Pyromanik> yeah, it fixes if I clear right
125: [00:37:00] <Pyromanik> thanks Colin[pi] :D
126: [00:37:00] <Colin[pi]> I think having the UL as float:right and clear:both is fuxxing up chrome
127: [00:38:00] <Pyromanik> nope
128: [00:38:00] <spronk> what a bizarre bug
129: [00:38:00] <Pyromanik> indeed
130: [00:38:00] <Pyromanik> just misunderstanding and misuse.
131: [00:38:00] <Colin[pi]> yep but they are still annoying :)
132: [00:38:00] <Pyromanik> it's the browser bugs that are ugh.
133: [00:38:00] <Pyromanik> floats and clears are all good.
134: [00:38:00] <Pyromanik> but, fixed it without need to update chrome, so that's cool.
135: [00:38:00] <Colin[pi]> no worries, floats and clears, ugh
136: [00:39:00] <Pyromanik> then no need for clears, lol
137: [00:39:00] <spronk> i need to composerify my library
138: [00:39:00] <spronk> FLOAT ALL THE THINGS!
139: [00:39:00] <spronk> hmm
140: [00:39:00] <Pyromanik> saw a * element once with float left on it
141: [00:39:00] <Pyromanik> spronk, no, misuse because no understandation.
142: [00:39:00] <spronk> :p
143: [00:39:00] <spronk> misuse because of the ineptitude of the rest of the layout standard
144: [00:39:00] <Pyromanik> because
145: [00:39:00] <Colin[pi]> hehe
146: [00:40:00] <Pyromanik> anyway, I'm going to update my (stable release) chrome to see if that fixes it before I fix it
147: [00:41:00] <Pyromanik> it did not, turns out it was just a point update (I think)
148: [00:42:00] <Colin[pi]> version 25.5225.3237.1626622.2662636.26622663.364436
149: [00:42:00] <spronk> damn chrome
150: [00:42:00] <spronk> so many versions
151: [00:43:00] <Colin[pi]> no
152: [00:43:00] <spronk> mm
153: [00:43:00] <spronk> the fuck does that meamn
154: [00:43:00] <Colin[pi]> google seems to be a bit crap with versioning
155: [00:43:00] <Stomach> either that or extremely good
156: [00:44:00] <Colin[pi]> no probs
157: [00:44:00] * chillu quit (Quit: chillu)
158: [00:44:00] <Pyromanik> thanks for your help spronk and Colin[pi] :)
159: [00:44:00] <Colin[pi]> look at what happened with Android :c
160: [00:44:00] <Stomach> why not then?
161: [00:44:00] <Stomach> lol Colin[pi]
162: [00:44:00] <Pyromanik> I imagine they're build or commit numbers or something
163: [00:48:00] <Pyromanik> oh god
164: [00:49:00] <Pyromanik> DID YOU EVEN TRY!?
165: [00:49:00] <Pyromanik> list of jobs to do "install blog module on ...."
166: [00:49:00] <Pyromanik> -.-
167: [00:49:00] * Pyromanik opens work tree, sees "blog" and "widgets" sitting there
168: [00:49:00] <Pyromanik> git pull ....
169: [00:50:00] * Pyromanik ticks and carries on
170: [01:01:00] <spronk> lul
171: [01:08:00] * joelpittet has joined #silverstripe
172: [01:17:00] <ss23> Explaining /dev/null to someone who's up until recently been completely Windows - "so its like an automatically emptied recycle bin?"
173: [01:42:00] * peter_ss quit (Quit: Leaving.)
174: [01:46:00] * Stomach quit (Quit: Leaving.)
175: [01:50:00] * DrCuriosity has joined #silverstripe
176: [01:51:00] <ss23> :D
177: [01:51:00] <Pyromanik> ss23, HAHAHAHA
178: [01:52:00] * Stomach has joined #silverstripe
179: [02:08:00] * DigNZ quit (Quit: DigNZ)
180: [02:09:00] * DigNZ has joined #silverstripe
181: [02:37:00] * joelpittet quit (Read error: Connection reset by peer)
182: [02:38:00] * joelpittet has joined #silverstripe
183: [02:53:00] * joelpittet quit (Remote host closed the connection)
184: [02:54:00] * joelpittet has joined #silverstripe
185: [02:58:00] * joelpitt_ has joined #silverstripe
186: [03:01:00] * joelpittet quit (Ping timeout: 246 seconds)
187: [03:20:00] * joelpitt_ quit (Remote host closed the connection)
188: [03:20:00] * joelpittet has joined #silverstripe
189: [03:49:00] * DigNZ quit (Quit: DigNZ)
190: [03:53:00] * irogue has joined #silverstripe
191: [03:53:00] * irogue quit (Read error: Connection reset by peer)
192: [03:56:00] * willr quit (Quit: willr)
193: [03:59:00] * nickmolhoek quit (Quit: nickmolhoek)
194: [04:03:00] * Pyromanik quit (Quit: Leaving)
195: [04:15:00] * Guest68459 quit (Ping timeout: 240 seconds)
196: [04:19:00] * Pigeon is now known as Guest94428
197: [04:19:00] * Pigeon has joined #silverstripe
198: [04:20:00] * DrCuriosity quit (Ping timeout: 252 seconds)
199: [04:34:00] * Stomach quit (Quit: Leaving.)
200: [04:36:00] * joelpittet quit (Read error: Connection reset by peer)
201: [04:37:00] * joelpittet has joined #silverstripe
202: [04:37:00] <Bollig|DesignCty> lol ss23 :)
203: [04:48:00] <Colin[pi]> quiet in here today
204: [04:59:00] * cloph_away has joined #silverstripe
205: [05:00:00] * cloph_away1 quit (Ping timeout: 264 seconds)
206: [05:04:00] * joelpittet quit (Remote host closed the connection)
207: [06:01:00] * SightUnseen1 has joined #silverstripe
208: [06:01:00] * SightUnseen1 has left #silverstripe
209: [06:13:00] * simon_w|air quit (Quit: This computer has gone to sleep)
210: [06:13:00] * Zauberfisch|idle quit (Ping timeout: 264 seconds)
211: [06:26:00] * toebu quit (Ping timeout: 264 seconds)
212: [06:26:00] * Zauberfisch has joined #silverstripe
213: [06:31:00] * Zauberfisch|idle has joined #silverstripe
214: [06:34:00] * DrCuriosity has joined #silverstripe
215: [06:36:00] * joelpittet has joined #silverstripe
216: [06:39:00] * DrCuriosity quit (Ping timeout: 252 seconds)
217: [06:58:00] * Shrike_Finland quit (Quit: Leaving.)
218: [07:14:00] * ajshort has joined #silverstripe
219: [07:18:00] * SightUnseen has left #silverstripe
220: [07:18:00] <ss23> I need to make a deals site like 1-day in Silverstripe. How long will it take me?
221: [07:18:00] <ss23> Guys, guys.
222: [07:18:00] * SightUnseen has joined #silverstripe
223: [07:22:00] * simon_w|air has joined #silverstripe
224: [07:22:00] <ss23> What about if I've never done proper Silverstripe stuff before?
225: [07:22:00] <ss23> CAN I DO IT EASILY?
226: [07:22:00] * Shrike_Finland has joined #silverstripe
227: [07:22:00] <Bollig|DesignCty> no more than 6 hours. you can probably do it in the commercials of Downton Abbey.
228: [07:22:00] <ss23> lol
229: [07:23:00] <Bollig|DesignCty> yes, it is just like parkour, simple to pick up.
230: [07:23:00] * Zauberfisch quit (Ping timeout: 245 seconds)
231: [07:23:00] <ss23> lol
232: [07:24:00] <Bollig|DesignCty> no, actualy it's slightly easier than parkour—it took me two weeks to become a backbelt in parkour.
233: [07:26:00] <ss23> Hmm
234: [07:27:00] <ss23> I'll quote 8 hours and less next time
235: [07:27:00] <Bollig|DesignCty> good idea, always good to build some extra time into your website quotes.
236: [07:27:00] <Bollig|DesignCty> ;)
237: [07:28:00] <simon_w|air> ss23, bug irogue for the code to techlust?
238: [07:29:00] <ss23> Techlust wasn't Silverstripe iirc (I was there IRL when it was being written IIRC)
239: [07:30:00] * ss23 pokes irogue
240: [07:30:00] <simon_w|air> irogue, doing it wrong!
241: [07:30:00] <ss23> At the time irogue was on some Kohana rampage iirc
242: [07:35:00] * Guest94428 quit (Ping timeout: 250 seconds)
243: [07:35:00] * Pigeon has joined #silverstripe
244: [07:36:00] * Pigeon is now known as Guest53249
245: [07:38:00] <ss23> Wow, so I was looking at this mockup I got sent through wondering why it looked so bad. I've just looked closer and realise that they've literally taken some magazines / things and taped various peices onto a page then scanned it in. The scan has shown up all the clear tape they've used...
246: [07:39:00] <Bollig|DesignCty> maybe they want the site to look rustic?
247: [07:39:00] <simon_w|air> Include it in the final version!
248: [07:39:00] <ss23> XD
249: [07:40:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
250: [07:43:00] * Zauberfisch has joined #silverstripe
251: [07:43:00] * joelpittet quit (Remote host closed the connection)
252: [07:48:00] * openbees has joined #silverstripe
253: [07:52:00] * Zauberfisch|idle has joined #silverstripe
254: [07:56:00] <Zauberfisch> s, what did you disslike again on my pullrequest yesterday?
255: [07:56:00] <Zauberfisch> simon_w|air you there?
256: [07:56:00] <simon_w|air> Perhaps
257: [07:56:00] <simon_w|air> Though I'm also here
258: [07:56:00] <Zauberfisch> yay
259: [07:56:00] <simon_w|air> In this lazy boy
260: [07:56:00] <simon_w|air> Totally need some of these at the office
261: [07:57:00] <Zauberfisch> was there something else?
262: [07:57:00] <Zauberfisch> already fixed the whitespaces
263: [07:57:00] <simon_w|air> The other thing was the branch, and Ingo will need to decide if removing a public method from 3.1 is okay
264: [07:58:00] <ss23> Okay, I'm getting started on that 1-day style site tonight
265: [07:58:00] <ss23> I guess I just download latest (3.0.5) and start reading tutorials?
266: [07:58:00] <ss23> What tutorials should I read?
267: [07:59:00] <Zauberfisch> and its not used anywere in framework or cms
268: [07:59:00] <Zauberfisch> simon_w|air I am aware that it might not be so cool to remove a method, the reason why I did it was because this method can not possible be working
269: [07:59:00] <Zauberfisch> I mean its using undefined variables
270: [08:00:00] <simon_w|air> It could be used in some project not running in dev mode
271: [08:00:00] <simon_w|air> yeah, but it's a public method
272: [08:08:00] <Zauberfisch> simon_w|air meh
273: [08:11:00] <Zauberfisch> lets see what he says before I pull request
274: [08:11:00] <ss23> "You can start editing your site\'s content by opening the CMS."
275: [08:11:00] * liam_ has joined #silverstripe
276: [08:11:00] <ss23> TYPO IN SILVERSTRIPE 3 INSTALL
277: [08:11:00] * liam_ is now known as Guest47005
278: [08:11:00] <Zauberfisch> simon_w|air I messaged chillu about it
279: [08:12:00] <Zauberfisch> ss23 what do you mean with 1day stile site?
280: [08:14:00] <ss23> Ah yep yep
281: [08:14:00] <simon_w|air> Zauberfisch, good idea.
282: [08:14:00] <ss23> Zauberfisch: You know what 1day is?
283: [08:14:00] <simon_w|air> and 1day.co.nz
284: [08:14:00] <simon_w|air> ss23, he's not from around here :p
285: [08:15:00] <ss23> mm, this new theme is better than the old candy one
286: [08:17:00] <simon_w|air> ss23, say that again and louder next time willr's around
287: [08:17:00] <ss23> lol, did he do candy or this new one...?
288: [08:18:00] <simon_w|air> Figure that out :p
289: [08:18:00] <simon_w|air> He did blackcandy
290: [08:18:00] <ss23> oic
291: [08:18:00] <ss23> XD
292: [08:18:00] <ss23> So simon_w|air~
293: [08:18:00] <ss23> Where do I start?
294: [08:18:00] <simon_w|air> Well, what do you need?
295: [08:20:00] <simon_w|air> Product DataObject, a ModelAdmin for it and a HomePage class with template for laying it out
296: [08:20:00] <ss23> How do I start with that? :d
297: [08:20:00] <ss23> Okay
298: [08:20:00] <simon_w|air> So, start with that
299: [08:20:00] <ss23> Mainly what I need is to just replicate the (older) 1day. So, main page where you can view the current products, and with that, a way to add new products to the backend that will tick over at a set time. Tracking number of products left (so only like 300 of each product etc)
300: [08:21:00] <ss23> oh I see, it's just an object in a DB
301: [08:21:00] * ss23 looks up this "DataObject" :D
302: [08:21:00] * openbees quit (Quit: Leaving)
303: [08:21:00] * ss23 busts out his pen and paper...
304: [08:22:00] <ss23> Should I do 5 too, simon_w|air?
305: [08:22:00] <ss23> Buidling a basic site and extending it?
306: [08:22:00] <simon_w|air> If you're being serious, do the first two tutorials at least as well
307: [08:23:00] <ss23> 13 hours of work that is, not getting it done in 13 hours :P
308: [08:23:00] <simon_w|air> The relations stuff? May help
309: [08:23:00] <Bollig|DesignCty> ...
310: [08:23:00] <ss23> I'm serious btw, I just quoted for this, 13 hours
311: [08:23:00] <ss23> ;__;
312: [08:23:00] <ss23> :P
313: [08:23:00] <ss23> Oh well
314: [08:23:00] <ss23> :S
315: [08:23:00] <ss23> You know sometimes I do do work :<
316: [08:23:00] <Bollig|DesignCty> yeah, you do :p
317: [08:23:00] <Bollig|DesignCty> lol, well my responses were TOTALLY unhelpful lol
318: [08:23:00] <ss23> DO I JOKE AROUND THAT MUCH? REALLY?
319: [08:23:00] <ss23> Bollig|DesignCty: Yes
320: [08:23:00] <ss23> that is, not finishing it in 13 hours for now
321: [08:23:00] <Bollig|DesignCty> wait, you were serious?
322: [08:24:00] <ss23> I wanted to be done in 5 and have the rest as bonus...
323: [08:24:00] <ss23> I figured I would quote high, 13 seems okay right?
324: [08:24:00] <Bollig|DesignCty> hahaha well at least we know you'll be doing minimum 13 hours ;)
325: [08:24:00] <ss23> I should learn Silverstripe one day anyway
326: [08:24:00] <ss23> lol
327: [08:24:00] <ss23> Damn
328: [08:24:00] * priithansen has joined #silverstripe
329: [08:26:00] * Bollig|DesignCty set up products as either pages (if they have their own view) or just DOs, add a field for number... then integrate payment, style the front end and add in all the other things like images bah bah. so simple? .........
330: [08:26:00] <simon_w|air> ss23, the hardest bit is likely going to be the payments side, depending on how good the payments module actually is
331: [08:27:00] <ss23> simon_w|air: The page for it says its in a pretty horrible state of flux
332: [08:27:00] <ss23> Worse I can just write a hacked up DPS thing to do it and not do payments properly
333: [08:27:00] <ss23> They just need DPS intergration, so *shrug*
334: [08:27:00] <simon_w|air> You're lucky you don't have to worry about variations in products
335: [08:28:00] <ss23> Thats why I didn't feel too bad quoting
336: [08:28:00] <ss23> Compare to the other site they're wanting me to build in c5, something I've touched even less than I've touched Silverstripe :<
337: [08:28:00] <simon_w|air> Can just make a new product for each day
338: [08:28:00] <ss23> Yeah :P
339: [08:29:00] <ss23> I don't even know how I would begin
340: [08:29:00] <Bollig|DesignCty> lol
341: [08:29:00] <ss23> They want fancy variations and stuff there :/
342: [08:29:00] <ss23> "WE want to be able to buy fabrics in different kinds, like in sheets or in meters or..."
343: [08:34:00] <Zauberfisch> ss23 so you have not used silverstripe yet and want to kick it off with a rather big project?
344: [08:35:00] <ss23> I mean, it's PHP, I've done a lot of PHP
345: [08:35:00] <Bollig|DesignCty> oh, well fair enough then... it is just php.
346: [08:35:00] <ss23> I used it once back in the day, but yeah
347: [08:35:00] <ss23> *shrug*
348: [08:36:00] <ss23> *shrug*
349: [08:36:00] <Bollig|DesignCty> go read through the code of some decent modules after the tutorials.
350: [08:36:00] <ss23> Worst case, I spend a lot of time learning and end up making less money than I thought per hour I work
351: [08:36:00] <ss23> Besides, I have simon_w|air here to nag to help me when I get stuck :D
352: [08:37:00] <ss23> http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site Tutorial is outdated. Someone should fix that (it talks about /themes/simple/templates/Includes/Sidebar.ss but the content it talks about has changed a lot)
353: [08:37:00] <simon_w|air> Could the one of the shop modules basically do it all?
354: [08:38:00] <ss23> simon_w|air: Back when I last touched it, all the ecommerce moduels were horrible
355: [08:41:00] * aaron1245 quit (Quit: aaron1245)
356: [08:46:00] <simon_w|air> ss23, you should talk to FrozenFire about them :p
357: [08:46:00] <ss23> FrozenFire: beep
358: [08:49:00] * chillu has joined #silverstripe
359: [08:51:00] <ss23> Aww, I'm sleepy. I'm going to have a nap then finish this tutorial and see where I get up to
360: [08:51:00] * ss23 claps
361: [08:51:00] <ss23> Night guys, I foresee a lot of help being required in the coming week. Be prepared :D
362: [08:52:00] * guci0 has joined #silverstripe
363: [08:52:00] * simon_w|air prepares the invoice :p
364: [08:52:00] <ss23> simon_w|air: I'll treat you to one free meal of any cheapish fast food if we're in the same city (burger fuel, mcdonalds, etc)
365: [08:52:00] <ss23> AND YOU ACTUALLY TELL ME WHICH FOOD YOU WANT
366: [08:52:00] <ss23> NONE OF THIS NOT TELLING ME STUFF
367: [08:52:00] <simon_w|air> That's nowhere near my going rate!
368: [08:53:00] * ss23 blushes
369: [08:53:00] <ss23> simon_w|air: Okay okay, I'll...
370: [08:53:00] <ss23> YOU CAN GIVE ME A KISS TOO
371: [08:55:00] <ss23> :D
372: [08:55:00] <simon_w|air> I have a woman for that!
373: [08:55:00] <ss23> Oh okay, she can kiss me then, whatever floats your boat
374: [09:03:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
375: [09:09:00] * kinglozzer has joined #silverstripe
376: [09:12:00] <ocm> heya ajshort, little question about the memberprofiles
377: [09:12:00] * ocm has joined #silverstripe
378: [09:13:00] <ocm> I have the uploadfield in the memberprofile form
379: [09:13:00] <ocm> though it doesnt get stored after registering / editing a profile
380: [09:13:00] <ocm> how can I enable an file/image upload?
381: [09:16:00] <Zauberfisch> chillu removing that method, would that be flaged as API CHANGE or minor?
382: [09:16:00] <chillu> API, just in case
383: [09:18:00] <simon_w|air> Zauberfisch, we have short flags now. Stop with the long-ness :p
384: [09:19:00] <ocm> or anyone else here who uses the member profiles module?
385: [09:19:00] <Zauberfisch> oh, its just API now?
386: [09:19:00] <simon_w|air> yup!
387: [09:20:00] <simon_w|air> Minor has nothing, bug fix is FIX
388: [09:20:00] <ocm> would really much like to know how to give users the option to upload an image on subscription
389: [09:23:00] <Zauberfisch> 3.1 3.1.0-beta2 or master?
390: [09:23:00] <Zauberfisch> chillu simon_w|air so, now, what branch should I request to?
391: [09:25:00] <chillu> 3.1
392: [09:26:00] <Zauberfisch> damn it
393: [09:26:00] <Zauberfisch> meaning it wants me to also merge 3 other commits
394: [09:26:00] <simon_w|air> rebase!
395: [09:26:00] <Zauberfisch> I worked on the beta branch
396: [09:27:00] <Zauberfisch> hmm
397: [09:27:00] * waveydave has joined #silverstripe
398: [09:27:00] <simon_w|air> or upstream 3.1, can never remember
399: [09:27:00] <simon_w|air> git rebase upstream/3.1
400: [09:28:00] <kinglozzer> Pretty sure it's /
401: [09:30:00] <Zauberfisch> simon_w|air I can rebase downwards?
402: [09:30:00] <kinglozzer> 3.1 is ahead of 3.1.0-beta2
403: [09:30:00] <simon_w|air> 3.1 isn't downwards, and yes
404: [09:30:00] <Zauberfisch> the problem is that I worked on the 3.1.0-beta2
405: [09:32:00] <Zauberfisch> error: The requested URL returned error: 403 Forbidden while accessing https://g
406: [09:32:00] <Zauberfisch> god damn it
407: [09:32:00] <Zauberfisch> ithub.com/silverstripe/sapphire.git/info/refs
408: [09:33:00] <simon_w|air> Could be a broken upstream remote url?
409: [09:33:00] <simon_w|air> yay, git!
410: [09:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5405311
411: [09:34:00] <travis-ci> [travis-ci] silverstripe/sapphire#1594 (3.1 - 31bb601 : Ingo Schommer): The build is still failing.
412: [09:34:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/07886c3e61c4...31bb60199e3c
413: [09:34:00] * travis-ci has left #silverstripe
414: [09:34:00] <Zauberfisch> lol
415: [09:34:00] <Zauberfisch> fail
416: [09:34:00] <Zauberfisch> I should push to orogin not upstream
417: [09:34:00] <Zauberfisch> stupid me
418: [09:34:00] <Zauberfisch> of course upstream will reject me
419: [09:34:00] * travis-ci has joined #silverstripe
420: [09:35:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
421: [09:36:00] * priithansen_ has joined #silverstripe
422: [09:37:00] <Zauberfisch> it wants me to merge https://github.com/Zauberfisch/sapphire/commit/1c58d90c8e2edba4149bc2c65f178f15d0eb336f
423: [09:37:00] * priithansen quit (Ping timeout: 245 seconds)
424: [09:37:00] <Zauberfisch> rebase is done, but github still tells me that I am 1 commit ahead
425: [09:37:00] * priithansen_ is now known as priithansen
426: [09:38:00] <Zauberfisch> i did
427: [09:38:00] <ocm> nobody who can help me with my upload / member problem?
428: [09:38:00] <Zauberfisch> git rebase remotes/upstream/3.1
429: [09:39:00] <Zauberfisch> ocm do you have a has_one for the file?
430: [09:39:00] <Zauberfisch> ocm mind sharing your code?
431: [09:39:00] <Zauberfisch> upstream beeing silverstripe/sapphire.git
432: [09:39:00] <ocm> yes
433: [09:40:00] <ocm> I am using the memberprofile module from ajshort
434: [09:40:00] <ocm> and it displays the upload form nicely
435: [09:40:00] <ocm> however, it doesnt pass the dataid to the database for the member
436: [09:40:00] <ocm> so the image gets uploaded not attached
437: [09:41:00] <ocm> though that wasnt very helpful
438: [09:41:00] <ocm> I have tried simulating an hidden input field with 'ImageID' as name
439: [09:41:00] <ocm> on which I post the dataid with js
440: [09:42:00] <Zauberfisch> but in the log you see https://github.com/Zauberfisch/sapphire/commits/3.1.0-beta2
441: [09:42:00] <Zauberfisch> Current branch 3.1.0-beta2 is up to date.
442: [09:42:00] <Zauberfisch> $ git rebase remotes/upstream/3.1
443: [09:42:00] <Zauberfisch> chillu or simon_w|air I am afraid I am going to need your help on this
444: [09:43:00] <Zauberfisch> the 3rd commit by chillu (1c58d90c8e2edba4149bc2c65f178f15d0eb336f) is not in 3.1
445: [09:43:00] <Zauberfisch> but in fact, I actually just want the 1st commit to be merged
446: [09:43:00] <Zauberfisch> so when I want to do a pull request it wants me to pull request for the first 3 commits
447: [09:44:00] <Zauberfisch> should I just fetch a clean 3.1 and cherry pick that commit?
448: [09:45:00] * Zauberfisch|idle has joined #silverstripe
449: [09:45:00] <chillu> Sam didn't merge back beta2 into 3.1 properly, I'll do that now
450: [09:47:00] <chillu> OK, merged back and deleted the beta branch
451: [09:49:00] <Zauberfisch> chillu but it still shows me the 3 commits
452: [09:50:00] <simon_w|air> chillu, can I get your thoughts on https://github.com/simonwelsh/silverstripe-framework/compare/update-conventions before I pull request? Main things that are changed are referencing columns instead of characters and specifying how wide a tab is for line length, allowing all-caps abbreviations (to match pretty much everything existing), changed the way the closing bracket is entered on multiline function headers and require
453: [09:50:00] <simon_w|air> s files to end with a newline
454: [09:51:00] <Zauberfisch> ah, chillu, nvm, did not fetch upstream before rebase
455: [09:53:00] <travis-ci> [travis-ci] silverstripe/sapphire#1605 (3.1 - 53e988b : Ingo Schommer): The build is still failing.
456: [09:53:00] * travis-ci has left #silverstripe
457: [09:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5435857
458: [09:53:00] * travis-ci has joined #silverstripe
459: [09:53:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/31bb60199e3c...53e988bb0983
460: [09:54:00] <chillu> simon_w|air: That's mixing formatting changes in the markdown with spelling mistakes and actual coding convention changes. Can we do those as separate commits?
461: [09:54:00] <chillu> I don't think we should change the if parathesis spacing, simply because we should stick to conventions we've defined.
462: [09:55:00] <simon_w|air> I'll split them up
463: [09:55:00] <simon_w|air> chillu, I'm changing the examples to match the defined conventions :)
464: [09:56:00] <Zauberfisch> now the space changes are in again, my IDE must have auto formatted again
465: [09:56:00] <Zauberfisch> bloody hell
466: [09:56:00] <Zauberfisch> this pull request is really eating away at my patience
467: [09:56:00] <chillu> Ah lol - that makes sense of course. Read it the wrong way around
468: [09:57:00] <chillu> simon_w|air: why const over define()?
469: [09:57:00] <simon_w|air> chillu, the next block says that's the preferred way
470: [09:57:00] <Zauberfisch> chillu do you mind having whitepsace changes in the pull request?
471: [09:58:00] <Zauberfisch> finally
472: [09:58:00] <Zauberfisch> screw it, here I go https://github.com/silverstripe/sapphire/pull/1273
473: [09:58:00] <chillu> Ah OK, I think we should have both definitions then. This is one of those cases where we've taken on Zend conventions, but don't actually stick to them very well in core.
474: [09:58:00] <Zauberfisch> green button time gents
475: [09:58:00] <chillu> Zauberfisch: Whitespace changes, can't merge, sorry
476: [09:58:00] <simon_w|air> Zauberfisch, told you!
477: [09:59:00] <chillu> Let me know when they're gone and I'll review
478: [09:59:00] <Zauberfisch> fuuuuu
479: [10:01:00] * feejin has joined #silverstripe
480: [10:01:00] <ocm> Zauberfisch, any suggestions on how to get the dataid? or should I ask ajshort about it?
481: [10:01:00] <Zauberfisch> ocm I need to see your code before I can even picture what your problem is
482: [10:01:00] <ajshort> no
483: [10:01:00] <ajshort> simon_w|air: I disagree with moving to XMLImporter style
484: [10:02:00] <ajshort> HtmlEditorField
485: [10:02:00] <simon_w|air> Every single one.
486: [10:02:00] <ocm> ajshort, I should not ask you about it? :P
487: [10:02:00] <simon_w|air> ajshort, Look at every class in sapphire that does something like that.
488: [10:03:00] <kinglozzer> Spaces ftw
489: [10:03:00] <ajshort> I've been making an effort to update to use the space in between, which I actually like
490: [10:03:00] <ajshort> I also don't get why we're suddenly changing the brace convention as well
491: [10:03:00] <ajshort> :)
492: [10:03:00] <simon_w|air> Fine, every one that doesn't mention HTML :p
493: [10:04:00] <ajshort> so with that + the casing convention, it's a pain to flip flop between them
494: [10:04:00] <simon_w|air> ajshort, we're not. The examples are wrong
495: [10:04:00] <ajshort> I guess I haven't been following the conventions then :)
496: [10:04:00] <simon_w|air> I don't think anyone is, since they don't match the existing code
497: [10:04:00] <ajshort> ah ok, you're quite right
498: [10:04:00] <ajshort> the text does disagree with the examples
499: [10:05:00] <ajshort> fair
500: [10:05:00] <simon_w|air> Trying to fix that :)
501: [10:06:00] <ajshort> simon_w|air: you're right, the upper case casing is more prevalent, so it probably makes sense to switch to that
502: [10:06:00] * popeshoe quit (Quit: Leaving)
503: [10:06:00] <simon_w|air> Yeah, your comment in ss-dev actually threw me off, since all the classes I use use the upper case for acronyms
504: [10:07:00] <simon_w|air> ajshort, not an acronym
505: [10:07:00] <Zauberfisch> I am certain there are no whitespaces in my IDE
506: [10:07:00] <Zauberfisch> dafuq is this
507: [10:07:00] <simon_w|air> (sapphire classes)
508: [10:07:00] <chillu> I think we need like a month-long hackathon where we stop all feature dev and just clean up core… :D
509: [10:07:00] <ajshort> simon_w|air: what about Oembed?
510: [10:07:00] <simon_w|air> chillu, isn't that what the RC periods for?
511: [10:08:00] <chillu> Clean up in terms of coding conventions (= lotsa deprecations)
512: [10:08:00] <ajshort> simon_w|air: OpenEmbed?
513: [10:08:00] <Zauberfisch> but github shows me whitespaces
514: [10:08:00] <simon_w|air> ajshort, but probably should be oEmbed. I was writing at the same time as OAuth, so keep getting those casings mixed
515: [10:09:00] <Zauberfisch> THIS
516: [10:09:00] <ajshort> I dunno, OEmbed makes more sense to me, but w/e
517: [10:09:00] <Zauberfisch> "I think we need like a month-long hackathon where we stop all feature dev and just clean up core… :D"
518: [10:09:00] <simon_w|air> Zauberfisch, organise it!
519: [10:09:00] <Zauberfisch> YES
520: [10:09:00] <simon_w|air> http://oembed.com uses oEmbed, so going on that
521: [10:09:00] <Zauberfisch> as if I had the time for that
522: [10:10:00] * popeshoe has joined #silverstripe
523: [10:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
524: [10:15:00] * Zauberfisch|idle has joined #silverstripe
525: [10:16:00] <priithansen> ajshort: any idea where I should start digging to get to the bottom of this https://github.com/ajshort/silverstripe-gridfieldextensions/issues/11
526: [10:17:00] * lx-berlin has joined #silverstripe
527: [10:18:00] <ajshort> not specifically
528: [10:19:00] <ocm> I have the upload form, and a has_one in my member class
529: [10:19:00] <ajshort> you mean on registration?
530: [10:19:00] <ocm> yes
531: [10:19:00] <ocm> or on edit profile view
532: [10:19:00] * Guest47005 quit (Quit: Guest47005)
533: [10:19:00] <ocm> ajshort, is there a way to use the memberprofile module and give the members the option to upload an image on subscription?
534: [10:20:00] <ocm> 3.0.5
535: [10:20:00] <ajshort> what SS version?
536: [10:20:00] <ocm> the upload forms shows, but on submit the dataid doesnt get submitted to the imageID field of the member
537: [10:21:00] <ocm> multipart/form-data
538: [10:21:00] <ajshort> in the generated <form> tag, what is the enctype set to?
539: [10:23:00] <ajshort> can you paste your custom member form code?
540: [10:23:00] <ocm> you mean the generated form from the module?
541: [10:24:00] <ajshort> your PHP code
542: [10:24:00] <ajshort> no
543: [10:24:00] <ocm> the form gets created through the module
544: [10:25:00] <ocm> should there be?
545: [10:25:00] <simon_w|air> chillu, in that month long hackathon, we could even get the docs tidied up!
546: [10:25:00] <ajshort> how do you add your image field to member?
547: [10:25:00] <ocm> so there is no 'your php code'
548: [10:26:00] <ocm> like that
549: [10:26:00] <chillu> Oh the possibilities!
550: [10:26:00] <ocm> static $has_one = array( 'ProfilePicture' => 'Image' );
551: [10:27:00] <Zauberfisch> finally
552: [10:27:00] <Zauberfisch> https://github.com/silverstripe/sapphire/pull/1275
553: [10:27:00] <Zauberfisch> chillu
554: [10:27:00] <ocm> when I check security/members in the cms it works like it should, meaning I can upload an image and it stays attached to the member
555: [10:27:00] <Zauberfisch> I just spent about an hour on 1 pull request :/
556: [10:28:00] <chillu> Lots of git learning then ;)
557: [10:28:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
558: [10:28:00] <simon_w|air> Zauberfisch, found out why I still use SVN for work and personal projects then? ;)
559: [10:29:00] <Zauberfisch> haha
560: [10:29:00] <Zauberfisch> simon_w|air still hate svn though
561: [10:29:00] <Zauberfisch> ok, I think i deserve a good lunch now
562: [10:29:00] <simon_w|air> Zauberfisch, also, you're not done yet. Found a bug :p
563: [10:29:00] <Zauberfisch> cya later
564: [10:29:00] <Zauberfisch> <.<
565: [10:29:00] <ajshort> ocm: can you pasthe the generated form please?
566: [10:29:00] <Zauberfisch> I'll doo that after lunch
567: [10:29:00] <chillu> Happy lunching!
568: [10:30:00] <ocm> sure, hang on
569: [10:31:00] <ocm> ajshort
570: [10:31:00] <ocm> http://pastebin.com/WakLxVtA
571: [10:31:00] * travis-ci has joined #silverstripe
572: [10:31:00] <travis-ci> [travis-ci] silverstripe/sapphire#1608 (3.1 - 83b2428 : Ingo Schommer): The build is still failing.
573: [10:31:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/53e988bb0983...83b24285fa79
574: [10:31:00] <ajshort> ah ok
575: [10:31:00] * travis-ci has left #silverstripe
576: [10:31:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5436634
577: [10:32:00] <ocm> but how to change it?
578: [10:32:00] <ocm> uploadfield is on #306 and another on 328
579: [10:32:00] <ajshort> I'm not sure UploadField will work, you probably need SimpleImageField as I said earlier
580: [10:32:00] <ajshort> I think it's iffy on the front end
581: [10:33:00] <ocm> 'ProfilePicture' => 'Image' is in has_one, which automatically generates the UploadField I guess?
582: [10:34:00] <simon_w|air> Laptop battery is almost dead. I guess that means I should stop updating docs and head to bed. Night all.
583: [10:35:00] * simon_w|air quit (Quit: This computer has gone to sleep)
584: [10:37:00] <ajshort> ocm: hook into Member::updateMemberFormFields
585: [10:38:00] * Guits quit (Ping timeout: 248 seconds)
586: [10:39:00] * Guits has joined #silverstripe
587: [10:39:00] * ARNHOE has joined #silverstripe
588: [10:39:00] <ocm> what should I hook?
589: [10:40:00] <ocm> $fields->addByName('ProfilePictureID'); ?
590: [10:44:00] * LoveDuckie has joined #silverstripe
591: [10:45:00] <ajshort> ->replaceField
592: [10:46:00] <ocm> replace with what?
593: [10:47:00] <ocm> I dont really get how to hook into the updateMemberFormFields
594: [10:47:00] * ARNHOE quit (Remote host closed the connection)
595: [10:49:00] * ARNHOE has joined #silverstripe
596: [10:52:00] <ocm> $fields->replaceField('ProfilePicture','FileField'); gives an error
597: [10:58:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
598: [11:01:00] <Colin[pi]> just popped my own LeftAndMain cherry, kinda scary
599: [11:05:00] <ocm> ajshort, any suggestion? I get this error: Fatal error: Call to a member function isComposite() on a non-object in C:\xampp\htdocs\saar\framework\forms\FieldList.php on line 68
600: [11:05:00] <ocm> $fields->replaceField('ProfilePicture','ProfilePictureID');
601: [11:05:00] <ocm> this is what I hooked in updateMemberFormFields:
602: [11:15:00] <waveydave> Oh, why can't setTemplate() work on SearchForm object? That'd be a bit less unintuitive. :)
603: [11:16:00] * openbees has joined #silverstripe
604: [11:17:00] <openbees> is there any way to get Controller of current class in Model section of that class ?
605: [11:18:00] <kinglozzer> ocm: You're replacing a Field object with a string. You need to actually create the field and pass that into the replaceField() function
606: [11:18:00] <waveydave> openbees: $this->controller or $this->getController() ?
607: [11:19:00] <openbees> no ... I want this model section of class ..!
608: [11:19:00] * Guest53249 quit (Ping timeout: 256 seconds)
609: [11:20:00] <priithansen> Controller::curr()
610: [11:20:00] * Pigeon has joined #silverstripe
611: [11:21:00] * Pigeon is now known as Guest76141
612: [11:22:00] * Zauberfisch|idle has joined #silverstripe
613: [11:22:00] <ajshort> ocm: you need to pass a form field instance
614: [11:23:00] <ocm> replace it with what? simpleimagefield?
615: [11:23:00] <ajshort> $fields->replaceField('ProfilePictureID', new ...)
616: [11:26:00] <ajshort> yes
617: [11:30:00] * Zauberfisch quit (Read error: Connection reset by peer)
618: [11:30:00] * Zauberfisch has joined #silverstripe
619: [11:35:00] <Guest76141> Hi guys, I'm doing some template caching in 3.1 and I want to cache a whole widget area, but one widget has a form that has a security token so I need that form to be 'uncached'. It appears that wrapping the From in the Widget template in a cacheblock doesn't make a difference. Do nested cache blocks not work accross templates?
620: [11:36:00] * Guits quit (Ping timeout: 245 seconds)
621: [11:39:00] * Kapdap_ has joined #silverstripe
622: [11:43:00] * Kapdap quit (*.net *.split)
623: [11:54:00] <lx-berlin> Hi all, a client clicked on "Delete From The Draft Site" . Now the page is still published but marked as "Removed From Draft" in the sitetree. The Button "Restore" returns an error. (SiteTree #137 not found) . Is this a known bug in SS3 ?
624: [11:56:00] <lx-berlin> has anyone ever clicked on "Delete From The Draft Site" ?
625: [11:57:00] <Colin[pi]> once or twice
626: [11:57:00] <lx-berlin> and have you been able to restore it ?
627: [11:57:00] <Colin[pi]> yes, but it was on 2.4
628: [11:58:00] <lx-berlin> i am wondering why the error is SiteTree #137 not found. Shouldnt the restore take the data from SiteTreeLive ?
629: [11:58:00] <lx-berlin> because its still a published site, and the information still exists in sitetreelive
630: [12:01:00] * UndefinedOffset has joined #silverstripe
631: [12:01:00] <kinglozzer> lx-berlin: Which version of SilverStripe?
632: [12:01:00] <lx-berlin> 3.0
633: [12:01:00] <kinglozzer> 3.0.?
634: [12:01:00] <kinglozzer> .5 ?
635: [12:01:00] <lx-berlin> github 3.0 branch
636: [12:02:00] <lx-berlin> but i can make a pull now and check this on our local server
637: [12:02:00] <kinglozzer> lx-berlin: I wouldn't use a github branch on a live site, personally
638: [12:02:00] <kinglozzer> Could be regressions in there that haven't been discovered yet
639: [12:03:00] <lx-berlin> i have no idea which version to use for a live site. I always thought using the 3.0 branch is the best idea, because bugs might have been fixed there which will exist in a zip download
640: [12:03:00] * Guits has joined #silverstripe
641: [12:04:00] <lx-berlin> but maybe that was a bad idea
642: [12:04:00] <kinglozzer> Well, 3.0.5 never did either, did it chillu? ;)
643: [12:04:00] <kinglozzer> lx-berlin: 3.0.5 zip is the one I'd go for. 3.0 branch hasn't been through RC
644: [12:05:00] <kinglozzer> Yeah it might not be your problem, just worth a mention :)
645: [12:05:00] <lx-berlin> i will be right back :)
646: [12:05:00] <lx-berlin> but let me test it again locally
647: [12:08:00] <kinglozzer> In case it helps
648: [12:08:00] <kinglozzer> lx-berlin: https://github.com/silverstripe/silverstripe-cms/blob/3.0/code/controllers/CMSMain.php#L975
649: [12:09:00] <lx-berlin> hmm, locally restoring works, at least after making a git pull of framework and cms (damn , i should have been testing BEFORE making a git pull)
650: [12:11:00] * lx-berlin afk 10min
651: [12:11:00] <lx-berlin> i dont understand in general why you would like to delete the draft while keeping it published at the same time
652: [12:23:00] * Colin[pi] quit (Ping timeout: 252 seconds)
653: [12:45:00] * Pigeon is now known as Guest95972
654: [12:45:00] * Pigeon has joined #silverstripe
655: [12:46:00] * Zauberfisch quit (Read error: Connection reset by peer)
656: [12:46:00] * Guest76141 quit (Ping timeout: 252 seconds)
657: [12:47:00] * Zauberfisch has joined #silverstripe
658: [12:51:00] * vikas_openbees has joined #silverstripe
659: [12:54:00] <priithansen> How does one enable the search box on drop down fields like members locale has?
660: [12:54:00] * openbees quit (Ping timeout: 260 seconds)
661: [13:00:00] <ocm> ajshort, nothing seems to get working with your suggestion so I guess I have to dive deeper to fix this
662: [13:05:00] * ARNHOE quit (Remote host closed the connection)
663: [13:05:00] <ocm> though I found a workaround about now
664: [13:06:00] <ocm> not my favorite, though its working
665: [13:10:00] * Zauberfisch quit (Read error: Connection reset by peer)
666: [13:14:00] * Guits quit (Ping timeout: 252 seconds)
667: [13:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
668: [13:17:00] * vikas_openbees quit (Quit: Leaving)
669: [13:31:00] * Zauberfisch|idle has joined #silverstripe
670: [13:35:00] * g4b0 has joined #silverstripe
671: [13:35:00] <g4b0> hi all
672: [13:36:00] * zfmf has joined #silverstripe
673: [13:37:00] <g4b0> chillu: I did my homework: https://github.com/silverstripe/sapphire/pull/1276
674: [13:38:00] <chillu> g4b0: Regex parsing HTML is fun, right? ;)
675: [13:39:00] <g4b0> really funny :)
676: [13:40:00] <chillu> http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
677: [13:40:00] <chillu> You know that Stackoverflow post right?
678: [13:43:00] <chillu> Looks good, just one niggle: Please move the test into a new ContentNegotiatorTest class
679: [13:44:00] <g4b0> Stackoverflow post is encouraging :)
680: [13:45:00] <g4b0> Ok, I will move it into the new class, then I will poke you
681: [13:55:00] <g4b0> chillu: pull request updated
682: [13:56:00] <g4b0> off course
683: [13:56:00] <chillu> Can you squash the two commits please?
684: [13:59:00] <g4b0> done https://github.com/silverstripe/sapphire/pull/1277
685: [14:00:00] <g4b0> I like to make configurable
686: [14:00:00] <g4b0> optional
687: [14:00:00] <g4b0> before start coding again
688: [14:00:00] <g4b0> I want to ask you a question
689: [14:01:00] <g4b0> $response->addHeader("Content-Type", "application/xhtml+xml; charset=" . self::$encoding);
690: [14:01:00] <g4b0> that is good for testing, but is a pain for production site
691: [14:01:00] <g4b0> this line of code:
692: [14:01:00] <g4b0> application/xhtml+xml force browser to Draconian error management
693: [14:02:00] <g4b0> should I add something like
694: [14:02:00] <g4b0> ContentNegotiator::enableXmlContentTipe();
695: [14:03:00] <g4b0> ?
696: [14:06:00] <chillu> Hmm
697: [14:11:00] <chillu> Config::inst()->get('ContentNegotiator', 'content_type')
698: [14:11:00] <chillu> Make a ContentNegotiator::$content_type static, which is empty by default, meaning it auto-selects. If overwritten, it should be respected in xhtml() as well as html(). Configure through the Config API, so no static setters/getters
699: [14:12:00] <g4b0> ok
700: [14:12:00] <g4b0> mmm
701: [14:13:00] * Shrike_Finland quit (Quit: Leaving.)
702: [14:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
703: [14:14:00] <chillu> Also, after squashing, don't open a new PR, simply force push to your existing branch
704: [14:15:00] <g4b0> ah, ok.
705: [14:15:00] <g4b0> normal push fails after squashing
706: [14:15:00] <g4b0> how can I force it?
707: [14:19:00] * ajshort quit (Quit: Leaving)
708: [14:23:00] * svandragt has joined #silverstripe
709: [14:23:00] <chillu> git push -f
710: [14:23:00] <svandragt> I'm writing jquery code and including jquery, but when I'm logged in the framework includes it's own older version of Jquery, causing issues (my code requires 1.8+), what am I doing wrong?
711: [14:30:00] * micmania1 has joined #silverstripe
712: [14:30:00] <svandragt> fixed
713: [14:33:00] * ocm quit ()
714: [14:34:00] * Zauberfisch|idle has joined #silverstripe
715: [14:34:00] * Shrike_Finland has joined #silverstripe
716: [14:42:00] * Shrike_Finland quit (Ping timeout: 256 seconds)
717: [14:42:00] * Shrike_Finland has joined #silverstripe
718: [14:43:00] * feejin quit (Remote host closed the connection)
719: [15:03:00] <Zauberfisch> can I use OR with ->filter() ?
720: [15:03:00] * Zauberfisch has joined #silverstripe
721: [15:05:00] <lx-berlin> http://doc.silverstripe.org/framework/en/topics/datamodel
722: [15:05:00] <lx-berlin> 'FirstName', array('Sam', 'Sig')
723: [15:05:00] <lx-berlin> $members = Member::get()->filter(
724: [15:05:00] <lx-berlin> );
725: [15:09:00] <g4b0> chillu: now I think it's OK. https://github.com/silverstripe/sapphire/pull/1277
726: [15:10:00] <g4b0> I'm not a native english speaker, so I just wrote 2 line of comments
727: [15:10:00] <g4b0> maybe someone can document it better in the class header...
728: [15:12:00] * UncleCheese has joined #silverstripe
729: [15:12:00] <UncleCheese> Is there a chillu in the house who can help me?
730: [15:13:00] <Zauberfisch> lx-berlin I was hoing to do it on a different field
731: [15:13:00] * Pigeon is now known as Guest9609
732: [15:13:00] * Pigeon has joined #silverstripe
733: [15:13:00] <Zauberfisch> I want to do: WHERE ID = 1 OR OtherID = 2
734: [15:14:00] <Zauberfisch> UndefinedOffset at least an hour ago or so he was
735: [15:14:00] <UncleCheese> you can use disjunctiveGroup()
736: [15:14:00] <Zauberfisch> fail
737: [15:14:00] <Zauberfisch> sorry UndefinedOffset
738: [15:14:00] <Zauberfisch> meant UncleCheese
739: [15:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
740: [15:14:00] <Zauberfisch> oh, disjunctiveGroup, interesting
741: [15:14:00] <chillu> g4b0: Merged, thanks for sticking to it :)
742: [15:14:00] <chillu> UncleCheese: Sup? :)
743: [15:15:00] <UncleCheese> so I'm wondering about the config layer. I have this TranslatableDataObject class
744: [15:15:00] <Zauberfisch> UncleCheese you in europe?
745: [15:15:00] <chillu> Oh, you're in Paris, right! Actually just 3.5h train to Cologne
746: [15:15:00] <Zauberfisch> :O
747: [15:15:00] <UncleCheese> hey!
748: [15:15:00] <UncleCheese> We're sharing a timezone.
749: [15:16:00] <g4b0> finally we can use xhtml selecting the document_type
750: [15:16:00] <UncleCheese> but at some point, i need to instantiate TranslatableDataObject to load all that stuff
751: [15:16:00] <g4b0> UndefinedOffset: https://github.com/silverstripe/sapphire/pull/1277
752: [15:16:00] <UncleCheese> and ideally, i just want to have all the langs, classes, and fields specified in a config yaml file
753: [15:16:00] <g4b0> thanks to you for helping we poor XHTML code writer :)
754: [15:16:00] * Guest95972 quit (Ping timeout: 264 seconds)
755: [15:17:00] <Zauberfisch> UncleCheese I can't find a method disjunctiveGroup on ss List
756: [15:17:00] <g4b0> but you need to install SS 3.1 :D
757: [15:17:00] <UncleCheese> 3.1
758: [15:18:00] <UncleCheese> i guess my question for chillu is, when a class has its config loaded, is there some kind of callback i can use?
759: [15:18:00] <UncleCheese> I'm trying to avoid doing something like TranslatableDataObject::init();
760: [15:19:00] <chillu> You mean "loaded" via $this->config()?
761: [15:19:00] <chillu> Config::inst()->get(TranslatableObject') works without an instance as well, its not instance bound.
762: [15:19:00] <UncleCheese> yes
763: [15:21:00] <UncleCheese> it seems that the config layer is loaded AFTER _config.php?
764: [15:21:00] <chillu> To my knowledge there's no "loading" which happens on class instantiation, its just a lookup in nested key/value pairs which are determined on manifest creation (plus statics fallbacks, plus any Config::inst()->set() overrides)
765: [15:21:00] <UncleCheese> ok, that's what i thought
766: [15:21:00] <UncleCheese> attempts to read from Config in _config.php fail?
767: [15:23:00] <chillu> Error message?
768: [15:25:00] * onre quit (Ping timeout: 245 seconds)
769: [15:26:00] <chillu> UncleCheese: Hamish understands the config system, you'll need to ask him
770: [15:27:00] <UncleCheese> no, it just comes back null
771: [15:28:00] <UncleCheese> ok, i'll try Hamish, or better yet, just do some digging :)
772: [15:28:00] <UncleCheese> a property that i access successfully in, say Controller::init() is null in _config.php
773: [15:31:00] <Zauberfisch> ah, filterAny() looks like it would be a SQL OR
774: [15:32:00] <UncleCheese> oh yeah!
775: [15:32:00] * onre has joined #silverstripe
776: [15:32:00] * onre quit (Changing host)
777: [15:32:00] * onre has joined #silverstripe
778: [15:32:00] <UncleCheese> filterAny.. i forgot about that
779: [15:34:00] <Zauberfisch> :/
780: [15:34:00] <Zauberfisch> hmmm, now I fail to find the group by method
781: [15:35:00] <UncleCheese> DB::query() :)
782: [15:35:00] <Zauberfisch> not even on dataquery
783: [15:36:00] <Zauberfisch> haha, yeah
784: [15:36:00] <UncleCheese> mysql_query();
785: [15:36:00] <UncleCheese> while($row = mysql_fetch_row($result))
786: [15:36:00] <UncleCheese> or better yet
787: [15:36:00] <UncleCheese> that's the shit right there
788: [15:39:00] <g4b0> performance killer?
789: [15:39:00] <UncleCheese> Are DataExtension subclasses ever instantiated?
790: [15:39:00] <Zauberfisch> g4b0 not a good idea
791: [15:39:00] <g4b0> without having a new version into the DB?
792: [15:39:00] * catcher has joined #silverstripe
793: [15:39:00] <g4b0> Is it possible to do a $record->write() during onAfterPublish
794: [15:39:00] <UncleCheese> does MyDecorator::__construct() do any good?
795: [15:40:00] <g4b0> no loops
796: [15:40:00] <g4b0> but versions increase
797: [15:40:00] <Zauberfisch> g4b0 you are in danger of running into loops I think
798: [15:40:00] <Zauberfisch> if you really need to modify database in onAfter then I would do a DB::query()
799: [15:41:00] <Zauberfisch> there is a "writeWithoutVersion()"
800: [15:41:00] <g4b0> I will follow the DB::Query way..
801: [15:41:00] <Zauberfisch> or something
802: [15:41:00] <Zauberfisch> can't recall the exact name
803: [15:43:00] * Shrike_Finland quit (Quit: Leaving.)
804: [15:47:00] <g4b0> intresting
805: [15:47:00] <g4b0> mmm
806: [15:47:00] * Zauberfisch|idle has joined #silverstripe
807: [15:48:00] <g4b0> writeWithoutVersion
808: [15:51:00] * lenix- quit (Read error: Connection reset by peer)
809: [15:53:00] * priithansen has joined #silverstripe
810: [15:53:00] <g4b0> mmm I'm testing it, but it seems not working :(
811: [15:53:00] * travis-ci has joined #silverstripe
812: [15:53:00] <travis-ci> [travis-ci] silverstripe/sapphire#1615 (3.1 - c56f70b : Ingo Schommer): The build is still failing.
813: [15:53:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/83b24285fa79...c56f70ba3b49
814: [15:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5443455
815: [15:53:00] * travis-ci has left #silverstripe
816: [15:53:00] <Zauberfisch> yay
817: [15:53:00] <Zauberfisch> I was right
818: [15:53:00] * lenix has joined #silverstripe
819: [15:53:00] * priithansen has left #silverstripe
820: [15:53:00] <Zauberfisch> hui
821: [15:53:00] * Fritz_ quit (Ping timeout: 264 seconds)
822: [15:54:00] * spronk2 has joined #silverstripe
823: [15:54:00] * Fritz_ has joined #silverstripe
824: [15:54:00] * spronk2_ quit (Ping timeout: 264 seconds)
825: [15:54:00] <micmania1> g4b0: are you trying to write to the published version? I have a feeling writeWithoutVersion only writes to the staged version.
826: [15:56:00] <g4b0> Ok, that's the problem :)
827: [16:01:00] <micmania1> Versioned::set_reading_mode() augments the query to bring back the correct staged version. It might be worth testing to see if it works for writing too?
828: [16:05:00] <g4b0> it goes ahed by 4 versions
829: [16:05:00] <g4b0> problem*
830: [16:05:00] <g4b0> when I publish a page
831: [16:05:00] <g4b0> mmm I think I have another problm
832: [16:06:00] <g4b0> mybe some extensions is working in the background...
833: [16:07:00] <micmania1> The first time you publish? I noticed that mine done that too.
834: [16:08:00] <g4b0> which SS version?
835: [16:08:00] <g4b0> I'm using SS 3.1.0-beta2
836: [16:08:00] <g4b0> not also the first time, but also when editing
837: [16:09:00] <UncleCheese> doesn't die!
838: [16:09:00] <UncleCheese> class MyClass { } die('foo');
839: [16:09:00] <UncleCheese> have you guys noticed that you can't put executable code outside the class definition anymore?
840: [16:11:00] <g4b0> Is MyClass loaded?
841: [16:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
842: [16:17:00] <g4b0> how can I iterate through class extensions?
843: [16:18:00] <micmania1> Try $this->getExtensionInstances()
844: [16:19:00] <micmania1> Checkout this: http://open.silverstripe.org/ticket/8308 - It may be your issue.
845: [16:19:00] <micmania1> I found this a few days ago but I've been sidetracked with another job.
846: [16:19:00] <g4b0> thanks
847: [16:23:00] * Zauberfisch|idle has joined #silverstripe
848: [16:28:00] <g4b0> mmm, I don't think it's my issue...
849: [16:28:00] <g4b0> everithing is going well
850: [16:29:00] <g4b0> but 4 versions are created on each publish
851: [16:33:00] * lx-berlin has left #silverstripe
852: [16:35:00] * Shrike_Finland has joined #silverstripe
853: [16:36:00] * svandragt quit (Ping timeout: 272 seconds)
854: [16:37:00] <g4b0> how can I set my local SS copy to branch 3.1.0-beta2?
855: [16:38:00] <micmania1> depends how you have it setup. I'm still not too familiar with composer but with git you can cd into the framework directory and git checkout 3.1.0-beta2
856: [16:38:00] * Guits has joined #silverstripe
857: [16:40:00] <g4b0> how can I checkout it>
858: [16:40:00] <g4b0> wait: 3.1.0-beta2 is a tag
859: [16:40:00] <g4b0> not a branch
860: [16:40:00] <g4b0> ?
861: [16:41:00] * feejin has joined #silverstripe
862: [16:43:00] <micmania1> you should still be able to checkout I think.
863: [16:44:00] <g4b0> I don't konw how...
864: [16:45:00] * Zauberfisch quit (Ping timeout: 245 seconds)
865: [16:45:00] <micmania1> just the same as a branch. git checkout [branch_name]
866: [16:45:00] <micmania1> Do you have it setup as a git submodule?
867: [16:48:00] <g4b0> ok, it did it!
868: [16:48:00] <g4b0> thanks a lot
869: [16:48:00] <g4b0> tag are a sort of bookmarks, right?
870: [16:51:00] * jcwacky quit (Quit: jcwacky)
871: [16:53:00] <Shrike_Finland> Hi! Is there an easy way to translate tabs: $fields->addFieldToTab('Root.Headings', new TextField("Subtitle", _t('Content.SUBTITLE','Subtitle'))); I'd like to make Headings translatable in this case. Can it be translated on language file and called form there?
872: [16:55:00] <priithansen> that's how it's done in the newsletter module
873: [16:55:00] <priithansen> $fields->push(new TabSet("Root", $mainTab = new Tab("Main"))); $mainTab->setTitle(_t('SiteTree.TABMAIN', "Main"));
874: [16:55:00] <feejin> tags are for significant releases. and are sort of like bookmarks. such is my understanding anyway.
875: [16:56:00] <Shrike_Finland> Ok, thanx. I'll test that style.
876: [16:57:00] <Shrike_Finland> SiteTree must be located in mysite/lang as yml-file?
877: [16:57:00] <micmania1> http://stackoverflow.com/questions/1457103/what-is-the-difference-between-a-tag-and-a-branch-in-git - There's a good explanation.
878: [17:00:00] * g4b0 quit (Quit: Sto andando via)
879: [17:14:00] <FrozenFire> So I've got the weirdest error I've ever seen. And I've seen some doozies.
880: [17:14:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
881: [17:15:00] <FrozenFire> Fatal error: Cannot call constructor
882: [17:15:00] <FrozenFire> I'm using the smtp module
883: [17:16:00] <FrozenFire> https://github.com/xeraa/silverstripe-smtp/blob/master/code/SmtpMailer.php#L12 Error is emitted here
884: [17:19:00] <catcher> What's the cleanest way to grant CRUD access to a group for a whole bunch of custom dataobjects? I'm trying to avoid duplicating a bunch of canX() methods.
885: [17:20:00] <FrozenFire> Good luck.
886: [17:20:00] <FrozenFire> That's a problem I've tried to solve for some time now.
887: [17:20:00] <FrozenFire> DataObject needs a static $default_permission or something
888: [17:20:00] <catcher> ugh, it's so ugly
889: [17:21:00] <FrozenFire> Then DataObject::canX can use Permission::check(static::$default_permission, 'any', $member);
890: [17:22:00] <catcher> Off to repeat myself in the meantime.
891: [17:25:00] * zfmf has left #silverstripe
892: [17:26:00] <FrozenFire> https://github.com/silverstripe/sapphire/commit/fb076c039647980f197705cbcf5fd3c00abe2b67 chillu, you broke BC.
893: [17:26:00] <FrozenFire> Badly.
894: [17:26:00] <FrozenFire> So badly that I just spent an hour of my life tracking down your BC-break -.-
895: [17:26:00] <FrozenFire> Mailer no longer extends Object
896: [17:26:00] <FrozenFire> So Mailer no longer has a constructor
897: [17:26:00] <FrozenFire> So anything extending Mailer that calls parent::__construct (as Object would likely demand) will throw fatal errors
898: [17:27:00] * kinglozzer quit (Remote host closed the connection)
899: [17:29:00] <chillu> FrozenFire: I'm sorry your upgrade to a pre-release 3.1 version isn't going as smoothly as you hoped, and will try to be more specific in the commit message next time. I'm also surprised it took you an hour to track this down, given that PHP is pretty clear in that specific error message :)
900: [17:30:00] * Pigeon has joined #silverstripe
901: [17:30:00] * Pigeon is now known as Guest98988
902: [17:31:00] <FrozenFire> There's absolutely no reason that I can see to break BC in that case.
903: [17:31:00] <FrozenFire> And the error message is most certainly *not* clear.
904: [17:31:00] <FrozenFire> chillu, Has nothing to do with upgrading.
905: [17:31:00] * Guest9609 quit (Ping timeout: 252 seconds)
906: [17:32:00] <FrozenFire> It's not obvious that you removed the ancestry of Mailer.
907: [17:32:00] <FrozenFire> So it's not obvious that the constructor is now missing
908: [17:32:00] <FrozenFire> And the fact that I had two other developers helping me to track it down, tends to indicate that it's a bad BC break.
909: [17:32:00] <chillu> OK, I'm going back to improving the CMS now :)
910: [17:33:00] <FrozenFire> o.O
911: [17:33:00] <FrozenFire> That's a pretty bad attitude about it.
912: [17:33:00] <FrozenFire> "Oh, thanks FrozenFire. I'll fix this enormous BC break now."
913: [17:34:00] * UncleCheese quit (Quit: UncleCheese)
914: [17:34:00] * zfmf has joined #silverstripe
915: [17:35:00] * waveydave has left #silverstripe
916: [17:35:00] * UncleCheese has joined #silverstripe
917: [17:35:00] * UncleCheese quit (Client Quit)
918: [17:36:00] * feejin quit (Remote host closed the connection)
919: [17:37:00] * micmania1 quit (Ping timeout: 245 seconds)
920: [17:41:00] * Zauberfisch has joined #silverstripe
921: [17:42:00] * FrozenFire reads through that commit a bit more
922: [17:42:00] <FrozenFire> That's a huge bit of WTF, to be frank
923: [17:43:00] <FrozenFire> The hell is that?
924: [17:43:00] <FrozenFire> https://github.com/silverstripe/sapphire/commit/7327f120aa530780854bac4ed472c2d96c2362a7#L0R434
925: [17:43:00] <FrozenFire> Almost seems like internal SS-company stuff is making its way into the framework
926: [17:51:00] <Guest98988> FrozenFire: lol
927: [17:54:00] * chxn has joined #silverstripe
928: [17:57:00] <Guest98988> FrozenFire: I am with chillu on your issue though, taking an hour to track that down it quite embarassing - also, changes of APIs shouldn't be unexpected when you're moving to a major version upgrade
929: [17:58:00] <FrozenFire> https://github.com/silverstripe/sapphire/pull/1278
930: [17:58:00] <FrozenFire> Guest98988, Major version upgrade?
931: [17:58:00] <FrozenFire> I checked out 3.1
932: [17:59:00] <FrozenFire> As for it taking so long, ordinarily I don't assume incompetence on the part of framework maintainers, as far as BC goes.
933: [17:59:00] <FrozenFire> There was no reason to remove the Object ancestry.
934: [17:59:00] <Guest98988> it's pre-release, no? and why should it extend object?
935: [18:00:00] <FrozenFire> For BC.
936: [18:01:00] <FrozenFire> And a huge loss of BC if it doesn't.
937: [18:01:00] <Guest98988> backwards compatibility?
938: [18:01:00] <FrozenFire> There is absolutely no loss in performance for Mailer extending Object.
939: [18:01:00] <FrozenFire> To deal with that in a module, one has to do really stupid shit in the constructor of anything that extends it
940: [18:01:00] <Guest98988> "There is absolutely no loss in performance for Mailer extending Object." wut?
941: [18:01:00] <FrozenFire> Because you have to call Object's constructor in 3.0x
942: [18:02:00] <FrozenFire> And you cannot call it in 3.1 unless they add either a constructor to Mailer, or reintroduce the ancestry.
943: [18:02:00] <Guest98988> or use a 3.1 compatible module..
944: [18:02:00] <Guest98988> anyway... lets see if that patch gets accepted
945: [18:03:00] <Guest98988> you should probably patch the module, tbh
946: [18:03:00] <FrozenFire> Doubtful. Given chillu's previous attitude, he'll probably reject it out of spite.
947: [18:03:00] <Guest98988> don't expect your patch to be accepted. if it's a really big issue, raise it on the mailing list
948: [18:03:00] <FrozenFire> Which seriously makes me consider switching to another framework, in spite of all of my investment in using it.
949: [18:03:00] <FrozenFire> I've patched my fork of the module.
950: [18:04:00] <Guest98988> FrozenFire: chillu is not a spiteful man, he's very well reasoned and usually makes very sensible decisions even when everyone around him may be pushing for something different
951: [18:04:00] <FrozenFire> But that requires a really stupid hack
952: [18:04:00] <FrozenFire> Meh. I just have a bad taste in my mouth.
953: [18:04:00] <FrozenFire> Broke BC and then responded rather poorly when it was brought up.
954: [18:04:00] <Guest98988> what? removing 'parent::__construct()' ?
955: [18:04:00] <FrozenFire> One cannot simply remove parent::__construct to fix that.
956: [18:05:00] <FrozenFire> The module is used in 2.4, 3.0, and 3.1
957: [18:05:00] <FrozenFire> I have to add if(method_exists(get_parent_class($this), "__construct")) parent::__construct();
958: [18:06:00] <Guest98988> you only add that if you're trying to provide compatability for 2 versions of SS in one version of a module
959: [18:06:00] <FrozenFire> So I should have to maintain multiple branches of a module for multiple versions... because they want to break BC randomly and without good reason?
960: [18:09:00] * SightUnseen has joined #silverstripe
961: [18:09:00] * SightUnseen has left #silverstripe
962: [18:09:00] * chxn quit (Quit: Computer has gone to sleep.)
963: [18:09:00] <Guest98988> also, chillu is incredibly busy, so he may not be as sympathetic as you'd like, but he can't help everyone that has an issue with every change with the core. I have pleanty and accept they need to be worked with and try to patch where reasonable. but I do appreciate that it's frustrating. but, 3.1 is pre-release, so you can't expect release modules to work with it at the moment
964: [18:09:00] <FrozenFire> To be utterly frank, that's a silly thing to say.
965: [18:10:00] <FrozenFire> I get that they're busy.
966: [18:10:00] <FrozenFire> I don't expect a pre-release version to be stable, necessarily.
967: [18:10:00] <FrozenFire> That's not going to change before release, unless they go "Oops, yeah. BC break."
968: [18:10:00] <FrozenFire> I don't expect new features to work flawlessly.
969: [18:10:00] <FrozenFire> But breaking BC on a core component in a minor version is ridiculous.
970: [18:11:00] <Guest98988> 3.0.5 is minor
971: [18:11:00] <FrozenFire> Not "Okay, thanks. I'll look into it when I get a chance"
972: [18:11:00] <FrozenFire> That's fine. I can sympathize. It's the response that bugs me.
973: [18:11:00] <Guest98988> 3.1 is major, not minor
974: [18:12:00] <FrozenFire> Uhh, that's wrong. Sorry.
975: [18:12:00] <FrozenFire> Any sane project maintains BC within a major version
976: [18:12:00] <FrozenFire> The third number is the revision
977: [18:12:00] <FrozenFire> 1 is the minor
978: [18:12:00] <FrozenFire> 3 is the major
979: [18:13:00] <FrozenFire> Will break *internal* BC in a minor, but not break API BC.
980: [18:13:00] <Shrike_Finland> I do not get this… How in this case I should translate tabs like Image&video? Could someone give me an example, what is the most efficient and right way to do it. http://www.sspaste.com/paste/show/513f6f0da2a38
981: [18:13:00] <FrozenFire> They're not very good at BC, then.
982: [18:13:00] <Guest98988> 1.9.0 removed .toggle
983: [18:13:00] <Guest98988> FrozenFire: jQuery, the god of BC doesn't do that
984: [18:13:00] <Guest98988> and always removes loads of crap in 'minor' upgrades
985: [18:14:00] <Guest98988> WillM here
986: [18:14:00] <FrozenFire> The PHP project, which is an actual god of BC, does as I said.
987: [18:14:00] <Guest98988> yo dude
988: [18:15:00] <FrozenFire> Wat
989: [18:15:00] <FrozenFire> Not sure who willm is. Never heard of them.
990: [18:15:00] <Guest98988> you're wrong, they gave loads of warning through deprecation messages
991: [18:15:00] <Guest98988> <3 Resig fo' lyfe
992: [18:16:00] <Guest98988> but yer, jQuery sets the standard on ridiculous BC, so to say they're not good at it, is pretty nuts
993: [18:16:00] <FrozenFire> I'm not saying they're bad at BC. But per your example, that's bad BC.
994: [18:16:00] <FrozenFire> If you're correct in your example.
995: [18:16:00] <FrozenFire> I tend to suspect you're not.
996: [18:16:00] <FrozenFire> And not sure what you'res speaking of as far as warning
997: [18:16:00] <Guest98988> sorry, that was someone else
998: [18:17:00] <FrozenFire> That commit was retarded.
999: [18:17:00] <FrozenFire> I'll leave it at that.
1000: [18:17:00] * gelignite has joined #silverstripe
1001: [18:17:00] <FrozenFire> Anyways, I've got shit to get done.
1002: [18:17:00] <FrozenFire> That BC break not being fixed will be a pretty huge failure on the project's part, in my mind
1003: [18:19:00] <Guest98988> Shrike_Finland: http://doc.silverstripe.org/framework/en/topics/i18n#the-t-function
1004: [18:19:00] <Guest98988> Thanks
1005: [18:19:00] <Guest98988> FrozenFire: http://jquery.com/upgrade-guide/1.9/#toggle-function-function-removed
1006: [18:20:00] * azureKnight has joined #silverstripe
1007: [18:20:00] <FrozenFire> They didn't remove toggle.
1008: [18:20:00] <FrozenFire> They removed a very particular call signature.
1009: [18:20:00] <Guest98988> FrozenFire: removed .browser then http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed
1010: [18:21:00] <Guest98988> FrozenFire: how about .live() http://jquery.com/upgrade-guide/1.9/#live-removed
1011: [18:21:00] <FrozenFire> jQuery also follows a different release numbering system.
1012: [18:21:00] <FrozenFire> Same with .live
1013: [18:21:00] <FrozenFire> .browser has a deprecation notice for several minor versions.
1014: [18:21:00] <Guest98988> I can go all day
1015: [18:22:00] <FrozenFire> That is not the case for SS
1016: [18:22:00] <FrozenFire> They rely more on revision numbers
1017: [18:22:00] <Guest98988> FrozenFire: I know. my point is if you think that upgrading from y.n to y.n+1 should be a simple drop in replacement, you're wrong
1018: [18:22:00] <Guest98988> wtv, if you tihnk 3.1 is a minor release, or minor upgrade, no wonder you come accross these issues
1019: [18:23:00] <Guest98988> same for 3.0 - 3.1
1020: [18:23:00] <FrozenFire> As far as the framework goes, 3.1 is a minor release.
1021: [18:23:00] * gelignite quit (Ping timeout: 260 seconds)
1022: [18:23:00] <FrozenFire> It introduces minor stability and functionality changes.
1023: [18:23:00] <Guest98988> we'd never upgrade a 2.3 to a 2.4 site as part of a retainer for keeping the site up-to-date, it'd be a new project
1024: [18:25:00] <Guest98988> anyway, this conversation is getting rather ridiculous
1025: [18:25:00] <Guest98988> have you used the CMS in 3.0 v 3.1? its not minor func
1026: [18:26:00] * simon_w|air has joined #silverstripe
1027: [18:26:00] <FrozenFire> I don't care about BC in the CMS. Nobody sane writes dependent code for the CMS.
1028: [18:26:00] <FrozenFire> I'm talking about the framework.
1029: [18:26:00] <Guest98988> lol, and with those words, i think that's all we need to hear
1030: [18:27:00] <FrozenFire> But the CMS interface is not something that people write a whole lot of dependent code against.
1031: [18:27:00] <FrozenFire> Well, I suppose that depends on what you mean by the CMS.
1032: [18:27:00] <FrozenFire> Yes, I write dependent code against SiteTree and whatnot.
1033: [18:27:00] <FrozenFire> And I'd expect BC in that regard.
1034: [18:28:00] <FrozenFire> And the CMS functionality hasn't changed a whole lot
1035: [18:29:00] * Bollig|DesignCty has joined #silverstripe
1036: [18:39:00] * zfmf has left #silverstripe
1037: [18:46:00] <FrozenFire> Heh. Funny enough, I now have a CMS interface change which screws with my projects in 3.1
1038: [18:47:00] <FrozenFire> Some sort of Javascript is being loaded which messes with my DataObject CMS field interfaces, which have Title, MenuTitle and URLSegment fields.
1039: [18:47:00] <FrozenFire> Since they're semi-transient items on the SiteTree.
1040: [19:05:00] * ipalete has joined #silverstripe
1041: [19:11:00] <ipalete> i am not sure if this is the right place, but i am looking for help with an error we are getting "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 381263504 bytes) in Unknown on line 0" - Our server meets all the requirements but I can't figure out why silverstripe wants 300MB of memory.
1042: [19:11:00] * irogue quit (Ping timeout: 256 seconds)
1043: [19:14:00] <FrozenFire> ipalete, In what situations does it try to allocate that memory?
1044: [19:14:00] <ipalete> Both on the front end and the CMS. I am not able to login.
1045: [19:14:00] <FrozenFire> You might be hitting an infinite loop somewhere with a memory leak.
1046: [19:14:00] <FrozenFire> Or just on certain pages?
1047: [19:14:00] <FrozenFire> Always?
1048: [19:15:00] <ipalete> what's driving me crazy is it works fine our dev server, but not on the live server.
1049: [19:15:00] <ipalete> i think i saw a mention of that in the forum. I tried installing a base configuartion we use and got the same error. 2.4.3
1050: [19:15:00] <FrozenFire> What version of SS are you running?
1051: [19:16:00] * ARNHOE has joined #silverstripe
1052: [19:16:00] <FrozenFire> You might want to upgrade your CMS/framework to 2.4.10
1053: [19:16:00] <FrozenFire> Ah, that narrows the problem down a bit, knowing it's 2.4
1054: [19:17:00] <ipalete> great I'll give it a whurl
1055: [19:17:00] <FrozenFire> Be sure to keep backups and whatnot, of course.
1056: [19:17:00] <ipalete> ok
1057: [19:22:00] * jerry_ has joined #silverstripe
1058: [19:23:00] * chxn has joined #silverstripe
1059: [19:24:00] <jerry_> hi all ... is there a documentation on how to include/exclude columns on ModelAdmin Search Result?
1060: [19:25:00] <jerry_> or do you know how to do it? ;)
1061: [19:33:00] * Nivery has joined #silverstripe
1062: [19:38:00] <simon_w|air> jerry_, summary_fields on the data object. http://doc.silverstripe.org/framework/en/reference/modeladmin#result-columns
1063: [19:39:00] * nickmolhoek has joined #silverstripe
1064: [19:39:00] * nickmolhoek quit (Remote host closed the connection)
1065: [19:39:00] * nickmolhoek has joined #silverstripe
1066: [19:43:00] <jerry_> simon: Thank you! Let me read that page
1067: [19:44:00] * Pyromanik has joined #silverstripe
1068: [19:47:00] <jerry_> Simon: It works! I've been searching/googling for a few hours for this one
1069: [19:48:00] * lx-berlin has joined #silverstripe
1070: [19:49:00] * DigNZ has joined #silverstripe
1071: [19:49:00] * DigNZ has joined #silverstripe
1072: [19:49:00] * DigNZ quit (Remote host closed the connection)
1073: [19:50:00] * irogue has joined #silverstripe
1074: [19:50:00] * Stomach has joined #silverstripe
1075: [19:54:00] <jerry_> Simon: again ... thank you! :-)
1076: [19:56:00] * Guest98988 quit (Ping timeout: 264 seconds)
1077: [19:56:00] * Pigeon has joined #silverstripe
1078: [19:57:00] * Pigeon is now known as Guest93097
1079: [19:59:00] * aaron1245 has joined #silverstripe
1080: [20:03:00] * ARNHOE quit (Remote host closed the connection)
1081: [20:08:00] * willr has joined #silverstripe
1082: [20:11:00] * Colin[pi] has joined #silverstripe
1083: [20:24:00] <simon_w|air> Yay! It got merged!
1084: [20:25:00] <Pyromanik> you block the ajax request from external sources
1085: [20:25:00] <Pyromanik> I want to embed your availability calendar
1086: [20:25:00] <Pyromanik> dear holidayhomes.co.nz
1087: [20:26:00] <Pyromanik> to be fair.
1088: [20:26:00] <Pyromanik> and the iframe that I found accidentally after someone had pasted it into their listing
1089: [20:26:00] <Pyromanik> But the iframe is super butt ugly and there is ZERO information on customising this.
1090: [20:26:00] <FrozenFire> Might even just be the browser doing it.
1091: [20:26:00] <FrozenFire> Isn't that just basic anti-CSRF?
1092: [20:26:00] <Pyromanik> FrozenFire, yeh.
1093: [20:27:00] <Pyromanik> for which they apparently supply iframe embed code
1094: [20:27:00] <FrozenFire> Yes.
1095: [20:27:00] <Pyromanik> FrozenFire, nah, I dumped it in an iframe, it loads the page but gives me "problem" message
1096: [20:27:00] <willr> Pyromanik you can't ajax other webpages
1097: [20:27:00] <FrozenFire> Also, they probably should block it intentionally. :P
1098: [20:27:00] <simon_w|air> Time to compile PHP on this laptop too!
1099: [20:27:00] <Pyromanik> willr, I'm not ajaxing another webpage, I'm iframing the ajax request :<
1100: [20:27:00] <FrozenFire> Otherwise you're just scraping their info and removing their advertising profits.
1101: [20:27:00] <Pyromanik> FrozenFire, yeh, basically.
1102: [20:27:00] <Pyromanik> but this is an availability calendar
1103: [20:27:00] <FrozenFire> That's what they do. :P
1104: [20:28:00] <Pyromanik> no it's stupid
1105: [20:28:00] <Pyromanik> imagine if you coudln't embed youtube videos.
1106: [20:28:00] <FrozenFire> No, it's smart. They're protecting their profits.
1107: [20:28:00] <Pyromanik> NO ONE WOULD USE IT
1108: [20:28:00] <Pyromanik> how?
1109: [20:28:00] <FrozenFire> You can't embed Youtube videos.
1110: [20:28:00] <FrozenFire> You can embed their player.
1111: [20:28:00] <Pyromanik> same shit
1112: [20:28:00] <FrozenFire> Which they control, and get to put ads in.
1113: [20:28:00] <FrozenFire> Nope. It'd be like trying to access Youtube's video files.
1114: [20:28:00] <Pyromanik> I mean, I get that I can't ajax it
1115: [20:28:00] <FrozenFire> No, that's smart.
1116: [20:28:00] <Pyromanik> but that's just stupid.
1117: [20:28:00] <Pyromanik> yeah
1118: [20:29:00] <Pyromanik> youtube is a bad analogy because money doesn't come from posters.
1119: [20:29:00] <Pyromanik> nah
1120: [20:29:00] <Pyromanik> customer still pays to use the backend
1121: [20:29:00] <Pyromanik> manage their bookings
1122: [20:29:00] <Pyromanik> etc
1123: [20:29:00] <FrozenFire> It'd be like trying to access the TV show content directly from your cable provider.
1124: [20:29:00] <FrozenFire> Yes, you pay for the service.
1125: [20:30:00] <FrozenFire> But they also augment the cost of the service using advertising.
1126: [20:30:00] * jerry_ quit (Ping timeout: 245 seconds)
1127: [20:31:00] <Pyromanik> Don't get me wrong, I see your point, but you're wrong.
1128: [20:31:00] <Pyromanik> as are people with this business model.
1129: [20:31:00] <Pyromanik> NO THE DATA IS MINE, ALL MINES
1130: [20:31:00] <FrozenFire> "I agree with you in principle, but I NEED TO BE THE EXCEPTION"
1131: [20:31:00] <Pyromanik> YOU CANNOT USE IT EXCEPT ON MY SITE
1132: [20:31:00] <FrozenFire> XD
1133: [20:31:00] <Pyromanik> even when the purpose of their service is to support others
1134: [20:32:00] <FrozenFire> A hotel availability/pricing listing site, where hoteliers can enter their info for others to find.
1135: [20:32:00] <irogue> i think something is being lost in translation here
1136: [20:32:00] <FrozenFire> I've actually worked on a project which was exactly like that site.
1137: [20:33:00] <FrozenFire> But not for free.
1138: [20:33:00] <FrozenFire> I can't imagine letting others scrape my content.
1139: [20:33:00] <FrozenFire> That'd be a complete loss for me.
1140: [20:33:00] <FrozenFire> I'd maybe let individual hotels pay for a service that lets them access their information back out of the system
1141: [20:33:00] <irogue> the website is supplying embed code
1142: [20:33:00] <FrozenFire> Yes. They want you to embed it, but they want to maintain control over it.
1143: [20:33:00] <irogue> so they obviously want you to embed their shit
1144: [20:34:00] <Pyromanik> I presume if I was the owner of the property I could generate & customise it
1145: [20:34:00] <Pyromanik> but there is 0 documentation on it
1146: [20:34:00] <Pyromanik> irogue is right
1147: [20:34:00] <FrozenFire> Which they can sell back to their clients.
1148: [20:34:00] <FrozenFire> If nothing else, they get analytics information
1149: [20:35:00] <irogue> or not, lol
1150: [20:35:00] <FrozenFire> Middlemen would be stupid to cut themselves out of the picture, but still be providing the service. :P
1151: [20:35:00] <irogue> amazing how many sites provide embed code and such without any documentation
1152: [20:35:00] <Pyromanik> irogue, well, I've found one and only one reference to embedding at all
1153: [20:35:00] <Pyromanik> mmm
1154: [20:35:00] <Pyromanik> I tried visiting that iframe url directly
1155: [20:35:00] <Pyromanik> irogue, and that was here (read desc) http://www.holidayhouses.co.nz/properties/9474.asp
1156: [20:36:00] <Pyromanik> I guess another question is: is there another way to style content IN iframes?
1157: [20:36:00] <Pyromanik> irogue, exactly
1158: [20:36:00] <irogue> ew
1159: [20:36:00] <Pyromanik> got a "you just brokeded the mainframe" error
1160: [20:36:00] <irogue> ugly as sin
1161: [20:36:00] <irogue> http://www.holidayhouses.co.nz/calendar_external.asp?id=9474&colour=aaccff
1162: [20:36:00] <Pyromanik> SO UGLY
1163: [20:36:00] <Pyromanik> want to customise, not just change background colour
1164: [20:37:00] * Guits quit (Ping timeout: 252 seconds)
1165: [20:37:00] * UndefinedOffset quit (Quit: Leaving.)
1166: [20:37:00] <Pyromanik> I know js can break out of frames
1167: [20:37:00] <Pyromanik> can css?
1168: [20:37:00] <FrozenFire> JS cannot break out of frames...
1169: [20:37:00] <Pyromanik> like a sneaky burglar that steals nothing but rearranges all your furniture.
1170: [20:37:00] <Pyromanik> or rather, break in?
1171: [20:38:00] <FrozenFire> You cannot manipulate the parent from the frame.
1172: [20:38:00] <Pyromanik> window.parent?
1173: [20:38:00] <Colin[pi]> I think I've done it on recaptcha Pyromanik? but it might have been AJAX and not a frame
1174: [20:38:00] <FrozenFire> That's a very, very, very limited "interface"
1175: [20:38:00] <Pyromanik> ic
1176: [20:38:00] <FrozenFire> A frame is a secure context.
1177: [20:38:00] <FrozenFire> You cannot manipulate a frame's content from the parent.
1178: [20:38:00] <irogue> due to their lack of customisation
1179: [20:38:00] <irogue> i think you're just gonna have to scrape
1180: [20:38:00] <Pyromanik> it still has an interface for parent.
1181: [20:38:00] <FrozenFire> Kinda-sorta.
1182: [20:39:00] <Pyromanik> :P
1183: [20:39:00] <Pyromanik> :
1184: [20:39:00] <irogue> therefore taking away their control and analytics
1185: [20:39:00] <Pyromanik> and what simon_w|air said.
1186: [20:39:00] * Guest93097 quit (Ping timeout: 248 seconds)
1187: [20:39:00] <Pyromanik> "BISHES, Y U SO UGLY!?"
1188: [20:39:00] <FrozenFire> Yeah, true.
1189: [20:39:00] <simon_w|air> So long as domains, protocols and ports match
1190: [20:39:00] <FrozenFire> That's irrelevant, though.
1191: [20:39:00] * PigeonFriend has joined #silverstripe
1192: [20:39:00] <simon_w|air> Yes you can
1193: [20:39:00] <FrozenFire> It can do thinks like redirect the parent.
1194: [20:39:00] <FrozenFire> Yeah, just create a controller which handles the request.
1195: [20:39:00] <Pyromanik> irogue, yeah, or you could tweet them for me?
1196: [20:39:00] <Pyromanik> simon_w|air, yeah... basically scrape :<
1197: [20:39:00] <simon_w|air> Pyromanik, one way to do it would be to proxy the request through your server
1198: [20:40:00] * FrozenFire throws up
1199: [20:40:00] <simon_w|air> Pyromanik, public function proxythatthing() { readfile('that url'); }, then JS to your heart's content
1200: [20:41:00] <Pyromanik> I don't want to JS, just wanna style
1201: [20:41:00] <Pyromanik> :<
1202: [20:42:00] <Pyromanik> 500!
1203: [20:42:00] <Pyromanik> An error occurred on the server when processing the URL. Please contact the system administrator.
1204: [20:42:00] <Pyromanik> If you are the system administrator please click here to find out more about this error.
1205: [20:42:00] <Pyromanik> heheheeeheh
1206: [20:42:00] <FrozenFire> o.O
1207: [20:42:00] <FrozenFire> Oh, yeah.
1208: [20:43:00] <Pyromanik> FrozenFire, yeh
1209: [20:43:00] <FrozenFire> You didn't specify an ID :P
1210: [20:43:00] <Pyromanik> SPARTANS!
1211: [20:44:00] <irogue> their competitor has an API
1212: [20:45:00] * zfmf has joined #silverstripe
1213: [20:45:00] <Pyromanik> irogue, they probably do too, it's a tardme site
1214: [20:45:00] <Pyromanik> just, can't find a reference for it anywheres
1215: [20:46:00] <Pyromanik> i c
1216: [20:46:00] <Pyromanik> the 500 says so
1217: [20:46:00] <Pyromanik> it is
1218: [20:46:00] <irogue> appears to still be in asp classic
1219: [20:46:00] <irogue> tardme bought it, didnt make it
1220: [20:47:00] <FrozenFire> Paraphrased as "fuck off"
1221: [20:47:00] <irogue> at which point it'll have API
1222: [20:47:00] <FrozenFire> Pyromanik, Also, lollercopter.
1223: [20:47:00] <Pyromanik> FrozenFire, ?
1224: [20:47:00] <FrozenFire> They will refuse your access, methinks.
1225: [20:47:00] <Pyromanik> you can't load that page?
1226: [20:47:00] <Pyromanik> access to what?
1227: [20:47:00] <FrozenFire> I tried doing my own quick scrape, for shits and giggles.
1228: [20:47:00] <Pyromanik> api?
1229: [20:47:00] <FrozenFire> Of http://www.holidayhouses.co.nz/calendar_external.asp?id=9474
1230: [20:47:00] <Pyromanik> and?
1231: [20:47:00] <FrozenFire> This is what they returns:
1232: [20:47:00] <FrozenFire> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
1233: [20:47:00] <FrozenFire> <html><body><p>http://www.holidayhouses.co.nz/calendar_external.asp?id=9474</p></body></html>
1234: [20:47:00] <irogue> they'll likely merge it into trademe's systems at some point
1235: [20:48:00] <FrozenFire> So I checked what I was getting back from the load
1236: [20:48:00] <FrozenFire> And couldn't figure out why I wasn't getting a result
1237: [20:48:00] <FrozenFire> Well, I was doing http://www.sspaste.com/paste/show/513f94992b4ab
1238: [20:48:00] <Pyromanik> FrozenFire, how did you attempt this?
1239: [20:48:00] <FrozenFire> That.
1240: [20:49:00] <FrozenFire> I think I'm being a dolt
1241: [20:49:00] <Pyromanik> heh
1242: [20:49:00] <FrozenFire> Oh wait...
1243: [20:49:00] <FrozenFire> Hrmm...
1244: [20:49:00] <FrozenFire> I was using loadHTML
1245: [20:49:00] <FrozenFire> Instead of loadHTMLFile
1246: [20:49:00] <irogue> http://livedocs.bookabach.co.nz/api-v2/listings
1247: [20:49:00] <irogue> ^ competitor wins
1248: [20:49:00] <FrozenFire> Yeah, I was being a dolt.
1249: [20:50:00] <FrozenFire> Ignore my prior dolting.
1250: [20:50:00] <Pyromanik> irogue, the best API's are the ones that don't require auth.
1251: [20:50:00] <simon_w|air> Well, if you don't cache it
1252: [20:50:00] <Pyromanik> there's no particular reason it could detect a scrape other than user agent right?
1253: [20:50:00] <Pyromanik> FrozenFire, I thought so :P
1254: [20:51:00] <irogue> and something written in asp classic, probably isn't going to be written well enough to detect scraping :-P
1255: [20:51:00] <Pyromanik> you mean if you don't cache it and ream their server they'll probably do something about it? yeh, that makes sense.
1256: [20:51:00] <Pyromanik> simon_w|air, ?
1257: [20:52:00] * eddiemonge has joined #silverstripe
1258: [20:52:00] * FrozenFire wonders how he let himself get sucked into trying to scrape HTML
1259: [20:52:00] * travis-ci has left #silverstripe
1260: [20:52:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5452177
1261: [20:52:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/c56f70ba3b49...362ca9b4d57e
1262: [20:52:00] <travis-ci> [travis-ci] silverstripe/sapphire#1618 (3.1 - 362ca9b : Sam Minnée): The build is still failing.
1263: [20:52:00] * travis-ci has joined #silverstripe
1264: [20:52:00] <Pyromanik> also irogue, api's are all well and good, but the simpler the better. iframes like youtube does it is the way for non-devs I think.
1265: [20:52:00] <FrozenFire> This is true
1266: [20:52:00] <irogue> you fell into Pyromanik's trap, Fritz_
1267: [20:52:00] <irogue> * FrozenFire
1268: [20:52:00] <Pyromanik> hahahaha
1269: [20:52:00] <irogue> hahaha
1270: [20:53:00] <FrozenFire> Pyromanik, I'm wrong?
1271: [20:53:00] <Pyromanik> :P
1272: [20:53:00] <simon_w|air> Pyromanik, has been failing for some time
1273: [20:53:00] <Pyromanik> see FrozenFire? Back to that original debate; WRONG.
1274: [20:53:00] <irogue> http://livedocs.bookabach.co.nz/api-v2/price-widget
1275: [20:53:00] <Pyromanik> irogue, nice.
1276: [20:53:00] <Pyromanik> oh noes, a fails!
1277: [20:53:00] <irogue> Pyromanik: they have that too
1278: [20:53:00] <FrozenFire> I've come to terms with always being a little bit wrong.
1279: [20:53:00] <simon_w|air> FrozenFire, always. :p
1280: [20:53:00] <FrozenFire> Regarding what?
1281: [20:53:00] <irogue> good looking one, at that
1282: [20:54:00] <Pyromanik> FrozenFire, nah, not completely wrong. As I said, I can see your point, I just disagree.
1283: [20:54:00] * Nivery quit (Quit: Nivery)
1284: [20:54:00] <Pyromanik> sounds kinda like RIAA
1285: [20:54:00] <FrozenFire> Pyromanik, It is. You're abusing their service. I would not be all that surprised if they block you.
1286: [20:54:00] <irogue> most other NI cities are counting down number of days of water they have left
1287: [20:54:00] * chxn has left #silverstripe
1288: [20:54:00] <FrozenFire> But I don't think I was completely wrong. :P
1289: [20:54:00] <Pyromanik> FrozenFire, that whole debate about "no you shouldn't be able to embed availability infos because it's a bad business model"
1290: [20:54:00] <irogue> well, auckland obviously got something good out of the water crisis back in '94
1291: [20:54:00] <Pyromanik> irogue, ?
1292: [20:55:00] <Pyromanik> massive farm scale irrigation systems every morning keeping the dust down in like, 80% of the city.
1293: [20:55:00] <irogue> Nigel Wilson, who chairs the Wellington region's committee in charge of water supply, said 20 days of water was about all that's left for the people of Wellington, Hutt Valley and Porirua if the heavens did not open soon
1294: [20:55:00] <Pyromanik> meanwhile in christchurch
1295: [20:55:00] <Pyromanik> irogue, haha
1296: [20:55:00] <irogue> auckland still at 68% storage
1297: [20:55:00] <Pyromanik> "NO, YOU MUST PAY, AND NEVER SHOW YOUR FRIENDS, AND WE CAN TAKE YOUR RIGHT TO VIEW AWAY AT ANY TIME, YOU FILTHY PIRATE"
1298: [20:55:00] <FrozenFire> 6.3 You may not use a robot, spider, scraper or other automated means to access the website or information featured on it for any purpose without our express permission.
1299: [20:55:00] <FrozenFire> Bam. Right in the nuts.
1300: [20:56:00] <irogue> But because only one of those lakes was full at present, there would be only 10 days more after that before the 1900m-litre reserve was sucked dry, Mr Wilson said.
1301: [20:56:00] <simon_w|air> irogue, it doesn't help that Wellington is in the process of upgrading half of its reservoirs :p
1302: [20:56:00] <irogue> lol
1303: [20:56:00] <irogue> upgrading half of reservoirs at once seems like a bad idea :P
1304: [20:56:00] <irogue> Almost all the available water in the region's rivers has been exhausted, prompting the council to activate an emergency consent yesterday, which allows it to take an additional 17 million litres or so each day from the Hutt River.
1305: [20:56:00] <irogue> That will buy the council an extra 10 days before it has to tap into its emergency supply in the Stuart Macaskill storage lakes at Te Marua, north of Upper Hutt.
1306: [20:57:00] <simon_w|air> I'm sure they're staggered, but they started with the big ones
1307: [20:57:00] <simon_w|air> earthquake strengthening and all that
1308: [21:09:00] <irogue> ah yep
1309: [21:10:00] <simon_w|air> Hilariously, in a decent earthquake, Wellington would be lucky to have a day's worth of water available
1310: [21:14:00] <FrozenFire> :P
1311: [21:14:00] * FrozenFire recovers his love for chillu
1312: [21:15:00] <chillu> Haha, the merger of all things :D
1313: [21:15:00] * FrozenFire updates his dependencies
1314: [21:16:00] <simon_w|air> Woo, finally got this laptop set up so I can actually do some work
1315: [21:16:00] <chillu> simon_w|air: I'm paranoid even in Germany, got 50L of water stashed in the basement. Read a book about a EU-wide power outage scenario, scaaary - after 7 days, its basically carnage
1316: [21:18:00] <chillu> I probably should get an axe as well :D
1317: [21:18:00] <simon_w|air> chillu, now, change "power outage" to "zombie outbreak"!
1318: [21:21:00] <Pyromanik> you can be like Abraham Lincoln, vampire hunter.
1319: [21:21:00] <Pyromanik> I'm pretty sure if there was a modern society apocalypse, the Amish wouldn't even notice.
1320: [21:23:00] * ipalete quit (Ping timeout: 245 seconds)
1321: [21:24:00] <irogue> left 4 dead 2 has taught me that a Katana is the best option in a zombie apocalypse
1322: [21:32:00] <simon_w|air> Woo, time to move the codebase from NZT to UTC. This is going to be fun.
1323: [21:33:00] <azureKnight> irogue: worthwhile lesson.
1324: [21:36:00] * travis-ci has left #silverstripe
1325: [21:36:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/362ca9b4d57e...1b489eaba6df
1326: [21:36:00] <travis-ci> [travis-ci] silverstripe/sapphire#1619 (3.1 - 1b489ea : Ingo Schommer): The build is still failing.
1327: [21:36:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5453371
1328: [21:36:00] * travis-ci has joined #silverstripe
1329: [21:49:00] <eddiemonge> is there a way to make the admin section not use ajax?
1330: [21:51:00] <Pyromanik> while most elements don't NEED ajax, it is requiered as the interface to access those elements does
1331: [21:51:00] <Pyromanik> no.
1332: [21:52:00] <catcher> you can totally prevent the CMS from using ajax.
1333: [21:52:00] <Pyromanik> in short: stop worrying and learn to love the ajax.
1334: [21:52:00] <catcher> he didn't say anything about using the CMS afterward.
1335: [21:52:00] <Pyromanik> yeah, but should you is the questions.
1336: [21:53:00] <catcher> :-D
1337: [21:53:00] * lx-berlin has left #silverstripe
1338: [21:53:00] <eddiemonge> not to mention its only half way done
1339: [21:53:00] <eddiemonge> it should be returning pure json not html fragments if speed is the reason for it
1340: [21:53:00] <eddiemonge> i want to disable it because its causing issues, like not correctly loading pages and things like that
1341: [21:54:00] <Pyromanik> and no, it shouldn't.
1342: [21:54:00] <eddiemonge> the problem is there is no error
1343: [21:54:00] <Pyromanik> well you should fix the error, rather than hack around it.
1344: [21:54:00] <Pyromanik> eddiemonge, I think that that idea is probably the worst way to fix that issue.
1345: [21:54:00] <eddiemonge> how so?
1346: [21:55:00] <Pyromanik> yeah, but that doesn't make it any less of an error
1347: [21:55:00] <eddiemonge> but its not giving a reason for not doing it
1348: [21:55:00] <Pyromanik> it's "not correctly loading pages and things like that"
1349: [21:55:00] <Pyromanik> yes there is
1350: [21:56:00] <eddiemonge> ok then the error is that the cms is silently failing
1351: [21:56:00] <eddiemonge> 3.0.5
1352: [21:56:00] <Pyromanik> Well I can successfully report that it's something you've done.
1353: [21:56:00] <Pyromanik> or some configuration issue
1354: [21:56:00] <Pyromanik> so what version are you using?
1355: [21:57:00] <Pyromanik> white space
1356: [21:57:00] <simon_w|air> Usually extra whitespace at the start of the request
1357: [21:57:00] <simon_w|air> *response
1358: [21:57:00] <Pyromanik> mm
1359: [21:57:00] <Pyromanik> naughty php close tags
1360: [21:57:00] <Pyromanik> or UTF8 BOM characters
1361: [21:57:00] <Pyromanik> eddiemonge, check the encoding type of your custom code
1362: [21:58:00] <eddiemonge> checked that
1363: [21:59:00] <Pyromanik> eddiemonge, can you upload a screenshot so we can see what you're facing?
1364: [21:59:00] <Pyromanik> eddiemonge, are you using nginx?
1365: [21:59:00] <eddiemonge> heres a good one:
1366: [21:59:00] <eddiemonge> --> <-- everything between those arrows
1367: [21:59:00] <eddiemonge> apache
1368: [21:59:00] <eddiemonge> which leads me to think its a server error but the server is running just fine
1369: [21:59:00] <eddiemonge> if it was something like that it would always fail on that part but it works some of the time
1370: [22:00:00] <eddiemonge> or else the content area doesn't change
1371: [22:00:00] <eddiemonge> i see the request go through and come back
1372: [22:00:00] <Pyromanik> and the request response is entirely between those arrows?
1373: [22:01:00] <Pyromanik> eddiemonge?
1374: [22:02:00] <eddiemonge> i think i figured out part of the problem
1375: [22:03:00] <eddiemonge> errors are set to display all including warnings but none were in the response
1376: [22:03:00] * priithansen has joined #silverstripe
1377: [22:03:00] <eddiemonge> no, issue with not combining the files. changing to live seems to fix it
1378: [22:03:00] <Pyromanik> ah, issue with combined files?
1379: [22:03:00] <Pyromanik> what about javascript errors?
1380: [22:03:00] * priithansen quit (Ping timeout: 255 seconds)
1381: [22:03:00] <Pyromanik> php display errors set to no?
1382: [22:03:00] <eddiemonge> since i was running as "dev" for the ss env it was loading each resource separately and somehow everything was loaded correctly
1383: [22:04:00] <Pyromanik> HA!
1384: [22:04:00] <eddiemonge> so maybe chrome (all browsers) didnt like having to load 50 js files
1385: [22:04:00] <Pyromanik> odd
1386: [22:04:00] <eddiemonge> no js errors either
1387: [22:05:00] <eddiemonge> at some point i think i will "fix" that part of SS.
1388: [22:05:00] <eddiemonge> implement a better script loader. well a script loader in general. switch to using an actual resource management system
1389: [22:05:00] <Pyromanik> bit of a stretch to extend chrome to all browsers
1390: [22:05:00] <Pyromanik> yeah, well that's ok. But Chrome isn't faultless.
1391: [22:05:00] <Pyromanik> define 'fix' ?
1392: [22:05:00] <eddiemonge> well i tried it in multiple browsers
1393: [22:06:00] <Pyromanik> mm, that'd be cool.
1394: [22:06:00] <Pyromanik> and single page applications are crap.
1395: [22:06:00] <Pyromanik> and doesn't pretend to be.
1396: [22:06:00] <Pyromanik> It's NOT a single page application
1397: [22:06:00] <eddiemonge> you prefer html fragments?
1398: [22:06:00] <Pyromanik> NO
1399: [22:06:00] <Pyromanik> don't start returning json, or I'll jump out a window.
1400: [22:06:00] <eddiemonge> turn in it into an actual single page app instead of pretending
1401: [22:06:00] <Pyromanik> but
1402: [22:07:00] <eddiemonge> even has a loading splash as well
1403: [22:07:00] <Pyromanik> nope
1404: [22:07:00] <eddiemonge> and to me a single page app is a website that uses a single page and uses ajax to pull in every thing
1405: [22:07:00] <eddiemonge> ss admin does exactly that
1406: [22:07:00] <Pyromanik> no it doesn't.
1407: [22:07:00] <eddiemonge> yeah i think you are generalizing now
1408: [22:08:00] <Pyromanik> any page can do a full page refresh.
1409: [22:08:00] <eddiemonge> hence, single page
1410: [22:08:00] <eddiemonge> there dont seem to be any pages that do a full page refresh
1411: [22:08:00] <Pyromanik> it's by design.
1412: [22:09:00] <Pyromanik> click refresh
1413: [22:09:00] <Pyromanik> open any page for editing
1414: [22:09:00] <Pyromanik> see what happens
1415: [22:10:00] <Pyromanik> but that doesn't mean it's wrong.
1416: [22:10:00] <Pyromanik> I agree that I don't particularly like the way the CMS fly-loads all the scripts through headers and stuff
1417: [22:10:00] <eddiemonge> that doesnt mean its not a SPA, just means it has a decent foundation and/or progressive enhancement
1418: [22:11:00] <catcher> Does ManyManyList->add() perform the write?
1419: [22:11:00] <eddiemonge> im not saying its a bad idea. im just saying its a start
1420: [22:11:00] <eddiemonge> and should be continued to be worked on to be made better
1421: [22:12:00] * Pigeon is now known as Guest94181
1422: [22:12:00] <simon_w|air> catcher, it immediately adds the row to the join table, if that's what you mean
1423: [22:12:00] <catcher> indeed, ty
1424: [22:12:00] * Pigeon has joined #silverstripe
1425: [22:13:00] <Pyromanik> eddiemonge, sure. I just don't agree with the general movement of SPAs.
1426: [22:13:00] * Guest94181 is now known as Pigeon|home
1427: [22:13:00] <eddiemonge> how so or not so?
1428: [22:14:00] <Pigeon|home> and another comment below
1429: [22:14:00] * Motoservo quit (Quit: Motoservo)
1430: [22:14:00] <Pigeon|home> Hey chillu, as I'm deploying a site that is running the 3.1 branch tomorrow, I've run into a few issues with a commit that was just pushed in (glad that I checked tonight) see my comment here: https://github.com/silverstripe/sapphire/commit/362ca9b4d57e795dc7072a18eafef357f50e6e76#commitcomment-2791446
1431: [22:15:00] <Pigeon|home> I think I've fixed the issue with the first comment, but the second one (eval of heredoc) is not proving so easy
1432: [22:15:00] <Pigeon|home> do you have any pointers on what that script is doing and how I can parse out the text from heredoc
1433: [22:15:00] <Pyromanik> eddiemonge, because I think that while they're 'cool', there's not much point in trying to reinvent the web.
1434: [22:16:00] <eddiemonge> Pyromanik: i would like your opinion on why you think the admin section of the 3x branch of SS is not a SPA
1435: [22:17:00] <Pyromanik> not in the sense of what all the cool kids call an SPA anyway
1436: [22:17:00] <Pyromanik> you're right in that it has elements of such
1437: [22:17:00] * Motoservo has joined #silverstripe
1438: [22:17:00] <Pyromanik> oh
1439: [22:17:00] <Pyromanik> because it's simply not.
1440: [22:17:00] <chillu> No sorry, I'm not really well versed in the Config API. Those two cases of yours are valid PHP, so should parse - although frankly I haven't seen them around much, which is also why it was missed.
1441: [22:18:00] <Pyromanik> eddiemonge, to make it a 'true' SPA simply adds an unnecessary extra layer of complexity
1442: [22:18:00] <Pyromanik> and slowness
1443: [22:18:00] <Pyromanik> and bugs
1444: [22:19:00] <eddiemonge> Pyromanik: whats your definition of a true SPA?
1445: [22:19:00] <Pigeon|home> chillu: no worries, I'll drop a patch for the first issue in, though the second one is flying past me.. I don't know what the bigger picture is or how to handle it, to be honest
1446: [22:20:00] <Pigeon|home> chillu: I'm just glad someone is testing 3.1 in a real-world environment ;) I feel harsh for giving Hamish some stick, but there do seem to be a few things being dropped in by him that are causing us issues :(
1447: [22:21:00] <Pigeon|home> Also, chillu I am still waiting for a fairly minor patch to RestuflService to be taken in *cough* that'll fix a bug for anyone using it due to my sloppy original pull request
1448: [22:21:00] <Pyromanik> and the 'page' is just a load of javascript application.
1449: [22:21:00] <Pyromanik> eddiemonge, many of the examples floating around the net where the 'site' is purely API driven
1450: [22:23:00] <Pyromanik> pretty much the entire thing is loaded in to the UA memory
1451: [22:24:00] <Pyromanik> then updated as necessary with model info returned from requests as you say.
1452: [22:24:00] <Pyromanik> etc
1453: [22:24:00] <Pyromanik> views rendered client side
1454: [22:26:00] <eddiemonge> kind of sounds like SS admin
1455: [22:27:00] <simon_w|air> What? That thing that does all the rendering on the server?
1456: [22:28:00] <Pyromanik> Sounds nothing like the SS admin.
1457: [22:28:00] <Pyromanik> and that's been around for years.
1458: [22:28:00] <Pyromanik> it's not what the hipsters are calling "Single Page Applications"
1459: [22:28:00] <eddiemonge> its already using a billion jquery plugins, might as well at least structure it
1460: [22:28:00] <Pyromanik> the only common element is partial page updates using AJAX
1461: [22:29:00] <Pyromanik> but that's what entwine is.
1462: [22:29:00] <Pyromanik> eddiemonge, well, your definition is different from about 100% of the rest of the internet.
1463: [22:29:00] <eddiemonge> i call anything that uses one page and loads in everything else without a full page refresh a single page application
1464: [22:29:00] <Pyromanik> and continues to improve in that direction.
1465: [22:29:00] <Pyromanik> I don't disagree with that.
1466: [22:29:00] <Pyromanik> from what I've read.
1467: [22:30:00] <irogue> yeah
1468: [22:30:00] <irogue> i consider an SPA one of those horrible things where you can't link to an individual page
1469: [22:31:00] <Pyromanik> though tbh, maybe not even serious
1470: [22:31:00] <Pyromanik> people have been using javascript to update sections on a page since about the birth of javascript. Doesn't make them SPAs
1471: [22:31:00] <Pyromanik> irogue, pretty much, but with history api and some SERIOUS url parsing on client side, you could make it do that
1472: [22:32:00] <simon_w|air> Pigeon|home, wanna test hamish's latest pull request?
1473: [22:33:00] * jcwacky has joined #silverstripe
1474: [22:33:00] <eddiemonge> i like the definition in the description of http://en.wikipedia.org/wiki/Single-page_application
1475: [22:35:00] <Pyromanik> also with SPA's you're pretty much gutting the semantics straight out of the web.
1476: [22:36:00] <Pyromanik> especially with the introduction of contentEditable
1477: [22:36:00] <Pyromanik> just div and span all the things, ???, profit.
1478: [22:36:00] <Pyromanik> Why have hyperlinks, anchors & buttons, form elements, etc if you're defining behaviour and view with javascript?
1479: [22:37:00] <Pyromanik> SPA undermines the entire website portion of the internet.
1480: [22:38:00] <Pyromanik> hell, just put everything into canvas, as people building SPAs seem to do these days
1481: [22:38:00] <eddiemonge> i never touch contentEditable. i use standard html elements and use js to build on them
1482: [22:39:00] <Pyromanik> that way you don't even need elements.
1483: [22:40:00] <Pyromanik> and you can define your own layout pattern
1484: [22:41:00] <Pyromanik> like springs and struts, eh spronk
1485: [22:42:00] <Pyromanik> for lols
1486: [22:42:00] <spronk> ew
1487: [22:42:00] <spronk> but using js for logic
1488: [22:42:00] <spronk> you have to think of them as offline apps
1489: [22:42:00] * Pyromanik suddenly finds himself tempted to port GTK to jvascript
1490: [22:42:00] <spronk> springs and struts is fucking disgusting
1491: [22:42:00] <spronk> SPAs are a bit better thougfh
1492: [22:47:00] * travis-ci has left #silverstripe
1493: [22:47:00] <travis-ci> [travis-ci] silverstripe/sapphire#1620 (3.1 - 09377f0 : Sam Minnée): The build is still failing.
1494: [22:47:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/1b489eaba6df...09377f0ba4fb
1495: [22:47:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5455384
1496: [22:47:00] * travis-ci has joined #silverstripe
1497: [22:48:00] <Pyromanik> but as it stands, nope.
1498: [22:48:00] <Pyromanik> spronk, yeh, if I were building an offline app then I'd probably turn to SPA
1499: [22:49:00] <Pyromanik> spronk, thought you were a fan of the springs and struts (esp. over CSS)?
1500: [22:53:00] <spronk> sorta
1501: [22:53:00] <spronk> eh?
1502: [22:53:00] <spronk> oh
1503: [22:54:00] * zfmf has left #silverstripe
1504: [22:55:00] <chillu> Pigeon|home: I've merged https://github.com/silverstripe/sapphire/pull/1203 now, thanks for clearing that up (and *shakes fist* for breaking it in the first place hehe)
1505: [22:55:00] <simon_w|air> Hmm, that config change is kinda hammering our server
1506: [22:56:00] <chillu> Really? Its supposed to be easing the load rather than adding to it.
1507: [22:56:00] <simon_w|air> Initial build is doing something rather nasty
1508: [22:56:00] <Pigeon|home> chillu: thanks a bunch for taking it in
1509: [22:57:00] * azureKnight quit (Quit: azureKnight)
1510: [22:57:00] <simon_w|air> Will do better testing when I get my main laptop back
1511: [23:00:00] <chillu> simon_w|air: Yeah, would be good to get numbers
1512: [23:03:00] <Colin[pi]> apart from GridField?
1513: [23:03:00] <simon_w|air> Well, I didn't let it finish running on the server
1514: [23:03:00] <Colin[pi]> what major differences are there between ModelAdmin in 2.4 and 3.x?
1515: [23:04:00] <catcher> Anyone know if there's been progress on front-end UploadField?
1516: [23:09:00] <priithansen> why the ** doesn't manymanyExtrafield use the form field dataValue that gets returned
1517: [23:13:00] <priithansen> Not even saveInto has any effect on the saved value
1518: [23:15:00] * catcher quit (Quit: Leaving)
1519: [23:17:00] <Pyromanik> priithansen, it's a nothing field
1520: [23:17:00] <Pyromanik> it's not shimmed into the model
1521: [23:17:00] <Pyromanik> afaik
1522: [23:17:00] <Pyromanik> it's a hack
1523: [23:17:00] <Pyromanik> Colin[pi], pretty much none?
1524: [23:17:00] <Pyromanik> so it doesn't save when you save the model
1525: [23:18:00] <Pyromanik> you pretty much have to manually update it
1526: [23:18:00] <Pyromanik> iirc*
1527: [23:18:00] * travis-ci has joined #silverstripe
1528: [23:18:00] <travis-ci> [travis-ci] silverstripe/sapphire#1623 (3.1 - e486574 : Ingo Schommer): The build is still failing.
1529: [23:18:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/09377f0ba4fb...e486574b31f0
1530: [23:18:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5456036
1531: [23:18:00] * travis-ci has left #silverstripe
1532: [23:19:00] <priithansen> Want to make my Field take care of converting decimal , into . but something keeps snipping the decimals
1533: [23:19:00] * jerry____ has joined #silverstripe
1534: [23:20:00] <Pyromanik> probably stores as an Int?
1535: [23:20:00] <priithansen> nope works if I use dot as decimal point
1536: [23:21:00] <priithansen> with my other fields I can use numeric fields dataValue and Value methods to convert the dot into comma on both ways
1537: [23:21:00] <jerry____> I'm having problem with attaching images ($has_many) to a record ... the strange thing is, it works great when the relationship is ($has_one)
1538: [23:21:00] <jerry____> anyone came across this problem before?
1539: [23:23:00] <Pigeon|home> night all
1540: [23:23:00] <jerry____> I'm using ModelAdmin , on SS24
1541: [23:23:00] <priithansen> jerry____: I think images have to be many_many
1542: [23:23:00] <priithansen> with extrafield only the retrieving Value method works
1543: [23:24:00] <jerry____> let me try that
1544: [23:25:00] <jerry____> it's no fun when you can only attach 1 picture to a car :-)
1545: [23:26:00] <spronk> anyone have any stats on iphone model breakdown distribution in nz?
1546: [23:30:00] * Pigeon|home quit (Ping timeout: 245 seconds)
1547: [23:51:00] <Colin[pi]> why spronk, I happen to have some right here in my pocket ;P

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