#silverstripe IRC Log

IRC log for 30 July 2013

All timestamps are in UTC.

1: [00:00:03] <irogue> was it by any chance *the* street?
2: [00:00:08] <UncleCheese> what?!
3: [00:00:13] <simon_w> Yes, it was that street
4: [00:00:14] <UncleCheese> surely it was an American
5: [00:00:21] <simon_w> Nope
6: [00:00:25] <irogue> http://en.wikipedia.org/wiki/Baldwin_Street
7: [00:00:28] <UncleCheese> oh no
8: [00:00:34] * catcher quit (Quit: Leaving)
9: [00:00:37] <simon_w> Drunk students :p
10: [00:00:48] <UncleCheese> ah
11: [00:01:04] <irogue> In March 2001, a 19-year-old University of Otago student was killed when she and another student attempted to travel down the street inside a wheelie bin. The bin collided with a parked trailer, killing her instantly, and causing serious head injuries for the other student.
12: [00:01:05] <UncleCheese> i keep waiting for you to tell me there's a video
13: [00:01:37] <irogue> i doubt of that particular incident, but there's no shortage of crazy videos involving baldwin st
14: [00:01:40] <ss23> lol UncleCheese, sicko!
15: [00:02:11] <UncleCheese> oh, didn't realise there was a death
16: [00:02:38] * trent001 quit (Remote host closed the connection)
17: [00:03:00] <Colin[pi]> wheelie bin racing: http://www.youtube.com/watch?v=et-41peG750
18: [00:06:32] <simon_w> One of the benefits of having hills :p
19: [00:06:44] <AlphaCactus> is there no audio in that vid
20: [00:08:52] * DesignerX quit (Ping timeout: 264 seconds)
21: [00:09:43] <Jayden90> In relation to my earlier question, how do you get the current page resultset specific to the location of a custom template control?
22: [00:09:52] * batbadger has joined #silverstripe
23: [00:10:15] <Jayden90> in the PHP that is
24: [00:10:22] <batbadger> is there a way to define a constant to pass to an include? <% include Foo Bar="value" %> kind of thing
25: [00:10:27] <batbadger> i'm getting no error, and it's not working
26: [00:11:05] <batbadger> seems like $someMethod.value is expecting an object rather than an associative array, so i can't just function someMethod(){ array('value' => ''); }
27: [00:11:09] <batbadger> +return
28: [00:11:48] * DigNZ quit (Quit: DigNZ)
29: [00:12:03] <simon_w> Jayden90, unless you're using $Top/$Up, it's just $this
30: [00:12:22] <simon_w> batbadger, <% include Foo Bar="value" %>
31: [00:13:40] * trent001 has joined #silverstripe
32: [00:13:41] <Peavers> simon_w, remeber that plugin you built for me?
33: [00:13:47] <simon_w> Yes
34: [00:13:59] <Peavers> Did you ever see it working fully in action?
35: [00:14:15] <simon_w> Well, it worked with the test ESAA stuff I was given
36: [00:14:32] <Pyromanik> 11:58 < EasyCo> Nappies? You mean diapers :)
37: [00:14:32] <Peavers> Good
38: [00:14:33] <Peavers> so
39: [00:14:40] <Pyromanik> No, he's in NZ now, it's nappies!
40: [00:14:50] <Peavers> the user logs in on example.com
41: [00:14:57] <Peavers> and it takes them to ESAA?
42: [00:15:00] <Peavers> or?
43: [00:15:03] <simon_w> Yup
44: [00:15:18] <Peavers> and from ESAA they can go through to a silverstripe instance without logging back in?
45: [00:15:42] <simon_w> Well, they go back to example.com
46: [00:15:43] <Pyromanik> guys guys guys, if there's one thing I learnt from WDCNZ is that everyone should be using persona.
47: [00:15:56] <Peavers> does it do that automaticaly?
48: [00:16:00] <Peavers> or do they need to click on something
49: [00:16:20] <simon_w> They do need to be logged into ESAA, otherwise it should be automatic
50: [00:16:23] <ss23> yo Peavers drop da government contract
51: [00:16:25] <Colin[pi]> awww yea finally I'm on the SSDN
52: [00:16:26] * ss23 WUB WUB WUB
53: [00:16:43] <Pyromanik> 11:49 <+ss23> rofl
54: [00:16:45] <Pyromanik> 11:49 <+ss23> rofl
55: [00:16:46] <batbadger> weird that was the first thing i tried simon_w
56: [00:16:51] <Pyromanik> IKR ss23
57: [00:16:55] <Pyromanik> dat bread truck
58: [00:16:56] <Pyromanik> so good
59: [00:16:59] <trent001> Hey am using ->addExtraClass() to add some classes to some form elements. Does anyone know an easy way to stop SS adding this class to the container element as well the input element. Am trying to avoid writing a custom form template just to solve this one problem.
60: [00:17:00] <Peavers> okay, so the users goes to the silverstripe instance, logs in with their ESSA details, and they end up back at their SS instance without having to click anything else?
61: [00:17:08] <Colin[pi]> I'm baking bread right now
62: [00:17:10] <Peavers> (sorry, our PM is really confused about the processes and is barking up my tree)
63: [00:17:11] <simon_w> Yup
64: [00:18:52] <simon_w> Peavers, I just ran it again. Click Login in SS, redirected to ESAA, put in username/password (if not already logged in), redirected back to SS
65: [00:19:00] <Pyromanik> ss23: Also, when I walked home from Newtown, not only did I not get stabbed, I only saw ONE upsidedown wheelie bin. (re. the convo with UncleCheese)
66: [00:19:10] <simon_w> That's two clicks in total (one in SS, one to submit login form in ESAA)
67: [00:19:11] <Peavers> okay good
68: [00:19:11] <ss23> hahaha
69: [00:19:13] <Pyromanik> it was outside a motel, I laughed out loud.
70: [00:19:19] <ss23> Pyromanik: Someone got hurt bad the other day :O
71: [00:19:26] <Pyromanik> ss23: :O
72: [00:19:29] <ss23> Cops came to us and was like "there has been a serious assult here, what did you hear!?"
73: [00:19:29] <UncleCheese> you walked in Newtown?
74: [00:19:48] <Peavers> How are you still alive?
75: [00:19:50] <Pyromanik> UncleCheese: I walked from Newtown to Lampton Quay at midnight.
76: [00:20:06] <Pyromanik> only took 40 mins.
77: [00:20:09] <Peavers> lies
78: [00:20:11] <Peavers> you'd be dead.
79: [00:20:15] <Pyromanik> and no perpherations.
80: [00:20:22] <irogue> i've walked from Manukau to Penrose at 3am before
81: [00:20:37] <irogue> not gonna lie, it was fuckin terrifying
82: [00:20:46] <Peavers> I walked from pipitea street to little pipitea street, didn't even die.
83: [00:20:53] <Pyromanik> I just strutted around like a bawss and everyone thought I was legit.
84: [00:21:09] <simon_w> Peavers, and, if you're already logged in to ESAA, just click login in SS, go through the redirects, and you're done
85: [00:21:22] <irogue> threw Papatoetoe and Otahuhu
86: [00:21:28] <Peavers> perfect, why couldn't anyone email that to the PM lol
87: [00:21:38] <simon_w> I walked through Karori at like 1 in the morning. Sweet as :p
88: [00:21:56] <Peavers> I'm never out past 10, because I'm not a trouble maker.
89: [00:21:56] <Pyromanik> ss23: Peavers yeah, was back in my hotel room at 12:45, in bed, and then... RUBBISH TIME!
90: [00:21:58] <irogue> got approached by a few prostitutes in papatoetoe but "sorry, I'm gay" worked perfectly well
91: [00:22:33] <Pyromanik> about an hour of a truck parked in the back alley echoing sounds right up of them picking up trash and compacting it from what I can only assume was every single building in the vicinity
92: [00:22:36] <irogue> luckily none of the ones who approached were the fafafine
93: [00:23:03] <ss23> fafafine?
94: [00:23:08] <irogue> or i mightve got a "that's okay, i've got a dick" in response
95: [00:23:28] <irogue> ss23: http://en.wikipedia.org/wiki/Fa'afafine
96: [00:23:54] <ss23> scary URL
97: [00:24:05] <ss23> ;___;
98: [00:24:53] <irogue> lots of fafafine prostitutes in papatoetoe
99: [00:25:05] <ss23> Hmm, I have an interesting problem... with anchors
100: [00:25:07] <Colin[pi]> fafafine papatoetoe
101: [00:25:13] <Colin[pi]> I thought Australia had weird names
102: [00:25:28] * trent001 quit (Remote host closed the connection)
103: [00:26:02] <irogue> Colin[pi]: lol
104: [00:26:45] <Pyromanik> ss23: and how they make an &nbsp; space BEFORE the header element you're trying to anchor?
105: [00:26:52] <ss23> idk :O
106: [00:27:04] <irogue> Colin[pi]: i was actually surprised how many aboriginal names i saw in AU considering how much y'all try to pretend aborigines don't exist
107: [00:27:07] <ss23> I think I'm a nerd. I just got an email from a friend, the body just https://en.wikipedia.org/wiki/Island_of_stability
108: [00:27:39] <ss23> holy crap
109: [00:27:42] <ss23> watching https://upload.wikimedia.org/wikipedia/commons/b/bc/Island_of_Stability.svg render is awesome
110: [00:27:50] <Colin[pi]> irogue: I lived in Wagga Wagga growing up
111: [00:28:12] <Colin[pi]> it means "Many crows" apparently
112: [00:28:23] <spronk> cool
113: [00:29:06] <Pyromanik> SPONTANEOUS FISSION!
114: [00:29:48] <ss23> lol yes
115: [00:29:53] <ss23> the sea of insability!
116: [00:29:55] <EasyCo> Pyromanik: Yah that was the joke :)
117: [00:30:29] * DigNZ has joined #silverstripe
118: [00:30:30] * DigNZ quit (Remote host closed the connection)
119: [00:30:44] * DigNZ has joined #silverstripe
120: [00:33:19] <spronk> haha
121: [00:33:24] <spronk> people flying to auckland today gonna be bummed
122: [00:33:33] <ss23> whys that?
123: [00:33:42] <spronk> check out flightradar
124: [00:33:46] <ss23> spronk: Link?
125: [00:33:48] <spronk> dno wtf is going on, but noone's landing
126: [00:33:50] <ss23> So Oracle has started *closing* MySQL bugs just saying "We'll fix this later"
127: [00:33:59] <spronk> http://www.flightradar24.com/JST248 et al
128: [00:34:24] <spronk> there was fog this morning, but..
129: [00:34:42] <ss23> so they just circled then diverted to wlngtn?
130: [00:35:00] <ss23> weird
131: [00:35:01] <ss23> :O
132: [00:35:01] <spronk> yeah, but there's like 10 planes that have been diverted
133: [00:35:11] <spronk> and one has been circling above auckland for aaages
134: [00:35:28] * spronk has flightradar running on his ipad as a fourth screen when it isn't doing anything else :P
135: [00:35:55] <ss23> XD
136: [00:36:00] <ss23> ZOMBIES MAN
137: [00:36:02] <ss23> IT'S THE ZOMBIES
138: [00:36:04] <spronk> http://www.flightradar24.com/MAS131
139: [00:36:05] <spronk> check this out
140: [00:36:07] <ajmitch> stuff says fog
141: [00:36:12] <ajmitch> so probably zombies
142: [00:36:16] <ss23> lol
143: [00:37:04] <irogue> a qantas plane has broken down on the runway
144: [00:37:19] <irogue> (surprise surprise, broken qantas plane)
145: [00:37:20] <spronk> oo
146: [00:37:57] <ss23> lol irogue
147: [00:38:09] <ss23> I really need to get my old-page-redirector page into SS
148: [00:38:14] <ss23> It's breaking another site, this time an important one!
149: [00:38:46] <irogue> its times like this that shows why NZ's main airport should probably have more than one runway :P
150: [00:39:15] <simon_w> Huh, I thought it had two
151: [00:39:17] <spronk> mm.
152: [00:39:26] <irogue> simon_w: nope
153: [00:39:32] <spronk> it does, doens't it?
154: [00:39:35] <spronk> but only one suitable for heavies
155: [00:39:47] <irogue> there's a taxiway that's rated for takeoff/landing if the runway gets damaged
156: [00:39:58] * mister_lennon has joined #silverstripe
157: [00:40:01] <irogue> but it's too close to the runway for simultaneous use / use if something's on the runway
158: [00:40:11] <spronk> ah
159: [00:40:53] <irogue> they maintain it at runway "grade" in case the actual runway gets a big crack or something and will be out of action for a while
160: [00:41:20] <irogue> http://upload.wikimedia.org/wikipedia/commons/e/e5/Auckland_Int_Airport_aerial_photo.jpg
161: [00:42:15] <mister_lennon> hi, i'm an admin for a website that uses sliverstripe as CMS , the company that made the website is no longer working, so i nned some help. We have 2500 users now and i need to to delete 2200 of them. at the moment I am manually clicking 'delete' one by one, is there a way to batch delete users? am i asking in the right place ?
162: [00:42:24] <irogue> spronk: looks like MAS131 has given up and heading to hamilton?
163: [00:42:50] <irogue> http://www.flightradar24.com/QFA141 <-- the one on runway
164: [00:44:25] <Jayden90> simon_w: My custom control works but not when nested in <% loop $Menu(1) %>, I have tried $Top.ChildrenOfType without success
165: [00:45:00] <spronk> fail qantas
166: [00:45:21] <irogue> mister_lennon: if it's silverstripe 2.4, i don't think there's really any way to do that without writing some custom code
167: [00:45:43] <irogue> no idea if there's bulk delete in silverstripe 3.x
168: [00:46:09] <irogue> spronk: https://pbs.twimg.com/media/BQYetGTCAAAnrqs.jpg:large
169: [00:46:42] <mister_lennon> irogue, what language should that code be in?
170: [00:46:49] <spronk> hahaa
171: [00:47:00] <spronk> one plane breakdown
172: [00:47:00] <spronk> and
173: [00:47:07] <spronk> like.. 10 flights have to be diverted elsewhere?
174: [00:47:14] <irogue> mister_lennon: it'd be PHP
175: [00:47:20] <irogue> spronk: haha yup
176: [00:47:25] <irogue> auckland *really* needs a 2nd runway
177: [00:47:35] <spronk> and a tow truck, it seems
178: [00:48:00] <irogue> Auckland Airport has confirmed the plane, which had arrived from Sydney, experienced problems with its brakes and now needs to be towed.
179: [00:48:03] <irogue> The incident is causing delays, and some cancellations, for inbound and outbound flights
180: [00:48:06] <irogue> A Cathay Pacific flight from Hong Kong has been diverted to Ohakea air base – the only military base in the country certified to take commercial flights carrying more than 50 passengers. Defence Force spokeswoman Ali Clelland told 3 News those on board will not be allowed to disembark.
181: [00:48:18] <spronk> lol
182: [00:48:21] <spronk> suuucckkk
183: [00:48:35] <irogue> plane too big for hamilton, and not enough fuel to get to wgtn?
184: [00:48:41] <irogue> only reason i can see to go to Ohakea
185: [00:48:44] <spronk> mm..
186: [00:48:51] <spronk> well, they have been circling for god knows how long
187: [00:48:57] <simon_w> Too big for Wellington? :p
188: [00:49:09] <spronk> 777
189: [00:50:08] <irogue> yeah, too big for wgtn i suspect
190: [00:51:09] <spronk> mm
191: [00:51:25] <spronk> hilariously, our capital city can't take big planes up its arse.
192: [00:52:12] <simon_w> It can, they just have to be basically empty
193: [00:52:22] <simon_w> They come back in 2020! :p
194: [00:52:28] <irogue> Auckland: 3,635m
195: [00:52:36] <irogue> Ohakea: 2,445m
196: [00:52:42] <irogue> Hamilton: 2,195m
197: [00:52:48] <irogue> Wellington: 2,081m
198: [00:52:54] <irogue> Whenuapai: 2,031m
199: [00:53:53] <spronk> ohh, the 777 is going to chch
200: [00:53:59] <simon_w> Ooh, so we're planning on making ours longer than Hamilton
201: [00:54:16] <ss23> What an acheivement!
202: [00:54:17] <ss23> :P
203: [00:54:30] <irogue> spronk: ah ok
204: [00:54:37] <irogue> wonder what was diverted to Ohakea then?
205: [00:55:01] <irogue> Christchurch: 3,288m
206: [00:55:20] <irogue> insufficient fuel to get to chch i guess
207: [00:55:33] <irogue> landing at an air force base seems like a very last-ditch option
208: [00:55:41] <spronk> oh
209: [00:55:43] <spronk> there are two 777s
210: [00:55:53] <spronk> one's off to chch
211: [00:56:01] <spronk> other one looks like its off to palmy / ohakea
212: [00:57:51] <simon_w> Sucks to be that one
213: [00:58:37] <spronk> hmm
214: [00:58:41] <spronk> probably less os than the ones going to chch
215: [00:58:46] <spronk> they'll just refuel and head back to aucks, prolly
216: [01:02:00] <irogue> yeah
217: [01:02:16] <irogue> MAS131 has turned around now
218: [01:02:28] <irogue> which was the one that appeared to be heading to Ohakea
219: [01:02:31] <irogue> runway must be cleared
220: [01:02:50] <irogue> yup, an Air NZ 777 has just taken off from AKL
221: [01:03:19] <spronk> ah
222: [01:03:21] <spronk> planegeeking
223: [01:03:26] <spronk> much better than what i'm supposed to be doing
224: [01:03:26] <irogue> <3
225: [01:03:44] * Jayden90 quit (Quit: Jayden90)
226: [01:04:43] * mister_lennon quit (Quit: Leaving)
227: [01:06:18] * T8 has joined #silverstripe
228: [01:06:20] <T8> Hello!
229: [01:06:35] <T8> I have a question about templates and controllers! Ready?
230: [01:07:25] <Colin[pi]> GO FOR IT
231: [01:07:39] <irogue> CONNECT 4!
232: [01:08:00] <T8> When rendering a template that relates to a controller you can call the template based on the method that renders it right? for example: If the controllers name is DEMO_CONTROLLER you could call a template named DEMO_test by calling the test() method on the controller and in the test method you call $this->render()
233: [01:08:19] <T8> does that work?
234: [01:10:17] * zippy__ has joined #silverstripe
235: [01:10:34] <zippy__> afternoon
236: [01:12:06] * mister_lennon has joined #silverstripe
237: [01:18:14] <irogue> http://i.imgur.com/zFRKnhz.jpg
238: [01:25:00] <Pyromanik> saw what looked like the orion coming out of Ohakea yesterday
239: [01:25:21] * mister_lennon quit (Quit: Leaving)
240: [01:26:37] <zippy__> Growing up didn't live to far away from Ohakea - was always cool hearing/seeing the sky hawks
241: [01:27:08] <simon_w> Hehe, Bulls
242: [01:27:48] <ss23> I never know what servers we manage, vs which ones we don't, etc etc
243: [01:27:58] <ss23> clients are like "HALP"
244: [01:27:59] <ss23> sadlkasdfnlksadfnlsadkfnlasdf
245: [01:28:09] <simon_w> Sarlacc, web and db!
246: [01:28:53] <simon_w> Though web and db should be renamed
247: [01:29:26] <ss23> what silly names!
248: [01:30:39] * UncleCheese quit (Quit: UncleCheese)
249: [01:31:46] <Colin[pi]> T8: sorry was afk... the underscore trick for template naming relates to controller and action, i.e. MyPage_mymethod.ss for the controller MyPage with action mymethod
250: [01:31:48] <Colin[pi]> iirc
251: [01:31:58] <Colin[pi]> it's for avoiding ->renderWith() I think?
252: [01:32:13] * GiganticCatfish has joined #silverstripe
253: [01:32:27] <irogue> Pyromanik: i have orion flying overhead daily
254: [01:32:32] <irogue> still fuckin terrifying
255: [01:32:41] <Colin[pi]> read that as "onion"
256: [01:32:44] <irogue> they always sound like they're about to crashland
257: [01:33:08] <GiganticCatfish> Hey, how can I prevent people from accessing uploaded images, yet still be able to serve resized versions of those images in templates?
258: [01:33:30] <Colin[pi]> irogue: was at canberra airport when a C-17 landed, the whole building shook
259: [01:33:41] <ss23> oh simon_w, did you want lunch today?
260: [01:33:54] <ajmitch> Colin[pi]: not that there's much to canberra airport anyway
261: [01:34:05] <Colin[pi]> ajmitch: it just had a major upgrade!
262: [01:34:08] <Colin[pi]> but yeah :P
263: [01:34:17] <irogue> Colin[pi]: yeah, my work is in the landing path for the local air base where Orion and C-130 (Hercules) are based
264: [01:34:59] <ss23> GiganticCatfish: Why would you want to do that?
265: [01:35:11] <irogue> govt wants to let a private helicopter training school colocate with the airforce
266: [01:35:24] <simon_w> ss23, already had it
267: [01:35:28] <ss23> :<
268: [01:35:33] * ss23 cries
269: [01:35:35] <irogue> locals are not pleased at the idea of adding training helicopter traffic to all the existing airforce traffic
270: [01:35:56] <GiganticCatfish> so that photos can be uploaded at high quality and displayed at a smaller size
271: [01:36:01] <ss23> irogue: Meh, not like it'll matter a lot more, might as well make the bad be concerntrated in one plac
272: [01:36:06] <ss23> GiganticCatfish: Yes, that's already what happens, right?
273: [01:36:07] <GiganticCatfish> yet people don't have access to the originals
274: [01:36:15] <ss23> GiganticCatfish: Why do you care if people have access to the originals, I mean?
275: [01:36:23] <ss23> Like, I don't understand why you want this
276: [01:36:26] <GiganticCatfish> coz then people could just print the photo them self lol
277: [01:36:35] <Colin[pi]> my guess, it's a porn site and he wants them to pay for the full size :D
278: [01:36:40] <ss23> lol
279: [01:36:48] <GiganticCatfish> haha no it's a friends photography portfolio
280: [01:36:51] <Colin[pi]> hehehe
281: [01:36:58] <ss23> It's probably possible, yes. I would just add a .htacess rule to prevent direct access to uploads if it's not a _resized
282: [01:37:23] <GiganticCatfish> ahh ok
283: [01:37:51] <ajmitch> "canberra international airport" which has no international flights
284: [01:37:51] <ajmitch> sounds like NZ
285: [01:37:54] <GiganticCatfish> so silverstripe would still be able to access it to generate the resized image though?
286: [01:38:03] <irogue> ajmitch: Hamilton!
287: [01:38:31] <Colin[pi]> ajmitch: lol it did have some a few years back and there is some talk of them doing it again
288: [01:38:55] <ajmitch> irogue: I think Dunedin still has some australian flights
289: [01:38:56] <Pyromanik> hey does github support submodules?
290: [01:39:14] <Colin[pi]> GiganticCatfish: ss would access it via the file system, .htaccess will configure the web server
291: [01:39:38] <GiganticCatfish> ah ok cool :)
292: [01:41:06] <Pyromanik> irogue: I identified it as the orion by the huge trail of 4x black smokes coming out the back
293: [01:41:12] <Pyromanik> Had to have been prop rather than jet.
294: [01:41:22] <Pyromanik> pretty sure it wasn't a hurc.
295: [01:41:26] <Pyromanik> herc*
296: [01:42:00] <Colin[pi]> we had an antonov at canberra once, it went *ok*
297: [01:42:39] <ss23> tfw "help I can't get the emails"
298: [01:42:45] <ss23> CHECK YO SPAM FILTER, BITCH
299: [01:43:06] <ss23> also, my eye has been twitching for like the past 3 days
300: [01:43:07] <ss23> so annoying
301: [01:43:19] <Colin[pi]> irogue/Pyromanik: check out the ATC chat, funny: http://www.youtube.com/watch?v=UZGXwbPfwQs
302: [01:44:04] <unsignedint> hey does anyone know what would cause a form to validate on the initial page load and show errors before a user even has a chance to type anything?
303: [01:44:50] <Colin[pi]> sorry not antonov, Ilyushin
304: [02:01:48] * UncleCheese has joined #silverstripe
305: [02:02:52] <simon_w> ss23, your pull request breaks the tests!
306: [02:07:43] <ss23> :O
307: [02:07:46] <ss23> Which one, simon_w?!
308: [02:07:47] <ss23> lol
309: [02:07:52] <ss23> One of my pull requests was a *docs* bug
310: [02:07:57] <simon_w> OldPageRedirector
311: [02:07:59] <ss23> The other one needs to be fixed, yes
312: [02:08:01] <ss23> Oh yeah, that one
313: [02:08:03] <ss23> It needs to be finished :P
314: [02:08:05] <ss23> It's not done yet
315: [02:08:10] <simon_w> FINISH IT!
316: [02:08:11] <ss23> You offering to finish it, simon_w? :D
317: [02:08:12] <ss23> NU UH
318: [02:08:13] <ss23> :3
319: [02:08:24] <ss23> I will do it one day, but since it's not being merged into 3.1 anyway, there's no real rush
320: [02:09:27] <simon_w> Feature request that has to be fixed but isn't being worked on? Closed! :p
321: [02:09:55] <ss23> simon_w: Nu uh, Ingo said it's okay to have them open as long as they're being worked on etc
322: [02:09:59] <ss23> :D
323: [02:12:24] <simon_w> " <ss23> I will do it one day" Not being worked on! :p
324: [02:12:31] <ss23> IT'S BEING WORKED ON
325: [02:12:34] <ss23> It's int he back of my head!
326: [02:12:37] <ss23> I need a nicer way to do it
327: [02:12:54] <ss23> There's one test that failed that I don't know why, but I haven't had time to look into it properly yet
328: [02:15:11] <GiganticCatfish> hmm so, I got images being blocked but now they don't show up in templates either. Do I just need to fashion a better regex? or is there a better way to do it?
329: [02:15:26] <ss23> I'm not sure about the best way to do it with Silverstripe sorry, GiganticCatfish
330: [02:15:38] <ss23> But if it's not showing up in templates, you probably just need to make sure you're allowing the ones with _resampled in them
331: [02:17:29] * violetina has joined #silverstripe
332: [02:17:39] * T8 quit (Ping timeout: 250 seconds)
333: [02:18:29] <GiganticCatfish> alright cheers :)
334: [02:19:30] * tecnik has joined #silverstripe
335: [02:23:10] * UncleCheese quit (Quit: UncleCheese)
336: [02:25:33] * travis-ci has joined #silverstripe
337: [02:25:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#688 (3.1 - bacf0f6 : Sean Harvey): The build passed.
338: [02:25:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/541436feb0fa...bacf0f6171a2
339: [02:25:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9630511
340: [02:25:33] * travis-ci has left #silverstripe
341: [02:28:57] * UncleCheese has joined #silverstripe
342: [02:29:03] <ss23> wow
343: [02:29:06] <ss23> that is a nice commit
344: [02:29:12] <ss23> whoever made that pull request is a boss.
345: [02:31:31] * GiganticCatfish quit (Ping timeout: 250 seconds)
346: [02:34:21] * GiganticCatfish has joined #silverstripe
347: [02:36:20] <GiganticCatfish> hmm so, I got htaccess to block images accessed directly (eg typed in the url) yet still show in templates
348: [02:36:53] <GiganticCatfish> the problem is, if you modify the html of the page to change an image url to a full res image, you can then still download the original
349: [02:37:13] <GiganticCatfish> any ideas for a more secure solution?
350: [02:37:20] <unsignedint> hey does anyone know how to fix the issue when form validation errors stay in the session forever instead of getting cleared when you hard refresh the page?
351: [02:37:35] <GiganticCatfish> it deters your casual user, but would be good to know best practices
352: [02:37:40] * nickmolhoek quit (Ping timeout: 264 seconds)
353: [02:39:59] <GiganticCatfish> try quitting the browser
354: [02:41:39] * UncleCheese quit (Quit: UncleCheese)
355: [03:00:26] <simon_w> GiganticCatfish, if you really want to stop hard linking, you can't. Faking the referrer is piss-easy
356: [03:03:35] <ss23> Need to test a site that uses twitter, but don't wanna accidently post a bunch of "lol test" shit to their twitter account
357: [03:03:39] <ss23> :<
358: [03:03:43] <GiganticCatfish> ah ok, thanks simon :)
359: [03:07:00] * coldblooded01 quit (Quit: coldblooded01)
360: [03:20:45] * catcher_dev quit (Ping timeout: 268 seconds)
361: [03:25:59] <Pyromanik> ss23: surely twitter has a dev test thing?
362: [03:26:05] <ss23> I presume so
363: [03:26:14] <Pyromanik> hack the twatter api and just put a die() before it posts?
364: [03:26:17] <ss23> lol
365: [03:26:23] <Pyromanik> ?
366: [03:26:27] <ss23> There are lots of ways I can test
367: [03:26:33] <ss23> None of them are as simple as it magically being set up already!
368: [03:26:39] <Pyromanik> shuttup man, that's so legit.
369: [03:26:56] <Pyromanik> ss23: change the twitters nsmea
370: [03:26:58] <Pyromanik> same
371: [03:26:59] <Pyromanik> name
372: [03:27:00] <Pyromanik> wut
373: [03:27:01] <Pyromanik> name
374: [03:27:04] <Pyromanik> yes
375: [03:27:06] <Pyromanik> name!
376: [03:27:13] <ss23> DataObject::get('SQLInjectMe', "OhGodInjectMeHarder $fuckyes');
377: [03:27:24] <Pyromanik> forl
378: [03:27:28] <Pyromanik> QWTF
379: [03:27:30] <Pyromanik> ROFL**
380: [03:27:35] <Pyromanik> dammit
381: [03:27:39] <Pyromanik> wtf fingers, wtf.
382: [03:27:45] <ss23> If I had $5 for every time I found exploits in code, I swear
383: [03:27:50] <ss23> I would have at *least* $10
384: [03:27:59] <Pyromanik> awesome
385: [03:28:16] <Pyromanik> ss23: the third s stands for securitah.
386: [03:28:28] <ss23> The third s?
387: [03:31:53] <ss23> die('Posting to twitter?! OH HELL NAW');
388: [03:31:56] <ss23> It's as you wish, Pyromanik
389: [03:31:56] <ss23> :D
390: [03:32:32] <Pyromanik> xD
391: [03:32:35] <Pyromanik> you know it
392: [03:32:59] <Pyromanik> sss23: better than a third k.
393: [03:33:03] <ss23> lol
394: [03:35:18] <Pyromanik> if in doubt, hack the core.
395: [03:35:39] <Pyromanik> die('ALL the things!')
396: [03:36:36] <Colin[pi]> are ORM calls cached? i.e. if the code is doing get_by_id() more than once is it going to the db each time or not?
397: [03:37:18] <zippy__> turn on the debug to see the queries
398: [03:37:44] * batbadger is now known as timespoon
399: [03:37:51] <Colin[pi]> but it's easier to ask here :D
400: [03:38:22] <Pyromanik> Colin[pi]: nope
401: [03:38:29] <Pyromanik> err, yes, nope, in that order.
402: [03:38:43] <Pyromanik> yepnope.js
403: [03:38:48] <Colin[pi]> wut
404: [03:39:05] <Colin[pi]> wait.. it pulls from the db on each call?
405: [03:39:56] <Pyromanik> yes it's cached, nah it doesn't call the db each time.
406: [03:40:04] <Colin[pi]> ah phew, thx
407: [03:40:14] <Pyromanik> unless it's updated.
408: [03:40:17] <Pyromanik> or something
409: [03:40:18] <Pyromanik> maybe
410: [03:40:20] <Pyromanik> unsure
411: [03:40:20] <Colin[pi]> hehe
412: [03:40:23] <Pyromanik> ask your father.
413: [03:40:37] <Pyromanik> or in this case, simon_w.
414: [03:40:40] <ss23> Colin[pi]: Just add the URL param "showqueries=1" and it'll show you the SQL
415: [03:40:49] <Pyromanik> if that even still works.
416: [03:40:55] <Pyromanik> (was the business in 2.4)
417: [03:40:59] <ss23> works
418: [03:41:02] <ss23> I use it all the time
419: [03:41:02] <ss23> :D
420: [03:41:06] <Colin[pi]> oh that's useful
421: [03:41:07] <Pyromanik> legit.
422: [03:41:13] <Colin[pi]> how did I not know about that? o_O
423: [03:41:26] <Pyromanik> because you never read the urlvariabletools page
424: [03:41:41] <Pyromanik> http://www.doc.silverstripe.org/framework/en/reference/urlvariabletools
425: [03:41:58] <Colin[pi]> hmm buttload of queries, but all executing pretty fast
426: [03:42:11] <Pyromanik> isDev doesn't work in 3.0, apparently fixed in 3.1
427: [03:42:35] * GiganticCatfish quit (Ping timeout: 250 seconds)
428: [03:43:10] <Colin[pi]> I might give SS3 another try with 3.1
429: [03:43:40] <Pyromanik> rofl
430: [03:43:52] <Pyromanik> "Make the profile page look like southpark" - lolwut
431: [03:43:59] * swordsmanz quit (Quit: swordsmanz)
432: [03:44:00] <Pyromanik> then "http://southparkcorp.co.nz/people/directors/" - oic...
433: [03:44:02] <Colin[pi]> wat?
434: [03:44:32] <Pyromanik> so not actually http://www.southparkstudios.com/avatar
435: [03:44:34] <Pyromanik> :P
436: [03:45:59] * nickmolhoek has joined #silverstripe
437: [03:46:00] * nickmolhoek quit (Remote host closed the connection)
438: [03:46:14] * nickmolhoek has joined #silverstripe
439: [03:48:06] <irogue> pity
440: [03:48:09] <irogue> cos thatd be way cooler
441: [03:48:30] <Pyromanik> irogue: haha, yeah, i was just thinking that
442: [03:49:44] <Colin[pi]> they must have existed before the show, right?
443: [03:49:54] <Colin[pi]> I mean no one would name themselves Southpark these days
444: [03:50:03] * UncleCheese has joined #silverstripe
445: [03:50:26] <ss23> I blame UncleCheese tbh
446: [03:50:41] <UncleCheese> what did i do?
447: [03:50:48] <spronk> WTF
448: [03:50:53] <spronk> my build of sublime has expired!?
449: [03:50:55] <spronk> and i can't use it anymore?
450: [03:51:22] <Colin[pi]> that sucks
451: [03:51:39] <spronk> k
452: [03:51:40] <spronk> download again
453: [03:51:44] <spronk> works now
454: [03:51:44] <spronk> sigh
455: [03:51:51] <spronk> fucking software that phoesn home
456: [03:51:59] <Colin[pi]> firewall ftw
457: [03:52:51] <Pyromanik> Colin[pi]: yeah, I'd assume so, by looking at the age of those folks and that logo.
458: [03:53:46] <Colin[pi]> yeah the SP avatars would all look the same except for the dude on the right
459: [03:54:24] <ss23> fuck software that phones home, and fuck sofrware that doesn't!
460: [03:54:24] <Pyromanik> who just happens to be the youngest guy with the same last name as the most important guy... lol
461: [03:54:30] <Colin[pi]> hehehe
462: [03:54:44] * cloph_away has joined #silverstripe
463: [03:55:21] * cloph quit (Ping timeout: 264 seconds)
464: [03:58:44] * binman quit (Ping timeout: 260 seconds)
465: [04:16:34] * Jayden90 has joined #silverstripe
466: [04:17:20] <Jayden90> Just did /dev/tasks, "Flush Generated Images Task"
467: [04:17:30] <Jayden90> none of the WYSIWYG images are being regenerated
468: [04:18:35] <Pyromanik> what do you mean?
469: [04:18:54] <irogue> a recruitment agency keeps trying to call me but not leaving a voicemail
470: [04:19:01] <irogue> foff
471: [04:19:01] <Pyromanik> irogue: hha
472: [04:19:25] <Jayden90> Pyromanik: any image that was inserted using the TinyMCE editor is now 404
473: [04:19:33] <Pyromanik> haha, guts.
474: [04:19:36] <Pyromanik> resave the page.
475: [04:19:45] <Pyromanik> use bulk editing tool
476: [04:19:48] <Pyromanik> publish all pages.
477: [04:19:54] <Pyromanik> (all that should be published)
478: [04:20:03] <Jayden90> "/admin/pages/publishall/"
479: [04:20:07] <Pyromanik> well...
480: [04:20:12] <Pyromanik> if you're sure everything should be published.
481: [04:20:26] <Jayden90> yea
482: [04:20:32] <Pyromanik> all flushing the generated images cache does is delete all the _resampled folders
483: [04:20:52] <Pyromanik> $Image.SetRatioSize(80,80) etc generates them on the fly
484: [04:20:58] <Pyromanik> (if needed).
485: [04:21:06] <Pyromanik> but images in the CMS are resized on save.
486: [04:21:19] <Pyromanik> and referenced directly.
487: [04:21:31] <Pyromanik> so yeah, no file, 404.
488: [04:22:32] <Jayden90> Awsome, thanks
489: [04:22:42] <Jayden90> :)
490: [04:36:07] <simon_w> Peavers, I got your email address now!
491: [04:36:43] <ss23> :O
492: [04:36:46] <ss23> I BET I HAVE IT TOO
493: [04:36:47] <Peavers> I know
494: [04:36:47] <ss23> Somewhere
495: [04:36:50] <Peavers> I GOT YOURS TOO
496: [04:36:54] <Peavers> well, giving you access anyway.
497: [04:36:55] <simon_w> DUN DUN DUN
498: [04:37:34] <Peavers> boom, your a dev on the master
499: [04:37:42] <Peavers> push me da plugin son.
500: [04:38:01] <simon_w> Eh, I'll do it tomorrow :p
501: [04:40:35] * Jayden90 quit (Quit: Jayden90)
502: [04:42:30] <ss23> :syntax on -> Sorry, the command is not available in this version
503: [04:42:31] <ss23> KILL ME
504: [04:43:43] <simon_w> Okay!
505: [04:44:03] <ss23> :O
506: [04:44:11] <ss23> Scary, since simon_w is close enough to do it!
507: [04:44:16] <ss23> I'll rephrase
508: [04:44:20] <ss23> REFORMAT THIS SERVER
509: [04:44:55] <simon_w> But where's the fun in that?
510: [04:45:11] <ss23> Come on, reformating servers is fun as bro :D
511: [04:45:37] * will has joined #silverstripe
512: [04:46:16] <will> Hello. I have a super simple question - how can i access querystring parameters in funcitons in my controller?
513: [04:46:31] <simon_w> $this->request->getVar('name')
514: [04:46:54] <guzzlefry> Is there anyway implementing a permissionprovider can cause admin login to fail?
515: [04:50:48] <Pyromanik> 16:37 < Peavers> boom, your a dev on the master
516: [04:50:51] <Pyromanik> YOU'RE
517: [04:51:00] <ss23> lol
518: [04:51:03] <Peavers> Pyromanik
519: [04:51:05] <Peavers> gtfo.
520: [04:51:09] <ss23> yeah
521: [04:51:10] <ss23> gtfo.
522: [04:51:15] <ss23> us cool kids odn't care about grammer!
523: [04:51:18] <ss23> :3
524: [04:51:21] <will> simon_w, thanks. : )
525: [04:51:24] <Pyromanik> I odn't too
526: [04:51:28] <Colin[pi]> yeah my grammer is in a wheelchair
527: [04:51:34] <ss23> Colin[pi]: XD
528: [04:51:40] <Pyromanik> rofl, sux 4 her
529: [04:51:58] <EasyCo> How do you do the equivalent of <% loop $Children %> but in the Controller?
530: [04:52:04] <Pyromanik> sht i accidntlee a comma
531: [04:52:13] <Pyromanik> an comma*
532: [04:52:14] <Colin[pi]> foreach ($this->Children() as $Child) {
533: [04:52:37] <Pyromanik> :O capitals in variable names!
534: [04:52:49] <Colin[pi]> plenty of those in SS
535: [04:52:53] <Pyromanik> /agast!
536: [04:53:27] <Colin[pi]> I actually dont mind it, a bit dotnety" though
537: [04:53:54] * Colin[pi] types ls in a dos prompt, gg colin
538: [04:53:55] <EasyCo> How do you apply Hierarchy to a custom data object?
539: [04:54:18] <Colin[pi]> Object::add_extension('MyObject','Hierarchy') ?
540: [04:54:47] <EasyCo> Hmm, nah that's not what I mean. I'll go back to the drawing board. I'm not expressing myself clearly.
541: [04:56:10] <UncleCheese> Colin[pi]: do it through the config layer
542: [04:56:13] <UncleCheese> MyObject:
543: [04:56:19] <UncleCheese> extensions:
544: [04:56:32] <ss23> I hate YAML
545: [04:56:33] <ss23> #fyi
546: [04:56:39] <UncleCheese> ok
547: [04:57:46] <Colin[pi]> any particular advantages UC?
548: [04:58:05] <Colin[pi]> most extensions I apply are done through _config.php in drag-n-drop modules
549: [04:58:30] <simon_w> It's cached
550: [04:58:44] <EasyCo> Ok, take 2
551: [04:59:08] <spronk> yeah
552: [04:59:13] <spronk> who the fuck thought yaml was a good idea
553: [04:59:28] <simon_w> The same people that though GitHub issues were a good idea!
554: [04:59:34] <simon_w> *thought
555: [04:59:43] <irogue> couldve been worse, spronk
556: [04:59:46] <irogue> couldve been XML
557: [05:00:03] * simon_w would've preferred XML :p
558: [05:00:05] <ss23> ^^
559: [05:00:09] <ss23> I would also have prefered XML
560: [05:00:09] <simon_w> Especially for the injector stuff
561: [05:00:48] <simon_w> Also, for the not caring about tabs
562: [05:01:01] <EasyCo> I've got this function, lets call it getList(). getList() returns a groupedlist. In the template, I do<% loop $getList %>$Title<% loop $Children %>$ChildTitle<% end_loop %><% end_loop %>
563: [05:01:05] <EasyCo> That works fine
564: [05:01:58] <EasyCo> When I do foreach($this->getList() as $list) print_r($list->Children()); I get no method exists
565: [05:02:37] <simon_w> Because it's not a method
566: [05:03:03] <EasyCo> Quė?
567: [05:03:04] <will> can i query accross relationships? so to get all DebatePages that are tagged Social i could do something like: $debates = DebatePage::get()->where("Tag.Title = 'Social'");
568: [05:03:19] <ss23> EasyCo: On the $list, or on the $this-?
569: [05:03:41] <simon_w> EasyCo, $list->Children, not a method
570: [05:03:52] <guzzlefry> What could cause the default admin and password set in _ss_environment.php to be ignored?
571: [05:04:21] <ss23> guzzlefry: How are you setting them in the file? Are you sure *that* file is being inclided? die in it and make sure!
572: [05:04:26] <simon_w> will, DebatePage::get()->filter('Tag.Title:ExactMatch', 'Social')
573: [05:04:34] <EasyCo> So what's happening on the template level when you do $Children
574: [05:05:01] <EasyCo> Or how would I get the children from the controller?
575: [05:05:06] <simon_w> EasyCo, checks for getChildren(), checks for Children(), checks for Childrem
576: [05:05:09] <simon_w> *Children
577: [05:05:15] * nickmolhoek quit (Quit: nickmolhoek)
578: [05:05:16] <simon_w> $list->Children
579: [05:05:26] <simon_w> It's a property, not a method
580: [05:05:32] * DesignerX has joined #silverstripe
581: [05:05:33] <simon_w> $list is an ArrayData
582: [05:05:33] <guzzlefry> ss23: it is
583: [05:05:52] <simon_w> guzzlefry, no ConfigureFromEnv.php?
584: [05:05:57] * EasyCo slowly walks out the door
585: [05:06:14] <guzzlefry> simon_w: Would that be in the webroot?
586: [05:06:28] <simon_w> No, it's a line you need in your _config.php
587: [05:06:52] <ss23> Yeah, you need to include more cruft
588: [05:06:54] * ss23 kills Silverstripe
589: [05:06:59] <ss23> If only I was rich
590: [05:07:04] <ss23> I would hure simon_w to fix SS bugs all day
591: [05:07:05] <ss23> :D
592: [05:07:09] <ss23> hire*
593: [05:07:09] <guzzlefry> simon_w: require_once("conf/ConfigureFromEnv.php"); ?
594: [05:07:18] <simon_w> Yup, that one
595: [05:07:22] <guzzlefry> well, that's set.
596: [05:07:48] <guzzlefry> define("DEFAULT_ADMIN_USERNAME", "admin"); define("DEFAULT_ADMIN_PASSWORD", "secret");
597: [05:07:54] <guzzlefry> Anything blatantly wrong with those?
598: [05:07:58] <simon_w> Yes :p
599: [05:08:14] <simon_w> define('SS_DEFAULT_ADMIN_USERNAME', 'admin');
600: [05:08:15] <simon_w> define('SS_DEFAULT_ADMIN_PASSWORD', 'password');
601: [05:08:20] <ss23> lol
602: [05:08:31] * guzzlefry face dives into desk.
603: [05:08:37] <ss23> XD
604: [05:08:39] <guzzlefry> simon_w: thanks
605: [05:08:39] <ss23> It could be worse!
606: [05:08:55] <guzzlefry> oh, I've topped that one.
607: [05:09:03] <simon_w> Yeah, it could be ss23 pointing it out!
608: [05:09:39] <ss23> OHHH
609: [05:09:45] <ss23> simon_w: Hey, I've helped at least one person in here today!
610: [05:09:52] <ss23> I can't remmeber what it was, but I remember thinking "YAY I HELPED SOMEONE"
611: [05:09:57] <Pyromanik> I don't understand what just happen
612: [05:10:19] <Peavers> I JUST GOT AN INTERNAL LINUX SERVER!!!!!!
613: [05:10:22] <ss23> Pyromanik lyfe, never understand :<
614: [05:10:25] <Peavers> in a MS shop!
615: [05:10:30] <Peavers> been fighting for a month for it and they gave it to me!
616: [05:10:36] <Pyromanik> Peavers: LIVING THE MF'N DREAM
617: [05:10:38] <simon_w> Peavers, woo! Now I don't have to hope my code works on IIS!
618: [05:10:42] <ss23> Peavers: Just wait till they tell you that you're not allowed root access, and they won't apt-get more stuff on it :D
619: [05:10:52] <Peavers> lol they gave me root access
620: [05:10:56] <Pyromanik> rofl
621: [05:11:02] <Peavers> question is, is it blocked so it can't access the outside world...
622: [05:11:09] <simon_w> Yes.
623: [05:11:13] <Pyromanik> jsut wait unti they day you get blamed for a sec hole that they don't understand that was actually MS firewall issue.
624: [05:11:15] * ss23 holds his breath
625: [05:11:22] <Peavers> IT CAN PING GOOGLE!!
626: [05:11:22] <ss23> Lets hope this test doesn't spam crap to the clients twitter.
627: [05:11:31] * Pyromanik pings all the goggles
628: [05:11:57] <simon_w> Hmm, UoA could've picked some nicer poster-people for their bus ads
629: [05:12:00] <Pyromanik> ss23: the trick then is to try and make it sound vaguely meaningful
630: [05:12:08] <Pyromanik> UoA?
631: [05:12:14] <simon_w> Uni of Auckland
632: [05:12:41] <will> DebatePage::get()->filter('Tag.Title:ExactMatch', 'Social'); not returning anything. that should work for a static $many_many = array( 'RelationTags' => 'Tag' ); ?
633: [05:12:41] <irogue> Peavers: is your internal linux server running in a HyperV VM?
634: [05:12:51] <guzzlefry> So, does each subclass of DataExtension need it's own PermissionProvider to let group members access it?
635: [05:13:02] <will> (im using the tagfield module )
636: [05:13:02] <Peavers> Its virtual, no idea what tech they use for it
637: [05:13:06] <Peavers> think its vmware though
638: [05:13:08] <ss23> Pyromanik: "Test test test" right? "D
639: [05:13:09] <ss23> :D
640: [05:13:14] <simon_w> will, in that case, you want ->filter('RelationTags.Title', 'Social')
641: [05:13:36] <simon_w> You use the name of the relation, rather than the name of the related object
642: [05:17:51] <will> oh, ok that makes sense. thanks
643: [05:22:53] <Pyromanik> ss23: all dem text
644: [05:23:01] <Pyromanik> make sure to asdf
645: [05:23:07] <Pyromanik> first herp, then derp.
646: [05:23:14] <Pyromanik> wobble wobble.
647: [05:23:15] <Pyromanik> etc
648: [05:23:24] <Pyromanik> GO HOME TWATTER, UR DRUNK
649: [05:23:27] * Pyromanik quit (Quit: leaving)
650: [05:27:17] * howardgrigg has joined #silverstripe
651: [05:29:10] <ss23> ALL DEM TEXT
652: [05:30:55] * will quit (Ping timeout: 250 seconds)
653: [05:31:39] <guzzlefry> 0.o
654: [05:32:29] * Shrike_Finland has joined #silverstripe
655: [05:38:39] <Colin[pi]> ss scheduled tasks won't work without an OS tool like cron will they?
656: [05:39:16] <simon_w> Yup
657: [05:40:09] <ss23> You could probably do it with another tool instead
658: [05:40:23] <ss23> I think there's like 3 different things you can use for SS scheduling
659: [05:41:35] * UncleCheese quit (Quit: UncleCheese)
660: [05:42:45] * DigNZ quit (Ping timeout: 264 seconds)
661: [05:44:19] * Peavers quit (Ping timeout: 264 seconds)
662: [05:48:31] <Colin[pi]> thanks guys justs wanted to make sure there was no behind the scenes magic I wasnt aware of
663: [05:49:52] <simon_w> cron nat magic enough for you? :p
664: [05:50:39] <Colin[pi]> ss-specific magic :P
665: [05:53:20] <ss23> cron seems kind of funny, really
666: [05:53:28] <ss23> "how can we get things to run when they need to?"
667: [05:53:40] <ss23> "hmm... lets just have something that runs every min and runs other things!"
668: [05:54:33] <simon_w> launchd!
669: [05:55:51] <irogue> ss23: simplest solution to a problem, really!
670: [05:56:12] <ss23> Sometimes I hear Sam and I wonder what is going on...
671: [05:56:51] <ss23> simon_w: OPENRC 4 LYFE
672: [05:59:26] <irogue> ss23: http://ss.org.nz/3
673: [05:59:39] <ss23> lol
674: [06:00:08] * Liquide quit ()
675: [06:14:28] <simon_w> Dammit, can't remember Mark's password so can't update our rDNS entires
676: [06:17:45] <Colin[pi]> tried qwerty?
677: [06:18:10] <simon_w> It's not that
678: [06:18:17] <Colin[pi]> dammit :(
679: [06:18:17] <simon_w> I'll just ask him when he comes in tomorrow :p
680: [06:19:59] <simon_w> Woo, 11 hour day. I should do these more often
681: [06:20:31] <ss23> >11 hours
682: [06:20:32] <ss23> girl days.
683: [06:20:34] <Colin[pi]> is that longer or shorter than usual? :P
684: [06:20:39] <ss23> I did 13 hours of retail working at farmers. That was horrible
685: [06:20:42] <simon_w> Longer :p
686: [06:20:44] <ss23> Your feet get so unimaginably sore
687: [06:20:58] <Colin[pi]> my back gets sore from long hours at the pc :(
688: [06:21:11] <simon_w> Get a better chair! Sit properly!
689: [06:21:21] <ss23> >chair
690: [06:21:22] <ss23> >farmers
691: [06:21:25] <ss23> oh
692: [06:21:26] <ss23> That was at Colin[pi]
693: [06:21:27] <ss23> :D
694: [06:21:29] <Colin[pi]> :P
695: [06:21:37] <ss23> My back has been really good actually, since I pumped up the dodgy yoga ball thing I sit on
696: [06:22:32] <ss23> Hmmmm
697: [06:22:33] <ss23> mHMMM
698: [06:22:39] <simon_w> Hymn?
699: [06:22:40] <ss23> I need a dev version of SS2 set up
700: [06:23:04] <ss23> meh, I'll use this client site and hope I don't accidently commit the changes :D
701: [06:23:08] <guzzlefry> Does SS1 actually exist?
702: [06:23:17] * guzzlefry sees no mention in the docs.
703: [06:24:06] <Colin[pi]> ss23: does the yoga ball thing make a big difference?
704: [06:24:21] <ss23> Colin[pi]: Having it pumped up vs unpumped does
705: [06:24:24] <ss23> guzzlefry: Internal only version, I believe
706: [06:24:25] <Colin[pi]> lol
707: [06:25:05] <simon_w> guzzlefry, was a propriety version build on PHP4
708: [06:26:10] <simon_w> Gah, stupid bus is 2 minutes early again
709: [06:27:48] <ss23> wow
710: [06:27:50] <ss23> You poor thing!
711: [06:27:51] <ss23> :P
712: [06:28:06] <ss23> You might have to wait an entire 5 mins extra for your bus now!
713: [06:28:13] <simon_w> 10 :p
714: [06:28:27] <Colin[pi]> diddums
715: [06:29:39] <simon_w> It's almost the worst amount of time to wait. I feel like I could get something done, but can't
716: [06:29:48] <ss23> lol
717: [06:30:00] <ss23> This is like first world problems: extreme edition
718: [06:30:56] <simon_w> Screw it, I'm going to go wait outside
719: [06:31:00] <simon_w> Like a bus
720: [06:31:04] <ss23> hahha
721: [06:33:09] * Colin[pi] quit (Ping timeout: 268 seconds)
722: [06:34:28] * travis-ci has joined #silverstripe
723: [06:34:28] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#690 (2.4 - a150989 : Sam Minnee): The build passed.
724: [06:34:28] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a787dddeab9b...a150989e6fb8
725: [06:34:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9635397
726: [06:34:28] * travis-ci has left #silverstripe
727: [06:34:48] <ss23> Oh look, what an interesting change set!
728: [06:34:48] <ss23> :D
729: [06:35:01] <ss23> tecnik: ^^
730: [06:36:55] <tecnik> damn, that was quick!
731: [06:39:59] <ss23> ;)
732: [06:40:04] <ss23> I get that a lot ;)
733: [06:48:12] * DigNZ has joined #silverstripe
734: [06:48:12] * DigNZ quit (Remote host closed the connection)
735: [06:48:27] * DigNZ has joined #silverstripe
736: [06:48:27] * DigNZ quit (Client Quit)
737: [07:00:51] * Shrike_Finland quit (Quit: Leaving.)
738: [07:02:01] * DigNZ has joined #silverstripe
739: [07:02:02] * DigNZ quit (Remote host closed the connection)
740: [07:02:16] * DigNZ has joined #silverstripe
741: [07:02:23] * DigNZ quit (Client Quit)
742: [07:03:50] <ss23> I'm hungry but I want to eat more ;_;
743: [07:03:52] <ss23> uhh...
744: [07:03:55] <ss23> I'm hungry but I want to work more
745: [07:04:50] <spronk> o_O
746: [07:04:51] <spronk> bf
747: [07:04:57] <ss23> bf?!
748: [07:04:58] <spronk> work with one habnd
749: [07:04:59] <ss23> Oi
750: [07:05:02] <spronk> burger with thr other
751: [07:05:06] * zfmf1 has joined #silverstripe
752: [07:05:07] <ss23> oh..
753: [07:05:08] <ss23> rofl
754: [07:05:26] <ss23> I thought you were implying that just because I have long hair and sound like a girl and look girly and act girly that I would have a boyfriend!
755: [07:05:29] * ARNHOE has joined #silverstripe
756: [07:06:05] <spronk> :| loool\
757: [07:06:16] <ss23> Yes, burgerfuel, you
758: [07:06:17] <simon_w|air> Well, there is irogue
759: [07:06:19] <ss23> ve tempted me now
760: [07:06:21] <ss23> lol irogue
761: [07:06:22] <ss23> fuck
762: [07:06:23] <ss23> lol simon_w*
763: [07:06:53] <simon_w|air> Freudian slip much? :p
764: [07:13:05] <spronk> see
765: [07:13:07] <spronk> because i don't have burger fuel
766: [07:13:10] <spronk> the only thing i want is BF
767: [07:13:33] <spronk> i'm sure that when, EVEN-FUCKING-TU-ALLY, BF opens in CHCH, i'll have it a few times and then be like... k, now what
768: [07:13:53] <spronk> but right now, i just have these memories of that tasty fucking burger I ate in Albany
769: [07:22:23] * simon_w quit (Ping timeout: 264 seconds)
770: [07:22:48] * simon_w has joined #silverstripe
771: [07:24:33] <ss23> spronk: Guess what I'm eating right now?
772: [07:29:56] <spronk> a juicy burger, you horrible person
773: [07:31:43] <ss23> ;_;
774: [07:31:44] <ss23> ow
775: [07:31:51] <ss23> I ate too fast
776: [07:31:54] <ss23> IT HURTS
777: [07:31:56] <ss23> :<
778: [07:36:31] * Colin[pi] has joined #silverstripe
779: [07:38:34] <spronk> what did yuou get?
780: [07:39:16] <ss23> America, Sup?
781: [07:39:41] <ss23> I realised after eating it though, I've ran out of insulin
782: [07:39:44] <ss23> So... it'll be a fun night :<
783: [07:39:54] <Colin[pi]> :(
784: [07:39:56] * PigeonFriend has joined #silverstripe
785: [07:41:19] <spronk> wow
786: [07:41:23] <spronk> seriously
787: [07:42:22] * Pyromanik has joined #silverstripe
788: [07:42:23] <ss23> Yeah, I'm not the best diabetic around :D
789: [07:42:29] <Pyromanik> ROFL
790: [07:42:31] <Pyromanik> pro join time
791: [07:42:33] <ss23> I got down to 1 night of insulin the other day
792: [07:42:46] <ss23> As in "if I can't get to a doctor tonight, I will have run out completely"
793: [07:43:05] <spronk> :|
794: [07:43:15] <ss23> :D
795: [07:43:15] <spronk> cavalier.
796: [07:43:22] <ss23> Maybe, but it's more laziness
797: [07:43:29] <ss23> With running out of insulin now, I just forgot to check
798: [07:43:30] <spronk> what if earthquake
799: [07:43:31] <spronk> and
800: [07:43:33] <spronk> doctors all die
801: [07:43:38] <ss23> spronk: Then death!
802: [07:43:40] <ss23> I've thought about this :<
803: [07:43:53] <ss23> Believe me, the day I realised I could no longer participate properly in a zombie apoloclypse
804: [07:43:56] <ss23> Tears weer shed
805: [07:43:59] <ss23> :<
806: [07:44:05] <ss23> Anyone here got a 2.4 site up and running still?
807: [07:44:17] <ss23> Oh, pocketrent is right
808: [07:44:17] <ss23> :D
809: [07:45:28] <ss23> blurgh
810: [07:45:30] <ss23> Anyone else?
811: [07:45:33] * ss23 pokes Pyromanik and spronk :D
812: [07:45:52] <Pyromanik> eh?
813: [07:45:58] <Pyromanik> yeah, a fucktonne.
814: [07:47:38] <Colin[pi]> all of my stuff is 2.4 ss23
815: [07:49:35] <spronk> mm
816: [07:49:38] <spronk> have a few
817: [07:49:44] * bjbk has joined #silverstripe
818: [07:49:53] <ss23> Too late, Colin[pi] won the competition
819: [07:49:54] <ss23> :D
820: [07:49:56] <bjbk> Hey all
821: [07:50:04] <ss23> hai bjbk
822: [07:51:00] <bjbk> Anyone feel like schooling me in a datamodel question? :)
823: [07:52:15] <ss23> bjbk: Sure, ask it :D
824: [07:53:04] <bjbk> So I have a product model and each product has one brand (brand has many products)
825: [07:53:19] <bjbk> I'm wanting to get all brands, sorted by how many products they're associated with
826: [07:53:22] <bjbk> SS 3.0
827: [07:55:57] <ss23> Hmm
828: [07:55:59] <ss23> Sounds simple enough1
829: [07:56:02] <ss23> I wonder how you do it :D
830: [07:56:07] <bjbk> That's what I thought
831: [07:56:09] <ss23> I bet simon_w knows
832: [07:56:09] <bjbk> and that too
833: [07:56:10] * ss23 pokes simon_w
834: [07:56:34] <EasyCo> You need to get the link table so it could be something like Product_Brand::get()
835: [07:56:42] <EasyCo> Then group by brand
836: [07:57:19] <bjbk> No join table - it's a one to many
837: [07:58:23] <EasyCo> Oh, in that case, just do Product::get()
838: [07:58:30] <EasyCo> Then group by BrandID
839: [07:58:47] <EasyCo> Then you can count the items in each grouplist
840: [07:59:51] <EasyCo> Time to go home. Good luck.
841: [07:59:58] <ss23> Cya, EasyCo ^.^
842: [08:00:01] <bjbk> EasyCo: Thanks
843: [08:00:03] * kinglozzer has joined #silverstripe
844: [08:00:17] * EasyCo quit (Quit: EasyCo)
845: [08:02:15] <simon_w|air> Brand::get()->leftJoin('Product', '"Brand"."ID" = "Brand"."ProductID"')->alterDataQuery(function($query) { $query->groupBy('"Brand"."ID"')->selectField('COUNT("Product"."ID")', 'NumProducts')->sort('NumProducts', 'DESC', false); })
846: [08:02:20] <simon_w|air> Or something like that
847: [08:02:27] <ss23> Well fuck
848: [08:02:31] <ss23> I take back what I said about "easy"
849: [08:02:43] <ss23> Might be simplier to just write the raw SQL in this case
850: [08:03:10] <simon_w|air> It is easy. You just have to know how to get to groupBy() and how to add new fields to the select so you can sort by them :p
851: [08:03:37] <ss23> lol
852: [08:03:42] <ss23> simon_w|air: Did you see the latest commit to 2.4?
853: [08:03:54] <simon_w|air> Nope
854: [08:03:59] <ss23> ;)
855: [08:04:42] <simon_w|air> Meh, Versioned :p
856: [08:05:16] <ss23> XD
857: [08:05:19] <ss23> Still funny
858: [08:05:29] <ss23> Where is your flush=1 now?
859: [08:05:30] <ss23> :P
860: [08:06:01] <simon_w|air> CLI only :p
861: [08:06:11] <ss23> Okay, going to convert a project away from the abomination that is SVN to the glorious git <3, then go home
862: [08:06:14] <ss23> :D
863: [08:06:19] <simon_w|air> Well, dev mode rebuilds the class map if it can't find a class
864: [08:07:07] <bjbk> simon_w - wow, that's impressive
865: [08:09:17] <simon_w|air> bjbk, hopefully it works too :p
866: [08:11:40] <bjbk> Fatal error: Call to undefined method DataQuery::groupBy()
867: [08:12:51] * guci0 has joined #silverstripe
868: [08:13:02] <guci0> Morning
869: [08:13:09] <Pyromanik> gidday
870: [08:13:14] <ss23> moin
871: [08:13:18] <simon_w|air> Hmm, maybe it's not in 3.0
872: [08:13:23] <bjbk> guci0: hey
873: [08:13:32] <bjbk> simon_w: in 3.1?
874: [08:13:38] <simon_w|air> Yeah
875: [08:13:41] <guci0> hi all, hi simon_w|air
876: [08:13:54] * simon_w|air isn't \in all?
877: [08:14:27] <bjbk> Not seeing it in the docs for 3.1 either
878: [08:15:39] <simon_w|air> Hmm, it had better not have been removed...
879: [08:16:40] <simon_w|air> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/DataQuery.php#L421-L429
880: [08:16:47] <simon_w|air> It's a recent addition by the looks of things
881: [08:17:13] <simon_w|air> As in, more recent than the latest update to the api docs
882: [08:18:33] <bjbk> So that's in 3.1 stable?
883: [08:20:57] <simon_w|air> Well, it will be. There's no 3.1 stable yet.
884: [08:21:11] <ss23> How long till 3.1 stable? Probably this week, right/
885: [08:21:15] <ss23> I know CWP are pushing for it :O
886: [08:21:59] <simon_w|air> Stable this week? Pfft! :p
887: [08:22:03] <simon_w|air> RC1 though
888: [08:23:01] <bjbk> ah ok no worries
889: [08:23:13] <bjbk> I thought that was already out
890: [08:26:01] <guci0> Sounds good :)
891: [08:27:18] * DesignerX quit (Read error: Connection reset by peer)
892: [08:28:05] <kinglozzer> Ugh, what causes ->setHasEmptyDefault(true); to not work?
893: [08:29:11] <kinglozzer> ->setEmptyString() works, that'll do
894: [08:31:12] <kinglozzer> Wait, no it won't - the little 'X' doesn't appear
895: [08:31:19] * lobarvaz has joined #silverstripe
896: [08:31:24] <zippy__> bjbk: I had that issue with groupby the other day with 3.0 - I had to write a custom query in the end
897: [08:32:23] <bjbk> yeah, that's what I'm resorting too - and keeping simon_w's awesome line as a comment for when 3.1 is out
898: [08:33:01] <zippy__> If you just want the unique values from a column thou, you can use the column function on the returned set
899: [08:33:07] <zippy__> but probably faster doing custom query
900: [08:33:10] <zippy__> >> The YAML-based Config API which replaces it has not seen widespread use though.
901: [08:33:15] <zippy__> yeap, cos it's pita
902: [08:38:45] <kinglozzer> bjbk: You should still be able to do it
903: [08:40:07] <kinglozzer> ->alterDataQuery(function($query) { $sqlQuery = $query->query(); $sqlQuery->groupBy('"Brand"."ID"'); $query->selectField('COUNT("Product"."ID")', 'NumProducts')->sort('NumProducts', 'DESC', false); })
904: [08:40:09] <kinglozzer> Maybe
905: [08:40:16] * Peavers has joined #silverstripe
906: [08:40:57] <kinglozzer> Actually no
907: [08:40:59] <kinglozzer> Ignore that
908: [08:41:04] <kinglozzer> Sorry :P
909: [08:41:55] * jcwacky_ has joined #silverstripe
910: [08:42:45] * jcwacky quit (Ping timeout: 248 seconds)
911: [08:42:46] * jcwacky_ is now known as jcwacky
912: [08:46:19] <bjbk> kinglozzer: Ah nice try
913: [08:46:32] <bjbk> I'm out guys - thanks for your help, I'll stick with the SQL for now
914: [08:46:39] <kinglozzer> Yeah ->query() doesn't return the protected $query property like I thought :P
915: [08:46:40] * svandragt has joined #silverstripe
916: [08:47:06] * bjbk quit (Quit: Page closed)
917: [09:00:39] * guci0 quit (Ping timeout: 250 seconds)
918: [09:03:10] * Shrike_Finland has joined #silverstripe
919: [09:08:34] * SightUnseen has joined #silverstripe
920: [09:08:40] * SightUnseen has left #silverstripe
921: [09:12:10] * sam_____ has joined #silverstripe
922: [09:12:17] <sam_____> hi all
923: [09:12:27] <sam_____> please help me to add venue in event_calender
924: [09:13:04] * Peavers quit (Ping timeout: 264 seconds)
925: [09:16:28] * openbees has joined #silverstripe
926: [09:18:11] <sam_____> hi... anybody there who used event_calender?
927: [09:22:40] <kinglozzer> Is there a StringField method that's CSS-safe?
928: [09:35:12] * zippy___ has joined #silverstripe
929: [09:35:58] * zippy__ quit (Ping timeout: 245 seconds)
930: [09:35:58] * zippy___ is now known as zippy__
931: [09:37:55] * sam_____ quit (Ping timeout: 250 seconds)
932: [09:44:52] <ss23> 2.4 does not make it easy to add a simple form to the CMS, does it
933: [09:44:52] <ss23> :<
934: [09:45:41] <kinglozzer> I've thankfully only ever had to use 2.4 once :P
935: [09:45:47] <ss23> 2.2*
936: [09:45:51] <kinglozzer> And even that was a simple few fixes to getCMSFields() typos
937: [09:45:53] <ss23> I don't imagine 2.4 is much better
938: [09:45:56] <Pyromanik> ss23, wut
939: [09:46:06] <ss23> bitches love 2.2
940: [09:46:07] <ss23> o/
941: [09:46:12] <ss23> get up on my /db/build yo
942: [09:47:54] <kinglozzer> ss23 I began watching your security talk thing last night, only the first few mins before I got distracted, looked good though. Will watch the rest tonight if I remember :)
943: [09:48:20] <ss23> haha
944: [09:48:27] <ss23> Was it UncleCheese who distracted you?!
945: [09:48:37] <ss23> He was all "oh ss23, your talk pales in comparison to these delciious chips!"
946: [09:48:40] <ss23> *nomnomnom*
947: [09:49:22] <simon_w|air> It's true, those chips were delicious
948: [09:49:28] <ss23> lol
949: [09:49:34] <ss23> simon_w|air: I don't know if I'm doing this right!
950: [09:50:16] <ss23> simon_w|air: Adding a tab (tab as in... new thing completely, like Site Content, up in the top bar) to 2.2! I edited my _config.php and added a URL rule, and extended SiteTree so I could do a getDBFields() thingy and add some DB fields there
951: [09:50:26] <ss23> then I have a FooBarAdmin extends LeftAndMain
952: [09:50:28] <ss23> Is that all right so far?
953: [09:50:28] <ss23> ;_;
954: [09:50:44] <simon_w|air> Uh, probably? I haven't used 2.2 since 2.3 :p
955: [09:50:49] <ss23> lol
956: [09:50:53] <ss23> It sounds right for 2.3 though right?
957: [09:50:54] <ss23> Actually
958: [09:50:56] <ss23> this could be 2.3
959: [09:51:04] <Pyromanik> rofl
960: [09:51:06] <Pyromanik> check version
961: [09:51:07] <ss23> It's a version that has no /dev/build, only /db/build
962: [09:51:08] <ss23> Why?!
963: [09:51:12] <ss23> Lets assume it's 2.2
964: [09:51:13] * cloph_away is now known as cloph
965: [09:51:13] <ss23> :D
966: [09:51:15] <Pyromanik> also, extend CMSMain
967: [09:51:19] * howardgrigg quit (Remote host closed the connection)
968: [09:51:20] <ss23> Anyway, I'm wondering if it works
969: [09:51:22] <Pyromanik> if that's even a thing way back then
970: [09:51:31] <ss23> Is CMSMain a thing back here, simon_w|air? :O
971: [09:51:47] * howardgrigg has joined #silverstripe
972: [09:51:56] <ss23> Pyromanik: Looks like ti does the same thing either way?
973: [09:51:59] <simon_w|air> Yes
974: [09:52:02] * howardgrigg quit (Read error: Connection reset by peer)
975: [09:52:08] <ss23> I would prefer to have no stupid left bar thing
976: [09:52:08] <ss23> :<
977: [09:52:10] <ss23> I don't need it
978: [09:52:10] <simon_w|air> And 2.3 introduced dev/build
979: [09:52:12] * howardgrigg has joined #silverstripe
980: [09:52:19] <simon_w|air> In the CMS? Have fun :p
981: [09:52:19] <ss23> mmk, 2.2 then, I was right :D
982: [09:52:22] <ss23> lol
983: [09:52:28] <ss23> idc about it too much
984: [09:52:33] <Pyromanik> really? 2.3?
985: [09:52:34] <ss23> I think I just need to create a form, then I'm done
986: [09:52:35] <Pyromanik> hmm
987: [09:52:37] <ss23> looks like this getEditForm has it
988: [09:52:46] <Pyromanik> getAllTheForm
989: [09:52:52] <simon_w|air> It may actually be easier to do things with a SS_Report, but 2.2 :p
990: [09:53:06] <simon_w|air> Ooh, 2.2 has the PageView class and table!
991: [09:53:22] <ss23> I'M ALMOST DONE THIS WAY (I think)
992: [09:53:29] <ss23> Glad I quoted 2 hours for this (should've said 4, since it's so old)
993: [09:53:38] <kinglozzer> ss23 I did actually get distracted by that. One of the chips was really hot, he was blowing on it for about 5 minutes before he ate it
994: [09:53:45] <ss23> hahahaa
995: [09:53:55] <simon_w|air> That's what the sauce was for
996: [09:54:00] <kinglozzer> :P
997: [09:54:59] * ss23 rawrs
998: [09:55:01] <ss23> It's not doing my form!
999: [09:55:08] <ss23> api docs only got back to 2.4
1000: [09:55:09] <ss23> ;___;
1001: [09:55:13] <Pyromanik> I was all "Hey I think that's UncleCheese!" and then right at the end I saw the big LEFT AND MAIN shirt he was wearing and I was all "LoL DERP staring me in the face the whole time"
1002: [09:55:21] <ss23> hahha
1003: [09:55:46] <Pyromanik> hey, 2.2 has that sweet image editor right?
1004: [09:55:48] <Pyromanik> xD
1005: [09:55:58] <ss23> How to do a form when I extend CMSMail / LeftAndMain?
1006: [09:56:05] <ss23> Just have an action for saving, right?
1007: [09:56:08] <Pyromanik> same like you do any form
1008: [09:56:09] <Pyromanik> yup
1009: [09:56:14] <ss23> And setting things on SiteTree, how that?
1010: [09:56:21] <Pyromanik> CMSMail?
1011: [09:56:22] <ss23> SiteTree->randomFiledIADded=Boo
1012: [09:56:26] <ss23> CMSMain
1013: [09:56:27] <ss23> :P
1014: [09:56:33] <Pyromanik> saveInto()
1015: [09:56:42] <ss23> You can saveInto with only like 1 field in the form?
1016: [09:56:47] <Pyromanik> ye
1017: [09:56:48] <Pyromanik> s
1018: [09:56:51] <ss23> chur
1019: [09:56:52] <Pyromanik> save into will do whatever matches
1020: [09:56:54] <simon_w|air> Gosh, learn to SS ss23 :p
1021: [09:56:54] <ss23> think I'm about done then
1022: [09:56:55] <ss23> :D
1023: [09:56:59] <Pyromanik> you can save into all the things
1024: [09:57:00] <ss23> simon_w|air: I'M DOING THAT AS WE SPEAK
1025: [09:57:01] <ss23> :P
1026: [09:57:19] <Pyromanik> lol, literally as we speak. BUT WE'RE NOT SPEAKING
1027: [09:57:22] <simon_w|air> By the time 2.2 came along, I was already a pro!
1028: [09:57:22] <ss23> WE ARE
1029: [09:57:25] <ss23> Speaking NOT BY VOICE
1030: [09:57:26] <ss23> :<
1031: [09:57:29] <Pyromanik> *twilight zone*
1032: [09:57:50] <ss23> The first param to form...
1033: [09:57:54] <ss23> the "controller"?
1034: [09:57:56] <ss23> So __CLASS__?
1035: [09:58:03] <Pyromanik> damn back in a city where it's actually coldish.
1036: [09:58:04] <simon_w|air> $this
1037: [09:58:05] <Pyromanik> $this
1038: [09:58:11] <ss23> oic
1039: [09:58:22] <Pyromanik> an actual controller instance.
1040: [09:58:33] <Pyromanik> then __FUNCTION__
1041: [09:58:40] <Pyromanik> well, commonly.
1042: [09:58:45] <ss23> Won't __FUNCTION__ give uh...
1043: [09:58:45] <Pyromanik> doesn't _have_ to be.
1044: [09:58:49] <ss23> The current thing, when we want like
1045: [09:58:50] <ss23> saveForm?
1046: [09:59:08] <Pyromanik> superproaction
1047: [09:59:11] <simon_w|air> How many people will get forms done properly if the docs were all $this, __FUNCTION__, $fields, $actions
1048: [09:59:15] <Pyromanik> you know how to form.
1049: [09:59:25] * SightUnseen has joined #silverstripe
1050: [09:59:30] * SightUnseen has left #silverstripe
1051: [09:59:39] <Pyromanik> simon_w|air, it's more the controller aspect I think.
1052: [10:00:03] <ss23> and do I need to have an allowed_actions for it?
1053: [10:00:05] <simon_w|air> Most problems come from people putting the name of the handler in for the function
1054: [10:00:06] <Pyromanik> the docs are reasonably clear (iirc - poorly) that the function name string must match the name of the function that's returning your form.
1055: [10:00:06] <ss23> (I presume I don't :D)
1056: [10:00:10] <simon_w|air> ss23, nope
1057: [10:00:22] <ss23> >reasonably clear
1058: [10:00:23] <ss23> >poorly
1059: [10:00:24] <ss23> lol
1060: [10:00:31] <Pyromanik> ss23, I don't think that allowed actions was a thing back then
1061: [10:00:44] <simon_w|air> 2.4 feature, IIRC
1062: [10:01:01] <simon_w|air> Back when submitting a patch was easy!
1063: [10:01:57] <ss23> aw k
1064: [10:01:58] <ss23> lol
1065: [10:02:03] <ss23> Damn, WSOD
1066: [10:02:06] <simon_w|air> Before this mess with tests and squashing commits :p
1067: [10:02:10] <ss23> I can't even error_reporting(-1) cause it dies
1068: [10:02:10] <ss23> :<
1069: [10:03:15] <ss23> Holy shit a default styled form is *ugly*
1070: [10:03:18] <ss23> like, oh god kill me ugly
1071: [10:03:36] <simon_w|air> Default style? What you one about? :p
1072: [10:03:45] <ss23> THere's a default style!
1073: [10:03:51] <ss23> This "save" button is brown man!
1074: [10:03:52] <ss23> well
1075: [10:03:53] <ss23> grey
1076: [10:04:33] * simon_w|air sleeps
1077: [10:04:57] <ss23> nn simon_w|air, ty for your help ^.^
1078: [10:05:09] <ss23> Also
1079: [10:05:10] <ss23> BOOM I WIN
1080: [10:05:15] <ss23> 12 hours of work for me too
1081: [10:05:15] <ss23> :D
1082: [10:06:45] <ss23> help Pyromanik
1083: [10:06:46] <ss23> HELP
1084: [10:07:02] <ss23> $form->saveinto('ASDFASDFADSFASDFKNASDFKNAS WHAT GOES HERE FOR SITETREE')
1085: [10:09:44] <ss23> Pyromanik: asdfasdfLASDMASDLMASDGLMADFGLMAFGLMADFGLMADSFGLMADFGLMADFGLMADFG
1086: [10:09:47] <ss23> Pyromanik: BEEP BEEP BEEP
1087: [10:10:35] <ss23> wait fuck
1088: [10:10:39] <ss23> I don't even think SiteTree is what I want
1089: [10:10:43] <ss23> I need it to be global configuration
1090: [10:10:45] <ss23> fuck it, I do it tomorrow
1091: [10:10:46] * ss23 dies
1092: [10:12:12] * openbees thinking whether it's a reality show channel .. to many beep sound :D
1093: [10:12:21] <ss23> lol
1094: [10:12:25] <ss23> XD
1095: [10:16:27] * ocm has joined #silverstripe
1096: [10:16:49] <ocm> howdy!
1097: [10:16:56] <ss23> hai!
1098: [10:17:02] * ss23 runs away to go home quickly :D
1099: [10:17:13] <ss23> wait no, I have to wait till this song is done, it's really good
1100: [10:17:20] <Pyromanik> what
1101: [10:17:54] <Pyromanik> ss23, saveInto($OBJECTINSTANCE)
1102: [10:18:48] <ss23> yes
1103: [10:18:51] <ss23> Pyromanik: AND HOW 2 GET THAT
1104: [10:18:55] <ss23> Though I'm rpetty sure stietree isn't what I want
1105: [10:18:58] <ss23> I want like...
1106: [10:19:00] <ss23> SiteConfig or something
1107: [10:19:06] <ss23> I need it to be unqie for the entire *site*, Pyromanik
1108: [10:19:44] <ocm> anyone else have found issues with the datefield in the userforms module?
1109: [10:19:58] <Pyromanik> SiteConfig::current_site_config()
1110: [10:20:03] <Pyromanik> EXCEPT NO SITE CONFIG IN 2.2 HAHA
1111: [10:20:34] <ocm> it keeps giving me validation errors.. tried anything I could think off (like date settings in config, changing the locale datepicker file, etC)
1112: [10:20:40] <ocm> it only keeps failing in firefox
1113: [10:20:44] <ocm> all other browsers work
1114: [10:21:43] <ss23> Pyromanik: OMG
1115: [10:21:43] * ss23 dies
1116: [10:21:46] <ss23> I'll deal with it tomorrow
1117: [10:21:59] <ss23> ocm: Solution: Don't use Firefox! :D
1118: [10:22:03] <ss23> ocm: No idea though, check the bug tracker?
1119: [10:22:04] <ocm> hahaha
1120: [10:22:12] <ocm> told my client, he didnt agree with me :D
1121: [10:22:13] <ss23> ocm: Sure it's a SS thing and not front end Firefox date validation being shit?
1122: [10:22:17] <ocm> nothing there in the bugtracker
1123: [10:22:26] <ocm> hmm, makes me think
1124: [10:22:34] <ocm> does firefox check the input properties?
1125: [10:22:45] <Pyromanik> ocm, define 'failling'
1126: [10:23:03] <ocm> if I wanne submit the form, firefox says 'Date is a required field'
1127: [10:23:13] <ocm> even if the validation for the field is turned off
1128: [10:23:21] <kinglozzer> HTML5 validation ^^
1129: [10:23:22] <ocm> so it has something to do with validation
1130: [10:23:39] <ss23> ocm: Yeah, Firefoxs own validation, ont SS validation
1131: [10:23:40] <ss23> :P
1132: [10:23:43] <ocm> does the html5validation throws the errormsg back given in jquery?
1133: [10:23:44] <ss23> 6. What are your goals for the next 1-2 years?
1134: [10:23:45] <ss23> Remain employed
1135: [10:23:47] <ss23> good idea y/n?
1136: [10:23:55] <ocm> ss23, ofcourse not
1137: [10:23:58] <ss23> lol
1138: [10:24:01] <ocm> become a millionair
1139: [10:24:02] <ss23> "Get fired"
1140: [10:24:03] <ss23> XD
1141: [10:24:04] <ocm> way more fun
1142: [10:24:09] <ocm> anyway, time for lunch
1143: [10:24:12] <kinglozzer> ocm: No, don't think so
1144: [10:24:22] <kinglozzer> FF has some default styling though IIRC
1145: [10:24:42] <ocm> ahm.. I will give it a closer look on that
1146: [10:24:46] <ss23> The best part is that when it comes to next review, "Did you meet your goals?" "yes, I remained employed"
1147: [10:24:49] <ss23> :D
1148: [10:24:50] <ocm> maybe strip all the date tags of teh datefield
1149: [10:24:52] <ocm> see what happens
1150: [10:24:59] <ocm> anyway.. food!
1151: [10:25:01] <ss23> have fun, ocm
1152: [10:25:04] <ss23> I'm going home too
1153: [10:25:04] <ss23> :D
1154: [10:25:24] <ss23> "8. What do you need to achieve these goals? Keep me employed"
1155: [10:25:33] <ss23> anyway, home time, bbl
1156: [10:25:52] <kinglozzer> ocm: Apparently if you use <input type="date"...>, you need to use value="dd/MM/yyyy" to set the correct format
1157: [10:26:07] <openbees> I am trying subsite module first time .. and not able to make it work .. do i need to create a virtual host for each subsites ?
1158: [10:26:17] <ss23> kinglozzer: You'll have to use whatever the current locale is.. like
1159: [10:26:26] <ss23> kinglozzer: That won't work if SS expects ad diffferent type
1160: [10:26:28] <kinglozzer> But then if it doesn't support type="date", they'll just see the value :/
1161: [10:26:29] <ss23> Best to just not use Failfox
1162: [10:29:10] <kinglozzer> ocm: Or add the 'novalidate' attribute to the form tag
1163: [10:30:10] <kinglozzer> $form->setAttribute('novalidate', 'novalidate');
1164: [10:30:37] * priithansen has joined #silverstripe
1165: [10:40:05] <Pyromanik> firefox never fails
1166: [10:40:30] <Pyromanik> rofl
1167: [11:03:49] * Shrike_Finland1 has joined #silverstripe
1168: [11:04:01] * Shrike_Finland1 quit (Client Quit)
1169: [11:05:01] * Shrike_Finland quit (Ping timeout: 276 seconds)
1170: [11:07:04] * LoveDuckie has joined #silverstripe
1171: [11:07:13] <ss23> Firefail never foxes
1172: [11:10:35] <kinglozzer> Foxfail never fires
1173: [11:12:57] * micmania1 has joined #silverstripe
1174: [11:13:32] <micmania1> Does UploadField not fallback to a normal (non-HTML5) upload field in IE8?
1175: [11:14:36] <micmania1> doesn't matter. I see how it works.
1176: [11:20:11] <ss23> Foxfire fails never
1177: [11:24:11] <kinglozzer> Neverfox fails fire
1178: [11:28:38] <ss23> Foxy woman in my bedroom
1179: [11:29:46] <zippy__> O.o
1180: [11:37:02] <ocm> haha
1181: [11:37:07] <ocm> back btw :P
1182: [11:37:13] <ocm> foxy fires
1183: [11:37:21] <ss23> :D
1184: [11:53:13] <Colin[pi]> Programming: http://i.minus.com/ibaDjk7AeIcvxv.gif
1185: [11:53:22] <ss23> lol
1186: [11:53:28] <ss23> saw it already! :D
1187: [11:53:36] <Colin[pi]> on reddit I see?
1188: [11:53:43] <ocm> haha. programming?
1189: [11:53:45] <ss23> Hmm, nope
1190: [11:53:49] <ocm> I thought that guy was a cook
1191: [11:53:50] <ss23> I saw it... on Twitter, I think
1192: [11:53:53] <ss23> lol ocm XD
1193: [11:53:59] * UndefinedOffset has joined #silverstripe
1194: [11:54:06] <ss23> https://twitter.com/capotej/status/362096386931572739 @ Colin[pi]
1195: [11:54:11] <ocm> started watching breaking bad this weekend
1196: [11:54:20] <ocm> made it till season 5
1197: [11:54:22] <Colin[pi]> ocm: best tv show evar
1198: [11:54:23] <ocm> so allmost up to date
1199: [11:54:25] <ss23> rofl @ that background XD
1200: [11:55:06] <Colin[pi]> lol that is one awesome background
1201: [11:58:07] * Pyromanik quit (Read error: Connection reset by peer)
1202: [11:59:02] * micmania1 quit (Quit: Leaving)
1203: [12:03:59] * howardgrigg quit (Remote host closed the connection)
1204: [12:04:27] * howardgrigg has joined #silverstripe
1205: [12:04:58] * osterlaus has joined #silverstripe
1206: [12:06:25] * openbees quit (Quit: Leaving)
1207: [12:08:55] * howardgrigg quit (Ping timeout: 264 seconds)
1208: [12:10:21] * Peavers has joined #silverstripe
1209: [12:15:09] * Peavers quit (Ping timeout: 264 seconds)
1210: [12:23:45] * Colin[pi] quit (Ping timeout: 245 seconds)
1211: [12:25:51] <Zauberfisch__> anyone know when chillu will be comming back?
1212: [12:26:07] * Zauberfisch__ is now known as Zauberfisc
1213: [12:26:10] * Zauberfisc is now known as Zauberfisch
1214: [12:26:43] <Zauberfisch> also, I have this idea, and want some feedback:
1215: [12:30:18] <Zauberfisch> currently when I have static assets I use them like so:
1216: [12:32:01] <Zauberfisch> <img src="$ThemeDir/images/foobar.png" alt="ohai there">
1217: [12:32:34] <Zauberfisch> wouldn't it be nice to also have the silverstripe image methods avaiable for static assets?
1218: [12:33:04] <Zauberfisch> like when one needs a thumbnail of an image, he has to create it in photoshop/gimp and upload it a 2nd time
1219: [12:33:31] <ss23> Zauberfisch: Thursday, if I remember rightly
1220: [12:33:43] <Zauberfisch> why now have a syntax like $ThemedImage(foobar.png) and $ThemedImage(foobar.png).SetWidth(1337)
1221: [12:33:45] <wmk> you mean images that are not in assets / database?
1222: [12:34:28] <ss23> Do you mean why *not* have a syntax like that, Zauberfisch?
1223: [12:34:59] <ss23> Zauberfisch: My stance on this is "fuck templating languages", so I dunno :D
1224: [12:36:25] <ocm> Zauberfisch, why not use $ThemeDir/img instead of $ThemeDir/images?
1225: [12:36:49] <ocm> saves atleast 24 bits on each src string :p
1226: [12:36:59] <ocm> and on the requests to the image
1227: [12:37:00] <ocm> haha
1228: [12:37:00] <ss23> lol
1229: [12:38:01] * osterlaus quit (Quit: Leaving.)
1230: [12:42:04] <Zauberfisch> wmk no I mean that ThemedImage is a function that does a lookup of the themefolder for images
1231: [12:42:09] <Zauberfisch> no database
1232: [12:42:38] <Zauberfisch> ah, missread your message. yeah. I mean images that are not in assets/db
1233: [12:43:20] <Zauberfisch> ss23 it does not have to be limited to template language
1234: [12:43:24] <Zauberfisch> it can also be php side
1235: [12:43:44] <Zauberfisch> $this-themedImage('foobar.png')-SetWidth(42)
1236: [12:43:54] <ss23> You can do that already, I presume
1237: [12:44:14] <Zauberfisch> ss23 you can? :O
1238: [12:44:15] <ss23> sec
1239: [12:44:28] <ss23> I fucking hate api.silverstripe.org some days
1240: [12:44:44] <Zauberfisch> why would you even use that thing?
1241: [12:45:10] <ss23> Zauberfisch: http://api.silverstripe.org/3.0/source-class-File.html#204-227
1242: [12:45:13] <ss23> :P
1243: [12:45:15] <ss23> To find that
1244: [12:45:38] <ss23> Zauberfisch: Image subclasses that, so just new Image::find($themedir . 'foo')->resize
1245: [12:46:10] <ss23> hmm, wait
1246: [12:46:14] <ss23> that might have to be in the file syetem
1247: [12:46:19] <ss23> wait, no
1248: [12:46:24] <ss23> wait yes...?
1249: [12:46:42] <ss23> lame
1250: [12:46:43] <ss23> :<
1251: [12:46:48] <ss23> idk Zauberfisch! Write a patch!
1252: [12:47:07] <Zauberfisch> ss23 yeah, I am pretty sure that is not exactly what I mean
1253: [12:47:17] <Zauberfisch> I mean the thing is actually pretty easy
1254: [12:47:23] <Zauberfisch> all one needs to do is do:
1255: [12:47:42] <Zauberfisch> function ThemedImage($name)
1256: [12:48:30] <Zauberfisch> hmmm
1257: [12:48:31] <Zauberfisch> ok
1258: [12:48:45] <Zauberfisch> nvm, one might have to refactor the Image class a little bit
1259: [12:48:57] <Zauberfisch> or subclass to get rid of some DB specific things
1260: [12:49:16] <Zauberfisch> but overall it should be rather simple to do. the GD backend already works wenn
1261: [12:49:20] <ss23> I think I would make a new class
1262: [12:49:30] <Zauberfisch> yeah, new class for static image
1263: [12:49:34] <ss23> An Image class, and a IndexedImage extends File
1264: [12:49:37] <ss23> or something
1265: [12:49:41] <ss23> Maybe a trait, I guess
1266: [12:49:48] <Zauberfisch> and then put the combined logic of image and static image into a baseclass or a decorator
1267: [12:49:51] <ss23> But yes, I don't htink the way it is at the moment is great, Zauberfisch
1268: [12:50:06] <Zauberfisch> trait would be perfect, but can't be used with the current ss server requirements
1269: [12:50:26] <Zauberfisch> anyway, the implementation is not my issue
1270: [12:50:45] <Zauberfisch> I am more looking for feedback on syntax of ussage and possible downsides and usecases
1271: [12:55:20] * zfmf1 has left #silverstripe
1272: [12:57:22] <wmk> Zauberfisch, dunno if it's usesful. I tend to optimize themed images for filesize/quality manually. And most of the time an image in theme is used one time overhere.
1273: [12:59:18] * ARNHOE quit (Remote host closed the connection)
1274: [13:08:55] <Zauberfisch> simon_w|air simon_w I'd love to hear your opinion on it
1275: [13:09:17] <ss23> He's sneelping! :d
1276: [13:09:19] <ss23> Sleeping, even
1277: [13:09:31] <Zauberfisch> ss23 go, wake him up!
1278: [13:09:39] <ss23> :O
1279: [13:09:47] <ss23> If I do that, he might stop going lunch dates with me!
1280: [13:10:53] <ocm> wake him up for a lunch date
1281: [13:10:55] <ocm> that might work
1282: [13:11:00] <ss23> XD
1283: [13:11:10] <ss23> Not sure how hungry he'll be at 1am
1284: [13:11:38] <ocm> 1am and already asleep?
1285: [13:11:44] <ss23> He sleeps early and gets up early!
1286: [13:11:47] <ocm> lazy people you upside-down people
1287: [13:11:47] <ss23> Like 6am or something
1288: [13:11:49] <ss23> XD
1289: [13:11:58] <ss23> He worked for 12 hours today or somethin,g he said
1290: [13:11:59] <ocm> I sleep at 4/5 and wake at 7/8
1291: [13:12:01] <ocm> good enough for me
1292: [13:12:07] <ss23> ocm: I would die! :O
1293: [13:12:12] <ss23> I like getting ~12 hours
1294: [13:12:21] <ocm> I have my weekends for that
1295: [13:12:26] <ocm> i nbetween the parties
1296: [13:12:50] <Zauberfisch> ss23 such luxury I can only dream of
1297: [13:12:53] <Zauberfisch> 12 hours
1298: [13:15:28] <ss23> You can probably get that, if you really tried
1299: [13:17:16] * zippy__ quit (Quit: zippy__)
1300: [13:23:39] * priithansen quit (Quit: priithansen)
1301: [13:28:55] * zfmf1 has joined #silverstripe
1302: [13:33:41] <Zauberfisch> com'on guys, give some negative feedback
1303: [13:33:50] <ss23> lol
1304: [13:33:50] <Zauberfisch> what is bad about my idea
1305: [13:33:57] <ss23> That no one is going to do it?
1306: [13:33:58] <ss23> :P
1307: [13:34:03] <ss23> Assumign the "issue" is the "I can't do this"
1308: [13:34:59] <Zauberfisch> nah, implementing shouldn't be the issue
1309: [13:35:05] <Zauberfisch> I am gong to do it
1310: [13:35:42] <ss23> Zauberfisch: It likely won't get in until 3.2, I would expect, that's if the core people like it
1311: [13:35:49] <Zauberfisch> I just want to collect some feedback before I put work in it and then when I am done simon_w says "this is bad because ..." and I have to start over again :D
1312: [13:35:54] <ss23> XD
1313: [13:36:36] <ss23> Zauberfisch: That will happen, I think. Perhaps, open a bug and describe what you're going to do, and see if anyone has objections? I know ingo doesn't like feature requests being there, but if I remember rightly, he was fine with things being there while people work on them for feedback etc( which IMO is what it's for)
1314: [13:37:39] <Zauberfisch> ss23 ingo just disslikes feature requests that no one takes care of
1315: [13:37:54] <Zauberfisch> if the feature request comes with someone assigned to it he will love it
1316: [13:37:55] <Zauberfisch> :D
1317: [13:38:17] <ss23> Mmm!
1318: [13:38:20] <ss23> Anyway, bed time for me
1319: [13:38:21] <Zauberfisch> yeah, I most certainly will create a mailinglist post for it
1320: [13:38:31] <Zauberfisch> but was hoping to collect some feedback here before that
1321: [13:38:44] <ss23> Zauberfisch: By the way, I have some bugs open in silverstripe-cms if you wanna fix 'em (the two redirector ones, first one is 99% complete already!)
1322: [13:40:16] <Zauberfisch> ss23 no thank you, I got my hands full :P
1323: [13:40:31] <Zauberfisch> ss23 sleep well, thanks for the input so far
1324: [13:40:42] <ss23> :D
1325: [13:40:54] <ss23> (And valuable input it's been -- 'SIMON IS SLEEPING AND DO MY BUG FIXES FOR ME') :P
1326: [13:50:19] <Zauberfisch> :D
1327: [14:04:58] * howardgrigg has joined #silverstripe
1328: [14:06:34] * Nivery has joined #silverstripe
1329: [14:09:31] * howardgrigg quit (Ping timeout: 264 seconds)
1330: [14:34:29] * priithansen has joined #silverstripe
1331: [15:03:51] * catcher_dev has joined #silverstripe
1332: [15:19:06] * ARNHOE has joined #silverstripe
1333: [15:24:36] * ARNHOE quit (Remote host closed the connection)
1334: [15:36:42] * fungshueielephan has joined #silverstripe
1335: [15:41:37] * jcwacky quit (Quit: jcwacky)
1336: [15:42:57] * fungshueielephan quit (Quit: Page closed)
1337: [15:44:37] * catcher_dev quit (Remote host closed the connection)
1338: [15:45:31] * Nivery quit (Quit: Nivery)
1339: [15:55:18] * svandragt quit (Read error: Connection reset by peer)
1340: [16:05:23] * howardgrigg has joined #silverstripe
1341: [16:09:44] * howardgrigg quit (Ping timeout: 246 seconds)
1342: [16:23:15] * kinglozzer quit ()
1343: [16:24:19] * violet- has joined #silverstripe
1344: [16:25:00] * violetina quit (Ping timeout: 245 seconds)
1345: [16:28:09] * guci0 has joined #silverstripe
1346: [16:30:44] <guci0> Evening!
1347: [16:35:13] * guci0 quit (Ping timeout: 250 seconds)
1348: [16:37:01] * Marvanni quit (Ping timeout: 246 seconds)
1349: [16:42:16] * catcher has joined #silverstripe
1350: [16:47:10] * Marvanni has joined #silverstripe
1351: [16:58:37] * Hay has joined #silverstripe
1352: [17:00:22] * Nivery has joined #silverstripe
1353: [17:00:28] * Colin[pi] has joined #silverstripe
1354: [17:02:09] * Hay has left #silverstripe
1355: [17:02:57] * hayman has joined #silverstripe
1356: [17:03:54] * lobarvaz quit (Remote host closed the connection)
1357: [17:09:07] * hayman quit (Quit: Page closed)
1358: [17:13:49] * DavidD has joined #silverstripe
1359: [17:14:05] <DavidD> Could someone point me in the right direction? I had my site built by a third party and of course they are no longer around. My site http://www.redapplehay.com/ seems to be missing the theme files or someting. all other pages work just not the home page. For example http://www.redapplehay.com/inventory or http://www.redapplehay.com/about-us even http://www.redapplehay.com/admin
1360: [17:22:43] * ARNHOE has joined #silverstripe
1361: [17:26:10] * ARNHOE quit (Remote host closed the connection)
1362: [17:37:52] * DavidD quit (Quit: Page closed)
1363: [17:51:10] * violetina has joined #silverstripe
1364: [17:52:43] * violet- quit (Ping timeout: 268 seconds)
1365: [18:01:22] * Marvanni quit (Ping timeout: 246 seconds)
1366: [18:02:20] * Marvanni has joined #silverstripe
1367: [18:05:49] * howardgrigg has joined #silverstripe
1368: [18:06:40] * Marvanni quit (Ping timeout: 256 seconds)
1369: [18:10:39] * howardgrigg quit (Ping timeout: 272 seconds)
1370: [18:14:07] * Marvanni has joined #silverstripe
1371: [18:16:15] * zfmf1 has left #silverstripe
1372: [18:17:44] * NitinShah has joined #silverstripe
1373: [18:17:55] * swordsmanz has joined #silverstripe
1374: [18:18:12] <NitinShah> Anyone has experience working with the DynamicCache module
1375: [18:19:33] <NitinShah> https://github.com/tractorcow/silverstripe-dynamiccache
1376: [18:20:30] <NitinShah> It works perfectly for me without the silverstripe mobile module
1377: [18:20:55] * Marvanni quit (Ping timeout: 264 seconds)
1378: [18:21:19] <NitinShah> but when I install the silverstripe module, because of the cache created by dynamicCache module, the mobile theme is not being loaded
1379: [18:22:50] <NitinShah> On the github dynamicCache page, the author mentions code to extend the module to use with mobile module. But I have no idea where to put that code. Any suggestion?
1380: [18:23:00] * Marvanni has joined #silverstripe
1381: [18:27:28] * Marvanni quit (Ping timeout: 264 seconds)
1382: [18:27:40] * Marvanni has joined #silverstripe
1383: [18:34:56] * henkpoley has joined #silverstripe
1384: [18:48:59] * violet- has joined #silverstripe
1385: [18:49:43] * violetina quit (Ping timeout: 264 seconds)
1386: [18:56:54] * henkpoley quit (Quit: henkpoley)
1387: [19:01:49] * NitinShah quit (Quit: Leaving)
1388: [19:05:28] * Nivery quit (Read error: Connection reset by peer)
1389: [19:08:53] * priithansen quit (Quit: priithansen)
1390: [19:10:03] * SightUnseen has joined #silverstripe
1391: [19:10:07] * SightUnseen has left #silverstripe
1392: [19:26:34] * ARNHOE has joined #silverstripe
1393: [19:40:01] * DigNZ has joined #silverstripe
1394: [19:40:08] * DigNZ quit (Client Quit)
1395: [19:40:36] * FrozenFire quit (Ping timeout: 262 seconds)
1396: [19:46:43] * Peavers has joined #silverstripe
1397: [19:46:47] * FrozenFire has joined #silverstripe
1398: [19:47:11] <wmk> guess the only thing phpstorm is really bad in is cooking coffee
1399: [19:47:22] <Peavers> phpstorm is bad at nothing
1400: [19:47:26] <Peavers> but amazing at everything
1401: [19:47:43] <wmk> well, the espresso it served yesterday was very thin
1402: [19:49:04] <wmk> just discovered how to automatically compile compass w/ it. great ;)
1403: [19:49:21] <Peavers> running under windows?
1404: [19:49:34] <Peavers> I found that to be a bit sketchy at best... they are implementing proper support in version 7
1405: [19:49:45] * r3v3rb has joined #silverstripe
1406: [19:50:22] <wmk> hm, no, under linux
1407: [19:50:40] <wmk> Peavers, when will 7 be around?
1408: [19:50:47] <Peavers> how does phpstorm run for you on linux?
1409: [19:50:48] <Peavers> nah not yet
1410: [19:51:04] <Peavers> I can't seem to get the same "enjoyable" experince with it on linux...
1411: [19:51:11] <r3v3rb> hi all, am i being stupid. $this->ID returns the function ID (name) rather than the current page id the function has been called on
1412: [19:51:25] <Peavers> the mouse defaults to the java basic mouse, the font seems a bit funny, and the menus are just not as responsive as windows...
1413: [19:51:35] <Peavers> this is the one app thats stopping me from fully tossing windows out
1414: [19:51:58] <wmk> Peavers, it's quite enjoyable, though through vnc session...
1415: [19:52:05] <wmk> but very fast and cool
1416: [19:52:15] <Peavers> vnc eh..
1417: [19:53:08] <wmk> it's a try...
1418: [19:53:55] <r3v3rb> ...
1419: [19:54:05] <wmk> though Zauberfisch is just experimenting w/ setting up virtual machines for dev automatically.
1420: [19:54:43] <Peavers> I love all that stuff... love messing around with thin clients, vmhosts, and whatnot
1421: [19:54:51] <Peavers> I'm in the wrong job I think...
1422: [19:54:53] <simon_w> r3v3rb, you sure you're calling it on a page then?
1423: [19:55:10] <Zauberfisch> hey simon_w
1424: [19:55:11] <Zauberfisch> yay
1425: [19:55:13] <Zauberfisch> you are here
1426: [19:55:14] <r3v3rb> simon_w: yes, second part to a paypal signup form
1427: [19:55:28] <Zauberfisch> simon_w use your scrollback!
1428: [19:56:25] <r3v3rb> simon_w: http://www.silverstripe.org/customising-the-cms/show/5957 <- last post is the same issue I get
1429: [19:57:42] <wmk> Peavers, whatnot?
1430: [19:58:38] <guzzlefry> When copying over my project, do I want to use composer install or composer update? >_>
1431: [19:58:55] <Peavers> doesn't matter guzzlefry
1432: [19:59:18] <simon_w> r3v3rb, $this->ID will return the integer ID of the current page, unless you're not actually on the current page when calling it
1433: [19:59:27] <simon_w> guzzlefry, copying to where?
1434: [19:59:30] <guzzlefry> ah okay, my deployment methods are well...horrible
1435: [19:59:30] <simon_w> Zauberfisch, but effort! :p
1436: [19:59:39] <Zauberfisch> simon_w <.<
1437: [19:59:40] <Zauberfisch> ok
1438: [19:59:44] <Zauberfisch> hold on a sec
1439: [20:00:05] <Zauberfisch> simon_w I have this idea, and want some feedback:
1440: [20:00:08] <r3v3rb> simon_w: I am definitely on the page, but displayed using renderwith()
1441: [20:00:11] <Zauberfisch> currently when I have static assets I use them like so:
1442: [20:00:16] <guzzlefry> simon_w: copying from the git origin repo.
1443: [20:00:40] <Zauberfisch> <img src="$ThemeDir/images/foobar_thumbnail.png" alt="this is the small version">
1444: [20:00:42] <simon_w> guzzlefry, not what I asked :p
1445: [20:00:43] <Zauberfisch> <img src="$ThemeDir/images/foobar.png" alt="ohai there">
1446: [20:00:49] <Zauberfisch> wouldn't it be nice to also have the silverstripe image methods avaiable for static assets?
1447: [20:00:53] <Zauberfisch> like when one needs a thumbnail of an image, he has to create it in photoshop/gimp and upload it a 2nd time
1448: [20:00:59] <Zauberfisch> why now have a syntax like $ThemedImage(foobar.png) and $ThemedImage(foobar.png).SetWidth(1337)
1449: [20:01:13] <Zauberfisch> it can also be php side
1450: [20:01:17] <guzzlefry> simon_w: sorry, still working on my prepositions. :P I' m copying to a local development environment.
1451: [20:01:19] <Zauberfisch> $this->themedImage('foobar.png')->SetWidth(42)
1452: [20:01:33] <r3v3rb> Zauberfisch: sounds great!
1453: [20:01:33] <simon_w> guzzlefry, then you want update
1454: [20:01:39] <guzzlefry> thanks
1455: [20:01:53] <r3v3rb> Zauberfisch: but potentially heavy if non of that gets cached
1456: [20:01:58] <r3v3rb> none*
1457: [20:02:15] <simon_w> Zauberfisch, so build it? Adding a TemplateGlobalProvider is rather easy :p
1458: [20:02:16] <guzzlefry> My idea setup would be git managing just composer.json, composer.lock, themes/, and mysitemodule/
1459: [20:02:23] <guzzlefry> Everything else pulled in with composer.
1460: [20:02:32] <Zauberfisch> r3v3rb simon_w well, it does sond great to me as well, but before I get into it, I want to get some feedback for what the syntax should be, what downsides it could have, so on
1461: [20:02:41] <Zauberfisch> the implementation is the easy part
1462: [20:03:25] <simon_w> Lack of retina support, GD screwing up images, either a shit way of finding files (like themedCSS) or another manifest run
1463: [20:03:31] <r3v3rb> Zauberfisch: will it offer GD/IM as options for image manip?
1464: [20:04:13] <r3v3rb> well, I'm at a loss - $this->ID outside of function works fine, inside function returns function name to template
1465: [20:04:25] <Zauberfisch> ah, yes, wonderful. thats why we love you simon_w, negative feedback :D
1466: [20:04:42] <simon_w> You wanted downsides :p
1467: [20:04:51] <Zauberfisch> no, I mean it
1468: [20:05:09] <Zauberfisch> its great feedback
1469: [20:05:12] * simon_w rages at ajshort a bit for screwing over themedCSS
1470: [20:05:23] <Zauberfisch> and there are some good points in it
1471: [20:05:33] * jrthomer quit (Ping timeout: 264 seconds)
1472: [20:05:35] <r3v3rb> simon_w: would me calling the page via a function/renderwith be the root of all evil?
1473: [20:06:02] <Zauberfisch> - retina support -> not part of this thing (in fact the reason why I need this changes is because I want to make a retina/responsive/adaptive image module
1474: [20:06:14] * howardgrigg has joined #silverstripe
1475: [20:06:15] <simon_w> r3v3rb, you're providing very little context here. I could screw over everything when using renderWith(), doesn't mean it's the case here
1476: [20:06:23] <Zauberfisch> - GD screwing up images - well, what can I do?
1477: [20:06:25] <r3v3rb> ok, sorry
1478: [20:08:40] <r3v3rb> simon_w: first pass of the page/class gets rendered normally and the form submits to the page. Then the page redirects to itself with an action added to the URL ( afaik still the same page ID ). This step two then renders the page with a different template and second form from the same class
1479: [20:08:43] * jrthomer has joined #silverstripe
1480: [20:09:19] <r3v3rb> at this point $this->ID in the second form returns the form name not the page IS
1481: [20:09:21] <r3v3rb> ID*
1482: [20:09:48] * gelignite has joined #silverstripe
1483: [20:10:06] <simon_w> Any reason why you're using renderWith() over ClassName_action.ss?
1484: [20:10:17] <simon_w> Doing any customise() calls?
1485: [20:10:28] <simon_w> Passing any arguments back to the template from your action?
1486: [20:10:33] <r3v3rb> simon_w: nope, just the way I learnt SS
1487: [20:10:40] * howardgrigg quit (Ping timeout: 264 seconds)
1488: [20:10:40] <simon_w> Where's the method defined?
1489: [20:10:49] <r3v3rb> page_controller
1490: [20:10:57] <simon_w> Zauberfisch, default ImageBackend to the Imagick one ;)
1491: [20:11:40] <Peavers> simon_w
1492: [20:11:47] <Peavers> wheres my plugin?!?
1493: [20:11:51] <Zauberfisch> simon_w hmmm, how did GD become default?
1494: [20:11:52] <simon_w> Oh right, I'm supposed to do that thing for you
1495: [20:11:57] <r3v3rb> simon_w: so _action.ss first and see if that helps?
1496: [20:12:09] <simon_w> Zauberfisch, it's a lot more likely to be enabled on servers than Imagik
1497: [20:13:23] <r3v3rb> simon_w: doh, yes I am doing a customise too :)
1498: [20:14:35] * r3v3rb is going to store the ID prior to sending the customised session data through to the second stage...
1499: [20:14:50] <simon_w> r3v3rb, and what's in that customise()?
1500: [20:15:18] <r3v3rb> just some array data from the previous form
1501: [20:19:03] <simon_w> Peavers, I haven't been told how to give you access to it! Sig's reply to my question didn't help much either :p
1502: [20:19:23] <Peavers> You pushed it to my repo yeah?
1503: [20:19:47] <simon_w> Well, it'll be done via composer
1504: [20:19:55] <simon_w> I think
1505: [20:20:05] <Peavers> just branch the repo, add the plugin, push the repo back up....
1506: [20:20:15] <Peavers> was my understanding of what you were doing lol
1507: [20:20:22] <Peavers> did he cc you in the email I got?
1508: [20:20:38] <Peavers> no he didn't
1509: [20:20:59] <Peavers> you're supposed to add it to my master repo for the moeattend instance
1510: [20:21:00] <simon_w> Yay, communication!
1511: [20:21:08] <r3v3rb> simon_w: lol, me === idiot ! I passed the $this->ID to the HiddenField title not the value!
1512: [20:21:09] <simon_w> Okay, that's easy enough to do
1513: [20:21:16] <Peavers> I thought so.
1514: [20:21:16] * FrozenFire quit (Read error: Connection reset by peer)
1515: [20:21:20] <Peavers> but you seem lost lol
1516: [20:21:29] <simon_w> I got told nothing :p
1517: [20:21:30] <Peavers> not that I can access it, because I STILL CANT CLONE
1518: [20:21:44] <Peavers> 403 errors erry day all day.
1519: [20:22:06] <simon_w> Well, I just cloned it fine! :p
1520: [20:22:14] <Peavers> yeah its our firewall blockin me.
1521: [20:22:18] * FrozenFire has joined #silverstripe
1522: [20:27:06] <simon_w> So many things to install
1523: [20:27:28] <simon_w> Hmm, I can't even submodule it. I do have to basically copy and paste the code in
1524: [20:28:49] * ARNHOE quit (Remote host closed the connection)
1525: [20:32:37] * DigNZ has joined #silverstripe
1526: [20:32:37] * DigNZ quit (Remote host closed the connection)
1527: [20:33:54] * zippy__ has joined #silverstripe
1528: [20:34:03] * LoveDuckie quit ()
1529: [20:34:31] <simon_w> I suppose I should test before giving you this code...
1530: [20:35:41] <simon_w> Woo! Invalid SAML request! That bit's working
1531: [20:38:55] * Pyromanik has joined #silverstripe
1532: [20:39:03] <simon_w> Peavers, pushed the esaa branch
1533: [20:39:39] <Peavers> chur chur
1534: [20:39:42] <Peavers> hope your docs are good.
1535: [20:40:12] <simon_w> Well, I set up the IdP for you too :p You just need to generate the SP metadata, get it added to the ESAA and then it'll work
1536: [20:40:18] <simon_w> Or install to localhost/cwp
1537: [20:41:13] <Peavers> ldP as in LDP? (the protocol)
1538: [20:41:36] <simon_w> capital I
1539: [20:41:38] <Zauberfisch> simon_w if you are bored, there is another thing I want your feedback on
1540: [20:41:39] <Zauberfisch> Hmm, I can't even submodule it. I do have to basically copy and paste the code in
1541: [20:41:42] <simon_w> Identity Provider
1542: [20:41:43] <Peavers> ah
1543: [20:41:49] <Zauberfisch> dafuq is my client doing
1544: [20:41:54] <Zauberfisch> hold on
1545: [20:42:12] <simon_w> Copying and pasting my words? :p
1546: [20:42:16] <Zauberfisch> ok, copy&paste is screwed up here
1547: [20:42:29] <Zauberfisch> its #2283 in framework
1548: [20:42:35] <Zauberfisch> sorry, can't copy paste the url
1549: [20:42:50] <simon_w> Is this the one you submitted overnight?
1550: [20:42:53] * DigNZ has joined #silverstripe
1551: [20:42:54] * DigNZ quit (Remote host closed the connection)
1552: [20:42:55] <Zauberfisch> yeah
1553: [20:43:01] <Zauberfisch> the __call one
1554: [20:43:33] <Pyromanik> aso like
1555: [20:43:38] <simon_w> Should probably be part of a more-concentrated effort to make the exception usage in core not suck
1556: [20:43:40] <Pyromanik> that thing
1557: [20:43:43] <Pyromanik> where I had a question
1558: [20:43:46] <Pyromanik> but it was too early
1559: [20:43:50] <Pyromanik> you know what to do.
1560: [20:44:08] <Zauberfisch> simon_w I have time to do this 1 fix
1561: [20:44:17] <Pyromanik> shit.
1562: [20:44:18] <Zauberfisch> but certanly not to fix the whole core
1563: [20:44:38] <Zauberfisch> but I agree, a global fix would be better, but there are just no resources for that I gues
1564: [20:45:25] <Pyromanik> https://github.com/silverstripe/silverstripe-framework/issues/2283
1565: [20:46:09] <Pyromanik> Zauberfisch: I agree. Throw exceptions like exceptions should be thrown.
1566: [20:46:25] <Pyromanik> OH!
1567: [20:46:32] <Pyromanik> 3.1: forum + DMS
1568: [20:46:38] <Pyromanik> good idea or go 3.0?
1569: [20:48:25] <Pyromanik> ooh https://github.com/silverstripe/silverstripe-html5
1570: [20:48:58] * nickmolhoek has joined #silverstripe
1571: [20:48:59] * nickmolhoek quit (Remote host closed the connection)
1572: [20:49:13] * nickmolhoek has joined #silverstripe
1573: [20:51:16] * zfmf1 has joined #silverstripe
1574: [20:52:59] <Pyromanik> Stephen Shkardoon committed 21 days ago
1575: [20:53:03] <Pyromanik> Build: error
1576: [20:53:12] <Pyromanik> WHAT DID YOU DO ss23 :<
1577: [20:53:17] <simon_w> Can't trust that ss23
1578: [20:53:48] <Pyromanik> lets see if travis will tell me
1579: [20:54:50] <Pyromanik> oic, 3.0 is fine, 3.1 is bung
1580: [20:55:43] <Pyromanik> OH FFFFFFFF LOL
1581: [20:55:48] <Pyromanik> What is the error?
1582: [20:56:07] <Pyromanik> COMPOSER: "Your requirements could not be resolved to an installable set of packages."
1583: [20:56:16] <Pyromanik> DIAF COMPOSER
1584: [20:57:31] * gelignite quit (Quit: http://bit.ly/nkczDT)
1585: [20:59:58] <Pyromanik> simon_w: if I'm going to grab 3.1, which 3.1 should I grab?
1586: [21:00:16] <simon_w> 3.1.x-dev
1587: [21:00:16] <Pyromanik> just master?
1588: [21:00:24] <simon_w> master is 3.2
1589: [21:00:25] <Pyromanik> No composer -.-
1590: [21:00:30] <Pyromanik> oic, ta
1591: [21:00:33] <simon_w> branch/3.1
1592: [21:03:07] * DigNZ has joined #silverstripe
1593: [21:03:07] * DigNZ quit (Remote host closed the connection)
1594: [21:03:17] * Peavers quit ()
1595: [21:04:40] <zippy__> Morning
1596: [21:05:26] * UndefinedOffset quit (Quit: Leaving.)
1597: [21:07:31] <timespoon> i have 3 values i want to return from my page model to the view, can i just return an array and then access its values by key some how
1598: [21:07:40] <timespoon> i'm not sure what i'm doing wrong (returned array(...))
1599: [21:07:46] <timespoon> or does it have to be an object
1600: [21:08:02] <simon_w> timespoon, is this an action method (one you call from the URL) or just a generic template method?
1601: [21:08:46] <simon_w> In the latter case, you want to return an ArrayData instance: return new ArrayData(array('key' => 'value'))
1602: [21:09:11] <timespoon> thanks
1603: [21:12:16] * r3v3rb quit (Quit: r3v3rb)
1604: [21:12:37] <Pyromanik> oh, r3v3rb quit :<
1605: [21:12:42] <Pyromanik> I had a question for him too :/
1606: [21:14:34] * r3v3rb has joined #silverstripe
1607: [21:14:45] <simon_w> There you go Pyromanik :p
1608: [21:17:16] * UncleCheese has joined #silverstripe
1609: [21:17:48] <timespoon> hey simon_w not sure what i'm doing wrong, this is the set of operations http://dpaste.com/1323694/
1610: [21:18:20] <timespoon> oh jesus
1611: [21:18:21] <simon_w> timespoon, if you're using 3.0, you can only pass string values through to includes
1612: [21:19:14] <timespoon> ahh
1613: [21:20:54] <timespoon> where is the version information stored
1614: [21:20:58] <timespoon> doesn't look like it's in composer
1615: [21:21:35] <timespoon> oh right it's 3.0.* as a requirement, so i guess 3.x
1616: [21:22:15] <timespoon> so if i want to create a sub-include for youtube videos (i need to do some more stuff with javascript later) what's teh best approach? manually passing variables down the include heirarchy one at a time sounds painful
1617: [21:22:23] <timespoon> hierarchy too
1618: [21:24:09] <unsignedint> it is painful, and thats the silverstripe templating system in a nutshell
1619: [21:24:10] * DigNZ has joined #silverstripe
1620: [21:24:10] * DigNZ quit (Remote host closed the connection)
1621: [21:24:53] <timespoon> i'm probably missing something fundamental about creating custom components, i should go over the manual again i guess
1622: [21:25:47] <unsignedint> im not so sure, I have been passing variables down the include hierarchy one at a time due to not being able to figure out another way to do it
1623: [21:25:52] <unsignedint> perhaps simon_w knows a better way
1624: [21:25:53] <Pyromanik> what does it do? HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
1625: [21:26:03] <Pyromanik> r3v3rb: gidday
1626: [21:26:04] <Pyromanik> are you there?
1627: [21:26:11] <r3v3rb> Pyromanik: I is!
1628: [21:26:23] <Pyromanik> cool, did you buy Asteroids cheap?
1629: [21:26:31] <r3v3rb> buy asteroids?
1630: [21:26:39] <simon_w> Well, in 3.1, you can pass down the ArrayData
1631: [21:26:49] <Pyromanik> yeah, in the Atari going bankrupt sell all our IP firesale
1632: [21:27:05] <timespoon> is there a file that has the actual ss version in it
1633: [21:27:16] <timespoon> (i got thrown in to help another dev here, first ss experience)
1634: [21:27:44] <timespoon> god i guess i could serialize some json but that sounds like the worst thing ever
1635: [21:29:24] * DigNZ has joined #silverstripe
1636: [21:29:25] * DigNZ quit (Remote host closed the connection)
1637: [21:30:18] <simon_w> timespoon, composer.lock probably has the commit hash in it, or you can try hovering over the logo in the CMS
1638: [21:30:22] <Pyromanik> timespoon: yep
1639: [21:31:18] * willr_ has joined #silverstripe
1640: [21:33:52] * priithansen has joined #silverstripe
1641: [21:35:43] <timespoon> oh yep 3.0.5
1642: [21:35:52] <timespoon> wonder if it's easy to upgrade to 3.1 without breaking what we've made
1643: [21:36:32] * pex has joined #silverstripe
1644: [21:37:17] <Pyromanik> timespoon: yes and no
1645: [21:37:17] <simon_w> Probably not
1646: [21:37:31] <Pyromanik> there is some stuff you'll need to do, but it shouldn't be hugely disruptive.
1647: [21:37:34] <Pyromanik> but everything will break.
1648: [21:37:37] <Pyromanik> everything.
1649: [21:37:54] <simon_w> timespoon, one option is to standardise the name of the method that returns the youtube data, and just use that inside the include
1650: [21:38:51] <Pyromanik> so if I have a Forum, can I disable registration?
1651: [21:39:22] <willr_> Pyromanik 3.0? override the route in your app/config
1652: [21:39:32] <Pyromanik> :<
1653: [21:39:33] <Pyromanik> 3.1!
1654: [21:39:39] * DigNZ has joined #silverstripe
1655: [21:39:40] * DigNZ quit (Remote host closed the connection)
1656: [21:39:50] <willr_> same thing then
1657: [21:39:54] <Pyromanik> same.. yeh
1658: [21:39:54] <Pyromanik> k
1659: [21:39:57] <willr_> override the route.
1660: [21:40:35] * r3v3rb quit (Quit: r3v3rb)
1661: [21:41:25] <irogue> wee, eftpos down at work this morning
1662: [21:42:43] <Pyromanik> wait, you have eftpos?
1663: [21:44:05] <irogue> yeah, for people who pay when they collect, and for Card Not Present cc transactions
1664: [21:44:41] <irogue> we're switching to DPS for the CNP stuff but haven't got there yet
1665: [21:45:11] <Pyromanik> oic
1666: [21:45:21] <Pyromanik> so like ss23 ...
1667: [21:45:31] <Pyromanik> nemasu.
1668: [21:45:55] <Pyromanik> how to tag in DMS?
1669: [21:47:07] <Pyromanik> It says it supports tags, but there are no things.
1670: [21:47:12] <Pyromanik> UI for it
1671: [21:50:33] * zfmf1 has left #silverstripe
1672: [21:54:57] <guzzlefry> lots of flushing...
1673: [22:00:12] <guzzlefry> Is it okay to delete the config.yml in mysite/_config/?
1674: [22:00:18] <guzzlefry> Suspect it's doing more harm than good.
1675: [22:00:50] <AlphaCactus> it is ok to not have it
1676: [22:02:41] <guzzlefry> hm, so my theme isn't working. Instead it shows the same theme/layout as when you run /dev/build. Is this some type of fallback?
1677: [22:05:04] <simon_w> Yes
1678: [22:05:15] <timespoon> so i can't seem to specify more than one literal to an include directive? <% include Template Foo="foo" Bar="bar" %> ?
1679: [22:05:19] * nickmolhoek quit (Ping timeout: 264 seconds)
1680: [22:05:21] <timespoon> does that sound accurate
1681: [22:06:04] <simon_w> timespoon, comma separate them
1682: [22:06:23] <timespoon> i'm just a litany of failure
1683: [22:06:42] * howardgrigg has joined #silverstripe
1684: [22:06:43] <simon_w> Or just a product of the documentation
1685: [22:07:42] <timespoon> longest ever youtube embed
1686: [22:07:45] <timespoon> working nicely now
1687: [22:07:49] <timespoon> thanks
1688: [22:08:02] * nickmolhoek has joined #silverstripe
1689: [22:08:03] * nickmolhoek quit (Remote host closed the connection)
1690: [22:08:23] * nickmolhoek has joined #silverstripe
1691: [22:09:14] * FrozenFire quit (Read error: Connection reset by peer)
1692: [22:10:48] * FrozenFire has joined #silverstripe
1693: [22:11:11] * howardgrigg quit (Ping timeout: 256 seconds)
1694: [22:11:42] * EasyCo has joined #silverstripe
1695: [22:13:09] <guzzlefry> Any tips for debugging why my templates aren't loading?
1696: [22:14:47] <AlphaCactus> if you are using a theme, make sure a differnt one isn't being set in _config.php, config.yml or in Settings
1697: [22:15:03] <AlphaCactus> and if you are using subsites module, each subsite can only set a theme
1698: [22:15:08] <AlphaCactus> *also
1699: [22:18:47] <guzzlefry> AlphaCactus: Nope. I don't suppose the $project setting in _config.php would affect it?
1700: [22:23:08] * violet- quit (Remote host closed the connection)
1701: [22:24:56] <AlphaCactus> that just sets your site folder
1702: [22:26:30] <Pyromanik> so yes, if you're editing the wrong project
1703: [22:26:35] <guzzlefry> ah, wonder what's broken then.
1704: [22:27:18] <Colin[pi]> morning all :D
1705: [22:27:32] <guzzlefry> morning
1706: [22:28:41] <guzzlefry> Should the $project variable be set in the _config.php inside the site folder? >_>
1707: [22:29:00] <AlphaCactus> guzzlefry: interestingly... yes
1708: [22:30:42] <Pyromanik> http://media-cache-ak0.pinimg.com/originals/d3/f6/89/d3f689abe533f909a2066860f0052201.jpg
1709: [22:31:47] <guzzlefry> is the bottom one Internet Explorer?
1710: [22:31:55] <simon_w> Why is Chrome in there twice?
1711: [22:31:59] <Pyromanik> nah, chrome
1712: [22:32:00] <guzzlefry> :P
1713: [22:32:09] <Pyromanik> BOOM, HIGH FIVE simon_w !
1714: [22:32:28] <simon_w> High five!</borat>
1715: [22:33:08] <Pyromanik> haiggh faive!
1716: [22:33:31] <ss23> 08:56:07 < Pyromanik> COMPOSER: "Your requirements could not be resolved to an installable set of packages."
1717: [22:33:35] <ss23> OH YEAH, TOTALLY MY FAULT
1718: [22:33:56] <guzzlefry> gah, so where else should I look to find out why my templates aren't used?
1719: [22:34:25] <guzzlefry> The Settings in the CMS are finding the theme. Nothing in the _config.php files seems to be overwriting it.
1720: [22:36:08] <guzzlefry> Also, not sure if this is worth noting, I don't see the usual cache directory in the SilverStripe root directory.
1721: [22:36:09] <simon_w> Does ?debug=1 still do its thing?
1722: [22:36:24] <simon_w> That's because it's not usually there :p
1723: [22:36:59] <guzzlefry> okay hm
1724: [22:37:09] * howardgrigg has joined #silverstripe
1725: [22:37:14] <ss23> 09:45:55 < Pyromanik> how to tag in DMS?
1726: [22:37:16] <ss23> idk DMS soz :<
1727: [22:37:20] <ss23> idek Silverstripe
1728: [22:37:50] <guzzlefry> simon_w: Anything specific in ?debug=1 that I should be looking at?
1729: [22:39:19] <simon_w> The class name that it matches for the request
1730: [22:39:46] <guzzlefry> RootURLController ?
1731: [22:39:55] * priithansen quit (Quit: priithansen)
1732: [22:40:16] * priithansen has joined #silverstripe
1733: [22:40:37] <simon_w> Was so much nicer when ?debug told you what templates and stuff it was looking for
1734: [22:41:22] <simon_w> Oh, you also want debug_request=1
1735: [22:41:27] <guzzlefry> Why doesn't it anymore?
1736: [22:41:33] <simon_w> If it is RootURLController, it means you don't have a home page
1737: [22:41:36] <simon_w> Because someone removed it
1738: [22:41:57] <guzzlefry> oh...
1739: [22:42:02] <guzzlefry> but I added it back! :P
1740: [22:42:15] * DigNZ has joined #silverstripe
1741: [22:42:16] * DigNZ quit (Remote host closed the connection)
1742: [22:42:58] <guzzlefry> And it still has the house logo next to the page in the CMS.
1743: [22:43:21] <simon_w> Is it published?
1744: [22:43:25] <guzzlefry> yep
1745: [22:43:29] <simon_w> Does it have the url home?
1746: [22:43:48] <guzzlefry> yep
1747: [22:43:59] <simon_w> So what happens if you got to site.com/home/?
1748: [22:44:06] <guzzlefry> same thing as site.com/
1749: [22:44:18] <guzzlefry> They both dump out $Content.
1750: [22:44:23] <guzzlefry> So I know it's hitting that at least.
1751: [22:44:35] * priithansen quit (Ping timeout: 245 seconds)
1752: [22:45:36] <simon_w> And what type of class is the home page?
1753: [22:45:47] <guzzlefry> HomePage which extends Page
1754: [22:45:59] <simon_w> How about HomePage_Controller?
1755: [22:46:06] <guzzlefry> That's there also.
1756: [22:46:11] <guzzlefry> Let me check it for typos.
1757: [22:46:38] <guzzlefry> class HomePage_Controller extends ContentController // Looks fine.
1758: [22:46:48] <simon_w> No it doen't :p
1759: [22:46:54] <simon_w> Should extend Page_Controller
1760: [22:47:51] <guzzlefry> oh boy
1761: [22:47:59] <guzzlefry> my forehead is going to be sore in the morning. :/
1762: [22:48:31] <guzzlefry> that fixed it, thanks simon_w
1763: [22:49:03] <ss23> mount an SSHFS in OSX? Can't view it in Finder.
1764: [22:49:32] <ss23> blargh, working now, still lame
1765: [22:50:49] <ss23> wtf... open an mp3 in iTunes, it *copies* the file?! ;_;
1766: [22:50:54] <EasyCo> Morning dudes
1767: [22:52:25] <simon_w> ss23, it maintains its own database by default. You can turn that off.
1768: [22:52:50] <simon_w> (Preferences -> Advanced -> Copy Files)
1769: [22:52:52] * DigNZ has joined #silverstripe
1770: [22:52:52] * DigNZ quit (Remote host closed the connection)
1771: [22:52:54] <ss23> yeah, found it
1772: [22:52:55] <ss23> hmm
1773: [22:52:59] <ss23> ~10 second delay before playing the song
1774: [22:54:06] * DigNZ has joined #silverstripe
1775: [22:56:30] * ChronicD quit (Remote host closed the connection)
1776: [23:03:35] * swordsmanz quit (Quit: swordsmanz)
1777: [23:03:58] <simon_w> "Rebuilt classmap to try to find 'xhp_pr__head'. Please try again."
1778: [23:03:58] <simon_w> I do like this autoloader
1779: [23:07:00] * Peavers has joined #silverstripe
1780: [23:09:11] <Pyromanik> ss23: LOL ITUNES
1781: [23:09:14] <Pyromanik> WORLD OF HURT
1782: [23:09:44] <spronk> jiesus
1783: [23:09:47] <spronk> just get winamp.
1784: [23:09:52] <Colin[pi]> itunes is the biggest piece of shit ever
1785: [23:09:57] <spronk> and, obviously, vmware fusion, because you're on a mac
1786: [23:10:14] <spronk> i can't fathom why apple feels the need to change every button and control for every major version
1787: [23:11:35] <Colin[pi]> because fuck you that's why
1788: [23:11:42] <ss23> yeah, idk
1789: [23:11:48] <spronk> it got especially bad when they turned it into a store as well
1790: [23:11:49] <ss23> I kind of presumed that iTunes would be nice on OSX
1791: [23:11:49] <ss23> :<
1792: [23:11:50] <spronk> why not just... i dno
1793: [23:11:53] <spronk> use the fucking internetr
1794: [23:12:00] <Colin[pi]> nope it's a piece of shit on any platform
1795: [23:12:00] <spronk> hate tabless app store
1796: [23:12:05] <spronk> in saying that
1797: [23:12:09] <spronk> it is better on osx than on windows
1798: [23:12:10] <spronk> marginally
1799: [23:12:44] <ss23> lol
1800: [23:12:46] <Colin[pi]> well to be fair I've only used it on windows, and always despised it
1801: [23:12:59] <Colin[pi]> slow, buggy, doesn't make sense, silly error messages
1802: [23:13:17] <guzzlefry> It's horrible on Windows...
1803: [23:13:18] <Colin[pi]> always assumed it was "because windows"
1804: [23:13:59] <spronk> i generally find windows more responsive than os x, so stuff's worse on windows IMO has to be pretty bad
1805: [23:14:06] <spronk> aww
1806: [23:14:07] <guzzlefry> Songbird is a pretty good alternative. >_>
1807: [23:14:10] <spronk> ...
1808: [23:14:21] <spronk> hate that feeling when you pick up your coffee cup and take a swig, only to realise it's empty
1809: [23:14:22] <spronk> D:
1810: [23:14:37] <guzzlefry> :/
1811: [23:14:45] <Colin[pi]> and you get cold coffee dribble
1812: [23:16:13] <irogue> older itunes was okay on osx
1813: [23:16:16] <irogue> (but shit on windows)
1814: [23:16:35] <irogue> now theyre both shit
1815: [23:17:08] * swordsmanz has joined #silverstripe
1816: [23:21:49] <spronk> mm
1817: [23:21:50] <spronk> blehh
1818: [23:21:52] <spronk> cold coffee dribble
1819: [23:22:00] <Colin[pi]> do we have mainly iOS or Android users here, show of hands?
1820: [23:22:02] * Bmabii7 has joined #silverstripe
1821: [23:22:09] <Colin[pi]> or Windows 8? LOL
1822: [23:22:54] <spronk> iaws
1823: [23:23:09] * spronk has left #silverstripe
1824: [23:23:50] <Bmabii7> morning all
1825: [23:23:54] <Colin[pi]> morn
1826: [23:24:03] <Bmabii7> any one know the status of the ecommerce module?
1827: [23:24:03] <EasyCo> Selamant pagi
1828: [23:24:13] <ss23> SELEMAT PAGI
1829: [23:24:19] <Colin[pi]> oh indonesian
1830: [23:24:28] * spronk has joined #silverstripe
1831: [23:27:26] <Bmabii7> just downloaded the ecommerce module assuming it's for 2.4 but see a whole bunch of private static variables in there https://github.com/sunnysideup/silverstripe-ecommerce
1832: [23:27:44] * nickmolhoek quit (Ping timeout: 260 seconds)
1833: [23:27:52] <Bmabii7> is there still a 2.4 version or has it been upgraded to SS3.0?
1834: [23:28:39] <ss23> Bmabii7: It's a sunnysideup module, so I'm not sure how much anyone here knows, but uh, you probably have to pick the branc hthat supports 2.4
1835: [23:29:00] <Bmabii7> yeah ty
1836: [23:29:06] <ss23> Bmabii7: I suspect the 2.5 bracn will be the best
1837: [23:29:07] * DigNZ quit (Ping timeout: 260 seconds)
1838: [23:29:15] <Bmabii7> was just chancing if anyone knew the answer
1839: [23:29:16] <Colin[pi]> there is sunnysideup and burnbright branches yeah?
1840: [23:29:50] <Bmabii7> gosh didn't see those LOL
1841: [23:29:56] * nickmolhoek has joined #silverstripe
1842: [23:29:56] * DigNZ has joined #silverstripe
1843: [23:29:57] * nickmolhoek quit (Remote host closed the connection)
1844: [23:30:16] * nickmolhoek has joined #silverstripe
1845: [23:30:22] <Bmabii7> sorry was looking at this repo before and noticed there were no other branches https://github.com/sunnysideup/silverstripe-ecommerce_3.0
1846: [23:31:24] * pex quit (Quit: pex)
1847: [23:37:08] <Bmabii7> yeah sweet checked out burnbright added payment module, and it built fine
1848: [23:37:36] <EasyCo> What's up with all the properties being private in SS 3.1?
1849: [23:39:07] <simon_w> SS treats them as immutable, so they can be cached
1850: [23:39:17] <simon_w> One of the main speedups in 3.1
1851: [23:40:20] <zippy__> is 3.1 much faster?
1852: [23:40:44] <zippy__> I noticed there was that memory fix for 3.1
1853: [23:40:45] <zippy__> but is the speed overall better?
1854: [23:40:55] <simon_w> Flushing, no. Without, yes
1855: [23:40:56] * pex has joined #silverstripe
1856: [23:41:11] * joelpittet has joined #silverstripe
1857: [23:41:46] <EasyCo> simon_w: Thx, where's the caching handled?
1858: [23:42:01] <simon_w> ConfigStaticManifest and ConfigManifest
1859: [23:42:06] <EasyCo> Cheers
1860: [23:42:44] <Bmabii7> this is interesting :) will have to have a look
1861: [23:43:52] <Colin[pi]> two weeks til I go to Cairns.... tick tick tick
1862: [23:43:54] <Colin[pi]> >_<
1863: [23:43:55] <Bmabii7> out of interest what was the memory issue that was fixed in 3.1?
1864: [23:44:10] <EasyCo> two weeks tip I go to Europe for a month of RnR :)
1865: [23:44:40] <EasyCo> Holiday Colin[pi]?
1866: [23:44:48] <Colin[pi]> short one yes
1867: [23:44:59] <Colin[pi]> but since I'm self-employed I never really have a true one :(
1868: [23:45:52] <EasyCo> Same
1869: [23:46:08] <Colin[pi]> one month, damn how will you manage that?
1870: [23:46:16] <EasyCo> Well 2 things
1871: [23:46:44] <EasyCo> I only respond to emails, no phone calls unless super super urgent (I tell my clients that)
1872: [23:47:12] <EasyCo> I brief one of my developer friends on potential work or issues and assign them as the main contact while I'm on holidays
1873: [23:47:33] <simon_w> Bmabii7, flushing would use a lot of memory when parsing the template parser.
1874: [23:47:35] <Colin[pi]> I'll be away 10 days but I really, really want to keep the distractions to a minimum
1875: [23:47:55] * zippy__ quit (Ping timeout: 264 seconds)
1876: [23:48:00] <EasyCo> I've found that just explaining that I'll be away and I'm on holidays is usually enough
1877: [23:48:11] <EasyCo> My clients usually respect that and will only contact me if it's a biggy.
1878: [23:48:11] * atmos has joined #silverstripe
1879: [23:48:16] <Colin[pi]> yeah I will let them know :)
1880: [23:48:17] <simon_w> Colin[pi], just quit IRC. Works for me! :p
1881: [23:48:43] <Colin[pi]> simon_w: don't you have an automated shutdown at 16:59:59? ;P
1882: [23:48:52] <simon_w> That's Pyromanik :p
1883: [23:48:56] <Colin[pi]> hehehe
1884: [23:49:08] <Bmabii7> simon_w: right ty
1885: [23:50:47] <simon_w> Mmm, I'm liking this XHP
1886: [23:50:47] <Bmabii7> simon_w: I've herd someone complianing SS had memory leaks but don't understand how it would be leaking memory
1887: [23:51:17] <Bmabii7> simon_w: think they may have been getting confuesd with the flushing issue....
1888: [23:51:32] <simon_w> Nope, it used to leak memory
1889: [23:51:51] <simon_w> Flushing didn't leak memory it just used a lot
1890: [23:52:15] <irogue> Colin[pi]: yeah, simon_w's usually gone well before 16:59:59 :P
1891: [23:52:19] <simon_w> The main change was PHP got a lot better at cleaning up objects
1892: [23:52:19] <Pyromanik> XHP?
1893: [23:52:31] <simon_w> https://github.com/facebook/xhp
1894: [23:53:07] <Pyromanik> oh, is that that hip hop php stack business?
1895: [23:53:10] <Colin[pi]> XML fragments.... become valid PHP?
1896: [23:53:15] <Pyromanik> OH
1897: [23:53:17] <Pyromanik> LIKE BOBX
1898: [23:53:28] <Pyromanik> hahahahahaha /me roffles all around the floor
1899: [23:53:45] <Pyromanik> http://thedailywtf.com/Articles/We-Use-BobX.aspx
1900: [23:54:45] <simon_w> It means I can do things like return <x:doctype><html><pr:head title={'PocketRent | ' . $path} /><body></body></html></x:doctype>;
1901: [23:54:57] <simon_w> And it's all valid HTML and all escaped properly
1902: [23:55:05] <Colin[pi]> but.. why?
1903: [23:55:16] <ss23> Sometimes I thikn "Vista wasn't so bad", then I boot into it and realise how stupid that thought is
1904: [23:55:19] <Pyromanik> becasuse smarty
1905: [23:55:38] * Pyromanik climbs all over ss23
1906: [23:55:39] <willr_> YAY Segfaults in 3.1 again!
1907: [23:55:43] * DigNZ quit (Ping timeout: 264 seconds)
1908: [23:55:45] <ss23> ;___;
1909: [23:55:47] <ss23> willr_: Blame PHP!
1910: [23:55:50] <Pyromanik> dat bobx
1911: [23:55:50] <simon_w> Because it's so much nicer than raw HTML
1912: [23:56:03] <Colin[pi]> guess I'll have to take your word for it :o
1913: [23:56:10] <ss23> tbh I like XHP
1914: [23:56:16] <ss23> It's templating done *right*
1915: [23:56:19] * nickmolhoek quit (Ping timeout: 264 seconds)
1916: [23:56:22] <simon_w> I can't write broken HTML to start with :p
1917: [23:56:31] <Colin[pi]> looks icky imho :\
1918: [23:56:39] <ss23> I've not uesd it for a big project though, so my experience is just with learning about it and thinking about it etc
1919: [23:56:42] <Colin[pi]> but to each their own
1920: [23:57:03] * zippy__ has joined #silverstripe
1921: [23:57:23] <Pyromanik> 11:56 <+ss23> It's templating done *right*
1922: [23:57:25] <Pyromanik> hmm ?
1923: [23:57:28] * nickmolhoek has joined #silverstripe
1924: [23:57:29] * nickmolhoek quit (Remote host closed the connection)
1925: [23:57:48] * nickmolhoek has joined #silverstripe
1926: [23:58:13] <ss23> Hmm what?
1927: [23:58:18] <ss23> XHP is, not Smarty :P
1928: [23:58:25] <zippy__> Bmabii7: https://github.com/silverstripe/silverstripe-framework/pull/2203 - but I think it only came in under 3.0 perhaps
1929: [23:58:45] <Bmabii7> XHP ? it sounds like MXML for AS3
1930: [23:59:23] <Bmabii7> zippy__: oh interesting! thanks for sendin that link
1931: [23:59:30] <Pyromanik> looks balls.

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