#silverstripe IRC Log

IRC log for 26 May 2013

All timestamps are in UTC.

1: [00:10:27] <FrozenFire> So, there's going to be SS code in ZF2's skeleton application
2: [00:19:56] * travis-ci has joined #silverstripe
3: [00:19:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#141 (3.1 - 30063f0 : Sean Harvey): The build passed.
4: [00:19:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6f2ba3fcac54...30063f0f7b5a
5: [00:19:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7500837
6: [00:19:57] * travis-ci has left #silverstripe
7: [00:41:45] * willr quit (Quit: willr)
8: [00:42:52] * willr has joined #silverstripe
9: [00:43:28] * willr quit (Client Quit)
10: [00:44:02] * spronk2 quit (Ping timeout: 246 seconds)
11: [00:56:54] * spronk2 has joined #silverstripe
12: [01:19:12] * travis-ci has joined #silverstripe
13: [01:19:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#143 (3.1 - 2b9a44e : Sean Harvey): The build passed.
14: [01:19:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/30063f0f7b5a...2b9a44ef67b4
15: [01:19:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7501545
16: [01:19:13] * travis-ci has left #silverstripe
17: [01:31:44] * MrJeremy has joined #silverstripe
18: [01:50:57] * joelpittet quit (Remote host closed the connection)
19: [02:12:08] * simon_w quit (Quit: Leaving)
20: [02:18:09] * simon_w has joined #silverstripe
21: [03:04:54] * chrisrio has joined #silverstripe
22: [03:06:22] <chrisrio> anyone crazy enough to be in on a sunday? :P
23: [03:07:39] <simon_w> Is that a rhetorical question? :p
24: [03:08:03] <chrisrio> yo S-dizzle :P
25: [03:08:29] <chrisrio> can you many_many the same DataObject to itself? :P
26: [03:08:36] <chrisrio> Member Follows Member
27: [03:09:30] <chrisrio> not quite sure what the best structure would be to manage something like following..
28: [03:09:39] <chrisrio> seperate follow object?
29: [03:10:09] <simon_w> you can
30: [03:11:45] * Colin[pi] quit (Ping timeout: 276 seconds)
31: [03:12:06] * Colin[pi] has joined #silverstripe
32: [03:14:56] * cloph_away1 has joined #silverstripe
33: [03:16:31] * cloph_away quit (Ping timeout: 245 seconds)
34: [03:22:10] * chrisrio quit (Quit: Page closed)
35: [03:52:59] * dospuntocero has joined #silverstripe
36: [03:53:10] * dospuntocero quit (Remote host closed the connection)
37: [03:53:18] * dospuntocero has joined #silverstripe
38: [04:21:44] * willr has joined #silverstripe
39: [05:11:54] * joelpittet has joined #silverstripe
40: [05:23:36] * willr quit (Quit: willr)
41: [05:23:59] * willr has joined #silverstripe
42: [05:28:38] <MrJeremy> can you do switch statements in silverstripe templates?
43: [05:30:44] <simon_w> nope
44: [05:31:39] <MrJeremy> ah that would have been handy. I guess Ill do lots of IF statements then
45: [05:31:41] <MrJeremy> cheers
46: [05:35:16] * SightUnseen has joined #silverstripe
47: [05:35:17] * SightUnseen has left #silverstripe
48: [05:46:23] * ec8or_ quit (Read error: Connection reset by peer)
49: [05:46:41] * ec8or has joined #silverstripe
50: [05:55:30] * lewellyn quit (Excess Flood)
51: [05:55:39] * lewellyn has joined #silverstripe
52: [05:59:56] <willr> MrJeremy else_if has better support in 3.0 which pretty much gives you a switch.
53: [06:31:45] * dospuntocero quit (Remote host closed the connection)
54: [06:38:59] * robert_ quit (Ping timeout: 256 seconds)
55: [06:38:59] <MrJeremy> willr: thanks, that will tidy my code up a bit
56: [06:44:00] * willr quit (Quit: willr)
57: [06:45:53] * joelpittet quit (Remote host closed the connection)
58: [07:02:37] * dospuntocero has joined #silverstripe
59: [07:05:40] * dospuntocero quit (Remote host closed the connection)
60: [07:05:47] * dospuntocero has joined #silverstripe
61: [07:07:42] * Motoservo quit (Quit: Motoservo)
62: [07:08:41] * dospuntocero quit (Remote host closed the connection)
63: [07:09:17] * dospuntocero has joined #silverstripe
64: [07:11:10] * Motoservo has joined #silverstripe
65: [07:11:50] * dospuntocero quit (Remote host closed the connection)
66: [07:12:27] * dospuntocero has joined #silverstripe
67: [07:15:00] * dospuntocero quit (Remote host closed the connection)
68: [07:15:40] * dospuntocero has joined #silverstripe
69: [07:18:13] * dospuntocero quit (Remote host closed the connection)
70: [07:18:51] * dospuntocero has joined #silverstripe
71: [07:21:24] * dospuntocero quit (Remote host closed the connection)
72: [07:22:01] * dospuntocero has joined #silverstripe
73: [07:24:34] * dospuntocero quit (Remote host closed the connection)
74: [07:25:17] * dospuntocero has joined #silverstripe
75: [07:27:49] * dospuntocero quit (Remote host closed the connection)
76: [07:28:27] * dospuntocero has joined #silverstripe
77: [07:30:59] * dospuntocero quit (Remote host closed the connection)
78: [07:31:37] * dospuntocero has joined #silverstripe
79: [07:34:10] * dospuntocero quit (Remote host closed the connection)
80: [07:34:47] * dospuntocero has joined #silverstripe
81: [07:37:20] * dospuntocero quit (Remote host closed the connection)
82: [07:37:56] * dospuntocero has joined #silverstripe
83: [07:40:34] * dospuntocero quit (Remote host closed the connection)
84: [07:41:13] * dospuntocero has joined #silverstripe
85: [07:43:45] * dospuntocero quit (Remote host closed the connection)
86: [07:44:24] * dospuntocero has joined #silverstripe
87: [07:46:55] * dospuntocero quit (Remote host closed the connection)
88: [07:47:33] * dospuntocero has joined #silverstripe
89: [07:50:05] * dospuntocero quit (Remote host closed the connection)
90: [07:50:42] * dospuntocero has joined #silverstripe
91: [07:53:15] * dospuntocero quit (Remote host closed the connection)
92: [07:53:54] * dospuntocero has joined #silverstripe
93: [07:56:35] * dospuntocero quit (Remote host closed the connection)
94: [07:57:14] * dospuntocero has joined #silverstripe
95: [07:59:47] * dospuntocero quit (Remote host closed the connection)
96: [08:00:24] * dospuntocero has joined #silverstripe
97: [08:02:57] * dospuntocero quit (Remote host closed the connection)
98: [08:03:34] * dospuntocero has joined #silverstripe
99: [08:06:07] * dospuntocero quit (Remote host closed the connection)
100: [08:06:43] * dospuntocero has joined #silverstripe
101: [08:08:53] * Nightjar has joined #silverstripe
102: [08:09:17] * dospuntocero quit (Remote host closed the connection)
103: [08:09:53] * dospuntocero has joined #silverstripe
104: [08:12:27] * dospuntocero quit (Remote host closed the connection)
105: [08:13:04] * dospuntocero has joined #silverstripe
106: [08:15:37] * dospuntocero quit (Remote host closed the connection)
107: [08:16:16] * dospuntocero has joined #silverstripe
108: [08:17:32] <MrJeremy> can you use static functions on a page controller in a template?
109: [08:18:51] * dospuntocero quit (Remote host closed the connection)
110: [08:19:36] * dospuntocero has joined #silverstripe
111: [08:19:56] <simon_w> MrJeremy, nope
112: [08:22:48] <Nightjar> make an instance method to call the static method you could, but that's a bit silly.
113: [08:23:38] * dospuntocero quit (Remote host closed the connection)
114: [08:23:44] <MrJeremy> was hopeing to avoid that but oh well
115: [08:24:33] <MrJeremy> thanks guys tho
116: [08:25:11] * dospuntocero has joined #silverstripe
117: [08:25:49] <MrJeremy> The function has no state awareness so I was hoping to make it static
118: [08:27:45] * dospuntocero quit (Remote host closed the connection)
119: [08:28:22] * dospuntocero has joined #silverstripe
120: [08:30:55] * dospuntocero quit (Remote host closed the connection)
121: [08:31:33] * dospuntocero has joined #silverstripe
122: [08:31:46] * Shrike_Finland has joined #silverstripe
123: [08:32:39] * Shrike_Finland1 has joined #silverstripe
124: [08:33:37] * Shrike_Finland1 quit (Client Quit)
125: [08:33:40] * Shrike_Finland2 has joined #silverstripe
126: [08:34:06] * dospuntocero quit (Remote host closed the connection)
127: [08:34:43] * dospuntocero has joined #silverstripe
128: [08:35:29] * Motoservo quit (Quit: Over & out.)
129: [08:35:47] * Motoservo has joined #silverstripe
130: [08:36:07] * Shrike_Finland quit (Ping timeout: 245 seconds)
131: [08:37:16] * dospuntocero quit (Remote host closed the connection)
132: [08:37:47] * JohnnyJimJams has joined #silverstripe
133: [08:37:57] * dospuntocero has joined #silverstripe
134: [08:41:15] * dospuntocero quit (Remote host closed the connection)
135: [08:41:51] * dospuntocero has joined #silverstripe
136: [08:44:25] * dospuntocero quit (Remote host closed the connection)
137: [08:45:01] * dospuntocero has joined #silverstripe
138: [08:47:35] * dospuntocero quit (Remote host closed the connection)
139: [08:48:12] * dospuntocero has joined #silverstripe
140: [08:50:46] * dospuntocero quit (Remote host closed the connection)
141: [08:51:35] * dospuntocero has joined #silverstripe
142: [08:55:46] * dospuntocero quit (Ping timeout: 248 seconds)
143: [09:02:02] * Colin[pi] quit ()
144: [09:04:57] * Nightjar has left #silverstripe
145: [09:05:37] * MrJeremy quit (Quit: MrJeremy)
146: [09:09:29] * priithansen has joined #silverstripe
147: [09:15:57] * willmorgan has joined #silverstripe
148: [09:31:52] * dospuntocero has joined #silverstripe
149: [09:35:29] * zippy__ has joined #silverstripe
150: [09:39:59] * dospuntocero quit (Read error: Connection reset by peer)
151: [09:40:15] * dospuntocero has joined #silverstripe
152: [09:42:50] * dospuntocero quit (Remote host closed the connection)
153: [09:44:45] * spronk has joined #silverstripe
154: [09:52:31] * SightUnseen has joined #silverstripe
155: [09:52:33] * SightUnseen has left #silverstripe
156: [09:54:45] * Inderbirsighn has joined #silverstripe
157: [09:57:27] * Inderbirsighn quit (Client Quit)
158: [10:05:33] * zippy__ quit (Quit: zippy__)
159: [10:18:21] * Motoservo_ has joined #silverstripe
160: [10:20:08] * Motoservo quit (Ping timeout: 246 seconds)
161: [10:20:09] * Motoservo_ is now known as Motoservo
162: [10:29:46] * dospuntocero has joined #silverstripe
163: [10:34:02] * dospuntocero quit (Ping timeout: 240 seconds)
164: [11:32:19] * gelignite has joined #silverstripe
165: [12:35:22] * priithansen quit (Quit: priithansen)
166: [12:37:47] * priithansen has joined #silverstripe
167: [12:53:52] * dospuntocero has joined #silverstripe
168: [13:33:18] * priithansen quit (Quit: priithansen)
169: [13:33:56] * priithansen has joined #silverstripe
170: [14:55:09] * jrthomer_ quit (Remote host closed the connection)
171: [14:55:34] * jrthomer_ has joined #silverstripe
172: [15:12:17] * jrthomer_ quit (Remote host closed the connection)
173: [15:13:09] * jrthomer_ has joined #silverstripe
174: [16:04:20] * onre_ has joined #silverstripe
175: [16:04:23] * ajmitch_ has joined #silverstripe
176: [16:09:02] * chillu quit (Ping timeout: 252 seconds)
177: [16:17:25] * ajmitch quit (*.net *.split)
178: [16:17:25] * onre quit (*.net *.split)
179: [16:30:53] * jrthomer_ quit (Remote host closed the connection)
180: [16:30:58] * jrthomer__ has joined #silverstripe
181: [16:54:11] * guci0 has joined #silverstripe
182: [16:54:14] <guci0> Hi all!
183: [17:07:23] * dospuntocero quit (Remote host closed the connection)
184: [17:11:19] * joelpittet has joined #silverstripe
185: [17:38:09] * dospuntocero has joined #silverstripe
186: [17:47:16] * zfmf1 has joined #silverstripe
187: [17:48:14] * dospuntocero quit (Ping timeout: 276 seconds)
188: [18:23:30] * wmk has joined #silverstripe
189: [18:27:11] * UncleCheese has joined #silverstripe
190: [18:32:41] * UncleCheese quit (Quit: UncleCheese)
191: [18:59:22] * pex has joined #silverstripe
192: [19:00:48] * dospuntocero has joined #silverstripe
193: [19:07:54] * pex quit (Quit: pex)
194: [19:08:46] * pex has joined #silverstripe
195: [19:28:56] * simon_w quit (Quit: This computer has gone to sleep)
196: [19:50:08] * joelpittet quit (Remote host closed the connection)
197: [19:50:25] * joelpittet has joined #silverstripe
198: [19:52:44] * wmk quit (Quit: nice to meet you ;))
199: [19:56:11] * simon_w has joined #silverstripe
200: [19:58:17] * cjt has joined #silverstripe
201: [19:58:42] * cjt has left #silverstripe
202: [20:13:58] * Peavers has joined #silverstripe
203: [20:14:10] <Peavers> Good morning peeps, how was the hackfest?
204: [20:19:44] * SightUnseen has joined #silverstripe
205: [20:19:49] * SightUnseen has left #silverstripe
206: [20:20:52] <simon_w> Well, I got my bug fixed
207: [20:21:58] <Peavers> nice _b
208: [20:22:34] <Peavers> Wish I had attended but out with a bad case of the cold :( - I'm sure you would have all loved to catch that.
209: [20:35:14] <unsignedint> I wanted to attend but my girlfriend made me stay in Johnsonville for most of the day
210: [20:41:09] * DigNZ has joined #silverstripe
211: [20:42:27] * joelpittet quit (Remote host closed the connection)
212: [20:46:24] <simon_w> All I'm hearing are excuses :p
213: [20:49:23] * zippy__ has joined #silverstripe
214: [20:52:15] * pex quit (Ping timeout: 246 seconds)
215: [20:53:57] * dospuntocero quit (Remote host closed the connection)
216: [20:54:46] * pex has joined #silverstripe
217: [20:58:43] * gumble has joined #silverstripe
218: [20:59:18] <gumble> how do I add a css class or a * to required fields in a form?
219: [21:01:57] * zfmf1 has left #silverstripe
220: [21:06:01] <priithansen> FormField->addExtraClass('class')
221: [21:10:11] <Peavers> Could not fetch https://api.github.com/repos/silverstripe/sapphire/zipball/3.1.0-beta3, enter your GitHub credentials to access private repos
222: [21:10:17] <Peavers> beta gone private?
223: [21:11:00] * Pyromanik has joined #silverstripe
224: [21:11:08] <Pyromanik> and then this happened again.
225: [21:13:20] <lewellyn> who here was it that loves recaptcha? http://i.imgur.com/yWSyCYi.png :/
226: [21:15:30] <simon_w> Peavers, something really weird is happening to composer. Using 3.1.x-dev as the version seems to work
227: [21:15:31] <gumble> priithansen: do I have to call it on every required field?
228: [21:15:43] <Peavers> alright will give that a shot
229: [21:18:42] <Pyromanik> lewellyn: I wouldn't say I love it, just found it better (err, easier to implement) than most others (or that others that are easier are far less effective).
230: [21:19:01] <lewellyn> Pyromanik: you clicked what it fed me a bit ago? :/
231: [21:19:03] <Pyromanik> but that says melogyt
232: [21:19:10] <Pyromanik> lewellyn: ^
233: [21:19:15] <lewellyn> it says "two" words
234: [21:19:17] <gumble> how do I find out the id of a group so that I can add users to it?
235: [21:19:22] <lewellyn> i tried fireplace as the first. it didn't like it.
236: [21:19:31] <Pyromanik> lewellyn:I've never seen it do a picture before, to be fair.
237: [21:19:45] <Pyromanik> especially one so well quality.
238: [21:19:48] <lewellyn> i see it feed me all kinds of useless crap
239: [21:19:52] <Pyromanik> but it says ~
240: [21:19:57] <simon_w> gumble, you can just use the name or code instead
241: [21:19:57] <Pyromanik> FFFFFFFFFFFFFFFF numlock
242: [21:19:59] <Pyromanik> 6028
243: [21:20:09] <Pyromanik> lewellyn: 6028 Melogyt
244: [21:20:27] <gumble> simon_w: thanks
245: [21:20:35] <simon_w> $member->addToGroupByCode('CODE')
246: [21:20:49] <lewellyn> Pyromanik: it already denied me. and where was the number?
247: [21:21:00] <lewellyn> oh
248: [21:21:05] <lewellyn> i thought it was a fireplace.
249: [21:21:25] <Pyromanik> it's a street address at a guess.
250: [21:21:35] <Pyromanik> although at first glance I did think it was someone's front door arch.
251: [21:21:53] <lewellyn> yeah. it didn't look like a numberplate. when i zoomed in, it was more obvious
252: [21:21:57] * MrJeremy has joined #silverstripe
253: [21:22:38] <gumble> simon_w: thanks again, but how do I find out the code?
254: [21:23:06] <Pyromanik> lewellyn: I didn't zoom in, I just looked at it properly
255: [21:23:17] <Pyromanik> with a "why is there an image?"
256: [21:23:25] <Pyromanik> realised there are numbers in the middle
257: [21:23:34] <Pyromanik> numbers weren't as hard to read as I thought
258: [21:23:35] <Pyromanik> boom
259: [21:23:38] <Pyromanik> Captcha done
260: [21:23:40] <Pyromanik> :D
261: [21:23:54] <Pyromanik> gumble: either define one or use a pre-existing one
262: [21:24:00] <Pyromanik> from Groups at a guess.
263: [21:24:01] <simon_w> gumble, when you create it, you should be setting a code. If you're creating it in the CMS, you should stick a has_one on SiteConfig (or somewhere else) that lets you pick the group to use
264: [21:24:54] <lewellyn> Pyromanik: my laptop screen's at arm's length. i didn't see numbers.
265: [21:24:58] <gumble> my ecommerce module created them
266: [21:25:11] <gumble> I look if I find something in the class
267: [21:25:12] <lewellyn> Pyromanik: my successful recaptcha was ssyrt hsy
268: [21:25:20] <lewellyn> i don't even know :(
269: [21:25:28] <Pyromanik> lewellyn: laptop screen I guess is smaller than my 24" at arms length
270: [21:25:37] <lewellyn> Pyromanik: 15" at 1080p
271: [21:25:51] <Pyromanik> lewellyn: yeah, I thought it was supposed to be words, but they don't seem to be anymore
272: [21:25:51] <lewellyn> each dot is tiny, and that pic is few dots
273: [21:26:02] <lewellyn> like i said, the slogan's long gone
274: [21:26:03] <Pyromanik> lewellyn: yeh, at that reso on that size
275: [21:26:09] <Pyromanik> pretty much retina web right? xD
276: [21:26:15] <lewellyn> on windows! ;)
277: [21:26:15] <Pyromanik> 'RETINA'
278: [21:26:55] * robert_ has joined #silverstripe
279: [21:29:40] <Pyromanik> lewellyn: yeah, that's the joke :P
280: [21:30:02] <lewellyn> i would have taken > 1080p if it was feasible to get.
281: [21:30:03] <zippy__> Morning
282: [21:30:16] <Pyromanik> morn'n
283: [21:32:19] <zippy__> Is there a way to tell what version of ss3 a site is running? It doesn't show in the footer of the admin anymore since v2
284: [21:32:25] <zippy__> * like v2
285: [21:32:34] <gumble> so I now have the group shop costumer created by the ecommerce module. How do I get it into a $group variable so that I could set a group code or add members, when I only know this name 'shop costumer'
286: [21:32:39] <Peavers> hover over the logo in the cms
287: [21:32:42] <Peavers> top left corner
288: [21:33:46] <simon_w> zippy__, how did you get it?
289: [21:34:06] <zippy__> ah heap, that shows up now, thanks :)
290: [21:34:08] <zippy__> simon_w: get what?
291: [21:34:20] <simon_w> SilverStripe
292: [21:34:30] <zippy__> svn checkout
293: [21:34:40] <zippy__> an existing site
294: [21:35:09] <zippy__> got a issue where uploads via the CMS are going to /assets/ instead of /assets/Uploads/ by default
295: [21:35:21] <zippy__> wondered if it was due to an old version of silverstripe, and it seems like a bug
296: [21:35:24] <simon_w> Well, that you have a version string actually showing up means you got it by downloading the tar ball
297: [21:35:39] <zippy__> probably 3 months ago it
298: [21:35:40] <zippy__> was
299: [21:38:09] <ss23> rawr
300: [21:39:30] <simon_w> ss23, how was the dodgy old man on the bus?
301: [21:39:48] <Pyromanik> plesk strikes again :<
302: [21:40:11] <ss23> Uh, don't think I noticed a dodgy old man this time?
303: [21:40:17] <gumble> simon_w: a page that has one group?
304: [21:40:26] <gumble> *has_one
305: [21:40:33] <ss23> simon_w: btw... nice sister ;)
306: [21:40:38] <ss23> simon_w: I'd eat her donuts if you know what I mean
307: [21:40:41] <Pyromanik> lolwut
308: [21:40:57] <simon_w> gumble, if it's specific to a single page
309: [21:41:08] <simon_w> ss23, eh, the other one's better :p
310: [21:41:28] <simon_w> Pyromanik, one of my sisters works at Donut King at the airport
311: [21:41:32] <zippy__> Yea so it seems by default uploads _should_ be added to /assets/Uploads/ but under this site I acquired, they're just going to /assets/ - when in dev mode this throws a notice error. As no parent folder is set. I wonder if this was a bug in 3.0.3/3.0.2
312: [21:41:48] <simon_w> zippy__, yes.
313: [21:41:54] <ss23> simon_w: Damn... now I'll have to come to Wellington, just so you can invite me to a family dinner one day :D
314: [21:44:37] <Pyromanik> simon_w: haha, and so when did ss23 find out?
315: [21:45:13] <simon_w> Pyromanik, when I told irouge that I could get free doughnuts if it was her working
316: [21:46:39] <ss23> simon_w: Which was after a) we had already bought heaps, and b) THEY RAN OUT OF DONUT MIX ;_;
317: [21:46:46] <ss23> Pyromanik: I went to by 24 donuts for dinner, but they ran out :<
318: [21:48:13] * willr has joined #silverstripe
319: [21:50:20] <simon_w> Susan doesn't seem to have iMessage set up, so I can't ask
320: [21:53:54] <zippy__> simon_w: Did you / do you work at Silverstripe?
321: [21:54:02] <simon_w> Nope
322: [21:54:24] <Peavers> I still think when clicking on the SS logo in the top left of the CMS should take you to your index page rather than the SS website...
323: [21:54:44] <zippy__> Submit a patch :) I think it would be good to
324: [21:55:14] <zippy__> I wonder what they do with old sites, I think they host some client sites, do they just drop them after a certain version, or I wonder if they upgrade them. hmm
325: [21:56:14] <simon_w> Peavers, config option: LeftAndMain: application_link
326: [21:56:30] <Peavers> cheers _b
327: [21:57:09] <simon_w> zippy__, from what I know, they only provide upgrades if they're paid to
328: [21:57:42] <zippy__> thats what I would of thought, but if a security issue comes out, which would compromise the server I wonder what they'd do
329: [21:57:51] <zippy__> or even comprise the users sites heavily
330: [22:12:50] <Peavers> if I change my apache default site file to have a new document root of a ss install - why does it blow my site up?
331: [22:13:11] <Peavers> so I change doc root from /var/www to /var/www/stripe the SS install breaks...
332: [22:13:31] <ss23> zippy__: 99% of security issues can be easily patched regardless of version
333: [22:13:48] <zippy__> right, so they go and back port those?
334: [22:13:57] <ss23> zippy__: My guess is on they just maintain them, don't upgrade, and fix issues as they arrise (which is probably not often)
335: [22:14:19] <simon_w> Peavers, RewriteBase in .htaccess?
336: [22:14:50] * willmorgan quit (Read error: Connection reset by peer)
337: [22:14:57] <Peavers> oh....
338: [22:14:59] <Peavers> of course
339: [22:17:32] * gumble quit (Ping timeout: 264 seconds)
340: [22:20:06] * gumble has joined #silverstripe
341: [22:23:41] <Pyromanik> ss23: so, did we meet simon_w's sister or not?
342: [22:24:36] * pex quit (Quit: pex)
343: [22:25:32] * pex has joined #silverstripe
344: [22:29:08] <ss23> we?
345: [22:29:13] <ss23> Oh uh
346: [22:29:23] * pex quit (Client Quit)
347: [22:30:54] <ss23> Pyromanik: you probably saw her, since she served us I think
348: [22:37:03] <Pyromanik> ah yep
349: [22:37:42] * DigNZ quit (Quit: DigNZ)
350: [22:41:50] * joelpittet has joined #silverstripe
351: [22:42:51] * simon_w quit (Ping timeout: 246 seconds)
352: [22:44:40] * simon_w has joined #silverstripe
353: [22:50:16] <simon_w> willr, do you know if SS provides lunch at lunch time meetings?
354: [22:50:28] <willr> didn't back in the day
355: [22:50:33] <spronk> how was the meetup braus?
356: [22:50:45] <willr> they might do a few cakes and pastries if you're important
357: [22:50:46] <ss23> spronk: pretty good
358: [22:51:44] <simon_w> Well, it's with all three founders
359: [22:52:01] <Peavers> They did morning tea, lunch, afternoon tea for both days of the training last week
360: [22:52:07] <Peavers> was good food too
361: [22:52:31] <Peavers> A+ hospitality SS
362: [22:52:47] <spronk> mm
363: [22:53:01] <simon_w> Yeah, gotta impress you government types :p
364: [22:53:09] <Peavers> we is da monies
365: [22:53:12] <gumble> what can I do when my group is listed in the cms but not in the groups table? I can't find a way of getting my group code to add members and the documentation is really lacking on that topic
366: [22:53:48] <ss23> So all I need to do is work for gov and people will buy me lunch?!
367: [22:53:55] <Peavers> pretty much lol
368: [22:53:56] <ss23> DO YOU KNOW WHO I AM? I WILL GET YOU FIRED!
369: [22:54:04] <Peavers> ^ hahaha
370: [22:54:32] <Pyromanik> ss23: then suddenly you're the one without a job.
371: [22:54:40] <ss23> lol
372: [22:56:00] <Pyromanik> I want a GOOD ical
373: [22:56:02] <Pyromanik> clas
374: [22:56:03] <Pyromanik> s
375: [22:56:10] <Pyromanik> that I can integrate with the blog :<
376: [22:56:16] <Pyromanik> anyone know of any?
377: [22:56:19] <ss23> blog module?
378: [22:56:20] <spronk> ical
379: [22:56:20] <spronk> like
380: [22:56:23] <spronk> the format?
381: [22:56:25] <Pyromanik> yes
382: [22:56:35] <ss23> Doesn't Uncle Cheese have a sweet as calandar module somewhere? :D
383: [22:56:37] <spronk> i found a composer lib with some calnedar shit in it a while ago
384: [22:56:46] <Pyromanik> like what events_calendar tries to do and fails miserably at.
385: [22:56:50] <Pyromanik> RFC 2445
386: [22:56:54] <Pyromanik> iirc
387: [22:57:04] <spronk> https://packagist.org/packages/eluceo/ical
388: [22:57:08] <spronk> it seems ok
389: [22:57:13] <Pyromanik> mm, I'm looking at taht on github now
390: [22:57:15] <spronk> used it to create some ics
391: [22:57:20] <Pyromanik> http://sourceforge.net/projects/phpicalwriter/
392: [22:57:26] <Pyromanik> along with athat
393: [22:57:27] <Pyromanik> taht*
394: [22:57:30] <Pyromanik> that*
395: [22:57:31] <Pyromanik> fffff
396: [22:57:33] <Pyromanik> ingers
397: [22:57:39] * joelpittet quit (Remote host closed the connection)
398: [22:57:46] <spronk> LOOKING AT THIS ALONG WITH HAT!
399: [22:57:51] <spronk> fuckin
400: [22:57:54] <spronk> hat, my man
401: [22:57:59] <Pyromanik> wut
402: [22:58:04] * spronk pats hat
403: [22:58:10] <Pyromanik> dat hat
404: [22:58:16] <spronk> YA RLY
405: [22:58:31] <Pyromanik> rabbit, pigeon or cat? that is the question.
406: [22:59:36] <spronk> i probably could have swung by to the meetup
407: [22:59:41] <Pyromanik> RFC 5545 replaced RFC 2445 in September 2009 and now defines the standard.
408: [22:59:42] <spronk> flight back to chch was delayed
409: [22:59:43] <Pyromanik> bugger
410: [22:59:57] <Pyromanik> sf one is out of date
411: [23:00:06] <spronk> tbh i wouldn't worry about it
412: [23:00:17] <Pyromanik> eluceo seems like the goer
413: [23:00:29] <spronk> chances are it'll be modded later on to do the new RFC
414: [23:00:46] <Pyromanik> lulz
415: [23:00:54] <Pyromanik> github.com/deshi/ical
416: [23:01:01] <Pyromanik> so popular
417: [23:01:40] <Peavers> pretty much lol
418: [23:01:42] <Peavers> There is nothing to see here yet.
419: [23:01:50] <Peavers> ignore the first one... hit the up arrow...
420: [23:01:56] <Pyromanik> ?
421: [23:03:00] <Pyromanik> ics
422: [23:03:01] <Pyromanik> that's the one
423: [23:03:45] <Pyromanik> "iCal feed for your Eve online skill queue. "
424: [23:03:49] <Pyromanik> who would even... what
425: [23:04:45] <spronk> lulz
426: [23:05:08] <unsignedint> hey does anyone know why the following use of UploadField doesnt work: http://pastebin.com/Lfw5hicZ
427: [23:05:44] <unsignedint> the images can be added ok, but when you go to another page and come back to update them, the 'remove image' etc buttons are gone
428: [23:05:59] <Pyromanik> unsignedint: did you hackfest?
429: [23:06:07] <unsignedint> no I didnt in the end
430: [23:06:11] <Pyromanik> :<
431: [23:06:34] <unsignedint> if I was in wellington by myself then I definitely would have
432: [23:07:08] <Pyromanik> oic
433: [23:07:18] <Pyromanik> should have just brought your missus with you
434: [23:07:23] <Pyromanik> said hi
435: [23:07:24] <Pyromanik> etc
436: [23:07:31] <ss23> ;)
437: [23:07:38] <Pyromanik> left before she got too pissy
438: [23:07:39] <Pyromanik> :P
439: [23:08:08] <unsignedint> haha yeah she wanted to stay in Johnsonville all day so I didnt even get the opportunity
440: [23:08:14] * mrchimp has joined #silverstripe
441: [23:09:03] <Pyromanik> unsignedint: should have just left her there.
442: [23:09:08] <Pyromanik> "Back in a few hours babe"
443: [23:09:34] <Pyromanik> can't see anything wrong with your code btw
444: [23:09:48] <unsignedint> haha that would defeat the purpose of a weekend away together :)
445: [23:09:54] <Pyromanik> if you're using 3.1 branch from github though I know sminnee updated it in the weekend.
446: [23:10:00] <Pyromanik> unsignedint: nah
447: [23:10:01] <unsignedint> nah im using 3.0
448: [23:10:08] <Pyromanik> it's about give and take
449: [23:10:18] <Pyromanik> not "do everything she wants"
450: [23:10:21] <Pyromanik> ;P
451: [23:10:43] <mrchimp> I'm using the framework - no cms. how do I set the default route?
452: [23:10:52] <Pyromanik> mrchimp: with routes.yml
453: [23:11:03] <mrchimp> rules: '': 'My_Controller'
454: [23:11:10] <mrchimp> but what action does it call?
455: [23:11:14] * gumble quit (Ping timeout: 256 seconds)
456: [23:11:22] <Pyromanik> unsignedint: unfortunate, but I understand. I'm just hassl'n.
457: [23:11:42] <unsignedint> haha all good
458: [23:11:44] <unsignedint> http://imgur.com/jD6JVpb
459: [23:11:50] <unsignedint> thats what my code produces
460: [23:11:54] <mrchimp> what method does it call, i mean...
461: [23:12:06] * DigNZ has joined #silverstripe
462: [23:12:06] * DigNZ quit (Remote host closed the connection)
463: [23:12:21] * DigNZ has joined #silverstripe
464: [23:12:48] <Pyromanik> mrchimp: unsure, sorry.
465: [23:13:19] <Pyromanik> unsignedint: russian?
466: [23:14:01] <unsignedint> Pyromanik: I needed two images for testing the rotation, so I took the image I was supplied and mirrored it, so called it the 'soviet russian' version because it was backwards
467: [23:14:06] * guci0 quit (Ping timeout: 250 seconds)
468: [23:14:19] <Pyromanik> http://imgur.com/gallery/XxU6Byf
469: [23:14:35] <Pyromanik> unsignedint: haha, the i/n thing eh
470: [23:14:50] <unsignedint> hahaha I want to do that to my parents cat
471: [23:14:54] <Pyromanik> ya/R
472: [23:17:13] <unsignedint> Pyromanik: found the issue in my code, youre supposed to let UploadField autodetect the relation instead of supplying '$this->Images()' to it
473: [23:18:56] <Pyromanik> ah yeh
474: [23:19:09] <Pyromanik> confusion between uploadfield & gridfield
475: [23:19:18] * DigNZ quit (Quit: DigNZ)
476: [23:23:54] <spronk> ....... topcow?
477: [23:23:57] <spronk> topcow russian?
478: [23:23:59] <spronk> the fuck am i missing
479: [23:24:28] <Pyromanik> a mirror
480: [23:25:12] <spronk> what is a topcow!?
481: [23:26:14] * DigNZ has joined #silverstripe
482: [23:26:15] * DigNZ quit (Remote host closed the connection)
483: [23:26:29] * DigNZ has joined #silverstripe
484: [23:28:56] <Pyromanik> spronk: kinda like a top bloke I guess.
485: [23:29:00] <Pyromanik> only a cow.
486: [23:30:16] <ss23> I'm a top bloke!
487: [23:30:40] <spronk> fuck yeah
488: [23:30:41] <spronk> also
489: [23:30:42] <spronk> Enums
490: [23:30:44] <spronk> can they be null?
491: [23:32:04] <ss23> :D
492: [23:32:09] <ss23> spronk: If you allow them, yeah
493: [23:32:17] <spronk> if i allow them?
494: [23:32:18] <spronk> like....
495: [23:32:19] <ss23> aka no NOT NULL
496: [23:32:23] <ss23> This is MySQL, right?
497: [23:32:24] <spronk> Enum('A,B,C');
498: [23:32:27] <spronk> nono
499: [23:32:28] <spronk> SS enums
500: [23:32:31] <ss23> Oh, no idea
501: [23:34:13] <spronk> USELESS
502: [23:34:48] <ss23> :<
503: [23:34:54] <ss23> simon_w, simon_w, simon_w! We NEED you!
504: [23:34:58] * Colin[pi] has joined #silverstripe
505: [23:37:05] <simon_w> spronk, yes
506: [23:38:17] <spronk> so by default they're null
507: [23:38:20] <spronk> ?
508: [23:38:26] * Hippiee quit (Ping timeout: 252 seconds)
509: [23:38:36] <simon_w> No, by default they're the first value or the default value
510: [23:38:41] <simon_w> They just allow null
511: [23:39:09] <spronk> i see
512: [23:39:16] <spronk> so... 'null,A,B' ?
513: [23:39:39] <simon_w> If you want them to default to null, private static $defaults = ['Name' => null];
514: [23:40:13] <spronk> i want them to be 'deselectable' - i.e. shows a drop down that allows you to go back to a null value
515: [23:41:18] <simon_w> So have a '' => 'None' type thing in your drop down
516: [23:41:36] <spronk> hmm, k
517: [23:42:48] <Pyromanik> I need a userform upload field to upload to a specific folder and deny any requests.
518: [23:42:53] <Pyromanik> a private upload if you would
519: [23:42:59] <Pyromanik> or
520: [23:43:03] <Pyromanik> delete the file afterwards
521: [23:44:12] <Pyromanik> 2.4
522: [23:44:14] <Pyromanik> what do?
523: [23:44:34] <Pyromanik> was thinking .htaccess in a specific upload folder
524: [23:44:49] <Pyromanik> modify upload editable file field
525: [23:45:07] <Pyromanik> but then admins can't refetch the file.
526: [23:45:24] <Pyromanik> should I .htaccess rewrite to SS controller for admin check?
527: [23:45:35] <Pyromanik> (in specifc assets folder) ?
528: [23:45:43] <Pyromanik> sounsd good Pyro, you should do that.
529: [23:45:47] <Pyromanik> thanks guys!
530: [23:47:13] <Peavers> I've got sort of a general php/javascript question: In the cwp build there is a customSiteConfig which includes a var called gaCode for your google analytics account number. This is all simple and straight forward. My question is if I created another field with another var for another javascript, how do I use that var with the js? is it as simple as replacing the hardcoded account number
531: [23:47:13] <Peavers> with the $newCode?
532: [23:48:16] <Peavers> or... where can I find the GA js that the var is used so I can see how it works ;)
533: [23:49:11] <Pyromanik> Peavers: in customSiteConfig
534: [23:49:18] <Peavers> yeah I've changed that
535: [23:49:24] <Pyromanik> what
536: [23:49:25] <Peavers> but where is the JS it releates too?
537: [23:49:36] <Peavers> customeSiteConfig has the php for the cms
538: [23:49:48] <Peavers> which assigns a var,
539: [23:49:55] <Peavers> that var is then used in JS somewhere...
540: [23:49:58] <Peavers> but how?
541: [23:50:00] <Pyromanik> if siteconfig is saving an account number only, then there'll be code in the same file
542: [23:50:04] <Pyromanik> to format the output
543: [23:50:05] <Pyromanik> OR
544: [23:50:11] <Pyromanik> it's in Page_Controller
545: [23:50:27] <Pyromanik> or Page (unlikely)
546: [23:50:38] <Pyromanik> otherwise
547: [23:51:08] <Pyromanik> what it's likely doing is adding a box for one to paste the ENTIRE google analytics code (the bit it tells you to copy and paste in full), so one can dump that in there as is.
548: [23:51:29] <Peavers> na its not
549: [23:51:35] <Peavers> its adding a box to post your account number
550: [23:51:39] <Pyromanik> which is kinda dangerous if someone without privillages gets access to that (cms) account, because they can put arbitrary script in there
551: [23:51:47] <Pyromanik> adding a box to what?
552: [23:51:48] <Peavers> but I can't find the GA code anywhere
553: [23:51:59] <Peavers> under settings in the CMS
554: [23:52:03] <Peavers> it creates a field
555: [23:52:05] <Pyromanik> it adds a box in the CMS to place your GA account number in?
556: [23:52:06] <Pyromanik> right
557: [23:52:08] <Peavers> to add your GA account number
558: [23:52:11] <Pyromanik> you use weird langauage
559: [23:52:14] <Pyromanik> I don't folly
560: [23:52:16] <Peavers> lol sorry
561: [23:52:17] <Pyromanik> follow*
562: [23:52:33] <Pyromanik> yeah
563: [23:52:36] <Pyromanik> so account number only
564: [23:52:44] * mrchimp quit (Quit: Leaving)
565: [23:52:52] <Peavers> so where is that account number being used and how do I replicate it with another service is the question
566: [23:52:55] <Pyromanik> in that same php file (likely) or the page controller (or contentcontroller) there will be code to add the JS
567: [23:53:02] <Peavers> its not the same file
568: [23:53:07] <Pyromanik> is this a module./
569: [23:53:08] <Pyromanik> ?
570: [23:53:13] <Peavers> yeah its the cwp module
571: [23:53:23] <Pyromanik> specifically for google analytics?
572: [23:53:27] <Peavers> na
573: [23:53:31] <Pyromanik> ...
574: [23:53:52] <Peavers> it creates a bunch of fields under settings for things like facebook UID, twitter username, etc etc
575: [23:54:25] <Pyromanik> what is the module called?
576: [23:54:31] <Peavers> "cwp"
577: [23:55:13] <Pyromanik> -.-
578: [23:55:21] <Peavers> I don't think its public yet...
579: [23:55:25] <Pyromanik> yeah
580: [23:55:26] <Pyromanik> but
581: [23:55:33] <Pyromanik> everything lumped into one module like that
582: [23:55:38] <Pyromanik> well
583: [23:55:48] <Pyromanik> what files in the code folder of said module?
584: [23:55:56] <Pyromanik> or better yet
585: [23:56:19] <Peavers> there is ~70 files in the folder named cwp
586: [23:56:20] <Pyromanik> just tell me what the contents of _config.php (or the extension sections in the yaml files in _config) say
587: [23:56:47] <Peavers> http://pastebin.com/hWSdvGTd
588: [23:56:47] <Pyromanik> customsiteconfig applies the bits to siteconfig
589: [23:56:52] <Peavers> _config.php
590: [23:57:02] <Peavers> yup I know that
591: [23:58:18] <Pyromanik> Peavers: well another file will be adding the accessors to contentcontroller likely
592: [23:58:24] <Pyromanik> getters
593: [23:58:29] <Pyromanik> whatever you wish to call them
594: [23:58:35] <Pyromanik> if they're not in the customsiteconfig file.
595: [23:58:42] <spronk> hmm
596: [23:59:00] <spronk> does SS handle muiltiple subclasses with the same static db attribute but different enums?
597: [23:59:07] <Pyromanik> you could grep for "javascriptTemplate" or "templateJavascript" (i forget the actual function name)
598: [23:59:17] <Pyromanik> spronk: umm
599: [23:59:24] <Pyromanik> dunno, maybe not?

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