#silverstripe IRC Log

IRC log for 13 January 2015

All timestamps are in UTC.

1: [00:01:05] * willr has joined #silverstripe
2: [00:05:35] * terryapodaca quit (Quit: Leaving.)
3: [00:06:41] * aragonne has joined #silverstripe
4: [00:12:57] * gelignite quit (Quit: http://bit.ly/nkczDT)
5: [00:17:57] <irogue_> that subway gave me legit gas
6: [00:19:19] * aglip quit (Remote host closed the connection)
7: [00:19:21] <ss23> ty 4 sharing
8: [00:20:13] <irogue_> you're welcome
9: [00:20:19] <Stomach> bottle gas
10: [00:20:22] <Stomach> send to SS wellington
11: [00:20:23] <Stomach> ???
12: [00:20:24] <Stomach> profit
13: [00:20:26] <ss23> ....
14: [00:20:27] <ss23> :/
15: [00:20:31] <ss23> GROSS
16: [00:21:29] <Stomach> hehehe
17: [00:23:03] * jenniferaslan quit (Quit: jenniferaslan has left the room)
18: [00:26:14] <zippy> Colin[pi]: looks good
19: [00:27:03] <Colin[pi]> zippy: elite dangerous?
20: [00:27:13] <zippy> mmm
21: [00:27:16] <zippy> another time sink
22: [00:27:23] <Colin[pi]> zippy: yeah it's heaps fun and addictive :(
23: [00:31:00] <ss23> elite good-neighourhood
24: [00:31:14] <ss23> elite probably-okay-as-long-as-you-stay-out-of-the-dodgy-areas
25: [00:31:27] <Colin[pi]> lol
26: [00:32:47] <zippy> looks a bit more 'hands on' than eve eh
27: [00:33:09] <Colin[pi]> zippy: it's a 'space sim' at it's heart, fun combat
28: [00:33:35] * user__ has joined #silverstripe
29: [00:37:19] * ineedahackerhand quit (Quit: Page closed)
30: [00:38:13] * user__ quit (Client Quit)
31: [00:38:44] * aragonne quit (Quit: aragonne)
32: [00:43:37] * newhackerhandle has joined #silverstripe
33: [00:45:32] <newhackerhandle> i got a new hacker handle without hacking any hands
34: [00:46:31] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
35: [00:47:26] * UncleCheese has joined #silverstripe
36: [00:48:22] * blahblah24 has joined #silverstripe
37: [00:51:04] <antmas> mm
38: [00:51:09] <antmas> Manson's new album is really good
39: [00:56:30] <Stomach> UncleCheese, camfindlay - when doing the upgrade to SS.org did you guys do any major upgrades to the forum? I have a bunch of shit I've been moving out to the config layer and was wondering if you already have that done somewhere or if I should PR the shit out of it
40: [00:57:08] <UncleCheese> we did.. i think .org is on an unrealease branch of the forum
41: [00:57:11] <UncleCheese> one sec
42: [00:57:34] <UncleCheese> maybe not.. it's on 0.7.*-dev
43: [00:59:42] <Stomach> cool
44: [00:59:54] <Stomach> I'll have a look at some PR's later this week then
45: [01:10:32] <irogue_> ah, those no-notice meetings
46: [01:10:37] <irogue_> client just requested a meeting at 2:30pm
47: [01:10:45] <antmas> irogue_: I have 1 in 5 mins :|
48: [01:11:10] <antmas> with Stripetheweb
49: [01:11:30] <simon_w|work> antmas, they pay me!
50: [01:12:03] <antmas> hi5s simon_w|work o/
51: [01:12:49] <simon_w|work> <borat>High-five!</borat>
52: [01:13:13] <zippy> antmas: not on spotify
53: [01:13:49] <antmas> zippy: only streaming on soundcloud atm
54: [01:15:56] <Stomach> irogue_ - bottle the gas!
55: [01:16:03] * vebb has joined #silverstripe
56: [01:18:56] * vebb quit (Client Quit)
57: [01:21:08] <simon_w|air> HOT NIGHT, WIND WAS BLOWING
58: [01:21:16] <simon_w|air> WHERE DO YOU THINK YOU'RE GOING, BABY?
59: [01:22:45] <blahblah24> HEY I JUST MET YOU!
60: [01:22:57] <simon_w|air> Too late, song's finished
61: [01:24:41] <newhackerhandle> so i got a new name people
62: [01:25:11] <simon_w|work> I already have three
63: [01:25:15] * simon_w|work is special
64: [01:25:34] <newhackerhandle> everybody is special
65: [01:28:35] <zippy> really special people ride helments on a bus...
66: [01:28:41] <zippy> ...
67: [01:28:57] <simon_w|air> ride helmets? Sounds painful
68: [01:28:59] <newhackerhandle> maybe they are very safety-conscious
69: [01:29:04] <newhackerhandle> or untrusting
70: [01:29:07] <Colin[pi]> brb
71: [01:29:09] <newhackerhandle> of bus drivers
72: [01:29:12] * Colin[pi] quit ()
73: [01:29:30] * simon_w|air is thinking of someone sitting on a German helmet. With the massive spike.
74: [01:32:07] <irogue_> owies
75: [01:32:27] * irogue_ watches kittens while on a boring conference call
76: [01:32:45] <newhackerhandle> oh i misread :)
77: [01:34:19] * Colin[pi] has joined #silverstripe
78: [01:34:22] * caamic30 has joined #silverstripe
79: [01:34:29] <caamic30> Hello SS!
80: [01:35:04] <newhackerhandle> hello
81: [01:35:07] * aragonne has joined #silverstripe
82: [01:35:17] <caamic30> Has anyone encountered when you $form->saveInto($member) changes the password even if you’re not actually passing the password field
83: [01:35:17] <caamic30> ??
84: [01:36:54] <Stomach> is their a password field in your form field list?
85: [01:37:51] <caamic30> hi Stomach, my form has no password field. it’s weird actually
86: [01:39:07] <Stomach> hmm funky
87: [01:39:50] <Stomach> what does $this->fields->saveableFields() return
88: [01:39:55] <caamic30> yeah, I debug dump the $data from the form submission and no Password in array is passed
89: [01:39:57] <Stomach> does it have the password field in it somehow
90: [01:40:00] <camfindlay> Stomach yeah we’ve done a bunch of stuff on the 0.7 branch of forum, probably doing a few more things too. If you’re doing some breaking changes PR them against master (Might spin up a 0.8 branch as there are a few new things we want to do with that module too). Give me a holla if you need me to check over anything :)
91: [01:40:39] <Stomach> camfindlay, awesome thanks - most of it is just configuration fun times
92: [01:42:34] <newhackerhandle> stomach, we are having a discussion about your identity. Who are you?
93: [01:43:33] <caamic30> my browser has crashed, it displays a long info of the fields
94: [01:43:52] <caamic30> the password field is included
95: [01:46:10] <ss23> Stomach: you're in wgtn still right?
96: [01:47:57] <Stomach> ss23 - nope auckland
97: [01:48:33] <Stomach> caamic30 - can you pastie your form code somewhere?
98: [01:53:52] * r_hector has joined #silverstripe
99: [01:54:03] <antmas> skype sucks when it doesn't work
100: [01:54:18] * Cramb has joined #silverstripe
101: [01:55:39] * vebb has joined #silverstripe
102: [01:57:10] * aragonne quit (Quit: aragonne)
103: [01:57:38] * vebb quit (Client Quit)
104: [02:07:00] * ProzacJellybeans has joined #silverstripe
105: [02:07:08] <ss23> https://github.com/silverstripe/silverstripe-framework/pull/3783
106: [02:07:12] <ProzacJellybeans> Dank memes
107: [02:07:16] * goodmorning quit (Quit: Page closed)
108: [02:08:24] <newhackerhandle> hey prozac jellybeans
109: [02:08:28] * animatedtacos has joined #silverstripe
110: [02:08:47] <newhackerhandle> hey animatedtacos
111: [02:09:24] <animatedtacos> hello newhackerhandle
112: [02:09:35] <Stomach> ss23 - why am I looking at this
113: [02:09:39] <ss23> lol
114: [02:09:49] <ss23> My poor stuents are bieing forced to do labour and fix bugs
115: [02:09:55] <ss23> Taking reqwuests now, what do you want them to work on? :D
116: [02:09:58] <ProzacJellybeans> It's *bags* of fun
117: [02:10:04] <newhackerhandle> our teacher has poor spelling and he is a coder???
118: [02:11:21] <newhackerhandle> then again he also likes comic sans so...
119: [02:11:22] <antmas> ss23: recyclingther fix maybe?
120: [02:11:33] <zippy> ss23: speed up
121: [02:11:52] <simon_w|air> ss23, ditching the Config API
122: [02:12:02] <zippy> oh yea ditch yaml my god
123: [02:12:03] <Stomach> ss23 - how about making everything have a smiley face where appropriate
124: [02:12:17] <antmas> cat pics > smile faces
125: [02:13:05] <antmas> 'how to grow you hair like ss23 '
126: [02:13:05] <simon_w|air> I had a ticket in the 2.3 days to have a dancing monkey gif pop up on save
127: [02:13:42] <ss23> YOU GUYS ARE THE WORST AT BUGS
128: [02:13:53] <pippy> IKR
129: [02:13:53] <simon_w|air> http://assets.simon.geek.nz/monkey.gif
130: [02:14:17] <ProzacJellybeans> You bet your ass that'll be implemented on the next version
131: [02:14:38] <antmas> have them document entwine
132: [02:14:46] <ss23> any core on IRC?
133: [02:14:49] <ss23> caamic30: Can you rab stig or mateusz IRL?
134: [02:14:53] <ss23> bah
135: [02:14:59] <simon_w|air> Better idea: ditch Entwine
136: [02:15:03] <ss23> camfindlay*
137: [02:15:05] <simon_w|air> ss23, there's that willr guy
138: [02:15:15] <simon_w|air> And camfindlay seems to like pretending to be core
139: [02:15:16] * WandL has joined #silverstripe
140: [02:15:17] <willr> hellow
141: [02:15:27] <simon_w|air> Nor sure if he is or not though
142: [02:15:50] <ss23> willr: https://github.com/silverstripe/silverstripe-framework/pull/3783
143: [02:15:54] <ss23> can u merge?
144: [02:15:57] <antmas> have them hold up signs during tuts for UncleCheese
145: [02:16:02] <willr> Nah all the core devs are too cool for skool to be on IRC
146: [02:16:07] <ss23> UncleCheese: Or can you grab mateusz/stig IRL pls?
147: [02:16:12] <ss23> Just want them to merge that
148: [02:16:14] <camfindlay> I’m not, I was in the hang out to update on some work I did for core and help run the hangout etc
149: [02:16:24] <ss23> camfindlay: GRAB ONE OF THEM IRL
150: [02:16:24] <newhackerhandle> 'skool'?
151: [02:16:27] <ss23> I alraedy told them to
152: [02:16:55] <simon_w|air> ss23, is String.trim polyfilled?
153: [02:16:56] * antmas feels weird when there are new people in here
154: [02:17:05] * Stomach agrees with antmas
155: [02:17:32] <simon_w|air> (IE8 doesn't have it inbuilt)
156: [02:17:35] <ss23> Don't worry, they'll be gone at 5pm
157: [02:17:35] * newhackerhandle quit (Quit: Page closed)
158: [02:17:39] <pippy> replace entwine with backbone?
159: [02:17:45] * Colin[pi] quit (Ping timeout: 264 seconds)
160: [02:17:45] * pippy runs away
161: [02:17:54] <simon_w|air> pippy, eh, can't be worse :p
162: [02:18:00] <ProzacJellybeans> * is here to stay *
163: [02:18:01] * ghostcheese has joined #silverstripe
164: [02:18:15] <ProzacJellybeans> fuck that didn't work
165: [02:18:22] <simon_w|air> ProzacJellybeans, /me
166: [02:18:35] <simon_w|air> Also, trying to get on the swears stats already? Impressive
167: [02:19:08] <pippy> lol
168: [02:19:25] <ghostcheese> the drowning man resurfaces
169: [02:19:34] <pippy> on a side note, how do the backbones guys get their site to be stupid fast? is it a CDN?
170: [02:19:42] <simon_w|air> willr, so is .trim polyfilled in the CMS?
171: [02:20:14] <UncleCheese> Sweet commit. https://github.com/unclecheese/silverstripe-bootstrap-forms/commit/523237f69cf034e24a7adc9c0fbef184a24f9c2b
172: [02:20:26] <ghostcheese> uncle cheese!
173: [02:20:36] <simon_w|air> pippy, is GitHub pages
174: [02:20:47] <pippy> simon_w|air: perhaps it should use $.trim?
175: [02:20:51] <antmas> are shoes feet?
176: [02:22:03] <pippy> the js trim() is supported MSIE >= 9.0, and IIRC SilverStripe supports msie 8
177: [02:22:51] <simon_w|air> pippy, yeah, which is why I'm trying to find out if it's polyfilled
178: [02:22:57] <willr> true good thinking. We’ve dropped support for IE8
179: [02:23:05] <willr> not SilverStripe but DNA
180: [02:23:09] <zippy> ss23: http://beta.doc.silverstripe.org/en/developer_guides/model/scaffolding/ --> The DataExtension link a third down the page is broken - there is something for them to fix
181: [02:23:12] <willr> should probably just use .trim
182: [02:23:17] <willr> $.trim*
183: [02:23:23] <simon_w|air> Yay! I found a bug!
184: [02:23:41] <zippy> ss23: http://beta.doc.silverstripe.org/en/getting_started/directory_structure/ -- The link in the Theme Structure is also broken
185: [02:24:09] * muskie9 has joined #silverstripe
186: [02:24:11] <simon_w|air> ss23, tell your people that the CMS needs to work in IE8?
187: [02:24:12] <zippy> ss23: http://beta.doc.silverstripe.org/en/getting_started/server_requirements/ -> links to a performance guide which 404s... ironic that :P
188: [02:24:45] <ghostcheese> wilr can you close the issue now that its fixed?
189: [02:24:46] <ss23> DOES I?! :O
190: [02:24:51] <ss23> it*
191: [02:25:28] <irogue_> yep, ie8 is the min req
192: [02:25:36] <simon_w|air> "SilverStripe CMS is designed to work well with Google Chrome, Mozilla Firefox and Internet Explorer 8+."
193: [02:25:38] <ss23> but willr said we dropped IE8
194: [02:25:39] <ss23> ;_____;
195: [02:25:47] <ss23> Lets make a PR to remove IE8 support
196: [02:25:48] <Stomach> no DNA did
197: [02:25:49] <ss23> good idea y/n?
198: [02:25:55] <ProzacJellybeans> Yes
199: [02:25:57] <Stomach> haha good luck with that mr CWP
200: [02:25:58] <simon_w|air> ss23, can't go into 3.1
201: [02:26:08] <ss23> mmk
202: [02:26:09] <zippy> lol yeap, govt still uses ie8
203: [02:26:15] <ss23> Wanna revert and someone else can make a new PR?
204: [02:26:20] <zippy> I think antmas uses ie6
205: [02:26:35] <ghostcheese> ie8 should just leave.
206: [02:26:43] <pippy> drop PHP 5.3 and MSIE 8 with SilverStripe 3.2
207: [02:27:03] <irogue_> drop 5.4 while we're at it
208: [02:27:06] <simon_w|air> pippy, CWP will say nope. Cause SS is now controlled by the DIA.
209: [02:27:08] * travis-ci has joined #silverstripe
210: [02:27:09] <travis-ci> silverstripe/silverstripe-framework#3860 (revert-3783-3.1 - 90b134d : Will Rossiter): The build has errored.
211: [02:27:09] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/90b134d0d137
212: [02:27:09] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46808018
213: [02:27:09] * travis-ci has left #silverstripe
214: [02:27:56] <pippy> even after you say how many golds it will cost to have MSIE 8 support?
215: [02:28:00] <irogue_> very little govt (in NZ) is actually IE8, from my experience thus far
216: [02:28:09] <irogue_> it's the corporates that are stuck in WinXP land
217: [02:28:32] <pippy> ug i thought the poly was bad
218: [02:28:35] <pippy> but XP?
219: [02:28:39] <willr> simon_w|air so cynical
220: [02:28:57] <antmas> antmas is IE10, was IE9 when I first started here
221: [02:29:00] <zippy> irogue_: well 5.4 is no security only fixes... https://php.net/archive/2014.php#id2014-09-18-2 - almost makes sense
222: [02:29:04] <pippy> oh oh oh, ditch PHP support and only support HHVM
223: [02:29:05] <zippy> *is now
224: [02:29:22] <simon_w|air> willr, oh, I would like to be wrong about that
225: [02:29:34] <zippy> 3:30 and i've done sweet fa
226: [02:29:47] <simon_w|air> zippy, quick! You've got 15 seconds!
227: [02:29:49] <antmas> zippy: stop playing civ5
228: [02:29:52] <Stomach> lets ditch PHP and use rails instead then we can have rails girls meetups oh yeah
229: [02:29:59] <willr> By controls you mean funds then SS has always been controlled from Air NZ to Lotteries to Foodstuff
230: [02:30:12] <willr> always been dictacted by client needs
231: [02:30:19] <nontgor> and if you ever think the traffic is bad in Wellington, think again.... https://twitter.com/fm91trafficpro/status/554825761501102082/photo/1
232: [02:30:27] <pippy> Stomach: RoR guys have rails girls meetups? why am I using SS?
233: [02:30:36] <Stomach> pippy - because we are amatuers
234: [02:30:45] <irogue_> hey, we had like 5 females at the last SS Akl meetup
235: [02:30:52] * ghostcheese_ has joined #silverstripe
236: [02:31:03] <antmas> irogue_: ss23 doesn't count
237: [02:31:09] <antmas> :D
238: [02:31:21] * antmas *snaps fingers*
239: [02:31:33] <zippy> haha
240: [02:31:39] <zippy> he's got the hair for it
241: [02:31:48] <antmas> maybe he's born with it
242: [02:31:56] <zippy> she probably was
243: [02:31:58] * travis-ci has joined #silverstripe
244: [02:31:58] <travis-ci> silverstripe/silverstripe-framework#3859 (3.1 - b09091c : Will Rossiter): The build was broken.
245: [02:31:58] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/c2af23033f31...b09091cb5fe7
246: [02:31:58] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46807568
247: [02:31:58] * travis-ci has left #silverstripe
248: [02:32:16] <antmas> willr: you distracted by IRC? ;)
249: [02:32:27] <willr> Never :)
250: [02:32:40] <willr> Was broken before I got there
251: [02:32:52] <antmas> :)
252: [02:33:04] <antmas> that's what I say when people show me bugs
253: [02:34:34] * vebb has joined #silverstripe
254: [02:34:40] * vebb quit (Changing host)
255: [02:34:40] * vebb has joined #silverstripe
256: [02:34:42] <ProzacJellybeans> Ohhhhhh 99 shitty bugs in the code, 99 shitty bugs; take 1 down, patch it around, 400 shitty bugs in the code
257: [02:35:37] * antmas does a little jig
258: [02:35:44] <antmas> \o/
259: [02:35:47] <antmas> o//
260: [02:35:52] <antmas> o=
261: [02:35:59] <antmas> =o
262: [02:36:01] * animatedtacos quit (Ping timeout: 246 seconds)
263: [02:36:02] <antmas> \\o
264: [02:36:05] <antmas> \o/
265: [02:36:07] <zippy> doooooo the macarena
266: [02:36:11] <Stomach> haha
267: [02:36:18] <antmas> AAAHHEEE
268: [02:36:20] <zippy> https://www.youtube.com/watch?v=XiBYM6g8Tck
269: [02:39:44] * ghostcheese_ quit (Quit: Page closed)
270: [02:39:54] <pippy> http://i.imgur.com/rtnjqZS.jpg
271: [02:39:56] * travis-ci has joined #silverstripe
272: [02:39:56] <travis-ci> silverstripe/silverstripe-framework#3861 (3.1 - ee88a8e : Will Rossiter): The build passed.
273: [02:39:56] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b09091cb5fe7...ee88a8e538e4
274: [02:39:56] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46808030
275: [02:39:56] * travis-ci has left #silverstripe
276: [02:40:09] <pippy> someone needs to beat my high score
277: [02:40:28] <simon_w|air> Heh, http://logs.simon.geek.nz/stats.php#ember is the hardest one to get on to. Is a little surprising
278: [02:42:38] <Stomach> ss23 passed Pyro for the fuck!
279: [02:42:44] <pippy> i've never heard of ember until today
280: [02:42:53] <ss23> :D
281: [02:43:44] * mangotango has joined #silverstripe
282: [02:43:50] <ss23> ember ember ember ember
283: [02:44:17] * blahblah24 quit (Quit: Page closed)
284: [02:44:37] <mangotango> willr: can you please merge this https://github.com/silverstripe/silverstripe-framework/pull/3785
285: [02:45:08] <willr> Need to wait for the travis build to finish this time :P
286: [02:45:42] <ss23> Its ran last time without error, willr :O
287: [02:46:04] <ss23> Not that waiting isn't fine
288: [02:46:04] <ss23> Just we have no test for "doesn't cause JS errors in IE8" I guess
289: [02:46:06] <antmas> pippy: I got 55 slaves
290: [02:46:07] <simon_w|air> EVERYDAY I'M TRAVISING
291: [02:46:12] <willr> But the build failed?
292: [02:46:23] * blahblah24 has joined #silverstripe
293: [02:46:59] <pippy> antmas: nice
294: [02:47:17] <antmas> helps that I don't own any precious metals or diamonds :D
295: [02:50:01] <ss23> willr: It passed
296: [02:50:03] <ss23> Te revert failed
297: [02:50:08] <ss23> Original PR build passed
298: [02:50:45] * Colin[pi] has joined #silverstripe
299: [02:52:52] <simon_w|air> pippy, I got 31
300: [02:53:27] <ProzacJellybeans> Anyone attempted/ attempting to fix #441?
301: [02:54:04] <pippy> simon_w|air: you must live a humble life
302: [02:55:23] <ss23> ProzacJellybeans: Which project? Easier to just link to specific issues
303: [02:55:24] * caamic30 quit (Quit: caamic30)
304: [02:55:24] * antmas quit (Quit: Page closed)
305: [02:55:34] <Stomach> ProzacJellybeans - there is feedback for this now
306: [02:55:45] <Stomach> however, your selections are removed when the action completes
307: [02:55:54] <Stomach> keeping the selections selected would be a great fix
308: [02:56:02] <ProzacJellybeans> https://github.com/silverstripe/silverstripe-cms/issues/441
309: [02:56:04] * Stomach just deleted a whole bunch of shit
310: [02:56:41] <ProzacJellybeans> Just having some trouble locating the file that the specific batch action for the button is located in
311: [03:00:08] <ProzacJellybeans> Disregard, found solution
312: [03:01:12] <ghostcheese> pippy i have 25 slaves
313: [03:12:02] <blahblah24> Pippy, I have 23 slaves.
314: [03:12:12] <UncleCheese> Zauberfisch
315: [03:15:04] <ghostcheese> does anyone know how to test this bug? https://github.com/silverstripe/silverstripe-framework/issues/3519
316: [03:15:11] <pippy> ghostcheese, blahblah24: you won't start a cotton farm with those numbers
317: [03:15:40] <ghostcheese> that's okay it's not one of my life dreams
318: [03:21:41] <adrexia> ghostcheese, the issue is that the ticket isn't about a specific bug
319: [03:22:00] <adrexia> it mentions one, but its almost for demonstartion purposes
320: [03:22:48] <adrexia> though, yeah, I gfuess you can interpret it either way
321: [03:22:58] <Stomach> ss23 you aren't whipping the whip enough
322: [03:23:18] <ss23> adrexia: Well that specific error should be fied
323: [03:23:20] <ss23> But not sure how to reproduce
324: [03:23:24] <ghostcheese> we are slaving away...
325: [03:23:31] <adrexia> click the up arrow in files adim
326: [03:23:34] <blahblah24> help us....
327: [03:23:43] <adrexia> check if php error log reports an erroe
328: [03:23:48] <adrexia> wnat me to come down?
329: [03:24:08] <adrexia> be right there
330: [03:24:15] <ss23> adrexia: Ah, how di you know it's files :O
331: [03:24:16] <ss23> Yeah
332: [03:24:20] <ss23> come down and help one of them :D
333: [03:25:10] <ProzacJellybeans> pippy I have 27 slaves
334: [03:27:23] * vebb quit (Quit: veb-irc: quit)
335: [03:34:10] <ss23> Whats teh name of the module that installs a bunch of fake data and modules and components to make it easy for development?
336: [03:34:14] <ss23> (A question from adrexia)
337: [03:34:18] <ss23> Do you know simon_w|air? :D
338: [03:34:36] * novaweb quit (Quit: Leaving)
339: [03:34:38] <simon_w|air> Oh, I used to maintain that
340: [03:35:15] <ss23> simon_w|air: What was it called?! :O
341: [03:35:18] * ss23 glares
342: [03:36:14] <ProzacJellybeans> I'm losing a coding battle to a fUCKING BUTTON
343: [03:36:15] <simon_w|air> ss23, https://github.com/silverstripe-labs/silverstripe-frameworktest?
344: [03:36:24] <ss23> ty
345: [03:38:55] * travis-ci has joined #silverstripe
346: [03:38:55] <travis-ci> silverstripe/silverstripe-framework#3863 (3.1 - cf9c666 : Will Rossiter): The build passed.
347: [03:38:55] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ee88a8e538e4...cf9c6666dd54
348: [03:38:55] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46811634
349: [03:38:55] * travis-ci has left #silverstripe
350: [03:39:13] <Stomach> ProzacJellybeans - welcome to the world of development
351: [03:46:43] * ghostcheese quit (Ping timeout: 246 seconds)
352: [03:50:09] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
353: [03:54:50] * Stomach quit (Quit: zzz)
354: [03:58:20] * mangotango quit (Quit: Page closed)
355: [04:01:08] * Cramb quit (Quit: Cramb)
356: [04:01:25] * ProzacJellybeans quit (Ping timeout: 246 seconds)
357: [04:03:47] * spekulatius quit (Quit: Leaving)
358: [04:05:45] <adrexia> <ss23> adrexia: Ah, how di you know it's files :
359: [04:05:53] <hailwood> Hey guys, If I have $has_one = array('Product' => 'Product'); how can I ensure only a filtered list of "Product" DataObjects are selectable in the CMS rather than all "Product"'s?
360: [04:05:59] <adrexia> I think GridFieldLevelup is something only really used in files?
361: [04:06:47] <adrexia> oh wait, looks like its in the gridfield for page too
362: [04:07:47] <adrexia> I think I have a way to replicate it, but it would take a fair bit of setup work
363: [04:08:20] <OldBigBeak> what's the best way to package up a site, assets, database, etc, so i can dump a clone of it on a new dev box
364: [04:08:44] <irogue_> composer + sspak
365: [04:09:00] <irogue_> https://github.com/silverstripe/sspak
366: [04:09:14] <OldBigBeak> thanks mate
367: [04:11:15] <hailwood> Anyone have any ideas on my query?
368: [04:16:26] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
369: [04:16:52] * hailwood quit (Quit: Leaving)
370: [04:17:26] <OldBigBeak> can sspak be passed ssh options
371: [04:18:31] * Kingy[a] is now known as Kingy
372: [04:18:55] * caamic30 has joined #silverstripe
373: [04:19:49] <Zauberfisch> UncleCheese:
374: [04:19:58] <UncleCheese> did you get a chance to test display logic?
375: [04:20:01] * Ryan-Toast quit (Quit: Ryan-Toast)
376: [04:20:02] <Zauberfisch> not yet
377: [04:20:04] <UncleCheese> i just tagged a release
378: [04:20:06] <UncleCheese> so
379: [04:20:07] <Zauberfisch> but am about to
380: [04:20:09] <UncleCheese> 1.2.0
381: [04:20:13] <UncleCheese> 1.1.0, sorry
382: [04:21:51] <Zauberfisch> hey guys, do we consider something like this a security vuln?
383: [04:22:05] <Zauberfisch> $foo = new $_GET['foo']();
384: [04:22:57] <Colin[pi]> ooh that looks pretty nasty at the very least
385: [04:23:02] <Zauberfisch> yeah
386: [04:23:04] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
387: [04:23:31] <Zauberfisch> wait a second
388: [04:24:54] <Zauberfisch> oh yes. this certainly is one
389: [04:25:06] <Zauberfisch> it actually also calles $foo->write() further down the line
390: [04:25:09] <Colin[pi]> hehe it works?
391: [04:25:20] <Zauberfisch> yeah
392: [04:25:23] <Colin[pi]> yuck
393: [04:25:28] <Zauberfisch> not even an exception thrown
394: [04:25:50] <Zauberfisch> ok, it requires you to be loged in as admin or in dev mode though
395: [04:25:53] <Zauberfisch> so not critical
396: [04:28:52] <Zauberfisch> actually very low impact. not much you can do with it
397: [04:30:07] * caamic30 quit (Quit: caamic30)
398: [04:33:28] <simon_w|work> WE'LL BE SINGING
399: [04:33:31] <simon_w|work> WHEN WE'RE WINNING
400: [04:34:37] * willr quit (Quit: willr)
401: [04:34:47] <simon_w|air> I GET KNOCKED DOWN, BUT I GET UP AGAIN
402: [04:34:53] <simon_w|air> YOU'RE NEVER GOING TO KEEP ME DOWN
403: [04:35:54] * willr has joined #silverstripe
404: [04:36:12] * willr quit (Client Quit)
405: [04:36:56] <Zauberfisch> simon_w|air: Oo
406: [04:38:30] <simon_w|air> Aww, doesn't look like Textual has a command for showing currently playing songs
407: [04:45:50] <Zauberfisch> camfindlay ss23: you guys should get a gpg key for your
408: [04:45:57] <Zauberfisch> security@silverstripe.com
409: [04:46:40] <ss23> For all those GPG users
410: [04:46:40] <ss23> :P
411: [04:46:44] * caamic30 has joined #silverstripe
412: [04:46:50] <Zauberfisch> I use it!
413: [04:47:00] <ss23> WEIRDO
414: [04:47:08] * caamic30 has left #silverstripe
415: [04:47:12] <Zauberfisch> and I think a security contact address should offer the option to send encrypted messages
416: [04:47:18] <camfindlay> you want us to get share in Guinness Peat Group?
417: [04:49:28] * ocmnt quit (Ping timeout: 255 seconds)
418: [04:55:25] * Zauberfisch quit (Quit: leaving)
419: [04:55:41] * Zauberfisch has joined #silverstripe
420: [04:56:08] * camfindlay quit (Quit: camfindlay)
421: [04:57:21] * Stomach has joined #silverstripe
422: [04:57:54] * cloph has joined #silverstripe
423: [04:58:25] * cloph_away quit (Ping timeout: 265 seconds)
424: [04:58:43] * wracu quit (Ping timeout: 256 seconds)
425: [05:05:53] * matt-in-a-hat quit (Ping timeout: 244 seconds)
426: [05:06:08] * micmania1 quit (Quit: micmania1)
427: [05:06:10] * Stomach quit (Quit: Leaving.)
428: [05:08:06] * Stomach has joined #silverstripe
429: [05:08:12] * Stomach quit (Client Quit)
430: [05:10:44] <Zauberfisch> onh noes
431: [05:10:48] <Zauberfisch> where has UC gone?
432: [05:13:18] * azureRaven has joined #silverstripe
433: [05:19:35] <ss23> Home! It's late here :O
434: [05:19:55] <Zauberfisch> D:
435: [05:20:23] <Colin[pi]> 'late'
436: [05:20:25] <Colin[pi]> ;P
437: [05:21:29] <ss23> ty for the report though, Zauberfisch
438: [05:24:19] * Error404NotFound has joined #silverstripe
439: [05:26:23] * wracu has joined #silverstripe
440: [05:31:39] * wracu_ has joined #silverstripe
441: [05:32:14] * wracu quit (Ping timeout: 255 seconds)
442: [05:35:53] * wracu_ quit (Ping timeout: 240 seconds)
443: [05:44:30] * travis-ci has joined #silverstripe
444: [05:44:30] <travis-ci> tractorcow/sapphire#31 (pulls/numeric-locale-fix - 5bdd3c0 : Damian Mooyman): The build passed.
445: [05:44:30] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/b638becc7aa1...5bdd3c08f1b3
446: [05:44:30] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/46817446
447: [05:44:30] * travis-ci has left #silverstripe
448: [05:51:39] * Selay has joined #silverstripe
449: [05:57:23] <Selay> Hi guys, I have a question. When updating a db field in Page descendant in script (not via CMS), it doesnt update both table Sitetree and Sitetree_Live. But updating them separately may cause inconsistencies. Let's say updating page views field - which needs to be updated when it is viewed. What is the best way to deal with this? Maybe, another table where id, viewcount etc are stored?
450: [05:57:59] * [3dgoo] has joined #silverstripe
451: [05:58:22] <Zauberfisch> Selay: yeah, not an easy thing
452: [05:58:46] <Zauberfisch> you can do $page->Foo +=1; $page->write(); $page->doPublish() or something
453: [05:58:59] <Zauberfisch> however, this will publish all changes that are draft, not just Foo
454: [05:59:21] <Zauberfisch> you can make a manaual DB query to update both database tables
455: [05:59:34] <Zauberfisch> or, option 3, which is what I would do, is what you suggested
456: [05:59:44] <Zauberfisch> having a dataobject for it
457: [06:00:14] <Zauberfisch> class Page { $has_one = ['Counter' => 'PageViewCounter']; }
458: [06:00:54] <Zauberfisch> class PageViewCounter extends DataObject { $db = ['Count' => 'Int']; $belongs_to = ['Page' => 'Page']; }
459: [06:01:00] <Zauberfisch> actually, I would turn it around
460: [06:01:13] <Zauberfisch> make the page have a $belongs_to and the PageViewCounter as $has_one
461: [06:02:12] <zippy> agree, i'd go with a PageViewCounter type object
462: [06:04:31] <Selay> Thanks
463: [06:04:39] * Colin[pi] is now known as Colin[pi][a]
464: [06:05:09] <Selay> DoPublish() is not really suitable. Say if page has no live version, you may accidentally publish it.
465: [06:05:27] <Selay> I mean if it is draft or somebody has unpublished it
466: [06:05:32] <Zauberfisch> yep
467: [06:09:19] <[3dgoo]> Hi all
468: [06:09:31] <[3dgoo]> I have a question.
469: [06:10:00] <[3dgoo]> When adding a new DataObject item through the GridField Add button, in that DataObject's class getCMSFields function how do we reference the Object that the Add button was pressed from?
470: [06:10:05] <[3dgoo]> For example if I have a Dealership Page with many Car DataObjects, when I add a new Car, how can I get the Dealership information in the Car getCMSFields function?
471: [06:13:06] <Selay> @3dgoo, is relation has_many?
472: [06:13:53] <[3dgoo]> Yes. Dealership has_many Car. Car has_one Dealership.
473: [06:14:04] <Selay> then you have parent id there
474: [06:17:31] <zippy> Selay: Not sure if that has been set already.... could check...
475: [06:17:42] <[3dgoo]> No, I'm talking about in the CMS when adding a new item through the GridField
476: [06:18:05] <Selay> as car has_one Dealership, you can get $this->DealershipID
477: [06:18:27] <zippy> Selay: is that populated before the item has been saved?
478: [06:22:33] <Selay> If it doesnt exist, there is another way to get it.
479: [06:22:36] <[3dgoo]> It doesn't seem to be set on the initial call of getCMSFields().
480: [06:22:37] <Selay> parent id is in url
481: [06:22:49] <Selay> let me give you a simple function
482: [06:23:12] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
483: [06:27:55] <Selay> http://www.sspaste.com/paste/show/54b4babe427ee
484: [06:28:15] <Selay> put this function in your dataobject class and call $this->getParentId();
485: [06:31:59] <nontgor> Selay: $page->publish( "Live", "Stage" ); is what you want I think
486: [06:32:23] <nontgor> or Stage,Live depending on which way you go
487: [06:34:38] <Selay> @3dgoo I updated, sorry there was a wrong variable . http://www.sspaste.com/paste/show/54b4bbe989cad try this one
488: [06:35:54] <[3dgoo]> Thanks for helping @Selay
489: [06:37:04] <[3dgoo]> I'm surprised there is no easy reference to the ID and that we need to parse the url to get it
490: [06:37:08] <[3dgoo]> Thank you
491: [06:37:59] <Selay> well, usually it is not needed at that level. once you click save button, it becomes available in onBeforeWrite, onAfterWrite
492: [06:38:05] <Selay> which is the easy way to handle it
493: [06:43:11] <[3dgoo]> Yeah
494: [06:43:47] <[3dgoo]> Unfortunately I want to populate some default values based off the parent.
495: [06:44:00] <[3dgoo]> Thanks very much for your help.
496: [06:47:05] <Selay> But you can do it onAfterWrite
497: [06:48:25] <Selay> For example, say you want to generate car code based on delay name. onAfterWrite you can write $this->Code='mycode'; $this->write();
498: [06:48:27] * WandL quit (Quit: My Mac has gone to sleep. ZZZzzz…)
499: [06:51:27] * zippy has joined #silverstripe
500: [06:55:09] <[3dgoo]> Yes, but I want to have those fields filled in for the client when they first go to add a new car and edit the details. onAfterWrite will not work for this.
501: [06:57:05] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
502: [07:14:31] * Shrike_Finland has joined #silverstripe
503: [07:14:48] * zippy has joined #silverstripe
504: [07:15:10] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
505: [07:15:40] * Selay quit (Ping timeout: 246 seconds)
506: [07:18:28] * [3dgoo] quit (Ping timeout: 246 seconds)
507: [07:27:25] * Error404NotFound quit (Disconnected by services)
508: [07:27:25] * Err404NotFound has joined #silverstripe
509: [07:31:33] * Kingy is now known as Kingy[a]
510: [07:41:09] * Kingy[a] is now known as Kingy
511: [07:41:15] <Kingy> holy shit
512: [07:41:23] <Kingy> 36L of petrol cost me 3.6BD
513: [07:41:39] <Kingy> 12.18 New Zealand Dollar
514: [07:42:38] <simon_w> No tax and transport costs is good?
515: [07:43:17] <Eliseth> Goodmorning
516: [07:44:08] <Kingy> simon_w: Tis great. Alcohol on the other hand...
517: [07:44:20] <simon_w> Kingy, is it even legal?
518: [07:44:23] <Kingy> 1 cheap bottle of wine and 4 bottle of cider cost us 11BD
519: [07:44:29] <Kingy> ~40NZD
520: [07:44:45] <Kingy> simon_w: Yep, heavily restricted on where it's sold though
521: [07:45:32] <Eliseth> 36L of petrol cost me €55,80. (83,70 NZD)
522: [07:45:33] <Kingy> The school my partner works in is in one of the only blocks that allows alcohol. Apparently they get offers to buy on a daily basis
523: [07:46:06] <Kingy> Eliseth: You can probably get wine and cider for 5EUR though lol
524: [07:46:34] <Eliseth> True, but I use a lot more petrol than wine...
525: [07:46:46] * UncleCheese has joined #silverstripe
526: [07:47:02] <Kingy> haha yeah, well so am I
527: [07:47:04] <Kingy> now...
528: [07:47:19] <Kingy> although I get the feeling I can probably go once around Bahrain in one tank of petrol
529: [07:47:24] <Kingy> so kind of boring after that really
530: [07:47:30] * UncleCheese quit (Client Quit)
531: [07:54:04] * kero5hin is now known as paper_snail
532: [07:58:37] * elgabbu has joined #silverstripe
533: [07:59:38] * lerni_ has joined #silverstripe
534: [08:02:34] * ss31noob has joined #silverstripe
535: [08:04:30] <elgabbu> gd morning ... question ... is it possible to pass a parameter from the view to a function in the model .... say I am in the scope of a Product Model ... and in the model I have a function trackingUrl($ID) ... can I somehow pass a value in that argument from the template?
536: [08:05:15] <ss31noob> hi guys.. im trying to do the partial caching in the site.. aside from that we are using nginx as well for caching.. usually before (without partial cache), in order to see the changes we added in the admin.. we appended some string in the url to invalidate the cache.. how can i know that partial caching works in this case? does it mean that even without appending anything in the url.. as long as the cache key is invalid.. i
537: [08:10:17] * arnhoe has joined #silverstripe
538: [08:11:08] <nontgor> ss31noob: The way I normally check is to log the SQL into the error log and check the counts on the number of queries - see PointsOfInterestLayer, section 'Alter Core to Generate Relevant Logging'
539: [08:12:12] <nontgor> elgabbu: I think you can only pass in static values e.g. <% DisplayProduct('wide' %> or the like, not an ID
540: [08:12:16] <nontgor> what do you need the ID of?
541: [08:13:37] * Kingy is now known as Kingy[a]
542: [08:14:44] * Kingy[a] is now known as Kingy
543: [08:18:44] <elgabbu> nontgor ... i am looping through a model toplist which has a many_many relationship to products ... once i am in the product loop scope ... i am invoking a function from the product model and i am trying get a hold on the toplistID of the initial loop
544: [08:21:03] <zippy> elgabbu: you can use $Up to access the next level up
545: [08:21:11] <zippy> elgabbu: or $Top to get to the very top
546: [08:21:12] <zippy> eg
547: [08:21:27] <zippy> <% loop Something %> $Top.ID
548: [08:22:18] <Zauberfisch> zippy: have you mentioned $Up
549: [08:22:28] <Zauberfisch> in most cases, $Up is better suited
550: [08:22:31] <zippy> Zauberfisch: [21:21:02] <zippy> elgabbu: you can use $Up to access the next level up
551: [08:22:36] <Zauberfisch> ah, sorry, yes
552: [08:22:39] <Zauberfisch> missed that
553: [08:25:28] <elgabbu> i have trid to pass the variable in that manner but i get an exception saying that the function is missing an argument
554: [08:28:31] <elgabbu> let me throw some code in pastess
555: [08:28:38] * benjhocking has joined #silverstripe
556: [08:35:42] * jedateach quit (Quit: jedateach)
557: [08:37:50] <elgabbu> http://sspaste.com/paste/show/54b4d937807e2
558: [08:39:38] * Colin[pi][a] quit ()
559: [08:40:18] <elgabbu> with that code i get Missing argument 1 for Product::getTrackingURL()
560: [08:44:50] <nontgor> I think $Up is for pages, you are using DataObjects
561: [08:45:02] <nontgor> #MightNotBeTheCase
562: [08:45:29] <nontgor> and you can't get the list id from the product as the relationship is many many
563: [08:45:58] * ocmnt has joined #silverstripe
564: [08:46:30] <nontgor> elgabbu: What you can do is this
565: [08:46:57] <nontgor> elgabbu: In the method sorted products of TopList is where you know the list ID, and it's called from the template
566: [08:47:30] <nontgor> elgabbu: You need to loop through the result set of $this->Products()->sort($sortField);
567: [08:48:01] <nontgor> elgabbu: Then set an arbitrarily named variable to be the toplist, e.g. $product->CurrentList = $this;
568: [08:48:15] <nontgor> elgabbu: Then you have to append them to a new ArrayList and return that instead
569: [08:49:07] <elgabbu> $Up.ID if i just output it in the template it show the list ID correctly
570: [08:49:18] <elgabbu> passing it to the function in the model seems to be failing tho
571: [08:49:41] <elgabbu> gonna try that approach
572: [08:50:07] * ocmnt quit (Ping timeout: 244 seconds)
573: [08:50:23] * huberd has joined #silverstripe
574: [08:51:11] * azureRaven has joined #silverstripe
575: [08:52:55] * azureRaven quit (Client Quit)
576: [08:54:13] * aragonne has joined #silverstripe
577: [08:54:27] * r_hector quit (Quit: Leaving.)
578: [08:55:03] * azureRaven has joined #silverstripe
579: [08:55:39] <elgabbu> nontgor: $products = $this->Products()->sort($sortField); foreach($products as $product){ debug::dump($product->TopLists());
580: [08:55:49] <elgabbu> the dump gives me a ManyManyList
581: [08:56:06] <elgabbu> how do I extract the toplistID from that object?
582: [08:58:30] <nontgor> during the call to sortedProducts you know the current top list id
583: [08:58:37] * kinglozzer has joined #silverstripe
584: [08:58:38] <nontgor> something like this in the comments http://sspaste.com/paste/show/54b4d937807e2
585: [09:07:13] * Shrike_Finland quit (Quit: Leaving.)
586: [09:11:58] <elgabbu> nontgor ... but what is the point? ... in the template i am able to read the toplist ID fine with $Up.id
587: [09:13:54] <nontgor> ok, I've misunderstood the problem then :(
588: [09:13:54] <elgabbu> hold on
589: [09:13:54] * Shrike_Finland has joined #silverstripe
590: [09:14:02] <kinglozzer> elgabbu: I don't think you can pass template variables into functions like that
591: [09:15:02] <elgabbu> ok nontgor that worked
592: [09:15:11] <elgabbu> public function getTrackingURL(){ return "/product/track/{$this->ID}/{$this->TopList->ID}"; }
593: [09:16:31] <elgabbu> what i am confused/concerned is why ain't I able to get to the TopList record of the product via the public static $belongs_many_many = array( 'Toplists' => 'Toplist' ); relation
594: [09:18:50] * cupcake has joined #silverstripe
595: [09:18:50] <kinglozzer> elgabbu: You should be able to, with $product->Toplists();
596: [09:18:50] <kinglozzer> But that'll be a list, not a single object
597: [09:18:50] * ibeardslee quit (Ping timeout: 245 seconds)
598: [09:18:50] <elgabbu> kinglozzer ... that gives you a ManyManyList object
599: [09:18:50] <kinglozzer> Yeah
600: [09:18:50] <kinglozzer> That's correct
601: [09:18:50] <kinglozzer> Because a product can be in many Toplists
602: [09:18:50] * ibeardslee has joined #silverstripe
603: [09:18:50] <kinglozzer> So it retrieves a list of all Toplists that the product is in
604: [09:18:52] * ss31noob quit (Ping timeout: 246 seconds)
605: [09:19:27] <elgabbu> and if the product is assigned to multiple toplists the manymanylist will contain more than 1 toplist so one is not able to distinguish which is the right one
606: [09:19:27] <kinglozzer> Correct
607: [09:19:27] <kinglozzer> I think nontgor's suggestion is the best way around that issue :)
608: [09:20:53] <elgabbu> so it would seem
609: [09:22:24] <elgabbu> i think its a limitation tho ... i think that when looping through a many_many relationship ... the framework should automatically keep so sort of the back reference in the child to be able to go back to the parent model
610: [09:22:30] * azureRaven quit (Quit: Textual IRC Client: www.textualapp.com)
611: [09:23:21] * Kapdap quit (Ping timeout: 256 seconds)
612: [09:23:30] * Kapdap has joined #silverstripe
613: [09:24:28] * huberd quit (Ping timeout: 246 seconds)
614: [09:25:05] * wmk has joined #silverstripe
615: [09:30:42] <Zauberfisch> wmk: ohai
616: [09:30:48] <Zauberfisch> wmk: I solved that g thing!
617: [09:31:00] <Zauberfisch> the i18ncollectortask that echoed a g
618: [09:31:15] <Zauberfisch> its UncleCheeses fault!
619: [09:31:16] <Zauberfisch> https://github.com/Zauberfisch/silverstripe-gridfield-betterbuttons/commit/f2fb0506b5667bd9d78ee7c1df071bdfddc4d21a
620: [09:35:42] <wmk> really?
621: [09:35:53] <wmk> omfg
622: [09:36:04] <Zauberfisch> yeah, he had a file that started with "g<?php"
623: [09:36:31] <wmk> did it also output that G in the buttons?
624: [09:36:42] <Zauberfisch> must have
625: [09:36:50] <Zauberfisch> but its an uncommon button
626: [09:36:58] <Zauberfisch> so most people probably didn't notice it
627: [09:37:33] <wmk> ok
628: [09:38:05] <wmk> ain't there a codesniffer rule for "don't have something before <?php" ?
629: [09:38:36] * Kingy is now known as Kingy[a]
630: [09:40:01] * Kingy[a] is now known as Kingy
631: [09:45:59] * Shrike_Finland quit (Quit: Leaving.)
632: [09:48:05] <elgabbu> hi guys ... one more question so i have a many many relationship between Toplist and Product
633: [09:48:22] <elgabbu> and i also have some extra many many fields named 'Hits'
634: [09:48:54] <elgabbu> i am inside a controller action and i passed the productId and the toplist ID as params
635: [09:49:24] <wmk> toplist and product are both dataobject or is one a pagetype for the controller?
636: [09:49:34] <elgabbu> both dataobjects
637: [09:50:10] <elgabbu> what i want to do is increment the value of hits by 1 in the many_many table
638: [09:50:21] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
639: [09:50:57] <elgabbu> i have tried this but it's not working http://sspaste.com/paste/show/54b4ea55491c6
640: [09:52:21] <Zauberfisch> wmk: also, good news regarding the yml lang files: I've hacked together a collector task that does it better. merges existing files, and tells you what it changed
641: [09:52:30] <Zauberfisch> wmk: let me know if you want to beta test it
642: [09:52:37] <wmk> Zauberfisch, sure
643: [09:52:49] <wmk> sounds useful
644: [09:55:37] * Shrike_Finland has joined #silverstripe
645: [09:56:21] <wmk> elgabbu, see http://stackoverflow.com/questions/17936817/silverstripe-many-many-relationship-with-an-attribute-on-the-relationshiphttp://stackoverflow.com/questions/17936817/silverstripe-many-many-relationship-with-an-attribute-on-the-relationship
646: [09:56:40] <wmk> try $this->ManyMany['Hits']
647: [10:00:45] <elgabbu> $this in my case is a contoller?!
648: [10:05:08] * hailwood has joined #silverstripe
649: [10:06:32] <elgabbu> wmk didn't work ... i created a controller and passed in two parameters (ProductID and TopListID) ... using these two IDs I need to update an extra field in the many-to-many table
650: [10:10:22] <hailwood> So, if a dataobject "has_one" of another data object, how can we filter the second list of dataobjects for the select that is added to the cms?
651: [10:15:47] <hailwood> Anyone?
652: [10:43:35] <nontgor> hailwood: Can you explain in more detail what you are trying to do
653: [10:43:47] <nontgor> hailwood: What do you mean by 'the select that is added to the cms'?
654: [10:47:40] * paper_snail is now known as kerosene
655: [10:50:28] <wmk> elgabbu, in your case it should be $toplist->ManyMany['Hits']
656: [10:51:52] <wmk> hailwood, gridfield?
657: [10:53:11] <hailwood> wmk, nope not a gridfield, just a standard field - here's what I have that is working - but is it the best way? https://gist.github.com/hailwood/2a61a13afc888193b964
658: [10:55:23] <wmk> hailwood, what do you want to acchive in the dropdownfield?
659: [10:55:48] <wmk> you filter the list?
660: [10:56:58] <wmk> i'd go for Product::get()->filterAny( allcountries or includedcountry)->exclude(excluded country)
661: [10:57:50] <hailwood> wmk, how would I write the "allcountries" part so it would work in filterAny?
662: [10:58:23] <hailwood> filterAny would be great since I don't want to pull down all products and then filter them if I can help it.
663: [11:00:32] <wmk> filterAny(array('AllCountries' => 1, 'IncludedCountries.Code' => $country)
664: [11:00:37] <wmk> something like that
665: [11:00:54] <wmk> filtering on many_many is a bit tricky but should be better in latest 3.1
666: [11:01:03] <wmk> lerni_, any thoughts on that?
667: [11:10:26] <hailwood> wmk, so I tried (https://gist.github.com/hailwood/49495adde6e7682a4d18), but it's not doing any filtering at all now?
668: [11:14:06] <wmk> hailwood, try to see the sql and see if it's correct
669: [11:17:03] <hailwood> Yeah I did showqueries=1 and the sql has no filtering at all being applied.
670: [11:33:43] * Shrike_Finland quit (Quit: Leaving.)
671: [11:37:47] * lerni_ quit (Remote host closed the connection)
672: [11:41:16] <wmk> hailwood, try to filter one by one
673: [11:43:47] * aragonne quit (Quit: aragonne)
674: [11:43:52] * lozhowlett has joined #silverstripe
675: [11:45:09] <lozhowlett> hi all, following this http://doc.silverstripe.org/framework/en/reference/dataextension and trying to extend Member object, however the /dev/build doesnt actually build the database fields even tho it saying it has! When i change the config.yml to extend a different data object it builds the fields fine, but is failing on Member.
676: [11:45:43] <lozhowlett> http://www.sspaste.com/paste/show/54b5054062c49
677: [11:47:08] <lozhowlett> thanks for any help in advance!
678: [11:47:59] <kinglozzer> lozhowlett: Are you doing populateDefaults() anywhere?
679: [11:48:18] <kinglozzer> Or requireDefaultRecords()? Can't remember which
680: [11:48:36] <lozhowlett> no - havent seen that command before
681: [11:51:30] <lozhowlett> would I need that? I dont need any defaults for the field "telephone"
682: [11:51:34] <hailwood> wmk, I got it to run the query by adding ->toArray(), but the query is failing https://gist.github.com/hailwood/4cd3bc398596c0807361
683: [11:52:44] <kinglozzer> lozhowlett: No, you don't need it: I was just checking because one of those methods can cause that issue
684: [11:53:06] <lozhowlett> ok cool thanks - its defo not being used
685: [11:53:28] <kinglozzer> lozhowlett: Try signing out of the CMS, then running a dev/build
686: [11:53:38] <kinglozzer> Looks like it's trying to find the first member (presumably default admin)
687: [11:54:04] <lozhowlett> Nice! That worked!
688: [11:55:38] <lozhowlett> Also we are looking for silverstripe developers to work on www.propertywebpro.com SaaS is anyone is available for a short term contract
689: [12:00:57] * kerosene quit (Ping timeout: 264 seconds)
690: [12:00:58] * Shrike_Finland has joined #silverstripe
691: [12:02:09] * kerosene has joined #silverstripe
692: [12:04:01] <wmk> hailwood, it doesn't know the column
693: [12:04:05] <wmk> does it exist?
694: [12:08:16] * lozhowlett quit (Ping timeout: 246 seconds)
695: [12:08:35] * lerni_ has joined #silverstripe
696: [12:08:58] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
697: [12:10:19] <hailwood> wmk, yeah so there are a couple of issues in the query, I'll give it formatted. https://gist.github.com/hailwood/c632ffbc5f433e174a6a
698: [12:11:02] <wmk> hailwood, could you also paste the php?
699: [12:11:08] <hailwood> So the error comes from it trying to use Product_ExcludedCountries in the Left Join on clause before it actually joins it in the inner join.
700: [12:11:28] <hailwood> The other error is the Where that is generated - php incoming
701: [12:11:41] * lerni__ has joined #silverstripe
702: [12:12:20] * Eliseth has joined #silverstripe
703: [12:12:28] <wmk> re lerni_
704: [12:12:42] <hailwood> wmk, https://gist.github.com/hailwood/238d9fb4096e34248a3a
705: [12:13:40] <hailwood> I tried swapping the order of the exclude and filterAny, and the only difference it makes is the error then occurs on IncludedCountries instead
706: [12:14:23] * lerni_ quit (Ping timeout: 265 seconds)
707: [12:14:34] <wmk> kinglozzer, sounds like a bug? ^^^^
708: [12:16:15] * lerni__ quit (Ping timeout: 264 seconds)
709: [12:16:28] * Kingy is now known as Kingy[a]
710: [12:17:05] * Kingy[a] is now known as Kingy
711: [12:19:24] <kinglozzer> hailwood: Can you paste your Product class and the relations?
712: [12:21:19] <kinglozzer> Oh and the EcommerceCountry class
713: [12:21:23] * Eliseth quit (Ping timeout: 240 seconds)
714: [12:25:13] <hailwood> kinglozzer, https://gist.github.com/hailwood/aca4a1942527e1a67f7f
715: [12:25:25] <hailwood> It's a modified version of the sunnysideup cart.
716: [12:25:35] * lerni_ has joined #silverstripe
717: [12:26:46] <hailwood> The IncludedCountries/ExcludedCountries relations come from an extension applied to the Product class (also added in gist). #file-ecommercecountry-php-L394-L396 is where I am playing with the relationship
718: [12:29:43] <kinglozzer> hailwood: I think you might need the inverse many_many added to EcommerceCountry: private static $belongs_many_many = array('IncludedProducts' => 'Product.IncludedCountries', 'ExcludedProducs' => 'Product.ExcludedCountries');
719: [12:31:01] <wmk> kinglozzer, you mean the belongs_many_many part is missing?
720: [12:31:11] <kinglozzer> Yeah
721: [12:31:37] <wmk> so, hailwood you need another DataExtension for the country object
722: [12:33:05] <wmk> btw kinglozzer, do you have a clue how to manipulate a many_many_extraField value in PHP? elgabbu has some probs with it
723: [12:33:33] <kinglozzer> wmk: Yeah but I can't remember it :P simon_w told me once
724: [12:33:41] <wmk> oh
725: [12:33:50] <kinglozzer> From memory: $list = $object->ManyManyRelation(); $list->add($object, array('Sort' => 1));
726: [12:34:07] <kinglozzer> (where the array is the extraFields data)
727: [12:34:12] <hailwood> wmk, kinglozzer Hmm that's throwing Inverse component of Product.IncludedCountries not found (EcommerceCountry)
728: [12:34:33] <wmk> he want't to increase a value on an existing many_many relation
729: [12:35:15] <hailwood> for testing I just chucked the property straight on the EcommerceCountry DataObject.
730: [12:35:42] <hailwood> oh and fixed the ExcludedProducs to ExcludedProducts
731: [12:36:00] <wmk> elgabbu, did you read it?
732: [12:36:30] <wmk> $manymanylist->add($object, array('Hits', $newValue)) will also update the value
733: [12:36:54] <wmk> see ManyManyList::add()
734: [12:37:17] <wmk> gents, i have to leave now. cu
735: [12:37:32] <lerni_> wmk just back from lunch - was disconcected.
736: [12:38:21] <hailwood> Catch ya later wmk, hopefully kinglozzer can help me figure it out :)
737: [12:38:51] <kinglozzer> Hmm hailwood, looks like you're seeing the same error as https://github.com/silverstripe/silverstripe-framework/issues/3779
738: [12:41:13] <kinglozzer> hailwood: Try removing the '.' part, so just private static $belongs_many_many = array('IncludedProducts' => 'Product', 'ExcludedProducts' => 'Product');
739: [12:43:31] <kinglozzer> hailwood: If that doesn't work, I've been looking at: http://www.silverstripe.org/community/forums/data-model-questions/show/16971. Looks like you can work around it by doing one relation as $many_many and the other as $belongs_many_many - like in the second-last post on that first page
740: [12:43:39] * kinglozzer lunch
741: [12:48:15] * zlinux has joined #silverstripe
742: [12:48:33] <zlinux> hi all
743: [12:53:01] <zlinux> is the getFrontendFields() method deprecated in version 3+ ?
744: [12:55:00] * Shrike_Finland quit (Quit: Leaving.)
745: [12:55:04] <elgabbu> thanks confirmed that solution works
746: [12:55:29] <zlinux> i don't see it mentioned in the docs in versions 3+
747: [12:59:58] <zlinux> is it still the best way to overload getFrontendFields() for creating forms on the frontend for editing DataObjects?
748: [13:00:58] <hailwood> kinglozzer, I just tried both solutions, but neither of them work, the proposed solution in the link you shared does result in us using the reversed table, but we still end up with the same incorrect join order, as well as the incorrect Where portion of the query.
749: [13:16:15] <zlinux> wow my question is hard to answer? is it confusing?!
750: [13:17:21] * UndefinedOffset has joined #silverstripe
751: [13:18:19] <Zauberfisch> zlinux: I have never heard of getFrontendFields
752: [13:19:33] <Zauberfisch> looks like it does exist
753: [13:19:39] <Zauberfisch> but is not used anywhere
754: [13:20:24] <Zauberfisch> zlinux: sounds like something that at some point someone thought was a good idea but nobody ever used it
755: [13:20:40] <Zauberfisch> basically its a 3 lines function and is not really used anywhere
756: [13:20:55] * Kingy is now known as Kingy[a]
757: [13:21:04] <Zauberfisch> zlinux: do you have a specific usecase?
758: [13:22:06] * Kingy[a] is now known as Kingy
759: [13:22:29] * svandragt has joined #silverstripe
760: [13:22:37] <svandragt> hey hey
761: [13:23:41] <svandragt> see how the admin interface automatically wires up the controls to form elements and behaviour. Can we add this functionality to the frontend or is it easier to reskin the admin side to a custom design?
762: [13:23:50] <svandragt> any pointers welcomed
763: [13:31:17] <svandragt> Looks like I need to create my own version of LeftAndMain's getEditForm?
764: [13:31:18] <zlinux> Zauberfisch: i don't care about that function
765: [13:32:12] <zlinux> Zauberfisch: what I care about is how to easily and with least coding allow users to create / edit data object from Front End
766: [13:35:18] * ocmnt has joined #silverstripe
767: [13:37:47] * Zauberfisch quit (Ping timeout: 256 seconds)
768: [13:37:54] * Zauberfisch has joined #silverstripe
769: [13:59:49] <kinglozzer> hailwood: Sorry, I don't really know what else to suggest :/
770: [14:03:25] <kinglozzer> zlinux: You need to create the form yourself
771: [14:04:15] <kinglozzer> getFrontendFields is supposed to just return all fields, not organised into tabs
772: [14:04:42] <Zauberfisch> zlinux: well, how about:
773: [14:06:18] <Zauberfisch> public function SomeForm() { $someDataObject = ....; $scaffolder = new FormScaffolder($someDataObject); return new Form($this, __FUNCTION__, $scaffolder->getFieldList(), new FieldList(new FormAction('SubmitMyForm'))); }
774: [14:07:33] <Zauberfisch> public function SubmitMyForm($data, Form $form) { $someDataObject = ...; $form->saveInto($someDataObject); $someDataObject->write(); return $this->redirectBack(); }
775: [14:07:36] <Zauberfisch> done
776: [14:23:53] * svandragt quit (Quit: Page closed)
777: [14:33:42] * ocmnt quit (Ping timeout: 244 seconds)
778: [14:55:27] * ThePeach has joined #silverstripe
779: [15:03:56] <zlinux> Zauberfisch: so you're suggesting to use FormScaffolder
780: [15:05:11] <zlinux> kinglozzer: no need for tabs for the frontend
781: [15:05:26] * muskie9 has joined #silverstripe
782: [15:05:34] <kinglozzer> zlinux: Exactly, that's why the method exists - it scaffolds fields without tabs
783: [15:05:51] <Zauberfisch> zlinux: if its very basic dataobjects, yes
784: [15:06:03] <Zauberfisch> zlinux: or you define a getFrontendFields() in your dataobject
785: [15:06:14] <Zauberfisch> just know that getFrontendFields() is not a feature of silverstripe
786: [15:06:17] <Zauberfisch> its just a mehtod
787: [15:06:33] <Zauberfisch> you chould just as well call it function ZauberfischIsSuperAwesome()
788: [15:07:09] <zlinux> Zauberfisch: getFrontendFields() uses scaffoldFormFields() which uses FormScaffolder
789: [15:08:01] <Zauberfisch> oh, it does? I see
790: [15:08:01] <zlinux> LOL
791: [15:08:19] <Zauberfisch> well, I would still use FormScaffolder by hand, because you can restrict the fields
792: [15:08:44] <Zauberfisch> $scaffolder = new FormScaffoolder(); $scaffolder>restrictFields = [list of fields];
793: [15:08:48] <Zauberfisch> or was it restrictedFields
794: [15:09:10] <kinglozzer> restrictFields
795: [15:09:11] <kinglozzer> ^^
796: [15:09:35] <zlinux> what most developers are doing for frontend forms? build the forms from scratch? or use some scaffolding and customize it just like overloading getCMSFields?
797: [15:11:15] <zlinux> Zauberfisch: ok, good
798: [15:13:24] * _hschillig has joined #silverstripe
799: [15:13:54] <_hschillig> how do i call a different validate method on an update form? since the email doesn't need to be unique on update.. unless they try to change it.
800: [15:14:01] <Zauberfisch> zlinux: simple forms that just have a hand full of text fields and are 1:1 mapped to a dataobject I use the scaffolder
801: [15:14:15] <Zauberfisch> zlinux: but in most cases (70-80%) I build the forms myself
802: [15:14:25] <Zauberfisch> zlinux: its not that difficult
803: [15:18:42] * Eliseth has joined #silverstripe
804: [15:18:47] <kinglozzer> _hschillig: In your validator, check if($this->isChanged('Email'))
805: [15:18:50] <zlinux> yes i agree it's not difficult. But what for quick proto-typing?
806: [15:19:01] <zlinux> what about*
807: [15:20:21] <zlinux> _hschillig: your question is not fully clear
808: [15:22:17] <zlinux> Zauberfisch: the email is not required to be unique in your model?
809: [15:27:30] * catcher has joined #silverstripe
810: [15:32:31] <Zauberfisch> zlinux: wait what?
811: [15:32:42] <Zauberfisch> did I miss something?
812: [15:32:46] <_hschillig> On signup, their email needs to be unique. But where they update their information, it doesn't unless they change it.. so I'm not sure how to validate that since in my validate method on my model, I make sure it's unique. I wanted where I update the user to use a different validate method... so I can only check if it's unique if they change it.
813: [15:33:12] <Zauberfisch> zlinux: ah. you are talking to _hschillig
814: [15:33:14] <Zauberfisch> I see
815: [15:33:38] <Zauberfisch> _hschillig: I would probably make 2 forms
816: [15:33:46] <Zauberfisch> one CreateForm and one EditForm
817: [15:34:12] <Zauberfisch> where the EditForm has a different validator and has a ReadOnlyField for Email
818: [15:35:53] <kinglozzer> _hschillig: If you're using Member, it should take care of that for you I think
819: [15:36:20] <kinglozzer> Otherwise, you can just use if($this->isChanged('Email'))
820: [15:40:41] * ocmnt has joined #silverstripe
821: [15:47:51] <zlinux> _hschillig: I think on the model level email doesn't need to be unique for your case. And do what Zauberfisch said, an EditForm and a SignupForm. And the validator for the SignupForm will require the email to be unique.
822: [15:49:34] <zlinux> so uniqueness can not be forced on the model level, since you said it doesn't need to be unique if it's changed by users.
823: [15:49:59] <zlinux> the above is IMHO
824: [15:54:58] * masnun has joined #silverstripe
825: [15:56:37] <masnun> Hi, I need a help. I am new to SS. On one of my website, I am getting Server Error on some pages. This site runs an older version of SS. I tried debugging using isDev=1 and got this error message: http://pastie.org/9829801
826: [15:56:57] <masnun> I understand the ParentID field is empty in the query that's why it's failing
827: [15:57:13] <masnun> where might I be able to see why the ParentID is empty?
828: [16:05:53] <kinglozzer> masnun: Well, it's looking for SchedulePages in a certain section (hence the parent ID) if that helps
829: [16:06:10] <masnun> What's a section?
830: [16:07:38] <kinglozzer> masnun: Just trying to help you track down the code that's causing it: the code looks like it's responsible for fetching "SchedulePages" that are a child of a certain page.
831: [16:07:40] <masnun> kinglozzer did you mean in a page or something? sorry, I'm new to SS and not yet fully familiar with the terms
832: [16:08:28] <masnun> kinglozzer is there a way I can find out where (and why) the code is executing? may be I could look into there and see which page
833: [16:08:44] <kinglozzer> masnun: Which page does the error occur on? The home page? All pages?
834: [16:08:54] <masnun> a number of pages
835: [16:08:58] <masnun> including the home page
836: [16:08:59] <masnun> yes
837: [16:09:17] <zlinux> thanks all
838: [16:09:23] <zlinux> Zauberfisch: thanks
839: [16:09:24] <zlinux> byef or now
840: [16:09:35] <kinglozzer> I'd look in mysite/code/Page.php, scroll down to Page_Controller and look for something relating to "SectorPage"
841: [16:10:31] <masnun> SectorPage or SchedulePage? kinglozzer
842: [16:10:41] <kinglozzer> masnun: SchedulePage, sorry
843: [16:10:58] <masnun> thanks, trying, kinglozzer appreciate the guidelines
844: [16:12:21] <kinglozzer> masnun: My guess, from seeing similar issues before, would be that it's trying to find a "ScheduleHolder" or something, then search for child pages of it and someone has deleted the "holder" page
845: [16:13:09] <masnun> makese sense, Page.php has no mention of "schedule" or "Schedule" kinglozzer, may be it's children
846: [16:16:52] * jenniferaslan has joined #silverstripe
847: [16:17:55] <kinglozzer> masnun: If you don't get a stack trace before the error telling you what code triggered it, you'll just have to keep looking
848: [16:18:07] <kinglozzer> Try searching the whole codebase for "SchedulePage"
849: [16:18:21] <masnun> I have a stack trace
850: [16:18:25] <masnun> let me look at it
851: [16:19:16] <masnun> kinglozzer ScheduleWidget->getPublicEpisodes()
852: [16:19:36] <masnun> ScheduleWidget->getEpisodes(PublicChannelPage,Tuesday,5)
853: [16:19:47] <masnun> DataObject::get_one(SchedulePage,ParentID = )
854: [16:19:48] <masnun> Line 17 of ScheduleWidget.php
855: [16:20:00] <masnun> Stupid me, let me check what's in ScheduleWidget
856: [16:20:06] <kinglozzer> There you go :)
857: [16:20:22] <masnun> another noob question
858: [16:20:31] <masnun> where can I find the widget classes, usually?
859: [16:20:54] <masnun> found it
860: [16:20:56] <masnun> on the root
861: [16:23:20] <nontgor> I've fixed the lack of icons on my version of Uncle Cheese's Mappable module, and also added POI Layers (points of interest), so for example you can have data sets of railway stations, public toilets etc rendered on maps https://github.com/gordonbanderson/Mappable
862: [16:24:07] * zlinux quit (Ping timeout: 246 seconds)
863: [16:28:31] * arnhoe quit ()
864: [16:29:15] * lerni_ quit (Remote host closed the connection)
865: [16:37:52] <_hschillig> How do you use a different validator though?... it automatically fires the validate() method on my model.
866: [16:38:23] * wmk quit (Ping timeout: 240 seconds)
867: [16:44:14] <kinglozzer> _hschillig: DataObject::write() will automatically trigger validate() on your model. Your options are: remove the validation from validate() and manually set it up on the forms, or use my suggestion of if($this->isChanged('Email')) { /* Logic for checking if email exists */ }
868: [16:59:48] <_hschillig> $this->isChanged('Email') still returns true when I didn't even change the value.. http://pastebin.com/V6mPW1Ex $data is the form data being passed in. And fill just calls $this->setField() for each field and value.. that fills out fine.
869: [17:14:52] <_hschillig> When I do a var_dump of $this->getChangedFields(), it pulls all the fields from the database into an array.. so I think it's thinking every field has changed..
870: [17:23:51] <_hschillig> the getChangedFields() returns this http://pastebin.com/i6NzWysn if it's anymore helpful...
871: [17:24:06] <_hschillig> Not sure why 'before' is null...
872: [17:24:28] <kinglozzer> _hschillig: Looks like the way you're calling ->validate() is incorrect
873: [17:25:42] <_hschillig> Ahhhh I was calling it on a new User()... that explains it. Thanks D:
874: [17:26:06] <kinglozzer> No problem :)
875: [17:26:09] * kinglozzer home
876: [17:26:12] * kinglozzer quit ()
877: [17:26:51] <_hschillig> Definitely a silly mistake D: Wasn't thinking clearly.
878: [17:30:51] * cupcake quit (Quit: Page closed)
879: [17:53:05] * lerni has joined #silverstripe
880: [17:58:55] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
881: [18:01:22] * lerni quit (Remote host closed the connection)
882: [18:08:19] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
883: [18:11:46] * ThePeach quit (Quit: leaving)
884: [18:27:42] * lerni_ has joined #silverstripe
885: [18:28:48] * gelignite has joined #silverstripe
886: [18:53:37] * masnun_ has joined #silverstripe
887: [18:53:47] * Stomach has joined #silverstripe
888: [18:54:07] * irogue has joined #silverstripe
889: [18:54:45] * masnun quit (Ping timeout: 252 seconds)
890: [18:56:52] * masnun_ quit (Read error: Connection reset by peer)
891: [19:00:02] * _hschillig has left #silverstripe
892: [19:04:48] * masnun has joined #silverstripe
893: [19:08:43] * UndefinedOffset quit (Quit: Leaving.)
894: [19:13:56] * UndefinedOffset has joined #silverstripe
895: [19:15:39] * _hschillig has joined #silverstripe
896: [19:16:27] <_hschillig> When you set a sessionMessage onto your form in the processing method and redirect the user back.. it displays, but when you refresh, it should go away but taht error message stays there so even when you go to another page and come back it still shows that error message...
897: [19:16:27] <_hschillig> $form->sessionMessage('Invalid entry.', 'error');
898: [19:16:36] <_hschillig> How do you do a "flash" message for your form?
899: [19:16:45] * jedateach has joined #silverstripe
900: [19:16:58] * muskie9 has joined #silverstripe
901: [19:19:46] <catcher> _hschillig, since you're in custom form land, you'll need to clear it.
902: [19:22:24] <_hschillig> I'm not sure on how to clear it without it not displaying errors at all. Because if I clear befor eI return the form, what if those session messages were from the previous page load? I wouldnt want to remove those..
903: [19:22:59] <_hschillig> And off question but can you specify what columns you want to select in their query setup? Do I just put an array in the First() method parameter?
904: [19:23:40] <catcher> _hschillig, just store the message before you clear it.
905: [19:25:24] * antmas has joined #silverstripe
906: [19:27:07] <catcher> _hschillig, http://api.silverstripe.org/3.1/class-DataList.html#_setQueriedColumns
907: [19:29:33] * Ryan-Toast has joined #silverstripe
908: [19:30:04] * lerni_ quit (Remote host closed the connection)
909: [19:31:52] * aragonne has joined #silverstripe
910: [19:38:05] * spekulatius has joined #silverstripe
911: [19:46:35] * zippy has joined #silverstripe
912: [19:49:03] * lerni_ has joined #silverstripe
913: [19:49:47] * Ryan-Toast quit (Quit: Ryan-Toast)
914: [19:51:45] * aragonne quit (Quit: aragonne)
915: [19:52:42] <_hschillig> So I do $form->setMessage( $form->Message(), 'warning');
916: [19:52:43] <_hschillig> $form->clearMessage(); isn't that just backtracking? Won't it just clear that message I just set?
917: [19:53:18] <zippy> I think you do $form->clearMessage on success
918: [19:53:33] * Ryan-Toast has joined #silverstripe
919: [19:54:18] * novaweb has joined #silverstripe
920: [19:54:42] <_hschillig> well im wondering even if they navigate away and come back after an unsuccessful run of the form.. it'll still show.
921: [19:55:39] <_hschillig> sessionMessage() should just be a flash message.. only available for the next request. It's silly how they made it stick..
922: [19:59:35] <zippy> _hschillig: yea, I think I use my own flash message - which I use globally
923: [20:00:34] <zippy> I think it's like FlashMessage::success('message') or FlashMessage::fail('msg') - which in the backend is just a __call() which sets session flash, type = success or fail and message = whatever the message was
924: [20:01:10] * glenn-bautista has joined #silverstripe
925: [20:03:43] * hailwood quit (Quit: Leaving)
926: [20:05:40] * blahblah24 quit (Ping timeout: 246 seconds)
927: [20:09:31] * willr has joined #silverstripe
928: [20:09:41] * willr quit (Changing host)
929: [20:09:41] * willr has joined #silverstripe
930: [20:10:01] * blahblah24 has joined #silverstripe
931: [20:14:02] * ghostcheese has joined #silverstripe
932: [20:14:22] * lerni_ quit (Remote host closed the connection)
933: [20:18:59] * kerosene quit (Ping timeout: 256 seconds)
934: [20:23:12] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
935: [20:24:17] * muskie9 has joined #silverstripe
936: [20:25:45] * hailwood has joined #silverstripe
937: [20:27:05] * wracu has joined #silverstripe
938: [20:28:53] * Ryan-Toast has left #silverstripe
939: [20:30:23] * Ryan-Toast has joined #silverstripe
940: [20:32:20] <_hschillig> YeahI can't figure out how to make it clear within the next request after it's displayed though...
941: [20:34:06] * lerni_ has joined #silverstripe
942: [20:37:33] * micmania1 has joined #silverstripe
943: [20:42:13] <catcher> _hschillig, custom form template?
944: [20:45:01] * riddler7 has joined #silverstripe
945: [20:47:02] <antmas> morning all
946: [20:50:08] <novaweb> moaning
947: [20:50:31] <antmas> does feel a bit like a moaning today
948: [20:52:07] <_hschillig> I extended the Session class and added my own flash() method (:
949: [20:56:04] * blahblah24 quit (Ping timeout: 246 seconds)
950: [20:57:07] * ghostcheese quit (Ping timeout: 246 seconds)
951: [20:57:32] <Ryan-Toast> _hschillig: Me too :) https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/code/Modules/FlashMessage/code/FlashMessageConfig.php
952: [20:58:05] <novaweb> If someone would like to dry run this, that'd be great
953: [20:58:06] <novaweb> https://github.com/joshkosmala/silverstripe-tenon
954: [20:58:14] <antmas> Ryan-Toast: I should update my bp base
955: [20:58:15] <novaweb> "Check the accessibility of your SilverStripe site with this module that integrates with Tenon"
956: [20:58:36] <Ryan-Toast> antmas: I’ve been fucking around with it, so maybe give it a couple weeks.
957: [20:59:03] <antmas> Ryan-Toast: all good, I have some work to do on a site this week - deadline is late feb or early march
958: [21:00:35] <Ryan-Toast> Hmm, how would you count Hmm, how would I get a count of all the top level menus.
959: [21:00:45] <Ryan-Toast> in the controller.
960: [21:02:33] * blahblah24 has joined #silverstripe
961: [21:02:39] * Guits has joined #silverstripe
962: [21:03:12] <Guits> Anyone got any info on how to generate thumbnails for videos in silverstripe after upload?
963: [21:04:07] <catcher> Ryan-Toast, SiteTree::get()->filter('ParentID', 0)->count();
964: [21:04:20] <Ryan-Toast> catcher: chur bo
965: [21:04:57] <antmas> filter by parentid is awesome
966: [21:04:58] <Stomach> Ryan-Toast or $Menu(0).Count perhaps
967: [21:05:14] <catcher> Stomach, controllah
968: [21:05:20] <Stomach> oh lols
969: [21:05:29] <Stomach> your filter will need a "showinmenus" filter too
970: [21:05:41] * camfindlay has joined #silverstripe
971: [21:05:47] <catcher> mmhmm
972: [21:05:50] * ghostcheese has joined #silverstripe
973: [21:06:34] * catcher googles 'chur bo'
974: [21:06:36] <catcher> Ryan-Toast, np
975: [21:07:05] <Ryan-Toast> Yeah, I just did: return SiteTree::get()->filter(array('ParentID' => 0, 'ShowInMenus' => 1))->count();
976: [21:07:25] <Ryan-Toast> catcher: I forget not everyone’s from NZ :P
977: [21:08:31] <catcher> Maybe SiteTree_Live
978: [21:10:50] <riddler7> @guits, either have an image field to upload a screenshot, or you'll need something like ffmpeg to generate the screenshot
979: [21:10:57] <antmas> Ryan-Toast: got me saying chur way more
980: [21:11:04] <antmas> now all Nelson peeps think I'm weird
981: [21:11:14] <antmas> ARE YOU FROM THE NORTH ISLAND
982: [21:11:28] <Ryan-Toast> Lol.
983: [21:11:33] <Ryan-Toast> fucking Jaffa.
984: [21:12:18] <Stomach> skux as
985: [21:12:59] <antmas> still don't know what skux is
986: [21:13:37] <Stomach> you're a skux
987: [21:13:46] * antmas spins
988: [21:15:31] <blahblah24> nek minute
989: [21:15:55] * UndefinedOffset quit (Quit: Leaving.)
990: [21:16:47] <Stomach> Levi is a good dude
991: [21:17:12] <novaweb> and a mad asf skater
992: [21:17:57] <Stomach> yeah, used to see him bombing hills in dunners
993: [21:18:00] <Stomach> crazy fuckers
994: [21:18:06] <Stomach> straight down stewart street
995: [21:23:27] * riddler7 quit (Quit: Leaving)
996: [21:24:04] * blahblah24 quit (Ping timeout: 246 seconds)
997: [21:24:19] <antmas> lol this guy http://www.stuff.co.nz/national/64926205/police-trolley-chase-video-goes-viral
998: [21:26:52] * ghostcheese quit (Ping timeout: 246 seconds)
999: [21:27:54] * ghostcheese has joined #silverstripe
1000: [21:31:44] * antmas_ has joined #silverstripe
1001: [21:32:07] * Ryan-Toast quit (*.net *.split)
1002: [21:32:08] * willr quit (*.net *.split)
1003: [21:32:08] * ocmnt quit (*.net *.split)
1004: [21:32:10] * veb quit (*.net *.split)
1005: [21:32:13] * eagles0513875 quit (*.net *.split)
1006: [21:32:17] * cloph quit (*.net *.split)
1007: [21:32:19] * nontgor quit (*.net *.split)
1008: [21:32:19] * Azure quit (*.net *.split)
1009: [21:32:20] * AshKyd quit (*.net *.split)
1010: [21:32:22] * Kapdap quit (*.net *.split)
1011: [21:32:25] * lawrencenz quit (*.net *.split)
1012: [21:32:29] * ec8or__ quit (*.net *.split)
1013: [21:33:48] * Colin[pi][a] has joined #silverstripe
1014: [21:33:50] * wracu quit (*.net *.split)
1015: [21:33:52] * hailwood quit (*.net *.split)
1016: [21:33:52] * jenniferaslan quit (*.net *.split)
1017: [21:33:52] * Eliseth quit (*.net *.split)
1018: [21:33:52] * _hschillig quit (*.net *.split)
1019: [21:34:28] * AshKyd has joined #silverstripe
1020: [21:34:29] * ec8or__ has joined #silverstripe
1021: [21:34:29] * eagles0513875 has joined #silverstripe
1022: [21:34:29] * lawrencenz has joined #silverstripe
1023: [21:34:29] * Azure has joined #silverstripe
1024: [21:34:29] * nontgor has joined #silverstripe
1025: [21:34:29] * veb has joined #silverstripe
1026: [21:34:29] * cloph has joined #silverstripe
1027: [21:34:29] * Kapdap has joined #silverstripe
1028: [21:34:29] * ocmnt has joined #silverstripe
1029: [21:34:29] * willr has joined #silverstripe
1030: [21:34:29] * wracu has joined #silverstripe
1031: [21:34:29] * hailwood has joined #silverstripe
1032: [21:34:29] * _hschillig has joined #silverstripe
1033: [21:34:29] * jenniferaslan has joined #silverstripe
1034: [21:34:29] * Eliseth has joined #silverstripe
1035: [21:34:33] * Colin[pi][a] is now known as Colin[pi]
1036: [21:35:03] * antmas quit (Ping timeout: 246 seconds)
1037: [21:35:36] * _hschillig has left #silverstripe
1038: [21:35:37] * babak quit (Ping timeout: 244 seconds)
1039: [21:36:37] * catcher quit (*.net *.split)
1040: [21:36:38] * benjhocking quit (*.net *.split)
1041: [21:37:34] * catcher has joined #silverstripe
1042: [21:37:34] * benjhocking has joined #silverstripe
1043: [21:38:37] * lerni_ quit (*.net *.split)
1044: [21:38:41] * glenn-bautista quit (*.net *.split)
1045: [21:38:41] * Stomach quit (*.net *.split)
1046: [21:38:47] * madmatt quit (*.net *.split)
1047: [21:39:21] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1048: [21:39:38] * babak has joined #silverstripe
1049: [21:40:40] * lerni_ has joined #silverstripe
1050: [21:40:40] * glenn-bautista has joined #silverstripe
1051: [21:40:40] * Stomach has joined #silverstripe
1052: [21:40:40] * madmatt has joined #silverstripe
1053: [21:40:44] * Ryan-Toast has joined #silverstripe
1054: [21:41:25] * mahfuz quit (Quit: Page closed)
1055: [21:41:45] * mahfuz has joined #silverstripe
1056: [21:42:08] <Ryan-Toast> You can’t filter by album etc if you’re playing music off an ipod on a comp that isn’t it’s owner...
1057: [21:42:15] <Ryan-Toast> So fucking retarded.
1058: [21:42:56] <Stomach> yes it is
1059: [21:43:11] * novaweb quit (*.net *.split)
1060: [21:43:14] * MichalKleiner quit (*.net *.split)
1061: [21:43:15] * Kolin quit (*.net *.split)
1062: [21:43:16] * stnvh quit (*.net *.split)
1063: [21:43:30] * novaweb has joined #silverstripe
1064: [21:43:31] * MichalKleiner has joined #silverstripe
1065: [21:43:31] * Kolin has joined #silverstripe
1066: [21:43:31] * stnvh has joined #silverstripe
1067: [21:44:12] * babak quit (*.net *.split)
1068: [21:44:13] * Colin[pi] quit (*.net *.split)
1069: [21:44:14] * masnun quit (*.net *.split)
1070: [21:44:14] * gelignite quit (*.net *.split)
1071: [21:44:22] * simon_w quit (*.net *.split)
1072: [21:44:23] * OldBigBeak quit (*.net *.split)
1073: [21:44:27] * novaweb quit (Quit: Leaving)
1074: [21:45:02] <antmas_> ipods are retarded
1075: [21:45:06] * antmas_ is now known as antmas
1076: [21:47:19] <SphereSilver> Hey guys, anyone here?
1077: [21:47:39] <SphereSilver> Just a simple (and stupid) question. How do I require login if the site is in dev-mode?
1078: [21:47:48] <SphereSilver> I can't find it, but I know it's there
1079: [21:48:15] * Kingy quit (*.net *.split)
1080: [21:48:17] * Blacklite quit (*.net *.split)
1081: [21:48:17] * discorpia quit (*.net *.split)
1082: [21:48:18] * superspring quit (*.net *.split)
1083: [21:49:35] <Stomach> SphereSilver - you can set basic auth to on
1084: [21:49:36] * mahfuz quit (Changing host)
1085: [21:49:36] * mahfuz has joined #silverstripe
1086: [21:50:09] <SphereSilver> Ahhhh, that was it!
1087: [21:50:35] * babak has joined #silverstripe
1088: [21:50:35] * Colin[pi] has joined #silverstripe
1089: [21:50:35] * gelignite has joined #silverstripe
1090: [21:50:35] * OldBigBeak has joined #silverstripe
1091: [21:50:35] * simon_w has joined #silverstripe
1092: [21:50:52] <Stomach> although its weird, its default setting is true
1093: [21:50:53] <Stomach> waaaat
1094: [21:51:08] <SphereSilver> Only if called. Can it be called via YML?
1095: [21:51:36] <SphereSilver> I want it enabled on any system that doesn't have the setting "live"
1096: [21:51:42] <Stomach> yeah
1097: [21:51:47] <Stomach> do in _config
1098: [21:51:59] * babak quit (Changing host)
1099: [21:51:59] * babak has joined #silverstripe
1100: [21:52:24] * masnun has joined #silverstripe
1101: [21:52:57] <SphereSilver> _config/settings.yml or _config.php?
1102: [21:53:06] <Stomach> either
1103: [21:53:09] <Stomach> one sec ill pastie
1104: [21:53:14] * Guits quit (*.net *.split)
1105: [21:53:15] * micmania1 quit (*.net *.split)
1106: [21:53:15] * spekulatius quit (*.net *.split)
1107: [21:53:15] * jedateach quit (*.net *.split)
1108: [21:53:15] * irogue quit (*.net *.split)
1109: [21:53:16] * ibeardslee quit (*.net *.split)
1110: [21:53:18] * SphereSilver quit (*.net *.split)
1111: [21:53:20] * adrexia quit (*.net *.split)
1112: [21:53:22] * PigeonFriend quit (*.net *.split)
1113: [21:53:26] * Anselm_ quit (*.net *.split)
1114: [21:53:46] * Guits has joined #silverstripe
1115: [21:53:46] * micmania1 has joined #silverstripe
1116: [21:53:46] * spekulatius has joined #silverstripe
1117: [21:53:46] * jedateach has joined #silverstripe
1118: [21:53:46] * irogue has joined #silverstripe
1119: [21:53:46] * ibeardslee has joined #silverstripe
1120: [21:53:46] * adrexia has joined #silverstripe
1121: [21:53:46] * SphereSilver has joined #silverstripe
1122: [21:53:46] * PigeonFriend has joined #silverstripe
1123: [21:53:46] * Anselm_ has joined #silverstripe
1124: [21:53:47] * discorpi1 has joined #silverstripe
1125: [21:53:59] * Kingy has joined #silverstripe
1126: [21:53:59] * Blacklite has joined #silverstripe
1127: [21:53:59] * discorpia has joined #silverstripe
1128: [21:53:59] * superspring has joined #silverstripe
1129: [21:54:06] <SphereSilver> Freenode crashed?
1130: [21:54:16] * jbrungar quit (*.net *.split)
1131: [21:54:25] <antmas> freenode is having a spazz
1132: [21:54:33] * jbrungar has joined #silverstripe
1133: [21:54:55] * masnun quit (*.net *.split)
1134: [21:54:56] * babak quit (*.net *.split)
1135: [21:54:57] * Colin[pi] quit (*.net *.split)
1136: [21:54:57] * gelignite quit (*.net *.split)
1137: [21:55:05] * simon_w quit (*.net *.split)
1138: [21:55:06] * OldBigBeak quit (*.net *.split)
1139: [21:55:11] * camfindlay quit (*.net *.split)
1140: [21:55:16] * ss23 quit (*.net *.split)
1141: [21:55:18] * simon_w|work quit (*.net *.split)
1142: [21:55:20] * FrozenFire quit (*.net *.split)
1143: [21:55:28] * jbrungar quit (*.net *.split)
1144: [21:55:33] * Guits quit (*.net *.split)
1145: [21:55:33] * micmania1 quit (*.net *.split)
1146: [21:55:34] * spekulatius quit (*.net *.split)
1147: [21:55:34] * jedateach quit (*.net *.split)
1148: [21:55:34] * irogue quit (*.net *.split)
1149: [21:55:36] * ibeardslee quit (*.net *.split)
1150: [21:55:38] * SphereSilver quit (*.net *.split)
1151: [21:55:39] * adrexia quit (*.net *.split)
1152: [21:55:42] * PigeonFriend quit (*.net *.split)
1153: [21:55:46] * Anselm_ quit (*.net *.split)
1154: [21:55:48] * Kingy quit (*.net *.split)
1155: [21:55:48] * Blacklite quit (*.net *.split)
1156: [21:55:48] * discorpia quit (*.net *.split)
1157: [21:55:50] * superspring quit (*.net *.split)
1158: [21:55:55] * MichalKleiner quit (*.net *.split)
1159: [21:55:57] * Kolin quit (*.net *.split)
1160: [21:55:58] * stnvh quit (*.net *.split)
1161: [21:56:01] * lerni_ quit (*.net *.split)
1162: [21:56:01] * glenn-bautista quit (*.net *.split)
1163: [21:56:01] * Stomach quit (*.net *.split)
1164: [21:56:11] * madmatt quit (*.net *.split)
1165: [21:56:13] * catcher quit (*.net *.split)
1166: [21:56:14] * benjhocking quit (*.net *.split)
1167: [21:56:20] * discorpi1 quit (*.net *.split)
1168: [21:56:21] * Ryan-Toast quit (*.net *.split)
1169: [21:56:21] * willr quit (*.net *.split)
1170: [21:56:22] * ocmnt quit (*.net *.split)
1171: [21:56:24] * veb quit (*.net *.split)
1172: [21:56:28] * eagles0513875 quit (*.net *.split)
1173: [21:56:34] * cloph quit (*.net *.split)
1174: [21:56:36] * nontgor quit (*.net *.split)
1175: [21:56:36] * Azure quit (*.net *.split)
1176: [21:56:37] * AshKyd quit (*.net *.split)
1177: [21:56:41] * Kapdap quit (*.net *.split)
1178: [21:56:43] * lawrencenz quit (*.net *.split)
1179: [21:56:49] * ec8or__ quit (*.net *.split)
1180: [21:56:53] * wracu quit (*.net *.split)
1181: [21:56:53] * hailwood quit (*.net *.split)
1182: [21:56:54] * jenniferaslan quit (*.net *.split)
1183: [21:56:54] * Eliseth quit (*.net *.split)
1184: [21:57:00] * mahfuz quit (*.net *.split)
1185: [21:57:00] * antmas quit (*.net *.split)
1186: [21:57:00] * ghostcheese quit (*.net *.split)
1187: [21:57:00] * elgabbu quit (*.net *.split)
1188: [21:57:00] * Olliepop quit (*.net *.split)
1189: [21:57:00] * pippy quit (*.net *.split)
1190: [21:57:01] * simon_w|air quit (Excess Flood)
1191: [21:59:36] * pippy has joined #silverstripe
1192: [21:59:36] * Olliepop has joined #silverstripe
1193: [21:59:36] * elgabbu has joined #silverstripe
1194: [21:59:36] * ghostcheese has joined #silverstripe
1195: [21:59:36] * antmas has joined #silverstripe
1196: [21:59:36] * mahfuz has joined #silverstripe
1197: [21:59:36] * superspring has joined #silverstripe
1198: [21:59:36] * jbrungar has joined #silverstripe
1199: [21:59:36] * Blacklite has joined #silverstripe
1200: [21:59:36] * Kingy has joined #silverstripe
1201: [21:59:36] * discorpi1 has joined #silverstripe
1202: [21:59:36] * Anselm_ has joined #silverstripe
1203: [21:59:36] * PigeonFriend has joined #silverstripe
1204: [21:59:36] * SphereSilver has joined #silverstripe
1205: [21:59:36] * adrexia has joined #silverstripe
1206: [21:59:36] * ibeardslee has joined #silverstripe
1207: [21:59:36] * irogue has joined #silverstripe
1208: [21:59:36] * jedateach has joined #silverstripe
1209: [21:59:36] * micmania1 has joined #silverstripe
1210: [21:59:36] * Guits has joined #silverstripe
1211: [21:59:36] * masnun has joined #silverstripe
1212: [21:59:36] * simon_w has joined #silverstripe
1213: [21:59:36] * OldBigBeak has joined #silverstripe
1214: [21:59:36] * gelignite has joined #silverstripe
1215: [21:59:36] * Colin[pi] has joined #silverstripe
1216: [21:59:36] * babak has joined #silverstripe
1217: [21:59:36] * stnvh has joined #silverstripe
1218: [21:59:36] * Kolin has joined #silverstripe
1219: [21:59:36] * MichalKleiner has joined #silverstripe
1220: [21:59:36] * Ryan-Toast has joined #silverstripe
1221: [21:59:36] * madmatt has joined #silverstripe
1222: [21:59:36] * Stomach has joined #silverstripe
1223: [21:59:36] * glenn-bautista has joined #silverstripe
1224: [21:59:36] * lerni_ has joined #silverstripe
1225: [21:59:36] * benjhocking has joined #silverstripe
1226: [21:59:36] * catcher has joined #silverstripe
1227: [21:59:36] * Eliseth has joined #silverstripe
1228: [21:59:36] * jenniferaslan has joined #silverstripe
1229: [21:59:36] * hailwood has joined #silverstripe
1230: [21:59:36] * wracu has joined #silverstripe
1231: [21:59:36] * willr has joined #silverstripe
1232: [21:59:36] * ocmnt has joined #silverstripe
1233: [21:59:36] * Kapdap has joined #silverstripe
1234: [21:59:36] * cloph has joined #silverstripe
1235: [21:59:36] * veb has joined #silverstripe
1236: [21:59:36] * nontgor has joined #silverstripe
1237: [21:59:37] * Azure has joined #silverstripe
1238: [21:59:37] * lawrencenz has joined #silverstripe
1239: [21:59:37] * eagles0513875 has joined #silverstripe
1240: [21:59:37] * ec8or__ has joined #silverstripe
1241: [21:59:37] * AshKyd has joined #silverstripe
1242: [21:59:37] * camfindlay has joined #silverstripe
1243: [21:59:37] * ss23 has joined #silverstripe
1244: [21:59:37] * simon_w|work has joined #silverstripe
1245: [21:59:37] * FrozenFire has joined #silverstripe
1246: [22:01:11] * antmas quit (Quit: Page closed)
1247: [22:01:15] * ss-log quit (Excess Flood)
1248: [22:05:56] * ss-log has joined #silverstripe
1249: [22:06:20] * masnun has joined #silverstripe
1250: [22:06:20] * babak has joined #silverstripe
1251: [22:06:20] * Colin[pi] has joined #silverstripe
1252: [22:06:20] * gelignite has joined #silverstripe
1253: [22:06:20] * OldBigBeak has joined #silverstripe
1254: [22:06:41] <SphereSilver> I didn't say they were called on instances, I figured, a static array of data, would call the required instance, if needed. But I haven't looked into it.
1255: [22:06:55] <SphereSilver> But please explain further :) You got my interest :)
1256: [22:06:55] * antmas has joined #silverstripe
1257: [22:07:06] <SphereSilver> (And I'm bad at explaining what I mean)
1258: [22:07:13] * antmas quit (Changing host)
1259: [22:07:13] * antmas has joined #silverstripe
1260: [22:07:37] <muskie9> is there any place to find 2.4 modules? waiting for a client to approve an upgrade to 3.x but need some extra functionality until then...
1261: [22:07:39] <antmas> ss23: http://media.nuclearblast.de/bands/events/sylosis/index.html
1262: [22:07:42] <antmas> ss-log: SO GOOD
1263: [22:07:47] * babak quit (Ping timeout: 250 seconds)
1264: [22:09:49] <Colin[pi]> antmas: https://gfycat.com/WelltodoAnchoredEthiopianwolf (sent on fb, not sure if went thru)
1265: [22:10:20] <Ryan-Toast> antmas: I’ve been jamming some Tycho, so nice and chill.
1266: [22:10:23] <antmas> Colin[pi]: lol yeah saw that on reddit yesterday :P
1267: [22:10:42] <antmas> Ryan-Toast: linky? havn't listened to Tycho in ages
1268: [22:10:47] <Colin[pi]> antmas: :P
1269: [22:10:56] <Ryan-Toast> antmas: https://play.spotify.com/artist/5oOhM2DFWab8XhSdQiITry?play=true&utm_source=open.spotify.com&utm_medium=open
1270: [22:11:16] <antmas> Ryan-Toast: spotify is all kinds of messed up on our network
1271: [22:11:37] <Colin[pi]> everything is broken!
1272: [22:11:40] <Colin[pi]> panic
1273: [22:11:48] <Ryan-Toast> antmas: I’ve been downlaoading heaps of albums.
1274: [22:11:53] <Ryan-Toast> So many.
1275: [22:12:08] <Ryan-Toast> Got 1000 songs to listen to.
1276: [22:12:19] <antmas> yeah I don't normally download music, or haven't done lately
1277: [22:12:32] <antmas> but very recently I have been downloading some to make CDs lol
1278: [22:12:44] <Colin[pi]> CDs? WHAT IS THIS
1279: [22:12:58] <antmas> for the car :D
1280: [22:13:24] <Colin[pi]> antmas: what? no aux input?
1281: [22:13:27] <antmas> getting it to work with an MP3 is all kinds of I can't be fucked
1282: [22:13:40] <Colin[pi]> oh that's right, you needed to wire it up right?
1283: [22:13:44] <antmas> Colin[pi]: it has one, but I have to get in behind the dash to set it up
1284: [22:13:53] <Colin[pi]> yep I remember... :(
1285: [22:13:58] <Colin[pi]> how is the sound quality btw?
1286: [22:14:02] <antmas> the speakers are amazing
1287: [22:14:08] * Colin[pi] is jelly
1288: [22:14:20] <Colin[pi]> my Civic speakers sound like they fell out of a cereal box
1289: [22:14:24] <antmas> 6 cd stacker in the dash is OK, at least an MP3 CD can hold like 20+ songs
1290: [22:14:52] <Colin[pi]> mm have the same in Motoko, but her speakers... so shit
1291: [22:15:21] <antmas> my Inspire is a fairly base model :( but the options it does have is the 'premium audio' lol
1292: [22:15:39] <Colin[pi]> yeah the ONE thing this guy did not get :(
1293: [22:15:55] <Colin[pi]> leather seats, sunroof... audio? nah I got this out of a Kellogg's box, it'll do
1294: [22:16:10] <antmas> is there just like, no bass whatsoever?
1295: [22:16:31] <Colin[pi]> yeah it's awful
1296: [22:16:44] <Colin[pi]> the most tinny, cardboard sound speakers ever
1297: [22:16:49] <antmas> haha
1298: [22:16:52] <antmas> guts :(
1299: [22:17:01] <Colin[pi]> and then like a grand to upgrade
1300: [22:17:02] <Ryan-Toast> Get some 6” components
1301: [22:17:24] <Ryan-Toast> two for mid range, and two for low range
1302: [22:17:26] <Colin[pi]> I've got a 6" component for ya... ;)
1303: [22:17:40] <Ryan-Toast> http://i.imgur.com/rN7Xe9o.gif
1304: [22:17:54] <Colin[pi]> lol
1305: [22:18:04] <Ryan-Toast> I take it back, this one instead: http://i.imgur.com/pGOmE.gif
1306: [22:18:20] <Stomach> I got my monitors back last week, plus a new audio card, and a new guitar
1307: [22:18:22] <Stomach> fuck yeah
1308: [22:18:22] <antmas> mine has 2 6x9s in the back, 2 8"s in each door and 2 3"s in the top of the dash al factory
1309: [22:18:23] <Stomach> loud
1310: [22:18:56] <Colin[pi]> antmas: one thing about my mitsu, the sound was good, no complaints
1311: [22:19:38] <antmas> I did get a headlight restoration kit the other day
1312: [22:19:44] <antmas> dat headlight yellowing
1313: [22:20:22] <Colin[pi]> the plastic? yeah
1314: [22:20:39] <antmas> yeah
1315: [22:20:46] <antmas> the RainX one works super well
1316: [22:21:10] * babak has joined #silverstripe
1317: [22:21:16] <Colin[pi]> is that the same brand as the stuff you rub on the windscreen?
1318: [22:22:17] <antmas> yeah
1319: [22:22:33] <Colin[pi]> works well that
1320: [22:22:36] <Colin[pi]> magic
1321: [22:22:49] <antmas> you just have to have a SUPER clean windscreen
1322: [22:22:53] <Colin[pi]> mm
1323: [22:23:04] <antmas> I cleaned mine the other day with a clay bar and razer blade
1324: [22:23:09] <antmas> is like brand new now :O
1325: [22:23:27] * antmas has bad OCD with car cleaning
1326: [22:24:12] * zippy has joined #silverstripe
1327: [22:24:21] * ibeardslee has CDO .. it's like OCD but the characters are in alphabetical order
1328: [22:24:24] <zippy> simon_w|work: dang... ss2.4 pretty quick on the dev builds...
1329: [22:25:06] <Colin[pi]> antmas: oh man, mine wasn't washed for the whole 2,700km trip, a lot of dirt roads and bad weather... I washed it at the jet wash yesty... as it started to dry, was still brown :(
1330: [22:25:12] <Colin[pi]> all caked on
1331: [22:25:33] <antmas> Colin[pi]: get a clay bar
1332: [22:25:55] <antmas> I never got to car washes
1333: [22:26:37] <Colin[pi]> ooh I might just get one of those
1334: [22:26:53] <Colin[pi]> I'm going to give her a nice hand wash this weekend
1335: [22:27:11] <antmas> Colin[pi]: check out AMMO NYC on youtube, that guy is awesome
1336: [22:29:49] <Colin[pi]> antmas: is it really this good? http://www.tssdetailing.com/images/gallery/halfNhalf.jpg
1337: [22:30:47] <antmas> screw owning a black car
1338: [22:31:01] <antmas> so hard to get anything close to that level of clean/good paint
1339: [22:31:07] <Colin[pi]> antmas: my dad has one, doesnt drive much and kept in the garage though
1340: [22:31:16] <Colin[pi]> but yeah, so hard to get clean
1341: [22:31:40] <antmas> mine is like a bright silver, always looks more clean than dirty
1342: [22:33:59] * masnun quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1343: [22:39:35] <antmas> hmmm
1344: [22:39:43] <antmas> didn't realise .cc is australian
1345: [22:40:18] <Colin[pi]> yeah, it stands for "crikey, cunts!"
1346: [22:40:31] <antmas> lol
1347: [22:40:47] * WandL has joined #silverstripe
1348: [22:41:52] <antmas> looks like a nice place
1349: [22:42:01] <antmas> although them hammerhead sharks
1350: [22:42:05] <antmas> ALL THE NOPES
1351: [22:42:13] <ss23> antmas: I dunno, I liked that one song, but the other one wasn't as good
1352: [22:42:13] <ss23> :O
1353: [22:42:20] <ss23> I think they're one of htose bands with only a few good songs
1354: [22:42:23] <ss23> Gimmie Opeth any day
1355: [22:42:24] <ss23> And Vektor
1356: [22:42:28] <antmas> :P
1357: [22:43:10] <antmas> old Opeth is only good Opeth
1358: [22:43:51] <ss23> Same people, same band
1359: [22:44:04] <zippy> hm
1360: [22:44:19] <zippy> in ss2.4, doing new TreeDropdownField('LinkID', 'Choose a page to link to', 'SiteTree') is not shoing up my treedropdown field
1361: [22:44:27] <zippy> in my pop function
1362: [22:44:33] <zippy> and I have flushed and dev built
1363: [22:45:12] <zippy> I can add a TextField fine... just not a TreeDropdownField
1364: [22:46:06] <antmas> zippy: isn't it just dropdownfield, but popped with sitetee?
1365: [22:47:38] <antmas> hah
1366: [22:47:40] <antmas> nope
1367: [22:47:52] <antmas> but I don't think I've ever used TreeDropdownField anyway
1368: [22:48:07] <zippy> it's useful for selecting pages
1369: [22:48:14] <antmas> mm
1370: [22:48:44] <antmas> zippy: your Link is SiteTree yes?
1371: [22:48:52] <zippy> yes
1372: [22:48:56] <antmas> hmmm
1373: [22:49:33] <antmas> weird
1374: [22:49:43] <antmas> all you do is put that in getCMSFields and boom?
1375: [22:50:21] <zippy> $has_one - 'Link' => 'SiteTree'
1376: [22:50:30] <zippy> then set the field to LinkID
1377: [22:50:32] <zippy> and yea, should be boom
1378: [22:50:55] <antmas> show us thou code?
1379: [22:51:27] * catcher quit (Quit: Leaving)
1380: [22:52:30] * aragonne has joined #silverstripe
1381: [22:53:04] <zippy> ah fook.. I wonder...
1382: [22:55:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1383: [22:55:55] <zippy> ..
1384: [22:56:11] <zippy> If i say, 'Link' then it will show
1385: [22:56:16] <zippy> if I say 'LinkID' it wont show
1386: [22:56:31] <zippy> but Link wont work.... since it doesn't set the value on the DB properly
1387: [22:58:23] * travis-ci has joined #silverstripe
1388: [22:58:23] <travis-ci> tractorcow/sapphire#32 (pulls/numeric-locale-fix - fb93916 : Damian Mooyman): The build passed.
1389: [22:58:23] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/5bdd3c08f1b3...fb9391674872
1390: [22:58:23] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/46918604
1391: [22:58:23] * travis-ci has left #silverstripe
1392: [23:00:14] * willr quit (Quit: willr)
1393: [23:00:26] * r3v3rb has joined #silverstripe
1394: [23:00:45] <zippy> so.. can rangi it up sing onBeforeWrite..
1395: [23:00:49] <zippy> *using
1396: [23:01:40] <r3v3rb> erm, whats the best frontend html editor for SS3 then - or - how do i get rid of those advanced. styles?
1397: [23:02:15] <Stomach> r3v3rb https://github.com/jonom/silverstripe-tinytidy
1398: [23:02:31] <zippy> and now.. my DataObjectManager is empty.. for some reason
1399: [23:02:37] <r3v3rb> stomach nice
1400: [23:02:41] <zippy> but there is content in the cms..
1401: [23:02:46] <zippy> but there is content in the db*
1402: [23:03:14] <r3v3rb> Stomach: work ok on frontend html fields?
1403: [23:03:33] <Stomach> r3v3rb - should do if you target them
1404: [23:03:35] <r3v3rb> i have a load of weird ‘advanced.’ styles populating it at the moment
1405: [23:03:47] <antmas> Stomach: any idea if that would work with TinyMCE 4?
1406: [23:03:56] <Stomach> antmas - none whatsoever
1407: [23:10:13] * kerosene has joined #silverstripe
1408: [23:13:03] * lerni_ quit (Remote host closed the connection)
1409: [23:13:58] * lerni_ has joined #silverstripe
1410: [23:17:42] * lerni_ quit (Remote host closed the connection)
1411: [23:23:48] <jedateach> is anyone doing any kind of automated template validation with grunt?
1412: [23:25:01] <jedateach> or any kind of automated html validation for their sites?
1413: [23:25:52] <Stomach> nope
1414: [23:28:08] * aragonne quit (Quit: aragonne)
1415: [23:28:12] * simon_w|air has joined #silverstripe
1416: [23:33:39] <muskie9> this might be a dumb question, but if I do Foo::get()->byID($ID); and there isn't a Foo with that ID what is returned? false/null/empty Foo
1417: [23:40:20] * babak quit (Remote host closed the connection)

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