#silverstripe IRC Log

IRC log for 16 September 2014

All timestamps are in UTC.

1: [00:01:15] <ss23> wtb live stream
2: [00:02:24] <veb> `https://lh3.googleusercontent.com/-b5oe6zAMamc/VBd9R832tYI/AAAAAAAAfw0/b78_SiP710c/w389-h692-no/IMG_20140916_115843.jpg
3: [00:02:35] <veb> https://lh4.googleusercontent.com/-uXQStya2vxU/VBd84VZTJyI/AAAAAAAAfwQ/eZt5z7Lsqy8/w389-h692-no/IMG_20140916_115640.jpg
4: [00:02:49] <veb> https://lh4.googleusercontent.com/-CXbqhq0Bk6E/VBd7WB79iZI/AAAAAAAAfuw/SrUoJ2PkZ_0/w519-h692-no/IMG_20140916_115029.jpg
5: [00:02:57] <zippy> ah, he's got a fluro on, he's legit
6: [00:03:00] <veb> interestingly enough
7: [00:03:08] <veb> zippy: wrong one
8: [00:03:12] <veb> they all wear green
9: [00:03:16] <veb> delta and chorus
10: [00:03:22] <veb> in Dunedin anyway
11: [00:03:32] <veb> and he's not in a delta/chorus vehicle
12: [00:03:58] <veb> he's gone now
13: [00:04:01] <veb> funky
14: [00:04:15] <veb> you'd think they'd habe taken the pics, maybe a month ago when they redid that area
15: [00:04:18] <veb> (which they did)
16: [00:04:40] <veb> https://lh6.googleusercontent.com/-Ijf_yaCgHWM/VBd9QgQwgYI/AAAAAAAAfwo/8K9RIKN2tiQ/w389-h692-no/IMG_20140916_115842.jpg
17: [00:04:52] <antmas> spotted?
18: [00:05:04] <veb> honestly.
19: [00:05:17] <veb> I watched someone walk into the doctors clinic the other day
20: [00:05:28] <veb> and he simply wore a t-shirt that said telecommunications
21: [00:05:34] <veb> and he had a ... toolbelt
22: [00:05:40] <veb> and he said I need to see your phone relay
23: [00:05:47] <veb> she's like "oh? ok"
24: [00:05:52] <spronk> wtf
25: [00:05:53] <Colin[pi]-2> veb: it's kinda scary how someone can don the most basic of items and walk right into places
26: [00:05:59] * Colin[pi]-2 is now known as Colin[pi]
27: [00:06:17] <veb> he walks up and strips a wire and adds some weird phone hook thing
28: [00:06:24] <veb> "this will help the printer"
29: [00:06:28] <Colin[pi]> dafuq?
30: [00:06:29] <veb> and off he goes
31: [00:06:37] <veb> I couldn't see an official car anywhere either
32: [00:06:42] <veb> but what got me was:
33: [00:06:50] <veb> he had those stupid glasses from the 60s
34: [00:06:56] <veb> acted all shy etc
35: [00:07:01] <veb> as soon as he walked away
36: [00:07:08] <veb> back straightened up
37: [00:07:16] <Colin[pi]> spidey senses a-tinglin
38: [00:07:18] <veb> sunglasses came on
39: [00:07:26] <spronk> what am i reading
40: [00:07:27] <veb> yeah i LOVE social engineering
41: [00:07:30] <veb> love reading about it
42: [00:07:50] <veb> I told my GP and he said, "umm... I haven't authorised anything like that"
43: [00:08:03] <Colin[pi]> ...
44: [00:08:05] <veb> turns out... that the guy was actually setting up a new phone connection
45: [00:08:14] <veb> for... the place next door
46: [00:08:24] <veb> using the clinical's own relay system
47: [00:08:29] <Colin[pi]> wut
48: [00:08:36] <Kingy> wow you talk shit mike
49: [00:08:36] <veb> exactly
50: [00:08:43] <veb> Kingy: nope I'm right
51: [00:08:47] <veb> next door is the pharmacy
52: [00:08:54] * ben_w has joined #silverstripe
53: [00:08:55] * jenniferaslan quit (Quit: jenniferaslan has left the room)
54: [00:08:57] <veb> for some reason, the company got it all fucked up
55: [00:08:57] * ben_w quit (Client Quit)
56: [00:09:08] <antmas> wait
57: [00:09:11] <Colin[pi]> veb: well that's not uncommon
58: [00:09:13] <antmas> veb and Kingy in same building?
59: [00:09:14] * ben_w has joined #silverstripe
60: [00:09:18] <antmas> I R confuse
61: [00:09:20] <veb> you don't hook into the same relay Kingy
62: [00:09:27] <Kingy> antmas: lol no
63: [00:09:34] <Kingy> wrong island for starters
64: [00:09:46] <veb> idk
65: [00:09:57] <veb> being deaf i'm more observant
66: [00:10:02] <veb> now Ihabe my implant
67: [00:10:04] <veb> I can hear more
68: [00:10:10] <veb> so when the guy said printer I was like wtf
69: [00:10:24] <veb> ... he pronbably said it to shut her up
70: [00:10:24] <spronk> so i guess i should be concerned about that guy who came to my house to replace my master filter
71: [00:10:27] <spronk> :D
72: [00:10:31] <veb> eben I wouldn't question a printer magician
73: [00:10:48] <Kingy> spronk: yeah the ONT for UFB is actually the master spy box
74: [00:10:52] <veb> but: pharmacy next door, has it's own relay
75: [00:11:17] <spronk> tbh i wouldn't be surprised if UFB has some massive spy hooks
76: [00:11:18] <veb> for some reason the phone / telecommunications company said they needed to be "hooked up together"
77: [00:11:37] <veb> probably the same advice that was given to the uh
78: [00:11:42] <veb> doctors...
79: [00:11:45] <veb> when they....
80: [00:11:55] <veb> weren't upgraded before Windows XP ran out :-P
81: [00:12:11] <veb> their systems were down for a week, because they couldn't get the WinXP apps working
82: [00:12:24] <veb> I walked in, sat down, GP apologises. I said, "wait, lemme try something"
83: [00:12:34] <veb> right click, run as win xp compaitaability mode.
84: [00:12:35] <veb> done.
85: [00:12:40] <veb> oooh, he was pissed
86: [00:12:51] <veb> (I used to work for his company, software dev)
87: [00:13:03] <veb> (so that's why he'd let me do that)
88: [00:13:08] <veb> right
89: [00:13:11] <veb> time to go home
90: [00:14:08] <Kingy> whacked out
91: [00:14:11] <antmas> yeah never question printer techs
92: [00:14:18] <antmas> they know black magic
93: [00:14:27] <veb> ^
94: [00:14:29] <veb> see
95: [00:14:31] * UncleCheese has joined #silverstripe
96: [00:14:42] <simon_w|work> Though they all wear company branded shirts
97: [00:14:54] <veb> and how easy would it be to make your own?
98: [00:15:01] <spronk> simon_w|work, oh, I thought my tech's name was Fuji
99: [00:15:05] <spronk> derp
100: [00:15:17] <veb> or slap a "<insert logo>" magnectuc sticker on a rental
101: [00:15:26] <spronk> come to think of it, Xerox did sound like a strange last name for someone named Fuji
102: [00:15:30] <veb> or somehting
103: [00:15:57] <veb> Kingy: if someone came into your work, all nranded and shit, acted like they were supposed to be there to fix printers
104: [00:15:58] <simon_w|work> spronk, huh, ours was called Konicia or something
105: [00:16:11] <veb> would you personally question them?
106: [00:16:13] <Kingy> veb: happens every day
107: [00:16:17] <spronk> oh
108: [00:16:19] <spronk> Mr Minolta
109: [00:16:20] <spronk> yeah
110: [00:16:21] <antmas> veb: they'd need swipe cards though
111: [00:16:22] <veb> or does your place have mnore security?
112: [00:16:23] <Kingy> people walk past drag what looks like a bit rubbish sack
113: [00:16:25] <antmas> and those get logged
114: [00:16:35] <Kingy> veb: cameras on all doors
115: [00:16:36] <veb> heh yeah
116: [00:16:40] <Kingy> all doors are security locked
117: [00:16:46] <Kingy> need to have name tag on all times
118: [00:16:46] <veb> I think of mylast job right
119: [00:16:47] <Kingy> etc
120: [00:16:58] <veb> damn, easy to do anything tbh
121: [00:17:09] <simon_w|work> Kingy, but do all techs need to be verified with their head office before getting swipe cards?
122: [00:17:40] <Kingy> not many outsiders get swipe cards
123: [00:17:48] <Kingy> unless they're doing an extended contract
124: [00:17:55] <simon_w|work> Ooh, "outsiders"
125: [00:18:03] <simon_w|work> Aren't we exclusive? :p
126: [00:18:03] <Kingy> yes lol
127: [00:18:33] <simon_w|work> Mmmm, L&P time
128: [00:19:29] <antmas> lol
129: [00:19:36] * simon_w|work approves of Coles for this very reason
130: [00:19:40] <antmas> got the minutes from the managers meetings
131: [00:19:45] <antmas> and there is a bullet point
132: [00:19:56] <antmas> on Biscuit Tin Hygiene
133: [00:20:15] <simon_w|work> Oh, bureaucrats
134: [00:20:19] <antmas> "cross-biscuit flavour contamination"
135: [00:20:48] <zippy> haha
136: [00:21:13] <antmas> also we have to do performanc appraisals next month
137: [00:21:15] <antmas> :O
138: [00:21:20] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
139: [00:21:28] <simon_w|work> I had mine last week!
140: [00:21:43] <antmas> hence pay rise day?
141: [00:21:48] <simon_w|work> Yup!
142: [00:21:55] <antmas> I won't get mine until november
143: [00:22:00] <antmas> but it's back paid :D
144: [00:22:05] <simon_w|work> Ooh, nice
145: [00:22:14] <simon_w|work> Is like a Christmas bonus!
146: [00:22:22] <antmas> lol
147: [00:23:43] <spronk> bout time i had one
148: [00:23:58] <spronk> though my boss will probably say.... delivery date for this thing has slipped by 6 months so no
149: [00:24:06] <spronk> even though i had little input in the delivery date..
150: [00:24:32] <antmas> Colin[pi]: so this is what I had yesterday http://shop.coles.com.au/online/national/asian-home-gourmet-thai-tom-yum-instant-noodle-soup
151: [00:24:37] <Kingy> ours are coming up in a couple months
152: [00:24:38] <antmas> an today I have the Laksa one
153: [00:24:41] <Kingy> then it's bonus time
154: [00:24:41] <antmas> pretty good really
155: [00:24:45] <Kingy> and pay rise time hopefully
156: [00:24:48] <spronk> ok
157: [00:24:52] <spronk> i have never had laksa
158: [00:24:55] <spronk> what the hell does it taste like?
159: [00:25:05] <antmas> hard to describe
160: [00:25:11] <antmas> but it's basically just green curry
161: [00:25:16] <Kingy> like warm apple pie
162: [00:25:34] <antmas> I'm expecting a decent pay rise
163: [00:25:44] <Colin[pi]> rofl Kingy
164: [00:25:45] <antmas> considering I delivered Sharepoint :/
165: [00:26:34] <Colin[pi]> antmas: mm good stuff, I've been getting these from the Asian supermarket: http://kitchenkungfu.files.wordpress.com/2012/06/shin_ramyun1.jpg
166: [00:26:40] <Colin[pi]> korean, pretty damn spicy
167: [00:27:10] <antmas> is Shin Ramyun the flavour?
168: [00:27:33] <Colin[pi]> antmas: idek
169: [00:27:37] <antmas> lol
170: [00:27:42] <antmas> otherwise it's like other noodles
171: [00:27:53] <antmas> Flavour = 'spicy, I guess'
172: [00:27:57] <Colin[pi]> antmas: it's just like a spicy, ramen red soup thing
173: [00:29:15] * micmania1 quit (Quit: micmania1)
174: [00:30:38] <spronk> fuck you guys now i want some ramen
175: [00:30:41] <simon_w|work> Sounds like laksa
176: [00:30:47] <Colin[pi]> spronk: lol
177: [00:31:00] <Colin[pi]> simon_w|work: yeah kinda like that, less coconut and more "cheap ramen" feel
178: [00:31:02] <spronk> also, something in my room is making a high pitched siren noise
179: [00:31:04] <Colin[pi]> well, no coconut
180: [00:31:07] <spronk> some electronic thing
181: [00:31:11] <antmas> spronk: monitor?
182: [00:31:15] <spronk> might be
183: [00:31:17] * ben_w quit (Remote host closed the connection)
184: [00:31:27] <spronk> driving me nuts
185: [00:31:31] <antmas> we had to evacuate today because of a smoking monitor that did that :P
186: [00:31:32] <Colin[pi]> simon_w|work: I get them from the little asian supermarket in Phillip if you like teh spicy
187: [00:31:38] <spronk> smoking monitor? :S
188: [00:31:53] <antmas> yeah the power pack went pop
189: [00:32:26] <spronk> hmm
190: [00:32:27] <spronk> nope
191: [00:32:42] <spronk> OMFG SHUT THE FUCK UP THING :|
192: [00:32:55] * micmania1 has joined #silverstripe
193: [00:33:06] <simon_w|work> spronk, smoke alarm low on battery?
194: [00:33:07] * antmas_ has joined #silverstripe
195: [00:33:20] <spronk> nah... like
196: [00:33:22] <spronk> really high pitched
197: [00:33:27] <spronk> >18khz
198: [00:33:43] <spronk> transistor noise
199: [00:34:01] <antmas_> ahhh the ol' >18khz whine eh?
200: [00:34:03] <Colin[pi]> spronk: ugh I hate those noises
201: [00:34:08] <Colin[pi]> that 'eeeeeee' sound
202: [00:34:14] <spronk> they annoy me as constant noise
203: [00:34:18] <spronk> but if it's a flickering sort of noise
204: [00:34:19] <spronk> OMFG
205: [00:34:20] <antmas_> it's mostly only audible to nerds
206: [00:34:34] * ben_w_ has joined #silverstripe
207: [00:34:42] <Colin[pi]> antmas_: lol many times I'll hear stuff like that, and my gf will be like "...what? I can't hear anything"
208: [00:34:48] <Colin[pi]> "I'm not mad I tell you!"
209: [00:36:19] * antmas quit (Ping timeout: 246 seconds)
210: [00:36:51] <antmas_> I used to hear it everytime i'd turn the tv on
211: [00:36:54] <spronk> hmm
212: [00:36:57] <antmas_> now I think I'm just going a bit deaf
213: [00:36:57] <spronk> think its one of the monitors
214: [00:36:58] <spronk> damnit
215: [00:42:11] <ben_w_> hi guys
216: [00:42:31] <antmas_> ben_w_: howdy
217: [00:44:22] <ben_w_> antmas_: hi
218: [00:44:48] <ben_w_> I got two form actions on a form, is there a way to track which form action user clicked inside the RequiredFields class
219: [00:45:30] <ben_w_> public function php($data) will capture all the form fields, however it does not include $action
220: [00:45:52] <ben_w_> any advice would be appreciated :)
221: [00:48:29] <simon_w|work> ben_w_, Form::current_action()
222: [00:50:24] <antmas_> anyone know what the font would be on the logo of this? http://www.millieboutique.co.nz/
223: [00:50:30] <antmas_> Ryan-Toast: ^^^
224: [00:50:33] <ben_w_> simon_w/ cheers, would this be available inside the validator class though? it seems only $data gets passed
225: [00:50:44] <antmas_> probably just a made up one I'm guessing
226: [00:51:05] <simon_w|work> ben_w_, it's a static method
227: [00:51:21] <ben_w_> simon_w, awesome, cheers
228: [00:51:31] <Ryan-Toast> antmas_: looks handwritten
229: [00:52:14] <antmas_> Ryan-Toast: yeah I though it might be
230: [00:52:26] <antmas_> had a client just say they WANT IT REAL BADS
231: [00:55:02] <Stomach> better start handwriting then!
232: [00:55:28] <antmas_> :P
233: [00:58:18] <ben_w_> simon_w, cheers mate, it works like a charm
234: [01:00:18] * hailwood quit (Ping timeout: 255 seconds)
235: [01:00:18] * Tanger has joined #silverstripe
236: [01:02:33] * caamic30 has joined #silverstripe
237: [01:07:59] <Colin[pi]> lol, just got an email "Hi <NotColin>, here's the first of the quotes. Quite liked this guy. Quite liked his website."
238: [01:08:11] <Colin[pi]> think it was supposed to go to <NotColin> :)
239: [01:08:25] <Colin[pi]> at least they said nice things
240: [01:08:28] <ss23> haha
241: [01:12:56] <simon_w|work> PARTY IN THE USA
242: [01:15:59] * vebb has joined #silverstripe
243: [01:16:39] * zippy has joined #silverstripe
244: [01:16:42] <zippy> man, this spy thing is just getting more crazy
245: [01:17:19] <UncleCheese> spy thing?
246: [01:17:57] <zippy> talking to John Key and trying to get an answer reminds me of this; https://www.youtube.com/watch?v=6CGyASDjE-U
247: [01:19:11] <Colin[pi]> zippy: talking to any politician <-- ftfy
248: [01:19:56] <Ryan-Toast> Every time I see a burning man video I just get the urge to travel the world.
249: [01:20:14] <Colin[pi]> Ryan-Toast: I'd love to go to burning man
250: [01:20:16] <spronk> lawl
251: [01:20:31] <Kingy> Ryan-Toast: do it
252: [01:20:37] <Ryan-Toast> I’m hoping to do it not next year, but the year after
253: [01:20:54] <Kingy> from the small amount of Europe I saw it's amazing
254: [01:21:34] <Ryan-Toast> fuck they have an awful website: http://www.burningman.com/
255: [01:22:54] <Colin[pi]> Ryan-Toast: yeah you'd expect with the amount of LSD going around there that they're site would be a little more.... vibrant
256: [01:22:58] <Colin[pi]> *their
257: [01:25:51] <simon_w|work> ben_w_, also, if you do need the form in your validator, $this->form
258: [01:26:24] <ben_w_> simon_w, copy that, cheers
259: [01:27:30] <jordank> hey
260: [01:27:45] * hailwood has joined #silverstripe
261: [01:27:47] <zippy> hi
262: [01:28:00] <jordank> i'm having an issue with the subsites module, hoping you guys will have some ideas
263: [01:28:08] <adrexia_> hahah
264: [01:28:34] <jordank> this is related to what i was asking about yesterday adrexia_, i've finally tracked down what's happening :)
265: [01:28:44] <adrexia_> oh?
266: [01:28:47] <jordank> so it's a 2.4 site that uses swipestripe and subsites
267: [01:28:49] <adrexia_> whats happening?
268: [01:29:07] <simon_w|work> I turned my browser screen back to landscape
269: [01:29:11] <simon_w|work> It looks weird now
270: [01:29:37] <jordank> when Products are created, they record for the Product in SiteTree has a SubsiteID field which is the site the product was created on
271: [01:29:58] <adrexia_> yep
272: [01:30:03] <simon_w|work> spronk, sounds like your time to shine! :p
273: [01:30:31] <jordank> in the back-end of the site, when attempting to load an order, each product in the order is passed through the Versioned::get_version() function of SS 2.4 core
274: [01:31:45] * spronk pricks up
275: [01:32:19] <jordank> now here's the issue.... in that get_version function, a query is called to try to find a certain version of the Product, and the query looks like this: http://pastebin.com/XBaGQrgk
276: [01:33:28] <jordank> the point of interest is in the [where]. you'll see that the Subsite module is adding a third WHERE clause, attempting to find a matching record where SubsiteID equals the ID of the Subsite currently being viewed
277: [01:33:41] <Kingy> nasty language going on in here
278: [01:34:26] <jordank> what this means is that if each Product that is part of the order was not created on the subsite currently being viewed, it fails to find the record, and you get a nasty error and it fails to load the order in the CMS
279: [01:36:13] * caamic30 quit (Quit: caamic30)
280: [01:36:24] <jordank> this is a big issue, becuase the client has 4 subsites with their own sets of products, and when they log into one of the subsites to view the orders, they keep having issues because the back-end shows all orders across all the subsites, but can only open the ones originating from the site they're currently viewing the admin panel of, and get an error for the others
281: [01:36:26] <micmania1> jordank: Subsite:disable_subsite_filter(true); then Turn it back on after
282: [01:36:48] <micmania1> https://github.com/silverstripe/silverstripe-subsites/blob/0.5/code/model/Subsite.php#L221
283: [01:37:54] <adrexia_> what he said ^
284: [01:37:58] <jordank> micmania1, guessing i'd need to find the part of the Swipestripe admin panel that is responsible for opening an order and disable the subsite filter before that happens then reenable it after it's retreived the order?
285: [01:40:39] <micmania1> In fact, have you applied the subsite filter to the oders?
286: [01:40:43] <micmania1> orders*
287: [01:41:49] <jordank> micmania1: not sure what you mean
288: [01:42:15] <spronk> yeahh
289: [01:42:41] <jordank> do you mean have it so that orders in the back-end will only show orders made from that site? becuase that would be the ideal solution. not sure how to do that though
290: [01:42:45] <spronk> unless it's possible to subclass or augment orders so that they are always used with subsite filter off
291: [01:42:51] <micmania1> I’m not too familiar with SwipeStripe and never used it in 2.4 so im not sure how its structured.
292: [01:43:09] <spronk> oh, should orders only show in the site they were made?
293: [01:43:43] <micmania1> Do orders show within the CMS or with a ModelAdmin?
294: [01:44:06] <jordank> spronk: that's not what they do atm, it shows all orders across all subsites. would be ideal if it could be changed so it only shows orders from that site (and would solve the problem)
295: [01:44:32] <spronk> this is 2.4, yeah? i wonder if subsites had the SiteTree extension back then
296: [01:44:39] <jordank> micmani1: they're displayed like so: http://puu.sh/bzIPg/1304607daa.png
297: [01:44:44] <jordank> so i think through a ModelAdmin?
298: [01:45:12] <jordank> spronk: yep it's 2.4
299: [01:45:18] <spronk> you could make one of these: https://github.com/silverstripe/silverstripe-subsites/blob/0.3/code/SiteTreeSubsites.php for Orders
300: [01:47:06] <micmania1> You need to do what spronk said.
301: [01:47:25] <adrexia_> does the order datamodel have a SubsiteID?
302: [01:47:53] <ss23> ehhh
303: [01:47:54] <ss23> I have to get lunch
304: [01:47:57] <ss23> what to get for lunch?
305: [01:48:03] <spronk> i doubt whether it would, by default dataobjects don't get subsited
306: [01:48:15] <jordank> adrexia_: no, it doesn't
307: [01:48:17] <spronk> aaand there wasn't a nice convenient way to extend data objects for subsiting
308: [01:48:33] <adrexia_> jordank you might want to add one
309: [01:48:44] <adrexia_> ss23 I got pita pit. Because burgerfeul was too far
310: [01:49:03] <adrexia_> spronk there was wasn't there?
311: [01:49:07] <ss23> hmm
312: [01:49:16] <micmania1> I got burger fuel!
313: [01:49:16] <ss23> I don't even know where a pitapit is near work
314: [01:49:19] <ss23> but there's a subway on the way
315: [01:49:22] <ss23> micmania1: NO MORE PLS I'VE HAD TOO MUCH
316: [01:49:23] <ss23> ;_;
317: [01:49:24] <adrexia_> you could do basically the same thing you do now but with a weird sytax
318: [01:49:30] <ss23> Bassically it's all I've had for lunch and dinner for the past week
319: [01:49:47] <micmania1> You can go by KFC and get us a silverstripe sized family bucket.
320: [01:49:52] <ss23> ...
321: [01:49:53] <ss23> I could...
322: [01:49:55] <ss23> I totally could...
323: [01:49:59] <ss23> >.>
324: [01:50:04] <ss23> No I could't, that's just gross
325: [01:50:09] <ss23> KFC for lunch is gross
326: [01:50:14] <ss23> I mean
327: [01:50:17] <spronk> adrexia_, as in subsites didn't provide a DataObjectSubsites decorator
328: [01:50:17] <ss23> Yeah, it is.
329: [01:50:23] <micmania1> I still haven’t tried it. Its too inconvenient.
330: [01:50:26] <ss23> haha
331: [01:50:32] <adrexia_> ahh, but you could write your own
332: [01:50:53] <ss23> I'll get burgerking I guess
333: [01:50:55] <ss23> it's on the wayt
334: [01:50:57] <spronk> lawl
335: [01:51:02] <spronk> get coupons ss23
336: [01:51:07] <ss23> spronk: what do you mean?
337: [01:51:13] <adrexia_> all you need to do is add the subsite relation and make sure you're saving it when it gets saved
338: [01:51:36] <spronk> http://www.burgerking.co.nz/pdf/Coupon%202014.pdf
339: [01:51:38] <spronk> ss23
340: [01:51:42] <ss23> :O
341: [01:51:57] <micmania1> adrexia_: nah, you’d need ot augment all the queries too.
342: [01:51:59] <adrexia_> man I'm glad I don't do 2.4 sites
343: [01:52:02] <ss23> eh
344: [01:52:05] <adrexia_> oh true
345: [01:52:06] <ss23> none of those look that good
346: [01:52:09] <spronk> whaaat?
347: [01:52:13] <spronk> $5 for a double cheeseburger small combo?
348: [01:52:13] <micmania1> but you could copy/paste most of the code from the other extensions
349: [01:52:13] <spronk> pwn as
350: [01:52:21] <ss23> actually
351: [01:52:27] <spronk> 2 bk chicken and fries for $8.90?
352: [01:52:36] <ss23> 2x bbq bacon double cheeseburgers + 2 small fries
353: [01:52:43] <spronk> yeah
354: [01:52:44] <spronk> there you go
355: [01:52:50] <ss23> Okay now how do I remember what one it is
356: [01:52:59] <ss23> Oh, H
357: [01:52:59] <Colin[pi]> here we go on today's food/burger session
358: [01:53:16] <zippy> ss23: no burger fuel
359: [01:53:17] <zippy> ?
360: [01:53:30] <ss23> zippy: i've eaten literally so much burger fuel lately
361: [01:53:39] <ss23> Since Wednesday (excluding the weekend), I think it's all I've eaten
362: [01:54:00] <zippy> why break the trend?
363: [01:54:01] <ss23> I have my limits, zippy.
364: [01:54:07] <ss23> Because... I just... I can't do it
365: [01:54:07] <ss23> :(
366: [01:54:10] <ss23> anyway, coming in now
367: [01:54:17] <zippy> what you need to do, is get there nurtretion list
368: [01:54:19] <ss23> micmania1: if katie or someone asks, you can let her know I'll be in soon o/
369: [01:54:24] <zippy> and plan the meals, you'll loose weight
370: [01:54:39] <micmania1> ss23: will do
371: [01:54:40] <simon_w|work> ss23, LATE
372: [01:54:42] <ss23> zippy: >Eat less burgerfuel
373: [01:54:42] <ss23> no way
374: [01:54:44] <zippy> http://newsfeed.time.com/2014/01/05/teacher-loses-37-pounds-after-three-month-mcdonalds-diet/
375: [01:54:47] <ss23> simon_w|work: I WAS SICK ;_;
376: [01:54:47] <jordank> spronk and micmania1: so i should be extending the Order DataObject to have a SubsiteID, then creating a new ModelAdmin which somehow shows Orders for the current Subsite?
377: [01:54:52] <simon_w|work> ss23, SO?
378: [01:54:55] <zippy> ss23: sub mcdonands for burger fuel
379: [01:55:07] <adrexia_> actually tracking which subsite an order coimes from is a good place to start anyway
380: [01:55:18] <spronk> jordank, i thiiink the extension should ahndle some of that for you
381: [01:55:19] <spronk> but yes
382: [01:55:35] <micmania1> jordank: nope, you need to create an OrderSubsiteExtension and apply it to order using Object::add_extnesion(‘Order’, ‘OrderSubsiteExtension’);
383: [01:55:47] <adrexia_> ^ that
384: [01:55:53] <simon_w|work> ss23, I'M OLD AND STILL MADE IT TO WORK ON TIME
385: [01:56:21] <micmania1> jordank: https://github.com/silverstripe/silverstripe-subsites/tree/0.5/code/extensions - That’s what pretty much all of these do
386: [01:56:34] <jordank> ah okay
387: [01:56:43] <micmania1> jordank: https://github.com/silverstripe/silverstripe-subsites/blob/0.5/code/extensions/SiteTreeSubsites.php - Just take what you need.
388: [01:56:58] <zippy> simon_w|work: aren't you under 30?
389: [01:57:08] <adrexia_> here's how to do it in 3.* : https://github.com/silverstripe/silverstripe-subsites#enable-subsite-support-on-dataobjects
390: [01:57:28] <simon_w|work> zippy, yes....
391: [01:57:38] <zippy> how are you old then!
392: [01:57:47] <simon_w|work> I wasn't this old yesterday!
393: [01:57:51] <zippy> ...
394: [01:57:56] <zippy> can't deny that
395: [01:58:05] <jordank> micmani1, that last one you linked is for SiteTree though right? won't i need to use a DataObjectDecorator?
396: [01:58:13] <zippy> unless your benjamum button!
397: [01:58:23] <adrexia_> you will need to use a DataObjectDecorator?
398: [01:58:26] <antmas_> BEJAMUM
399: [01:58:32] <antmas_> BEJAMUM!!!
400: [01:58:39] <micmania1> yes, you’ll need to adapt it to what you need. Checkout adrexia_’s link. That looks like another possible method.
401: [01:58:42] <adrexia_> but on your order dataobject
402: [01:58:53] * antmas_ can't type
403: [01:58:58] * antmas_ is now known as antmas
404: [01:59:02] <jordank> https://github.com/silverstripe/silverstripe-subsites/blob/0.3/code/FileSubsites.php
405: [01:59:04] <spronk> use the one from 0.4 or 0.3
406: [01:59:09] <jordank> copy something like that one then?
407: [01:59:10] <spronk> whichever was compat with 2.4
408: [01:59:17] <adrexia_> UNless you actually have direct access to edit the order dataobject - in which casse you can do taht instead
409: [01:59:31] <adrexia_> but I assume order comes from swipestripe
410: [02:00:10] <adrexia_> jordank yep
411: [02:00:17] <adrexia_> you dopn't need everything
412: [02:00:36] <jordank> adrexia_: yeah well i can edit Product directly but it's part of Swipestripe so should probably be a Decorator
413: [02:00:45] <adrexia_> the augmentSQ, updatecms, and extra statics, mostly
414: [02:00:53] * adrexia_ nods
415: [02:01:35] <adrexia_> oh porobably best to keep onBeforeWrite too
416: [02:02:22] <simon_w|work> Heh, at this rate adrexia_ might overtake spronk on http://logs.simon.geek.nz/stats.php#subsites
417: [02:02:29] <adrexia_> :P
418: [02:02:48] <adrexia_> I found a really cool subsites bug where you have assets, subsites, and click sync
419: [02:02:57] <adrexia_> Its amazing
420: [02:03:01] <Ryan-Toast> The logs don’t take SUUUBBBSSSIIITTTEEEESSSSSSSS into consideration.
421: [02:03:07] <adrexia_> please don't let any clients you have usijng subsites do that
422: [02:03:14] <jordank> adrexia_: should i just take everything except alternateTreeTitle() and updateCMSFields()?
423: [02:03:29] <adrexia_> take it all
424: [02:03:44] <adrexia_> except the one about uploading
425: [02:03:55] <adrexia_> you need updateCMSFields()
426: [02:04:21] <adrexia_> so that the subsite id is safed - it can be a hidden field though, rather than dropdown
427: [02:04:26] <adrexia_> *saved
428: [02:04:35] <Colin[pi]> lol Ryan-Toast
429: [02:04:55] <jordank> ah okay
430: [02:05:01] * zippy__ has joined #silverstripe
431: [02:06:21] <Stomach> veb - you know Josh too? you're all up in my life
432: [02:06:29] <Ryan-Toast> I love how there’s a stat for ss23
433: [02:06:55] <adrexia_> jordank for updatecmsfields you can just do something like this:
434: [02:06:58] <adrexia_> if(class_exists('Subsite')){
435: [02:06:58] <adrexia_> $fields->push(new HiddenField('SubsiteID','SubsiteID', Subsite::currentSubsiteID()));
436: [02:06:58] <adrexia_> }
437: [02:07:13] <adrexia_> (disclaimer - that's from 3.*)
438: [02:07:27] <adrexia_> think it should still all work though
439: [02:07:53] <zippy__> Ryan-Toast: it's nice to see various iterations of zippy make up the stats :)
440: [02:08:05] <Ryan-Toast> so many underscores
441: [02:08:10] * zippy quit (Ping timeout: 272 seconds)
442: [02:08:21] * zippy__ is now known as zippy
443: [02:08:48] <zippy> 6tb in a single hdd, what the heck would you store!
444: [02:09:03] <Ryan-Toast> zippy: TV shows
445: [02:09:25] <adrexia_> what are DataObject cache keys?
446: [02:09:28] <jordank> adrexia_: how does this look: http://pastebin.com/km1gwHba
447: [02:09:46] <Ryan-Toast> jordank: http://i.imgur.com/Dhlw3.gif
448: [02:09:55] <adrexia_> oh yeah, you probably don't need alternateTreeTitle
449: [02:10:02] <adrexia_> sorry
450: [02:10:09] <jordank> lol Ryan-Toast
451: [02:10:45] <Stomach> simon_w|work - better sign up silverstripe for http://todogroup.org/ before laravel gets in their, gotta be one of the cool kids
452: [02:11:05] <simon_w|work> Stomach, too bad that doesn'
453: [02:11:11] <simon_w|work> Stomach, too bad that doesn't describe SilverStripe :p
454: [02:11:25] <Stomach> lol
455: [02:11:27] <Stomach> :D
456: [02:11:41] <adrexia_> jordank looks good
457: [02:12:32] <jordank> adrexia_, okay i've applied that. Orders now have a SubsiteID field
458: [02:12:35] * antmas_ has joined #silverstripe
459: [02:12:41] <adrexia_> sweet
460: [02:12:49] <jordank> how can i update the ModelAdmin to now take this into account?
461: [02:13:04] <adrexia_> I know how to do it for 3.*
462: [02:13:06] <adrexia_> umm
463: [02:13:24] <antmas_> hey adrexia_ do you maintain batchactions?
464: [02:13:27] <jordank> want to see the ModelAdmin being used by SwipeStripe?
465: [02:13:35] <adrexia_> anyone with more 2.4 experience able to answer that ?
466: [02:13:49] <jordank> adrexia_: http://pastebin.com/RiDmHv54
467: [02:13:53] <adrexia_> <antmas_> yes, though there's a bug I noticed last week
468: [02:14:11] <antmas_> adrexia_: ah cool, no bug here
469: [02:14:16] <adrexia_> sweet
470: [02:14:30] <antmas_> adrexia_: just wondering if there would be any issues with doing $page->publish('Stage', 'Live'); during the action?
471: [02:14:36] <adrexia_> I think its only in strict mode, but I do plan to fix it soon
472: [02:15:02] <antmas_> it works, but I'm just worried I might be doing it wrong :P
473: [02:15:11] <adrexia_> antmas - you mean after a move action?
474: [02:15:24] <antmas_> yeah
475: [02:15:43] * antmas quit (Ping timeout: 246 seconds)
476: [02:16:24] * antmas_ is now known as antmas
477: [02:16:39] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
478: [02:17:42] <adrexia_> maybe just run doPublish on them?
479: [02:18:05] <adrexia_> it has a few other things in tehre
480: [02:18:27] <adrexia_> and you could remove the write I think
481: [02:19:29] <spronk> hmm
482: [02:19:34] <spronk> wouldn't modeladmin already take it into account?
483: [02:19:44] <spronk> because augmentSql should be called on the modeladmin query ?
484: [02:19:48] <adrexia_> <spronk> is doesn't by default
485: [02:19:58] <adrexia_> oh yeah the augment might
486: [02:20:34] <adrexia_> probably bets to test and swee what happens
487: [02:20:49] <antmas> yeah I took out the write
488: [02:20:54] <antmas> it works good :P
489: [02:21:35] <spronk> it should, jordank, just test to see whether with the data extension/decorator working whether the modeladmin excludes orders from other subsites
490: [02:21:47] <adrexia_> da
491: [02:21:59] <adrexia_> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L2330
492: [02:22:19] <adrexia_> you probably want to make it do all that if you are publishing :)
493: [02:23:18] <antmas> what does that do, that $page->publish('Stage', 'Live'); would not already cover?
494: [02:23:52] <adrexia_> pretty much everything that piece of code has other than $page->publish('Stage', 'Live')
495: [02:24:03] <adrexia_> its calling all the hooks 'n stuff
496: [02:24:09] <antmas> true
497: [02:24:33] <antmas> so how would I make it do that :P
498: [02:24:36] <antmas> ?
499: [02:24:40] <adrexia_> should be easy enough $page->doPublish()
500: [02:24:43] <adrexia_> I think
501: [02:25:03] <antmas> lemme try
502: [02:26:25] <antmas> that's perfect
503: [02:26:31] <antmas> thanks adrexia_ :D
504: [02:26:40] <adrexia_> no problem
505: [02:29:28] <jordank> spronk: the existing modeladmin still shows orders from all subsites
506: [02:30:00] <spronk> really? hmm
507: [02:30:06] <spronk> is the extension being applied ?
508: [02:30:10] <spronk> ohhh
509: [02:30:16] <spronk> the existing records won't have a subsite ID attached to them
510: [02:30:24] <spronk> also, you'll need to /dev/build
511: [02:30:32] <jordank> spronk: and even if i'm on the main site (the SubsiteID for all existing orders is 0), i still have the previous issue where it fails to load the order becuase it can't find the Product as the Product is associated with a different Subsite
512: [02:31:09] <spronk> well, with your existing data you'll have issues right
513: [02:31:13] <spronk> because you've got no subsite awareness for orders
514: [02:31:15] <spronk> but you do for products
515: [02:31:35] <spronk> so to get the existing data working you'll need to run some sort of query to set the correct subsite ID for orders based on the subsiteID of all their products
516: [02:32:24] <jordank> spronk: yeah alright, i'll see what i can come up with.
517: [02:33:07] * ben_w_ quit (Remote host closed the connection)
518: [02:33:40] * ben_w has joined #silverstripe
519: [02:37:52] * ben_w quit (Read error: No route to host)
520: [02:38:25] * ben_w has joined #silverstripe
521: [02:43:29] <antmas> weird
522: [02:44:01] <antmas> on one server the setreviewoptions popup works, but not the other server :|
523: [02:45:06] <adrexia_> flush?
524: [02:46:33] <antmas> nope
525: [02:46:49] <Stomach> deploynaut
526: [02:49:18] <antmas> adrexia_: just does this http://www.gfycat.com/PowerlessNewAmberpenshell
527: [02:49:33] <ss23> Stomach: deploynaut
528: [02:50:04] <Stomach> simon_w|work can we add deploynaut to teh swear list
529: [02:50:23] <jordank> spronk: okay so i updated one of the Orders so that its SubsiteID is correct
530: [02:50:24] <Stomach> ss23 - deploynaut
531: [02:50:31] <adrexia_> do you have access to the log files?
532: [02:50:50] <antmas> not for that server, dev I do, but it works fine on there
533: [02:50:53] <antmas> I can get them though
534: [02:50:54] <jordank> but now the order doesn't show up under ANY of the subsites, including the one it's associated with
535: [02:50:59] <ss23> Stomach - deploynaut
536: [02:51:02] <spronk> hmm
537: [02:51:06] <adrexia_> looks like its probably fialing somewhere
538: [02:51:08] <spronk> see if you can dump the query that's being run
539: [02:51:10] <adrexia_> any growl notifications
540: [02:51:12] <spronk> by the modeladmin
541: [02:51:34] <Stomach> deploynaut ss23
542: [02:51:36] <simon_w|work> Stomach, remind me when I'm not |work
543: [02:51:39] <jordank> spronk: any ideas on how i'd do that?
544: [02:51:49] <antmas> adrexia_: mmmm, I'll see what I can find
545: [02:51:53] <Stomach> simon_w|work :) will do
546: [02:51:55] <jordank> http://pastebin.com/RiDmHv54
547: [02:51:59] <jordank> that's the modeladmin
548: [02:52:10] <simon_w|work> Also, there's already http://logs.simon.geek.nz/stats.php#ss23
549: [02:52:25] <spronk> edit that temporarily
550: [02:52:34] <spronk> dump the query around line 206
551: [02:52:39] <spronk> then remember to revert it back :P
552: [02:52:51] <ss23> ss23 is famous!
553: [02:52:56] <ss23> It's weird that I've said my own name 480 times
554: [02:53:05] <ss23> simon_w|work: add simon_w|air to your likst of nics pls
555: [02:53:26] <simon_w|work> ss23, there's no merging of names
556: [02:53:33] <ss23> aw lame
557: [02:53:33] <Stomach> ss23 is so ss23 right now
558: [02:53:33] <simon_w|work> It's just whatever's in the Nick field
559: [02:53:37] <ss23> implement merging of names pls
560: [02:53:38] <antmas> I always read that as Simon w/ air
561: [02:53:38] <Kingy> jesus even I've said your name 70 times ss23
562: [02:53:43] <ss23> Stomach: true dat man
563: [02:53:44] <ss23> Kingy: :D
564: [02:53:46] <ss23> I am famous
565: [02:53:58] <simon_w|work> *infamous
566: [02:54:09] <antmas> 700...
567: [02:54:11] <antmas> :O
568: [02:54:11] <Stomach> I've said it 111 times
569: [02:54:12] <Stomach> o_O
570: [02:54:23] <jordank> spronk: i think this is it - http://pastebin.com/rJyb4Mr4
571: [02:54:28] <Stomach> simon loves ss23
572: [02:54:33] * simon_w|work is reminded of the Knights who formerly said Ni
573: [02:54:40] <simon_w|work> Oh no, I said it!
574: [02:54:44] <spronk> hmm
575: [02:54:48] <spronk> it's got the subsite ID in there
576: [02:54:53] <spronk> twice
577: [02:54:58] <spronk> hmm
578: [02:55:11] <spronk> which subsite was this query run on? the main subsite?
579: [02:55:16] <jordank> that was the one for the main site, here's the query for the subsite that has a single order associated with it: http://pastebin.com/SwjJ235Z
580: [02:55:28] <spronk> hmm
581: [02:55:31] <jordank> the subsiteID being 5
582: [02:55:33] <jordank> for that subsite
583: [02:55:37] <spronk> it's definitely adding the order.subsite ID to the where clause
584: [02:55:41] * ben_w quit (Remote host closed the connection)
585: [02:56:38] <jordank> i think i've got it
586: [02:57:06] <jordank> i edited the Order decorator's augmentSQL() to be just IN ($subsiteID)
587: [02:57:11] <jordank> rather than IN (0, $subsiteID)
588: [02:57:24] <jordank> and the modeladmin for subsite 5 now only shows that single order
589: [02:57:56] <spronk> and main site still works?
590: [02:58:30] <jordank> main site shows every order except that one, because the main subsite's ID is 0, which is what the SubsiteID for all Orders has defaulted to
591: [02:58:37] <spronk> leet
592: [02:58:38] <antmas> adrexia_: lol also just noticed moveto has appeared in the main menu as well as the mulitoptions list
593: [02:58:38] <Kingy> Rapper Eminem sues National over use of song in political ad
594: [02:58:44] <jordank> now i just need to update the SubsiteID for each Order to actually be correct
595: [02:59:12] <spronk> should be able to formulate a raw sql query to do that
596: [02:59:22] <jordank> yeah
597: [02:59:28] <adrexia_> antmas has something ahppened to the config?
598: [02:59:48] <spronk> http://www.scoop.co.nz/stories/PO1409/S00367/eminem-publishers-sue-new-zealand-national-party.htm
599: [02:59:49] <spronk> werps
600: [02:59:57] <antmas> adrexia_: possibly mysite config, will take a look there too
601: [03:00:06] <antmas> our configs between servers are quite different
602: [03:00:28] <adrexia_> ahh
603: [03:00:44] <adrexia_> ...howevgerr the batchactions config seems to be borked
604: [03:01:09] <adrexia_> that's why the menu item is showing up
605: [03:01:11] <antmas> oh yeah?
606: [03:01:21] <antmas> PR :D
607: [03:01:21] <adrexia_> and ... asre ytou geting the javascript?
608: [03:01:37] <antmas> yeah js is working fine... on dev
609: [03:01:48] <adrexia_> I mean on the other one ;)
610: [03:01:59] <adrexia_> does dev also have the menu item?
611: [03:02:14] <antmas> no it doesn't
612: [03:02:36] <antmas> the only things I noticed is the menu item and the missing popup
613: [03:02:41] <antmas> no errors
614: [03:02:44] <adrexia_> yeah... so the same config file that removes from menus also includes js
615: [03:02:47] <antmas> (outside of logs anyway)
616: [03:03:03] <adrexia_> and not including js would mean no popup
617: [03:03:19] <antmas> ah right
618: [03:03:22] <antmas> ofc
619: [03:03:41] <adrexia_> though, its also the config that registers the moveto action - but that could be duplicated elsewhere
620: [03:04:53] <antmas> no errors in the logs either
621: [03:07:45] * irogue_ has joined #silverstripe
622: [03:14:28] <Stomach> ss23 - deploynaut!
623: [03:15:04] <ss23> ASDFASDF
624: [03:15:05] <ss23> WHAT
625: [03:15:06] <ss23> ;_;
626: [03:15:45] <Stomach> you just pushed to deploynaut
627: [03:15:52] <Stomach> ps I'm still in #likeigiveafuck
628: [03:16:10] <ss23> xD
629: [03:19:20] <adrexia_> yeah, so much for no docs and no commits
630: [03:19:22] <adrexia_> :P
631: [03:19:50] <adrexia_> that didn't even last a day
632: [03:19:53] <Stomach> carefree deployments
633: [03:19:57] <Stomach> thats not even a thing
634: [03:20:01] <Stomach> deployments are horrible
635: [03:20:07] <adrexia_> hahaha
636: [03:20:22] <adrexia_> deploying to test siutes shouldn't be horrible
637: [03:20:39] <irogue_> "Dear people of the future"
638: [03:20:41] <irogue_> I lol'd
639: [03:21:08] * ben_w has joined #silverstripe
640: [03:22:35] <antmas> adrexia_: which part of the config looks bokred?
641: [03:22:56] <adrexia_> irogue_ me too :D
642: [03:23:16] <ss23> dear people of the future?
643: [03:23:21] <adrexia_> <antmas> the bit where you see the move in the menu
644: [03:23:25] <ss23> oh yeah I wrote that
645: [03:23:32] <adrexia_> something is wrong there
646: [03:23:33] <ss23> :D
647: [03:27:19] <antmas> :P
648: [03:27:31] <antmas> do you mean the actual _config?
649: [03:27:41] <antmas> or another config :O
650: [03:34:47] <Kingy> ss23: Well butter call me toast!
651: [03:34:51] <Kingy> I lol'd
652: [03:34:56] <ss23> fuckkkkk
653: [03:35:07] <ss23> Just after I wrote it I was like "NOOOOOOOOOOOOOOOOOOOO"
654: [03:35:08] <ss23> edit
655: [03:35:12] <ss23> but the emails were already sense
656: [03:35:13] <ss23> sent
657: [03:35:18] <Kingy> haha
658: [03:36:33] <madmatt> ss23: Did anyone consider putting it (Deploynaut) in silverstripe-labs until it was mature enough for issues/PRs to be enabled?
659: [03:36:48] <adrexia_> antmas - can you check that the faulty environment is getting the javascript correctly?
660: [03:37:03] <ss23> madmatt: Kind of, but what does "mature" mean in this context? It's more production ready than most of the stuff we release, and there's no real reason to put it in labs
661: [03:37:07] <ss23> Projects in labs die.
662: [03:37:11] <ss23> And no one would ever move it out
663: [03:37:22] <ss23> From my perspective, it's like asking, "Did you consider doing lots of work for no reason?"
664: [03:37:31] <adrexia_> ss23: PRs are enabled
665: [03:37:35] <madmatt> YOU SHOULD ALWAYS CONSIDER THAT
666: [03:37:37] <ss23> XD
667: [03:37:44] <ss23> Yeah, madmatt, you literally can't disable PRs
668: [03:37:45] <ss23> Ever.
669: [03:37:49] <ss23> Worst Github feature
670: [03:37:50] <ss23> :(
671: [03:37:55] <adrexia_> haha
672: [03:37:56] <madmatt> more work, less reason
673: [03:37:57] <adrexia_> or best
674: [03:38:02] <ss23> madmatt: Why do you ask?
675: [03:38:07] <madmatt> Just wondering :)
676: [03:38:12] <ss23> cool cool
677: [03:38:19] <ss23> I'll probably turn on issues soon anyway
678: [03:38:24] <madmatt> no docs
679: [03:38:26] <ss23> I just wanna clear out the last few things in our internal backllog
680: [03:38:27] <madmatt> NO DOCS
681: [03:38:32] <ss23> madmatt: Aren't you the docs guy?
682: [03:38:32] <ss23> :D
683: [03:38:36] <madmatt> Dude, issue #1: There's no docs
684: [03:38:40] <adrexia_> there are heaps of docs
685: [03:38:43] <madmatt> haha, touche
686: [03:38:53] <adrexia_> issue #1 was "No code"
687: [03:39:06] <ss23> haha
688: [03:39:07] <ss23> Yes
689: [03:39:10] <ss23> Issue #1 is that
690: [03:39:10] <ss23> :(
691: [03:39:16] <ss23> I wonder if it's still there if I turn it back on.... >.>
692: [03:39:33] <adrexia_> hahaha
693: [03:39:53] <adrexia_> you could resolve it!
694: [03:40:19] <ss23> I did resolve it!
695: [03:40:20] <ss23> I mean
696: [03:40:23] <ss23> The issue is fixed
697: [03:40:23] <ss23> :D
698: [03:40:30] <adrexia_> exactly
699: [03:40:38] <adrexia_> you'd get one issue for free
700: [03:40:50] <adrexia_> docs, see: https://github.com/silverstripe/deploynaut/tree/master/docs/en
701: [03:40:52] <adrexia_> :D
702: [03:41:02] <adrexia_> lots and lots of docs
703: [03:41:21] <Kingy> which don't make much sense lol
704: [03:41:25] <Kingy> got stuck half way through
705: [03:41:26] <Kingy> :P
706: [03:41:29] <adrexia_> hahaha
707: [03:41:42] <ss23> Yeah
708: [03:41:45] <adrexia_> there's only so much you can ask
709: [03:41:46] <adrexia_> ;)
710: [03:41:47] <ss23> The docs have kind of been inconsistently updated
711: [03:41:47] <ss23> :D
712: [03:43:04] <adrexia_> "Well butter me up and call me toast" lols
713: [03:43:10] <irogue_> heh, so Eminem's sued Apple and Audi for similar use of Lose Yourself backing track before. "Apple settled out of court 5 days into THAT trial and Apple's total worth is at least 7x our entire GDP"
714: [03:43:19] * Phlunk3 quit (Remote host closed the connection)
715: [03:43:20] <adrexia_> you should do open source more often ss23
716: [03:44:14] <ss23> adrexia_: Yeah, magically give me more time for it and I will :P
717: [03:44:22] <ss23> When I wasn't working at SilverStripe I did a little bit
718: [03:44:24] <ss23> More than I do now
719: [03:44:27] <adrexia_> well you are doing it now
720: [03:44:36] <Kingy> irogue_: Ot
721: [03:44:38] <Kingy> bah
722: [03:44:39] <adrexia_> only thing that would make your comnments better is animated gifs
723: [03:44:47] <Kingy> It'll be passed on to the aussie company that we got the rights off
724: [03:44:48] <ss23> haha
725: [03:44:55] <ss23> I've done animated gifs in comments before :P
726: [03:45:09] <irogue_> Kingy: quite likely, but it adds some more ridiculousness in the meantime
727: [03:45:24] <Kingy> only for those that look for it
728: [03:45:32] <Kingy> pretty sure national is actually clean on this
729: [03:45:33] <Kingy> haha
730: [03:45:36] <Kingy> for a change
731: [03:45:39] <ss23> Yeha
732: [03:45:45] <ss23> Sucks for national, looks like they did literally nothing wrong
733: [03:45:46] <irogue_> Kingy: though they could possibly argue that there's no fucking way nobody at National Party went "uh... are you sure this isn't Lose Yourself?"
734: [03:45:49] <ss23> Still funny :D
735: [03:46:06] <irogue_> remember, this happened in 2007 too
736: [03:46:16] <Kingy> irogue_: Doesn't matter, they still double checked and made sure they were clean
737: [03:46:21] <irogue_> National Party's ad that time had a Coldplay track backwards
738: [03:46:23] <ss23> yeah
739: [03:46:32] <Kingy> up to the Aussie company to make sure it's not copyrighted
740: [03:46:34] <ss23> I really don't think National have any blame in this
741: [03:46:50] <adrexia_> ss23 well there was the time you logged an issue for lack of gifs: https://github.com/mateusz/silverstripe-dropship/issues/1
742: [03:47:02] <ss23> hahaha
743: [03:47:12] <irogue_> ss23: blame, no, but I think having been caught with the exact same issue before, the expectation is they'd be more careful
744: [03:47:30] <Kingy> irogue_: that's probably why they double checked?
745: [03:47:42] <ss23> irogue_: How can you get more careful than "Went and checked and purchased from a well known legitimate company"?
746: [03:47:49] <ss23> Like, what did did you want them to do?
747: [03:48:01] <irogue_> Kingy: ask "this sounds awfully like an eminem song...?"
748: [03:48:03] <Kingy> what are you supposed to, keep checking over and over until finally someone says hold on someone might have a problem
749: [03:48:04] <ss23> They can't have been more careful beyond saying "Oh this sounds like it could be another song, lets not use it!", which is a bit bulshit
750: [03:48:17] <ss23> irogue_ is just a labour shill
751: [03:48:24] <irogue_> stock music companies are... not reputable :P
752: [03:50:47] * cloph_away has joined #silverstripe
753: [03:51:08] <irogue_> @mfairh: BREAKING: Nation's election campaign hijacked by Netflix marketing team as stunt for House of Cards season 3 premiere.
754: [03:51:24] * cloph_vac quit (Ping timeout: 272 seconds)
755: [03:52:17] <ss23> haha
756: [03:52:48] * vebb is now known as _______veb______
757: [03:53:28] <Colin[pi]> <irogue_> National Party's ad that time had a Coldplay track backwards
758: [03:53:31] * Kingy is now known as Kingy[a]
759: [03:53:32] <Colin[pi]> lol srsly?
760: [03:53:34] * _______veb______ is now known as vebb
761: [03:54:21] <Stomach> well there is only 479001600 to arrange notes if you want to use them all
762: [03:54:27] <Stomach> so its not really nationals fault
763: [03:55:04] <irogue_> Colin[pi]: basically, yeah. wasn't the actual track (much like this time) but it was very obviously Clocks
764: [03:55:14] <Colin[pi]> heh
765: [03:56:20] * nickmolhoek has joined #silverstripe
766: [03:56:57] <irogue_> Colin[pi]: unfortunately it's long enough ago now that the pages doing side-by-side of them don't seem to be around anymore
767: [03:59:08] * CodeTrap1 has joined #silverstripe
768: [03:59:56] * antmas quit (Quit: Page closed)
769: [04:00:21] * CodeTrap quit (Ping timeout: 246 seconds)
770: [04:00:24] <irogue_> https://dl.dropboxusercontent.com/u/4618071/nztrends.png
771: [04:00:50] <irogue_> (from now)
772: [04:01:58] <spronk> https://www.ipredict.co.nz/app.php?do=contract_detail&contract=PM.2014.NATIONAL
773: [04:02:11] <spronk> seems to have helped.
774: [04:02:57] <irogue_> after reading Dirty Politics, I've learnt not to trust iPredict. which is a pity, cos it's quite cool.
775: [04:03:17] <spronk> oh?
776: [04:04:52] <irogue_> there's minimal enough trade on it that they can throw $200 at ipredict and make things look in their favour. Slater & Collins used it regularly.
777: [04:05:03] <spronk> mm
778: [04:05:16] <crapwagon> think i'm involved in the rebuild of ipredict
779: [04:05:19] <crapwagon> lolo
780: [04:05:57] * hailwood quit (Ping timeout: 258 seconds)
781: [04:08:17] <irogue_> haha
782: [04:08:39] <Ryan-Toast> how can you remove the default max-width given to images loaded in the cms?
783: [04:09:48] <irogue_> default max-width??
784: [04:10:10] <simon_w|work> Ryan-Toast, change your css
785: [04:10:18] <simon_w|work> Since that's where it's coming from
786: [04:10:34] <Ryan-Toast> when you upload an image to a htmleditor field and the image is say 1000 px wide, it will insert it as a max of 600, unless you edit the image in the cms
787: [04:10:43] <Ryan-Toast> simon_w: no, nothing to do with css
788: [04:11:12] <Ryan-Toast> SS will set the image as a ResizedImage if it’s over 600px wide
789: [04:11:50] <jordank> spronk: i've managed to get that working all good on the staging site. i'm now trying to apply the same update the live site but i think i'm having a mind blank lol
790: [04:12:02] <spronk> hm?
791: [04:12:04] <jordank> was the only code that was changed just the OrderDecorator?
792: [04:12:15] <spronk> that and applying the decorator via config
793: [04:12:23] <jordank> yeah
794: [04:12:55] <jordank> i updated the live site with the OrderDecorator but the Shop just doesn't display any orders regardless of subsite (haven't updated the live DB yet so SubsiteID is 0 for all orders currently)
795: [04:13:03] <spronk> dev build?
796: [04:13:15] <jordank> yep done that
797: [04:13:27] <irogue_> [16:11] <Ryan-Toast> SS will set the image as a ResizedImage if it’s over 600px wide
798: [04:13:30] * zippy has joined #silverstripe
799: [04:13:34] <irogue_> ah, that's a bit different to max-width :P
800: [04:13:44] <jordank> derp, it's suddenly working
801: [04:13:49] <jordank> must have been a weird cache issue
802: [04:14:01] <Ryan-Toast> irogue_: well that’s the maximum width it will allow you to load by default, is it not?
803: [04:15:10] <spronk> haha
804: [04:15:15] <spronk> love it when that happens jordank
805: [04:16:18] <jordank> yep lol
806: [04:17:36] <irogue_> Ryan-Toast: HtmlEditorField::$insert_width
807: [04:17:40] <irogue_> should be able to use yaml to change that
808: [04:17:47] <Ryan-Toast> irogue_: Yeah just found it: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/HtmlEditorField.php#L21
809: [04:17:49] <zippy> is it possible to check if a items many_many already contains an id?
810: [04:18:19] <zippy> eg $student->rooms()->has($roomID); // student is already in the room
811: [04:18:37] <Ryan-Toast> irogue_: I don’t know if you can change it via yml since it doesn’t use a config instance?
812: [04:18:49] <irogue_> Ryan-Toast: it does
813: [04:18:59] <irogue_> https://github.com/silverstripe/silverstripe-framework/blob/dc06bd92394bb3ffc758c92fdb79b32b7e0b3b41/forms/HtmlEditorField.php#L952
814: [04:19:09] <Ryan-Toast> irogue_: Ah, nice :)
815: [04:20:40] <Ryan-Toast> irogue_: that works, chur boiiiiiiii
816: [04:22:09] <zippy> it looks like member uses inGroup - but that just loops the many, many list. I thought it'd be faster to query the join table
817: [04:22:18] <irogue_> ss23: http://webcache.googleusercontent.com/search?q=cache:PugOmunAoiEJ:www.spidercues.com/component/jwdmusic/%3Fview%3Djwdmusic%26cid%3D110+&cd=1&hl=en&ct=clnk
818: [04:23:00] <ss23> Yeah, I've seen it
819: [04:23:34] <irogue_> heh
820: [04:23:37] <irogue_> "eminem esque"
821: [04:24:38] <zippy> I am sureeee I have seen a way to check a many many contains
822: [04:25:33] <micmania1> zippy: Member::get()->relation(“Groups”)
823: [04:25:55] <zippy> micmania1: eg $student->rooms()->has($roomID); // student is already in the room
824: [04:26:05] <zippy> micmania1: I thought it was possible to do something like that
825: [04:26:10] <zippy> or was it ->exists()
826: [04:26:18] <Colin[pi]> recaptcha you fail so hard http://imgur.com/zYmMeJB
827: [04:26:36] <Stomach> zippy - $student->rooms()->byID($roomID)->exists();
828: [04:26:57] <Stomach> maybe
829: [04:27:22] <micmania1> zippy: just use ->count() == 1
830: [04:28:30] <irogue_> spronk, crapwagon: https://dl.dropboxusercontent.com/u/4618071/ipredict.png
831: [04:28:56] <spronk> heh
832: [04:28:56] <spronk> interesting
833: [04:30:26] <ss23> I'm torn about whether it should be legal to manipulate election results like that
834: [04:30:28] <zippy> Stomach: micmania1 thanks, I just went with byID which would return the object if it existed
835: [04:30:40] <spronk> pretty sure that should be more or less illegal
836: [04:30:48] <ss23> I'm thinking it should be legal
837: [04:30:49] <spronk> but that would require illegalising ipredict for that
838: [04:30:59] <spronk> why?
839: [04:31:30] <ss23> Because I can't think of a good way to make it illegal without making it infringe on other things
840: [04:31:34] <irogue_> it's basically just a betting site, much like TAB
841: [04:31:34] <ss23> like making all of ipredict illegal and things
842: [04:31:36] <spronk> yeah
843: [04:31:38] <spronk> exactly
844: [04:31:49] <ss23> Also I can't remmeber if I said but my flatmate is buying me candy if I vote so I'm going to vote
845: [04:31:52] <ss23> :D
846: [04:31:56] <spronk> for civilian?
847: [04:32:00] <irogue_> lol
848: [04:32:07] <ss23> haha
849: [04:32:17] <ss23> Since I have to go all the way there to get the candy anyway, I figure I'll do a real vote
850: [04:32:24] <spronk> .... for civilian?
851: [04:32:37] <irogue_> ss23: is this your Key fanboi flatmate? if so, vote as far left as possible just to piss him off
852: [04:32:41] <ss23> Vote spronk for fucksubsites
853: [04:32:43] <ss23> ahahah irogue_ r
854: [04:32:48] <ss23> irogue_: He's voting for internet/mana afaik
855: [04:32:56] <spronk> oh my god why would yuou
856: [04:33:01] <ss23> hahahhaahah
857: [04:33:03] <irogue_> ah. well that's about as far left as it gets
858: [04:33:04] <ss23> SAYS THE GUY WHO SAID VOTE CIVILIAN
859: [04:33:07] <Colin[pi]> lol fucksubsites
860: [04:33:26] <spronk> see that harawira might not win his seat
861: [04:33:28] <spronk> that would be epic lol
862: [04:33:36] <ss23> "As leader of fucksubsites, I vow to outlaw all uses of the peice of shit!" - President spronk
863: [04:33:43] <irogue_> spronk: quite, although I don't really understand why Labour seems to think that's a good thing
864: [04:33:49] <irogue_> I don't really think they understand strategic voting
865: [04:33:54] <spronk> yeahh
866: [04:33:55] <spronk> lol
867: [04:34:11] <irogue_> they're like YUSS OUR GUY WILL BEAT HONE
868: [04:34:23] <irogue_> and everyone else is like "uh... yes... giving the left 1 seat instead of 3 or 4..."
869: [04:34:32] <spronk> labour is like national, but dumb.
870: [04:35:02] <Colin[pi]> so the two major parties in NZ are national and labour?
871: [04:35:02] <irogue_> was it Colin[pi] who summed it up nicely yesterday?
872: [04:35:21] <Colin[pi]> irogue_: who's on what now?
873: [04:35:32] <irogue_> http://logs.simon.geek.nz/index.php?date=2014-09-15#log_1399870
874: [04:35:43] <Colin[pi]> ahh yeah
875: [04:35:47] <Colin[pi]> same as our Labor
876: [04:36:09] <Colin[pi]> great policy, couldn't politic their way out of a paper bag
877: [04:36:15] <irogue_> i mean, i don't think national's actually released any policies this election?
878: [04:36:20] <ss23> Uncle Helen we need you :(
879: [04:36:23] <irogue_> other than a $10 per person tax cut or someshit
880: [04:36:28] <Colin[pi]> uncle helen rofl
881: [04:36:30] <spronk> they had that housing policy
882: [04:36:41] <irogue_> spronk: oh yeah, the terabad one
883: [04:36:44] <spronk> yeah
884: [04:36:50] <spronk> LETS GIVE AN ALREADY FUCKED MARKET MROE MONEY!
885: [04:37:05] <irogue_> "we have a housing shortage, so let's create more demand!"
886: [04:37:16] <zippy> I wonder how much $ I have left in iPredict
887: [04:39:41] <irogue_> ss23: she's tipped to become head of the UN, good luck getting her back here!
888: [04:39:57] <Colin[pi]> just the tip?
889: [04:40:22] <irogue_> ss23: another good quote from dirty politics that reminds me of our discussion about comments on various blogs / news sites etc
890: [04:40:33] <irogue_> "Blogs can seem like the ultimate space for freedom of speech but anonymous speech, unless strictly moderated, is something different: it brings out the worst in people, not the best, and sometimes it just brings out the worst people."
891: [04:41:59] <zippy> woo $0.81
892: [04:42:45] <zippy> "... it brings out the worst in people, not the best, and sometimes it just brings out the worst people."
893: [04:42:51] <zippy> that sounds weird
894: [04:43:11] <irogue_> it does, but I thought about it and it does seem to be the correct way to write it
895: [04:44:45] <zippy> right because I guess he says "word in people" and then finally, "the worst people"
896: [04:44:52] <zippy> *"worst in people"
897: [04:45:07] <zippy> "the worst in people" and then finally, "the worst people"
898: [04:46:23] * Stomach slow claps
899: [04:46:47] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
900: [04:47:09] <zippy> Stomach: I got there in the end
901: [04:47:13] <Stomach> :D
902: [04:47:17] <irogue_> lol
903: [04:47:38] <irogue_> goddammit
904: [04:47:48] <irogue_> my first inspection next week
905: [04:47:55] <irogue_> (house)
906: [04:48:02] <irogue_> haven't even finished unpacking, lol
907: [04:48:08] <zippy> I was thinking dr cough test
908: [04:48:21] <zippy> thanks for clarifying
909: [04:49:11] <irogue_> now, I need to find a lawnmowing man who knows how to email
910: [04:51:35] <Stomach> the council came around and mowed all the verges near my house at 7am this morning
911: [04:51:43] <Stomach> motherfuckers didnt even do a good job of it
912: [04:51:49] <spronk> mow your own lawns bro
913: [04:52:01] <Stomach> we dont even have any lawns
914: [04:52:07] <Stomach> or a verge
915: [04:52:12] <spronk> (more pointed at irogue )
916: [04:52:15] <Stomach> irogue_ - get a reel mower
917: [04:52:20] <Stomach> reel mowers are fucking awesome
918: [04:52:21] <adrexia_> ss23 - "philosophical" tuesday happening this week, or are we skipping it in favour of the meetup tomorrow?
919: [04:53:10] <ss23> um
920: [04:53:18] <ss23> sean and stig both have headphones on
921: [04:53:20] <ss23> lemme spam the chat
922: [04:53:34] <adrexia_> yeah, I texted, but figured that wasn't so efficent
923: [04:54:26] <irogue_> spronk: pfft, fuck that. (a) it's hard, (b) i'm barely ever home during daylight, (c) i'd have to buy a mower, deal with repairs, etc.
924: [04:54:40] <spronk> get a push mower
925: [04:54:43] <spronk> its ezpz
926: [04:54:54] <zippy> a reel mower is a push one i think
927: [04:55:14] <spronk> you can get motorized reel mowers
928: [04:55:26] <zippy> wooo
929: [04:56:35] <irogue_> (d) what i'd pay to have my lawn mowed is less $ than i get per hour, so it's actually a waste of my time!
930: [04:56:36] <spronk> http://www.steelfort.co.nz/products/lawn-and-garden/rotary-and-reel-lawnmowers/product/56
931: [04:56:47] <irogue_> i should get a cleaner too...
932: [04:56:49] <spronk> you work every waking hour?
933: [04:57:32] <irogue_> spronk: not far off :P
934: [04:57:36] <spronk> lol
935: [04:57:40] <Stomach> hardcore.
936: [04:57:48] <adrexia_> ... real people use the stealfort site?
937: [04:57:50] <adrexia_> :D
938: [04:57:51] <ss23> adrexia_: signs point to yes, we drink tonight too
939: [04:58:03] <ss23> ohly shit someone using teh steelfort site!
940: [04:58:04] <ss23> :O
941: [04:58:09] <spronk> lol!
942: [04:58:10] <adrexia_> I know, right? :D
943: [04:58:31] <irogue_> spronk: holy fuck thats a lot of dollars
944: [04:58:36] <spronk> mm
945: [04:58:40] <spronk> motorized reel mowers are like
946: [04:58:47] <spronk> the rolls royce of mowers
947: [04:58:59] <irogue_> could get my lawn mowed by someone else once a fortnight for 3 years for that $$
948: [04:59:09] <Ryan-Toast> ride to work. Fucking rainstorm. 10am-4:58pm sunny as fuck. Now another rainstorm LDFKHJBDF;KGBHDF;KGBHDF;KGHBDFA;KG BDFA;KJH BDFSK;GHJB
949: [04:59:13] <spronk> rly?
950: [04:59:14] <adrexia_> that's like the first silverstripe 3 site I was involved with. Before Silverstripe 3 was even remotely stabl;e
951: [04:59:18] <spronk> lawn mowing here is like $35/hour
952: [04:59:27] * nickmolhoek quit (Quit: nickmolhoek)
953: [04:59:38] <irogue_> spronk: i'm in south auckland remember, *everything* is cheap
954: [05:00:23] <irogue_> cream donuts from the bakery are still $1, a decent steak and cheese pie (not big ben or some shit) is $2.50 ^_^
955: [05:00:40] <adrexia_> <ss23> if it's on I'll be there
956: [05:00:48] <jordank> spronk, adrexia_, micmania1: managed to get that issue with viewing Orders resolved. cheers for the help :)
957: [05:00:52] <spronk> lol
958: [05:01:03] <adrexia_> <jordank> awesome
959: [05:02:21] <ss23> adrexia_: what?
960: [05:02:41] <irogue_> adrexia_: you are using quoting syntax for addressing people and it is confusing the bejesus outta me
961: [05:03:04] <adrexia_> ahh - that's because my irc client does that
962: [05:03:27] <adrexia_> I copy/paste shit, because who wants to type? and it err, uses syntax
963: [05:03:48] <adrexia_> it also does nothign special to it at my end
964: [05:03:59] <adrexia_> so I don't really notice
965: [05:04:27] <zippy> copy and paste? or tab..
966: [05:04:36] <adrexia_> copy paste
967: [05:04:43] <zippy> tab no work?
968: [05:04:45] <adrexia_> tab does nothing
969: [05:04:53] <irogue_> oh god
970: [05:04:55] <irogue_> get better IRCs
971: [05:05:08] <adrexia_> honestly - there isn't one
972: [05:05:15] <adrexia_> not for Linux
973: [05:05:20] <adrexia_> I tried a lot of things
974: [05:05:28] <ss23> irssi!
975: [05:05:30] <adrexia_> xhat is semi-decent, but it's not textual
976: [05:05:37] <adrexia_> xchat
977: [05:05:38] <irogue_> adrexia_: if you're expecting something to look decent on linux, glhf
978: [05:05:40] <irogue_> :P
979: [05:05:50] <adrexia_> irogue_
980: [05:05:59] <adrexia_> I don't have a choice - so yeha
981: [05:06:01] <adrexia_> :P
982: [05:06:10] <adrexia_> I expect developers to make better shit
983: [05:06:14] <adrexia_> but, open source
984: [05:06:34] <irogue_> yeah, my experience is that the type of people who develop apps for linux don't actually know what UX is or stands for
985: [05:07:02] <adrexia_> irogue_ I have found that too
986: [05:08:11] <adrexia_> to be fair, this client has a lot of options, so it might be possible to make it better
987: [05:08:30] <irogue_> I could also change that line to "people who develop deployment tools/systems"
988: [05:08:44] <adrexia_> like, I just got tab completion to work by checking an option
989: [05:08:50] * Shrike_Finland has joined #silverstripe
990: [05:08:55] * Shrike_Finland quit (Client Quit)
991: [05:10:14] <adrexia_> its actually that most developers don't. its not their thing. You only get a good experience if you pair them up with people who do care, and often that only happens in a more formal environment
992: [05:10:32] <irogue_> yup
993: [05:11:08] <adrexia_> and I think it's possibly too much to ask of people to be super good at both ends of the spectrum
994: [05:11:13] <madmatt> adrexia_: Definitely check out irssi, it's awesome
995: [05:11:26] <adrexia_> ...umm I've looked at that beforee :P
996: [05:11:32] <adrexia_> its certainly soemthing
997: [05:11:47] <adrexia_> Irssi - The client of the future
998: [05:11:58] <adrexia_> bwhaha
999: [05:12:23] <Ryan-Toast> adrexia_: and I think it's possibly too much to ask of people to be super good at both ends of the spectrum
1000: [05:12:25] <Ryan-Toast> unicorns
1001: [05:12:42] <adrexia_> yep
1002: [05:13:07] <Ryan-Toast> I’d consider myself a baby rhino
1003: [05:13:14] <Ryan-Toast> the old jack of all trades
1004: [05:13:26] <adrexia_> the real question is how to get the quality you get from formal structures into open source
1005: [05:13:43] <Ryan-Toast> Competition
1006: [05:13:58] <adrexia_> i.e. how do you get devs to *want* to work with ux people, and actively get them involved?
1007: [05:14:02] <Ryan-Toast> Is usually a good motivator
1008: [05:14:06] <adrexia_> true
1009: [05:14:09] <ss23> Jack of all trades
1010: [05:14:10] <ss23> Master of none
1011: [05:14:14] <Ryan-Toast> ss23: exactly
1012: [05:14:15] <ss23> certainly better than master of one
1013: [05:14:42] <irogue_> yeah, i'm definitely a back-end guy, but I know what is shit in the front-end. I may not necessarily know how to fix it, but I know it's shit.
1014: [05:14:47] <Ryan-Toast> Okay, home time now.
1015: [05:15:12] <ss23> irogue_: heh.
1016: [05:15:14] <adrexia_> I do things that have impact on user experience. it turns out that that isn't dictated by langauge so much as purpose.
1017: [05:15:15] <ss23> gaay~
1018: [05:15:16] <ss23> :3
1019: [05:15:31] * spronk is more of a ux guy than a developer
1020: [05:16:39] * Stomach quit (Ping timeout: 246 seconds)
1021: [05:16:54] * Ryan-Toast just kind of lies that he can do stuff and googles it.
1022: [05:16:55] <irogue_> luckily for me, there's an Oly sitting 2 seats down from me
1023: [05:17:26] <irogue_> so I say to him "Oly, this looks like shit" to which he replies "Wow, that's really bad, want me to fix it?"
1024: [05:17:33] <adrexia_> hahaha
1025: [05:17:54] <adrexia_> knowing how to google is an important life skill
1026: [05:18:06] <adrexia_> "self directed learning" ;)
1027: [05:18:15] <irogue_> is how i've done all of my learning
1028: [05:18:19] * StefanLehmann quit (Read error: Connection reset by peer)
1029: [05:18:31] * irogue_ is very proud of his highest qualification: NCEA Level 1!
1030: [05:18:43] <Ryan-Toast> same :P I feel like I’ve l;;earnt so much in the last year. Feels good.
1031: [05:18:52] <Ryan-Toast> k, bai
1032: [05:19:03] <adrexia_> bai
1033: [05:19:18] <ss23> I think I technically have Level 3, but not UE
1034: [05:20:58] * micmania1 has left #silverstripe
1035: [05:22:58] <simon_w|work> Suckers! :P
1036: [05:23:50] <irogue_> wonder where everyone else at the office is education-wise
1037: [05:24:06] <irogue_> probably safe to say that Dr J is the highest educated :P
1038: [05:25:32] <simon_w|work> Hmm, I might actually be the highest educated here
1039: [05:25:36] * Kingy[a] is now known as Kingy
1040: [05:25:45] <simon_w|work> Unless one of the directors went and got a MBA
1041: [05:25:57] <adrexia_> I have a BA in History
1042: [05:26:08] <irogue_> Jerry had two degrees IIRC
1043: [05:26:12] <adrexia_> and a diploma in web development
1044: [05:26:24] <simon_w|work> I've got a BSc Hons with no BSc
1045: [05:26:26] <adrexia_> and a bunch of random comp sci papers
1046: [05:26:53] <adrexia_> but umm... knowing how to learn is the most important thing I know
1047: [05:27:12] <adrexia_> Jerry's gone now, eh?
1048: [05:27:23] <adrexia_> simon_w|work, how?
1049: [05:27:37] <adrexia_> I didn't think you could
1050: [05:28:04] <simon_w|work> adrexia_, If you have enough points at 200/300 level at B or above in your major, you can get an exemption from requiring a degree
1051: [05:28:19] <simon_w|work> I have a grand total of 0 100 level points
1052: [05:28:20] <adrexia_> interesting
1053: [05:28:31] <adrexia_> ... weird
1054: [05:28:36] <adrexia_> just had to be differnet, huh?
1055: [05:28:37] <irogue_> adrexia_: yep, off to the world of Real Estate
1056: [05:28:42] <simon_w|work> Skipping 100 level was so worth it
1057: [05:28:52] <adrexia_> right, heading off
1058: [05:29:01] <adrexia_> ss23 - see you guys in a bit
1059: [05:29:08] <irogue_> ah yep, he had Postgrad IT Degree and MBA
1060: [05:33:27] <irogue_> heh, if you're going to use photos of your work to advertise your lawnmowing business, at least have it be a lawn you've done a decent job on...
1061: [05:34:21] <irogue_> http://images.trademe.co.nz/photoserver/full/332681883.jpg <-- horrible job of the edging, plus lawn's been cut too short so it's dying in patches
1062: [05:34:22] * spronk also has a BSc(Hons) with no BSc
1063: [05:34:33] <spronk> haha wow that's terrible
1064: [05:35:46] <irogue_> my grandfather's a lawnmowing man, and when I was 15 & saving to go to Germany I mowed with him to get $$. so even though I hate mowing lawns I know how to do it properly :P
1065: [05:36:02] <spronk> mm
1066: [05:36:05] <spronk> my dad did it for a while
1067: [05:37:04] <irogue_> he's been doing it for... 20 years now I guess
1068: [05:37:29] <spronk> its the same with gardening too
1069: [05:37:38] <irogue_> 76 years old and won't flippin retire
1070: [05:37:39] <spronk> heaps of people have no fucking idea what they're doing
1071: [05:37:42] <spronk> hah
1072: [05:37:43] <spronk> awesome
1073: [05:38:08] <irogue_> https://dl.dropboxusercontent.com/u/4618071/IMG_0114.JPG
1074: [05:38:21] <spronk> :|
1075: [05:38:51] * Ryan-Toast quit (Quit: Ryan-Toast)
1076: [05:39:26] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1077: [05:39:37] <irogue_> hmm, there's no lawnmowing guys on trademe that are giving me confidence
1078: [05:39:43] <irogue_> i have a crazy idea
1079: [05:39:50] <spronk> thats cause they all work for jims or whatever
1080: [05:39:50] <irogue_> i'm gonna look at the *newspaper*
1081: [05:39:55] <spronk> and earn way more than they should
1082: [05:40:02] <irogue_> spronk: ya, I refuse to use chains
1083: [05:40:12] <irogue_> they charge twice as much and the person doing the work gets fuckall of it
1084: [05:40:14] <spronk> the usual strategy for them is basically to jeep jacking up prices
1085: [05:40:17] <spronk> expecting to lose clients
1086: [05:40:40] <Colin[pi]> if a client asks for a "domain name username and password" - what would you interpret that to mean?
1087: [05:40:44] <Colin[pi]> registry key?
1088: [05:41:00] * irogue_ grabs the 7 newspapers sitting on the bench
1089: [05:41:01] <spronk> i'd interpret that to mean the account at a domain registrar, or maybe hosting account
1090: [05:41:17] <Colin[pi]> spronk: right, which is our account with other domains in it
1091: [05:41:24] <spronk> mm
1092: [05:41:30] <Colin[pi]> idek
1093: [05:41:32] <irogue_> ask them what they want
1094: [05:41:35] <Colin[pi]> I am
1095: [05:41:49] <irogue_> odds are theyre asking for entirely the wrong thing
1096: [05:41:50] <Colin[pi]> every email from these guys needs a fucking translator
1097: [05:42:09] <simon_w|work> Colin[pi], FTP details
1098: [05:42:18] <Colin[pi]> simon_w|work: they already have that
1099: [05:42:27] <Colin[pi]> unless they lost it
1100: [05:42:33] <Colin[pi]> who knows *shrug*
1101: [05:42:37] <irogue_> hmm, i forgot that newspapers charge per word for classifieds
1102: [05:42:40] <irogue_> fuckall information
1103: [05:43:19] <spronk> nocowboys brau
1104: [05:43:22] <spronk> or
1105: [05:43:26] <spronk> builderscrack
1106: [05:44:07] <irogue_> wish I had a fireplace, got so much fucking newspaper to start fires with
1107: [05:44:16] <spronk> ....
1108: [05:44:17] <spronk> DIY?
1109: [05:44:22] <irogue_> lol
1110: [05:44:23] <simon_w|work> HHVM makes profiling annoying. Things are just too fast.
1111: [05:44:42] <irogue_> Manukau Courier (local free paper) is 3 days a week
1112: [05:44:44] <spronk> profile on php exec
1113: [05:45:00] <spronk> anything worth fixing is likely to be fast under hhvm
1114: [05:45:59] <simon_w|work> spronk, that tends to show object creation and other php internals
1115: [05:46:08] <spronk> hm?
1116: [05:46:32] <spronk> if that's all that's causing you performance grief chances are optimising isn't going to get you big worthwhile gains
1117: [05:46:54] <simon_w|work> In PHP, dropping the amount of object creation you do is a massive gain
1118: [05:47:04] * simon_w|work looks at SilverStripe...
1119: [05:47:18] <spronk> well yeah, but you can see that under php or hhvm profiling
1120: [05:47:49] <simon_w|work> In HHVM, it's basically the same performance cost as array creation
1121: [05:48:08] <spronk> so i go back to my original argument
1122: [05:48:20] <spronk> nothing worth fixing if its just object creation and internals slowing you down
1123: [05:48:39] <simon_w|work> Well, it's likely to be different places under HHVM
1124: [05:48:46] <simon_w|work> And you can do things like reducing the number of calls
1125: [05:48:50] <spronk> yeah but even still, it's micro optimisations at this point
1126: [05:49:07] <simon_w|work> For us, that's worth it
1127: [05:49:08] <spronk> spend the time doing something that will earn money, and buy better hardware :P
1128: [05:49:25] <spronk> wow, really?
1129: [05:49:32] <simon_w|work> Heck, I changed an empty() to isset() and got a 1% speed boost
1130: [05:49:47] <simon_w|work> Yes, throwing more money at hardware can't get us much any more
1131: [05:49:54] <spronk> really? O_o
1132: [05:49:58] <simon_w|work> Need to horizontally scale
1133: [05:50:04] <spronk> what on earth are you running on?
1134: [05:50:08] <simon_w|work> Software currently doesn't support that
1135: [05:50:25] <simon_w|work> Something massive
1136: [05:50:36] <spronk> wow
1137: [05:50:49] <spronk> i haven't yet encountered an app that is hardware limited in the PHP side of things
1138: [05:51:13] * Shrike_Finland has joined #silverstripe
1139: [05:51:47] <spronk> so you're CPU limited within PHP?
1140: [05:52:02] <simon_w|work> We could probably horizontally scale the PHP side with a bit of work
1141: [05:52:07] <simon_w|work> Tend to be
1142: [05:52:12] <spronk> buuuugger
1143: [05:52:43] <spronk> we did a hoz scale exercise a few months ago
1144: [05:53:14] <spronk> app was using php, file sessions, local file storage, mysql for persistence, rabbitmq for jobs
1145: [05:53:26] <spronk> was pretty straightforward for us to hoz scale it
1146: [05:53:46] * Olliepop quit (Ping timeout: 246 seconds)
1147: [05:53:57] <spronk> moved sessions to memcache via php settings. could also do redis pretty easily too
1148: [05:54:23] <spronk> hardest part was swapping out local file storage stuff
1149: [05:54:27] <simon_w|work> Would be so much nicer if new relic gave more than a day's worth of load
1150: [05:54:47] <simon_w|work> Oh, there's the switch
1151: [05:55:20] <spronk> if youre on paid NR you can go 3mo i think
1152: [05:55:32] <spronk> new relic is the fucking boss.
1153: [05:55:51] <spronk> easily worth its cost to us
1154: [05:55:54] <simon_w|work> Yeah, but then it goes and flattens out the load
1155: [05:55:56] <Colin[pi]> it was the registry key they wanted
1156: [05:55:58] <Colin[pi]> le sigh
1157: [05:56:09] <simon_w|work> We have rather large spikes
1158: [05:56:18] <spronk> hmm
1159: [05:56:24] <spronk> you can do histogram graph for 7 days i think
1160: [05:56:31] <spronk> also
1161: [05:56:42] <spronk> could be worth setting a transaction time limit
1162: [05:56:46] <spronk> NR will record data on anything that exceeds it
1163: [05:57:19] <simon_w|work> Need to figure out why my newrelic extension isn't working first
1164: [05:57:40] <spronk> 29,900ms (55.9%)
1165: [05:57:41] <spronk> USER CPU BUR
1166: [05:57:41] <spronk> ouch
1167: [05:57:56] <spronk> man
1168: [05:58:00] <spronk> when new relic integrates like
1169: [05:58:01] <spronk> xdebug
1170: [05:58:04] <spronk> with a web on/off
1171: [05:58:29] <spronk> "Profile next similar transaction [ ]"
1172: [05:58:32] <spronk> that would own so hard.
1173: [05:59:23] <spronk> our cpu load is pretty decent
1174: [05:59:30] * ben_w quit (Remote host closed the connection)
1175: [05:59:38] <spronk> with the exception of some super suboptimal out of band jobs, avg use is <1%
1176: [06:00:07] <simon_w|work> We're in a quiet period and it's at 30%
1177: [06:00:18] <spronk> ouch :S
1178: [06:00:27] <spronk> # clients connected?
1179: [06:00:34] <simon_w|work> No idea
1180: [06:00:40] <simon_w|work> Need to get HHVM+NR talking
1181: [06:00:45] <spronk> mm..
1182: [06:00:57] <spronk> is this pocketrent or something else?
1183: [06:01:24] <simon_w|work> Something else
1184: [06:01:26] * ben_w has joined #silverstripe
1185: [06:01:35] <spronk> silverstripe based?
1186: [06:01:36] <irogue_> lol, don't think pocketrent is quite at that level :P
1187: [06:01:42] <simon_w|work> Nope
1188: [06:01:50] <simon_w|work> Code base is about as old though
1189: [06:01:53] <spronk> heh
1190: [06:02:44] <spronk> if you've got your sessions, data storage and file IO abstracted it should be pretty easy to hoz scale the CPU load
1191: [06:03:25] <simon_w|work> Was going to try to use the network stats to figure things out, but that includes the database traffic
1192: [06:03:28] <irogue_> bahahahaahahha Joyce actually went there. twitter was all saying it jokingly, but then Joyce actually said it seriously
1193: [06:03:32] * StefanLehmann has joined #silverstripe
1194: [06:03:34] <spronk> ??
1195: [06:03:40] <irogue_> that Eminem is just doing this to try to destroy their election campaign
1196: [06:03:50] <spronk> link?
1197: [06:04:18] <irogue_> i'll try to find it, it's scrolled off my screen now. twitter movin' too fast
1198: [06:05:56] <spronk> simon_w|work, yeah, its a bit annoying
1199: [06:06:15] <spronk> it would be nice if you could get more detailed network stats so you could exclude an IP address or subnet
1200: [06:06:21] <irogue_> "I think these guys are just having a crack and have a bit of an eye for the main chance because it's an election campaign. So good on them, but we'll be contesting it pretty seriously. We don't believe they've got any grounds at all and we suspect its politically motivated."
1201: [06:06:23] <irogue_> there's the quote
1202: [06:06:52] <spronk> hahahahaha
1203: [06:07:05] <spronk> but
1204: [06:07:09] <spronk> they're in the USA, aren't they?
1205: [06:07:13] <spronk> why would they care about NZ politics
1206: [06:07:13] <irogue_> the left-wing conspiracy grows! now Eminem is part of it!
1207: [06:07:13] <spronk> and
1208: [06:07:22] <spronk> why wouldn't they want NZ to be more right wing anyway~!
1209: [06:07:41] <irogue_> first Hager, then Greenwald & Snowden, now Eminem! EVERYONE IS OUT TO GET US
1210: [06:07:59] <spronk> lol
1211: [06:08:06] <spronk> in saying that though
1212: [06:08:15] <spronk> Joyce does seem like one of the few semi-competent people in parliament
1213: [06:08:52] <irogue_> I know, which is why it's mind-blowing that he's saying this. I expect it from Key at this point
1214: [06:08:57] <spronk> lolmm
1215: [06:09:23] <irogue_> English and Joyce have largely kept their noses clean, I suspect so they can roll Key if he loses the election
1216: [06:09:42] <simon_w|work> Or wins
1217: [06:09:46] <Kingy> pretty sure key would go if he loses
1218: [06:09:52] <irogue_> simon_w|work: that too
1219: [06:10:00] <Kingy> he won't get rolled he'll step down
1220: [06:10:01] <simon_w|work> Parliament has some nice stairs for rolling people down
1221: [06:10:14] <Kingy> and i personally think key won't stay for the next term anyway
1222: [06:10:18] <spronk> English won't
1223: [06:10:22] <spronk> he had his chance
1224: [06:10:22] <Kingy> he'll stand down in another 12-18 months
1225: [06:10:34] <irogue_> Kingy: yeah, there's a lot of rumors going around National Party circles (I have a few friends in them) who say JK has already planned to retire ~6 months after election
1226: [06:10:42] <spronk> no evidence that he'd be any better as leader than he was last time around
1227: [06:10:43] <irogue_> (assuming they win)
1228: [06:11:03] <irogue_> spronk: my suspicion is Joyce as leader, English as deputy+finance
1229: [06:11:04] <Kingy> spronk: hard to say, i think he's better now than how he was
1230: [06:11:13] <spronk> i think he is too
1231: [06:11:33] <spronk> and don't get me wrong, english is one of the people i respect most in parliament
1232: [06:11:42] <irogue_> I don't think Joyce really *wants* to be leader, but he's loyal to the party. if noone else is available, he'd probably do it
1233: [06:11:46] <spronk> but i don't think he's enough of a cock to be leader
1234: [06:11:59] <spronk> because that's what national voters seem to like
1235: [06:12:02] <Colin[pi]> spronk: lol
1236: [06:12:09] <Colin[pi]> dat prerequisite
1237: [06:12:11] <irogue_> it was going to be Collins, but that is a lot less likely now
1238: [06:12:14] <Colin[pi]> "must be a cock"
1239: [06:12:29] <spronk> seriously though, look at all our winners
1240: [06:12:41] <spronk> helen vs jenny - helen was cock
1241: [06:12:55] <spronk> helen vs english - helen was cock
1242: [06:13:05] <spronk> helen vs brash - helen was cock
1243: [06:13:12] <Colin[pi]> ah but could they out-cock Abbott?
1244: [06:13:19] <irogue_> oh shit
1245: [06:13:26] <irogue_> an Uncle Helen vs Tony Abbott debate
1246: [06:13:28] <irogue_> that'd be fucking amazing
1247: [06:13:30] <spronk> haha
1248: [06:13:39] <spronk> im pretty sure
1249: [06:13:42] <spronk> she would have him on all fours
1250: [06:13:42] <Kingy> i'd like to see winston and obama
1251: [06:13:48] <spronk> and be raping him in no time
1252: [06:13:50] <irogue_> spronk: I KNOW! that's why itd be amazing :P
1253: [06:14:38] <spronk> :D
1254: [06:15:21] <Colin[pi]> irogue_: I'd be raging in no time due to the constant "Uh.. um.. ahh... um.. ah... uhh.... um.... ahh"
1255: [06:15:41] <Colin[pi]> https://www.youtube.com/watch?v=3yoS_oiaAJA
1256: [06:16:39] <spronk> heh
1257: [06:16:43] <spronk> how did you guys let him in]
1258: [06:16:44] <spronk> seriously
1259: [06:16:55] <spronk> i thought even australians were better than that
1260: [06:17:03] <Colin[pi]> spronk: because morons
1261: [06:17:26] <Colin[pi]> because they didn't so much want to vote abbott in, they wanted to vote labor OUT
1262: [06:17:48] <Colin[pi]> or at least, that's how I've most commonly heard it described... they voted not necessarily for Abbott, but for Liberal
1263: [06:17:56] <Colin[pi]> which is stupid reasoning
1264: [06:17:58] <Colin[pi]> but anyhoo
1265: [06:18:10] <Colin[pi]> STAHP THE BOATS
1266: [06:18:26] <spronk> haha
1267: [06:19:42] <Colin[pi]> I take it you've seen this classic: https://www.youtube.com/watch?v=UUdPabnXUNA
1268: [06:20:07] * Guits quit (Ping timeout: 258 seconds)
1269: [06:21:00] <spronk> LOLya
1270: [06:21:17] <irogue_> haha
1271: [06:21:19] <irogue_> such headbobble
1272: [06:21:27] <irogue_> its like you can see him trying to think
1273: [06:21:33] <Colin[pi]> does not compute, does not compute
1274: [06:21:37] <Colin[pi]> wobble wobble
1275: [06:22:01] <Colin[pi]> many times he's just walked off in the middle of interviews too
1276: [06:22:17] <Colin[pi]> well, don't like this line of questioning, SEE YA LATER
1277: [06:23:06] <irogue_> https://twitter.com/mitchyyyyy/status/511757951598485504
1278: [06:23:43] <Colin[pi]> hahaha
1279: [06:24:39] <Colin[pi]> ok someone explain the eminem thing? because http://i.imgur.com/ULEegzZ.gif
1280: [06:25:09] <spronk> national party used a stock song in their election ad
1281: [06:25:13] <spronk> sounded like eminem's lose yourself
1282: [06:25:21] <spronk> some people noticed
1283: [06:25:25] <spronk> evidently eminem's publisher also did
1284: [06:25:25] <Colin[pi]> oh dear
1285: [06:25:29] <Colin[pi]> oooh
1286: [06:25:31] <spronk> LAWSUIT
1287: [06:25:33] <Colin[pi]> oops
1288: [06:25:34] <Colin[pi]> lol
1289: [06:25:38] <Colin[pi]> link to ad?
1290: [06:25:42] <irogue_> they took it down
1291: [06:25:44] <spronk> http://www.stuff.co.nz/national/politics/10403045/National-channels-Eminem-in-election-ad
1292: [06:25:45] <Colin[pi]> shit
1293: [06:25:58] <spronk> first link on left
1294: [06:26:05] <spronk> ...assuming it still works
1295: [06:26:08] <irogue_> ah, swt
1296: [06:26:10] <Colin[pi]> thanks
1297: [06:26:12] <irogue_> youtueb took it down
1298: [06:26:30] <irogue_> Colin[pi]: additionally, they got caught for same thing in 2007 with a coldplay track
1299: [06:26:34] <spronk> it's not exactly the same, but it's close enough that you might not know it's not the real one
1300: [06:26:44] <Colin[pi]> wow that... does.. sound pretty much the same
1301: [06:27:27] <irogue_> Colin[pi]: the stock music site they bought it from called the track "Eminem esque"
1302: [06:27:43] <spronk> tbh its not really their fault
1303: [06:27:50] <spronk> i mean, its stock music
1304: [06:27:59] <Colin[pi]> yeah that's kinda dumb
1305: [06:28:13] <spronk> but they should know better than to use stock music that's ridiculously similar
1306: [06:28:32] <irogue_> I agree not their fault, *but* still think after being burned for the same thing before they'd have been extra careful, especially with something specifically titled as being alike
1307: [06:29:14] <Colin[pi]> yeah one would think so
1308: [06:29:54] * wmk has joined #silverstripe
1309: [06:29:59] <spronk> yeah
1310: [06:30:00] <spronk> exactly
1311: [06:30:18] <irogue_> http://www.buzzfeed.com/bradesposito/moms-spaghetti#31qjnqj
1312: [06:30:33] <spronk> anyone got a link to the coldplay one?
1313: [06:31:05] <irogue_> nah, been trying to find it
1314: [06:31:27] <spronk> same :(
1315: [06:37:06] <irogue_> http://www.abc.net.au/news/2007-12-04/nz-nationals-in-coldplay-copyright-stoush/976648
1316: [06:37:10] <irogue_> best i can find
1317: [06:37:12] <irogue_> like 3 seconds of it
1318: [06:37:17] <simon_w|work> "If no timezone is specified in the string input, the time is considered to be in the local timezone."
1319: [06:37:27] <simon_w|work> Fucking Angular, lying as badly as JK
1320: [06:37:45] <irogue_> hahaha
1321: [06:38:24] <simon_w|work> IF IT'S IN THE LOCAL TIMEZONE, WHY ARE YOU ADDING THE UTC OFFSET TO IT??
1322: [06:39:19] <spronk> oh wow that's bad irogue
1323: [06:42:33] <irogue_> spronk: yeah, even with just a few seconds of it, it's practically identical
1324: [06:45:45] <irogue_> ahhh, all the nz politics eminem lyrics on twitter now
1325: [06:45:53] <irogue_> painful and hilarious simultaneously
1326: [06:47:26] <wmk> g'morning(ugt)
1327: [06:48:27] <irogue_> wmk: good evening!
1328: [06:49:17] <wmk> any reactions on that glenn/edwald/julian/kim thingie yesterday?
1329: [06:52:12] * willr has joined #silverstripe
1330: [06:52:29] <irogue_> wmk: plenty of them, haha. https://pbs.twimg.com/media/Bxokj_1CMAMjBDu.jpg:large
1331: [06:53:11] <irogue_> what should i have for dinner?!? got nothing defrosted, probs gonna takeaways
1332: [06:53:15] <simon_w|work> wmk, key takeaways: Don't have Assanage and Dotcom at events
1333: [06:53:26] <simon_w|work> irogue_, cake!
1334: [06:53:31] <wmk> hi willr, could you please comment https://github.com/silverstripe/silverstripe-subsites/issues/159 if it's ok or not? if yes i can make a PM
1335: [06:54:27] <irogue_> wmk: yeah, what simon_w|work said. Snowden and Greenwald were good (tho Greenwald could've compressed it a bit)
1336: [06:54:47] <wmk> i've seen greenwald and snowden.
1337: [06:55:10] <wmk> i don't know if i should like kim or not, as he's a former german and has a kind of doubtful history
1338: [06:55:21] <wmk> just stories i've heard...
1339: [06:55:46] <irogue_> oh yeah, kim is... "interesting"
1340: [06:55:54] <spronk> dotocm is a fucking joke
1341: [06:56:27] * willr quit (Ping timeout: 245 seconds)
1342: [06:56:30] <irogue_> i can't stand him personally, but at the same time want him to win his court cases. so a weird position.
1343: [06:56:34] <wmk> spronk, dotOCM is a funny typo ;)
1344: [06:57:01] <spronk> yeah
1345: [06:57:07] <spronk> im super conflicted about it
1346: [06:57:17] <spronk> because megaupload was cleaaaarly complicit in copyright infringement
1347: [06:57:27] <spronk> and they knew exactly what it was being used for
1348: [06:57:36] <spronk> + i would wager probably set it up with those intentions from the start
1349: [06:57:52] <jordank> hey guys, is it possible in a loop in a template to output the 'contents' of the current item
1350: [06:57:54] <spronk> but in the same breath, they gained some legitimate business, and got taken down without proper process
1351: [06:57:57] <jordank> almost like a $this
1352: [06:58:01] <spronk> hmm
1353: [06:58:03] <spronk> you can do like
1354: [06:58:03] <simon_w|work> jordank, $Me
1355: [06:58:04] <spronk> $Debug
1356: [06:58:20] <irogue_> spronk: yep, ended up with quite a lot of legit business, I think they started off being dodgy and got more legit as they went along.
1357: [06:58:55] <simon_w|work> spronk, they should've been taken down solely for the design of the site :p
1358: [06:59:09] <spronk> lol
1359: [06:59:46] <jordank> hmm, not quite working how i want. i'll show you the ArrayList and how i'm trying to output it
1360: [07:00:54] <irogue_> simon_w|work: bahaha. on the other hand, mega is really nice
1361: [07:01:08] <simon_w|work> irogue_, I don't know. I never got past the loading screen
1362: [07:01:12] <jordank> simon_w, spronk: here's the data being passed to the template: http://pastebin.com/dz33vgnh
1363: [07:01:42] <simon_w|work> jordank, the nested arrays need to be ArrayData and ArrayList
1364: [07:01:44] <irogue_> simon_w|work: loading screen takes about a second for me :P
1365: [07:01:47] * ben_w quit ()
1366: [07:02:22] <jordank> and here's how i'm trying to output it: http://pastebin.com/eT2EY2wT
1367: [07:02:25] <simon_w|work> irogue_, doesn't on first load, and that's when I gave up
1368: [07:02:28] <irogue_> I got about 9-10 MB/s downloads from mega on my 100Mbps fibre
1369: [07:02:33] <jordank> simon_w ah yeah of course
1370: [07:02:59] <irogue_> simon_w|work: ah yep. it sticks lots of shit in localstorage to make future loads fast. it should probably make that clearer.
1371: [07:04:04] <irogue_> am using MEGAsync instead of dropbox now, since the Dropbox software is so fucking slooooow and buggy
1372: [07:04:34] <simon_w|work> Oh, this partially explains why Angular is so crap. We're on 1.0.6
1373: [07:04:36] <jordank> simon_w: yep working now, thanks
1374: [07:04:57] <irogue_> simon_w|work: whoa there, old much?
1375: [07:05:15] <simon_w|work> irogue_, yeah :( Apparently 1.1/2/3 break some of our stuff
1376: [07:05:21] <simon_w|work> So is taking a while to upgrade
1377: [07:05:30] * willr has joined #silverstripe
1378: [07:06:10] <irogue_> hmm
1379: [07:06:11] <irogue_> y'know
1380: [07:06:51] <irogue_> I've lived in South Auckland for a couple of months now, and haven't been to KFC during that time. That just seems weird.
1381: [07:06:54] <irogue_> I should get KFC
1382: [07:07:47] <simon_w|work> Oh, it looks like this doesn't work because 2 way data bindings don't work through filters D:
1383: [07:08:05] <simon_w|work> SIMON SMASH
1384: [07:11:33] * Guits has joined #silverstripe
1385: [07:15:39] * MrGuits has joined #silverstripe
1386: [07:15:40] * Guits quit (Read error: Connection reset by peer)
1387: [07:23:33] <spronk> o_O
1388: [07:23:36] <spronk> angular?
1389: [07:23:48] <spronk> irogue_, fuck yeah KFC
1390: [07:23:56] <spronk> i haven't had some greasy chicken in ages
1391: [07:24:43] <irogue_> exactly! and it's basically the staple food around these parts, so it's crazy I haven't had it since moving here!
1392: [07:27:10] <irogue_> brb kfc
1393: [07:27:45] <spronk> :D
1394: [07:28:19] <Kingy> https://www.dropbox.com/s/9cfg45j6oidxh1d/Screenshot%202014-09-16%2019.28.14.PNG?dl=0
1395: [07:28:23] <Kingy> gotta love UFB
1396: [07:28:55] <spronk> :'(
1397: [07:29:12] <spronk> the best internet connection that i can get here
1398: [07:29:12] <spronk> is 4g.
1399: [07:29:20] <Kingy> ouch hah
1400: [07:29:29] <spronk> the best internet connection with a usable data allowance is 10mbit adsl2
1401: [07:30:06] <simon_w|work> Bloody Angular is more frustrating than Smarty
1402: [07:30:10] <simon_w|work> At least it's home time!
1403: [07:45:21] * stnvh has joined #silverstripe
1404: [07:52:23] * BetterBert has joined #silverstripe
1405: [07:53:07] <BetterBert> I've encountered something that looks very strange when using the database abstraction SQLQuery(). Can someone please shed some light...
1406: [07:53:17] <BetterBert> $q = new SQLQuery();
1407: [07:53:18] <BetterBert> $q->setFrom( "SiteTree_Live" );
1408: [07:53:18] <BetterBert> $q->addLeftJoin( 'BlogPost_Categories', "BlogPost_Categories.BlogPostID = SiteTree_Live.ID" );
1409: [07:53:18] <BetterBert> $q->addLeftJoin( 'BlogCategory', "BlogPost_Categories.BlogCategoryID = BlogCategory.ID" );
1410: [07:53:18] <BetterBert> $q->addWhere( "SiteTree_Live.ClassName = 'BlogPost'" );
1411: [07:53:18] <BetterBert> $q->addWhere( "BlogCategory.Title = 'Review'" );
1412: [07:54:37] <BetterBert> Creates an SQL query that throws an error because the join table names are delimited. What am I missing: DB config, SQLQuery method... very strange that the abstraction produces an error with soemthing so straight forward?
1413: [07:56:57] <wmk> rofl... www.ruthe.de
1414: [07:57:00] <wmk> so true, so true....
1415: [07:57:31] <spronk> hmm
1416: [07:57:38] <spronk> thanks, and your wlan-password
1417: [07:57:42] <spronk> .....something i don't understand
1418: [07:57:45] <spronk> all big ?
1419: [07:58:11] <wmk> INSTEADOFWORKINGI'MA****JUSTHANGINGAROUNDHEREALLTHETIME
1420: [08:01:00] <BetterBert> I can get around the problem by completing the above query in raw form, but I a project constraint that I'm devleoping in MySQL and deploying into MSSql is pushing me towards the SQLQuery approach, unless someone has a better suggestion
1421: [08:04:30] <irogue_> BetterBert: that query doesmt look very complex - any reason you're not just using the ORM?
1422: [08:06:01] <irogue_> BetterBert: but to directly answer your question, you might need to quote each side each side of the delimiter - e.g. '"BlogPost_Categories"."BlogCategoryID" = "BlogCategory"."ID"'
1423: [08:06:19] <wmk> BetterBert, without knowing the structure it's hard to help.
1424: [08:06:21] <BetterBert> Honestly, I'm new to SS and I haven't been having any joy getting the ORM to return records pulled from multiple tables... so reverting to an approach I'm more familiar with... :(
1425: [08:06:28] <wmk> is blogpost 1:n or m:n category?
1426: [08:06:56] <BetterBert> m:n
1427: [08:07:16] <wmk> grab the Category and do $Category->BlogPosts()
1428: [08:07:28] <wmk> depending on the relation name
1429: [08:07:45] <wmk> m:n is a little bit trickier at the beginning
1430: [08:08:12] * UncleCheese has joined #silverstripe
1431: [08:08:27] <wmk> don't ask for "all posts with this categoryy title" but ask the right category to show all related posts
1432: [08:08:33] <wmk> hey UncleCheese
1433: [08:08:38] <UncleCheese> hi
1434: [08:08:59] <BetterBert> Category and do $Category->BlogPosts(). Gonna have to drill down into that...
1435: [08:09:09] <BetterBert> Doubtless I'll be back but thanks for the pointer :)
1436: [08:10:41] <wmk> BetterBert, you're welcome
1437: [08:10:55] <wmk> if you feed us with information we're happy to help you ;)
1438: [08:11:08] <wmk> (and we know we need your help one day!)
1439: [08:11:41] <irogue_> BetterBert: if you know the Category's ID, you can do Categories::get_by_id(x)->BlogPosts()
1440: [08:11:53] <irogue_> uh
1441: [08:12:12] <irogue_> BlogCategory::get_by_id(x)->BlogPosts() rather
1442: [08:13:04] <wmk> which only works if the category exists.
1443: [08:13:18] <wmk> ok, put it in a try - catch
1444: [08:14:33] * kinglozzer has joined #silverstripe
1445: [08:18:37] <BetterBert> Where does the ->BlogPosts() method come from. This doesn't exist on the BlogPost model/controller...
1446: [08:18:44] <BetterBert> ORM magic makes it?
1447: [08:19:15] <wmk> yup
1448: [08:20:06] <wmk> if you have e.g. $db = array('SomeField' => 'VarChar') you can call $this->SomeField to get the field / the value
1449: [08:20:12] <wmk> some getter magic
1450: [08:20:39] <wmk> BetterBert, you've read the tutorials? http://doc.silverstripe.org/framework/en/tutorials/
1451: [08:21:44] <irogue_> $Category = BlogCategory::get_by_id(x); $BlogPosts = $Category->exists() ? $Category->BlogPosts() : false;
1452: [08:21:52] <irogue_> ^ wmk, that should avoid the need to try/catch
1453: [08:22:27] <wmk> irogue_, yup. sadly we cannot just daisy chain :(
1454: [08:22:50] <wmk> if category is inexistent it'd throw an awful error
1455: [08:23:19] <wmk> irogue_, isn't it BlogCategory::get()->byID(x) in SS3 ?
1456: [08:23:25] <wmk> afaik get_by_id is deprecated
1457: [08:23:59] <BetterBert> Yeah, read through all the tutorials. Still banging head off learning curve wall, doubtless there is a lightbulb moment just around the corner. Til then your help is greatly appreciated
1458: [08:24:11] <wmk> BetterBert, ok
1459: [08:24:13] <irogue_> wmk: yeah, I think ->byID(x) is the preferred way now, but I'm still used to get_by_id, and afaik it's not deprecated yet
1460: [08:25:41] <wmk> irogue_, you're absolutely right. not marked as deprecated.
1461: [08:28:35] <BetterBert> Executing $category = BlogCategory::get()->byID(5) should produce a query visible when showqueries=1 is in the url right?
1462: [08:29:13] <BetterBert> Disregard that question. Dumbass needed to flush
1463: [08:29:45] <BetterBert> :$
1464: [08:30:43] <irogue_> BetterBert: http://fc03.deviantart.net/fs18/f/2007/187/2/1/SilverStripe_WallPaper_01_by_will_rossi.jpg
1465: [08:31:14] <Pyxilixk> Ah, thanks irogue_ :>
1466: [08:31:18] <Pyxilixk> Been meaning to find that xD
1467: [08:31:27] <BetterBert> lol as I set as wallpaper
1468: [08:31:48] * Colin[pi] quit (Ping timeout: 260 seconds)
1469: [08:32:15] * CodeTrap1 quit (Remote host closed the connection)
1470: [08:32:25] * CodeTrap has joined #silverstripe
1471: [08:32:34] <irogue_> someone needs to make a modern version, with the current logo and higher res
1472: [08:32:48] <Pyxilixk> Yeh, prolly
1473: [08:35:23] * eagles0513875 quit (Changing host)
1474: [08:35:23] * eagles0513875 has joined #silverstripe
1475: [08:35:23] * eagles0513875 quit (Changing host)
1476: [08:35:23] * eagles0513875 has joined #silverstripe
1477: [08:35:32] <Pyxilixk> [09:18] <BetterBert> Where does the ->BlogPosts() method come from. This doesn't exist on the BlogPost model/controller...
1478: [08:35:35] <Pyxilixk> __get()
1479: [08:35:40] <Pyxilixk> __call()
1480: [08:35:47] <irogue_> aka magic! *jazzhands*
1481: [08:35:52] * Kingy is now known as Kingy[a]
1482: [08:35:59] <Pyxilixk> sparkle fingers
1483: [08:37:36] * zippy has joined #silverstripe
1484: [08:38:41] * UncleCheese quit (Ping timeout: 272 seconds)
1485: [08:38:49] <Pyxilixk> irogue_: ah, it was spirit fingers http://www.youtube.com/watch?v=RTSkvAabm0k
1486: [08:38:51] <irogue_> wish there was a checkbox for "take over all of the things" when connecting to the vpn
1487: [08:39:04] <irogue_> there's a setting, but it's deep down
1488: [08:39:25] <Pyxilixk> I bet you say that to all the boys.
1489: [08:44:37] <wmk> irogue_, are there more wallpapers like this?
1490: [08:44:47] <zippy> jazz hands!
1491: [08:46:06] <irogue_> wmk: no, that's just one that willr did many years ago
1492: [08:46:07] <wmk> jazz hands = facepalm ??
1493: [08:46:32] <irogue_> July 6, 2007
1494: [08:46:32] <wmk> irogue_, thanks for the info. need to print it out ;)
1495: [08:46:40] <wmk> oh, some long time ago
1496: [08:46:40] <Pyxilixk> wmk: no, jazz hands = spirit fingers
1497: [08:46:58] <Pyxilixk> or... near enough.
1498: [08:47:10] <Pyxilixk> wmk: yeah, 2.3 I think. See the logo is old :>
1499: [08:47:37] <wmk> 2.3 was still in 2009, i guess more 2.2 ??
1500: [08:47:43] * simon_w has joined #silverstripe
1501: [08:47:48] <Pyxilixk> yeh probably
1502: [08:48:03] * Otterpocket has joined #silverstripe
1503: [08:48:19] <wmk> at least some time before i stumbled over ss thanks to ingo's book
1504: [08:48:43] * spronk2 has joined #silverstripe
1505: [08:49:02] <Otterpocket> Hi, What is the most efficent way to get all the dataobjects of my many_many relationship ?
1506: [08:49:22] <Pyxilixk> $yourobject->RelationName()
1507: [08:49:52] <irogue_> actually, 2.0.1 was the stable version at that point!
1508: [08:49:59] <Pyxilixk> ha, wows
1509: [08:50:08] <Pyxilixk> Before I started with SS
1510: [08:51:27] <Otterpocket> Pyxilixk: Thanks
1511: [08:51:37] <irogue_> 2.2.3 was my first version
1512: [08:51:54] <irogue_> which came out 31 Oct 2008
1513: [08:52:58] <Pyxilixk> irogue_: hmm, I thought I started with 2.2, but maybe not.
1514: [08:53:11] <Pyxilixk> oh, actually nah that'd about fit the timeline
1515: [08:53:17] <Pyxilixk> probably same version :>
1516: [08:53:27] <Pyxilixk> It royally confused me :<
1517: [08:54:06] <Pyxilixk> But I wanted a sexy template language, and there weren't ANY projects around at the time that had one (well, there was a commercial commerce software that I'd used, thus why I was looking for one).
1518: [08:54:12] <irogue_> yeah, I started working at digiCreative in July 2008, and got sick of trying to maintain a crappy inhouse RoR CMS a few months later :P
1519: [08:54:46] <Pyxilixk> I didn't get the point of templates at all when I first used that (2003), but when I had to go back to php, suddenly it made more sense, lol.
1520: [08:54:49] <wmk> hehe, my first ss site is still online, still using 2.3
1521: [08:55:05] <Pyxilixk> so when on my own, found smarty, was all 'dafuq php with weird syntax'
1522: [08:55:06] <irogue_> don't say that around ss23, he'll hack it :P
1523: [08:55:29] <irogue_> ah yes, smarty. simon_w's fav!
1524: [08:55:35] <Pyxilixk> D:
1525: [08:55:40] <wmk> irogue, 2.3 is hackable?
1526: [08:56:17] <Pyxilixk> lots of things are. eg. Just about anything running the events_calendar module on 2.x
1527: [08:56:33] <irogue_> wmk: highly likely, there have been a few big security holes found in the last few years, and only 2.4 and 3.x were patched (because 2.3 was way out of support)
1528: [08:56:34] <Pyxilixk> SQLI ALL THE THINGS VIA URL GET PARAMS
1529: [08:56:54] <wmk> oh. event calendar is bad
1530: [08:57:00] <Pyxilixk> so, SO bad.
1531: [08:57:25] <wmk> fortunately now we have an easier way of updating using composer
1532: [08:57:43] <wmk> though someone complained these days the update from 3.1.5 to 3.1.6 breaks things for him
1533: [08:58:26] * Shrike_Finland quit (Quit: Leaving.)
1534: [08:58:48] <irogue_> 3.1.6 had a lot of bugfixes but barely any API Changes, so it's surprising that something broke
1535: [08:58:54] <irogue_> unless the behaviour he expected was a bug :P
1536: [08:59:56] <irogue_> 3.2, however
1537: [09:00:00] <irogue_> that will break a lot of things :P
1538: [09:00:50] <wmk> irogue_, dunno, i guessed he expeced something buggy and he claimed that others wrote issues about it.
1539: [09:01:09] <wmk> and that the update 3.x -> 3.(x+1) may break something is very natural
1540: [09:02:19] <irogue_> yes, although 3.0 to 3.1 was mostly easy, just needed to change visibility of statics and functions
1541: [09:02:29] <wmk> but it was a break
1542: [09:03:00] <wmk> but hey. there is an updatescript for that,
1543: [09:03:08] <wmk> i guess it'll be extended for 3.1 -> 3.2
1544: [09:05:55] * pippy quit (Ping timeout: 246 seconds)
1545: [09:07:11] * MrGuits quit (Ping timeout: 272 seconds)
1546: [09:07:31] * UncleCheese has joined #silverstripe
1547: [09:07:53] * zfmf has joined #silverstripe
1548: [09:09:02] <Pyxilixk> wmk: yeah, anything that uses sqlquery will suddenly bork.
1549: [09:10:07] <wmk> how that? is sqlquery deprecated or just changing the way it works?
1550: [09:10:12] <irogue_> wmk: whole ORM has been rewritten
1551: [09:10:37] <wmk> oh, fine. hope it's not breaking 3.1 orm again
1552: [09:10:50] <irogue_> if you use the actual ORM methods, it'll be fine
1553: [09:11:19] <irogue_> but if you're doing the semi-manual stuff with SQLQuery you'll often have to rewrite
1554: [09:11:56] * Tanger quit (Quit: Tanger)
1555: [09:12:31] <irogue_> for the best though, cos SQLQuery was terrible, as Pyxilixk can attest to :P
1556: [09:13:06] <Pyxilixk> yup
1557: [09:13:11] <Pyxilixk> well, not terrible, just a fuck'n mess.
1558: [09:13:33] <wmk> muck'n fess?
1559: [09:13:37] <Pyxilixk> yus.
1560: [09:13:50] <Pyxilixk> irogue_: so whole orm is redone?
1561: [09:14:09] <Pyxilixk> not just extended to PDO?
1562: [09:14:39] <wmk> oh, PDO sounds like a powerful choice
1563: [09:15:36] <irogue_> Pyxilixk: seen the pull request? :P
1564: [09:15:44] <Pyxilixk> irogue_: sorta
1565: [09:15:48] <Pyxilixk> bits and bobs maybe
1566: [09:18:51] <kinglozzer> Man... magento
1567: [09:19:37] <kinglozzer> Want to add a viewport meta tag? Sure
1568: [09:19:39] <kinglozzer> <block type="core/text" name="head.viewport"><action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]>&#10;</text></action></block>
1569: [09:19:44] <kinglozzer> dafuq
1570: [09:19:50] <irogue_> Pyxilixk: https://github.com/silverstripe/silverstripe-framework/pull/1360/files
1571: [09:19:55] <Pyxilixk> xml all the things, and in as many files as possible kinglozzer
1572: [09:19:57] <irogue_> not a complete ORM rewrite, but decent chunks of it
1573: [09:20:40] <Pyxilixk> irogue_: that's the old prepared statements request, right?
1574: [09:20:48] <Pyxilixk> updated about a billion times over 2 years...
1575: [09:21:20] <irogue_> yep lol
1576: [09:21:37] <Pyxilixk> Yeh I've seen it, but don't particularly care enough to go through it
1577: [09:22:05] <irogue_> its the one you shouldnt open if your computer sucks, haha
1578: [09:23:59] <simon_w> It's the one that took me getting a job with a grunty machine to be able to merge
1579: [09:24:11] <irogue_> lol
1580: [09:24:40] <irogue_> simon_w: noticed damo's commits dropping drastically?
1581: [09:24:54] <irogue_> he dropped to *third* on the dashboard!
1582: [09:25:13] <simon_w> irogue_, yup. He got hired by a company that's not to hot on contributing back to the community
1583: [09:25:33] <irogue_> lol
1584: [09:25:38] <irogue_> i mean in the short term
1585: [09:26:41] <irogue_> got lent to the ss.org team, went from top to third in the space of a week :P
1586: [09:27:30] * gordon has joined #silverstripe
1587: [09:27:54] * gordon is now known as Guest10067
1588: [09:31:39] * micmania1 has joined #silverstripe
1589: [09:32:08] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1590: [09:32:39] <micmania1> Can anybody explain how this Before/After stuff works in yml?
1591: [09:33:40] <wmk> you tell yml stuff where to parse your yml piece
1592: [09:34:06] <wmk> after overwrites existing values, before tells it to be default values that may be overwritten somewhere else
1593: [09:34:31] <kinglozzer> micmania1: Very badly
1594: [09:34:34] <kinglozzer> :P
1595: [09:34:47] <micmania1> does 'after' mean this block comes after or does it mean these rules come after?
1596: [09:35:05] * Guest10067 is now known as elgrodo
1597: [09:35:05] <micmania1> I think its broke.
1598: [09:35:23] <micmania1> Basically, i'm using framework only and triyng to get routing setup.
1599: [09:35:51] <micmania1> If you copy the 'modelascontrollerroutes' blcok from the cms it works perfectly. If you change its name it breaks.
1600: [09:36:08] <wmk> micmania1, see http://sspaste.com/paste/show/5417ffa88f414 for a simple fluent yml
1601: [09:36:10] <kinglozzer> micmania1: Yep, had that before, the "Name" has to be identical or it can't insert it after
1602: [09:36:14] <micmania1> https://github.com/silverstripe/silverstripe-framework/blob/master/_config/routes.yml#L13 - cms stuff in the framework.
1603: [09:36:22] <elgrodo> I'm trying to set up a cycling route website and I want people to be able to log in to the CMS and contribute. Ideally I want contributers to 1) Create new material 2) Edit their own material
1604: [09:36:58] <elgrodo> the 2nd is where I am having a problem. If I add a check for the creator ID for the page to be the same as the owner it will fail, as canEdit recursively searches up the tree
1605: [09:37:10] <elgrodo> ie the contributor would have had to create the parent, the grandparent etc
1606: [09:38:20] <micmania1> wmk: in you example, would defualt_locale be 'de_DE'?
1607: [09:39:04] <wmk> i overwrite the value fluent provides
1608: [09:39:15] <wmk> yes, i18n.default_locale is de_DE
1609: [09:39:26] <wmk> fluent somehow has nz defaults which i don't need
1610: [09:39:47] <wmk> so i tell this chunk of yml to be "executed" after fluents basic config
1611: [09:39:55] <kinglozzer> micmania1: What're you trying to do? I wanted the route: '$Identifier/$Param1': 'ArticleController' so I could have http://mysite.com/some-article-name before, had to name the block "rootroutes" to match framework or it couldn't merge the two blocks
1612: [09:39:58] <micmania1> yeah, I think I understand it, but I think the routing is broke for framework
1613: [09:40:20] <micmania1> I just want '': 'MyController' and '$Action': 'MyController' to come after all the admin stuff
1614: [09:40:29] <micmania1> in the same order that ModelAsController comes
1615: [09:40:45] <micmania1> The only thing is I think ModalAsController only works because its hardcoded into the framework.
1616: [09:40:49] <kinglozzer> micmania1: Yeah that's what I wanted, name the block "rootroutes" and remove the "after" bit
1617: [09:41:28] <kinglozzer> i.e. https://gist.github.com/kinglozzer/5122492b3d1483946015
1618: [09:41:49] <kinglozzer> I tried /everything/ to use after etc correctly
1619: [09:42:25] <micmania1> WIN!
1620: [09:42:26] <micmania1> Cheers
1621: [09:43:05] <kinglozzer> No problem, I remember spending hours trying to get it to work!
1622: [09:46:04] * simon_w quit (Quit: Ping timeout: your mum)
1623: [09:46:46] <micmania1> kinglozzer: you ever used the same code with the cms?
1624: [09:46:57] <kinglozzer> Nope, never tried
1625: [09:47:46] <micmania1> I have a feeling ModelAsController would win :(
1626: [09:54:22] <kinglozzer> micmania1: Even if it didn't, it'd probably render the CMS useless
1627: [09:54:48] <kinglozzer> Unless your controller route matches it exactly, and just passes it off to ModelAsController if you're "not interested" in the request
1628: [09:54:50] <kinglozzer> Have you tried it?
1629: [09:55:12] <micmania1> I haven't got the cms installed yet.
1630: [09:55:25] <micmania1> I'm making something framework only but I want the CMS to work too.
1631: [10:05:10] <zippy> elgrodo: Set your own column?
1632: [10:05:42] <elgrodo> zippy: What do you mean by that?
1633: [10:06:54] * simon_w has joined #silverstripe
1634: [10:16:59] * willr quit (Quit: willr)
1635: [10:21:14] * zfmf quit (Remote host closed the connection)
1636: [10:25:48] * zfmf has joined #silverstripe
1637: [10:26:23] * hubertusanton_ quit (Remote host closed the connection)
1638: [10:27:56] <wmk> elgrodo, i guess zippy meant you need another field to check the user who generated the dataobject
1639: [10:30:43] <Pyxilixk> micmania1: I've not had issues with routing in the past
1640: [10:30:48] <Pyxilixk> what are you doing to mad?
1641: [10:30:51] <Pyxilixk> so*
1642: [10:30:58] <Pyxilixk> madly
1643: [10:31:17] <micmania1> Using '' and '$URLSegment'
1644: [10:31:39] <micmania1> which *was* overriding things like /dev /admin /security etc
1645: [10:34:04] * zfmf quit (Ping timeout: 260 seconds)
1646: [10:34:41] <elgrodo> wmk,zippy: Yip I've done that and made it into a module
1647: [10:35:27] * zfmf has joined #silverstripe
1648: [10:35:57] <wmk> micmania1, but if your controller returns false it should go to the next possible controller and /dev/ /admin/ etc. should work again
1649: [10:36:24] <micmania1> nah, because it always matches '$Action' or '' (root)
1650: [10:36:40] <micmania1> and they were being shunted to the top as highest priority
1651: [10:36:46] <micmania1> I figured it out anyway
1652: [10:36:50] <irogue_> oh oh
1653: [10:36:51] <micmania1> well, kinglozzer did.
1654: [10:36:55] <irogue_> this came up at the auckland meetup the other day
1655: [10:36:58] <wmk> ;)
1656: [10:37:00] <irogue_> wonder if danae's slides are online
1657: [10:37:09] <micmania1> the before/after stuff?
1658: [10:37:28] <irogue_> micmania1: oh, swt then. cos at the meetup this exact issue was covered :P
1659: [10:37:35] <irogue_> at the 'how to yaml' thing
1660: [10:38:09] <micmania1> Its made of match sticks.
1661: [10:39:32] <irogue_> micmania1: yes, and specifically how to avoid issues with overriding /dev and /admin
1662: [10:40:25] <micmania1> I copied the ModelAsController stuff from the CMS at first.
1663: [10:40:36] <micmania1> Worked fine. As soon as I changed the yaml block name it fell apart
1664: [10:43:32] * zfmf quit (Ping timeout: 245 seconds)
1665: [10:44:07] <micmania1> The docs are pretty awful for it. It gives you a link to the framework yaml and a link to the cms yaml and says go work it out.
1666: [10:44:54] <micmania1> http://doc.silverstripe.org/framework/en/reference/director#routing-rules
1667: [10:45:14] * zfmf has joined #silverstripe
1668: [10:54:52] <Zauberfisch> again, time to do some advertisement:
1669: [10:54:58] <Zauberfisch> silverstripe europe meetup
1670: [10:55:06] <Zauberfisch> you all should sign up
1671: [10:55:11] <Zauberfisch> 3rd+4th october
1672: [10:56:19] <Pyxilixk> [11:44] <micmania1> The docs are pretty awful for it.
1673: [10:56:29] <Pyxilixk> Sweeping statement that covers all of the things
1674: [10:57:03] <Pyxilixk> Zauberfisch: well I could sign up... but just like irogue_ & micmania1 - it's rather unlikely I'll be there :<
1675: [10:57:26] <micmania1> LIES!
1676: [10:57:34] <Pyxilixk> You'll be there micmania1?
1677: [10:57:54] <micmania1> I'm going in my rowing boat which I don't own yet.
1678: [10:58:11] <Pyxilixk> http://www.montulli.org/theoriginofthe%3Cblink%3Etag
1679: [10:58:36] * zfmf quit (Ping timeout: 246 seconds)
1680: [10:58:46] * Colin[pi] has joined #silverstripe
1681: [10:59:59] * zfmf has joined #silverstripe
1682: [11:02:10] <micmania1> Zauberfisch: you got many signed up yet?
1683: [11:02:47] * zfmf quit (Remote host closed the connection)
1684: [11:03:02] * zfmf has joined #silverstripe
1685: [11:05:10] <kinglozzer> Lol, just looking through some of my old code
1686: [11:05:14] <kinglozzer> $jsonData = json_decode(json_encode($xmlData)); // How to work with XML
1687: [11:12:05] * BetterBert quit (Quit: Computer has gone to sleep.)
1688: [11:12:40] * BetterBert has joined #silverstripe
1689: [11:14:40] * Kingy[a] quit (Ping timeout: 260 seconds)
1690: [11:17:34] * Kingy[a] has joined #silverstripe
1691: [11:17:48] * ss31noob has joined #silverstripe
1692: [11:19:32] <micmania1> Bed time!
1693: [11:21:54] * irogue_ quit ()
1694: [11:23:59] <ss31noob> hi guys.. have a question.. i have a decorator that adds a gridfield of a dataobject for a page.. how can i get the pageid from the dataobject that is added in that decorator? so whenever i add something.. i can also log the pageid for that dataobject..
1695: [11:24:00] * Colin[pi] quit (Ping timeout: 272 seconds)
1696: [11:26:14] * Kingy[a] quit (Ping timeout: 250 seconds)
1697: [11:26:24] <terryapodaca> I don't think there is a pageid for dataobjects
1698: [11:27:30] <ss31noob> yeah.. but i just want to get the pageid where that dataobject has been created
1699: [11:27:32] <ss31noob> is it possible?
1700: [11:27:49] <terryapodaca> at least none of my DOs have pageids until you add a relation to a page on your sitetree
1701: [11:28:12] <terryapodaca> then you just look at your db to see what page it's associated (relationship) to
1702: [11:28:50] <terryapodaca> or you can simply mouse over the page in your sitetree and you should see the pageid
1703: [11:29:03] <terryapodaca> admin/pages/edit/show/6
1704: [11:29:22] <terryapodaca> pages -> edit -> show page id 6
1705: [11:29:41] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1706: [11:30:44] <terryapodaca> do you have your relations set up? has_one, has_many, etc?
1707: [11:32:47] <wmk> ss31noob, from inside the decorator you can use $this->owner->Field to get the owners field.
1708: [11:33:05] <wmk> even in the decorator defined fields / relations have to be accessed via $this->owner->...
1709: [11:34:04] <terryapodaca> do you still need to use owner?
1710: [11:34:05] <wmk> hey Zauberfisch, has this been in Linz? www.ruthe.de
1711: [11:34:10] <terryapodaca> I thought that wasn't needed any more
1712: [11:34:11] <wmk> terryapodaca, oh yes.
1713: [11:34:23] <wmk> threw some errors last week
1714: [11:34:32] <terryapodaca> good to know
1715: [11:34:40] <wmk> $this is the decorator class. $this->owner is the decorated class
1716: [11:35:15] <wmk> terryapodaca, i don't see any get magic in DataExtension class
1717: [11:35:32] <wmk> you can define $db, $has_one etc. directly as static variables.
1718: [11:35:51] <wmk> though sometimes it's better to use the method, e.g. updateSummaryFields
1719: [11:35:59] <wmk> less buggy with summary fields
1720: [11:36:47] <terryapodaca> makes sense
1721: [11:37:52] <wmk> well, when it's written you can define all static fields directly in your extension you try to define summary_fields there
1722: [11:38:04] <wmk> and you get the defined field twice.
1723: [11:38:10] * Kingy[a] has joined #silverstripe
1724: [11:38:14] <wmk> if you use updateSummaryFields() it works
1725: [11:41:29] <terryapodaca> wmk, you any good at debugging SearchContext?
1726: [11:41:55] <wmk> as good as xdebug is
1727: [11:42:14] <wmk> though, searchcontext != summary fields
1728: [11:42:35] <wmk> depends... what are you trying to do?
1729: [11:43:35] <terryapodaca> I've got a Show (as in stockshow - Livestock) DataObject that needs to be searchable, but I can't get the searchcontext to work on it
1730: [11:43:54] <terryapodaca> http://www.sspaste.com/paste/show/541742e25b982 is the DO
1731: [11:44:34] <terryapodaca> http://www.sspaste.com/paste/show/541743145611b is the code in the Page.php where I show the search form, which is the three dropdowns we worked on the other night/day
1732: [11:45:12] <Zauberfisch> madmatt: 30 signups so far
1733: [11:45:18] <Zauberfisch> madmatt: sorry, wrong person
1734: [11:46:06] <wmk> Zauberfisch, any ideas with searchcontext? terryapodaca needs some help
1735: [11:46:07] <terryapodaca> wmk: and I went off the Docs: http://doc.silverstripe.org/framework/en/reference/searchcontext to build the CustomSearchContext
1736: [11:46:28] <Zauberfisch> never used searchcontext
1737: [11:46:36] <wmk> i bet me neither
1738: [11:46:44] <wmk> but terryapodaca maybe we find something
1739: [11:46:58] <terryapodaca> any help would of course help
1740: [11:47:00] <terryapodaca> :D
1741: [11:47:11] <Pyxilixk> help to help?
1742: [11:47:19] <wmk> maybe ...
1743: [11:47:24] <wmk> so terryapodaca where's the problem?
1744: [11:47:41] <Pyxilixk> Zauberfisch: cool, that's a fair number :D
1745: [11:47:49] <Zauberfisch> Pyxilixk: indeed
1746: [11:48:00] <Zauberfisch> I am pretty happe with that number
1747: [11:48:12] <Zauberfisch> I think anything above 20 is not a failure anymore
1748: [11:48:15] <Zauberfisch> so all is good
1749: [11:48:24] <Pyxilixk> terryapodaca: searchcontext is basically just a form scaffolder.
1750: [11:48:31] * vebb quit (Quit: braaaain)
1751: [11:48:58] <terryapodaca> when I submit the form, it just reloads the form again, I used debug::show($data) and it doesn't even seem to get into doSearchResults
1752: [11:50:02] <wmk> Zauberfisch, http://www.meetup.com/SilverStripe-Austria/#calendar why isn't the meetup in the silverstripe-austria calendar?
1753: [11:53:44] <wmk> terryapodaca, is it possible you need doSearchResults() in your allowed actions?
1754: [11:54:11] <terryapodaca> I have it there now...still doesn't work
1755: [11:54:24] <wmk> it calles the right action?
1756: [11:54:52] <terryapodaca> I'm thinking about tearing it down and rebuilding it from scratch and see if I just have syntax wrong somewhere, or something misspelled.
1757: [11:55:04] <wmk> hard to tell without running the code. how about throwing on xdebug?
1758: [11:55:15] <terryapodaca> at first I thought the filters wwere wrong
1759: [11:55:43] <terryapodaca> I've never used xdebug :(
1760: [11:55:59] <wmk> terryapodaca, WT...
1761: [11:56:20] <wmk> ok. you have time this afternoon?
1762: [11:56:41] <wmk> it depends on your current setup if it's easy or not to use xdebug.
1763: [11:56:46] <terryapodaca> I should...I have to get this done in the next couple days.
1764: [11:56:54] <terryapodaca> it's only 7am for me
1765: [11:57:49] <Zauberfisch> wmk: idk, I am not that into using meetup.com, but philip already posted a message to the group
1766: [11:57:54] <Zauberfisch> so it should be fine
1767: [11:58:28] <wmk> just got confused when i was on meetup...
1768: [11:58:52] <terryapodaca> State Fair of Texas starts in 10 days, so this is pretty critical at this point...but should be fine if it works soon
1769: [12:01:59] <wmk> Pyxilixk, Zauberfisch quick question: does _ss_environment SS_DEFAULT_ADMIN overwrite db? so if i forgot admin password can i just temporarly set it in the environment file?
1770: [12:02:31] <terryapodaca> you can do that in _config if you still use that file
1771: [12:02:40] <wmk> ah fine.
1772: [12:03:32] <terryapodaca> Security::setDefaultAdmin('admin','password');
1773: [12:06:36] <wmk> in 2.4 also?
1774: [12:07:47] <terryapodaca> yes
1775: [12:08:06] * CodeTrap quit (Remote host closed the connection)
1776: [12:08:16] * CodeTrap has joined #silverstripe
1777: [12:13:52] * vebb has joined #silverstripe
1778: [12:19:20] * ocmnt has joined #silverstripe
1779: [12:19:28] <ocmnt> howdy
1780: [12:22:33] <wmk> hey ocmnt
1781: [12:23:09] <terryapodaca> wow, I didn't realize it was after midnight in NZ, no wonder none of them are online
1782: [12:23:23] <ss23> Some of us have to stay up because server ugprades are happening
1783: [12:23:24] <ss23> :(
1784: [12:23:39] <terryapodaca> sorry ss23:
1785: [12:23:54] <wmk> ocmnt, http://logs.simon.geek.nz/index.php?date=2014-09-16#log_1402874 *G*
1786: [12:24:01] <Pyxilixk> wmk: no.
1787: [12:24:17] <Pyxilixk> "does _ss_environment SS_DEFAULT_ADMIN overwrite db?"
1788: [12:24:22] <Pyxilixk> Nope.
1789: [12:24:23] <wmk> Pyxilixk, just had a telephone help session with a friend who has an old installation.
1790: [12:24:43] <wmk> Pyxilixk, not overwrite, but it adds another admin to login dynamically, doesn't it?
1791: [12:24:43] <terryapodaca> hopefully what I recommended helped
1792: [12:24:54] <wmk> terryapodaca, well.... a bit
1793: [12:24:57] <Pyxilixk> wmk: no, it uses find or create.
1794: [12:25:08] <Pyxilixk> gets the first admin it finds, or makes one if need be.
1795: [12:25:16] <Pyxilixk> so mostly no, but maybe yes.
1796: [12:25:27] <wmk> if he can login again
1797: [12:25:32] <Pyxilixk> and old versions, yeah you need to use _config.php in 2.x
1798: [12:25:57] <terryapodaca> just remember to remove it so someone can't hack in later
1799: [12:25:59] <wmk> terryapodaca, on the xdebug thingie: what IDE do you use? a VM or a dedicated test server?
1800: [12:26:06] <Pyxilixk> wmk: if your friend just forgot his password then he can log in and reset it, yeh. Setting that line won't reset it for him.
1801: [12:26:28] <wmk> Pyxilixk, of course. there is the "reset password" link...
1802: [12:26:36] <Pyxilixk> yup
1803: [12:26:38] * wmk throws his head against the table
1804: [12:27:42] <terryapodaca> Pyxilixk: yeah, that _config setting should only be used if there is absolutely no way to log in and you need a quick way to login and change the default admin....then remove the _config setting
1805: [12:27:42] <Pyxilixk> no good if your friend's login is not an email address though (e. the default "admin")
1806: [12:28:02] <wmk> Pyxilixk, yup. that's when the reset link doesn't work somehow
1807: [12:28:18] <terryapodaca> wmk: right now I'm set up on my local machine using xampp
1808: [12:28:21] <Pyxilixk> wmk: not somehow, pretty obvious at that point I'd hope :P
1809: [12:28:34] <wmk> somehow pretty obvious. ys
1810: [12:28:54] <wmk> terryapodaca, locally is ok, so you can install xdebug without problems. you shouldn't install it on a production machine
1811: [12:29:04] <wmk> terryapodaca, do you use an IDE?
1812: [12:29:11] <Pyxilixk> xdebug is a part of xampp
1813: [12:29:19] <wmk> even better
1814: [12:29:31] <terryapodaca> I use notepad++
1815: [12:29:39] <Pyxilixk> high five
1816: [12:29:45] * wmk uses a vagrant setup by a well known ss dev who gives a talk at the @europemeetup
1817: [12:29:55] <Pyxilixk> wmk: you?
1818: [12:29:57] <wmk> with xdebug installed on the box
1819: [12:29:58] <terryapodaca> I really hate IDEs, honestly
1820: [12:30:10] <Pyxilixk> wmk: this chap wouldn't be a magic fish would he?
1821: [12:30:20] <Pyxilixk> terryapodaca: yep.
1822: [12:30:29] <Pyxilixk> I can agree with that, for the most part
1823: [12:30:31] <wmk> at least a non smelling fish
1824: [12:30:55] <wmk> Pyxilixk, ever used phpstorm?
1825: [12:31:00] <Pyxilixk> nup
1826: [12:31:03] <terryapodaca> I only use VS when building MS stuff in C#/ASP.NET, but other than that...
1827: [12:31:16] <terryapodaca> I keep it simple (stupid)
1828: [12:31:17] <wmk> http://www.clickoffline.com/php-development/live-php-debugging-using-xdebug-notepad-and-dbgp-plugin.html
1829: [12:31:35] <Pyxilixk> heh
1830: [12:31:57] <wmk> terryapodaca, some of us here can only recommend using phpstorm (or idea, the bigger brother of storm)
1831: [12:32:04] <wmk> + easy setup for xdebug (really)
1832: [12:32:11] <wmk> ++ silverstripe template plugin
1833: [12:32:44] <wmk> ++ you get used to the "search class / search file" shortcode. /me wants it everywhere
1834: [12:33:21] <terryapodaca> if phpstorm was free, I'd try it
1835: [12:33:34] <wmk> terryapodaca, it seems like you can even debug with notepad++, depends if it's easy to setup or not. dunno
1836: [12:33:43] <wmk> terryapodaca, you can test it for 30 days free
1837: [12:34:10] * NETim quit (Ping timeout: 246 seconds)
1838: [12:41:00] <wmk> do i need a google sitemap for a onepage ?
1839: [12:41:04] * simon_w quit (Quit: Ping timeout: your mum)
1840: [12:42:45] <terryapodaca> no
1841: [12:43:02] <terryapodaca> but most will say you should always have a sitemap for SEO
1842: [12:43:20] <terryapodaca> XDebug...on xampp, it's all commented out.
1843: [12:44:48] <wmk> terryapodaca, you'll have to switch it on
1844: [12:45:03] <wmk> but if it's bundled it should be easy to enable
1845: [12:45:39] <terryapodaca> have no idea how to use it
1846: [12:47:43] <wmk> you've seen the link above 15mins ago?
1847: [12:48:16] * ARNHOE has joined #silverstripe
1848: [12:48:26] <terryapodaca> looking at it now
1849: [12:48:30] <wmk> terryapodaca, or http://lmgtfy.com/?q=notepad%2B%2B+xdebug+howto
1850: [12:49:18] * UndefinedOffset has joined #silverstripe
1851: [12:58:09] <terryapodaca> with xampp, htdocs is the main root, but that holds the main xampp stuff, so if I want xdebug to run on say: /htdocs/sft/
1852: [12:58:31] <terryapodaca> is that what I put in DBGp as the remote/local paths?
1853: [12:58:37] * NETim has joined #silverstripe
1854: [12:58:38] <terryapodaca> or just leave it at htdocs?
1855: [12:58:58] <NETim> morning. Any way of adding a userform to a custom page type?
1856: [13:00:14] <terryapodaca> can you create the userform, then the page it creates should have the $nameOfForm in the Content section
1857: [13:00:27] <terryapodaca> can you use that same variable in other places?
1858: [13:01:17] <NETim> Normally, you add $form (or whatever) to the page content where you want the form to appear. however, the not so clever guy who built the page type didn't extend userform
1859: [13:01:43] <terryapodaca> hmmmm....
1860: [13:01:59] <terryapodaca> how hard would it be for you to extend it for him?
1861: [13:02:19] <NETim> could do. the other option is to just create a custom form in the page type controller.
1862: [13:02:21] <terryapodaca> but then again, you might not want to mess with other code
1863: [13:02:28] <terryapodaca> right
1864: [13:02:59] <terryapodaca> I tend to always write my own forms anyway...because most of my clients don't care so much to build their own forms
1865: [13:03:21] <terryapodaca> I only use the UserForms module if a client likes to create his own forms
1866: [13:03:38] <wmk> re
1867: [13:03:52] <NETim> fair point. was just looking for a quick fix.
1868: [13:04:15] <terryapodaca> that way he's limited to userforms functionality and if he/she needs more complex forms...i get paid to build them ;)
1869: [13:04:26] <NETim> better point
1870: [13:04:47] <wmk> ;)
1871: [13:05:06] <wmk> terryapodaca, local path is the windows path to the document root. e.g. c:\WAMP\www-root
1872: [13:05:30] <terryapodaca> right...which is C:\xampp\htdocs
1873: [13:05:43] <wmk> the remote path is / if your site is on docroot
1874: [13:05:53] <wmk> if you can call it e.g. with localhost
1875: [13:06:10] <terryapodaca> but i have several "installations" of SS for different clients so I add an extra layer like so:
1876: [13:06:22] <terryapodaca> localhost/client/
1877: [13:06:27] <terryapodaca> so it's docroot looks like:
1878: [13:06:43] <terryapodaca> C:\htdocs\client\
1879: [13:06:50] <terryapodaca> make sense?
1880: [13:07:05] <ocmnt> wmk, nice one :')
1881: [13:07:07] <wmk> if it's the docroot, yes
1882: [13:07:11] <wmk> ocmnt, ;)
1883: [13:07:23] <wmk> on the remote site it'll be e.g. localhost/client/
1884: [13:07:34] <terryapodaca> yes.
1885: [13:07:55] <wmk> then your editor should be able to map the remote debug with the source code
1886: [13:07:56] <terryapodaca> so do I add that extra 'layer' in the DBGp config?
1887: [13:08:30] <wmk> terryapodaca, notepad doesn't have projects?
1888: [13:08:45] <wmk> maybe you just can add c\htdocs for local and "localhost" for remote
1889: [13:09:48] <terryapodaca> for instance, if I am debugging client1, instead of C:\xampp\htdocs, do I need to put C:\xampp\htdocs\client1 ?
1890: [13:10:01] <terryapodaca> it does, I'm just too lazy to ever set them up properly
1891: [13:10:09] <wmk> ;)
1892: [13:11:00] <wmk> as you have one super project i geuss you can just put c:\xampp\htdocs and /
1893: [13:11:09] <wmk> s/geuss/guess
1894: [13:11:22] <terryapodaca> also because I despise Visual Studios and try to NOT to conform
1895: [13:11:41] <terryapodaca> ok, I'll just add an entry for each one to make sure
1896: [13:11:46] <terryapodaca> it doesn't hurt anything
1897: [13:11:58] <wmk> try for the current project if it matches
1898: [13:12:23] <wmk> and set a breakpoint in a basic file, e.g mysite/_config.php or framework/main.php
1899: [13:18:58] * ss31noob quit (Ping timeout: 246 seconds)
1900: [13:19:44] <terryapodaca> hmmmm...now localhost/sft/ never fully loads
1901: [13:19:55] <wmk> ?
1902: [13:20:08] <wmk> you've set a breakpoint?
1903: [13:20:18] <wmk> if yes -> go to notepad and watch it
1904: [13:20:23] <wmk> and tell xdebug to proceed
1905: [13:20:34] <terryapodaca> the page loads, but it's spinning, and says Waiting for localhost...
1906: [13:20:36] <wmk> either a step or until the next breakpoint
1907: [13:20:50] <wmk> sounds like xdebug is on a breakpoint
1908: [13:20:53] <wmk> waiting
1909: [13:20:54] <terryapodaca> I see Breakpoints
1910: [13:21:01] <wmk> is one highlighted?
1911: [13:21:12] <terryapodaca> I placed the breakpoint in _config
1912: [13:21:25] <terryapodaca> but in the editor it's not highlighted like expectred
1913: [13:21:38] <terryapodaca> should I restart my machine to make sure everything got set properlly?
1914: [13:21:43] <terryapodaca> properly
1915: [13:21:53] <wmk> propellerly?
1916: [13:22:00] <wmk> ah
1917: [13:22:03] <wmk> probably
1918: [13:22:11] <terryapodaca> brb
1919: [13:23:00] * terryapodaca has left #silverstripe
1920: [13:24:12] * Otterpocket quit (Quit: WeeChat 0.4.1)
1921: [13:24:24] * spronk2 quit (Quit: spronk2)
1922: [13:24:33] <Pyxilixk> NETim: what DOES the page inherit?
1923: [13:24:41] <Pyxilixk> if you change the inheritance will it break the site?
1924: [13:25:09] <kinglozzer> Anyone any good a configuring sendmail?
1925: [13:25:33] <kinglozzer> stat=Deferred: 451 PTR (rDNS) record does not exist for <server ip> :(
1926: [13:26:21] <Pyxilixk> NETim: because you can always Form() { return SomethingThatExtends_UserDefinedForm_Controller::create()->Form(); }
1927: [13:26:33] <Pyxilixk> but it's messy as all hell.
1928: [13:26:52] <Pyxilixk> can't just use controller because form is obviously model info at this point
1929: [13:27:14] <Pyxilixk> kinglozzer: you should be leaving about now I think
1930: [13:27:28] <Pyxilixk> to make it here in time for the talk on SS
1931: [13:27:38] <Pyxilixk> to heckle the guy giving it with me :>
1932: [13:27:44] <Pyxilixk> :F
1933: [13:28:50] * Shrike_Finland has joined #silverstripe
1934: [13:29:21] * Shrike_Finland1 has joined #silverstripe
1935: [13:31:37] <kinglozzer> Pyxilixk: Or heckle you
1936: [13:31:39] <kinglozzer> :D
1937: [13:31:47] <Pyxilixk> kinglozzer: samething :P
1938: [13:33:16] * Shrike_Finland quit (Ping timeout: 260 seconds)
1939: [13:34:55] * UndefinedOffset quit (Quit: Leaving.)
1940: [13:35:12] * UndefinedOffset has joined #silverstripe
1941: [13:38:48] * terryapodaca has joined #silverstripe
1942: [13:39:12] <terryapodaca> restarted, looks like everything is installed and configured properly
1943: [13:39:26] <terryapodaca> I placed a breakpoint in _config but it never triggers
1944: [13:40:09] * UndefinedOffset quit (Ping timeout: 272 seconds)
1945: [13:42:05] * Shrike_Finland1 quit (Quit: Leaving.)
1946: [13:48:12] * Shrike_Finland has joined #silverstripe
1947: [13:49:10] * catcher has joined #silverstripe
1948: [13:52:18] * Shrike_Finland quit (Client Quit)
1949: [13:53:12] <wmk> terryapodaca, the breakpoint needs to be in a line of code
1950: [13:53:23] <wmk> placing on a comment or a line which doesn't get executed doesn't work
1951: [13:53:29] * ARNHOE quit (Read error: Connection reset by peer)
1952: [13:53:41] <terryapodaca> Director::set_environment_type("dev");
1953: [13:53:45] <terryapodaca> I placed it on that
1954: [13:53:53] <wmk> and afaik you have to set a get param to start xdebug, depending your xdebug config
1955: [13:53:59] * ARNHOE has joined #silverstripe
1956: [13:55:36] <wmk> or click on the "run" command in your editor
1957: [13:58:54] * Kingy[a] quit (Quit: ZNC - http://znc.in)
1958: [14:00:22] * vebb has joined #silverstripe
1959: [14:01:58] * vebb quit (Client Quit)
1960: [14:04:32] <terryapodaca> wmk: says Disconnected
1961: [14:04:55] <wmk> hmm
1962: [14:05:01] <wmk> 1) not properly set up
1963: [14:05:10] <wmk> 2) not switched on
1964: [14:06:20] * BetterBert quit (Quit: Computer has gone to sleep.)
1965: [14:07:19] <wmk> terryapodaca, maybe http://vimeo.com/3089384 helps you?
1966: [14:07:59] <terryapodaca> let me have a look
1967: [14:08:19] <wmk> does phpinfo() claim xdebug is loaded?
1968: [14:08:26] <terryapodaca> yes
1969: [14:08:37] <wmk> ok, so php provides it
1970: [14:08:44] <terryapodaca> yep
1971: [14:08:49] <terryapodaca> could be my php.ini file
1972: [14:08:53] <terryapodaca> still looking
1973: [14:08:57] * BetterBert has joined #silverstripe
1974: [14:09:16] <wmk> "Don't forget to use ?XDEBUG_SESSION_START=sessionname at the end of the url address of the code you wish to test. "
1975: [14:13:41] * ARNHOE quit ()
1976: [14:14:06] <terryapodaca> Debug Build: no
1977: [14:14:17] <terryapodaca> do I have a wrong version ?
1978: [14:14:38] * mento has joined #silverstripe
1979: [14:15:17] <wmk> terryapodaca, from what i see at a glance it's ok.
1980: [14:15:29] <wmk> debug build is maybe for debugging the php build
1981: [14:17:22] <mento> hey guys, since 3.1.6 the uploadfield seems to have some issues with the alignment see: http://oi61.tinypic.com/5wxs35.jpg
1982: [14:17:35] <mento> did anyone else noticed it?
1983: [14:18:06] <wmk> mento, now that you mention it
1984: [14:19:57] * headtrip has joined #silverstripe
1985: [14:20:45] <mento> it can be fixed easily though, but not sure if this is done by purpose for whatever reason
1986: [14:21:02] * Shrike_Finland has joined #silverstripe
1987: [14:21:17] * Shrike_Finland1 has joined #silverstripe
1988: [14:23:02] <kinglozzer> mento: Yeah it was done deliberately
1989: [14:23:26] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3382
1990: [14:24:26] <mento> Ah nice to see someone else already made a ticket
1991: [14:24:39] <mento> its maybe just me but the alignment annoys me :P
1992: [14:25:45] * Shrike_Finland quit (Ping timeout: 272 seconds)
1993: [14:29:10] <wmk> mento, feel free to fix it
1994: [14:30:04] <wmk> seems like it needs some responsiveness?
1995: [14:30:08] <terryapodaca> http://xdebug.org/wizard.php says: "You're already running the latest Xdebug version"
1996: [14:30:21] <wmk> terryapodaca, sounds great
1997: [14:30:24] <terryapodaca> but for some reason notepad++ isn't connected
1998: [14:30:32] <terryapodaca> or connecting
1999: [14:30:32] <wmk> sounds like path problem
2000: [14:30:45] <wmk> path mapping (local / remote)
2001: [14:32:17] <wmk> try a simple file in your webroot
2002: [14:32:36] <wmk> when notepad is connected you can go further
2003: [14:35:02] <terryapodaca> xdebug.profiler_enable = 1
2004: [14:35:12] <terryapodaca> should that be 0
2005: [14:35:16] <terryapodaca> in php.ini?
2006: [14:37:50] <wmk> hmm, not really
2007: [15:00:11] * Shrike_Finland1 quit (Quit: Leaving.)
2008: [15:00:57] * Shrike_Finland has joined #silverstripe
2009: [15:06:48] <mento> wmk: yep, just added a possible fix to that issue
2010: [15:07:04] <wmk> mento, great
2011: [15:07:46] <wmk> mento, the original PR that changed that claimed that in split mode it looks ugly.
2012: [15:08:20] <wmk> so you'll have to revert it only in full edit mode when your screen is wide enough
2013: [15:09:08] <wmk> btw: anyone has a unversal snippet to ajaxify a form?
2014: [15:10:50] <mento> this is what it looks now for me after applying the fix http://oi62.tinypic.com/34614pg.jpg
2015: [15:12:46] <wmk> mento, looks ok. and all buttons are shown when you have an image added?
2016: [15:13:12] <mento> wmk: yups, http://oi62.tinypic.com/2eun8js.jpg
2017: [15:13:36] <wmk> mento, i know this coala picture
2018: [15:13:57] <mento> haha, we use it all the time :-) best test picture ever
2019: [15:14:18] <wmk> though in split mode it's kind of taste if you size the upload field like a textfield or like the htmleditor
2020: [15:14:55] <mento> yep, i agree
2021: [15:14:58] <wmk> in wide mode it should be like a textfield. looks better. but when you don't have much space it could use 100% width
2022: [15:16:49] * Kingy[a] has joined #silverstripe
2023: [15:17:10] <mento> yes in wide it could use 100%, but all other fields are capped to a maximum width as well
2024: [15:17:26] <mento> uhh i mean the other way around, in split mode
2025: [15:18:45] <wmk> yup
2026: [15:19:00] <mento> anyway, are there any statistics regarding the split mode? I never use it, most of our clients don't. You need to have a big ass screen to preview the website in "desktop" mode while editting
2027: [15:19:28] <mento> most websites we develop are responsive, so you will see the mobile version 99% of time in the split mode
2028: [15:19:41] <wmk> still used to check the page in a seperate tab
2029: [15:20:23] <mento> and when we let them know there is a split mode, we always get the question "why doens't it live-update"
2030: [15:25:58] * zfmf quit ()
2031: [15:26:38] * vebb has joined #silverstripe
2032: [15:31:54] <wmk> can't i just add allowed_actions to a controller in an extension?
2033: [15:32:44] <mento> i dunno, i'm just a designer =( anway see you guys around
2034: [15:32:57] * jenniferaslan has joined #silverstripe
2035: [15:32:59] * mento quit (Quit: Page closed)
2036: [15:32:59] <wmk> cu mento
2037: [15:34:50] * vebb has joined #silverstripe
2038: [15:36:41] * vebb quit (Client Quit)
2039: [15:37:38] * vebb has joined #silverstripe
2040: [15:39:27] * vebb quit (Client Quit)
2041: [15:40:23] * vebb has joined #silverstripe
2042: [15:42:14] * vebb quit (Client Quit)
2043: [15:43:10] * vebb has joined #silverstripe
2044: [15:44:03] * Shrike_Finland quit (Quit: Leaving.)
2045: [15:45:01] * vebb quit (Client Quit)
2046: [15:45:55] * vebb has joined #silverstripe
2047: [15:47:53] * vebb quit (Client Quit)
2048: [15:48:30] * muskie9 has joined #silverstripe
2049: [15:48:50] * vebb has joined #silverstripe
2050: [15:52:40] * vebb quit (Client Quit)
2051: [15:52:55] * vebb has joined #silverstripe
2052: [15:54:29] * kinglozzer quit ()
2053: [15:54:45] * vebb quit (Client Quit)
2054: [15:55:44] * vebb has joined #silverstripe
2055: [15:57:36] * vebb quit (Client Quit)
2056: [15:57:52] * vebb has joined #silverstripe
2057: [15:59:43] * vebb quit (Client Quit)
2058: [16:00:39] * vebb has joined #silverstripe
2059: [16:08:10] <terryapodaca> wmk: you there?
2060: [16:11:57] * mrzero_ has joined #silverstripe
2061: [16:14:02] * mrzero quit (Ping timeout: 245 seconds)
2062: [16:14:03] * mrzero_ is now known as mrzero
2063: [16:17:39] <wmk> terryapodaca, re
2064: [16:18:22] <terryapodaca> when I submit my form, it's not even getting to the function doSearchResults()
2065: [16:18:39] <wmk> some action stuff?
2066: [16:18:46] <wmk> even without search context?
2067: [16:18:57] * BetterBert quit (Ping timeout: 245 seconds)
2068: [16:18:57] <terryapodaca> yes
2069: [16:19:15] <wmk> what's the url called?
2070: [16:19:23] <wmk> see firebug / networking
2071: [16:20:35] <terryapodaca> url called?
2072: [16:21:08] <wmk> when you click "submit" in your form, what url is called via http?
2073: [16:23:35] <terryapodaca> home/SearchResultsForm
2074: [16:23:43] <terryapodaca> in other words, since this is localhost:
2075: [16:23:47] <wmk> yup
2076: [16:23:50] <terryapodaca> http://localhost/sft/index.php/home/SearchResultsForm
2077: [16:24:05] * wmk just wonders at his form how the form knows to call the action....
2078: [16:24:05] <terryapodaca> I can't figure out how to remove the index.php in xampp
2079: [16:24:24] <wmk> terryapodaca, you need mod-rewrite enabled in your apache
2080: [16:25:09] <wmk> http://www.leonardaustin.com/blog/technical/enable-mod_rewrite-in-xampp/ it's from 2010 but worth a try
2081: [16:30:47] * Shrike_Finland has joined #silverstripe
2082: [16:31:20] * stnvh quit ()
2083: [16:32:56] <terryapodaca> tried everything still doesn't work
2084: [16:33:09] * Pyxilixk quit ()
2085: [16:33:21] <terryapodaca> I can manually remove it from the url and click enter, and it works but if I click a different link on the site it shows back up
2086: [16:33:25] <terryapodaca> oh well
2087: [16:33:30] <wmk> terryapodaca, can you paste some code?
2088: [16:33:52] <terryapodaca> you want me to re-paste to ssbits?
2089: [16:34:05] <wmk> still same code?
2090: [16:34:08] <terryapodaca> or are you talking about removnig the index.php thing?
2091: [16:34:34] <wmk> i was asking about form code. if it's still the same i can look there, too
2092: [16:34:38] <terryapodaca> well, right now the only think I have in soSearchResults($data, $form)
2093: [16:34:50] <terryapodaca> is
2094: [16:34:50] <terryapodaca> debug::show($form);
2095: [16:34:51] <terryapodaca> debug::show($data);
2096: [16:34:59] <terryapodaca> public function doSearchResults($data, $form) {
2097: [16:34:59] <terryapodaca> debug::show($form);
2098: [16:34:59] <terryapodaca> debug::show($data);
2099: [16:34:59] <terryapodaca> }
2100: [16:35:17] <terryapodaca> I'll sspate again
2101: [16:35:21] <wmk> pls
2102: [16:35:29] <wmk> we should get the simple form working ;)
2103: [16:35:56] <terryapodaca> Oh, and I removed the Dependent Dropdowns
2104: [16:36:44] <terryapodaca> DataObject: http://www.sspaste.com/paste/show/5418624342d27
2105: [16:37:35] <terryapodaca> Page.php: http://www.sspaste.com/paste/show/54186275ab2a9
2106: [16:38:09] <terryapodaca> I would assume SS looks for the action on HomePage.php first, then Page.php second
2107: [16:40:28] <terryapodaca> and I would assume I'd be hitting debug::show()
2108: [16:42:07] <wmk> i try your code
2109: [16:44:48] <terryapodaca> oh, ok...
2110: [16:45:13] <terryapodaca> you'll have to put in some dummy data and possibly hard code the dropdowns
2111: [16:45:42] <wmk> i just tried $fields = $this->scaffoldSearchFields(array()); in my DO
2112: [16:45:53] <wmk> when i hit "get results" i get the debug output
2113: [16:46:25] <wmk> terryapodaca, did you flush?
2114: [16:48:27] <wmk> terryapodaca, see my comment on sspaste
2115: [16:49:03] <Zauberfisch> woohooo
2116: [16:49:06] <Zauberfisch> 30+ people
2117: [16:49:17] <wmk> Zauberfisch congrats
2118: [16:49:19] <Zauberfisch> this is good news
2119: [16:49:31] <wmk> btw: any infos on rooms ?
2120: [16:50:14] <terryapodaca> so you uncommented the //$fields = $this->scaffoldSearchFields(array()); and didn't use the custom fields?
2121: [16:50:30] <wmk> terryapodaca, i don't have all your model to test ;)
2122: [16:50:45] <wmk> i just wanted to go sure the action works.
2123: [16:50:52] <wmk> it does.
2124: [16:51:31] <Zauberfisch> wmk: oh, damn it
2125: [16:51:33] <Zauberfisch> so sorry
2126: [16:51:34] <Zauberfisch> I forgot
2127: [16:51:41] <Zauberfisch> damn it
2128: [16:51:44] <wmk> ;)
2129: [16:51:55] <Zauberfisch> will make some calls tomorrow
2130: [16:52:13] <wmk> terryapodaca, but FieldList should be FieldList
2131: [16:53:08] <wmk> i don't know if you have some special routing causing troubles...
2132: [16:54:45] * elgrodo quit (Ping timeout: 255 seconds)
2133: [16:54:56] <terryapodaca> Im going to put all this on Dreamhost. I wonder if running this locally is causing problems
2134: [16:56:15] <wmk> terryapodaca, vagrant vm?
2135: [16:56:32] <wmk> do you know linux / bash ??
2136: [16:56:39] <wmk> you run a bash on windows?
2137: [17:01:22] <wmk> nevermind, have to run home... cu l8r maybe
2138: [17:02:19] <terryapodaca> thanks
2139: [17:03:50] * gelignite has joined #silverstripe
2140: [17:06:02] * wmk quit (Ping timeout: 258 seconds)
2141: [17:07:10] * elgrodo has joined #silverstripe
2142: [17:10:26] * Shrike_Finland quit (Quit: Leaving.)
2143: [17:11:28] * Shrike_Finland has joined #silverstripe
2144: [17:17:18] * Colin[pi] has joined #silverstripe
2145: [17:33:42] * Shrike_Finland quit (Quit: Leaving.)
2146: [17:42:44] * StefanLehmann quit (Ping timeout: 272 seconds)
2147: [18:09:33] * babak quit (Quit: Connection closed for inactivity)
2148: [18:14:18] * headtrip quit (Quit: Computer has gone to sleep.)
2149: [18:17:10] * headtrip has joined #silverstripe
2150: [18:17:20] * headtrip quit (Client Quit)
2151: [18:20:40] * wmk has joined #silverstripe
2152: [18:37:03] <wmk> terryapodaca, got it running?
2153: [19:02:27] * headtrip has joined #silverstripe
2154: [19:07:01] * headtrip quit (Ping timeout: 260 seconds)
2155: [19:25:39] * Shrike_Finland has joined #silverstripe
2156: [19:40:14] <terryapodaca> nope
2157: [19:40:37] <terryapodaca> wmk: I moved everything to dreamhost and still have the same issues
2158: [19:41:06] <wmk> did you modify routes anywhere?
2159: [19:41:13] <terryapodaca> nope
2160: [19:41:46] <wmk> cause the form should at least call the action
2161: [19:42:00] <terryapodaca> I'm thinking it has something to do with $searchable_fields
2162: [19:42:13] <wmk> does it work with an empty form?
2163: [19:42:45] <terryapodaca> hang on, let me get it to a place that kind of works and then I'll give you the test URL
2164: [19:45:31] * jenniferaslan quit (Remote host closed the connection)
2165: [19:46:06] * jenniferaslan has joined #silverstripe
2166: [19:47:34] <terryapodaca> wmk: http://sft.stricklandapps.com/
2167: [19:47:38] <terryapodaca> this version works
2168: [19:47:49] * Shrike_Finland quit (Quit: Leaving.)
2169: [19:48:08] <wmk> terryapodaca, congrats
2170: [19:48:13] <terryapodaca> but still has a weird issue...it's using the Page_results, but it's not using all of SS templating
2171: [19:48:14] * travis-ci has joined #silverstripe
2172: [19:48:14] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3347 (master - 4ba6d81 : Sean Harvey): The build passed.
2173: [19:48:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/26d7febe053c...4ba6d8153dd6
2174: [19:48:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/35467746
2175: [19:48:14] * travis-ci has left #silverstripe
2176: [19:48:16] <wmk> so you think it's a server issue?
2177: [19:48:21] <terryapodaca> it's a blank page
2178: [19:48:41] <terryapodaca> I think there is/was an issue with using the DependentDropdownField
2179: [19:48:52] <wmk> ok.
2180: [19:48:59] <wmk> how did you call the templates?
2181: [19:49:10] <terryapodaca> and how the search relationships work...so it's still not working the way I need it to
2182: [19:49:16] <terryapodaca> same as in the sspaste
2183: [19:49:27] <terryapodaca> return $this->customise(array('Results' => $results))->renderWith('Page_results');
2184: [19:50:35] <wmk> ->renderWith('Page_results', 'Page');
2185: [19:51:01] <terryapodaca> if you want results, select, 2014 then Collegiate Contest, then Livestock Judging
2186: [19:51:15] <terryapodaca> I have test data/results for that search
2187: [19:51:24] <terryapodaca> I've tried adding Page too, same thing
2188: [19:51:27] <terryapodaca> let me try again
2189: [19:52:17] <terryapodaca> and yes, I'm flushing
2190: [19:52:47] <terryapodaca> but since it's not using SS's templating, it's not getting my CSS formating
2191: [19:53:00] <wmk> hmm...
2192: [19:53:01] <terryapodaca> so the results are, well, not formatted, and ugly
2193: [19:53:32] <wmk> it doesn't find the main Page.ss
2194: [19:54:13] <terryapodaca> weird, right???
2195: [19:54:22] * jenniferaslan quit (Remote host closed the connection)
2196: [19:54:36] <wmk> yup
2197: [19:54:49] * mrzero quit (Remote host closed the connection)
2198: [19:54:56] * jenniferaslan has joined #silverstripe
2199: [19:55:01] * mrzero has joined #silverstripe
2200: [19:55:13] * mrzero quit (Changing host)
2201: [19:55:13] * mrzero has joined #silverstripe
2202: [19:57:37] * Kingy[a] is now known as Kingy
2203: [19:57:52] <terryapodaca> what if I Zipped up my files and send them to you?
2204: [19:58:01] <terryapodaca> emailed
2205: [20:02:06] * Stomach has joined #silverstripe
2206: [20:02:52] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
2207: [20:03:19] * headtrip has joined #silverstripe
2208: [20:07:48] * headtrip quit (Ping timeout: 255 seconds)
2209: [20:09:37] * jenniferaslan quit (Remote host closed the connection)
2210: [20:10:01] * jenniferaslan has joined #silverstripe
2211: [20:28:28] <terryapodaca> will any SS guys be online today?
2212: [20:31:13] <Stomach> terryapodaca - there are usually a few
2213: [20:31:29] <Stomach> ss23 and madmatt are both SS
2214: [20:31:45] * Ryan-Toast has joined #silverstripe
2215: [20:32:13] <terryapodaca> I thought there was some meetup or something..didn't know if others would show up or not
2216: [20:33:05] * jenniferaslan quit (Remote host closed the connection)
2217: [20:33:07] <Stomach> terryapodaca - its on tonight after work
2218: [20:33:19] * jenniferaslan has joined #silverstripe
2219: [20:33:22] <Ryan-Toast> There are always meetups, I’m always too lazy to go.
2220: [20:33:41] <terryapodaca> I always forget the time difference, it's 3:30 yesterday for most
2221: [20:33:50] <terryapodaca> it's 3:30 pm Tuesday for me
2222: [20:34:15] <Stomach> its 8.30am wednesday for us :)
2223: [20:34:47] <terryapodaca> I know, I'm always a day behind
2224: [20:34:56] <Kingy> ah wednesday
2225: [20:35:06] <Kingy> working in bed, yay
2226: [20:36:10] * antmas has joined #silverstripe
2227: [20:36:29] * antmas_ has joined #silverstripe
2228: [20:36:43] <antmas_> morning all
2229: [20:39:01] <Stomach> hey antmas_
2230: [20:40:19] * antmas quit (Ping timeout: 246 seconds)
2231: [20:41:51] * antmas_ is now known as antmas
2232: [20:42:21] <Ryan-Toast> Morning
2233: [20:42:27] * jenniferaslan quit (Remote host closed the connection)
2234: [20:42:54] * jenniferaslan has joined #silverstripe
2235: [20:43:19] <antmas> Ryan-Toast: ahoihoi
2236: [20:48:21] <antmas> is this borked for anyone? http://dashboard.unclecheeseproductions.com/admin
2237: [20:49:35] <Ryan-Toast> ye]
2238: [20:50:36] <antmas> hmmm
2239: [20:50:38] <antmas> :P
2240: [20:52:14] <antmas> Ryan-Toast: have you used that module before?
2241: [20:53:54] * ss31noob has joined #silverstripe
2242: [20:54:13] <Ryan-Toast> antmas: What module?
2243: [20:54:24] <Stomach> antmas - we use it
2244: [20:54:34] <Stomach> but none of the default ones, just custom stuff
2245: [20:54:40] <Stomach> dashboards are stupid anyway
2246: [20:54:42] <Stomach> don't do it
2247: [20:54:50] * jenniferaslan quit (Remote host closed the connection)
2248: [20:54:54] <Ryan-Toast> Stomach: Analytics aren’t bad imo
2249: [20:55:11] <Stomach> Ryan-Toast - thats not what I said
2250: [20:55:19] * jenniferaslan has joined #silverstripe
2251: [20:55:23] <Ryan-Toast> wasn’t it a dashboard module?
2252: [20:55:52] <Stomach> yeah, but dashboards are stupid
2253: [20:56:06] <Stomach> why view the analytics in a dashboard? view them in analytics
2254: [20:56:17] <Ryan-Toast> Good for a quick overview
2255: [20:56:30] <ss31noob> hi guys.. i have old pages that have a .shtml in their urlsegment.. right now we are doing the upgrade to 3.1 and we are planning to remove those .shtml in those pages that has it.. but my problem is that my seo wanted to redirect those pages with .shtml to the their corresponding url that doesnt have the extension.. i tried to do it in htaccess but i cant find where exactly to put that in the htaccess
2256: [20:56:36] <ss31noob> can anyone help me on this?
2257: [20:56:59] <Stomach> ss31noob - how many pages do you have?
2258: [20:58:04] <ss31noob> hundreds..
2259: [20:58:44] <terryapodaca> what's the difference in ?flush=1 and ?flush=all
2260: [20:58:59] <Ryan-Toast> terryapodaca: one doesn’t flush #2
2261: [20:59:11] <terryapodaca> bwaaahahahaaaa
2262: [20:59:15] <ss31noob> :i tried to put this in htaccess.. RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.shtml [NC,L]
2263: [20:59:31] <terryapodaca> Ryan-Toast: touche
2264: [20:59:37] <Ryan-Toast> terryapodaca: flush all flushes the entire site cache
2265: [21:00:00] <ss31noob> but doesnt seem to work.. it still returns 200.. i guess in 3.1.. it automatically disregard the extension right
2266: [21:00:54] <Ryan-Toast> terryapodaca: https://groups.google.com/forum/#!msg/silverstripe-dev/RNWCiFAnRI0/QaUuI35wXUEJ
2267: [21:01:09] <terryapodaca> anyone have any ideas why my search isn't using the Page.ss template?
2268: [21:01:11] <terryapodaca> http://sft.stricklandapps.com/
2269: [21:01:35] <Ryan-Toast> terryapodaca: will probs be using the Search_Results.ss template
2270: [21:01:58] <terryapodaca> enter: 2014, Collegiate Contest, Livestock Judging
2271: [21:02:14] <Ryan-Toast> terryapodaca: is your SearchResultsForm using a render with?
2272: [21:02:26] <terryapodaca> return $this->customise(array('Results' => $results))->renderWith('Page_results', 'Page');
2273: [21:03:09] * toddvalentine has joined #silverstripe
2274: [21:03:10] <terryapodaca> http://www.sspaste.com/paste/show/541743145611b this is the whole file
2275: [21:03:42] <Ryan-Toast> terryapodaca: try doing the render with like this: http://pastebin.com/uvZTzt0t
2276: [21:04:02] <Ryan-Toast> obviously change MenuHolder_Grid to page results
2277: [21:04:04] * headtrip has joined #silverstripe
2278: [21:04:44] <Ryan-Toast> PHPStorm 8 is out, yaya
2279: [21:04:56] * jenniferaslan quit (Remote host closed the connection)
2280: [21:05:19] * jenniferaslan has joined #silverstripe
2281: [21:06:27] <ss31noob> any idea about the htaccess thingy? :)
2282: [21:08:48] * headtrip quit (Ping timeout: 272 seconds)
2283: [21:10:48] <wmk> ss31noob, ??
2284: [21:11:03] <wmk> oh, i see
2285: [21:11:06] <ss31noob> hi guys.. i have old pages that have a .shtml in their urlsegment.. right now we are doing the upgrade to 3.1 and we are planning to remove those .shtml in those pages that has it.. but my problem is that my seo wanted to redirect those pages with .shtml to the their corresponding url that doesnt have the extension.. i tried to do it in htaccess but i cant find where exactly to put that in the htaccess
2286: [21:11:09] <ss31noob> :)
2287: [21:11:18] * jenniferaslan quit (Remote host closed the connection)
2288: [21:11:25] <ss31noob> i tried to put this in htaccess.. RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.shtml [NC,L]
2289: [21:11:34] * jenniferaslan has joined #silverstripe
2290: [21:11:43] <ss31noob> but doesnt seem to work.. it still returns 200.. i guess in 3.1.. it automatically disregard the extension right
2291: [21:14:49] * catcher quit (Quit: Leaving)
2292: [21:15:31] <Stomach> ss31noob - what you want to do is redirect anything with .shtml to a non .shtml page with a 301 redirect
2293: [21:15:38] <ss31noob> yes
2294: [21:16:12] <ss31noob> for google purposes actually..
2295: [21:16:13] <Stomach> RewriteRule ^(.*).shtml$ $1 [R=301,L]
2296: [21:17:42] <Stomach> actually - RewriteRule ^(.*)\.shtml$ $1 [R=301,L]
2297: [21:18:02] * jenniferaslan quit (Remote host closed the connection)
2298: [21:18:18] <Stomach> that will have to be before the SS rewrite rules - it should match all .shtml pages then redirect to non .shtml, which will then go through the normal SS routing
2299: [21:18:19] * jenniferaslan has joined #silverstripe
2300: [21:19:15] <ss31noob> SS rewrite rules?
2301: [21:19:39] <ss31noob> so before this? RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !\.php$ RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
2302: [21:19:42] <Stomach> yeah
2303: [21:19:44] <wmk> yup
2304: [21:21:01] * micmania1 has joined #silverstripe
2305: [21:22:57] <ss31noob> thanks Stomach and wmk! both of you are the best :D
2306: [21:23:14] <Stomach> no problem :)
2307: [21:24:07] <wmk> thanks for the flowers
2308: [21:26:51] * UncleCheese has joined #silverstripe
2309: [21:30:47] * hailwood has joined #silverstripe
2310: [21:32:50] * azureRaven has joined #silverstripe
2311: [21:33:44] <azureRaven> When trying to upload files to their Assets folder, the site keeps returning broken images
2312: [21:34:21] <azureRaven> In my code I did UploadField::create('HeaderGraphic')->setFolderName('Uploads/headers'); but whenever I try and upload there, it returns broken images.
2313: [21:34:29] <wmk> azureRaven, sounds like permission problems.
2314: [21:34:35] <azureRaven> I thought as much too.
2315: [21:35:02] <wmk> the www user has to write it there and has to create the _resampled subfolder
2316: [21:35:09] <wmk> any errors in error.log?
2317: [21:35:24] * StefanLehmann has joined #silverstripe
2318: [21:35:36] <terryapodaca> wmk: http://sft.stricklandapps.com/
2319: [21:35:49] <azureRaven> I'll check.
2320: [21:35:51] <terryapodaca> Got the DependentDropdowns to work
2321: [21:35:57] * jenniferaslan quit (Remote host closed the connection)
2322: [21:36:14] * jenniferaslan has joined #silverstripe
2323: [21:36:21] <wmk> hey terryapodaca that's great!
2324: [21:36:30] <terryapodaca> select 2014 - Collegiate Contest - Livestock Judging
2325: [21:36:33] <azureRaven> I made the folder 777 permissions and it's still not working.
2326: [21:36:34] <azureRaven> :/
2327: [21:36:58] <terryapodaca> now, really my only last issue, is it should only be returning one result...so I assume my filtering is off
2328: [21:36:59] <wmk> is there a git repo for the dependend dropdown?
2329: [21:37:35] <wmk> terryapodaca, ?showqueries=1 can shed some light on the used queries
2330: [21:37:36] <terryapodaca> https://github.com/sheadawson/silverstripe-dependentdropdownfield
2331: [21:40:33] * simon_w has joined #silverstripe
2332: [21:47:07] * simon_w quit (Quit: Ping timeout: your mum)
2333: [21:49:03] <antmas> adrexia_: hey re-batchactions
2334: [21:49:05] * jenniferaslan quit (Remote host closed the connection)
2335: [21:49:10] <adrexia_> yup
2336: [21:49:19] * jenniferaslan has joined #silverstripe
2337: [21:49:54] <antmas> adrexia_: I have all of the lines from the config from batchactions copied to my mysite/config on both our dev and uat servers
2338: [21:50:11] <antmas> but only dev is working properly and not uat
2339: [21:50:28] <antmas> any advice?
2340: [21:50:43] <adrexia_> what is the difference between your environments?
2341: [21:51:08] <adrexia_> is the folder with the batchactions present on the uat server?
2342: [21:51:20] <adrexia_> are you getting any javascript errors?
2343: [21:51:21] <antmas> quite a bit in terms of config, but nothing I'd expect to conflict with those lines
2344: [21:51:24] <antmas> adrexia_: nope
2345: [21:51:30] <antmas> nothing in the logs either
2346: [21:51:51] <adrexia_> was it working before?
2347: [21:51:57] <antmas> No
2348: [21:52:03] <adrexia_> so its never worked?
2349: [21:52:12] <adrexia_> is uat new?
2350: [21:52:38] <antmas> the Move to remains in the CMS menu and the popup does not fire for setreviewoptions
2351: [21:52:39] <adrexia_> or have you only just added batch actions?
2352: [21:52:49] <antmas> we added it a while ago
2353: [21:52:51] <adrexia_> debug the javascript
2354: [21:53:14] <antmas> do any of the other options fire a popup?
2355: [21:53:22] <adrexia_> only move
2356: [21:53:39] <adrexia_> oh
2357: [21:53:40] <antmas> ah ok, yes that one fires
2358: [21:53:58] <adrexia_> you need to add js if you want setreviewoptions to fire
2359: [21:54:13] <adrexia_> though, you said its working on dev?
2360: [21:54:40] <antmas> it is working on dev yeah
2361: [21:54:43] <antmas> very weird :P
2362: [21:54:50] <adrexia_> so you probably have the js
2363: [21:55:37] <antmas> yeah if the moveto popup works
2364: [21:55:47] <adrexia_> nah....
2365: [21:55:55] <adrexia_> that one is specifically coded
2366: [21:55:59] <antmas> oh right
2367: [21:56:12] <adrexia_> https://github.com/adrexia/silverstripe-batch-actions-plus/blob/master/javascript/LeftAndMain.BatchActionsPlus.js#L33
2368: [21:56:55] <antmas> so should I check that BatchActionsPlus.js is coming down?
2369: [21:57:08] <adrexia_> it seems to be
2370: [21:57:21] <adrexia_> check what your js is for firing setreviewoptions
2371: [21:57:32] <adrexia_> since its working on dev, there must be some
2372: [21:58:04] <adrexia_> and check you have this line: CMSMenu::remove_menu_item('CMSBatchAction_MoveToController');
2373: [21:58:16] <antmas> yup I have that on both servers
2374: [21:58:17] * jenniferaslan quit (Remote host closed the connection)
2375: [21:58:34] * jenniferaslan has joined #silverstripe
2376: [21:58:34] <adrexia_> ...and the move controller still shows in the left menu?
2377: [21:59:04] <antmas> adrexia_: yeah, both of these lines are there CMSMenu::remove_menu_item('CMSBatchAction_SetReviewOptionsController'); and the one you mentioned
2378: [21:59:10] <antmas> but Move to still shows
2379: [22:00:01] <antmas> which js file would have the code to fire the setreviewoptions popup?
2380: [22:00:11] <adrexia_> search for private static $menu_title = 'Move to';
2381: [22:00:25] <adrexia_> make surew it isn't coming from a duplicate
2382: [22:00:27] <Ryan-Toast> Why doesn’t subsites tell you what ID they are, sigh.
2383: [22:00:37] <antmas> adrexia_: ok I'll take a gander
2384: [22:00:51] <adrexia_> Ryan-Toast, how do you mean?
2385: [22:01:06] <Ryan-Toast> adrexia_: nothing in the backend that says this subsite has an id of x
2386: [22:01:17] <adrexia_> its in the dropdown isn't it?
2387: [22:01:26] <adrexia_> the suibsite switching dropdown
2388: [22:01:39] * willr has joined #silverstripe
2389: [22:02:02] <Ryan-Toast> Yeah, you have to inspect the elemnt though
2390: [22:02:03] <terryapodaca> wow...such a long week already and it's only 5pm Tuesday for me!!!
2391: [22:02:08] <adrexia_> ...well, if you vioew source and look at the select itself
2392: [22:02:13] <adrexia_> hahah true
2393: [22:02:18] <terryapodaca> looks like I'll get Friday as a comp day!!
2394: [22:02:31] <antmas> comp day?
2395: [22:02:42] <terryapodaca> free day off
2396: [22:02:49] <antmas> lucky :P
2397: [22:02:58] <adrexia_> Ryan-Toast, also affixed to the urls in preview
2398: [22:03:03] <terryapodaca> like if you get a free meal because you found a hair at a resaurant
2399: [22:03:06] <terryapodaca> they comp your mean
2400: [22:03:08] <terryapodaca> meal
2401: [22:03:15] <Ryan-Toast> adrexia_: Adding to the dropdown would be nice.
2402: [22:03:23] <Ryan-Toast> adrexia_: guess it doesn’t really matter.
2403: [22:03:29] <Ryan-Toast> bit of an edge case
2404: [22:03:30] <adrexia_> yeah - buit it only matters to developers ;)
2405: [22:03:49] <antmas> adrexia_: ah, found that LeftAndMain::require_javascript(basename(__DIR__) . '/javascript/LeftAndMain.BatchReviewOptions.js'); is not in my config!
2406: [22:04:16] <adrexia_> ahh that'll explain the lack of js
2407: [22:04:21] <antmas> yup
2408: [22:04:35] <adrexia_> but not the menu item
2409: [22:04:36] * gelignite quit (Quit: http://bit.ly/nkczDT)
2410: [22:04:46] <adrexia_> also, order might matter
2411: [22:04:49] * headtrip has joined #silverstripe
2412: [22:04:56] <antmas> this is my order on dev
2413: [22:04:59] <antmas> 2 secs
2414: [22:05:16] <ss31noob> does anyone use FormResponse class before? it was a class in 2.4 but then its not included in 3.1
2415: [22:06:38] <antmas> adrexia_: http://www.sspaste.com/paste/show/5418af83d5e20
2416: [22:07:23] <adrexia_> sorry, I meant for the entwine - you might want to make your js override more specific than the move js
2417: [22:07:47] <antmas> how would I go about that?
2418: [22:07:59] <adrexia_> or have you removed the move js and combined both into the onbe file?
2419: [22:08:06] <antmas> nope
2420: [22:08:28] <adrexia_> antmas its an additional selector. so like $('.cms #Form_BatchActionsForm').entwine({
2421: [22:08:32] <adrexia_> or something
2422: [22:08:45] <antmas> ah right
2423: [22:08:46] <antmas> ofc
2424: [22:08:47] <adrexia_> but remember to call super
2425: [22:09:29] * headtrip quit (Ping timeout: 260 seconds)
2426: [22:11:27] * jenniferaslan quit (Remote host closed the connection)
2427: [22:11:44] * jenniferaslan has joined #silverstripe
2428: [22:17:36] * pizzathehut has joined #silverstripe
2429: [22:18:32] <pizzathehut> Friends is there any DPS hosted module that works with 3.1.x?
2430: [22:18:34] <antmas> that is a goooood Humble Bundle
2431: [22:20:20] * jenniferaslan quit (Remote host closed the connection)
2432: [22:20:34] * jenniferaslan has joined #silverstripe
2433: [22:23:47] * zippy has joined #silverstripe
2434: [22:24:03] <antmas> morning zippy
2435: [22:24:09] <zippy> mornings
2436: [22:24:24] <zippy> Ryan-Toast: I seem to recall you had a nice color picker for SS 3 cms area?
2437: [22:24:30] <Ryan-Toast> zippy: yarp
2438: [22:24:33] * wmk quit (Ping timeout: 272 seconds)
2439: [22:24:39] <zippy> Ryan-Toast: prick to install?
2440: [22:24:44] <zippy> antmas: nice day out there
2441: [22:24:44] <Ryan-Toast> Not really
2442: [22:25:10] <antmas> zippy: it is! bit of a breeze though
2443: [22:25:11] <Ryan-Toast> zippy: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/forms/ColorField.php
2444: [22:25:35] <Ryan-Toast> The two color picker js files: https://github.com/Rhym/ss_boilerplate/tree/master/boilerplate/javascript
2445: [22:25:52] <Ryan-Toast> and the css: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/css/colorpicker.css
2446: [22:26:00] <zippy> root 13 days ago thanks for deleting all my files, git. you stupid fuck.
2447: [22:26:01] <zippy> hahaha
2448: [22:26:19] <Ryan-Toast> :P
2449: [22:26:29] <zippy> so why is root doing the commit...?
2450: [22:26:36] <Ryan-Toast> I will move the colour picker to it’s own module when I get some time
2451: [22:26:44] * toddvalentine quit ()
2452: [22:26:52] * azureRaven quit (Ping timeout: 245 seconds)
2453: [22:26:55] <Ryan-Toast> My git auth key or whatever is fucked on this comp
2454: [22:27:07] * jenniferaslan quit (Remote host closed the connection)
2455: [22:27:08] <Ryan-Toast> and I’m lazy
2456: [22:27:13] <micmania1> zippy: There’s also this which i’ve used: https://github.com/heyday/silverstripe-colorpalette - quite nice if you only want to offer a selection of colours.
2457: [22:27:15] <zippy> :) thanks
2458: [22:27:24] * jenniferaslan has joined #silverstripe
2459: [22:27:31] <Ryan-Toast> combine that with a minimal knowledge of git and you get swish commits like that
2460: [22:27:46] <adrexia_> yeah - not sure I'd usually want to give someone the ability to choose all the colours
2461: [22:27:47] <adrexia_> :D
2462: [22:27:52] <zippy> wooo
2463: [22:27:54] <adrexia_> suppose it depends on purpose
2464: [22:29:19] * zippy is a bit torn now
2465: [22:29:57] <antmas> does that generate a pallette based on a single colour choice?
2466: [22:30:05] <antmas> or do you just select everything?
2467: [22:30:34] <zippy> with the one of micmania1 you specify the colors they can choose
2468: [22:31:11] <antmas> ah ok
2469: [22:31:21] <antmas> a pallete generator would be dope
2470: [22:35:52] * SphereSilver has joined #silverstripe
2471: [22:37:12] <zippy> I do wish web fonts were a bit sharper
2472: [22:38:24] * jenniferaslan quit (Remote host closed the connection)
2473: [22:38:39] * jenniferaslan has joined #silverstripe
2474: [22:38:49] * jenniferaslan quit (Client Quit)
2475: [22:42:28] * vebb has joined #silverstripe
2476: [22:42:59] <SphereSilver> Hey folks
2477: [22:42:59] <Ryan-Toast> antmas: For what purpose?
2478: [22:43:31] <SphereSilver> zippy: Windows renders them wrong often, but Unix-based systems are often sharper in my experience
2479: [22:43:43] <Ryan-Toast> Chrome 37 is muuuuch better.
2480: [22:43:44] <SphereSilver> But yeah, webfonts, they're not the perfect solution yet.
2481: [22:43:53] <Ryan-Toast> for fonts
2482: [22:44:09] <micmania1> There’s some setting hidden away in windows somewhere that makes them sharper
2483: [22:44:19] <micmania1> Don’t ask me where it is though. I have no idea.
2484: [22:44:25] <micmania1> very useful, I know.
2485: [22:45:09] <antmas> Ryan-Toast: letting users change the colour pallete for specific pages maybe?
2486: [22:45:24] * Azure quit (Remote host closed the connection)
2487: [22:45:40] <micmania1> SphereSilver: how’s it going? I see you got the eu meetup going?
2488: [22:46:08] <SphereSilver> micmania1: Yeah, Anselm and Zauber did the most recent part, as I am having some personal issues.
2489: [22:46:27] <antmas> micmania1: I think that is in 'Performance' in system advanced settings
2490: [22:46:30] <SphereSilver> But I'm glad they got the major part up and running, and I'm proud to say I'm joining the activity again.
2491: [22:46:44] <micmania1> yep, its good to see.
2492: [22:47:16] <pizzathehut> Any DPS Hosted Payment Page module compatible with 3.1?
2493: [22:47:20] * ben_w has joined #silverstripe
2494: [22:47:52] <SphereSilver> Why DPS?
2495: [22:47:55] <SphereSilver> Why not VPS?
2496: [22:47:58] <SphereSilver> Way more scalable
2497: [22:48:22] <SphereSilver> Wait, do you mean "Dedicated Private Server"?
2498: [22:49:16] * Azure has joined #silverstripe
2499: [22:49:23] <SphereSilver> Hmmm, my colleague is mistaking simon_w|work as me, because my lastname starts with an E, which, rotated, is a W _O-
2500: [22:49:36] <Ryan-Toast> antmas: that can go on the list of things I don’t want my clients doing :P
2501: [22:50:00] <antmas> Ryan-Toast: lol me to, generally, depends on the users
2502: [22:50:02] <antmas> too*
2503: [22:50:22] <Ryan-Toast> antmas: Would be good if we actually made themes for SS
2504: [22:50:28] <Ryan-Toast> but otherwise useless
2505: [22:51:06] <antmas> indeed
2506: [22:51:08] <SphereSilver> btw, micmania1 you joining in?
2507: [22:51:13] <Ryan-Toast> maybe one day.
2508: [22:51:27] <micmania1> SphereSilver: nah, bit far now haha
2509: [22:51:47] <antmas> what do people here use as a 'go to' screen sharing app?
2510: [22:52:11] <SphereSilver> micmania1: Think you can give a talk? If so, throw me an e-mail ;)
2511: [22:52:21] <SphereSilver> antmas: Teamviewer
2512: [22:52:48] <micmania1> I’ll sneak into Sam’s suitcase when he’s not looking.
2513: [22:52:59] <antmas> yeah I use teamviewer, just wondering if there any good alternatives
2514: [22:53:27] <SphereSilver> Not really, especially for computer illiterate, Teamviewer is the easiest way.
2515: [22:53:37] <SphereSilver> no hassle, no complex forwarding.
2516: [22:53:50] <adrexia_> SphereSilver, DPS == commonly used payment gateway
2517: [22:54:06] <SphereSilver> adrexia_: what country?
2518: [22:54:12] <adrexia_> Australia and NZ mainly
2519: [22:54:30] <SphereSilver> Ahhh, yeah, well, there's the issue....
2520: [22:54:34] <adrexia_> and plenty of peopel have done stuff with it - but it tends to be bespoke
2521: [22:54:37] <adrexia_> ;)
2522: [22:54:40] <SphereSilver> I literally live on the other side of the world ;)
2523: [22:54:46] <adrexia_> yep :D
2524: [22:55:30] <SphereSilver> I have no use for it I guess, we have PayPal or iDeal to deal with :P
2525: [22:55:39] <adrexia_> how DPS works also depends on which dps poroduct you end up using
2526: [22:55:44] <antmas> KiwiPay is generally alright
2527: [22:55:52] <adrexia_> I want stripe
2528: [22:56:01] <adrexia_> but its not here yet :(
2529: [22:56:14] <SphereSilver> Building a gateway is quite a bunch of wtf's ;)
2530: [22:56:36] <adrexia_> but look at this https://stripe.com/ doesn't it look pretty?
2531: [22:57:10] <antmas> that image banner...
2532: [22:57:10] <adrexia_> (I actually want it because I wrestled with getting DPS to work with a javascript app, and it was painful)
2533: [22:57:28] <SphereSilver> You don't want to have a javascript handle your payment.
2534: [22:57:39] <SphereSilver> That's a freepass to giving away API keys and such.
2535: [22:57:41] <terryapodaca> anyone good at building SS query, specifically for a Search string based on three dropdownFields?
2536: [22:57:42] <adrexia_> and yet, you do
2537: [22:57:53] <adrexia_> oh, therew's always a backend
2538: [22:58:04] <adrexia_> somewhere
2539: [22:58:44] <adrexia_> its more that some places haven't realised that it would be nicer to send back a json object than a redirect \]
2540: [22:59:20] <adrexia_> redirect was great when you wanted to sdend to user somewhere else, but in the context of a one page application its rather nasty
2541: [22:59:30] * nickmolhoek has joined #silverstripe
2542: [23:01:12] * azureRaven has joined #silverstripe
2543: [23:01:27] <azureRaven> Hmm. So, on my local machine I can upload just fine, and the folders all work.
2544: [23:01:44] <SphereSilver> Upload restrictions on your remote?
2545: [23:01:44] <azureRaven> I've checked all the site folders on the server and made sure they're 775, and yet, the image are still not loading properly.
2546: [23:02:19] <SphereSilver> Also, security restrictions might get in the way
2547: [23:02:35] <antmas> azureRaven: what's the error?
2548: [23:03:02] <azureRaven> Whenever I upload an image via an UploadField, it shows it uploading then shows a broken image in the upload field.
2549: [23:03:08] <azureRaven> And it doesn't render. :'(
2550: [23:04:04] <antmas> no matter the file type?
2551: [23:04:25] <micmania1> azureRaven: have you checked your error log?
2552: [23:04:42] <azureRaven> Where might that be again?
2553: [23:05:21] * irogue_ has joined #silverstripe
2554: [23:05:22] <micmania1> depends on your server. Usually /var/log/apache2/error.log
2555: [23:05:30] <azureRaven> I shall check.
2556: [23:05:35] * headtrip has joined #silverstripe
2557: [23:05:56] <SphereSilver> VDS/VPS? And with what OS, all makes a diff.
2558: [23:06:17] <simon_w|work> azureRaven, with the 775, who's the owner and group?
2559: [23:06:31] <azureRaven> The root group.
2560: [23:06:33] <azureRaven> Well, not root.
2561: [23:06:36] <azureRaven> But the admin.
2562: [23:06:45] <simon_w|work> And there we go
2563: [23:06:52] <SphereSilver> DigitalOcean?
2564: [23:06:59] <SphereSilver> Hey simon_w|work , how're you?
2565: [23:07:15] <simon_w|work> azureRaven, Should be www-data or nobody, depending on who apache/PHP are running as
2566: [23:07:38] <azureRaven> Right.
2567: [23:07:51] <azureRaven> I'll have to double check. I think the group/user it is set to is the owner
2568: [23:07:54] <simon_w|work> SphereSilver, busy
2569: [23:08:43] <SphereSilver> simon_w|work: Better than being bored ;)
2570: [23:09:35] <Colin[pi]> moin moin
2571: [23:09:38] <SphereSilver> Although, admitted, being overly busy isn't exactly paradise either :)
2572: [23:10:09] * headtrip quit (Ping timeout: 260 seconds)
2573: [23:11:31] * StefanLehmann_ has joined #silverstripe
2574: [23:13:34] * Ryan-Toast quit (Ping timeout: 272 seconds)
2575: [23:14:50] * StefanLehmann quit (Ping timeout: 272 seconds)
2576: [23:15:08] <antmas> http://www.stuff.co.nz/travel/travel-troubles/61302565/Photographer-stunned-by-baby-on-cliff-edge :O
2577: [23:15:24] <pizzathehut> OK friends, who is using what for processing hosted payment pages on SilverStripe 3.1 in NZ/Aussie. If not PaymentExpress (DPS) then who? And is there a module?
2578: [23:15:41] * antmas_ has joined #silverstripe
2579: [23:18:01] * Ryan-Toast_ has joined #silverstripe
2580: [23:18:02] * Ryan-Toast_ is now known as Ryan-Toast
2581: [23:19:13] <Kingy> god im sick of /r/nz
2582: [23:19:23] <zippy> woo the drag and drop page positioning can be fiddly
2583: [23:19:26] <SphereSilver> You take /r too serious
2584: [23:19:30] <Colin[pi]> Kingy: bit like how I feel about /r/australia
2585: [23:19:32] <zippy> not working, refresh, not working, refresh, works
2586: [23:19:34] * antmas quit (Ping timeout: 246 seconds)
2587: [23:20:34] <Kingy> yeah might just not visit that until a week after the election
2588: [23:21:36] <antmas_> hah that blue water article is pretty neat
2589: [23:21:44] <antmas_> the guy that discovered it works here :P
2590: [23:22:34] <Kingy> god damn you Colin[pi]
2591: [23:22:35] <Kingy> "A woolly Aussie heavyweight claims to have toppled Kiwi sheep Shrek's decade-old 27kg record."
2592: [23:23:11] <simon_w|work> pizzathehut, tried https://github.com/frankmullenger/silverstripe-payment-paymentexpress?
2593: [23:23:49] <antmas_> Kingy: I bet Shrek would be pissed
2594: [23:23:55] * antmas_ is now known as antmas
2595: [23:23:59] <Colin[pi]> Kingy: oh that's a different one? I thought it would be Shaun that they found last month
2596: [23:24:08] <irogue_> pizzathehut: also have a look at http://addons.silverstripe.org/add-ons/burnbright/silverstripe-omnipay
2597: [23:24:35] <simon_w|work> Kingy, how old's that? The one in Tas didn't even come close
2598: [23:24:39] <irogue_> if you don't want to use DPS, that has a lot of other options, tho a lot of them don't support NZ so you'll have to do some research
2599: [23:24:55] <Kingy> on front page of stuff so ionno
2600: [23:24:59] * willr quit (Read error: Connection reset by peer)
2601: [23:25:18] <Kingy> "While Wallabies aren't faring too well in comparison to their New Zealand counterparts, the Australian heavyweight is staking a claim on Shrek's decade-old 27 kilogram record, with a fleece weighing in at a whopping 27.53kg.
2602: [23:25:18] <Kingy> Last month another Aussie pretender, Shaun, made a play for Shrek's title but failed to claim it with his fleece weighing in at just 23.5kg."
2603: [23:25:29] * willr has joined #silverstripe
2604: [23:25:40] <antmas> Ryan-Toast: you read this by any chance? https://www.goodreads.com/book/show/30036.Elric_of_Melnibon_
2605: [23:25:56] * simon_w|work rages some more about Angular
2606: [23:26:00] <Ryan-Toast> antmas: narp
2607: [23:26:15] <simon_w|work> {{ rows.length == 0 ? 0 : 1 }}
2608: [23:26:24] <simon_w|work> WHY YOU SYNTAX ERROR ON '?"
2609: [23:26:27] <SphereSilver> simon_w|work: Have you tried TypeScript?
2610: [23:26:48] <simon_w|work> SphereSilver, no, and that would be no help whatsoever
2611: [23:27:02] <SphereSilver> It would make more structured JS usually
2612: [23:27:26] <simon_w|work> What's that got to do with Angular being crap?
2613: [23:28:05] <SphereSilver> Not much, I only know it works together with multiple js things, so it might help you a bit.
2614: [23:28:23] <adrexia_> javascript has a very interestign relationship to numbers
2615: [23:28:28] <SphereSilver> Just a random thought. I'm not experienced with Angular, I prefer Backbone
2616: [23:28:35] <adrexia_> it pretty much just doesn't like them I think
2617: [23:28:53] <UncleCheese> ReactJS TW
2618: [23:28:56] <UncleCheese> FTW*
2619: [23:29:20] <UncleCheese> I don't understand the attraction to Angular, I have to be honest
2620: [23:29:34] <adrexia_> <SphereSilver> Just a random thought. I'm not experienced with Angular, I prefer Backbone
2621: [23:29:36] <simon_w|work> UncleCheese, now you're just making products up
2622: [23:29:51] <adrexia_> that is the first tiem I have ever heard anyone said it that way around
2623: [23:30:16] <adrexia_> <UncleCheese> have you used it much?
2624: [23:30:21] <adrexia_> it fgorws on you
2625: [23:30:24] <adrexia_> *grows
2626: [23:30:37] * pippy has joined #silverstripe
2627: [23:30:44] <SphereSilver> UncleCheese: I guess it's a matter of preference
2628: [23:30:50] <UncleCheese> nah
2629: [23:30:55] <simon_w|work> adrexia_, I'm finding the opposite :p
2630: [23:30:56] <UncleCheese> I have used Angular
2631: [23:31:01] <adrexia_> its a matter of purpose I think
2632: [23:31:06] <Ryan-Toast> Oh rich snippets, you’re so fucking annoying
2633: [23:31:11] <adrexia_> NOt every tool is good at solving every problem
2634: [23:31:14] <UncleCheese> it suffers all the same problems as all the other JS frameworks
2635: [23:31:23] <SphereSilver> Ryan-Toast: Rich Snippet is easy
2636: [23:31:35] <Ryan-Toast> SphereSilver: I know it’s easy, but it’s still annoying
2637: [23:31:43] <adrexia_> no framework will fix bad development
2638: [23:31:44] <UncleCheese> let's invent a pile of new concepts around JS that force you to use some crippled form of what used to be a powerful language
2639: [23:31:47] <jordank> hey guys
2640: [23:31:53] <jordank> having a very strange issue with a form
2641: [23:31:59] <adrexia_> though as a language I hear Go tries very hard to
2642: [23:32:15] <SphereSilver> UncleCheese: The chosen "framework" is usually a preference for one. Angular is not on my list, but some others I know, prefer it.
2643: [23:32:19] <UncleCheese> i think Angular calls them "directives" or something like that
2644: [23:32:24] <jordank> it's on a 2.4 site, and when i submit the form, the URL just gets the form name appended to it, and the FormAction is never actually called
2645: [23:32:27] <jordank> no errors or anything
2646: [23:32:39] <Colin[pi]> guise guise... you just dont get it.. we should all be using Haskell
2647: [23:32:43] <jordank> just doesn't call the FormAction on submission of the form, can't figure out why :/
2648: [23:32:44] <UncleCheese> React is great because there's nothing to know.. it rerenders the app every time the state changes, and best of all you get to write in JavaScript
2649: [23:32:45] <adrexia_> "powerful" often makes for very messy
2650: [23:32:53] <UncleCheese> and it's blazingly fast
2651: [23:32:56] <simon_w|work> jordank, does the form method always return the form?
2652: [23:33:03] <SphereSilver> jurdank, have you stepped through the procedure via debugger?
2653: [23:33:03] <simon_w|work> And is it an allowed action?
2654: [23:33:17] <jordank> it's 2.4 so there aren't allowed_actions right?
2655: [23:33:29] <adrexia_> meh. I'm willing to bend to any framework so long as their are docs
2656: [23:33:33] <jordank> i've stepped through the form itself and can't see any problems
2657: [23:33:35] <adrexia_> *there
2658: [23:33:36] <SphereSilver> It exists, and when used, it makes a difference
2659: [23:33:40] <UncleCheese> jordank you need to add it to your allowed_Actions
2660: [23:33:45] <jordank> even in 2.4?
2661: [23:33:53] <UncleCheese> yes
2662: [23:33:58] <SphereSilver> jordank: Yes, try it.
2663: [23:34:13] <SphereSilver> Although afaik, it's not mandatory, it can't hurt ;)
2664: [23:34:36] <UncleCheese> IIRC once you've opted into allowed_actions you need to use it for everything
2665: [23:34:49] <UncleCheese> if you have no allowed_actions defined, it might work, but that's a huge security risk
2666: [23:35:27] <antmas> UncleCheese: hey can you check the demo site for the dashboard module? I may not be needing it, but just want to check it for a client
2667: [23:35:30] <jordank> okay it's an allowed action now
2668: [23:35:32] <jordank> but still the same
2669: [23:35:46] <jordank> doesn't reach the FormAction method, no errors though
2670: [23:36:03] <simon_w|work> jordank, does the form method always return the form?
2671: [23:36:09] <SphereSilver> The FormFunction itself needs to be allowed
2672: [23:36:27] <jordank> simon_w, yes
2673: [23:37:04] * ss31noob quit (Ping timeout: 246 seconds)
2674: [23:37:36] <jordank> SphereSilver, both the form and the form action have been set as allowed_actions but still behaving the same
2675: [23:38:13] <micmania1> jordank: have you flushed?
2676: [23:38:24] <SphereSilver> Have you put a breakpoint at line one of the actual action? Does it get there?
2677: [23:38:57] <jordank> here's the code: http://pastebin.com/cakUdV5Y. as a side note, i didn't write that code, it's inherited from a previous developer and has suddenly stopped working
2678: [23:39:28] <jordank> SphereSilver, i've put a a debug::dump() and a die() at the start of the form action as you can see in the code above
2679: [23:39:40] <jordank> micmania1: yeah done a dev/build and a flush=all
2680: [23:39:51] <UncleCheese> jordank in 2.4 you can't inject statics that way
2681: [23:40:15] <UncleCheese> you'll need to use the extraStatics() method (deprecated in 3.0)
2682: [23:40:33] <jordank> UncleCheese, oh right, will change that now
2683: [23:41:58] <jordank> UncleCheese, is this right? http://pastebin.com/t3QnxpG5
2684: [23:42:04] <jordank> still not working after that change
2685: [23:42:18] <UncleCheese> that's the one
2686: [23:42:20] <SphereSilver> If the extension extends the controller
2687: [23:42:53] <jordank> DataObject::add_extension('Product_Controller', 'Product_ControllerDecorator');
2688: [23:42:59] <jordank> that's the associated config line
2689: [23:43:08] <SphereSilver> ok
2690: [23:43:29] <SphereSilver> ok, 1.45 AM
2691: [23:43:32] <jordank> so yeah, i did a dev/build and flush after that change, but still behaving exactly the same
2692: [23:43:45] <SphereSilver> I'm off guys, I'm tired.
2693: [23:43:49] <Colin[pi]> nn SphereSilver
2694: [23:44:19] <Colin[pi]> hey NZ'ers, this is perfect for you now: http://www.urmesurveillance.com/urme-prosthetic/
2695: [23:44:26] <Colin[pi]> if a little creepy...
2696: [23:44:37] <jordank> i've inserted debug::dump() messages throughout the AddMultipleToCartForm and when submitting the form, it gets all the way to the bottom (i.e. returns the form)
2697: [23:45:31] <jordank> but the actual page on the website remains exactly the same after submitting the form, except the URL gets '/AddMultipleToCartForm' appended to it
2698: [23:45:41] <antmas> Colin[pi]: o.O
2699: [23:45:58] * SphereSilver has joined #silverstripe
2700: [23:46:05] <SphereSilver> I just thought of something.
2701: [23:46:25] <adrexia_> hahaha
2702: [23:46:28] <SphereSilver> You might want to run your form as an extension of the Form class, instead of an extension
2703: [23:46:45] <jordank> yeah?
2704: [23:46:48] <SphereSilver> Then, address the form via the controller-extending class
2705: [23:47:17] <SphereSilver> so, class yourForm extends Form { __construct() { Do your form stuff }
2706: [23:47:24] <SphereSilver> Also, handle in said class
2707: [23:47:35] <SphereSilver> in your page extension, have a function return said form.
2708: [23:47:44] <simon_w|work> jordank, the problem is mostly likely from $quantity being a SS_HTTPRequest object, which you're not expecting
2709: [23:48:03] <SphereSilver> Anyway, bed now, talk later.
2710: [23:48:11] * SphereSilver quit (Client Quit)
2711: [23:50:39] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2712: [23:51:01] <jordank> simon_w, i added this at the top of the form: debug::dump($quantity);die();
2713: [23:51:15] <jordank> on submit, it's still just '1' (which is the correct quantity)
2714: [23:52:20] * Pyromaniik has joined #silverstripe
2715: [23:52:39] <Pyromaniik> JUST WANNA SAY
2716: [23:52:40] <Pyromaniik> https://twitter.com/phpne/status/511932235193139200
2717: [23:52:49] <Pyromaniik> NO EQUIVALENT PIC OF THE OTHER GUY
2718: [23:53:25] <Pyromaniik> #favouritisim :<
2719: [23:53:28] <simon_w|work> jordank, it shouldn't
2720: [23:54:09] <antmas> Pyromaniik: lolguts
2721: [23:54:21] <Pyromaniik> yup, a little dark.
2722: [23:54:28] <Pyromaniik> BUT I HAD MORE QUESTIONS AT THE END OF IT
2723: [23:54:36] <simon_w|work> Pyromaniik, /tableflip
2724: [23:54:41] <simon_w|work> Also, how was your talk?
2725: [23:54:45] <Pyromaniik> albeit some of them were "how can I get such a sweet shirt?"
2726: [23:54:45] <jordank> simon_w, is that perhaps the issue? that a request isn't being passed to the form somehow?
2727: [23:54:56] <Pyromaniik> simon_w|work: went well :>
2728: [23:55:10] <Pyromaniik> gonna put it on the githubs eventually.
2729: [23:55:14] <simon_w|work> jordank, looks like it
2730: [23:55:18] <Pyromaniik> but it's not quite done yet.
2731: [23:55:22] <Pyromaniik> :P
2732: [23:55:32] <simon_w|work> Pyromaniik, you're going to opensource SilverStripe? :p
2733: [23:55:35] <jordank> simon_w: so any ideas what could be causing that or how to fix it?
2734: [23:55:40] <Pyromaniik> (I actually out of the slides and into the code editor at one point)
2735: [23:55:48] <Pyromaniik> simon_w|work: hahahaa
2736: [23:56:00] <Pyromaniik> I already did. But my fork is named 'sapphire'.
2737: [23:56:09] <Pyromaniik> xP
2738: [23:56:18] <Stomach> simon_w|work - whats working with the trademe API like?
2739: [23:56:30] <simon_w|work> Stomach, horrible
2740: [23:56:32] <Pyromaniik> Stomach: LIKE TRADING MINI ME'S
2741: [23:56:54] <Stomach> simon_w|work - just because, or is it just pretty shitty?
2742: [23:57:19] <simon_w|work> jordank, make sure the method exists on the controller and before the init stuff
2743: [23:57:33] <zippy> Pyromaniik: talk went well?
2744: [23:57:42] <simon_w|work> Stomach, the fields you need to supply are provided dynamically by the API
2745: [23:57:49] <Ryan-Toast> Can someone please tell me why this doesn’t seem to work? http://pastebin.com/57LJivvS
2746: [23:57:54] <Pyromaniik> zippy: yup. I turned up and was all "I haven't finished my slides"...
2747: [23:58:01] <Pyromaniik> thus making the Laravel guy go first
2748: [23:58:13] <Pyromaniik> "What's new in Laravel 5?"
2749: [23:58:31] <simon_w|work> Ryan-Toast, you're not doing anything with $tags
2750: [23:58:36] <Pyromaniik> say nek minnit... NOTHING THAT HASN'T BEEN IN SILVERSTRIPE FOR 7+ YEARS
2751: [23:58:37] * onfire has joined #silverstripe
2752: [23:58:38] * elgrodo quit (Ping timeout: 245 seconds)
2753: [23:58:54] <Ryan-Toast> simon_w|work: is it not extending MetaTags?
2754: [23:58:58] <onfire> Hi guys, trying to setup custom routes to a root controller in 3.1.6 framework
2755: [23:59:10] <zippy> I was thinking, man, they are rushing laravel 5 out the door and 4.3 isn't even shipped yet. but just saw 4.3 has become 5 - makes sense with the directory restructure...
2756: [23:59:11] <Pyromaniik> and what is the problem onfire ?
2757: [23:59:14] <onfire> but for some reason they don't want to go to the correct action anymore??
2758: [23:59:14] <simon_w|work> Ryan-Toast, no
2759: [23:59:18] <onfire> earlier versions off ss are ok
2760: [23:59:26] <Pyromaniik> and what is the problem onfire ?
2761: [23:59:28] <Ryan-Toast> simon_w|work: How can I get it to extend it?
2762: [23:59:38] <simon_w|work> Ryan-Toast, $this->owner->MetaTags = $tags
2763: [23:59:57] <Ryan-Toast> simon_w|work: How can I add it, not override?
2764: [23:59:58] <Pyromaniik> zippy: yeah, so "omg we don't need a pre-defined directory structure anymore!! OMG OMG OMG OMG OMG"

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