#silverstripe IRC Log

IRC log for 8 April 2014

All timestamps are in UTC.

1: [00:00:15] <Colin[pi]> so like this? http://news.msn.co.nz/img/article/june12/190612-bogan.jpg
2: [00:00:20] <Ryan-Toast> how the shit do I grunt var? :(
3: [00:00:42] <ss23> Colin[pi]: FUCKIN OATH MATE
4: [00:01:17] <Colin[pi]> lol
5: [00:01:27] <Colin[pi]> I thought I could escape them leaving here :(
6: [00:02:15] <antmas> Colin[pi]: North Island is either domestic violence town or, Wellington
7: [00:02:18] <antmas> :D
8: [00:02:26] <Colin[pi]> sounds like a top place
9: [00:02:27] <Colin[pi]> ;D
10: [00:02:31] <antmas> haha
11: [00:02:38] <ss23> lol
12: [00:02:45] <antmas> Colin[pi]: you could probably go visit The Shire
13: [00:02:51] <Colin[pi]> where is that?
14: [00:02:53] <Colin[pi]> south?
15: [00:02:57] <antmas> hmmm
16: [00:03:15] <antmas> Colin[pi]: http://www.hobbitontours.com/
17: [00:03:38] <antmas> central to upper north island
18: [00:04:07] <antmas> oh god dat site's font
19: [00:04:23] <Colin[pi]> oh north? I thought it was south? or was that the "misty mountains"?
20: [00:04:31] <ss23> Colin[pi]: They filmed it all over NZ
21: [00:04:32] <ss23> :P
22: [00:04:39] <antmas> I can never remember where all the bits are
23: [00:04:58] <Colin[pi]> 500km drive from Welly to Hobbiton
24: [00:05:03] <antmas> I remember finding a piece of prop on Castle Hill on the way to ChCh
25: [00:05:18] <Colin[pi]> antmas: really? lol
26: [00:05:23] <Colin[pi]> what was it?
27: [00:05:50] <antmas> Colin[pi]: yeah, half a jersey thing with a prop record ID on it
28: [00:06:03] <antmas> told them I had it and they sent me free movie tickets lol
29: [00:06:03] <Colin[pi]> you keep it?
30: [00:06:06] <Colin[pi]> oh lol
31: [00:06:20] <Colin[pi]> where is milford sound?
32: [00:06:28] <antmas> way down south island
33: [00:06:44] <Colin[pi]> oh fuck
34: [00:06:49] <Colin[pi]> that's a long way lol
35: [00:07:02] <antmas> Colin[pi]: yup, and its pretty expensive down there
36: [00:07:07] <Colin[pi]> weak
37: [00:07:10] <antmas> for whatever reason
38: [00:07:25] <Colin[pi]> because tourists and money
39: [00:07:40] <antmas> pretty much
40: [00:07:49] <Colin[pi]> could just stay around the north island this time
41: [00:07:54] <antmas> plus it will be winter so cold as fuck
42: [00:07:55] <Colin[pi]> maybe go south another time
43: [00:08:02] <Colin[pi]> oh fuck yeah that's right
44: [00:08:03] <Colin[pi]> :\
45: [00:08:14] <antmas> July is bone cold
46: [00:08:17] <antmas> :(
47: [00:08:18] <Colin[pi]> what's the welly temp in late july?
48: [00:09:06] <ss23> If you're not a girl, fine
49: [00:09:09] <ss23> It doesn't get very cold here
50: [00:09:15] <ss23> Don't think it's been under 0 since I've been hre
51: [00:09:19] <Colin[pi]> my gf may be coming
52: [00:09:23] <antmas> avg 12, low 6ish
53: [00:09:30] <Colin[pi]> fuck me
54: [00:09:33] <Colin[pi]> she wont like that
55: [00:09:33] <Colin[pi]> lol
56: [00:09:35] <ss23> lol
57: [00:09:36] <antmas> haha
58: [00:09:42] <Colin[pi]> a cold day in Brazil is like 20
59: [00:09:45] <antmas> Nelson is like -1324324
60: [00:09:56] <Colin[pi]> so south island will be worse?
61: [00:10:01] <antmas> oh yeah
62: [00:10:03] <Colin[pi]> ok milford sound can eat a dick then
63: [00:10:04] <antmas> always
64: [00:10:18] <Colin[pi]> I'll go there in summer :D
65: [00:10:19] <antmas> yeah down there is constantly under 0
66: [00:10:32] <antmas> Milford Sound fishing trip in Summer
67: [00:10:37] <antmas> can't be beaten
68: [00:10:39] <Colin[pi]> SS ROAD TRIP
69: [00:10:51] <ss23> XD
70: [00:11:05] * joelpittet has joined #silverstripe
71: [00:11:07] <Colin[pi]> I know what we could do
72: [00:11:10] <Colin[pi]> we could fly to Auck
73: [00:11:13] <Colin[pi]> and drive down to Welly
74: [00:11:20] <Colin[pi]> finish up at the conference
75: [00:11:42] <Colin[pi]> stop at Hobbiton and other places on the way
76: [00:11:46] <Colin[pi]> or the other direction too
77: [00:11:50] <antmas> I can't imagine anything more awesome than a car load of developers on a long trio
78: [00:11:55] <antmas> trip*
79: [00:11:57] <antmas> :|
80: [00:12:38] <antmas> bah
81: [00:12:45] <Colin[pi]> I'm not entirely sure but I believe it would look like this: http://gifcrap.com/g2data/albums/TV/Star%20Trek%20The%20Next%20Generation_%20what%20is%20love.gif
82: [00:12:47] <antmas> Colin[pi]: can't extend my wellington stay
83: [00:12:52] <antmas> back and forth is cheaper apparently
84: [00:13:15] <Colin[pi]> ah fair nuff
85: [00:14:20] * joshkosmala has joined #silverstripe
86: [00:15:53] <Colin[pi]> air NZ is ok right?
87: [00:16:06] <Colin[pi]> no flights missing in the ocean? ;)
88: [00:16:06] <Stomach> thats weird, its just a form
89: [00:16:12] <Stomach> oopsy.
90: [00:17:28] <antmas> Colin[pi]: yeah they have gotten pretty good in the last few years
91: [00:17:44] <Colin[pi]> flights are pretty cheap
92: [00:19:14] <antmas> Colin[pi]: tuesday is the best day to book, also delete browser cookies if viewing flight price pages more than once
93: [00:19:40] <Colin[pi]> ok thanks
94: [00:24:59] * travis-ci has joined #silverstripe
95: [00:24:59] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2288 (tmp-3.0.10 - 5b0a969 : Hamish Friedlander): The build passed.
96: [00:24:59] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/cf2a314a50a2...5b0a96979484
97: [00:24:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22490179
98: [00:24:59] * travis-ci has left #silverstripe
99: [00:29:34] <antmas> man, grab a seat makes my flights only $135 return :O
100: [00:31:19] <Colin[pi]> dang
101: [00:31:43] <antmas> last time I flew it was more than double that
102: [00:32:28] <Colin[pi]> not very far though right?
103: [00:33:03] <antmas> Colin[pi]: nup
104: [00:33:07] <antmas> lol https://vk.com/
105: [00:33:08] * oddnoc quit (Quit: bye!)
106: [00:33:15] <antmas> sign up to the Russian Facebook using Facebook :)
107: [00:33:43] <Colin[pi]> bit like flying from Sydney to Canberra... "ahhh good afternoon ladies and gentlemen, we've just hit our cruising altitude... ANNND now we're beginning our descent into Canberra"
108: [00:36:33] * chillu_23 quit (Quit: chillu_23)
109: [00:37:53] * pippy_ is now known as pippy
110: [00:56:16] * ss-log has joined #silverstripe
111: [00:56:42] <Stomach> ss23!
112: [00:56:43] <Stomach> tractorcow created branch 3.1.4 at silverstripe/silverstripe-framework just now
113: [00:56:46] <Stomach> :o
114: [00:56:55] * simon_w|air has joined #silverstripe
115: [00:57:19] <pippy> why the two branches?
116: [00:57:55] <antmas> still an RC?
117: [00:58:41] <antmas> wrong channel* ^
118: [01:02:05] * travis-ci has joined #silverstripe
119: [01:02:06] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2290 (3.0.10 - c87373d : Damian Mooyman): The build passed.
120: [01:02:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.10
121: [01:02:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22491881
122: [01:02:06] * travis-ci has left #silverstripe
123: [01:03:07] <antmas> why so many build pushes?
124: [01:07:01] <Colin[pi]> ¯\_(ツ)_/¯
125: [01:07:12] * bridgetm quit (Quit: Page closed)
126: [01:07:13] * bridgetm1 has joined #silverstripe
127: [01:09:53] <antmas> anyone ever dabbled with WebM videos?
128: [01:11:55] <antmas> some of them look amazing
129: [01:12:41] <Colin[pi]> linky?
130: [01:13:09] <antmas> actually hard to find good 60fps examples outside of 4chan :\
131: [01:14:30] <Colin[pi]> 4chan eh? so that'd be some damn smooth tentacle hentai video
132: [01:14:45] <antmas> haha
133: [01:15:06] <antmas> yeah I found en example last night in a very dubious side of the internet
134: [01:15:08] * travis-ci has joined #silverstripe
135: [01:15:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2291 (3.1.4 - f540e5b : Ingo Schommer): The build failed.
136: [01:15:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.4
137: [01:15:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22492188
138: [01:15:10] * travis-ci has left #silverstripe
139: [01:15:15] <Colin[pi]> haha ingo broke it
140: [01:15:15] <antmas> don;t know why there are no good examples
141: [01:15:36] <Colin[pi]> antmas: like all good tech, it starts as pr0n
142: [01:15:47] * joshkosmala quit (Quit: joshkosmala)
143: [01:17:04] * UncleCheese quit (Quit: UncleCheese)
144: [01:24:42] * nickmolhoek has joined #silverstripe
145: [01:30:04] * travis-ci has joined #silverstripe
146: [01:30:05] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#829 (3.1.4 - 7adbf81 : Damian Mooyman): The build passed.
147: [01:30:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.4
148: [01:30:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22492229
149: [01:30:05] * travis-ci has left #silverstripe
150: [01:31:02] * travis-ci has joined #silverstripe
151: [01:31:02] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2292 (3.1 - 14f6e7a : Damian Mooyman): The build passed.
152: [01:31:02] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4681b3275d6d...14f6e7a784fb
153: [01:31:02] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22492826
154: [01:31:02] * travis-ci has left #silverstripe
155: [01:32:00] <ss23> soz guis
156: [01:32:04] <ss23> internet in NZ has gone full retard
157: [01:32:43] <antmas> ss23: ? seems fine here
158: [01:32:53] <ss23> lucky for you
159: [01:32:55] <ss23> my int is dead
160: [01:32:55] <ss23> :(
161: [01:32:57] <antmas> or you mean 'non-technical' retard?
162: [01:33:01] <antmas> oh
163: [01:33:27] <antmas> is it all the builds going on over at your place ? :P
164: [01:36:47] <pippy> ss23: yeah my internet is crazy atm too
165: [01:37:00] <pippy> i think all of dunedin is weird atm
166: [01:37:54] <pippy> https://github.com/torleif/silverstripe-postgresql/commit/7626d74beebe28bc48440f75195a1a14330c8cc3
167: [01:39:33] * joshkosmala has joined #silverstripe
168: [01:40:15] * simon_w|air quit (Quit: This computer has gone to sleep)
169: [01:41:10] <Colin[pi]> anyone have those clients were everything is "let's have a meeting"
170: [01:41:12] <Colin[pi]> ugh
171: [01:42:02] <ss23> lol Colin[pi], luckily not :D
172: [01:42:26] <Colin[pi]> such a waste of time
173: [01:42:38] <Colin[pi]> bored, want to feel important? meeting time!
174: [01:45:40] <Ryan-Toast> Anyone had a 500 error when navigating to the Files?
175: [01:46:42] <ss23> check error log!
176: [01:50:05] <Ryan-Toast> Allowed memory size of 134217728 bytes exhausted (tried to allocate 22464 bytes) in /home/theiceba/public_html/framework/filesystem/GD.php on line 51
177: [01:50:11] <Ryan-Toast> damn, son.
178: [01:50:53] * UncleCheese_ has joined #silverstripe
179: [01:55:00] <Ryan-Toast> ss23: images were massize, but I thought by default fileupload is set to a max of 2MB?
180: [01:55:10] * travis-ci has joined #silverstripe
181: [01:55:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2294 (3.1 - 1bda7d2 : Damian Mooyman): The build passed.
182: [01:55:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/14f6e7a784fb...1bda7d2dd1ab
183: [01:55:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22493628
184: [01:55:10] * travis-ci has left #silverstripe
185: [01:55:26] <Colin[pi]> Ryan-Toast: what is the limit in php.ini ?
186: [01:55:26] <ss23> Ryan-Toast: idk :O
187: [01:55:49] <Ryan-Toast> Colin[pi]: Dunno, not my server.
188: [01:59:09] <Ryan-Toast> Can you set the max upload size in the _config?
189: [02:01:50] <Colin[pi]> Ryan-Toast: no you need to do it in the ini or .htaccess I believe
190: [02:02:12] <Ryan-Toast> Colin[pi]: Ah, righty-o. I just want to restrict the user. They were uploading 10md images, sigh.
191: [02:02:18] <Ryan-Toast> 10MB
192: [02:02:25] <Colin[pi]> clients will be clients
193: [02:02:46] <Colin[pi]> before I used SS the old framework just embedded images as-is
194: [02:02:56] <Colin[pi]> "why is my page loading like it's on dialup?"
195: [02:03:03] <Colin[pi]> *facepalm*
196: [02:03:38] <Ryan-Toast> I rescale them, on the front-end, so it’s not a huge issue. But in terms of space on the server it will become one.
197: [02:05:24] <Ryan-Toast> Sigh, overriding forms in a module makes them override the cms forms.
198: [02:05:32] <Ryan-Toast> templates that is.
199: [02:05:39] <antmas> love that
200: [02:05:46] <antmas> do a left join in sql
201: [02:05:53] <antmas> returns the right records but with nulls
202: [02:05:56] <antmas> HELPFUL
203: [02:06:00] <antmas> :<
204: [02:08:19] * bridgetm has joined #silverstripe
205: [02:08:47] * bridgetm1 quit (Ping timeout: 246 seconds)
206: [02:09:54] * bridgetm quit (Client Quit)
207: [02:23:59] * bridgetm has joined #silverstripe
208: [02:27:09] * bridgetm quit (Client Quit)
209: [02:29:26] * travis-ci has joined #silverstripe
210: [02:29:26] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#830 (3.0.10-temp - 2804331 : Damian Mooyman): The build passed.
211: [02:29:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.0.10-temp
212: [02:29:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22495415
213: [02:29:26] * travis-ci has left #silverstripe
214: [02:34:36] * Ryan-Toast quit (Quit: Ryan-Toast)
215: [02:35:26] <Stomach> and now 3.1.4 is gone again
216: [02:35:30] <Stomach> whats going on ss23
217: [02:37:27] * Colin[pi]-2 has joined #silverstripe
218: [02:37:46] * travis-ci has joined #silverstripe
219: [02:37:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2297 (3.0.10-temp - c87373d : Damian Mooyman): The build passed.
220: [02:37:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.10-temp
221: [02:37:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22495489
222: [02:37:47] * travis-ci has left #silverstripe
223: [02:38:10] * bridgetm has joined #silverstripe
224: [02:38:32] * Colin[pi] quit (Ping timeout: 246 seconds)
225: [02:48:30] <antmas> pass fail pass fail pass fail
226: [02:50:30] * travis-ci has joined #silverstripe
227: [02:50:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2298 (3.1.4-temp - f540e5b : Ingo Schommer): The build failed.
228: [02:50:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.4-temp
229: [02:50:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22495627
230: [02:50:30] * travis-ci has left #silverstripe
231: [02:50:53] <antmas> lol Damian Passes, Infgo Fails
232: [02:52:05] <antmas> Ingo*
233: [03:00:56] <antmas> omh
234: [03:00:58] <antmas> omg*
235: [03:01:16] <antmas> does select max(datetime) not take 'time' into account?
236: [03:01:20] <antmas> :O
237: [03:03:45] * travis-ci has joined #silverstripe
238: [03:03:45] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#831 (3.1.4-temp - 7adbf81 : Damian Mooyman): The build passed.
239: [03:03:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.4-temp
240: [03:03:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22495658
241: [03:03:45] * travis-ci has left #silverstripe
242: [03:04:18] <antmas> wtf do you do when you have multiple records with the same date but different times?
243: [03:04:26] <antmas> awww sheeeiiiit
244: [03:08:57] * Ryan-Toast has joined #silverstripe
245: [03:09:46] <Ryan-Toast> I’m so happy this clients brings their seo “expert” to our meetings /s
246: [03:10:41] <antmas> there are such things, Ryan-Toast ?
247: [03:10:58] <Ryan-Toast> antmas: apparently./
248: [03:11:39] <Ryan-Toast> Tried to tell me how to do my job, get fuuuuckkked
249: [03:13:09] <Ryan-Toast> lol, I think they forgot what medium they are in http://i.imgur.com/VIM31JE.png
250: [03:15:13] * travis-ci has joined #silverstripe
251: [03:15:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2300 (3.0.10 - c87373d : Damian Mooyman): The build passed.
252: [03:15:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.10
253: [03:15:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22496712
254: [03:15:13] * travis-ci has left #silverstripe
255: [03:17:24] <Colin[pi]-2> Ryan-Toast: you're starting to sound like me :D
256: [03:17:31] * Colin[pi]-2 is now known as Colin[pi]
257: [03:17:48] <Ryan-Toast> Colin[pi]: I am you, Colin.
258: [03:17:52] <Colin[pi]> :o
259: [03:18:00] * CodeTrap quit (Ping timeout: 255 seconds)
260: [03:18:15] <Ryan-Toast> Directed by M.Night shamamamllamalan
261: [03:18:54] * CodeTrap has joined #silverstripe
262: [03:19:26] * simon_w|air has joined #silverstripe
263: [03:19:40] <Ryan-Toast> simon_w|air: How’s the US?
264: [03:20:19] * Motoservo quit (Read error: Operation timed out)
265: [03:21:14] <antmas> he's hacking SS from the US
266: [03:26:48] <ss23> lol
267: [03:27:16] <Colin[pi]> he's helping FB release their own CMS/framework, it's called FaceStripe
268: [03:28:25] * travis-ci has joined #silverstripe
269: [03:28:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2301 (3.1.4 - f540e5b : Ingo Schommer): The build is still failing.
270: [03:28:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.4
271: [03:28:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22496865
272: [03:28:26] * travis-ci has left #silverstripe
273: [03:29:18] <antmas> it's like Ingo and Damian are fighting
274: [03:29:19] * cloph quit (Read error: Operation timed out)
275: [03:29:20] <antmas> :O
276: [03:29:56] * cloph_away has joined #silverstripe
277: [03:32:02] * UncleCheese_ quit (Quit: UncleCheese_)
278: [03:37:08] * joelpittet quit ()
279: [03:37:17] <Colin[pi]> ooh client offers to pay by CC one day before site is shutdown
280: [03:40:24] <Stomach> no thanks
281: [03:40:34] <Stomach> pay with weasels
282: [03:40:54] <Ryan-Toast> YOU CAN PAY WITH YOUR TEARS
283: [03:42:57] <Colin[pi]> I have this beautiful shutdown page all prepared too
284: [03:43:05] <Colin[pi]> still haven't got to use it :(
285: [03:46:08] * joshkosmala quit (Quit: joshkosmala)
286: [03:46:37] <Ryan-Toast> Colin[pi]: Can I see?
287: [03:48:02] <boytikz> Anyone knows how to use a parent template for emails? Just like how Page.ss works
288: [03:48:32] * travis-ci has joined #silverstripe
289: [03:48:32] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#833 (3.1.4 - 7adbf81 : Damian Mooyman): The build passed.
290: [03:48:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.4
291: [03:48:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22496933
292: [03:48:32] * travis-ci has left #silverstripe
293: [03:49:23] <Colin[pi]> Ryan-Toast: http://i.imgur.com/Z3XQlGZ.png
294: [03:49:37] <Colin[pi]> I particularly like the big accounts email address
295: [03:49:38] <Colin[pi]> ;)
296: [03:50:09] <Colin[pi]> it's like... not saying why the site was disabled, but kinda is courtesy of the email ;)
297: [03:52:43] * joshkosmala has joined #silverstripe
298: [03:52:52] <Ryan-Toast> Colin[pi]: I improved it for you: http://i.imgur.com/01pXU6L.jpg
299: [03:53:05] * travis-ci has joined #silverstripe
300: [03:53:05] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2302 (3.0.10 - c87373d : Damian Mooyman): The build passed.
301: [03:53:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.10
302: [03:53:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22497520
303: [03:53:05] * travis-ci has left #silverstripe
304: [03:53:06] <Colin[pi]> LOL
305: [03:53:07] <Colin[pi]> hahaha
306: [03:53:52] <Ryan-Toast> Colin[pi]: getrekt.com is my favorite bit.
307: [03:54:29] <Colin[pi]> heheh
308: [03:55:50] * travis-ci has joined #silverstripe
309: [03:55:50] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#834 (3.0.10 - 2804331 : Damian Mooyman): The build passed.
310: [03:55:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.0.10
311: [03:55:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22497559
312: [03:55:50] * travis-ci has left #silverstripe
313: [03:55:55] <Ryan-Toast> is there a way to have form templates only work in the front end, and not override cms fields when they’re in a module
314: [03:55:56] <Ryan-Toast> ?||
315: [03:56:17] <Colin[pi]> what's the name of the template?
316: [03:56:27] <Ryan-Toast> templte > forms
317: [03:57:06] <Colin[pi]> I don't think I've ever had that problem.. is it overriding a cms field template?
318: [03:57:11] <Ryan-Toast> yes.
319: [03:57:20] <Ryan-Toast> it’s in a module btwe
320: [03:57:23] <Ryan-Toast> btw**
321: [03:57:41] * jordanmk has joined #silverstripe
322: [03:57:42] <Colin[pi]> can't change the file name?
323: [03:58:10] <Ryan-Toast> How do you mean?
324: [03:58:51] <Colin[pi]> isn't that what's happening? or am I confused? like you have a template.ss that is overriding a cms template.ss?
325: [03:59:24] <Ryan-Toast> it’s a form template
326: [03:59:40] <Ryan-Toast> that’s overriding the cms forms, which I do not want
327: [03:59:52] <Stomach> I've never seen them over ride CMS
328: [03:59:56] <Stomach> whats the form
329: [04:00:01] <Ryan-Toast> one sec
330: [04:00:11] <Colin[pi]> Ryan-Toast: I use them too, like RegistrationForm.ss or BookingForm.ss
331: [04:00:16] <Colin[pi]> is that what you mean?
332: [04:00:25] <Stomach> nah I think he means like FieldHolder.ss
333: [04:00:29] <Colin[pi]> ohh
334: [04:00:30] <Colin[pi]> ohhh
335: [04:00:35] <Colin[pi]> a field template?
336: [04:00:38] <Colin[pi]> not a form one?
337: [04:00:41] <Stomach> yeah
338: [04:00:46] <Ryan-Toast> yeah
339: [04:00:47] <Stomach> I do it lots
340: [04:00:56] <Colin[pi]> oh I get you now lol
341: [04:01:02] <Colin[pi]> sorry I was thrown off by form
342: [04:01:52] <Ryan-Toast> Its’s FormField_holder.ss I veleive
343: [04:06:06] * UncleCheese_ has joined #silverstripe
344: [04:07:45] <simon_w|air> I feel like it should be sleep time
345: [04:07:57] * simon_w|air quit (Quit: This computer has gone to sleep)
346: [04:09:18] <Ryan-Toast> where do you addd a class to a field holder?
347: [04:10:07] <jordanmk> hey guys
348: [04:12:35] <jordanmk> i've got a site i'm working on that uses subscriptions, and at the moment the only tracking of subscriptions is a Date field on the user's profile called "Paid Date". this only allows tracking of the most recent payment but i need to be able keep a log of all payments.
349: [04:13:15] <jordanmk> so i've added a has_many relationship to a user's profile for SubscriptionPayments (DataObjects)
350: [04:14:17] <jordanmk> i would like an administrator to be able to manually add a payment for a user. where would i add the code to create a gridfield to do this on the page where an administrator can edit a member's profile?
351: [04:14:31] * travis-ci has joined #silverstripe
352: [04:14:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2303 (3.1.4 - b22aaaa : Damian Mooyman): The build is still failing.
353: [04:14:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f540e5bd1880...b22aaaab1fc9
354: [04:14:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22498565
355: [04:14:31] * travis-ci has left #silverstripe
356: [04:15:29] <antmas> fook
357: [04:15:32] <Ryan-Toast> jordanmk: http://doc.silverstripe.org/framework/en/howto/customize-cms-menu
358: [04:15:42] <antmas> can't deploy because of html warnings :|
359: [04:15:48] <antmas> do not want
360: [04:16:13] <Ryan-Toast> jordanmk: then use a Decorator on the members class
361: [04:16:14] * chrisrio has joined #silverstripe
362: [04:16:57] <Ryan-Toast> jordanmk: here’s an example of a member decorator: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/Registration/code/MemberDecorator.php
363: [04:17:19] <Ryan-Toast> Then just enable it in your config https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/Registration/_config/config.yml
364: [04:17:27] <chrisrio> if I throw down a Page::get() - I get content from the _Live table eh..
365: [04:19:00] * kerosene is now known as kerozene
366: [04:19:17] <jordanmk> thanks Ryan-Toast, i'll give that a try
367: [04:29:51] <jordanmk> bit of a Data Model question
368: [04:30:54] <Ryan-Toast> ye
369: [04:30:55] <jordanmk> after setting up my member decorator with a $has_many of 'SubscriptionPayments' and then setting up my SubscriptionPayment DataObject with a $belongs_to of 'Member', i get the following error:
370: [04:30:57] <jordanmk> [User Error] Uncaught Exception: No has_one found on class 'SubscriptionPayment', the has_many relation from 'Member' to 'SubscriptionPayment' requires a has_one on 'SubscriptionPayment'
371: [04:31:13] <Ryan-Toast> need a has_one on SubscriptionPayment
372: [04:31:24] <jordanmk> as well as $belongs_to, or instead of?
373: [04:31:32] <Ryan-Toast> has_one
374: [04:31:51] <jordanmk> yeah is the $has_one in addition to the $belongs_to?
375: [04:31:55] <Ryan-Toast> no
376: [04:31:58] <Ryan-Toast> just a has_one
377: [04:32:11] <Ryan-Toast> ‘’Member’ => ‘Member’
378: [04:32:13] <jordanmk> under what circumstances would you use $belongs_to?
379: [04:32:23] <Ryan-Toast> a different one :)
380: [04:32:46] <jordanmk> i would have thought this would be the time to use that, considering that a Member has many subscription payments and every subscription payment belongs to a single member?
381: [04:33:22] <Ryan-Toast> subscription only has one emember though.
382: [04:33:31] <Ryan-Toast> so has_one member
383: [04:34:23] <jordanmk> yeah that's true, it just seems like $belongs_to would be the more specific and correct relation :S
384: [04:34:26] * travis-ci has joined #silverstripe
385: [04:34:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2305 (3.1.4 - 81b14b4 : Damian Mooyman): The build was fixed.
386: [04:34:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b22aaaab1fc9...81b14b43528d
387: [04:34:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22499385
388: [04:34:26] * travis-ci has left #silverstripe
389: [04:35:57] <Ryan-Toast> jordanmk: http://doc.silverstripe.com/framework/en/topics/datamodel#belongs-to
390: [04:36:13] <Ryan-Toast> it’s a single relationship
391: [04:37:45] <jordanmk> ah, so you would never use $belongs_to if the thing it belonged to had a $has_many relationship with it? only if it was a $has_one relationship?
392: [04:38:18] <Ryan-Toast> You can use belongs_many_many I believe
393: [04:38:28] <Ryan-Toast> for when it has multiple.
394: [04:38:40] <Ryan-Toast> but belongs to as I see is a 1-1 relationship
395: [04:39:13] <jordanmk> hmm, very confusing :P
396: [04:39:23] <Ryan-Toast> yup
397: [04:39:36] <Ryan-Toast> you’ll get it the more you work with it.
398: [04:42:42] <jordanmk> any idea why this wouldn't work? http://pastebin.com/UAb9Us87
399: [04:43:30] <jordanmk> when i click on a member in the list on the Security tab, i get this error: Fatal error: Call to undefined method MemberExt::SubscriptionPayments() in /home/nnd/public_html/recipes/code/class/MemberExt.php on line 51
400: [04:44:03] <jordanmk> line 51 being "$this->SubscriptionPayments(),"
401: [04:44:45] <Ryan-Toast> past me your decorator and your dataobject
402: [04:44:48] <Ryan-Toast> paste*
403: [04:44:59] <jordanmk> http://pastebin.com/UAb9Us87
404: [04:46:24] <Ryan-Toast> $this-owner-> SubscriptionPayments() I think
405: [04:47:19] <jordanmk> yep that fixed it, thanks :)
406: [04:47:42] <Ryan-Toast> np
407: [04:50:08] <Colin[pi]> nice image hovers: http://www.newzealand.com/au/north-island/
408: [04:50:30] <Stomach> urrrrrgh translatable
409: [04:50:31] <Stomach> >_<
410: [04:51:38] <jordanmk> what are you having trouble with Stomach? i managed to get translatable working for a site last week
411: [04:51:41] <jordanmk> might be able to help :)
412: [04:52:26] <Stomach> I cant get it to create the translations when initiating a dataoject
413: [04:52:36] <jordanmk> Ryan-Toast, any idea if you can remove the "Link Existing" functionality from a grid field? doesn't make sense to have that available for SubscriptionPayments of course, since every one will be separate to an individual member
414: [04:52:37] <Stomach> its just throwing an error saying it cant find the current locale
415: [04:52:52] <Ryan-Toast> Colin[pi]: Where?
416: [04:53:08] <Colin[pi]> images down the bottom
417: [04:53:30] <Ryan-Toast> jordanmk: you remove them as a component http://doc.silverstripe.org/framework/en/reference/grid-field
418: [04:54:17] <jordanmk> Stomach, make sure you have something like the following in your _config.php: http://pastebin.com/j3XDzFhL
419: [04:55:13] <Stomach> yeah I have all of that apart from the allowed locales
420: [04:55:40] <Stomach> its weird, it works on pages and siteconfig
421: [04:55:44] <Stomach> but not on other dataobjects
422: [04:55:44] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
423: [04:55:50] <Stomach> which I've added translatable too
424: [04:58:56] <jordanmk> hmm, in the site i was adding it to, the only things that were Translatable were SiteTree, SiteConfig, and then a bunch of pages (extending Page of course). never tried doing it with a DataObject
425: [04:59:13] <Stomach> yeah its something funky happening in the dataobject I think
426: [04:59:17] <jordanmk> Ryan-Toast, do you know which of the components is the one for linking an existing one?
427: [04:59:20] <jordanmk> can't figure out which one it is lol
428: [04:59:49] <Ryan-Toast> jordanmk: just do them all and work your way backwards
429: [05:00:10] * travis-ci has joined #silverstripe
430: [05:00:10] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#835 (3.1.4 - 7adbf81 : Damian Mooyman): The build passed.
431: [05:00:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.4
432: [05:00:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/22500209
433: [05:00:10] * travis-ci has left #silverstripe
434: [05:00:42] <Ryan-Toast> Colin[pi]: Pretty nice, would be nicer if they were a little faster.
435: [05:02:12] * Azure quit (Remote host closed the connection)
436: [05:03:10] <UncleCheese_> Stomach: you can use my TranslatableDataObject module
437: [05:03:17] * travis-ci has joined #silverstripe
438: [05:03:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2306 (3.1.4 - 81b14b4 : Damian Mooyman): The build passed.
439: [05:03:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.4
440: [05:03:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22500244
441: [05:03:17] * travis-ci has left #silverstripe
442: [05:03:19] * Azure has joined #silverstripe
443: [05:03:21] * Bollig|DesignCty has joined #silverstripe
444: [05:06:40] * nickmolhoek quit (Quit: nickmolhoek)
445: [05:10:29] * bridgetm quit ()
446: [05:11:13] * travis-ci has joined #silverstripe
447: [05:11:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2307 (3.0 - c87373d : Damian Mooyman): The build passed.
448: [05:11:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5b0a96979484...c87373d0958a
449: [05:11:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22501146
450: [05:11:13] * travis-ci has left #silverstripe
451: [05:23:30] * Ryan-Toast quit (Quit: Ryan-Toast)
452: [05:24:09] * travis-ci has joined #silverstripe
453: [05:24:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2308 (3.1 - ee487e2 : Damian Mooyman): The build passed.
454: [05:24:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1bda7d2dd1ab...ee487e28f127
455: [05:24:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/22501303
456: [05:24:10] * travis-ci has left #silverstripe
457: [05:29:29] * UncleCheese_ quit (Quit: UncleCheese_)
458: [05:30:22] * joshkosmala quit (Quit: joshkosmala)
459: [05:34:48] * an_Eskimo quit (Ping timeout: 245 seconds)
460: [05:45:05] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
461: [05:46:22] * Bollig|DesignCty has joined #silverstripe
462: [05:48:17] * greseky has joined #silverstripe
463: [05:49:34] <greseky> hello guys, i need to render some values generated in controller and output in layout. How to do that?
464: [05:50:33] <DesignerX> greseky: hi, i think this is what u need http://stackoverflow.com/questions/12075176/how-to-pass-custom-data-to-a-template
465: [05:51:20] <greseky> let me see :)
466: [05:53:18] * Shrike_Finland has joined #silverstripe
467: [05:54:19] <greseky> well, I have just 2 values to be shown in layout (date, and some generated html), no need for loop, so i can then use in layout $date, $html.
468: [05:56:38] <DesignerX> greseky: based on the example, test these 2 options
469: [05:57:21] <DesignerX> 1- just have one ArrayData & do $getTwitterFeed.Name & $getTwitterFeed.Message
470: [05:58:01] <DesignerX> 2- make the function return ArrayData if the above doesnt work
471: [06:22:19] * chrisrio quit (Quit: Page closed)
472: [06:24:37] * will has joined #silverstripe
473: [06:25:42] <will> hi i have found a bug with SS and i'm not too sure where to log it to. i'm also not 100% sure if its with the File class find method or code that increments file upload names so they are not the same.
474: [06:25:55] <ss23> will: Hmm
475: [06:26:04] <ss23> will: Normally the bug tracker is a good place for logging bugs :P
476: [06:26:38] <will> fair point. on the git page?
477: [06:27:00] * Azure quit (Quit: My MBP went to sleep.)
478: [06:30:25] * Azure has joined #silverstripe
479: [06:31:15] <ss23> will: Github, yeha
480: [06:34:37] <will> the issue is File::find is not searching in a case sensative way
481: [06:35:04] <ss23> Hmm
482: [06:35:05] <will> i wonder what the implications would be of collating the column so it does?
483: [06:35:08] <ss23> I'm not 100% sure that counts as a bug
484: [06:35:13] <ss23> Wellllllll
485: [06:35:22] <will> it does when secure assets shows the wrong file
486: [06:35:26] <ss23> That is a hairy issue, because SilverSTripe runs on both Windows and Linux, and they do it wildly different things
487: [06:35:30] <ss23> Yeah, I'm aware of a bug like that
488: [06:35:44] <ss23> I think the idea was "Well, I don't wnat to have to be the one to ddecide how to fix it, since it has a lot of implications"
489: [06:35:48] <will> cos the silverstripe upload system lets you have resume.pdf and Resume.pdf
490: [06:35:59] <ss23> Yeah :(
491: [06:36:10] <ss23> will: It is a bug, it might already be logged. I doubt it will be fixed any time soon
492: [06:36:43] <will> yeah ok. i think ill look into controlling what the files are saved as & that they are unique when they are saved.
493: [06:38:33] <ss23> will: Looks like there isn't a bug for it, so feel free to log one!
494: [06:40:45] <will> https://github.com/silverstripe/silverstripe-framework/issues/3017
495: [06:46:59] * bwaah has joined #silverstripe
496: [06:55:20] * SightUnseen has joined #silverstripe
497: [06:55:25] * SightUnseen has left #silverstripe
498: [06:59:51] <will> hmm, looks like setting the name of the file saved isn't possible using $form->saveInto.
499: [07:01:09] * UncleCheese has joined #silverstripe
500: [07:01:44] * Stomach quit (Ping timeout: 252 seconds)
501: [07:12:24] * Shrike_Finland quit (Quit: Leaving.)
502: [07:13:06] * ARNHOE has joined #silverstripe
503: [07:16:58] * Shrike_Finland has joined #silverstripe
504: [07:17:57] * UncleCheese quit (Read error: Connection reset by peer)
505: [07:19:44] * violetina has joined #silverstripe
506: [07:28:31] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
507: [07:30:19] * Error404NotFound has joined #silverstripe
508: [07:34:00] * Bollig|DesignCty has joined #silverstripe
509: [07:37:39] * Bollig|DesignCty quit (Client Quit)
510: [07:41:28] * dendeffe has joined #silverstripe
511: [07:52:30] <boytikz> Is there an easy way to check permissions right in the template? Without adding a bunch of template methods in the controller.
512: [07:55:17] <Zauberfisch> <% if canView %> should do the trick
513: [08:05:03] * kinglozzer has joined #silverstripe
514: [08:15:59] * micmania1 has joined #silverstripe
515: [08:17:37] * Shrike_Finland quit (Quit: Leaving.)
516: [08:21:38] * Pyzyzgik has joined #silverstripe
517: [08:22:18] * greseky quit (Ping timeout: 245 seconds)
518: [08:29:00] * Odinn has joined #silverstripe
519: [08:29:04] <Odinn> hello!
520: [08:29:47] <Pyzyzgik> Hi.
521: [08:30:50] <Odinn> could i get some help with a issue i am having ?
522: [08:31:05] <Pyzyzgik> Only if you ask a question!
523: [08:31:05] <Odinn> regarding forms
524: [08:31:53] <Odinn> okay so i want to have a form prefill a field depending on what page i came from, any tips on that ?
525: [08:32:23] <Pyzyzgik> form fields generally follow the declaration of $name, $title, $value
526: [08:32:40] <Pyzyzgik> otherwise use ->setValue($value)
527: [08:32:56] <Odinn> can i use _POST as the value ?
528: [08:33:08] <Pyzyzgik> never use superglobals.
529: [08:33:21] <Pyzyzgik> also, POST is unsuitable for this occasion.
530: [08:33:36] <Odinn> what would you suggest
531: [08:33:54] <Zauberfisch> Odinn: show us some code
532: [08:34:16] <Pyzyzgik> you could use a query string (GET), the Session (ss class), Referrer header on the request, there are a number of ways.
533: [08:34:36] <Odinn> okay thanks in advance, i will look into it!
534: [08:34:56] <Pyzyzgik> so there is Session, and you should use the request object to get input data (get, post, etc)
535: [08:35:28] <Pyzyzgik> http://api.silverstripe.org/3.1/class-Session.html#_get
536: [08:35:57] <Odinn> thnak you
537: [08:35:59] <Pyzyzgik> http://api.silverstripe.org/3.1/class-SS_HTTPRequest.html#_getVar
538: [08:36:37] <Pyzyzgik> from a controller you can access the request as $this->request->blah(), for the session, all calls are static (Session::blah())
539: [08:42:23] <kinglozzer> Ugh, is there an alternative to checkboxsetfield that doesn't look like shit?
540: [08:42:23] * DesignerX quit (Quit: Konversation terminated!)
541: [08:42:45] * DesignerX has joined #silverstripe
542: [08:42:56] <micmania1> FieldGroup?
543: [08:43:44] <micmania1> Check whatever SiteTree uses for visibility
544: [08:43:49] <kinglozzer> micmania1: Huh? You mean a CheckboxSetField inside a FieldGroup?
545: [08:43:55] <kinglozzer> Ahh
546: [08:44:36] <kinglozzer> Oh, it uses CheckboxField inside FieldGroup, I need many_many :/
547: [08:45:00] <kinglozzer> Ideally TreeMultiselectField, but these are DataObjects
548: [08:48:08] <Pyzyzgik> kinglozzer: gridfield.
549: [08:50:33] <kinglozzer> Pyzyzgik: The relational stuff is horrible and slow to work with though :/
550: [08:51:44] <Pyzyzgik> mm, I'm not sure I understand the question.
551: [08:51:48] <Pyzyzgik> tagfield!
552: [08:51:50] <Pyzyzgik> idk
553: [08:52:46] <Pyzyzgik> kinglozzer: iirc someone made one of those "here is a list of shit next to a list of empty shit, use the buttons between these two lists of shit to move shit from one to the other"
554: [08:52:48] <Pyzyzgik> fields.
555: [08:52:57] <Pyzyzgik> iirc it might have been Zauberfisch
556: [08:53:03] <Pyzyzgik> or maybe lxberlin
557: [08:53:32] * UncleCheese has joined #silverstripe
558: [08:54:27] <Zauberfisch> wasn't me
559: [08:57:10] <Pyzyzgik> ffs
560: [08:57:14] <Pyzyzgik> dear rest of the world.
561: [08:58:10] <Pyzyzgik> THIS is a kiwi. http://iforce.co.nz/i/r2qs4ai2.qab.jpg
562: [08:59:10] <Pyzyzgik> THIS is a kiwifruit. http://iforce.co.nz/i/3tf33wd4.twi.jpg
563: [08:59:30] <Pyzyzgik> Take note, the 'fruit' part of the latter noun is NOT optional.
564: [08:59:53] <Zauberfisch> dear NZ: THIS is a kiwi: http://upload.wikimedia.org/wikipedia/commons/8/80/Hardy-Kiwi-Comparison-3.jpg
565: [09:00:00] <Pyzyzgik> It is not two words, it is one.
566: [09:00:05] <Zauberfisch> nobody cares about the bird
567: [09:00:32] <Pyzyzgik> Negative.
568: [09:01:25] <Pyzyzgik> Zauberfisch you disappoint me :<
569: [09:01:54] <lewellyn> these would be kiwi fruits... ;) http://www.gaystarnews.com/article/new-zealand-legalizes-gay-marriage170413
570: [09:02:07] <Pyzyzgik> hehe
571: [09:10:13] * cloph_away is now known as cloph
572: [09:15:14] * will quit (Ping timeout: 245 seconds)
573: [09:15:21] * qlex has joined #silverstripe
574: [09:20:56] <Pyzyzgik> 4th win micmania1, made it past 512 yet?
575: [09:21:08] <micmania1> 1028 is my new best
576: [09:21:30] <Pyzyzgik> :>
577: [09:21:36] <Pyzyzgik> just gotta double it now! xD
578: [09:21:51] <micmania1> 1024 even
579: [09:26:14] <micmania1> Anybody ever play this? http://bombermine.clay.io/
580: [09:30:34] * joshkosmala has joined #silverstripe
581: [09:31:47] <Pyzyzgik> wow taht looks way too intense for me micmania1
582: [09:32:18] * bwaah quit (Ping timeout: 245 seconds)
583: [09:39:03] * CodeTrap quit (*.net *.split)
584: [09:39:03] * Colin[pi] quit (*.net *.split)
585: [09:39:12] * Marvanni2 quit (*.net *.split)
586: [09:39:23] * marvanni has joined #silverstripe
587: [09:39:33] * CodeTrap has joined #silverstripe
588: [09:39:33] * SightUnseen has joined #silverstripe
589: [09:40:36] * Colin[pi] has joined #silverstripe
590: [09:41:18] * Error404NotFound quit (*.net *.split)
591: [16:15:38] * ss-log has joined #silverstripe
592: [16:25:49] <Pyzyzgik> catcher: ha, when was that added
593: [16:25:50] <Pyzyzgik> ?
594: [16:26:36] <desperate> i have to go
595: [16:26:41] <desperate> thanks for the advice and tips everyone
596: [16:26:51] <desperate> need to get myself online and purchasing some books I think
597: [16:26:56] <desperate> have a godo day/evening/night
598: [16:27:25] <Pyzyzgik> you're a newly appointed apprentice web dev aren't you?
599: [16:28:02] <desperate> actually no I'm not..... graduated in 2001!
600: [16:28:11] <desperate> ignored OO
601: [16:28:34] <desperate> studied it at Uni but not used it pratically
602: [16:29:00] <simon_w|air> Don't worry, you can keep ignoring it ;)
603: [16:29:16] <desperate> i know.. i can see you hitting your forehead with the palm of your hand!
604: [16:29:31] <desperate> i'm out of here .... thnaks again
605: [16:29:44] * TRB143_ is now known as TRB13
606: [16:29:48] <Pyzyzgik> bye
607: [16:30:50] * WilsonS has joined #silverstripe
608: [16:30:58] * desperate quit (Quit: Page closed)
609: [16:31:07] <simon_w|air> I suppose I should get dressed before room service shows up
610: [16:31:44] <Pyzyzgik> Hotel life!
611: [16:32:01] <Pyzyzgik> Yeah, that or answer the door naked.
612: [16:32:10] <WilsonS> Hi everyone. Used to do this similar things in 2.4 but in 3.x, what's the best way to iterate over a ManyManList to tweak data before sending to GridField? I tried creating a new ManyManyList but got a few errors. Is that the best route though?
613: [16:32:10] <Pyzyzgik> Kinda depends if you're in the penthouse suite or not I guess
614: [16:32:13] <Pyzyzgik> (OOOH, DAT PUN)
615: [16:32:19] <Pyzyzgik> unintentional, but I'll take it.
616: [16:32:37] <Pyzyzgik> WilsonS: foreach($list) ... ?
617: [16:33:21] <Pyzyzgik> $list->merge() ?
618: [16:33:22] * TRB143_ has joined #silverstripe
619: [16:33:36] <Pyzyzgik> idk, depends on what you mean by 'tweak data'
620: [16:33:41] <Pyzyzgik> I guess.
621: [16:33:44] <WilsonS> Thanks Pyzyzgik. That's what I'm doing. But do you normally add it to a new ManyManyList? I'm getting an error like 'foreign key not set'
622: [16:33:50] <Pyzyzgik> why?
623: [16:34:10] <Pyzyzgik> you're modifying each ITEM in the list, not the list.
624: [16:34:20] <Pyzyzgik> unless you're filtering out, then use ArrayList.
625: [16:34:24] <WilsonS> I want to change the ID to send the slug rather than the ID to the GridField. From what I'm seeing in GridField there's no way to set 'data-slug' or similar on the row
626: [16:34:35] <Pyzyzgik> wtf
627: [16:34:53] <Pyzyzgik> I've got no idea what you're up to.
628: [16:35:06] <Pyzyzgik> sounds like you want to manage your gridfield config, not the list of things.
629: [16:35:13] <WilsonS> It's a frontend gridfield that needs to redirect to specific URLs in the list
630: [16:35:17] <WilsonS> (list of restaurants)
631: [16:35:28] <Pyzyzgik> then you probably shouldn't be using gridfield.
632: [16:36:07] <WilsonS> It works well actually. Using this extension. https://github.com/webbuilders-group/silverstripe-frontendgridfield
633: [16:36:44] <Pyzyzgik> <table><% loop Resurants %><tr> ... <td><a href="$link">link</a></td></tr><% end_loop %></table>
634: [16:37:16] <Pyzyzgik> good luck!
635: [16:37:17] * Pyzyzgik has left #silverstripe
636: [16:37:29] <UndefinedOffset1> ty for the shout out WilsonS ;)
637: [16:37:30] <WilsonS> ArrayList works. Thansk!
638: [16:37:51] <WilsonS> You know it UndefinedOffset1! Works great! Much appreciated
639: [16:38:10] * UndefinedOffset1 is now known as UndefinedOffset
640: [16:42:27] * kinglozzer quit ()
641: [16:45:04] <WilsonS> quit
642: [16:45:08] * WilsonS quit (Quit: Page closed)
643: [16:48:47] * Error404NotFound quit (Ping timeout: 250 seconds)
644: [16:54:48] * Thibault quit (Ping timeout: 240 seconds)
645: [16:57:57] * joelpittet has joined #silverstripe
646: [17:00:24] <simon_w|air> Come on simon_w, wake up!
647: [17:00:32] <simon_w|air> Oh, it's not on the wifi
648: [17:01:46] <simon_w|air> Also, is struggling to show me the password prompt
649: [17:03:32] * simon_w|air quit (Read error: Connection reset by peer)
650: [17:05:18] * simon_w|air has joined #silverstripe
651: [17:06:30] * simon_w has joined #silverstripe
652: [17:06:56] <simon_w|air> Hah, simon_w has joined before xchat has caught up with it
653: [17:11:03] * simon_w quit (Read error: Connection reset by peer)
654: [17:11:12] <simon_w|air> Well, that didn't take long
655: [17:11:21] * simon_w has joined #silverstripe
656: [17:26:16] * simon_w|air quit (Quit: This computer has gone to sleep)
657: [17:26:42] * simon_w quit (Quit: This computer has gone to sleep)
658: [17:38:59] * oddnoc has joined #silverstripe
659: [18:27:12] * jamesbrowne quit (Remote host closed the connection)
660: [18:56:47] <SMaction> Someone (fortunately not me) made a change to the CMS. It appears that change has caused the following error
661: [18:56:47] <SMaction> Sorry, there was a problem with handling your request.
662: [18:56:47] <SMaction> Visit www.silverstripe.org to download the CMS
663: [18:57:26] <catcher> SMaction, check out the error logs
664: [18:57:32] <SMaction> ok thank you
665: [19:20:30] <catcher> Were there any changes to URL handlers in 3.1.3 or 3.1.4?
666: [19:40:18] * micmania1 has joined #silverstripe
667: [19:53:51] * simon_w has joined #silverstripe
668: [19:58:21] * Stomach has joined #silverstripe
669: [20:01:10] <simon_w> So, I'm at Facebook
670: [20:01:19] <Stomach> Hello Facebook
671: [20:10:43] * UndefinedOffset quit (Quit: Leaving.)
672: [20:11:13] * boytikz has joined #silverstripe
673: [20:25:44] * SightUnseen has joined #silverstripe
674: [20:25:48] * SightUnseen quit (Client Quit)
675: [20:30:58] * micmania1 quit (Ping timeout: 240 seconds)
676: [20:32:26] * FrozenFire quit (Ping timeout: 246 seconds)
677: [20:33:16] * cribe has joined #silverstripe
678: [20:33:34] * bridgetm has joined #silverstripe
679: [20:34:04] * bridgetm quit (Quit: Leaving.)
680: [20:43:29] * FrozenFire has joined #silverstripe
681: [20:45:55] * Ryan-Toast has joined #silverstripe
682: [20:54:56] * greseky has joined #silverstripe
683: [20:59:24] * an_Eskimo has joined #silverstripe
684: [21:08:38] * greseky quit (Quit: Page closed)
685: [21:11:11] * antmas has joined #silverstripe
686: [21:11:13] * greseky has joined #silverstripe
687: [21:11:19] <antmas> morning all
688: [21:11:57] <greseky> hello, guys, how to set folder for upload on many Page Extensions? Page class has has_many Attachments which have File relation.
689: [21:12:32] <greseky> folder property on Page and Page extensions?
690: [21:13:57] <greseky> for News class, folder should be /Uploads/News, for Projects /Uploads/Projects, for all the rest \Uploads
691: [21:13:58] <Stomach> in the getCMSFields where you define the upload field
692: [21:14:08] <Stomach> you can set it
693: [21:14:35] <Stomach> so just define it seperately for each class
694: [21:17:25] <greseky> yes, but i define UploadField form field in Attachment class in getCMSFields .. so I just get this field in my extension in GetCMSFields and change folder for uplod?
695: [21:20:19] * gelignite quit (Quit: http://bit.ly/nkczDT)
696: [21:23:26] <Stomach> yeah
697: [21:27:05] <greseky> something like that: $fields->getFieldByName('File')->setFolderName('Uploads/News')
698: [21:31:33] * cribe is now known as bridgetm
699: [21:35:27] <greseky> nope, $fields->dataFieldByName('File')->setFolderName('Uploads/News'); does not work, because cant get this File field... maybe because i have has_many relation...
700: [21:36:58] <greseky> cant i just set dynamically this folder in Attachments class? i just check has_one relation to Page, and check which class (could be Page, News, Projects..) and then set this folder
701: [21:38:12] <Stomach> no, because the upload action is happening through the class, so it makes sense for the class to handle the folder setting
702: [21:39:09] <greseky> ok, so how to find this File element?
703: [21:39:54] <greseky> well, UploadField :)
704: [21:40:02] <Stomach> http://pastie.org/9004758
705: [21:51:24] <greseky> hmm... yes, but in my case upload action happen on Attachments class, and which has one Page (News is extension of Page)
706: [21:51:34] <greseky> do not know how to make it right
707: [21:55:25] <Stomach> so you have a DataObject called Attachments
708: [21:55:31] <greseky> yes
709: [21:55:32] <Stomach> and it has_one Page
710: [21:55:44] <greseky> yes
711: [21:55:45] <Stomach> can you not do if ($this->
712: [21:55:48] <Stomach> whoops
713: [21:55:50] <Stomach> let me paste it
714: [21:55:55] <greseky> :)
715: [21:58:31] <Stomach> http://pastie.org/9004780
716: [21:58:38] <Stomach> whoops
717: [21:58:47] <Stomach> attachment should extend dataobject
718: [21:59:52] <greseky> yes, that was just what i was looking for: $this->Page() instanceof News :)
719: [21:59:57] <greseky> I am gonna try it
720: [22:04:43] <Stomach> anyone used https://github.com/tractorcow/silverstripe-fluent ?
721: [22:08:42] * boytikz has left #silverstripe
722: [22:11:43] <greseky> Stomach: if ($this->Page() && $this->Page() instanceof News) { $uploadField->setFolderName('Uploads/News'); } else if ($this->Page() && $this->Page() instanceof Project) { $uploadField->setFolderName('Uploads/Projects'); } else { $uploadField->setFolderName('Uploads'); }
723: [22:11:51] <antmas> dat meeting
724: [22:12:21] <greseky> still Uploads folder for any class :/
725: [22:13:15] <Stomach> is it getting inside the if statements?
726: [22:13:37] <Stomach> that code was just an outline
727: [22:14:55] * spronk has joined #silverstripe
728: [22:21:34] <greseky> Stomach: I am in else :/
729: [22:22:00] <Stomach> so check the class of $this->Page() and see if it is what you expect
730: [22:25:13] <greseky> $this->Page is Page in firebug, $this->Page()->ID is 0
731: [22:40:48] <Stomach> have you set the page link on the attachment before trying to do the upload?
732: [22:41:13] <Stomach> is your page link saving correctly - if its ID is zero then it obviously can't be a news page
733: [22:42:12] * Jakx has joined #silverstripe
734: [22:42:35] <Jakx> yo
735: [22:44:36] <antmas> dat feeling of signing off a LONG overdue support ticket http://24.media.tumblr.com/tumblr_m3xf1r1uoO1qi23vmo1_500.gif
736: [22:45:10] <Jakx> what is the most optimal way to set the start and end limit of a get() query?
737: [22:45:36] <simon_w> Jakx, ->limit(start, count)?
738: [22:46:45] <Jakx> simon_w, ty. Does the initial get() method return the full set of rows though?
739: [22:46:53] <simon_w> Yes
740: [22:47:11] <Jakx> Does that slow things down at all?
741: [22:47:42] <antmas> hmmm, for those on Rimu but don'et get emails from them http://rimuhosting.com/maintenance.jsp?server_maint_oid=975033803
742: [22:48:02] <simon_w> Jakx, no
743: [22:48:42] * catcher quit (Quit: Leaving)
744: [22:48:57] <Jakx> simon_w, ok. Thx.
745: [22:49:34] <Ryan-Toast> I think I’m pretty much done, but I always say that: http://webdough.co.nz/~boilerpl/
746: [22:50:12] <Ryan-Toast> antmas: ^
747: [22:50:24] <antmas> Ryan-Toast: nice
748: [22:50:49] <Jakx> simon_w, (if you have time to explain) what is it about the processes in the datamodel that stop it from manifesting a full set of data before later methods are called such as ->limit()?
749: [22:51:00] <Ryan-Toast> antmas: I moved everything to the Module, so that may taker some getting used to.
750: [22:51:12] <antmas> Ryan-Toast: all good, I will taker my time
751: [22:51:37] <simon_w> Jakx, It's lazy. The database is only queried when you actually try getting records
752: [22:51:41] <Ryan-Toast> antmas: I wanted to seperate it so you could have all your code in mysite, and your theme. And update Boilerplate without anything breakig.
753: [22:52:21] <antmas> Ryan-Toast: makes sense - separation is good
754: [22:52:26] <Ryan-Toast> yarp
755: [22:52:51] <antmas> because I don't always break things, but when I do, it's because it's in mysite/code
756: [22:52:55] <antmas> :P
757: [22:54:52] <greseky> Stomach: I am lost
758: [22:55:05] <Stomach> I know :P
759: [22:56:40] <pippy> i'm tempted to write a patch that would make GridField look at Dataobject->getCMSActions()
760: [22:57:02] <ss23> "Yesterday the client restricted access to the admin for the site XXXXXXX base on IP address. my IP address was not included so can you add it now please: 192.168.1.116"
761: [22:57:04] <pippy> would a patch like that be considered, or would I be wasting time?
762: [22:57:14] <ss23> The fucked up thing is that the person who made this ticket is someone who is meant to be a "developer" making websites :(
763: [22:57:51] <pippy> ss23: you block access based on IP addresses?
764: [22:57:51] <Stomach> lol
765: [22:58:00] <Stomach> especially local addresses
766: [22:58:06] <ss23> pippy: *allow* access based on IP address
767: [22:58:53] <simon_w> ss23, the lunch here is amazing
768: [22:58:55] <simon_w> And free!
769: [22:59:06] <ss23> :D
770: [22:59:07] <ss23> Lucky
771: [23:11:02] * violetina quit (Remote host closed the connection)
772: [23:13:01] <Ryan-Toast> How can I add a stylesheet to the Security pages?
773: [23:13:18] <Ryan-Toast> would I make an extension?
774: [23:13:24] <Ryan-Toast> and then chuck it in the init?
775: [23:17:42] * UncleCheese_ has joined #silverstripe
776: [23:25:11] * Bollig|DesignCty has joined #silverstripe
777: [23:31:04] * DesignerX has joined #silverstripe
778: [23:32:17] * Colin[pi] has joined #silverstripe
779: [23:32:58] <Colin[pi]> moin moin
780: [23:33:04] <simon_w> Morning
781: [23:33:58] <Stomach> howdy
782: [23:34:24] <Colin[pi]> how's the States, simon_w?
783: [23:34:45] <simon_w> The food here is free and the wifi's fast
784: [23:34:56] <Colin[pi]> are you in Cali?
785: [23:35:03] <simon_w> Yes
786: [23:35:33] <Colin[pi]> food is good?
787: [23:36:17] <simon_w> Right about https://goo.gl/maps/iACor
788: [23:36:21] <simon_w> The free stuff is
789: [23:36:40] <Colin[pi]> hmm your IP is showing colorado
790: [23:36:55] * simon_w looks around
791: [23:36:58] <Colin[pi]> you're deep in an underground base, aren't you?
792: [23:36:59] <simon_w> Certainly in Facebook
793: [23:37:31] <Colin[pi]> wow they certainly have an awesome office location
794: [23:37:48] <FrozenFire> I've been in there
795: [23:37:53] <FrozenFire> Was in there last October
796: [23:37:53] <Colin[pi]> *switches to satellite* Oh.
797: [23:38:18] <Colin[pi]> what were you doing there FF?
798: [23:38:27] <FrozenFire> Friends with Sara Golemon
799: [23:38:58] <FrozenFire> She brought a bunch of people she knows from Zendcon for a tour
800: [23:39:10] <Colin[pi]> ahh yes I've seen Sara around on Github
801: [23:39:44] <simon_w> Yeah, she's over in that corner
802: [23:40:53] <FrozenFire> I was pretty cool in there, though I don't think I'd want to work for Facebook. :P
803: [23:41:09] <Colin[pi]> you were pretty cool? ;P
804: [23:41:15] <FrozenFire> It**
805: [23:41:18] * an_Eskimo quit (Ping timeout: 240 seconds)
806: [23:41:22] <FrozenFire> I'm cool too, but it was cool
807: [23:41:37] <Colin[pi]> did you meet the Zuck?
808: [23:41:43] <FrozenFire> Nah
809: [23:41:51] <UncleCheese_> simon_w: you're at Facebook?
810: [23:41:57] <simon_w> UncleCheese_, yes
811: [23:42:03] <FrozenFire> There's actually a sign on his office window that says not to disturb the wildlife, or something like that. :P
812: [23:42:03] <UncleCheese_> interviewing?
813: [23:42:06] <simon_w> No
814: [23:42:07] <FrozenFire> Since so many people bother him
815: [23:43:03] <Ryan-Toast> How can I hook into the Security controller?
816: [23:43:05] <Colin[pi]> UncleCheese_: they've stolen him from us ;_;
817: [23:43:12] <FrozenFire> Ryan-Toast, Lolgoodluck
818: [23:43:24] <FrozenFire> That's one of my biggest peeves with SS
819: [23:43:26] <Ryan-Toast> FrozenFire: I just want to add a css file :P
820: [23:43:31] <FrozenFire> The Security controller is terribly impossible.
821: [23:43:47] <FrozenFire> Ryan-Toast, I reiterate: Good luck.
822: [23:43:55] <Ryan-Toast> sadface.jpg
823: [23:44:50] <simon_w> Ryan-Toast, just for the login form?
824: [23:44:52] <UncleCheese_> i thought he was going to Oz?
825: [23:44:59] <Ryan-Toast> simon_w: yeye
826: [23:45:14] <Colin[pi]> UncleCheese_: he is I think, but Facebook said they'd pay for him to come to Cali first
827: [23:45:20] <UncleCheese_> wow
828: [23:45:24] <UncleCheese_> they're really interested in kiwis
829: [23:45:24] <simon_w> Ryan-Toast, onBeforeSecurityLogin in an Extension on Security
830: [23:45:31] <UncleCheese_> they took two of our best guys :)
831: [23:45:35] <UncleCheese_> at heyday
832: [23:45:38] <simon_w> UncleCheese_, http://www.eventbrite.com/e/hack-developer-day-registration-10977795883
833: [23:45:39] <Colin[pi]> UncleCheese_: he's done a lot of stuff with HHVM
834: [23:45:47] <Ryan-Toast> simon_w: chur
835: [23:46:17] <UncleCheese_> umm, too bad it's 8 April in the states
836: [23:47:16] <Colin[pi]> Ryan-Toast: yeah that'd be your best bet, write an extension that uses onBeforeSecurityLogin to do your requirements
837: [23:48:00] <Ryan-Toast> Colin[pi]: Would it be an extension that I set to extend in the config? Or directly extend it via the class?
838: [23:48:24] <simon_w> Ryan-Toast, class MySecurityThing extends Extension
839: [23:48:38] <simon_w> UncleCheese_, the event's tomorrow
840: [23:48:43] <simon_w> Plenty of time to get here!
841: [23:49:10] <Ryan-Toast> simon_w: yay, that worked.
842: [23:50:54] <Ryan-Toast> simon_w: lost password doesn’t have a similar function, does it?
843: [23:50:58] <UncleCheese_> https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-frc3/t1.0-9/10175038_742784919099816_4981400293045169604_n.jpg
844: [23:50:58] * SMaction quit (Ping timeout: 240 seconds)
845: [23:51:10] <Colin[pi]> UncleCheese_: lol
846: [23:51:18] <simon_w> Ryan-Toast, if you want it on every Security page, onAfterInit
847: [23:51:22] * SMaction has joined #silverstripe
848: [23:52:23] <Ryan-Toast> simon_w: holla holla get dolla
849: [23:57:11] <Ryan-Toast> yay all the security shit works: http://webdough.co.nz/~boilerpl/

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