#silverstripe IRC Log

IRC log for 13 May 2014

All timestamps are in UTC.

1: [00:00:00] <spronk> now i want a burger with mustard
2: [00:00:22] <simon_w> Now I want breakfast
3: [00:00:45] <irogue__> i had a V for breakfast
4: [00:02:43] <simon_w> I was going to have a muffin, but Caitlin ate it
5: [00:02:48] <simon_w> Maybe I should have some cereal
6: [00:03:38] <ss23> I've just been drinking pepsi max
7: [00:03:44] <ss23> Giving me that "I'm full" feel without the calories!
8: [00:03:47] <Colin[pi]> simon_w: she ate your muffin? that's grounds for a breakup
9: [00:03:52] <ss23> though my flatmate might be like "wtf u drank all my pepsi"
10: [00:04:09] <simon_w> Lol, flatmate
11: [00:04:17] <simon_w> That's your problem there
12: [00:04:25] <Colin[pi]> hehe
13: [00:05:07] <ss23> I'm drinking his pepsi
14: [00:05:11] <ss23> He's a solution at the moment, not a problem
15: [00:05:33] <spronk> why don't you go inside and get yourself a PEPsi
16: [00:06:29] * webbower quit (Quit: webbower)
17: [00:06:53] <simon_w> Also, eww, pepsi
18: [00:07:49] * webbower has joined #silverstripe
19: [00:08:10] <ss23> spronk: I am inside... if that was a joke I don't get it o.o
20: [00:08:11] <ss23> PEPsi?
21: [00:08:39] <spronk> it's from family guy
22: [00:08:55] <irogue_> original pepsi is gros
23: [00:08:59] <irogue_> *gross
24: [00:09:04] <irogue_> but pepsi max is quite decent
25: [00:09:12] <spronk> or at least, bastardised from family guy
26: [00:09:14] <spronk> bleh
27: [00:09:15] <Colin[pi]> pepsi max is ok
28: [00:09:16] <spronk> pepsi * is gross
29: [00:09:36] <irogue_> i actually prefer pepsi max to coke zero
30: [00:09:40] <irogue_> but prefer coke to pepsi
31: [00:09:40] <spronk> sugar coca cola is about the only good "cheap" cola
32: [00:10:09] * spronk makes this distinction because USian coca cola is fucking disgusting
33: [00:10:31] <ss23> I'm not a fussy cunt
34: [00:10:38] <ss23> I can't really taste the difference between coke and pepsi
35: [00:10:41] <ss23> All tastes like sugar water to me
36: [00:11:19] <spronk> pepsi is like coke, but .. watered down, and much sweeter
37: [00:11:24] <spronk> with less complex flavours
38: [00:11:33] <spronk> try drinking it flat and you'll see ::P
39: [00:12:26] <irogue_> theyre all fucking disgusting flat
40: [00:12:32] <Colin[pi]> less complex flavours, for fucks sake it's not wine we're talking about lol
41: [00:12:34] <irogue_> i quite liked US coke
42: [00:12:35] <Colin[pi]> ;D
43: [00:12:38] <irogue_> for about half a can
44: [00:12:51] <spronk> coke is tastier than wine :P
45: [00:12:53] <irogue_> at which point i had a headache from sugar overload or some shit
46: [00:13:13] <irogue_> *HFCS overload
47: [00:16:34] <Stomach> i havent done any work today :\
48: [00:16:41] <irogue__> neither :P
49: [00:17:40] <ss23> I've only been at work for just over 2 hours, the day is still young!
50: [00:18:05] <Colin[pi]> i've been browsing stock photos, please kill me
51: [00:18:09] <Colin[pi]> DO IT
52: [00:18:23] <ss23> XD
53: [00:18:59] <Colin[pi]> i have 2 days until my balance 'expires', ohh I'm sorry, you didn't use your money in time? fuck you
54: [00:19:02] <Stomach> i'm supposed to be writing an item based coupon system for swipestripe but i just really cbf
55: [00:19:28] <Colin[pi]> Stomach: and it's tuesday.. imagine friday
56: [00:19:43] <Stomach> frriday is gonna suck
57: [00:19:52] <Ryan-Toast> Why is Friday going to suck?
58: [00:20:01] <ss23> irogue__: Is Damian still there?
59: [00:20:01] <irogue_> Colin[pi]: Snapper is nasty like that
60: [00:20:04] <ss23> He's offline on Skype!
61: [00:20:14] <Colin[pi]> Ryan-Toast: in terms of productivity I mean, Friday I am like so "MEHHHHH"
62: [00:20:33] <Colin[pi]> irogue_: shutterstock
63: [00:20:43] <Colin[pi]> bastards they are
64: [00:21:15] <Ryan-Toast> Colin[pi]: ah, right :P
65: [00:21:57] <irogue__> Colin[pi]: yup
66: [00:22:20] <irogue__> Colin[pi]: Snapper is the bus card for wellington, they expire your credit too
67: [00:22:23] <irogue__> ss23: people are lunching
68: [00:22:40] <Colin[pi]> irogue_: OIC
69: [00:22:51] <simon_w> irogue__, they can expire my -$0.07 all they want!
70: [00:22:56] <irogue__> lol
71: [00:23:08] <irogue__> ss23: he's just sat back down
72: [00:32:38] * Stomach quit (Read error: Connection reset by peer)
73: [00:33:40] * irogue__ quit (Ping timeout: 258 seconds)
74: [00:34:58] * circ-user-3PZGM quit (Remote host closed the connection)
75: [00:35:27] <ss23> sweet
76: [00:35:27] <ss23> :D
77: [00:35:31] <ss23> He signed in when he sat down too!
78: [00:37:17] * jenniferaslan quit (Quit: jenniferaslan has left the room)
79: [00:43:01] <Colin[pi]> simon_w: did you go to that chocolate place?
80: [00:43:13] <simon_w> Colin[pi], nah
81: [00:43:20] <simon_w> Probably should at some point
82: [00:43:28] <Colin[pi]> simon_w: :(
83: [00:43:35] <Colin[pi]> was alright, I ate far too much
84: [00:44:00] <simon_w> I'm going to be all suited up for most of Thursday now
85: [00:44:03] <simon_w> Bah
86: [00:44:25] <Colin[pi]> simon_w: nah, just go in thongs and a singlet
87: [00:44:49] <simon_w> Is that australian thongs or what thongs really are? :p
88: [00:44:59] <Colin[pi]> australian thongs you berk :P
89: [00:45:16] <Colin[pi]> or if you're feeling kinky, go with the other one
90: [00:49:12] <simon_w> Just got in that green thong from Borat
91: [00:49:52] <Colin[pi]> simon_w: NICE
92: [00:49:59] * DesignerX quit (Ping timeout: 252 seconds)
93: [00:50:09] * DesignerX has joined #silverstripe
94: [00:56:41] <Colin[pi]> "I feel this will be relatively easy to implement" <--- doncha love it when clients say that?
95: [00:56:46] <ss23> lol
96: [00:56:47] <ss23> ikr
97: [00:56:56] <ss23> like "Oh do you? Well good thing your opinion on it changes things"
98: [00:57:47] <Colin[pi]> lol I mean really.. I feel like grabbing their face and staring right into their eyes and shouting "YOU THINK THAT'S EASY? YOU DON'T KNOW THE HORRORS I'VE SEEN!"
99: [00:58:33] <ss23> haha
100: [01:03:43] <simon_w> Anyone remember that site that would tell you what products some other site was using?
101: [01:05:27] <simon_w> Aha, builtwith.com
102: [01:12:21] * travis-ci has joined #silverstripe
103: [01:12:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2565 (3.0.11 - ce516ca : Damian Mooyman): The build passed.
104: [01:12:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1d4082b6f0d5...ce516ca1cd78
105: [01:12:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25027627
106: [01:12:21] * travis-ci has left #silverstripe
107: [01:14:33] * simon_w|air quit (Ping timeout: 252 seconds)
108: [01:15:04] * simon_w quit (Ping timeout: 258 seconds)
109: [01:18:59] * simon_w has joined #silverstripe
110: [01:20:16] * webbower quit (Quit: webbower)
111: [01:20:54] * Stomcch has joined #silverstripe
112: [01:21:36] * simon_w|air has joined #silverstripe
113: [01:25:24] * UncleCheese quit (Quit: UncleCheese)
114: [01:37:48] * wilsonstaff has joined #silverstripe
115: [01:38:11] <wilsonstaff> Hi to all, with MemberProfile module, someone knows how to have members modify their profile????
116: [01:42:38] <Stomcch> did you create the member profile page?
117: [01:43:29] * UncleCheese has joined #silverstripe
118: [01:56:36] * travis-ci has joined #silverstripe
119: [01:56:36] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2566 (3.0.11 - ce516ca : Damian Mooyman): The build passed.
120: [01:56:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.11
121: [01:56:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25029875
122: [01:56:36] * travis-ci has left #silverstripe
123: [02:01:50] * travis-ci has joined #silverstripe
124: [02:01:50] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#887 (3.0.11 - 2804331 : Damian Mooyman): The build passed.
125: [02:01:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.0.11
126: [02:01:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/25029881
127: [02:01:50] * travis-ci has left #silverstripe
128: [02:09:36] <Stomcch> I got a pepsi max
129: [02:09:41] <Stomcch> thanks guys
130: [02:10:02] * travis-ci has joined #silverstripe
131: [02:10:02] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2567 (3.0 - d9c037b : Damian Mooyman): The build passed.
132: [02:10:02] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8ab3881bfaa8...d9c037bb6980
133: [02:10:02] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25030786
134: [02:10:02] * travis-ci has left #silverstripe
135: [02:10:32] <simon_w> Stomcch, my condolences
136: [02:10:39] * Stomcch is now known as Stomach
137: [02:11:04] <Stomach> it even has an expired competition!
138: [02:12:18] * wilsonstaff quit (Ping timeout: 240 seconds)
139: [02:13:46] <simon_w> So it's a wannabe paddle pop? :p
140: [02:14:42] <Stomach> you could put a paddlepop inside of a pepsi
141: [02:14:45] <Stomach> that would be delicious
142: [02:21:59] * robert___ has joined #silverstripe
143: [02:24:21] * zippy__ has joined #silverstripe
144: [02:24:22] * robert___ quit (Client Quit)
145: [02:24:25] <zippy__> afternoons
146: [02:27:22] <spronk> won't you gentlemen have a pepsi
147: [02:27:25] <simon_w> If it must be
148: [02:27:31] <simon_w> I have ginger beer!
149: [02:27:40] * wilsonstaff has joined #silverstripe
150: [02:27:49] <wilsonstaff> Stomcch => yes the memberprofile page is in the sitetree. members can register via that page and i check this box: Allow users to edit their own profile on this page
151: [02:32:03] <zippy__> boy, do I feel lethargic today
152: [02:33:39] <Stomach> wilsonstaff - thats all I have sorry, haven't used it before
153: [02:38:06] <Stomach> simon_w - is there a way to empty an arraylist in SS - I can't find a way to do it apart from looping the items and removing them one by one
154: [02:38:52] <simon_w> Stomach, $list = new ArrayList()? $list->removeAll()?
155: [02:39:17] * spronk quit (Ping timeout: 264 seconds)
156: [02:40:07] <Stomach> make a new one. duh. thanks :)
157: [02:41:14] <ss23> lol...
158: [02:41:29] <ss23> I'm not sure if I'm missing something, or that was just a powerful brain derp from you Stomach
159: [02:42:03] <irogue_> very powerful
160: [02:42:06] <Stomach> i already told you how my day was going earlier
161: [02:42:14] <Stomach> its getting ... better?
162: [02:43:00] <Stomach> remove all doesn't exist on arraylist, only on datalist
163: [02:43:11] <Stomach> then I started looking for remove items, and got all "remove" in my head
164: [02:43:54] <Stomach> I thought datalists were immutable though
165: [02:43:58] <Stomach> now I'm really confused
166: [02:44:49] <irogue_> you're immutable
167: [02:45:21] <Stomach> yes
168: [02:45:29] <Stomach> at the moment
169: [02:47:31] <zippy__> Is it possible to turn off the preview window
170: [02:47:43] <zippy__> remove the split mode
171: [02:48:46] <Stomach> http://stackoverflow.com/questions/20095177/silverstripe-3-1-disable-the-preview-pane
172: [02:49:31] <zippy__> Stomach: thanks
173: [02:49:45] <Stomach> you can't get rid of it completely if I remember right though
174: [02:49:52] <Stomach> there was some discussion about it in here a couple of weeks ago
175: [02:54:01] <zippy__> thanks
176: [02:58:09] * babak has joined #silverstripe
177: [03:04:15] * spronk has joined #silverstripe
178: [03:04:50] <wilsonstaff> Stomach => ok got it. Simple: when logged, a member goes to the MemberProfile page. If **Allow users to edit their own profile on this page** is checked, they can edit.
179: [03:05:08] <Stomach> cool, glad you solved it :)
180: [03:05:32] * wilsonstaff quit (Quit: Page closed)
181: [03:06:58] * travis-ci has joined #silverstripe
182: [03:06:58] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2569 (3.1.5 - c492c5e : Damian Mooyman): The build is still failing.
183: [03:06:58] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/96b086a8431b...c492c5efda9d
184: [03:06:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25032985
185: [03:06:58] * travis-ci has left #silverstripe
186: [03:10:14] <zippy__> With the CMS, I've set a style so when someone says they want the image to go left and text to go around it, that works fine. But the problem is if they drop in another heading and more text, sometimes it will get caught up if there is not enough text to go full length of the image.
187: [03:10:19] <zippy__> Here is an example; http://jsfiddle.net/9S5pz/
188: [03:10:37] <zippy__> how could I make the second heading go under the image, without having to resort to 'HTML' view (think, end user)
189: [03:10:55] <zippy__> It's like the h2 needs a clearfloat before it, but I tried and failed
190: [03:12:03] <zippy__> can add empty p tags, but thats a big rangi
191: [03:12:40] <ss23> #fuckjavascript
192: [03:12:50] <Stomach> bower install npm
193: [03:12:51] <Stomach> ?
194: [03:12:52] <Stomach> :D
195: [03:13:46] <ss23> https://twitter.com/search?f=realtime&q=%23fuckjavascript&src=hash this has to be bullshit
196: [03:14:02] <ss23> you're telling me since twitters inception, there have only been 5 people use the tag #fuckjavascript?
197: [03:14:14] <guzzlefry> ...
198: [03:14:15] <ss23> no fucking way, I call bullshit on that
199: [03:14:30] <ss23> Am I missing something here or what?
200: [03:14:45] <Colin[pi]> same for #JavaScriptSucks
201: [03:14:54] <Colin[pi]> well, 6 people
202: [03:15:11] <Ryan-Toast> zippy__: http://codepen.io/anon/pen/nbgqA
203: [03:15:23] <guzzlefry> amazing
204: [03:17:35] <Ryan-Toast> zippy__: ^
205: [03:18:54] <pippy_> is it possible in SilverStripe to detect the table escape character (i.e. ` for MySQL and " for PostgreSQL)?
206: [03:19:09] <ss23> pippy_: It does it automatically
207: [03:19:13] <ss23> pippy_: " works in MySQL, so we use that
208: [03:19:13] <simon_w> pippy_, it's always "
209: [03:19:54] <Turnerj> Ryan-Toast: Have the exact same issue as you helped zippy__ out with just now. Going to try it out on my sites tonight.
210: [03:20:03] <zippy__> sorry, went to make a coffee :)
211: [03:20:04] <Turnerj> Ryan-Toast: so cheers!
212: [03:20:23] <Ryan-Toast> No problem, fellahs
213: [03:20:38] <pippy_> ss23: thanks, I must be doing something wrong as my MySQL installation doesn't like " for some odd reason
214: [03:20:59] <ss23> pippy_: No no, you have to turn it on
215: [03:21:06] <ss23> pippy_: Like, SilverStripe sets it to ANSI mode so " works
216: [03:21:18] <ss23> pippy_: You should ask your proper questions, not "How can I make SilverStripe detect whether to use "/`"
217: [03:21:21] <ss23> Your real question was like, what?
218: [03:21:42] <zippy__> Ryan-Toast: you are your mixins and scss!
219: [03:21:57] <zippy__> whats up with the zoom: 1; ?
220: [03:22:00] <Ryan-Toast> zippy__: you can just grab the compiled css from the source.
221: [03:22:00] * travis-ci has joined #silverstripe
222: [03:22:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2570 (3.1.5 - 830c107 : Damian Mooyman): The build is still failing.
223: [03:22:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c492c5efda9d...830c10704c98
224: [03:22:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25033906
225: [03:22:01] * travis-ci has left #silverstripe
226: [03:22:09] <pippy_> ss23: that makes a lot more sense!
227: [03:22:11] <Ryan-Toast> zippy__: fix for ie7
228: [03:22:22] <zippy__> Ryan-Toast: You can click on the little eye icon, and get the compiled css
229: [03:22:23] <Turnerj> Pfft IE7 support
230: [03:22:31] <zippy__> Ryan-Toast: thanks
231: [03:23:22] <Stomach> we dont even support ie8 anymore
232: [03:23:23] <Stomach> woooooo
233: [03:23:53] <Turnerj> Stomach: Still need to support IE8 for a little while longer :(
234: [03:24:05] <zippy__> ditto
235: [03:24:06] <Stomach> ruts to be you
236: [03:24:11] <Colin[pi]> ha, IE8 can go eat a dick
237: [03:24:25] <Stomach> I am starting to prefer IE to chrome on widnows though
238: [03:24:36] <zippy__> O.o
239: [03:24:42] <Turnerj> Still not a fan of even IE11 developer tools :/
240: [03:24:51] <Colin[pi]> Stomach: BLASPHEMY
241: [03:24:57] <Turnerj> Firebug for the win!
242: [03:25:04] <Colin[pi]> Turnerj: <3 firebug
243: [03:25:18] <Ryan-Toast> IE11 doesn’t fucking support if IE tags when you change to IE9,8,7 etc. what’s the fucking point?
244: [03:25:54] <zippy__> Ryan-Toast: that code works great, thanks!
245: [03:26:21] <Stomach> Colin[pi] - have you used chrome on a windows machine lately?
246: [03:26:30] <Stomach> ie the last year
247: [03:26:32] <Colin[pi]> Stomach: yes
248: [03:26:34] <Stomach> its not the best
249: [03:26:39] <zippy__> do people use windows?
250: [03:26:45] <Colin[pi]> Stomach: no it's not, but I use Firefox
251: [03:27:01] <Ryan-Toast> zippy__: np brobeans
252: [03:27:13] <Ryan-Toast> zippy__: I do.
253: [03:29:49] <Stomach> anyone ever have problems with not being able to view images that are in the filesystem from the uploadfield when clicking from files?
254: [03:30:52] <simon_w> Why is it so hard to find prebuilt versions of Chromium?
255: [03:34:51] <zippy__> simon_w: linux?
256: [03:34:57] <simon_w> OSX
257: [03:35:18] <simon_w> Aha https://download-chromium.appspot.com
258: [03:40:56] <irogue_> simon_w: cos google want you to use chrome :P
259: [03:42:03] <Colin[pi]> ^ this
260: [03:42:11] <ss23> I have a question
261: [03:42:18] <ss23> I have a button that I want to find out what is making it do things when clicked
262: [03:42:23] <ss23> It's a literal <button>Foo</button>
263: [03:42:30] <ss23> How do I like.. find out whats making it do shit when clicked
264: [03:43:19] <zippy__> With chrome, you can inspect the item, and go to the event listieners tab
265: [03:43:58] <ss23> I did that, and it's like "yo jquery is listening"
266: [03:44:01] <ss23> whcih helps me about 0%
267: [03:44:51] <zippy__> with chrome, you can try and run a profile, click the button then stop the profile
268: [03:44:57] <zippy__> otherwise, start ripping out code :)
269: [03:47:01] <ss23> stepping through did nothing
270: [03:47:09] <ss23> because I don't know enough jQuery internals to find where it like... DOES the stuff
271: [03:47:12] <ss23> you know
272: [03:47:56] <Colin[pi]> ss23: try this: http://www.sprymedia.co.uk/article/visual+event+2
273: [03:48:11] <Colin[pi]> use the bookmarklet under the "Install" tab
274: [03:48:13] <Ryan-Toast> zippy__: One day I’ll convert you to scss
275: [03:48:14] <Colin[pi]> go to page
276: [03:48:17] <Colin[pi]> click bookmarklet
277: [03:48:18] <Colin[pi]> click button
278: [03:48:19] <Colin[pi]> boom
279: [03:49:13] <Colin[pi]> (btw not sure how well it works, but worth a shot :P)
280: [03:49:32] <zippy__> so it's a , this looks awesome but never used comment?
281: [03:50:11] <zippy__> fuck thats is cool
282: [03:51:12] <Stomach> this is really cool
283: [03:55:16] <zippy__> hopefully no baby today, really don't want a 13th of the month baby....
284: [03:55:28] <zippy__> will get a Friday the 13th bday 4 times in next 20 years
285: [03:58:07] <ss23> Colin[pi]: It sounded cool, but I tried it and it didn't work perfectly
286: [03:58:08] <ss23> :(
287: [03:58:26] <ss23> zippy__: wtf are you talking about? o.o
288: [03:58:31] <zippy__> babies
289: [03:58:51] <simon_w> The side effects of sex
290: [03:59:02] <spronk> 13th baby is awesome
291: [03:59:07] <spronk> embrace the awesome
292: [03:59:15] <zippy__> it was due to hit the slip and slide yesterday, but was a no show.. due anytime now really..
293: [03:59:42] <spronk> hahaa
294: [04:00:02] <spronk> ours was due 9 days before it eventually popped
295: [04:00:14] <zippy__> over due 9 days?
296: [04:00:19] <spronk> yerp
297: [04:00:24] <spronk> ended up being induced
298: [04:00:28] <zippy__> did the misses actually pop and flood?
299: [04:00:30] <zippy__> ah yeap
300: [04:00:42] <spronk> apparently sex helps :P
301: [04:00:58] * cloph quit (Ping timeout: 240 seconds)
302: [04:01:00] * cloph_away has joined #silverstripe
303: [04:01:30] <ss23> no no, my question was like
304: [04:01:35] <ss23> 15:55:29 < zippy__> will get a Friday the 13th bday 4 times in next 20 years
305: [04:01:43] <ss23> You've planned out 20 years of sex and babies?1
306: [04:01:44] <ss23> WHAT?
307: [04:01:50] <zippy__> birthday
308: [04:01:51] <zippy__> bday
309: [04:02:06] <Stomach> yaaaya 3.1.5 good work ss23
310: [04:02:26] <ss23> oic
311: [04:03:30] <spronk> O COOL
312: [04:03:33] <spronk> new ss broke subsites
313: [04:03:34] <spronk> sigh
314: [04:03:34] <zippy__> 3.1.5 stable..?
315: [04:03:50] <irogue_> luckily, spronk, you are SUBSITES MASTER
316: [04:03:56] <spronk> :'(
317: [04:03:57] <ss23> lol
318: [04:03:59] <spronk> never again
319: [04:04:01] <spronk> it's so fragile
320: [04:04:07] <ss23> spronk: Well if people had fucking tested it while it was in RC! :O
321: [04:04:13] <spronk> i'm so afraid to do anything to the site that involves updates
322: [04:04:27] <spronk> ...
323: [04:06:43] * travis-ci has joined #silverstripe
324: [04:06:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2571 (3.1.5 - 830c107 : Damian Mooyman): The build is still failing.
325: [04:06:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.5
326: [04:06:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25035604
327: [04:06:43] * travis-ci has left #silverstripe
328: [04:08:51] <Stomach> we have a subsites site that wont ever be upgrade, stuck at 3.1.2 forever
329: [04:08:58] <Stomach> screw security
330: [04:11:09] <simon_w> ss23, it's a SS Ltd supported module. Why didn't they test it while 3.1.5 was in RC?
331: [04:11:32] <zippy__> Released: 1 Apr 2014 - need to update that
332: [04:12:03] <spronk> exactly.
333: [04:12:12] <spronk> ugh
334: [04:12:18] <spronk> so apparently the copy page to other subsite thing is now broken
335: [04:12:34] <spronk> guh
336: [04:12:38] <spronk> how the hell do i find out current ss version
337: [04:12:54] <spronk> silverstripe_version is empty
338: [04:13:01] <ss23> simon_w: It's opensource, why didn't communtiy test it?
339: [04:13:09] <ss23> simon_w: Don't put this "ss ltd support module" bs on me, that's CWP shit
340: [04:13:10] <ss23> :P
341: [04:13:18] <spronk> ...
342: [04:13:26] <ss23> simon_w: update topic to reference new release!
343: [04:13:28] <spronk> ss only got CWP because of community support, really
344: [04:13:30] <spronk> so yknow
345: [04:13:34] <simon_w> ss23, make release posts
346: [04:14:01] <ss23> okay, doing it now, will link when done
347: [04:15:15] <simon_w> ss23, also, it's a RC for a minor release. Don't put all this "why didn't communtiy test it?" BS on me :p
348: [04:15:39] <ss23> lol
349: [04:15:43] <ss23> I didn't do shit
350: [04:15:44] <ss23> YO
351: [04:15:50] <ss23> simon_w: If you worked for sstld you could fix these bugs
352: [04:15:57] <ss23> Or if you pushed harder for community driven releases
353: [04:15:59] <spronk> ah
354: [04:16:00] <spronk> fixing bugs
355: [04:16:01] <ss23> or if the breaking change was fixed
356: [04:16:06] <spronk> great way to sell it, ss23
357: [04:16:09] <ss23> or someoene made test infrastructure better
358: [04:16:14] <ss23> POINT IS YO, IT'S A TEAM EFFORT
359: [04:16:27] <ss23> No one be sayin its 100% community, and I hope no one be sayin it's 100% ltd
360: [04:16:30] <Turnerj> Anyone know why this happens randomly in the CMS? http://postimg.org/image/j9cp76h0v/
361: [04:16:32] <spronk> ss23 still hasn't fixed the bug that renders virtualpages useless in Subsites
362: [04:16:39] <ss23> spronk: YOU DO IT! :(
363: [04:16:45] <spronk> i tested. i found. i reported. i gave an idea of a possible fix
364: [04:16:51] <spronk> I CAME 90 MAN
365: [04:16:57] <ss23> Ingo is meant to be doing almost full time opensource stuff come a few more months!
366: [04:17:13] <ss23> spronk: XD
367: [04:17:17] <spronk> :P
368: [04:17:19] <Turnerj> The issue disappears when you ?flush=all but it has occurred a couple of times
369: [04:17:27] <ss23> spronk: Then you should be able to finish the 10!
370: [04:17:27] <simon_w> ss23, want to know what it feels like? If it's not CWP-related, it's expected to be 100% community
371: [04:17:37] <ss23> Turnerj: Not sure, I would inspect elements and see if you can figure it out
372: [04:17:40] <spronk> i need tow rite tests for it
373: [04:17:43] <ss23> simon_w: Is that wrong?
374: [04:17:43] <spronk> but i can't
375: [04:17:52] <ss23> spronk: No time like the present to learn :D
376: [04:18:13] <simon_w> ss23, here, the community doesn't include people from SS
377: [04:18:32] <ss23> I think that's more a product of the kind of sites people from SS make
378: [04:18:43] * Shrike_Finland has joined #silverstripe
379: [04:18:48] <hamror> just finished my second ss site
380: [04:18:52] <hamror> went pretty smoothly
381: [04:18:58] <ss23> Like, whenever someone at SS works on a site and fixes bugs etc, they go back into the module, regardless of whether it's ss owned, CWP, community, whatever
382: [04:18:59] <hamror> it's a facebook page tab even :O
383: [04:19:07] <ss23> If SS people aren't maintaining a module, that's just because they're not working with it
384: [04:19:14] <hamror> only hassle wasn't even SS related, dealing with EXIF data parsing
385: [04:19:23] <ss23> There is an onus of people who use the modules to maintain them
386: [04:19:38] <ss23> p.s. WHY ARE YOU TELLING ME I LITERALLY DOn'T GIVE A FUCK
387: [04:19:44] <hamror> oh babes
388: [04:19:47] <hamror> easy does it
389: [04:19:49] <ss23> Takl to irogue_, he's talking to cam about stuff ;_;
390: [04:19:51] <ss23> lol
391: [04:19:58] <ss23> hamror: I'm not really worked up or anything :P
392: [04:20:06] <hamror> <- overburden
393: [04:20:08] <irogue_> now now now
394: [04:20:10] <irogue_> what's going on here?
395: [04:20:13] <hamror> may i never make another html site again fwiw
396: [04:20:15] * irogue_ was afk
397: [04:20:39] * Shrike_Finland quit (Client Quit)
398: [04:20:41] * hamror quit (Changing host)
399: [04:20:41] * hamror has joined #silverstripe
400: [04:20:44] <simon_w> ss23, because you're the one defending SS Ltd's stance :p
401: [04:20:54] <ss23> bitch what, I'm defending being sane!
402: [04:20:55] * travis-ci has joined #silverstripe
403: [04:20:55] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#888 (3.1.5 - 3033d45 : Damian Mooyman): The build passed.
404: [04:20:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.5
405: [04:20:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/25035612
406: [04:20:55] * travis-ci has left #silverstripe
407: [04:20:58] <irogue_> goddamn SS Ltd employees
408: [04:21:05] <ss23> You know as well as I do I hate some of the stuff sssltd does
409: [04:21:13] <ss23> Probably more than you a lot of the time, since I have to wrok with it
410: [04:21:22] <irogue_> :P
411: [04:21:56] <Turnerj> +ss23: Found the issue, turned out to be a rogue stylesheet of mine! Whoops!
412: [04:22:00] * DesignerX quit (Quit: Konversation terminated!)
413: [04:22:06] <ss23> Turnerj: XD
414: [04:22:08] <ss23> Turnerj: Always the way :P
415: [04:22:10] * simon_w changed the topic to 'Welcome to #silverstripe | Ask your questions! | IRC Logs: http://ss.org.nz/logs | Dev Mailing List: http://ss.org.nz/ss-dev | Latest stable releases: http://ss.org.nz/3.1.5 and http://ss.org.nz/3.0.11 | Release Archive: http://www.silverstripe.org/release-archive/'
416: [04:22:24] <ss23> simon_w: l33t
417: [04:23:59] <Stomach> to be fair, we fix a fair amount of stuff internally then never put it back into the modules because we don't have time for it - pull requests take a lot of time and effort
418: [04:24:18] <ss23> Stomach: Ouch
419: [04:24:18] <ss23> :(
420: [04:24:23] <spronk> ugh, what the fuck is catlyn stark doing in 24 day 9
421: [04:24:26] <ss23> So what I'm hearing is... Stomach is the reason SilverStripe sucks.
422: [04:24:43] <Stomach> I'll claim that
423: [04:24:55] <Stomach> thats pretty good, taking down an entire system single handed
424: [04:25:28] <Colin[pi]> ss23: shit, oh well.. did you figure out something better?
425: [04:25:39] <Stomach> if I got 10% work time to work on modules that would be nice
426: [04:26:10] <ss23> Colin[pi]: Ah, what for? :O
427: [04:26:19] <irogue_> that damian's been working hard in the corner
428: [04:27:03] <Colin[pi]> ss23: the button event crap
429: [04:30:53] <Colin[pi]> how the heck did I not have a [tweet] shortcode before?
430: [04:32:41] <spronk> i'm surprised you guys don't have 10% or even 20% time for working on modules
431: [04:33:35] <spronk> if you make fixes internally, but don't push them back to modules, do you maintain second copies? isnt't aht .. annoying?
432: [04:34:55] * joelpittet quit (Remote host closed the connection)
433: [04:35:35] * joelpittet has joined #silverstripe
434: [04:36:16] <Stomach> spronk - no because I dont have to documentation and write tests
435: [04:36:25] <ss23> Colin[pi]: oic, uh, naw, I'm going to start fresh tomorrow
436: [04:36:32] <Colin[pi]> ss23: k d00d
437: [04:36:52] <Stomach> so maintaining our own forks is simple
438: [04:39:04] <spronk> so
439: [04:39:09] <spronk> you don't document/test your internal stuff?
440: [04:39:40] <Stomach> not heavily
441: [04:39:47] <spronk> dodgy..
442: [04:39:53] <Stomach> like my code coverage in unit tests is usually about 20%
443: [04:40:18] <spronk> dang
444: [04:40:26] * joelpittet quit (Ping timeout: 255 seconds)
445: [04:40:55] <Stomach> internal modules which we use heavily are 80%+, but quick edits to external modules to change some functionality that is annoying me doesn't warrant the effort to test and document as thoroughly
446: [04:41:09] <ss23> It does too
447: [04:41:10] <ss23> :P
448: [04:41:13] <Stomach> lol
449: [04:41:14] <ss23> You are just trading time now for time later
450: [04:41:23] <Stomach> yeah the technical debt is huge
451: [04:41:26] <spronk> yeahh
452: [04:41:30] <spronk> techncial debt will sink you :P
453: [04:41:45] <Stomach> but as a business decision (not mine) its always going to be worry about that later Stevie
454: [04:41:52] <ss23> It's crazy how many of our projects had forked modules, without making any changes
455: [04:41:55] <spronk> double thumbs upo
456: [04:41:59] <ss23> Literally just "I need a copy of this in case the module gets changed
457: [04:42:00] <ss23> "
458: [04:42:05] <ss23> Fucks up the update process so much
459: [04:42:09] <Colin[pi]> ss23: urg
460: [04:42:12] <spronk> as a dev it's your responsibility to not comply :)
461: [04:42:16] <ss23> ^^
462: [04:42:42] <Stomach> yeah, but as a money earner its my duty to do what I'm told
463: [04:42:55] <Stomach> if I was in charge of testing, nothing would ever be released
464: [04:43:05] <spronk> heh
465: [04:43:16] * spronk used to think like that
466: [04:43:22] <spronk> then i realised that i was less dispensible than i thought
467: [04:43:43] <Stomach> ss23 - you don't need to do that with composer, you can just tag the hash :P
468: [04:43:58] <Stomach> ive only been at this job for 7 months, I haven
469: [04:44:03] <Stomach> t taken over all internal process yet
470: [04:44:30] <spronk> heheh
471: [04:47:16] <Turnerj> 90% time right now working on a module :D
472: [04:47:21] * bridgetm quit ()
473: [04:48:58] <Colin[pi]> dammit tinymce stop being a dick
474: [04:49:27] <spronk> lol
475: [04:49:29] <spronk> good luck with that
476: [04:49:29] <zippy__> Colin[pi]: tinymce will never stop
477: [04:49:34] <Colin[pi]> ;_;
478: [04:50:07] <Colin[pi]> tinymce: "Heyyyy you know that plugin you're writing? This time it's gonna work..." *refresh* "LOLOLOLOLOL had you goin didn't I, DUMBARSE?"
479: [04:51:10] * jedateach has joined #silverstripe
480: [04:51:33] <Turnerj> Colin[pi]: Tinymce can be such a pain :(
481: [04:54:52] <ss23> 16:43:44 < Stomach> ss23 - you don't need to do that with composer, you can just tag the hash :P
482: [04:55:02] <ss23> don't even need that, just keep your .lock file how it should be
483: [04:55:13] <ss23> But yeah, problem is that noobies did it, not that it should be done like that! :O
484: [04:55:14] <Stomach> yeah, but who trusts people to run composer install
485: [04:55:19] <ss23> XD
486: [04:55:21] <ss23> We enforce it :P
487: [04:55:27] <ss23> Our automated deployment stuff does a `composer install`
488: [04:55:32] <ss23> but yeah, lots of noobies do update instead...
489: [04:55:33] <ss23> I scold them
490: [04:55:34] <ss23> they learn
491: [04:55:35] <ss23> :D
492: [04:55:36] <Stomach> yeah same, but developers just update
493: [04:55:47] <Stomach> composer install --no-dev --prefer-dist
494: [04:56:04] <Stomach> I should just aliase all of our front end devs machines to always do that when they run composer
495: [04:59:05] * spronk quit (Ping timeout: 264 seconds)
496: [04:59:08] <Stomach> ugh versioned tables are fun to deal with sometimes.
497: [05:01:17] * nickmolhoek quit (Quit: nickmolhoek)
498: [05:02:43] * jedateach quit (Ping timeout: 265 seconds)
499: [05:07:21] * Ryan-Toast quit (Quit: Ryan-Toast)
500: [05:08:43] * travis-ci has joined #silverstripe
501: [05:08:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2573 (3.1 - c3c3145 : Damian Mooyman): The build is still failing.
502: [05:08:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f5569078e555...c3c3145d37ac
503: [05:08:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25038575
504: [05:08:43] * travis-ci has left #silverstripe
505: [05:09:31] <Colin[pi]> yay tinymce plugin working
506: [05:14:14] <simon_w> Hmm, I could do more work with TradeMe, or more with my wedding site
507: [05:14:16] <simon_w> Easy choice!
508: [05:14:25] <ss23> one of them gets money
509: [05:14:26] <ss23> ;)
510: [05:14:27] <simon_w> Even though the obvious winner doesn't result in me getting paid
511: [05:14:45] * joelpittet has joined #silverstripe
512: [05:15:38] <zippy__> perhaps, but it might get you l...
513: [05:16:09] <Colin[pi]> dammit zippy took my joke
514: [05:21:41] * travis-ci has joined #silverstripe
515: [05:21:41] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#889 (3.1 - 3033d45 : Damian Mooyman): The build passed.
516: [05:21:41] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/bae95805dd53...3033d454982c
517: [05:21:41] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/25038598
518: [05:21:41] * travis-ci has left #silverstripe
519: [05:34:38] * zippy__ quit (Ping timeout: 240 seconds)
520: [05:48:39] * UncleCheese quit (Quit: UncleCheese)
521: [05:54:42] * joelpittet quit ()
522: [06:02:31] * spronk has joined #silverstripe
523: [06:07:39] * Turnerj has left #silverstripe
524: [06:13:14] * Shrike_Finland has joined #silverstripe
525: [06:21:21] * guci0 has joined #silverstripe
526: [06:21:26] <guci0> Hello All!
527: [06:29:07] <Colin[pi]> hi guci0!
528: [06:31:47] <guci0> Hi Colin[pi] ;)
529: [06:41:36] * anselmdk has joined #silverstripe
530: [07:10:08] * ocm has joined #silverstripe
531: [07:10:31] <ocm> howdy
532: [07:22:53] * ARNHOE has joined #silverstripe
533: [07:30:14] <guci0> Elo ocm!
534: [07:31:54] * UncleCheese has joined #silverstripe
535: [07:41:48] * guci0 quit (Ping timeout: 240 seconds)
536: [07:42:08] * guci0 has joined #silverstripe
537: [07:42:45] * wmk has joined #silverstripe
538: [07:49:30] * Shrike_Finland quit (Quit: Leaving.)
539: [07:59:31] * Colin[pi] quit (Ping timeout: 240 seconds)
540: [08:04:01] * zippy__ has joined #silverstripe
541: [08:04:27] * kinglozzer has joined #silverstripe
542: [08:06:58] * Stomach quit (Ping timeout: 240 seconds)
543: [08:21:31] * UncleCheese quit (Quit: UncleCheese)
544: [08:22:25] * Shrike_Finland has joined #silverstripe
545: [08:25:25] * UncleCheese has joined #silverstripe
546: [08:26:01] * cloph_away is now known as cloph
547: [08:32:25] * wmk quit (Read error: Connection reset by peer)
548: [08:35:34] * wmk has joined #silverstripe
549: [08:38:27] * zippy__ quit (Quit: zippy__)
550: [08:54:29] * stnvh has joined #silverstripe
551: [09:03:02] * jcwacky quit (Quit: jcwacky)
552: [09:08:48] * PigeonFriend quit (Ping timeout: 240 seconds)
553: [09:13:43] * UncleCheese quit (Quit: UncleCheese)
554: [09:23:33] * jcwacky has joined #silverstripe
555: [09:25:12] <jcwacky> I’m trying to get the PHPDocX library working in SilverStripe, but as the library has it’s own Debug class, I’m getting Fatal error: Call to undefined method Debug::getInstance() errors. I’ve followed the PHPDocX instructions ( http://www.phpdocx.com/blog-news/using-phpdocx-namespaces ) on using it with namespaces, but still getting the error. Any advise on using thirdparty libraries in SilverStripe?
556: [09:26:48] * Tanger quit (Quit: Tanger)
557: [09:30:17] <simon_w> jcwacky, that's for using PHPDocX with code that uses namespaces, not for moving it into a namespace
558: [09:31:02] <jcwacky> Ah!
559: [09:31:17] <jcwacky> So not easily possible?
560: [09:31:41] <simon_w> Not if the third party library has conflicting class names
561: [09:32:51] <jcwacky> Damn.
562: [09:35:29] <jcwacky> Suppose I could create a standalone .php script, and redirect there with the info it needs from SilverStripe in a query string.
563: [09:36:09] * spronk2 has joined #silverstripe
564: [09:48:37] * simon_w quit (Quit: This computer has gone to sleep)
565: [09:51:46] * ARNHOE_ has joined #silverstripe
566: [09:53:43] * wmk quit (Quit: nice to meet you ;))
567: [09:54:54] * ARNHOE quit (Ping timeout: 240 seconds)
568: [09:55:03] * Shrike_Finland quit (Quit: Leaving.)
569: [09:56:11] * Shrike_Finland has joined #silverstripe
570: [10:00:29] * zippy__ has joined #silverstripe
571: [10:01:29] <zippy__> evenings
572: [10:03:54] * Turnerj has joined #silverstripe
573: [10:06:22] <Turnerj> How does anyone here deal with editing one of your own dataobjects on a $has_one?
574: [10:14:33] * r3v3rb has joined #silverstripe
575: [10:14:39] <r3v3rb> morning
576: [10:15:35] <r3v3rb> anyone here using SS on IIS8 - Azure Platform? I have the site running but keep getting occassional FASTCgi errors
577: [10:20:48] <r3v3rb> also what is the default charset of the MySQL database when installing?
578: [10:20:49] * ARNHOE has joined #silverstripe
579: [10:24:08] * ARNHOE_ quit (Ping timeout: 245 seconds)
580: [10:24:30] * wmk has joined #silverstripe
581: [10:25:12] * jcwacky has left #silverstripe
582: [10:26:10] * simon_w has joined #silverstripe
583: [10:37:16] * Shrike_Finland quit (Quit: Leaving.)
584: [11:04:02] <simon_w> Bah, bloody ConfigStaticManifest
585: [11:04:24] <simon_w> So ridged and easily broken by changes to tokens
586: [11:06:28] <r3v3rb> simon_w: who should I kick for SS destroying an Azure server then :)
587: [11:06:37] <simon_w> Hamish
588: [11:06:43] <simon_w> It's always Hamish :p
589: [11:07:03] <r3v3rb> Azure server scores 49/100 in Google Page Insights, same site on my server 81/100
590: [11:07:36] <r3v3rb> and thats low because it incorrectly determined compression wasn’t being used for CDN content from Facebook and Twitter
591: [11:07:44] <r3v3rb> lol
592: [11:07:54] <r3v3rb> okay where’s Hamish!
593: [11:08:02] <simon_w> Auckland :p
594: [11:08:28] * Shrike_Finland has joined #silverstripe
595: [11:09:36] <simon_w> Well, time to make a fork of framework so that I can actually use this project
596: [11:11:27] <kinglozzer> simon_w: Unexpected token when building static manifest?
597: [11:12:02] <simon_w> Fatal error: Couldn\\'t parse /var/deploys/dev/xhp-viewer/code/xhp/base/core.php when building config static manifest in /var/deploys/dev/framework/core/manifest/ConfigStaticManifest.php on line 248
598: [11:16:41] <kinglozzer> ah. Module looks awesome btw, I still need to catch up on all things hack
599: [11:17:04] <simon_w> Well, you need the Hack branch to have it work with HHVM, and then you get that error
600: [11:17:11] <r3v3rb> which module?
601: [11:17:44] <simon_w> https://packagist.org/packages/simonwelsh/xhp-loader and https://packagist.org/packages/simonwelsh/xhp-viewer
602: [11:18:04] <kinglozzer> Yeah I still don't even have HHVM set up yet
603: [11:18:09] * kinglozzer slow
604: [11:19:35] <r3v3rb> oh xhp facebooky stuff for templating
605: [11:19:49] <simon_w> Let's see if this import can happen without me having to do a pull/push myself
606: [11:20:04] <simon_w> Woo, it did!
607: [11:24:55] <zippy__> excellent
608: [11:25:07] <zippy__> no 13th day of the month baby :)
609: [11:25:32] <zippy__> now just hope he comes out soon with all digits intack and no third eye or arm
610: [11:26:42] <simon_w> There we go, one custom fork of framework set up
611: [11:26:51] <simon_w> Surprised it took this long
612: [11:26:56] <simon_w> Ooh, I could go and Hack it all!
613: [11:28:12] * simon_w|air quit (Quit: This computer has gone to sleep)
614: [11:32:53] <simon_w> And delete a lot of crap
615: [11:37:03] <zippy__> hack != HHVM ?
616: [11:37:12] <zippy__> excuse my ignorance
617: [11:37:43] <simon_w> Hack's a language that's similar to PHP
618: [11:37:49] <simon_w> HHVM's an engine that runs PHP and Hack code
619: [11:38:17] <simon_w> Hmm, I'm going to make this fork of framework public
620: [11:39:00] <zippy__> it's an interesting choice to name the language to hack
621: [11:41:23] <simon_w> [3.1 1405631] Deletes things that aren't needed
622: [11:41:24] <simon_w> 725 files changed, 95676 deletions(-)
623: [11:41:26] <simon_w> Feels good
624: [11:43:52] <r3v3rb> fack how many!
625: [11:43:58] <r3v3rb> 95k of deletions
626: [11:44:56] <simon_w> Basically, tests and docs
627: [11:45:03] <simon_w> Cause fuck em
628: [11:46:19] <simon_w> https://git.simon.geek.nz/simon_w/silverstripe-framework
629: [11:46:21] <simon_w> Bye bye tags!
630: [11:46:48] <simon_w> Hmm, gitlab's having problems loading this diff
631: [11:46:51] * r3v3rb sniggers
632: [11:46:52] <r3v3rb> erm, http://hhvm.com/frameworks/ <- top 20+ frameworks yet WordPress isn’t listed :P
633: [11:46:59] <simon_w> https://git.simon.geek.nz/simon_w/silverstripe-framework/commit/1405631011f3ed309eb5c7981bf33a61fa361031
634: [11:47:10] <simon_w> That's the delete some things diff
635: [11:47:59] <zippy__> 'Ruby config files' - you trying to make Hamish cry?
636: [11:48:25] <simon_w> First thing I did: merge a pull request that guts one of his classes
637: [11:48:56] <simon_w> Ooh, I could call this "Libre Framework"!
638: [11:49:11] <zippy__> heh
639: [11:49:30] <simon_w> Should probably add the tests and docs in as separate module at some point
640: [11:49:34] <zippy__> why remove the tests though, wouldn't that be useful to ensure it's working fine witht he new system
641: [11:49:53] <simon_w> Because they're not useful in a deployed environment
642: [11:50:03] <simon_w> They just sit there and get in the way
643: [11:50:16] <zippy__> yea, you wrote the 'seperate module' at the same time
644: [11:50:20] <zippy__> so makes sense
645: [11:51:51] <simon_w> Oh man, being able to go through and delete things feels good
646: [11:52:14] <simon_w> This is totally going to go to my head :D
647: [11:53:26] <simon_w> Hah, sublime's having problems catching up with samba
648: [11:54:25] <simon_w> I'm also rather tempted to ditch the whole i18n layer
649: [11:58:02] * r3v3rb quit (Quit: r3v3rb)
650: [11:58:14] <simon_w> I CAN DITCH ErrorControlChain :D :D :D
651: [11:59:40] <zippy__> going to add some patches for ss ? :)
652: [12:01:14] <simon_w> Not with what I'm currently doing
653: [12:01:51] <simon_w> The fork's public though, so you can use it
654: [12:03:00] * r3v3rb has joined #silverstripe
655: [12:03:59] <simon_w> Well, main.php got a lot smaller
656: [12:04:00] <simon_w> https://git.simon.geek.nz/simon_w/silverstripe-framework/commit/471ccbed7025f64f623ecd43f88cca21d6d53fcb
657: [12:06:06] <zippy__> still got all that ErrorControlChain going on
658: [12:06:21] <simon_w> Yeah, that needs a little more work to get rid of
659: [12:06:36] <simon_w> Basically, ditch flush checks everywhere, only allow it from the CLI
660: [12:07:51] <simon_w> I'm going to have fun with this :)
661: [12:09:28] <ss23> Whatcha doin?
662: [12:09:43] <simon_w> Forking SS
663: [12:09:49] <ss23> Hmm
664: [12:09:54] <ss23> I think there is little value in this
665: [12:10:04] <simon_w> I don't care
666: [12:10:15] <ss23> simon_w: Your choice in projects is lame :P
667: [12:10:32] <simon_w> All I was trying to do was use SS on HHVM with XHP
668: [12:10:51] <simon_w> But nooooo, SS_ConfigStaticManifest_Parser doesn't like that
669: [12:11:02] <simon_w> Because the tokens generated are a little different
670: [12:11:10] <zippy__> sounds to me like simon_w is clearing out some bloat…. the main repo could do with some of these changes as patches
671: [12:11:23] <ss23> There are lots of things that are bloated and I hate
672: [12:11:37] * zippy__ on the other hand has reduced a 2.4mb js file to 280k
673: [12:11:51] <ss23> But removing support for IIS, making it harder to debug PHP < 5.3, thigns like that aren't going to be removed from core
674: [12:11:51] <zippy__> now to tackle this 780k css file
675: [12:11:59] <zippy__> thats true, thats true
676: [12:12:09] <ss23> The optimal thing would be to make those modules instead, but it's not pratical for things that need to be bootstrapped early
677: [12:12:10] <simon_w> I know, that's why I'm not submitting them upstream
678: [12:12:11] <zippy__> well, apart from the php less than 5.3
679: [12:12:14] <ss23> simon_w: Yeah, ik
680: [12:12:35] <ss23> I think perhaps the best way to solve them would be to move them to the installer repo and move them away from framework
681: [12:12:37] <zippy__> do shared hosting still only off er 5.2?
682: [12:12:45] <simon_w> zippy__, some do
683: [12:12:47] <ss23> If you're installing SS without the installer, you should be aware of the cavaeats already
684: [12:13:09] <simon_w> Oh, I'm also ditching Apache support
685: [12:13:48] <simon_w> And web-based flushing
686: [12:13:54] <simon_w> (BYE BYE ErrorControlChain :D)
687: [12:14:07] <simon_w> Well, bed time
688: [12:14:14] <simon_w> More removals in the morning :)
689: [12:15:31] <ss23> mmm, they're all changes I like, just not changes I think will ever go back upstream, zippy__
690: [12:25:09] * UndefinedOffset has joined #silverstripe
691: [12:46:36] * Turnerj quit (Quit: Page closed)
692: [12:49:12] * samthejarvis has joined #silverstripe
693: [13:04:19] * Shrike_Finland quit (Quit: Leaving.)
694: [13:04:43] * g4b0_ has joined #silverstripe
695: [13:11:11] <g4b0_> hi all
696: [13:11:24] <samthejarvis> hioo
697: [13:12:11] <g4b0_> I would like to write a module but I need to inject code into framework/javascript/HtmlEditorField.js
698: [13:12:33] <g4b0_> does entwine provide some way to extend existing code
699: [13:12:42] <g4b0_> or I have to give up?
700: [13:15:32] <samthejarvis> i.. think that was one of entwine's main purposes, i think it should be possible
701: [13:15:54] <samthejarvis> never done it m'self
702: [13:16:33] <samthejarvis> have you checked what you're trying to do isn't possible using the existing configurable settings?
703: [13:17:25] <samthejarvis> $tinyMCE = HtmlEditorConfig::get('cms'); $tinyMCE->insertButtonsAfter('justifyfull', 'forecolor'); etc
704: [13:17:29] <g4b0_> yep, I've checked...
705: [13:17:34] <samthejarvis> righto
706: [13:17:47] <samthejarvis> i'm kinda intrigued as to what can be done, i'll have a look at it tonight
707: [13:17:53] <g4b0_> I would like to have linkable databojects
708: [13:18:03] <samthejarvis> ah, yeah that'd be great
709: [13:18:07] <samthejarvis> needed that many a time!
710: [13:18:27] <g4b0_> acutually i can do it jusk hacking the core
711: [13:18:28] <samthejarvis> i'd start that off by extending the class that provides the form
712: [13:18:51] <g4b0_> but it's difficult to mantain during version upgrade
713: [13:19:00] <samthejarvis> yeah, never hack the core!
714: [13:19:22] <g4b0_> I think it's the only way to have linkable do
715: [13:19:42] <samthejarvis> have you tried looking at http://api.silverstripe.org/3.1/class-HtmlEditorField_Toolbar.html ?
716: [13:19:47] <g4b0_> did you extended HtmlEditorField_Toolbar
717: [13:19:50] <g4b0_> ok
718: [13:19:58] <g4b0_> I also hacked it :P
719: [13:20:09] <samthejarvis> yeah i've played with that a bit, you can use Object::useCustomClass() instead of hacking the core for pretty much any task
720: [13:20:21] <g4b0_> off courst
721: [13:20:34] <g4b0_> course
722: [13:20:54] <g4b0_> but you have the same problem in case of version upgrade
723: [13:21:17] <samthejarvis> it alleviates the problem of the version upgrade actually removing your custom code
724: [13:21:17] <g4b0_> the problem is the javascript file
725: [13:21:44] <samthejarvis> i can't confirm/deny that at the moment, will have to look at it
726: [13:21:46] <g4b0_> HtmlEditorField_Toolbar can be extended through an Extension
727: [13:22:09] <samthejarvis> oh yeah, didn't see that $this->extend('updateLinkForm', $form); in there
728: [13:22:11] <samthejarvis> that's great
729: [13:22:13] * zippy__ quit (Quit: zippy__)
730: [13:22:29] <samthejarvis> so you've customised the form with your extra DO-selecting fields
731: [13:22:41] <samthejarvis> now you need some custom JS to handle it?
732: [13:22:45] <g4b0_> yep
733: [13:23:04] <samthejarvis> i'd read up on entwine's docs
734: [13:23:15] <samthejarvis> pretty sure it gives you hooks for pretty much everything
735: [13:23:16] <g4b0_> I'm trying to write a module to share to the community
736: [13:23:25] <samthejarvis> i'd definitely make use of it heh
737: [13:23:26] <g4b0_> I hope this :P
738: [13:24:34] <samthejarvis> you could maybe try and contact hamish friedlander, don't know if he frequents the IRC but he'll know what to do
739: [13:24:59] <g4b0_> I'm searching the contact on github
740: [13:26:03] <samthejarvis> cool, good luck!
741: [13:26:37] <g4b0_> thanks for your interesting
742: [13:27:18] * spronk2 quit (Quit: spronk2)
743: [13:52:22] <kinglozzer> g4b0_: Is this of any help? https://github.com/kinglozzer/htmleditoriframe/blob/master/javascript/HtmlEditorField_Iframe.js
744: [14:03:33] * Shrike_Finland has joined #silverstripe
745: [14:04:00] * catcher has joined #silverstripe
746: [14:07:59] <g4b0_> mmm it seems intresting :)
747: [14:09:16] <g4b0_> so you just override some function adding your custom code?
748: [14:12:35] <kinglozzer> g4b0_: Yeah, you can override a function - then you can call the 'parent' function with this._super()
749: [14:16:00] * scpi has joined #silverstripe
750: [14:17:46] <scpi> using Composer to upgrade SS from 3.1.4 to 3.1.5, is there any magic incantation I need to perform, or can I just change the line in my composer.json to the new version number and then do 'composer update'?
751: [14:21:57] <UndefinedOffset> scpi i've always changed cms and framework to 3.1*@stable that seems to force them to use any stable 3.1
752: [14:22:07] <UndefinedOffset> then composer update will pull 3.1.5
753: [14:22:41] <scpi> And you just do that in the .json file, no special command or anything, right?
754: [14:23:58] <g4b0_> kinglozzer: it works!!!
755: [14:24:02] <g4b0_> thanks a lot
756: [14:24:09] <kinglozzer> g4b0_: No problem :)
757: [14:25:07] <UndefinedOffset> scpi nope just run composer update after changing
758: [14:25:20] <UndefinedOffset> scpi make sure you dev/build and flush once it's done of course
759: [14:25:57] <scpi> as usual, of course
760: [14:26:00] <scpi> thanks!
761: [14:33:46] * anselmdk_ has joined #silverstripe
762: [14:33:46] * anselmdk quit (Read error: Connection reset by peer)
763: [14:33:46] * anselmdk_ is now known as anselmdk
764: [14:39:17] * Fisix_AIX has joined #silverstripe
765: [14:39:54] * jrthomer quit (Ping timeout: 240 seconds)
766: [14:40:36] <Fisix_AIX> Managing BuildTasks with Model admin, or creating a relationship from a DataObject to a BuildTask. Is this possible?
767: [14:42:04] * r3v3rb quit (Ping timeout: 276 seconds)
768: [14:43:50] * r3v3rb has joined #silverstripe
769: [14:44:25] <kinglozzer> Fisix_AIX: Possible, yes
770: [14:44:31] <kinglozzer> Not sure of exact steps though
771: [14:45:00] <kinglozzer> What do you need to do?
772: [14:46:01] * Shrike_Finland quit (Quit: Leaving.)
773: [14:46:38] <Fisix_AIX> kinglozzer, Basically.... Starting building a little CMS module that you could create a task and a description and a status light shows in the gridfield dependant on the task/test status running/fail/pass etc
774: [14:47:00] <Fisix_AIX> No I kind of need to link up the Tasks with the ModelAdmin
775: [14:47:06] <Fisix_AIX> now*
776: [14:47:59] <kinglozzer> I see, yeah not really sure of the best approach. I'd guess at loading them into the GridField manually as an ArrayList, rather than trying to hack them together as DataObjects
777: [14:48:23] <samthejarvis> Fisix_AIX: This might be what you're looking for, https://github.com/silverstripe-australia/silverstripe-queuedjobs, it's a pretty hefty though
778: [14:48:37] <Fisix_AIX> Yes, well I know my suggestion was unlikely to be the best one
779: [14:49:27] <Fisix_AIX> samthejarvis, Thanks I'll have a look
780: [14:49:35] <samthejarvis> I think you need gearmand + the gearman module to do asynchronous task running
781: [14:50:21] <Fisix_AIX> Thanks, I'll research it
782: [14:51:50] <Fisix_AIX> Out of interest if I wanted to get a list of all defined tasks, how would I do that?
783: [14:53:17] * jrthomer has joined #silverstripe
784: [14:54:46] <samthejarvis> You could try using ClassInfo::subclassesFor('BuildTask')
785: [14:55:06] <samthejarvis> that'll return an array of all classes that extend BuildTask
786: [14:58:17] * r3v3rb quit (Quit: r3v3rb)
787: [15:04:38] * jenniferaslan has joined #silverstripe
788: [15:08:39] <ocm> how should I use MultiEnum?
789: [15:08:58] <ocm> as a $db
790: [15:10:30] <ocm> nvm got it already
791: [15:10:59] <ocm> instead of using 'MultiEnum("opt1", "opt2") -> ("opt1, opt2") did the trick
792: [15:13:14] <g4b0_> how can I inject fields to an existent form throug an extension?
793: [15:16:20] <samthejarvis> g4b0_: does this help? http://puu.sh/8KJjE.png
794: [15:16:38] <kinglozzer> g4b0_: Is it a built-in CMS form? If not, you may need to call $this->extend('updateMyForm'); manually
795: [15:22:39] <g4b0_> yep, it'a a built in cms form
796: [15:22:43] * ARNHOE quit ()
797: [15:24:09] <samthejarvis> which form are you updating?
798: [15:24:11] <g4b0_> kinglozzer: it's the form at line 250 of framework/forms/HtmlEditorField.php
799: [15:24:46] <samthejarvis> look for the line that has $this->extend(), the first parameter in that is the function name you need to use
800: [15:25:23] <kinglozzer> g4b0_: updateLinkForm
801: [15:25:49] <kinglozzer> g4b0_: https://github.com/kinglozzer/htmleditoriframe/blob/master/code/HtmlEditorField_Iframe.php#L19-L45 << that's the same thing, only I updated the media form instead of the link form
802: [15:26:09] <kinglozzer> You just need an extension, with "public function updateLinkForm($form) { ... }"
803: [15:26:28] <kinglozzer> Extension can be applied with https://github.com/kinglozzer/htmleditoriframe/blob/master/_config/config.yml
804: [15:32:14] <g4b0_> thanks a lot kinglozzer
805: [15:37:01] * r3v3rb has joined #silverstripe
806: [15:41:07] * ezero quit (Ping timeout: 240 seconds)
807: [15:42:33] * r3v3rb_ has joined #silverstripe
808: [15:43:38] * r3v3rb quit (Ping timeout: 252 seconds)
809: [15:43:39] * r3v3rb_ is now known as r3v3rb
810: [15:44:44] * basso__ has joined #silverstripe
811: [15:45:29] * muskie9 has joined #silverstripe
812: [15:46:24] <basso__> Hi, Im trying to get random images from images uploaded to a folder in SS. So far I have this: Folder::get()->filter(array('Name' => 'images-atmosphere'))->first()->children()->sort('RAND()')->limit(3); It works, but it seems RAND() has the same seed, so it's not that random :) How to seed RAND()?
813: [15:48:16] <r3v3rb> woot, static publisher and forms??
814: [15:48:29] <r3v3rb> since turning on SP no forms submit :(
815: [15:49:07] <wmk> r3v3rb, well....
816: [15:49:13] <samthejarvis> r3v3rb, might need to disable security tokens
817: [15:49:13] <r3v3rb> :\
818: [15:49:17] <r3v3rb> oh
819: [15:49:19] <r3v3rb> ok
820: [15:49:20] <samthejarvis> or does it not get that far?
821: [15:49:23] <wmk> either disable security token or exclude the pages with form from static publisher
822: [15:49:46] <r3v3rb> ok, which is best route > class or removal of tokens
823: [15:50:14] <wmk> in your code where you define the affected pages
824: [15:50:21] <r3v3rb> add $ignored = array('UserDefinedForm');
825: [15:50:26] <r3v3rb> etc etc :D
826: [15:50:51] <kinglozzer> r3v3rb: Either that, or add a query string to the form action
827: [15:50:52] <wmk> http://addons.silverstripe.org/add-ons/markguinn/silverstripe-livepub <- r3v3rb this could help
828: [15:51:03] <wmk> havent tested it yet
829: [15:51:18] * guci0 quit (Ping timeout: 240 seconds)
830: [15:51:40] <kinglozzer> r3v3rb: $form->setFormAction($form->FormAction() . '?u=1'); I think
831: [15:51:58] <r3v3rb> kinglozzer: huh?
832: [15:52:01] <kinglozzer> That way the initial page will be cached, but the form submission will be 'uncached'
833: [15:52:14] <kinglozzer> Oh, and turn of security tokens
834: [15:52:15] <kinglozzer> :P
835: [15:52:17] <r3v3rb> sweet
836: [15:52:19] <kinglozzer> off*
837: [15:52:28] <r3v3rb> I’m assuming its the cause anyway
838: [15:52:40] <kinglozzer> It almost certainly will be
839: [15:52:46] <kinglozzer> SP doesn't play nicely with forms :(
840: [15:53:05] <wmk> with livepub module you can security tokens turned on
841: [15:53:38] <r3v3rb> yep, its the static publishing stopping forms submitting
842: [15:53:57] * ezero has joined #silverstripe
843: [15:54:27] <r3v3rb> hmm, kinglozzer got that in FormAction::create format?
844: [15:55:07] <basso__> 1,15Hi, Im trying to get random images from images uploaded to a folder in SS. So far I have this: 12,15folder::get()-1,15>filter(array('Name' => 'images-atmosphere'))->first()->children()->sort('RAND()')->limit(3); It works, but it seems RAND() has the same seed, so it's not that random :) How to seed RAND()?
845: [15:58:14] * ocm quit (Read error: Connection reset by peer)
846: [16:01:26] <kinglozzer> r3v3rb: It's separate to the FormAction logic, it's just Form stuff
847: [16:01:48] <r3v3rb> hmm got an example?
848: [16:02:12] <kinglozzer> $form->setFormAction($form->FormAction() . '?u=1');
849: [16:02:13] <kinglozzer> :P
850: [16:02:24] <kinglozzer> After your $form = Form::create(.... stuff, before return $form
851: [16:05:20] * g4b0_ quit (Quit: Sto andando via)
852: [16:07:55] <kinglozzer> r3v3rb: https://gist.github.com/kinglozzer/5fe4545e0d8b97cd9864
853: [16:16:18] * basso__ quit (Quit: basso__)
854: [16:16:48] <r3v3rb> kinglozzer: better but adds #Form_contactForm to url on redirect and doesn’t pick up session success message :(
855: [16:18:37] * babak quit (Quit: Connection closed for inactivity)
856: [16:19:54] <ThePeach> hi all
857: [16:20:07] <ThePeach> what would be the best way to check why a mail is not being sent?
858: [16:20:08] <kinglozzer> r3v3rb: Yeah sorry that hash was what we used to scroll the page down to the form on mobiles.
859: [16:20:15] <r3v3rb> lol
860: [16:20:17] <ThePeach> $mail->send() returns me false AFAIK
861: [16:20:34] <ThePeach> but the email template is populated correctly
862: [16:20:53] <kinglozzer> r3v3rb: For the doContactForm() method, again we used return $this->redirect($this->Link('?u=1')); to ensure it wasn't seeing the cached version
863: [16:21:03] <kinglozzer> Should then show session messages
864: [16:23:48] * samthejarvis quit (Ping timeout: 240 seconds)
865: [16:24:23] <r3v3rb> kinglozzer: anoter pint I owe you next time i’m in norwich
866: [16:24:31] <kinglozzer> :P
867: [16:24:34] <r3v3rb> :D
868: [16:24:59] <r3v3rb> kicked clients IT department into submission over their stupid idea of deploying on Azure cloud
869: [16:25:06] <r3v3rb> :D wins with static publishing
870: [16:25:07] <kinglozzer> win!
871: [16:25:10] <r3v3rb> ftw!
872: [16:25:21] <wmk> r3v3rb, congrats
873: [16:25:43] <r3v3rb> wmk: thanks - been a battle over the last two days explaining how shit the platform is
874: [16:26:31] <r3v3rb> now they want SLA etc etc, so told them ‘So, you want the same SLA as Equity Insurance’ which made them poop their pants because they think the bill for it will be mahooosive
875: [16:26:47] <r3v3rb> which it now will be by default :D
876: [16:27:32] <kinglozzer> What's the Azure SLA? 5% ? :P
877: [16:28:23] * kinglozzer home
878: [16:28:25] <kinglozzer> cya
879: [16:28:29] * kinglozzer quit ()
880: [16:30:21] * stnvh quit ()
881: [16:35:07] * guci0 has joined #silverstripe
882: [16:39:52] * Fisix_AIX quit (Quit: Leaving)
883: [16:41:34] <scpi> If I'm suddenly getting "internal server error" messages in the CMS, but not seeing anything in my logs, where's the best place to start debugging?
884: [16:44:44] * r3v3rb quit (Quit: r3v3rb)
885: [16:52:55] <scpi> ?debug=1 seems unhelpful
886: [16:54:00] <wmk> ?isDev=1
887: [16:54:11] <wmk> or set to DEV-Mode in your config.php
888: [16:54:23] <wmk> - apache error logs
889: [16:54:31] <scpi> already in dev mode
890: [16:54:51] <scpi> and there's not really anything in my logs
891: [16:54:55] <wmk> if it's some weird php error you'll have to look at the apache logs
892: [16:55:06] <scpi> I'm looking at the apache logs
893: [16:55:20] <wmk> sometimes php crashes before ss has a chance to log
894: [16:56:09] <scpi> every time I try to select a photo gallery page in the CMS?
895: [16:56:30] <scpi> If php were crashing, wouldn't the php log indicate that?
896: [16:56:30] <wmk> in cms?
897: [16:56:37] <scpi> Yeah, in the cms
898: [16:56:38] <wmk> you have firebug?
899: [16:56:42] <scpi> sure
900: [16:56:45] <wmk> watch the network.
901: [16:56:59] <wmk> there you can see the return with error msg etc
902: [16:57:33] <wmk> scpi, http://www.leftandmain.com/silverstripe-tips/2010/09/08/8-common-silverstripe-errors-explained-and-solved/ is quite old but maybe you'll find a tip
903: [16:58:57] <wmk> my personal favorite tip: use xdebug if you have a clue where the eror occurs
904: [17:04:03] <scpi> deprecation notice?? how is that an "internal server error"? jesus, silverstripe...
905: [17:04:18] <wmk> throw error...?
906: [17:04:38] <wmk> in dev mode it crashes, in live not
907: [17:04:41] <wmk> afaik
908: [17:04:51] <scpi> yeah, that makes sense now.
909: [17:04:52] <wmk> when developing it's a feature to notice you about deprecation
910: [17:05:15] <scpi> But when I hear the words "internal server error", I usually think "something's wrong with apache"
911: [17:05:22] <wmk> well, a feature that nerves right now. but better update your code as early as possible
912: [17:06:30] <scpi> no time. rolling back silverstripe. Who needs security patches anyway?
913: [17:07:12] <wmk> well, is the deprecation new in 3.1.5 and wasn't in 3.1.4??
914: [17:07:35] <scpi> that's the only thing that's changed on my side. checking change logs now.
915: [17:09:24] <wmk> good luck. i'm off now. cu
916: [17:09:34] <scpi> thanks.
917: [17:09:39] * wmk quit (Quit: nice to meet you ;))
918: [17:35:42] * gelignite has joined #silverstripe
919: [17:53:45] * Colin[pi] has joined #silverstripe
920: [18:23:29] * r3v3rb has joined #silverstripe
921: [18:37:41] * r3v3rb quit (Quit: r3v3rb)
922: [18:39:52] * SphereSilverNL has joined #silverstripe
923: [18:42:25] * r3v3rb has joined #silverstripe
924: [18:44:49] <SphereSilverNL> Anyone ever experienced tinyMCE rewriting CSS, images and JS wrong, instead of /framework/thirdparty (etc.), it just writes /plugins and /themes/advanced/
925: [18:46:05] * anselmdk quit (Quit: anselmdk)
926: [18:47:30] <catcher> SphereSilverNL, can't say I've ever encountered that..
927: [18:48:10] <catcher> I had something kind of similar with a partial caching issue, turned out to be related to file_to_url_mapping
928: [18:48:24] <SphereSilverNL> I think it has something to do with either cloudflare or pagespeed
929: [18:49:07] <SphereSilverNL> but caching sounds like it could have something to do with it too
930: [18:49:44] <SphereSilverNL> Hmmm, nope, not caching, since I disabled caching for dev-mode
931: [18:55:00] <catcher> SphereSilverNL, sounds like a constant value may have been changed
932: [18:56:15] * CodeTrap has joined #silverstripe
933: [18:58:49] * muskie9 quit (Ping timeout: 258 seconds)
934: [19:00:15] <r3v3rb> catcher: I got client to switch to LAMP stack after proving Azure was rubbish
935: [19:00:27] <r3v3rb> not you Azure but MS Azure
936: [19:00:55] <Azure> I know.
937: [19:01:33] <r3v3rb> ;)
938: [19:03:04] <Azure> I get highlighted at least several times a week with people talking about Windows Azure. An unfortunate nick choice, I suppose (but it was way before WinAz)
939: [19:03:06] <catcher> r3v3rb, YES
940: [19:03:12] <catcher> r3v3rb, whew
941: [19:03:38] <catcher> r3v3rb, what sold them? I have to fight that battle about twice a year.
942: [19:03:38] * SphereSilverNL quit (Remote host closed the connection)
943: [19:04:26] <catcher> was it the 'if it ain't broke' argument?
944: [19:05:02] <r3v3rb> I basically said I would charge at £££ph for any further ‘investigative’ work as to why the site isn’t as performant under Azure when compared to a LAMP stack
945: [19:05:23] <r3v3rb> page loads where 6~7s on Azure, 1~2s on LAMP
946: [19:05:40] <catcher> r3v3rb, because of the DB dropout, or just in general?
947: [19:05:59] <r3v3rb> catcher: no because php kept tripping up in the admin
948: [19:06:15] <r3v3rb> alot, as in everytime hey tried to edit a page
949: [19:20:56] <r3v3rb> mmm, more static publishing woes - I have a small element on every page that requires a curl function to determine itself. time to switch to jquery ajax instead
950: [19:29:32] * babak has joined #silverstripe
951: [19:29:44] <guci0> r3v3rb: good
952: [19:30:02] <r3v3rb> guci0: good?
953: [19:35:51] <catcher> r3v3rb, seems like a good candidate for partial caching
954: [19:36:09] <r3v3rb> can I partial cache in a static publisher site
955: [19:36:17] <r3v3rb> or ditch static and go partial?
956: [19:38:13] * muskie9 has joined #silverstripe
957: [19:38:24] <catcher> r3v3rb, isn't static publisher page by page? Or is that the other one?
958: [19:38:45] <r3v3rb> static publisher is all class types unless excluded afaik
959: [19:39:02] <r3v3rb> I’ll go with partial caching for now I think
960: [19:40:01] * SphereSilverNL has joined #silverstripe
961: [19:40:13] <catcher> r3v3rb, isn't static exporter the whole site, and static publisher is page-by-page?
962: [19:40:35] <SphereSilverNL> So, improving your server with e.g. pagespeed module by Google
963: [19:40:42] <SphereSilverNL> makes any relative link absolute.
964: [19:40:46] <r3v3rb> afaik, whe saving any page unless it’s class is excluded a cache file is created
965: [19:40:59] <catcher> Ideally, you could stick with static publisher and use partial caching on those with dynamic content.
966: [19:40:59] <SphereSilverNL> Just so you know, that's the issue I encountered and it took me 4 hours to figure out :(
967: [19:40:59] <r3v3rb> SphereSilverNL: yes, thats what it does
968: [19:41:18] <SphereSilverNL> r3v3rb: It shouldn't make relatives absolute
969: [19:41:32] <SphereSilverNL> Caching and such is fine, but making them absolute makes no sense at all
970: [19:41:36] <r3v3rb> catcher: but then how would the statically published page know to use a cached function call
971: [19:42:00] <SphereSilverNL> By making relatives absolute to their root instead of just making the relative a root
972: [19:42:40] <catcher> r3v3rb, you wouldn't use static publishing on the pages with partial caching
973: [19:42:53] <r3v3rb> catcher: that would be all of them then ;)
974: [19:43:04] <r3v3rb> as this object appears on all pages
975: [19:43:15] <catcher> aha
976: [19:43:23] <r3v3rb> it determines whether live chat is available
977: [19:43:41] <r3v3rb> I’ll see if I can get an ajax call to do the same
978: [19:44:04] <r3v3rb> it only substitutes some text and classes
979: [19:44:16] <catcher> r3v3rb, sounds like that's worth a shot
980: [19:44:35] <r3v3rb> mebbe, ‘cept my ajax skillz is not l33t
981: [19:44:51] <guci0> r3v3rb: good idea (client side) / U said about JS ajax call.
982: [19:45:02] <r3v3rb> guci0: oh thanks
983: [19:46:40] <catcher> r3v3rb, sounds like a synchronous call instead, but the process is similar.
984: [19:48:35] <muskie9> is it possible to apply drag'n drop reordering in a model admin gridfield like on a page? I've never seen it done and had a client ask
985: [19:48:53] <SphereSilverNL> What version of model admin?
986: [19:49:00] <SphereSilverNL> or actually, what framework version?
987: [19:49:11] <muskie9> 3.1.4/3.1.5
988: [19:49:12] <SphereSilverNL> If 2.4.x, then yes, but you have to write it yourself
989: [19:49:31] <SphereSilverNL> if 3.1.x, look at GridFieldExtensions module by ajshort
990: [19:49:45] <muskie9> will do, thnx
991: [19:51:08] <guci0> *** Lights on ***
992: [19:51:08] <r3v3rb> hmm, would a .get require an xhr object to go cross domain to get the result
993: [19:52:52] <r3v3rb> because I get no response yet pasting the url to test into the browser returns a single word to the browser
994: [19:53:45] <r3v3rb> http://c1.websitealive.com/1857/status.asp?action=groupstatus&groupid=1857 for example returns online yet doing as ajax get .done( console.log(data) ) returns nothing
995: [19:56:38] <catcher> muskie9, you prefer that to the SortableGridField module?
996: [19:56:53] <catcher> oops, SphereSilverNL
997: [19:58:05] <SphereSilverNL> oops?
998: [19:58:16] <catcher> SphereSilverNL, my question was for you, not muskie9
999: [19:59:09] <SphereSilverNL> What question exactly?
1000: [19:59:11] <catcher> r3v3rb, if you're having cross domain errors, your browser debugger will let you know
1001: [19:59:28] <r3v3rb> no errors just no data in response
1002: [19:59:33] <r3v3rb> still digging :D
1003: [19:59:38] <catcher> SphereSilverNL, you prefer that to the SortableGridField module?
1004: [20:00:09] <SphereSilverNL> catcher: Ah, yes, completely. The Extensions-module has everything packed with slightly different naming
1005: [20:00:15] <muskie9> looks like it does the same as SortableGridField as far as sorting, so the bigger question would be is the generated GridField for a particular object in ModelAdmin sortable
1006: [20:00:28] <SphereSilverNL> It's better. In my experience
1007: [20:00:38] <SphereSilverNL> It does considering just sorting
1008: [20:00:57] <SphereSilverNL> but it packs a lot more punch with other options you might need ;)
1009: [20:01:20] <SphereSilverNL> If you just, only needs sorting, SortableGridField is ok
1010: [20:01:41] <SphereSilverNL> but if you need anything more, GridFieldExtensions does most of your work
1011: [20:02:02] <SphereSilverNL> There's your answer ;)
1012: [20:03:08] <catcher> SphereSilverNL, does the Extensions module allow sorting to top instead of end?
1013: [20:03:10] <r3v3rb> hmm, status 200 OK yet no data returned
1014: [20:03:34] <SphereSilverNL> catcher: that's better to ask ajshort, he made the module ;)
1015: [20:03:35] <catcher> r3v3rb, you probably need to prepare the output for ajax
1016: [20:03:37] * Stomach has joined #silverstripe
1017: [20:03:44] <SphereSilverNL> But as far as I know, yes it does.
1018: [20:04:37] <r3v3rb> catcher its a string returned by an asp function at the server
1019: [20:04:44] <r3v3rb> not mine the livechat system
1020: [20:05:00] <catcher> ah, hm
1021: [20:05:03] <r3v3rb> in php curl gets the response from the page body returned by the url
1022: [20:05:18] <r3v3rb> how do I get the body response in an ajax call?
1023: [20:05:35] <SphereSilverNL> Allow it?
1024: [20:05:52] <catcher> ajax/success
1025: [20:05:58] <r3v3rb> ok
1026: [20:06:08] <SphereSilverNL> That doesn't say anything, an error is a success too :(
1027: [20:06:30] <SphereSilverNL> Anyway, bed. I think bed is good.
1028: [20:06:32] <r3v3rb> SphereSilverNL: thats true
1029: [20:06:42] * SphereSilverNL quit (Quit: bye)
1030: [20:07:09] <catcher> There's an error callback for a true error
1031: [20:09:23] <catcher> r3v3rb, .get() should suffice though
1032: [20:09:36] <r3v3rb> indeed but it returns nothing
1033: [20:10:28] * r3v3rb is confused
1034: [20:11:24] <r3v3rb> time for ##jquery
1035: [20:11:27] <r3v3rb> lol
1036: [20:12:57] * CodeTrap quit (Quit: CodeTrap)
1037: [20:13:06] <Stomach> whats the issue?
1038: [20:13:53] <r3v3rb> need to get the response from http://c1.websitealive.com/1857/status.asp?action=groupstatus&groupid=1857 in an ajax .get
1039: [20:14:47] <catcher> curious to see the answers.. you're sure your get() is firing?
1040: [20:15:13] <r3v3rb> catcher hundred percent - repsonse is from their server - status is 200 OK
1041: [20:16:51] <Stomach> odd
1042: [20:16:57] <catcher> r3v3rb, and you have a var name in your function callback?
1043: [20:17:12] <catcher> probably easier to paste the code :-P
1044: [20:19:10] <catcher> ah, cors, fun
1045: [20:20:05] <Stomach> it doesnt allow cross domain requests
1046: [20:20:50] <catcher> yeah, should be able to hit it with a php curl though.
1047: [20:20:55] <Stomach> yup
1048: [20:22:09] <r3v3rb> catcher yep, going to have to create a small php file to do the curl outside of my ss classes to use for the ajax
1049: [20:22:17] <r3v3rb> static publisher remember
1050: [20:22:30] <Stomach> what a fun rabbit hole :D
1051: [20:22:31] <catcher> r3v3rb, it can still live in SS if you want
1052: [20:22:50] <r3v3rb> true the ajax will just call a function
1053: [20:23:02] <r3v3rb> I guess
1054: [20:23:12] <catcher> as long as you don't put it on a statically published page :)
1055: [20:23:32] <r3v3rb> all pages are statically published fella
1056: [20:23:33] <r3v3rb> :D
1057: [20:23:45] <catcher> ha, yeah then, let .htaccess do the work :)
1058: [20:24:33] <catcher> (separate php, bypass SS)
1059: [20:24:38] <r3v3rb> omg, over complicated catcher - <php $curl = curl( “url” ) return $curl ?> mush easier
1060: [20:24:50] <r3v3rb> much*
1061: [20:25:14] <catcher> yup, that's what I mean
1062: [20:25:21] * zippy__ has joined #silverstripe
1063: [20:35:24] * UndefinedOffset quit (Quit: Leaving.)
1064: [20:35:27] * nickmolhoek has joined #silverstripe
1065: [20:35:34] * Ryan-Toast has joined #silverstripe
1066: [20:36:35] * zri has joined #silverstripe
1067: [20:36:43] <zri> hey guys
1068: [20:36:57] <zri> any idea how to do the i18 task only for theme
1069: [20:37:19] <zri> i18n
1070: [20:46:42] * an_Eskimo has joined #silverstripe
1071: [20:46:57] * HappyPhantom has joined #silverstripe
1072: [20:47:05] * HappyPhantom quit (Client Quit)
1073: [20:47:31] * HappyPhantom has joined #silverstripe
1074: [20:50:39] * zippy__ quit (Quit: zippy__)
1075: [21:03:15] <guci0> task only for theme?
1076: [21:03:35] <guci0> <% _t("","") %> ??
1077: [21:12:15] <r3v3rb> catcher: fixed, even in spite of myself
1078: [21:12:50] <r3v3rb> was using a virtualhost to view site and SS was rebuilding the Ajax url as localhost so I managed to create my own CORS error!
1079: [21:13:23] <r3v3rb> will fix the code for the dynamic elements of the static published site tomorrow :D
1080: [21:14:20] <catcher> ha! interesting
1081: [21:18:14] * gelignite quit (Quit: http://bit.ly/nkczDT)
1082: [21:20:59] <muskie9> anyone have issues with fields being applied twice when added with updateCMSFields: http://sspaste.com/paste/show/53728941658d8
1083: [21:21:01] <muskie9> http://i.imgur.com/jaeGHbg.png
1084: [21:23:00] * UncleCheese has joined #silverstripe
1085: [21:23:51] * zippy__ has joined #silverstripe
1086: [21:25:32] <r3v3rb> night all too late to continue
1087: [21:25:35] <zippy__> morning
1088: [21:25:36] * r3v3rb quit (Quit: r3v3rb)
1089: [21:28:48] * Ryan-Toast quit (Quit: Ryan-Toast)
1090: [21:29:16] <simon_w> <ss23> mmm, they're all changes I like, just not changes I think will ever go back upstream
1091: [21:29:16] <simon_w> That's basically the reason for the fork. There's things that can change to make SS better/nicer, that aren't in the core's interest since it wants a much wider base
1092: [21:30:01] * nimeso has joined #silverstripe
1093: [21:31:32] <nimeso> Morning everyone! happy wet rainy day if your in CHCH nz ;)... I have a silly question about leftJoins and alias? anyone keep to here about it? don't all jump at once!
1094: [21:32:08] <zri> guci0 like
1095: [21:32:12] <nimeso> Why does this return a sql error saying 'unknown column 'brandjoin.title' in 'where clause'
1096: [21:32:20] <nimeso> $products = Product::get() ->leftJoin('Brand', '"Product"."BrandID" = "Brand"."ID"','BrandJoin') ->where("BrandJoin.Title = 'Power2max'") ->limit(10);
1097: [21:32:28] <zri> dev/tasks/?module=theme
1098: [21:33:05] <zri> dev/tasks/i18nTextCollectorTask/?module=theme
1099: [21:33:20] <zri> I can do modules, no theme / themes only
1100: [21:34:16] * Ryan-Toast has joined #silverstripe
1101: [21:37:06] <simon_w> nimeso, does Brand have a Title column?
1102: [21:39:13] <simon_w> nimeso, assuming Brand is a subclass of Page, then it's on SiteTree, not Brand. Anyway, why not just use Product::get()->filter('Brand.Title', 'Power2max')?
1103: [21:40:04] <nimeso> @simon_w Oh! duh! thanks man!
1104: [21:43:28] * scpi quit (Quit: scpi)
1105: [21:46:22] * muskie9 quit (Read error: Connection reset by peer)
1106: [21:48:40] * ThePeach quit (Quit: leaving)
1107: [21:49:34] <zippy__> antmas: http://imgur.com/a/pJEY2 was your fav wasn't it?
1108: [21:52:29] * muskie9 has joined #silverstripe
1109: [21:53:26] <muskie9> has anyone experienced fields being added twice when applied with updateCMSFields
1110: [22:01:00] <SMaction> I am getting a 500 error using SS and Wamp. of course it works on other machines just not this particualr one. Here is what is in the error log Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. I have googled this and none of the suggested
1111: [22:01:01] <SMaction> fixes seem to work. Any ideas?
1112: [22:02:49] <zippy__> possibly something up with your htaccess
1113: [22:03:20] <zippy__> SMaction: try perhaps, RewriteRule .* /framework/main.php?url=%1 [QSA]
1114: [22:03:48] <zippy__> check the access log and see what url it's trying to access and gets redirected to
1115: [22:04:06] <SMaction> thanks
1116: [22:04:26] <zippy__> if you have curl on your command line, you can do curl -I http://mylocalsite.dev/
1117: [22:04:38] <zippy__> and it would tell you where it's trying to redirect to, otherwise yea check the access log
1118: [22:05:30] * Ryan-Toast quit (Quit: Ryan-Toast)
1119: [22:16:11] <Stomach> is there a way to group tabs on the left of left and main in accordians or something similar?
1120: [22:21:58] <ss23> 09:29:17 <@simon_w> That's basically the reason for the fork. There's things that can change to make SS better/nicer, that aren't in the core's interest since it wants a much wider base
1121: [22:22:09] <ss23> yeah, but it only makes sense if you were going to do a lot of SS dev, right?
1122: [22:22:17] <ss23> I can see a reasonably big shop doing it, but personally, it seems weird
1123: [22:23:33] <simon_w> Screw it, I'm going to turn ConfigStaticManifest into a build task that uses reflection
1124: [22:23:45] <simon_w> This token parsing is far too rigid
1125: [22:26:41] <simon_w> ss23, https://git.simon.geek.nz/simon_w/silverstripe-framework/commit/6667cb68ce8cd5651392bbeb1c8815091e2c34ab :)
1126: [22:31:39] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1127: [22:37:48] * zri quit (Ping timeout: 240 seconds)
1128: [22:38:40] <SMaction> zippy__ it is looking for install.php
1129: [22:43:14] * DesignerX has joined #silverstripe
1130: [22:43:38] <zippy__> SMaction: tried adding a slash before that in the htaccess?
1131: [22:43:52] * Ryan-Toast has joined #silverstripe
1132: [22:48:53] <Ryan-Toast> 7 years of no dentist, clean bill of teeth health awwwwww yeaaahhhhh
1133: [22:54:30] <Ryan-Toast> Time to use that $5,000 I saved for it on something stupid!
1134: [22:57:48] * Turnerj has joined #silverstripe
1135: [22:58:18] * Ryan-Toast quit (Quit: Ryan-Toast)
1136: [23:00:11] * Ryan-Toast has joined #silverstripe
1137: [23:03:32] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1138: [23:04:00] <Colin[pi]> Ryan-Toast: love dat feel
1139: [23:04:02] <Turnerj> How does anyone here deal with editing one of your own dataobjects on a $has_one?
1140: [23:04:17] <Ryan-Toast> Turnerj: Gridfield?
1141: [23:04:38] <Ryan-Toast> Colin[pi]: Never had that feel, but hoping it returns next year :P
1142: [23:04:40] <Turnerj> Ryan-Toast: For a has_one?
1143: [23:04:50] <Ryan-Toast> Turnerj: Oh, lol
1144: [23:04:56] <Ryan-Toast> Turnerj: Depends what it is.
1145: [23:05:21] <Colin[pi]> Ryan-Toast: happened to me the last two times, "ohshitohshitohshit, haven't been in a long time, this is gonna suck" "YOUR TEETH ARE GREAT!" *AW YISS*
1146: [23:05:46] <zippy__> Colin[pi]: not enough coke then
1147: [23:06:02] <Ryan-Toast> Colin[pi]: I went to this place called the Tooth Company, it was great. Dentist was hot, and she played the radio station of my choice really loud.
1148: [23:06:12] <Turnerj> I was thinking just making the page that has the "has_one" call getCMSFields on the dataobject
1149: [23:06:30] <Colin[pi]> Ryan-Toast: hot dentist will make the process much easier :D
1150: [23:06:39] <Ryan-Toast> Turnerj: Even though it’s only one thing a Gridfield will still be ethe easiest way to edi ti.
1151: [23:06:54] <Ryan-Toast> Colin[pi]: They’re all hot dentists. I think I’ve found my regular place.
1152: [23:07:07] <Ryan-Toast> all late 20 somethings.
1153: [23:07:22] <Colin[pi]> Ryan-Toast: win
1154: [23:14:01] * jordanmk has joined #silverstripe
1155: [23:17:47] <Colin[pi]> LOL: http://youtu.be/pXZ5YqjJCpA
1156: [23:18:37] * babak quit (Quit: Connection closed for inactivity)
1157: [23:24:04] * jenniferaslan has joined #silverstripe
1158: [23:28:10] <zippy__> heh
1159: [23:28:16] <zippy__> it's what all politicians are
1160: [23:28:46] <Stomach> for those interested in grouping cms menus: https://github.com/stevie-mayhew/silverstripe-groupedcmsmenu/tree/3.1
1161: [23:30:06] <simon_w> Turnerj, http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
1162: [23:31:28] <Turnerj> Cheers simon_w :)
1163: [23:32:59] * guttmann has joined #silverstripe
1164: [23:36:55] <guttmann> What are my options for template names if my Page is within a namespace? eg. Page = Namespace\Page, template for Page = ??
1165: [23:37:03] <Ryan-Toast> Colin[pi]: To be fair superannuation accounts for like 41% of welfare
1166: [23:37:05] <guttmann> Namespace\Page.ss works but doesn't seem windows friendly
1167: [23:37:15] <simon_w> guttmann, currently, that's your option
1168: [23:37:40] <guttmann> ah ok, thanks simon
1169: [23:37:57] <ss23> Syntax highlighting is juvenile. When I was a child, I was taught
1170: [23:37:57] <ss23> arithmetic using colored rods
1171: [23:37:58] <ss23> (http://en.wikipedia.org/wiki/Cuisenaire_rods). I grew up and today I
1172: [23:37:59] <ss23> use monochromatic numerals.
1173: [23:38:04] <ss23> Stupid formatting
1174: [23:38:10] <Colin[pi]> Ryan-Toast: http://tympanus.net/Development/ButtonComponentMorph/
1175: [23:39:07] <Ryan-Toast> Colin[pi]: very cool
1176: [23:39:11] <Colin[pi]> pretty slick
1177: [23:39:32] <Ryan-Toast> I swear Mary Lou is just the best Front-end dev in the world.
1178: [23:44:35] * guttmann quit (Quit: Page closed)
1179: [23:45:36] <zippy__> Mary Lou?
1180: [23:47:07] <zippy__> http://tympanus.net/Development/SidebarTransitions/ they're cool
1181: [23:50:17] <Colin[pi]> teh sexy
1182: [23:53:04] * HappyPhantom quit (Read error: Connection reset by peer)

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