#silverstripe IRC Log

IRC log for 30 June 2013

All timestamps are in UTC.

1: [00:05:40] * ARNHOE quit (Remote host closed the connection)
2: [00:15:39] <SphereSilverNL> It's 2:15 AM
3: [00:15:44] <SphereSilverNL> Why am I working?
4: [00:24:36] * priithansen quit (Quit: priithansen)
5: [00:25:15] <guzzlefry> Dedication? :P
6: [00:26:50] <SphereSilverNL> I think 20 commits every day, last 4 days :P
7: [00:28:32] <SphereSilverNL> obsessed might be a better word :/
8: [00:36:15] <SphereSilverNL> I think my github says enough :/
9: [00:37:52] <SphereSilverNL> Yay, updated readme! :D
10: [00:38:10] <SphereSilverNL> Important stuff, like "Have you seen the cow?"
11: [00:40:13] <simon_w> SphereSilverNL, ->exclude('Blah:GreaterThan', $val)
12: [00:41:07] <SphereSilverNL> simon_w Thanks
13: [00:41:16] * SphereSilverNL hits his head against the wall
14: [00:41:19] <simon_w> Needs 3.1 though
15: [00:41:21] <SphereSilverNL> Why did I not think of that
16: [00:41:32] <SphereSilverNL> Latest version requires 3.1 anyway :)
17: [00:41:44] <SphereSilverNL> All the cool kids are on 3.1 :)
18: [00:41:51] <guzzlefry> I'm cool? :X
19: [00:41:55] <SphereSilverNL> Especially since it's a huge performance improvement :D
20: [00:42:04] <SphereSilverNL> Hey simon_w (or anyone else)
21: [00:42:19] <SphereSilverNL> why is 3.0, for that matter, so slow on handling _config.php file?
22: [00:42:50] <simon_w> It's the _config/ yaml stuff that's slow. Has to be built each time.
23: [00:44:04] <SphereSilverNL> Ok, profiler says it's specifically hanging on _config.php in version 3.0, 3.1 is way faster.
24: [00:45:06] <simon_w> Which _config.php?
25: [00:45:16] <SphereSilverNL> the mysite/_config.php
26: [00:45:35] <SphereSilverNL> even if it hardly contains any data, profiler apps say it's the most resource-taking file
27: [00:45:56] <simon_w> I find that hard to believe
28: [00:46:42] <SphereSilverNL> I don't have screenshots of the profiler right now. I'll ask my colleague who ran the profilers to make some screenshots monday.
29: [00:49:09] <SphereSilverNL> but the simple mysite/_config.php took about 30% if I recall correctly
30: [00:49:30] <SphereSilverNL> That's on 3.0.x, not on 3.1, just to make that extra clear :)
31: [00:49:54] * LoveDuckie quit (Ping timeout: 264 seconds)
32: [00:52:51] * chrisrio quit (Quit: Page closed)
33: [01:08:24] <SphereSilverNL> Ah, GreaterThan indeed solves my issue :)
34: [01:08:28] <SphereSilverNL> Thanks simon_w
35: [01:08:39] <SphereSilverNL> And again, I should have thought of that before :)
36: [01:09:17] <SphereSilverNL> although it's a bit counter-intuitive
37: [01:11:44] * howardgrigg has joined #silverstripe
38: [01:12:09] <SphereSilverNL> Is there a specific reason why $Top and $Up aren't available in <% include %> ?
39: [01:12:40] <simon_w> They are available, they just don't leave the include
40: [01:13:19] <SphereSilverNL> That's kinda what I meant :) so I can't reach $Top.SiteConfig from an include, for example
41: [01:13:28] <SphereSilverNL> Is there a reason for that?
42: [01:14:15] <SphereSilverNL> I use includes to clean up the HTML, not to leave the scope, usually
43: [01:14:42] <simon_w> Encapsulation and stuff
44: [01:14:43] <howardgrigg> SphereSilverNL: see this discussion https://groups.google.com/forum/#!topic/silverstripe-dev/ymCg3m5LBxE
45: [01:15:45] <simon_w> You can pass arguments in and I'm somewhat surprised SiteConfig isn't a TemplateGlobalProvider
46: [01:17:06] <SphereSilverNL> That's exactly my thought ;) I would think SiteConfig would be available.
47: [01:17:32] <SphereSilverNL> No Top or anything, that's ok, but no SiteConfig was a What the.... moment, didn't know that :)
48: [01:18:22] <simon_w> Pull request!
49: [01:18:41] <SphereSilverNL> One of my demo's includes a include that asks the SiteConfig for data... and the returned data is null ;)
50: [01:19:03] <SphereSilverNL> I'll make a pull if I have the time to actually write the tests and features for it, ok?
51: [01:19:31] <SphereSilverNL> I'm currently working on everything at once I think
52: [01:20:00] <SphereSilverNL> Mainly, because every customer in the country decided July first is an awesome delivery date :/
53: [01:20:20] <SphereSilverNL> Managers.... They think 9 women can deliver 1 baby in 1 month :/
54: [01:28:01] <SphereSilverNL> howardgrigg: No Up or Top is not a problem, but no access to SiteConfig is an issue, SiteConfig is supposed to be globally accessible, therefor, an include should also have access to it, right?
55: [01:39:11] <ss23> simon_w: I've heard of it, what is it though? Is it actually related to Harry Potter? Cause I swear the one time I've heard of it, it was like... someone talking about nothing to do with Harry Potter...
56: [01:39:56] <simon_w> ss23, it's based on Harry Potter, but he's a budding science prodigy and applies that to the magic
57: [01:40:54] <ss23> So he doesn't use fucking candles and live without internet like HP does?
58: [01:41:01] <ss23> Cause srsly, screw owls, needs more IRC
59: [01:41:10] <ss23> Imagine that, bewing able to communicate in real time! :D
60: [01:41:25] <simon_w> You know it's set in the 90s, right?
61: [01:41:42] <ss23> :O
62: [01:41:44] <ss23> But they grew up
63: [01:41:56] <ss23> And people had lightbulbs in the 90's
64: [01:43:07] <ss23> simon_w: Is it like Sherlock? Does he solve crimes?!
65: [01:47:31] <simon_w> No
66: [01:47:41] <ss23> What does he do?
67: [01:48:07] <simon_w> Learn, experiment, try to figure out the science behind magic
68: [01:48:18] <simon_w> You know, typical 13 year old stuff
69: [01:48:26] * DigNZ quit (Quit: DigNZ)
70: [01:48:39] <SphereSilverNL> I still don't understand magic :D
71: [01:48:48] <ss23> lol
72: [01:49:48] <SphereSilverNL> I worked with Joomla today.
73: [01:49:55] <SphereSilverNL> It was the worst time of my life
74: [01:50:44] <simon_w> So, this RealMe thing from the DIA uses SAML. My SAML module (currently) won't work with it. Sucks to be them.
75: [01:50:57] <ss23> lol
76: [01:51:04] <ss23> SphereSilverNL: XD
77: [01:51:46] <SphereSilverNL> The problem with Joomla is: It's Joomla :/
78: [01:52:02] <SphereSilverNL> For some reason, it thinks I have to edit an article. So far so good.
79: [01:52:17] <SphereSilverNL> Then, to publish it, I have to link that article to a menu-item....
80: [01:52:31] <SphereSilverNL> okay... well.... ehm... I don't know why, but okay
81: [01:53:02] <SphereSilverNL> To link it to a menu-item, I have to click through 4(!) menu's
82: [01:53:23] <SphereSilverNL> At that point, I got lost, gave up and told the customer he was an idiot for asking for Joomla
83: [01:53:29] <SphereSilverNL> His answer:
84: [01:53:40] <SphereSilverNL> It has worked for me all the time.
85: [01:53:45] <SphereSilverNL> My question:
86: [01:54:15] <SphereSilverNL> You don't mind clicking around in a completely obfuscated CMS system just to publish one page on your website?
87: [01:54:19] <SphereSilverNL> His answer:
88: [01:54:29] <SphereSilverNL> You mean it can be done easier?
89: [01:54:49] <SphereSilverNL> I'm somewhat surprised my head is still in one piece.
90: [01:55:42] <SphereSilverNL> Also, I'm somewhat surprised my desk is still in one piece, by the way.
91: [01:55:49] <ss23> lol
92: [01:55:51] <ss23> XD
93: [01:56:06] <ss23> http://www.whatdoestheinternetthink.net/Silverstripe
94: [01:56:33] <simon_w> http://www.whatdoestheinternetthink.net/Joomla
95: [01:56:37] <simon_w> I think it might be broken :p
96: [01:56:41] <ss23> haha
97: [01:56:47] <ss23> XD
98: [01:56:57] <SphereSilverNL> What is broken, Joomla or WDTIT?
99: [01:57:15] <simon_w> http://www.whatdoestheinternetthink.net/prism
100: [01:57:17] <simon_w> haha
101: [01:57:29] <SphereSilverNL> I love Prism!
102: [01:57:38] <SphereSilverNL> Backing up stuff for the win!
103: [01:57:42] <SphereSilverNL> ow, wait....
104: [01:58:56] <SphereSilverNL> Considering Joomla, this is a surprise: http://www.whatdoestheinternetthink.net/wordpress
105: [02:01:18] <SphereSilverNL> I once spent 14 days in a corner weeping.... I tried Joomla
106: [02:01:37] <SphereSilverNL> There are not many CMS/Frameworks that match Silverstripe if you ask me.
107: [02:01:56] <SphereSilverNL> Zend is the only one that tops it, but it requires more input
108: [02:02:10] <SphereSilverNL> And Zend is not a CMS system
109: [02:04:40] <SphereSilverNL> A close third is Symphony2
110: [02:06:59] <SphereSilverNL> I'm not crazy. My mother hd me tested.
111: [02:07:51] <SphereSilverNL> anyway, I'm off to check if my bed is still there :)
112: [02:08:54] * SphereSilverNL quit (Quit: <Zauberfisch> you are forgiven)
113: [03:43:51] * cloph has joined #silverstripe
114: [03:45:14] * cloph_away quit (Ping timeout: 260 seconds)
115: [04:21:09] * DigNZ has joined #silverstripe
116: [04:25:46] * DigNZ quit (Client Quit)
117: [05:04:21] * howardgrigg quit (Remote host closed the connection)
118: [06:47:14] * mobiusnz1 quit (Quit: Leaving.)
119: [06:51:15] * priithansen has joined #silverstripe
120: [07:17:27] * mobiusnz has joined #silverstripe
121: [07:17:57] * guzzlefry quit (Quit: Leaving.)
122: [07:29:25] <swordsmanz> I'm trying to load an image in my header theme file id there a specific way i need to load the image because when i do scr="/images/whatever.png" its not working :S
123: [07:34:17] <simon_w|air> swordsmanz, where's the image?
124: [07:34:33] <swordsmanz> in the images folder
125: [07:35:34] <swordsmanz> /themes/mytheme/images to be precise
126: [07:35:47] <simon_w|air> So you want src="$ThemeDir/images/..."
127: [07:36:39] <simon_w|air> http://doc.silverstripe.org/framework/en/topics/theme-development#themedir
128: [07:37:04] <swordsmanz> simon_w|air: thinking you muchly xD
129: [07:38:14] * priithansen quit (Quit: priithansen)
130: [07:56:45] * zippy__ has joined #silverstripe
131: [08:04:59] * Jakx has joined #silverstripe
132: [08:05:08] <Jakx> yo
133: [08:05:44] <Jakx> is it possible to reference the Page controller from within the Page class?
134: [08:06:05] <Jakx> it might be something along the lines of $this->Controller()
135: [08:19:53] * osterlaus has joined #silverstripe
136: [08:19:57] <simon_w> Jakx, closest you've got is Controller::curr()
137: [08:20:49] <Jakx> simon_w, hmmm yeah. A good answer, but I was hoping for something I could apply to $this->Parent(), so as to return a method from the parent controller
138: [08:25:51] * Colin[pi] has joined #silverstripe
139: [08:50:12] * priithansen has joined #silverstripe
140: [08:50:17] * Jakx has left #silverstripe
141: [08:54:29] * zippy__ quit (Quit: zippy__)
142: [09:02:03] * zippy__ has joined #silverstripe
143: [09:12:10] * mobiusnz quit (Ping timeout: 245 seconds)
144: [09:21:26] * gelignite has joined #silverstripe
145: [09:35:05] * simon_w|air quit (Quit: Leaving)
146: [09:35:10] * Hippieee has joined #silverstripe
147: [09:45:22] * simon_w|air has joined #silverstripe
148: [09:56:04] * LoveDuckie has joined #silverstripe
149: [10:05:54] * wmk has joined #silverstripe
150: [10:08:36] * mobiusnz has joined #silverstripe
151: [10:12:59] * mobiusnz quit (Ping timeout: 246 seconds)
152: [10:34:45] * Hippieeee has joined #silverstripe
153: [10:35:06] * Hippieeee quit (Client Quit)
154: [10:36:56] * Hippieee quit (Ping timeout: 268 seconds)
155: [10:46:18] * gelignite quit (Quit: http://bit.ly/nkczDT)
156: [11:09:05] * mobiusnz has joined #silverstripe
157: [11:09:47] * zippy__ quit (Quit: zippy__)
158: [11:13:54] * mobiusnz quit (Ping timeout: 264 seconds)
159: [11:34:33] * Werner_2_ has joined #silverstripe
160: [11:36:03] * wmk quit (Ping timeout: 276 seconds)
161: [12:09:36] * mobiusnz has joined #silverstripe
162: [12:12:23] * Shrike_Finland quit (Ping timeout: 256 seconds)
163: [12:12:58] * priithansen quit (Quit: priithansen)
164: [12:14:05] * mobiusnz quit (Ping timeout: 256 seconds)
165: [12:16:15] * Shrike_Finland has joined #silverstripe
166: [12:16:16] * Shrike_Finland quit (Client Quit)
167: [12:48:26] * Colin[pi] quit (Ping timeout: 252 seconds)
168: [13:10:05] * mobiusnz has joined #silverstripe
169: [13:14:17] * mobiusnz quit (Ping timeout: 246 seconds)
170: [13:52:40] <swordsmanz> I'm trying to embed a twitter feed and the embed code won't work , any ideas why ?
171: [14:01:33] * Colin[pi] has joined #silverstripe
172: [14:06:12] * Colin[pi] quit (Ping timeout: 276 seconds)
173: [14:10:36] * mobiusnz has joined #silverstripe
174: [14:15:18] * mobiusnz quit (Ping timeout: 276 seconds)
175: [14:19:54] * gelignite has joined #silverstripe
176: [15:08:56] * swordsmanz quit (Quit: swordsmanz)
177: [15:11:05] * mobiusnz has joined #silverstripe
178: [15:15:25] * mobiusnz quit (Ping timeout: 256 seconds)
179: [15:34:09] * SphereSilverNL has joined #silverstripe
180: [15:35:17] <SphereSilverNL> \☺
181: [16:04:39] * Werner_2_ is now known as wmk
182: [16:04:44] <wmk> SphereSilverNL, ??
183: [16:05:00] <SphereSilverNL> yes ??
184: [16:05:24] <wmk> i was just wondering what your post half an hour ago means
185: [16:05:34] <SphereSilverNL> Ehm, it's me waving
186: [16:05:48] <wmk> ah.
187: [16:05:52] * wmk waves back
188: [16:05:55] <SphereSilverNL> The backslash is my arm, the ALT-code 1 is a smileyface ;)
189: [16:06:29] <SphereSilverNL> Use [ALT]+[2] if you're not as fluorescently white as I am :D
190: [16:08:09] <wmk> hm, on german keyboards this doesn't work with alt codes
191: [16:08:31] <SphereSilverNL> Hmmm, that's a bummer
192: [16:08:46] <SphereSilverNL> It should though, left-alt + 1 is a smileyface
193: [16:08:47] <SphereSilverNL> ☺
194: [16:09:08] <SphereSilverNL> http://www.alt-codes.net/
195: [16:10:08] <SphereSilverNL> They only work with numpads btw
196: [16:11:17] <wmk> yup. just read it.
197: [16:11:28] <wmk> my laptop doesn't have a seperate numpad
198: [16:11:36] * mobiusnz has joined #silverstripe
199: [16:12:16] <SphereSilverNL> Should tagging be translatable?
200: [16:14:33] <SphereSilverNL> And does Object::get()->last() exists?
201: [16:15:58] * mobiusnz quit (Ping timeout: 246 seconds)
202: [16:21:07] * osterlaus quit (Quit: Leaving.)
203: [16:26:39] * SphereSilverNL quit (Remote host closed the connection)
204: [16:35:45] * Werner_2_ has joined #silverstripe
205: [16:35:45] * wmk quit (Read error: Connection reset by peer)
206: [16:37:57] * Shrike_Finland has joined #silverstripe
207: [17:00:55] * Colin[pi] has joined #silverstripe
208: [17:12:06] * mobiusnz has joined #silverstripe
209: [17:12:06] * Colin[pi] quit (Ping timeout: 276 seconds)
210: [17:14:37] * Zauberfisch-idle is now known as Zauberfisch
211: [17:16:20] * mobiusnz quit (Ping timeout: 245 seconds)
212: [17:18:01] * r3v3rb has joined #silverstripe
213: [17:33:31] * Werner_2_ quit (Read error: Connection reset by peer)
214: [17:33:48] * Werner_2_ has joined #silverstripe
215: [17:35:43] * Werner_2_ is now known as wmk
216: [18:12:35] * mobiusnz has joined #silverstripe
217: [18:17:45] * mobiusnz quit (Ping timeout: 276 seconds)
218: [19:07:25] * ticklenetwork has joined #silverstripe
219: [19:13:05] * mobiusnz has joined #silverstripe
220: [19:15:00] <ticklenetwork> Morning, is there anyone up that can help me with a question
221: [19:17:35] * mobiusnz quit (Ping timeout: 245 seconds)
222: [19:21:49] * mobiusnz has joined #silverstripe
223: [19:25:07] * lietzmk__ has joined #silverstripe
224: [19:29:09] * simon_w quit (Quit: This computer has gone to sleep)
225: [19:44:05] * ticklenetwork quit (Quit: Page closed)
226: [19:47:35] * Peavers has joined #silverstripe
227: [19:52:11] * Peavers quit (Ping timeout: 260 seconds)
228: [19:52:50] * Peavers has joined #silverstripe
229: [19:55:22] * r3v3rb quit (Quit: r3v3rb)
230: [19:56:40] <Peavers> Oh mondays...
231: [19:58:16] * r3v3rb has joined #silverstripe
232: [19:58:31] * RojoD has joined #silverstripe
233: [19:58:31] * RojoD quit (Changing host)
234: [19:58:31] * RojoD has joined #silverstripe
235: [20:02:32] * DigNZ has joined #silverstripe
236: [20:07:34] * mobiusnz quit (Quit: Leaving.)
237: [20:11:58] * simon_w has joined #silverstripe
238: [20:19:55] * lerni has joined #silverstripe
239: [20:23:09] * pex has joined #silverstripe
240: [20:24:41] * mobiusnz has joined #silverstripe
241: [20:30:17] * lerni quit (Remote host closed the connection)
242: [20:31:27] * lerni has joined #silverstripe
243: [20:38:26] * pex quit (Quit: pex)
244: [20:47:49] * nickmolhoek has joined #silverstripe
245: [20:47:50] * nickmolhoek quit (Remote host closed the connection)
246: [20:48:04] * nickmolhoek has joined #silverstripe
247: [20:49:26] * r3v3rb quit (Quit: r3v3rb)
248: [20:52:47] * MrJeremy has joined #silverstripe
249: [20:55:19] <simon_w> Yay, ClassName wasn't set properly for this one row. Now I get to deal with it D:
250: [20:59:14] <Peavers> "Action 'emailpreview' isn't allowed on class NewsletterGridFieldDetailForm_ItemRequest." grr
251: [21:00:36] <simon_w> Someone forgot an $allowed_actions
252: [21:00:41] <Peavers> yeah
253: [21:00:48] <Peavers> trying to workout where though lol
254: [21:00:57] <simon_w> NewsletterGridFieldDetailForm_ItemRequest
255: [21:01:08] <Peavers> well obviously ;)
256: [21:01:19] <simon_w> Which, I'm guessing, is in the Newsletter module!
257: [21:01:34] <Peavers> it sure is!
258: [21:01:54] <simon_w> So why haven't you fixed it yet? :p
259: [21:02:08] <Peavers> I'm trying to figure out why it worked on friday and doesn't today!
260: [21:02:14] <Peavers> I think there is bigger fish to fry somewhere...
261: [21:03:15] <simon_w> You updated to the latest 3.1 which is finally enforcing no $allowed_actions means no allowed actions?
262: [21:03:43] <Peavers> Oh so they FINALLY are enforcing it?
263: [21:04:00] <simon_w> Yeah, it was in the upgrading docs but not the actual code
264: [21:04:19] <simon_w> Empty array had the right effect, no array didn't
265: [21:04:20] <Peavers> thats going to break all sorts of shit for all sorts of people lol
266: [21:04:30] <Peavers> ss23 is going to be busy with dem support requests ;)
267: [21:05:39] * zippy__ has joined #silverstripe
268: [21:06:49] * dziuba has joined #silverstripe
269: [21:10:34] <Peavers> if NewsletterGridFieldDetailForm_ItemRequest extends something else, should the allowed_actions be on what it exends/
270: [21:11:40] <simon_w> The allowed_actions has to be on the class that defines the action
271: [21:12:09] <simon_w> Even if it's redeclaring an action, that class needs to have it in allowed_actions
272: [21:12:36] <Peavers> So I was right in putting it in NewsletterGridFieldDetailForm_ItemRequest, as thats where the method is declared
273: [21:12:47] <simon_w> Yup
274: [21:12:55] <Peavers> so why doesn't it work lol
275: [21:13:07] <simon_w> Have you flushed?
276: [21:13:15] <Peavers> yup, and wiped
277: [21:13:44] * lerni quit (Remote host closed the connection)
278: [21:13:50] <simon_w> pastie?
279: [21:14:24] * lerni has joined #silverstripe
280: [21:14:39] <Peavers> http://www.sspaste.com/paste/show/51d09f3d8178b
281: [21:14:46] <Peavers> the entire class, just because.
282: [21:16:35] <simon_w> But the edit form loads fine?
283: [21:16:38] <Peavers> yeah
284: [21:16:47] <Peavers> just can't send a test or save the email
285: [21:17:05] <Peavers> saving gives a forbiddin message, and sending the test gives the first error from above
286: [21:17:31] <simon_w> Well, you can't save because ItemEditForm's not in the allowed_actions
287: [21:17:43] <Peavers> build is failing on CI too
288: [21:17:44] * willr has joined #silverstripe
289: [21:25:27] <Peavers> ok back the truck up and ignore me
290: [21:25:29] <zippy__> Morning
291: [21:26:00] <Peavers> my test enviroment is a bit messed atm, just checked the files on the server and they didn't update so the allowed_actions wasnt even there...
292: [21:26:09] <Peavers> manually added in and seems to be working
293: [21:26:18] <Peavers> morning zippy__
294: [21:37:20] * guzzlefry_dev has joined #silverstripe
295: [21:38:54] * coldblooded01 has joined #silverstripe
296: [21:40:34] <simon_w> Peavers, was about to ask :p
297: [21:41:59] <Peavers> lol
298: [21:42:17] * tractorcow has joined #silverstripe
299: [21:42:35] <Peavers> So forked the newsletter on github, updated the fork, now I'm trying to create a merge request on github...
300: [21:42:45] <Peavers> this is why gitlab is better.. so much easier
301: [21:43:37] <simon_w> Bah, I really need to stop passing arguments to the DataObject constructor
302: [21:44:50] * lerni quit (Remote host closed the connection)
303: [21:45:16] * lerni has joined #silverstripe
304: [21:49:24] * pex has joined #silverstripe
305: [21:49:31] * ARNHOE has joined #silverstripe
306: [21:49:57] * lerni quit (Ping timeout: 256 seconds)
307: [21:50:09] * lerni has joined #silverstripe
308: [21:50:22] <simon_w> Man, rimu's DNS is kinda bad
309: [21:50:48] <simon_w> Wildcard and A records? Who knows which one wins!
310: [21:51:21] * simon_w hardcodes the other server into the hosts file
311: [21:58:10] <irogue> simon_w: could be worse, could be zoneedit
312: [21:59:23] <irogue> paid-for dns servers, one of their NSes had its SOA serial screwed up and started delivering 12mo old records, emailed them, got a reply *3 months later*
313: [22:00:13] <irogue> needless to say i'd long moved everything away from them
314: [22:01:39] * gelignite quit (Quit: http://bit.ly/nkczDT)
315: [22:02:01] <simon_w> Well, I've fixed that problem. Now I get to write unit tests for my SAML module!
316: [22:02:12] <simon_w> (which won't work with RealMe)
317: [22:04:24] <Peavers> Better get that done big fella ;))
318: [22:04:46] <simon_w> What? Unit tests or RealMe support? :p
319: [22:04:53] <Peavers> unit tests
320: [22:04:59] <simon_w> Yeah yeah
321: [22:07:32] <Peavers> I think I asked this before, but any plans for AD support from ss?
322: [22:09:15] <ss23> Peavers: Support requests? I'M DOING SUPPORT REQUESTS RIGHT NOW
323: [22:09:22] <simon_w> AD?
324: [22:09:56] <Peavers> LDAP/AD - Active Directory etc etc
325: [22:10:08] <simon_w> You can write something for it
326: [22:10:13] <Peavers> I know I can
327: [22:10:16] <Peavers> queston is, are you?
328: [22:10:17] <Peavers> lol
329: [22:10:23] <simon_w> I'm not :p
330: [22:10:42] <simon_w> ss-au may have something, can't remember
331: [22:13:16] * Colin[pi] has joined #silverstripe
332: [22:14:19] <ss23> http://api.silverstripe.org/3.0/source-class-SecurityToken.html#72-79
333: [22:14:20] <ss23> lol @ this
334: [22:14:25] <ss23> "Note: Does not apply for"
335: [22:14:28] <ss23> APPLY FOR WHAT?!
336: [22:14:29] <ss23> DAMMIT
337: [22:15:14] <Peavers> assume if the method is called the token isn't applied..?
338: [22:15:45] <ss23> Is there a per-form CSRF disable? I thought there was
339: [22:16:05] <ss23> oh there it is, Form::disableSecurityToken
340: [22:16:50] <Peavers> Its 10am and I'm starving...
341: [22:17:08] <simon_w> ss23, sminnee wrote that comment. Bug him :p
342: [22:17:14] <simon_w> Peavers, BurgerFuel!
343: [22:17:32] <Peavers> You guys should bring the burgerfuel to me
344: [22:17:49] <sminnee> ss23: yeah incomplete sentences are my achilles heel
345: [22:17:55] <Peavers> A nice stroll up the waterfront would do you all some good
346: [22:18:09] <sminnee> Peavers: where do you work?
347: [22:18:13] <Peavers> MoE,
348: [22:18:21] <sminnee> oh sweet. what's your real name?
349: [22:18:22] <Peavers> We hang out during the training a month back _b
350: [22:18:24] <Peavers> Chris
351: [22:18:27] <sminnee> Oh col.
352: [22:18:28] <sminnee> cool.
353: [22:18:34] <sminnee> good to see you again
354: [22:18:43] <Peavers> Good to see you in here...
355: [22:19:00] <sminnee> yeah i usually keep it on and look at it when someone mentions me ;)
356: [22:20:42] <simon_w> So just start mentioning him at the end of every message ;)
357: [22:22:01] * spronk has left #silverstripe
358: [22:22:50] * spronk has joined #silverstripe
359: [22:23:06] * pex quit (Quit: pex)
360: [22:23:59] * EasyCo has joined #silverstripe
361: [22:24:03] * EasyCo has left #silverstripe
362: [22:24:09] * EasyCo has joined #silverstripe
363: [22:27:18] <Peavers> So simon_w, about this newsletter mod. How do I know which methods require to be in allowed_actions? Is it anything that returns something or writes something?
364: [22:27:36] <simon_w> Peavers, anything that can be called from a URL
365: [22:29:53] <ss23> dat newsletter module.
366: [22:29:58] <Peavers> Its killing me...
367: [22:30:14] <ss23> lol
368: [22:30:15] <Peavers> I pushed a merge request for it though!
369: [22:30:21] <Peavers> first one on github
370: [22:30:32] <Peavers> or a pull request... I think they call it
371: [22:30:32] <ss23> sminnee: Is there going to be a security annoucnement for the newsletter module btw, given how many people presumably still use it?
372: [22:30:55] <Peavers> Should we not be using it?
373: [22:30:59] <Peavers> my boss has big plans for it
374: [22:33:18] <sminnee> Peavers: we've found an issue and we're releasing a point release for it.
375: [22:33:33] <Peavers> sweet as
376: [22:33:37] <simon_w> Hmm, this is annoying. Need to test code that uses an external dependancy that calls exit;
377: [22:33:37] <sminnee> to answer your question - yes, we should mention that the relevant point release contains a security fix when we release it.
378: [22:33:56] <sminnee> simon_w: burn.
379: [22:34:29] <simon_w> Hmm, could rewrite the external thing to throw a SS_HTTPResponse_Exception instead
380: [22:36:37] <ss23> simon_w: function foo() { all the silverstripe here } register_shutdown_function('foo');
381: [22:36:42] <ss23> o/
382: [22:37:01] <simon_w> ss23, writing unit tests.
383: [22:37:10] <ss23> ewwww
384: [22:37:19] <ss23> How long is too long/fast for a slider?
385: [22:37:48] <ss23> It's ~6 seconds atm but client wants it faster
386: [22:37:50] <ss23> 4 seconds too fast?
387: [22:39:11] <Peavers> silder? a carousel?
388: [22:39:44] <sminnee> simon_w: patch or replace your 3rd party dependency?
389: [22:39:54] <spronk> ss23: depends on how big
390: [22:39:59] <simon_w> sminnee, yeah, is what I'm doing
391: [22:40:06] <ss23> Ummmmm, carousel? I don't know the difference!
392: [22:40:10] <sminnee> I'd make your patch so you can push it upstream.
393: [22:40:14] <ss23> I'll do 5 and see how they do it :O
394: [22:43:41] <Peavers> a silder http://jqueryui.com/slider/
395: [22:44:00] <Peavers> a carousel http://www.tripwiremagazine.com/2012/12/jquery-carousel.html
396: [22:49:28] <Colin[pi]> tbh peavers the terms are used pretty interchangeably
397: [22:49:48] <Colin[pi]> but yeah a slider in the traditional sense is the GUI thing
398: [22:50:15] <Peavers> I'm a triditional kinda guy ;)
399: [22:50:25] <Colin[pi]> this one is SlideDeck.js? more like HipsterDeck.js: http://cdn.tripwiremagazine.com/wp-content/uploads/2012/12/sd2_in-action2_535.jpg
400: [22:50:50] <Peavers> lollol
401: [22:53:23] <Colin[pi]> ss23 in my install, the client can control the speed/transition options using the CMS GUI
402: [22:53:35] <ss23> Not a bad idea
403: [22:53:47] <ss23> Also, carousel it is! (If you use the terms like Peavers did)
404: [22:54:05] <Peavers> lol, keeps things sane
405: [22:54:30] <Colin[pi]> yeah though for my clients, I called this: www.praxis.net.au a slider, and this: www.rudds.com.au a carousel
406: [22:56:45] * guzzlefry_dev quit (Remote host closed the connection)
407: [22:57:19] * tractorcow quit (Quit: Leaving.)
408: [22:57:22] <Peavers> you ss cats didn't approve my awsome yet terribly coded theme on silverstripe/themes yet!
409: [22:57:45] * guzzlefry_dev has joined #silverstripe
410: [22:58:00] <ss23> I would approve it BUT I'M TOO BUSY DOING SUPPORT TICKETS
411: [22:58:03] * ss23 glares at Peavers
412: [22:58:12] <willr> ss23 get back to work
413: [22:58:17] <ss23> :<
414: [22:58:24] <ss23> willr: Wanna buy me lunch again, r1ch k1d?
415: [22:58:33] <Peavers> I'm doing your job dude, pushing fixes to repos so people don't come at you!
416: [22:58:35] <Peavers> savin your life.
417: [22:58:57] <ss23> XD
418: [22:59:03] <willr> Peavers DONE
419: [22:59:45] <willr> Though you should add a composer.json
420: [22:59:54] <Peavers> yeah will do that
421: [23:00:02] <willr> The old silverstripe.org/extensions will be dead shortly
422: [23:00:12] <zippy__> I think I saw in a config somewhere that you can specify that the server the site is on, is a dev server - so the site can be in dev mode.
423: [23:00:15] <willr> themes,widgets and modules should all be in packages
424: [23:00:21] <Peavers> agreed
425: [23:00:28] <Peavers> its bit of a mess at the moment trying to find stuff...
426: [23:00:39] <Colin[pi]> ss23: this is what I have in my cms for the slider options: http://i.imgur.com/39sN5rI.png
427: [23:00:45] <zippy__> Is it possible to set it so if the site is in production, but a request comes from a certain IP that the site is in dev mode? Thus you can do dev builds on deploy automatically?
428: [23:01:11] <Peavers> should have used a silder to control the 'silder' Colin[pi]
429: [23:01:51] <Colin[pi]> silder?
430: [23:02:15] <Peavers> slider*
431: [23:02:31] <Peavers> new keyboard isn't agreeing with me
432: [23:02:47] <ss23> oh, Colin[pi], what is this fancypants CMS module
433: [23:02:59] <Colin[pi]> ss23 it's of my own construction
434: [23:03:01] <Colin[pi]> :)
435: [23:03:10] <Colin[pi]> but is 2.4 :(
436: [23:03:16] <ss23> looks a lot nicer than default 2.4
437: [23:03:27] <Colin[pi]> ah I reskinned the cms quite dramatically
438: [23:03:42] <Peavers> it looks good _b
439: [23:04:05] <Colin[pi]> yeah the default 2.4 look and feel was in desperate need of a refresh
440: [23:04:19] <ss23> damn, now I wanna use 2.4 again
441: [23:04:46] * ARNHOE quit (Remote host closed the connection)
442: [23:04:52] <Colin[pi]> all in all it took about a month on and off for me messing around with the CSS to get it like that, lol
443: [23:05:04] <Colin[pi]> (css overridden by module)
444: [23:12:14] * dziuba quit ()
445: [23:19:04] * RojoD quit (Ping timeout: 256 seconds)
446: [23:19:06] * lerni quit (Remote host closed the connection)
447: [23:23:52] <ss23> Does SS3 not give extension of files when you are in Files tab, or the type?
448: [23:24:06] <ss23> Like, how can you tell what kind of file it is? It doesn't display extension for me, or a field for file type
449: [23:35:32] <simon_w> Name doesn't have extension, path does
450: [23:38:36] <Colin[pi]> FIRE ZE LASERS! https://pbs.twimg.com/media/BOChY-XCYAAbBwL.jpg
451: [23:38:45] <ss23> Gargh foo bar
452: [23:38:59] <ss23> I think there is a bug to do with combinining JS files and subsites
453: [23:39:08] <ss23> I rebuild on one subsite, the other subsite has a broken combined files
454: [23:39:17] <ss23> I rebuild the main one, and subsite combined files breaks
455: [23:39:18] <ss23> IDEK
456: [23:39:37] <simon_w> Subsites have different required JS files?
457: [23:40:07] <ss23> WTF
458: [23:40:09] <ss23> simon_w: Yes
459: [23:40:10] <ss23> ;_;
460: [23:40:19] <ss23> It only builds a single combined_files for every subsite, doesn't it
461: [23:40:24] <ss23> How... how has no one noticed this before
462: [23:40:37] <ss23> The JS must be just similiar enough that it only breaks in one place
463: [23:40:46] <simon_w> ss23, different themes or different controllers?
464: [23:40:52] <ss23> Different themes
465: [23:41:38] <simon_w> Requirements::combine_files('blah-' . SSViewer::current_theme() . '.js', array(....))
466: [23:45:08] <ss23> ty simon_w <3
467: [23:45:59] <irogue> sminnee: what model of 3D printer is yours?
468: [23:46:15] <sminnee> it's a RepRep Prusa Mendel based on a kit from MakerGera
469: [23:46:15] <ss23> sminnee: HAS A 3D PRINTER?!
470: [23:46:22] <ss23> sminnee: PRINT THE OFFICE COOL STUFF
471: [23:46:27] <Peavers> Made a gun yet?
472: [23:46:31] <ss23> lol
473: [23:46:31] <sminnee> lol
474: [23:46:33] <Peavers> seems to be all the rage...
475: [23:46:52] <irogue> ss23: yeah there was playing with it at a previous hackfest
476: [23:46:57] <ss23> :<
477: [23:47:45] <simon_w> The 3.0 launch one
478: [23:51:12] <ss23> You automatically watched these repositories because you've been given push access to them.
479: [23:51:19] <ss23> TIME TO TURN EVIL WITH ALL THE SILVERSTRIPE REPOS
480: [23:51:20] <ss23> WAHAHAHAHAHH
481: [23:52:02] <zippy__> I have a module which I want to extend / add some function to. The function is quite unique to this site so don't want to push it upstream. Whats the best way to extend it, without writing to the modules folder as I will still pull in any upstream changes
482: [23:52:18] <Peavers> branch it?
483: [23:52:29] <ss23> zippy__: Object::add_extension could work if you want to do it without git stuff
484: [23:52:53] * simon_w figured out how to get around the signing requirement!
485: [23:53:08] <ss23> simon_w: Forge a signature!
486: [23:53:21] <simon_w> Config option to say not to check!
487: [23:53:29] <ss23> :D
488: [23:53:51] <zippy__> ss23: Intersting, will look into - what about templates, or do templates not need to be in a module folder anyway
489: [23:54:02] <Peavers> omg my plex server has just finished indexing my movies after almost two weeks of running the cpu at 100% - what a mission that was.
490: [23:54:48] <simon_w> if(!static::config()->get('check_signatures')) return true;
491: [23:54:49] <simon_w> :)
492: [23:55:09] <ss23> At first I was going to be all fancy like "JUST return !static..."
493: [23:55:13] <ss23> but then I was like "OH MAN I'M DUM"
494: [23:55:19] <Colin[pi]> I like how sminnee didn't actually answer the gun question, he just lol'ed ;)
495: [23:55:20] <ss23> Story of my life, I tell you
496: [23:55:26] <ss23> hahaha Colin[pi]
497: [23:55:31] <Peavers> lol
498: [23:55:49] * Colin[pi] waves to our american listeners
499: [23:55:52] <sminnee> i should be a politician
500: [23:56:25] <Colin[pi]> immediately thought of the cat sitting at the desk meme
501: [23:56:29] <willr> sminnee oh the thought
502: [23:56:41] <ss23> Colin[pi]: do it
503: [23:56:47] <ss23> get a picture of sminnee and some photoshop
504: [23:57:12] <ss23> simon_w: Lunch today?
505: [23:57:18] <ss23> Or are you getting sick of burgerfuel? :D
506: [23:57:23] <simon_w> ss23, I suppose I could
507: [23:57:33] <simon_w> Might go somewhere different though :p
508: [23:57:38] <ss23> :D
509: [23:57:39] <ss23> sweet
510: [23:57:48] <Peavers> you guys should try a salad ;)
511: [23:57:55] <Colin[pi]> hahahhaa
512: [23:57:57] <Colin[pi]> sif
513: [23:58:12] <simon_w> BurgerFuel comes with salad!
514: [23:58:16] <simon_w> Inside the burger
515: [23:58:36] <Peavers> lol you sound like my missus, thats how she justifies it (shes a massive bf nut)
516: [23:59:04] <simon_w> Oh, I justify it because it's delicious :p

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