#silverstripe IRC Log

IRC log for 27 May 2015

All timestamps are in UTC.

1: [00:00:38] * Audio quit ()
2: [00:07:53] * _SjG_ has joined #silverstripe
3: [00:10:27] <_SjG_> I see a lot of documentation on l18n of Silverstripe with regard to the admin, but I haven't found tutorials/info on multilingual client-side. Can anybody point me to that (or suggest better search terms than "silverstripe i18n user side")?
4: [00:11:59] * benjhocking1 has joined #silverstripe
5: [00:12:04] <simon_w|air> _SjG_, you want translation, rather than internationalisation
6: [00:12:25] <simon_w|air> There's Translatable, and some other module (multi-lingual maybe)
7: [00:12:29] <ss23> fluent
8: [00:12:33] <ss23> also consider subsites
9: [00:12:44] <ss23> Messy ecosystem for translation modules
10: [00:13:28] <_SjG_> simon_w|air: perhaps I want translation. But can I, for example, use a single site tree but for each page have the content in multiple languages? Or do I need to build different language trees?
11: [00:13:37] * benjhocking quit (Ping timeout: 264 seconds)
12: [00:19:28] <adrexia> _SjG_, I think that's the approach fluent takes
13: [00:19:46] <adrexia> https://github.com/tractorcow/silverstripe-fluent
14: [00:20:35] <_SjG_> ok. thanks. I'm reading that right now :)
15: [00:21:25] <_SjG_> ah, excellent! It works with Versioning too!
16: [00:22:42] * Stomach quit (Quit: zzz)
17: [00:25:48] * Stomach has joined #silverstripe
18: [00:27:50] * micmania1 quit (Quit: micmania1)
19: [00:39:56] * micmania1 has joined #silverstripe
20: [00:45:56] * DanaeNZ quit (Quit: DanaeNZ)
21: [01:01:23] <Ryan-Toast> Any way to add a class to the forms used in Security? They don’t have an extend moethod.
22: [01:08:29] <Colin[pi]> Ryan-Toast: not easy that I can see, no extend() and you'd need to get hold of the instance before it's rendered by the controller to add an extraClass
23: [01:08:57] <Colin[pi]> cant even replace a template either afaik since I think it doesn't use it's own template
24: [01:09:28] * DanaeNZ has joined #silverstripe
25: [01:10:43] * benjhocking has joined #silverstripe
26: [01:11:27] <Colin[pi]> Ryan-Toast: can't apply styles to an existing class it uses?
27: [01:12:21] * benjhocking1 quit (Ping timeout: 250 seconds)
28: [01:12:52] * Stomach quit (Quit: zzz)
29: [01:13:54] * micmania1 quit (Quit: micmania1)
30: [01:18:09] <mahfuz> Hey guys can anyone tell me how to create a custom 404 page?
31: [01:20:31] <Ryan-Toast> Colin[pi]: Yeah, I can. And do, but I’d rather not do that.
32: [01:22:58] * Michaelhabib has joined #silverstripe
33: [01:23:01] <Colin[pi]> Ryan-Toast: mm I understand
34: [01:23:23] <Colin[pi]> Ryan-Toast: it really should have extension points, but, maybe it's intentional due to the nature of the class
35: [01:23:25] <Michaelhabib> hi guys, just a quick linux question : with rsync , does -u update the source if the dest file is newer ?
36: [01:25:00] * Phlunk3 quit (Remote host closed the connection)
37: [01:28:00] * Stomach has joined #silverstripe
38: [01:28:34] <zauberfisch> <+ss23> also consider subsites
39: [01:28:41] <zauberfisch> why would you do something like that? :O
40: [01:28:41] <Colin[pi]> mahfuz: I think you need to create your own ErrorPage.ss template
41: [01:28:44] <zauberfisch> recommending subsites
42: [01:29:00] <zauberfisch> ...
43: [01:29:35] <mahfuz> Thanks Colin[pi]
44: [01:30:19] <Colin[pi]> mahfuz: I did it once but was a long time ago, cant remember what else I did lol
45: [01:30:52] <adrexia> zauberfisch, still better than translatable ;)
46: [01:31:53] <adrexia> and actually, for that specific use case subsites manages ok.
47: [01:33:00] <adrexia> Colin[pi], it's basically just that I think
48: [01:33:21] <adrexia> same as any other page tyep :)
49: [01:33:40] <zauberfisch> I am actually getting along quiet well with translatable lately
50: [01:33:48] <zauberfisch> I mean it could be better. but its ok
51: [01:33:50] <adrexia> oh?
52: [01:33:52] * Tanger has joined #silverstripe
53: [01:34:10] <adrexia> you don't find it randomly changes the thing you were looking at ?
54: [01:34:22] <zauberfisch> :O
55: [01:34:23] <zauberfisch> no
56: [01:34:31] <adrexia> I suppose some of the issues happen from having subsites + translatable
57: [01:34:52] <zauberfisch> yeah, translatable + subsites is horrible. at least it was when I last tried it
58: [01:35:01] <adrexia> but a couple of years ago it caused crazier bugs than any other module could
59: [01:35:02] <Colin[pi]> jesus, subsites + translatable?
60: [01:35:07] <zauberfisch> translatable + https://gist.github.com/Zauberfisch/9226142 is quiet useable
61: [01:35:14] <adrexia> Colin[pi], they put both in CWP
62: [01:35:19] <Colin[pi]> oh dear lord
63: [01:35:21] <zauberfisch> haha
64: [01:35:22] <zauberfisch> yeah
65: [01:35:32] <zauberfisch> some people just want to see the world burn
66: [01:35:42] <adrexia> #truth
67: [01:36:04] <adrexia> but you certainly don't need both .. thye esstentially do the same thing in different ways
68: [01:36:44] <adrexia> which is extremely complicated for regular cms users
69: [01:37:29] <adrexia> ...and for me too actually ;)
70: [01:38:05] <zauberfisch> yeah
71: [01:38:57] <zauberfisch> in fact, someone should merge subsites and translatable together into a "multiple things" module
72: [01:39:07] <adrexia> yep
73: [01:39:10] <adrexia> that would be good
74: [01:39:23] <adrexia> ;)
75: [01:39:32] <Colin[pi]> who would volunteer for that task?
76: [01:39:34] <zauberfisch> and then not bind it to lang but to random user defind strings
77: [01:39:49] <adrexia> actually, the main problem these days with subsites is that it's used for multiple large sites
78: [01:39:57] <zauberfisch> like "office_1_de_DE" and "office_2_en_GB"
79: [01:40:00] <adrexia> ...not "subsites"
80: [01:40:15] <zauberfisch> Colin[pi]: you perhaps? :P
81: [01:40:54] <adrexia> well, in the casee of subsites it would be good if they weren't _user defined_ but dev defined
82: [01:41:13] <adrexia> and if there were a way to say "here are the page types for this site"
83: [01:41:19] <adrexia> and even "it has this database"
84: [01:41:21] <zauberfisch> adrexia: yeah, thats what I meant
85: [01:41:45] * adrexia nods
86: [01:42:09] <zauberfisch> anyway
87: [01:42:13] <Colin[pi]> zauberfisch: http://i.imgur.com/Sk5ILIP.gif
88: [01:42:14] <zauberfisch> enough day dreaming for today
89: [01:42:16] <adrexia> people want multiple sites, so perhaps silverstripe needs a way to deal with properly seperated data
90: [01:42:20] <zauberfisch> I have to get work done :/
91: [01:42:28] * adrexia laughs
92: [01:42:33] <zauberfisch> Colin[pi]: hahaha
93: [01:42:36] <zauberfisch> lol
94: [01:43:42] <antmas> Colin[pi]: lol
95: [01:48:33] <veb> antmas: apparently it's shipped :P
96: [01:52:16] <antmas> veb: :O
97: [01:52:19] <antmas> \o/
98: [01:52:57] <ss23> 13:28:41 < zauberfisch> why would you do something like that? :O
99: [01:53:01] <ss23> have you *sed* translatable?
100: [01:53:12] <ss23> used*
101: [01:53:22] <veb> sed makes sense there anyway
102: [01:53:26] <ss23> lol
103: [01:53:27] <veb> sed can be used for all the things.
104: [01:53:28] <ss23> XD
105: [01:53:28] * micmania1 has joined #silverstripe
106: [01:53:35] <ss23> I made the choice to use subsites instead of translatable for certain translation stuff
107: [01:53:57] <adrexia> ss23 - yeah he has
108: [01:54:09] <adrexia> but he does throw a fair bit at it
109: [01:54:16] <ss23> psh
110: [01:54:21] <adrexia> and... I dunno, maybe it's gotten better in the last two years
111: [01:54:43] <adrexia> but I *know* subsites has gotten better
112: [01:55:06] <adrexia> so I'd be inclined to do the same thing if I needed seperate sitetree translations
113: [01:56:22] <adrexia> ...doesn't look like much has chnaged actually: https://github.com/silverstripe/silverstripe-translatable
114: [01:56:47] <Stomach> I used translatable on a site where they can create their own subsites
115: [01:56:51] <Stomach> I did not use subsites as well
116: [01:56:53] <Stomach> what a nightmare
117: [01:56:55] <Stomach> O_O
118: [01:57:09] <Stomach> the sites are not 1-1 copies of each other either
119: [01:57:11] <Stomach> so that was fun
120: [01:59:40] <adrexia> the best bit is when you ship it to the client and they're like 'everything is broken, how to do things!'
121: [01:59:51] <Stomach> "pay me and i do them hows that sound"
122: [01:59:56] <adrexia> and all you can do is nod
123: [02:00:29] <adrexia> "I'm sorry. That's what the module does"
124: [02:00:53] <adrexia> ...wait, you had actual problems you wanted solved. Well, damn.
125: [02:01:39] <adrexia> Stomach, often by the time you give them translatable they are sick of paying for things ;)
126: [02:05:26] <antmas> veb: it arrived :)
127: [02:05:31] <veb> ooo
128: [02:05:37] <veb> great news
129: [02:07:03] <Ryan-Toast> veb: is it the Dacia Sandero?!
130: [02:07:11] <veb> yes he is
131: [02:07:33] <veb> best little car in the whole wide world
132: [02:07:37] * veb giddy
133: [02:07:41] <antmas> lol
134: [02:09:35] <veb> PUT IT UP ALREADY
135: [02:11:35] * micmania1 quit (Quit: micmania1)
136: [02:33:39] <Hailwood> Hey guys, does swipestripe support guest checkout?
137: [02:35:42] * Michaelhabib quit (Quit: Page closed)
138: [02:35:48] <Ryan-Toast> Hailwood: ss-shop does.
139: [02:36:45] * Hailwood googles ss-shop
140: [02:43:11] * spronk quit (Quit: I may need a longer sleep timer...)
141: [02:43:26] <zauberfisch> Hailwood: no, it doesn't
142: [02:43:48] <zauberfisch> and its not that trivial to add it yourself
143: [02:45:09] <Hailwood> zauberfisch, mmm, i've done some googleing around on it and it seems like the basic answer is to create some sort of "public" member that it logs users into without them actually doing anything. unfortunately we require guest checkout (and no member checkout at all) so I guess that means we go with ss-shop. I really wanted to try out swipecart heh.
144: [02:45:18] <Hailwood> Thanks guys
145: [02:55:10] * micmania1 has joined #silverstripe
146: [02:58:15] <zauberfisch> Hailwood: honestly, I am not sure swipestripe is the best choice at the moment
147: [02:58:26] <zauberfisch> Hailwood: while I really like it. the foundation has very good ideas
148: [02:58:39] <zauberfisch> but its really rough around the edges, needs a lot mor work to be really well usable
149: [02:59:15] <zauberfisch> I am actually using my own fork of swipestripe now which is heavly modified
150: [03:01:30] * Err404NotFound quit (Ping timeout: 272 seconds)
151: [03:01:38] * Err404NotFound has joined #silverstripe
152: [03:03:23] * LimRes has joined #silverstripe
153: [03:03:26] * veb quit (Quit: veb-irc: &)
154: [03:03:45] <Ryan-Toast> zauberfisch: I just built a site with ss-shop, works great for a simple e-commerce solution.
155: [03:04:18] <LimRes> Hi There SS Peeps. Hope you are all doing great. Can anyone tell me how to hide the "Link Existing" search and button from GridField in the Admin?
156: [03:04:29] <LimRes> Tried $config->removeComponentsByType('GridFieldRelationSearch');
157: [03:04:37] <LimRes> but that was just a guess
158: [03:05:39] <LimRes> based on the id of the element, not anything in docs
159: [03:05:45] * veb has joined #silverstripe
160: [03:05:45] * veb quit (Changing host)
161: [03:05:45] * veb has joined #silverstripe
162: [03:15:28] <zauberfisch> LimRes: I believe the component you are talking about is GridFieldAddExistingAutocompleter
163: [03:15:37] <zauberfisch> $config->removeComponentsByType('GridFieldAddExistingAutocompleter')
164: [03:15:56] <zauberfisch> Ryan-Toast: good to know. thanks
165: [03:16:13] <zauberfisch> Ryan-Toast: lnk please?
166: [03:16:20] <Ryan-Toast> zauberfisch: Not live yet
167: [03:16:23] <Ryan-Toast> Will be soon.
168: [03:16:25] <zauberfisch> module
169: [03:16:29] <Ryan-Toast> I’ll send you a link then :)
170: [03:16:38] <Ryan-Toast> zauberfisch: http://ss-shop.org/
171: [03:16:53] <zauberfisch> I am just lazy, but its also to make sure I don't get a wrong module. there are a couple of them out there already. all with similar names
172: [03:16:56] <zauberfisch> thanks
173: [03:17:11] <zauberfisch> though I'd be couris about your site then aswell as an exaple
174: [03:17:15] <zauberfisch> *example
175: [03:17:37] * zippy has joined #silverstripe
176: [03:17:45] <zippy> Ryan-Toast: did you say that UC had a semi?
177: [03:17:51] <zauberfisch> ah. the burnbright thing
178: [03:17:53] <Ryan-Toast> zippy: wat
179: [03:17:56] <zauberfisch> I see
180: [03:18:52] <antmas> zippy: lol wtf
181: [03:18:58] <antmas> ziphttp://i.imgur.com/nCZoEXs.gif
182: [03:19:03] <antmas> zippy: http://i.imgur.com/nCZoEXs.gif *
183: [03:19:16] <zippy> Ryan-Toast: for the ajax back button :)
184: [03:19:45] <Ryan-Toast> zippy: there’s still a ug with it.
185: [03:19:47] <Ryan-Toast> bug
186: [03:20:33] <zippy> I had a look at the github code, and couldn't see any changes
187: [03:20:37] <zippy> can you recall what he changed?
188: [03:21:07] <Ryan-Toast> zippy: my modified version: https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/mysite/javascript/src/ajax-content.js
189: [03:21:30] <zippy> mm i bet that works really well
190: [03:21:42] * spronk has joined #silverstripe
191: [03:21:46] <Ryan-Toast> zippy: you can still see what it’s doing :P
192: [03:22:17] <Ryan-Toast> I just changed the wrappers and whatnot so you can suse it anywhere.
193: [03:22:22] <Ryan-Toast> use
194: [03:22:55] <zippy> Ryan-Toast: um. Question :) why not line just be cleanUrl = url
195: [03:23:08] <zippy> nm
196: [03:23:30] <Ryan-Toast> because then you’ll get multiple parameters adding on top of one another
197: [03:23:43] <zippy> yeap
198: [03:23:56] <zippy> I didn't think url would already have the ajax paramy thing
199: [03:24:07] <zippy> what if you juse set qjuery cache: false
200: [03:24:14] <zippy> doesn't that do the math thing?
201: [03:24:16] <Ryan-Toast> zippy: didn’t help./
202: [03:24:27] <zippy> nuts, that is what I was about to try
203: [03:24:33] <zippy> so your fix it two seperate urls?
204: [03:24:36] <Ryan-Toast> everything works.
205: [03:24:41] <Ryan-Toast> except one use-case
206: [03:25:19] <Ryan-Toast> If you click back after the first “new ajax page” it will change the url, but not refresh the content.
207: [03:25:26] <Ryan-Toast> I’lll fix it when I get a moment.
208: [03:26:05] <LimRes> zauberfish : THANKS!!!
209: [03:27:03] <LimRes> <Stops banging head>
210: [03:27:12] <LimRes> Have a great night!
211: [03:29:18] <zippy> mmmm I think... cache will fix it
212: [03:29:42] * Cheddam_ has joined #silverstripe
213: [03:30:16] * Cheddam_ quit (Client Quit)
214: [03:30:25] <zippy> yeap, cache: false seems ok
215: [03:31:34] * LimRes quit (Ping timeout: 246 seconds)
216: [03:31:46] * veb quit (Quit: veb-irc: &)
217: [03:31:48] * Cheddam quit (Ping timeout: 252 seconds)
218: [03:34:00] * veb has joined #silverstripe
219: [03:36:26] <Ryan-Toast> zippy: I’lll give a try
220: [03:40:09] <zippy> Ryan-Toast: and on line 43 try/ add in window.history.replaceState({url: document.location.href}, document.title, document.location.href);
221: [03:40:22] * micmania1 quit (Quit: micmania1)
222: [03:46:04] * SaladTongs has joined #silverstripe
223: [03:47:33] * zippy quit (Ping timeout: 244 seconds)
224: [03:48:18] * Cheddam has joined #silverstripe
225: [03:49:22] <antmas> anyone recommened some PHP books?
226: [03:55:40] * Sticks has joined #silverstripe
227: [03:57:40] * zippy has joined #silverstripe
228: [03:57:51] * veb quit (Quit: veb-irc: &)
229: [04:01:33] * chocolatemoose has joined #silverstripe
230: [04:02:12] <chocolatemoose> is it possible to implement a search filter on a belongs_many_many field?
231: [04:02:23] <zippy> Ryan-Toast: win?
232: [04:02:30] <Ryan-Toast> zippy: Been doing other stuff :)
233: [04:03:04] <zippy> chocolatemoose: like... $this->Boats()->filter('Name', 'Foo')->first() ?
234: [04:03:20] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
235: [04:03:38] <chocolatemoose> sorry, should have clarified, for a modeladmin, extending the SearchFilter class
236: [04:05:47] <zippy> yes I think itis
237: [04:05:58] <zippy> Is it Boats.Name
238: [04:06:26] <chocolatemoose> ah, cheers
239: [04:06:42] <zippy> I am guessing
240: [04:06:46] <chocolatemoose> that worked
241: [04:06:53] <zippy> great
242: [04:13:46] * Stomach quit (Quit: zzz)
243: [04:17:57] * Shrike_Finland has joined #silverstripe
244: [04:20:30] * novaweb quit (Ping timeout: 265 seconds)
245: [04:21:30] * Kingy[a] has joined #silverstripe
246: [04:21:33] * Kingy[a] is now known as Kingy
247: [04:22:00] <Kingy> morning
248: [04:22:32] <MichalKleiner> ziphttp :-D
249: [04:22:36] <MichalKleiner> new protocol antmas :-D
250: [04:23:19] <zippy> :)
251: [04:23:22] <zippy> super fast
252: [04:23:25] <zippy> Kingy: morning
253: [04:23:38] <zippy> Kingy: your computer is getting a bit more use these days, Eve ;-)
254: [04:24:04] <Kingy> I'm glad. Missing that badboy
255: [04:24:47] <Kingy> probably just missing decent internet more likely lol
256: [04:27:56] <Kingy> jeez looks a bit cold back home fellas.
257: [04:28:10] <zippy> cold as fuck
258: [04:29:07] * Cheddam has joined #silverstripe
259: [04:30:23] <antmas> Kingy: must be dying over there?
260: [04:30:38] <Kingy> Nah, not so bad just yet
261: [04:30:40] <Kingy> getting there though
262: [04:30:41] <Kingy> http://www.accuweather.com/en/bh/al-hura/29683/may-weather/29683?monyr=5/1/2015
263: [04:30:57] <antmas> dude
264: [04:31:05] <antmas> that is like 100% hotter than us
265: [04:31:08] <antmas> so cold
266: [04:31:38] <Kingy> a low of 32 today haha
267: [04:31:58] <Kingy> that's the weird thing. Usually you'd expect it to drop off at night but nope
268: [04:32:10] <Kingy> you walk outside after midnight and it's still 30
269: [04:32:50] <antmas> jesus
270: [04:33:06] <antmas> walk outside here and your eyeballs freeze
271: [04:33:20] <Kingy> yeah we're coming back for a week in July, so not looking forward toit
272: [04:33:45] <antmas> lol love it each day it says 'very warm' or 'hot'
273: [04:34:06] <antmas> over it's 'MOTHERFUCKER WHERE SOME WOLF PELTS AND PORTABLE ELECTRIC BLANKETS OR DIE'
274: [04:34:16] <Kingy> hahaha
275: [04:34:58] <Kingy> the problem with it being 30+ all the time means that the cold water is also that hot
276: [04:35:04] <Kingy> so you don't get cold water ever
277: [04:35:16] <Kingy> want to wash your clothes? nope, shrunk
278: [04:35:31] <Kingy> cold shower, nope warm as fff
279: [04:35:38] <antmas> lol
280: [04:35:51] <antmas> not sure if that counts as 'first world problems' or not
281: [04:35:56] * antmas is confused
282: [04:36:40] <Kingy> apparently in the middle of summer our friends put water in the bath in the morning and turn the aircon down real low so they can have cold water when they get home
283: [04:37:38] <zippy> why not water in a couple of large bottles and put infront of the aircon? cool down after than a bath
284: [04:39:25] <Kingy> coz then you just jump in the bath
285: [04:39:47] <UncleCheese> we're going to be announcing a coding competition son
286: [04:39:49] <UncleCheese> soon*
287: [04:39:57] <antmas> UncleCheese: prize?
288: [04:39:58] <DanaeNZ> haha son is better than soon
289: [04:39:58] <UncleCheese> what should the prize be? what do developers like?
290: [04:40:13] <antmas> a date with ss23
291: [04:40:14] <antmas> wait
292: [04:40:15] <ss23> XD
293: [04:40:17] <antmas> >.>
294: [04:40:18] <ss23> BurgerFuel?
295: [04:40:21] <DanaeNZ> haha
296: [04:40:27] <DanaeNZ> +1 for burgerfuel
297: [04:40:34] <antmas> $100 BF voicher
298: [04:40:37] <ss23> We can go down to BurgerFuel together and talk about code n stuff~
299: [04:40:40] <antmas> voucher also
300: [04:40:45] <DanaeNZ> looool ss23
301: [04:40:54] <ss23> "Did you see that ludacris display last night?!" "That's the thing about mooman, he always tries to merge it in!"
302: [04:41:06] <antmas> LOL
303: [04:41:13] <Kingy> I'll go to Dubai for BF!
304: [04:41:19] <UncleCheese> ok, what should the prize be for someone who isn't in new zelaand
305: [04:41:19] <ss23> Kingy: SHOW OFF
306: [04:41:31] <Kingy> UncleCheese: still BF
307: [04:41:35] <DanaeNZ> haha
308: [04:41:36] <ss23> UncleCheese: Are you implying that someone outside of NZ would win a "best coder" competition?
309: [04:41:38] <UncleCheese> bf is shit
310: [04:41:42] <Kingy> :O
311: [04:41:44] <UncleCheese> yus
312: [04:41:44] <ss23> omfg
313: [04:41:45] <ss23> omfg
314: [04:41:46] <ss23> fired
315: [04:41:49] <Kingy> oh no u diiiiiint
316: [04:41:50] <DanaeNZ> UncleCheese: you shut your whore mouth
317: [04:41:54] <ss23> brb setting UncleCheese's connection to 10mbit half duplex
318: [04:42:00] <UncleCheese> dude, it's shit.. stop it
319: [04:42:07] <ss23> GO BACK TO AMERICA
320: [04:42:08] <ss23> GOD
321: [04:42:09] <Kingy> woah
322: [04:42:12] <ss23> :(
323: [04:42:19] <UncleCheese> You're right.. God is in America
324: [04:42:23] <Kingy> tbh Fattburger is pretty good
325: [04:42:23] <ss23> lol
326: [04:42:28] <UncleCheese> blessed is that nation
327: [04:42:33] <ss23> this must be how Australisn feel when someone says Steve Irwin sucks...
328: [04:42:37] <UncleCheese> guided by His unwavering protection
329: [04:42:40] <ss23> right Colin[pi]? :D
330: [04:42:41] <DanaeNZ> I’m going to have BF today out of SPITE
331: [04:42:46] <ss23> UncleCheese: IN LORD DUBYA WE TRUST
332: [04:42:48] <ss23> hahah DanaeNZ
333: [04:42:49] <DanaeNZ> DELICIOUS SPITE SMASH BROWNS
334: [04:42:51] <UncleCheese> but not since gay people can get married
335: [04:42:53] <UncleCheese> no more God
336: [04:42:57] <antmas> 1on1 with UncleCheese for housing nz advice?
337: [04:43:02] <ss23> DanaeNZ: omfg did you know courtenay place wgtn burgerfuel...
338: [04:43:02] <UncleCheese> antmas +1
339: [04:43:05] <ss23> NO SMASH BROWNS FOR THE LAST MONTH
340: [04:43:12] <UncleCheese> smash browns
341: [04:43:14] <ss23> Talk about slack
342: [04:43:14] <ss23> :(
343: [04:43:14] <DanaeNZ> >:T
344: [04:43:15] <spronk> wtfhax
345: [04:43:17] <spronk> though
346: [04:43:20] <UncleCheese> the mlikshakes are good
347: [04:43:21] <spronk> smash browns arent that great
348: [04:43:23] <UncleCheese> ok, so no ideas on prizes?
349: [04:43:24] <DanaeNZ> they should always have smash browns
350: [04:43:28] <UncleCheese> a tablet?
351: [04:43:28] <ss23> UncleCheese: burgerfuel milkshake?
352: [04:43:33] <spronk> UncleCheese the BF milkshakes are... averagely good
353: [04:43:33] <ss23> A tablet
354: [04:43:33] <antmas> UncleCheese: booo
355: [04:43:34] <ss23> lol
356: [04:43:34] <spronk> not fantastic
357: [04:43:39] <UncleCheese> meh
358: [04:43:41] <Kingy> would have to be a good tablet
359: [04:43:41] <ss23> A tablet is a poor choice because tech people already have tech, UncleCheese
360: [04:43:42] <antmas> who uses tablets?
361: [04:43:50] <UncleCheese> right
362: [04:43:53] <UncleCheese> it will just get sold
363: [04:43:56] <UncleCheese> a massage?
364: [04:43:56] <DanaeNZ> Github subscription? dem private repos
365: [04:43:59] <UncleCheese> ooooh
366: [04:44:00] <antmas> UncleCheese: will this code get merged?
367: [04:44:08] <ss23> how about we put them on the pre-announce list for free?
368: [04:44:08] <ss23> :D
369: [04:44:10] <UncleCheese> antmas not really, you'll see
370: [04:44:22] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
371: [04:44:24] <antmas> github sub would be a pretty good idea
372: [04:44:33] <UncleCheese> too many devs already have it, no?
373: [04:44:34] <spronk> DO credit
374: [04:44:39] <antmas> dunno
375: [04:44:41] <antmas> prolly
376: [04:44:42] <UncleCheese> haha
377: [04:44:52] <DanaeNZ> I stole a student prize off my friend
378: [04:44:52] <UncleCheese> that would be really bad.. considering SS's product offering
379: [04:44:58] <DanaeNZ> got a year sub
380: [04:44:58] <spronk> ?
381: [04:45:04] <antmas> DanaeNZ: you monster
382: [04:45:10] <ss23> UncleCheese: Our offering doesn't compete with DO though
383: [04:45:14] <DanaeNZ> he won two subs
384: [04:45:16] <ss23> especially not "single dev with some DO credit"
385: [04:45:17] <DanaeNZ> too greedy
386: [04:45:17] <ss23> :P
387: [04:45:29] <UncleCheese> a trip to New Zealand?
388: [04:45:36] <ss23> I honestly don't think I'd use either a tablet or gh credit
389: [04:45:39] <spronk> OH MY GOD
390: [04:45:40] <spronk> IVE GOT IT
391: [04:45:44] <spronk> AN APPLE WATCH EDITION
392: [04:45:49] <DanaeNZ> and if you’re in nz, just a trip to the other island
393: [04:45:53] <antmas> spronk: WHICH EDITION?
394: [04:45:55] <spronk> useless, AND expensive
395: [04:45:55] <Kingy> oh i'd take a trip to NZ
396: [04:46:00] <Kingy> yes pay for my ticket home :D
397: [04:46:01] <DanaeNZ> spronk: moto watch? :D
398: [04:46:07] <UncleCheese> a trip to Dubai
399: [04:46:16] <Kingy> could probably just swim there
400: [04:46:20] <antmas> UncleCheese: what's the prize budget?
401: [04:46:36] <Kingy> Dubai is fun though
402: [04:46:42] <spronk> tbh i do kinda like tech prizes
403: [04:46:49] <antmas> what's the bet it will be a whole bunch of ill-fitting tshirts
404: [04:46:56] <Kingy> +1
405: [04:47:05] <Kingy> still didn't end up getting mine :(
406: [04:47:08] <spronk> "already have" doesn't really come into the euqation...
407: [04:47:09] <UncleCheese> antmas $700
408: [04:47:11] <Kingy> all this promise
409: [04:47:12] <spronk> equation
410: [04:47:24] <antmas> UncleCheese: hmmmm
411: [04:47:27] <Kingy> UncleCheese: $700 doesn't get me to NZ
412: [04:47:40] <UncleCheese> depends on the mode of transport, Kingy
413: [04:47:45] <antmas> Kingy: depends, do you mind human trafficking?
414: [04:47:53] <UncleCheese> we were thinking we'd just chuck you in a container full of tennis balls
415: [04:47:58] <Kingy> $700 cash would be good
416: [04:47:59] <antmas> lol
417: [04:48:00] <spronk> srrs, aplwatch
418: [04:48:09] <antmas> finally get to see where that ss merch is REALLY manu'd
419: [04:48:23] <UncleCheese> apple watch?
420: [04:48:34] <spronk> they're everything a prize should be
421: [04:48:34] <spronk> small
422: [04:48:35] <spronk> useless
423: [04:48:36] <UncleCheese> it's a bit counter to the whole open source thing
424: [04:48:36] <Kingy> no apple watch
425: [04:48:39] <spronk> wouldn't buy one anyway
426: [04:48:41] <Kingy> chromebox?
427: [04:48:43] <antmas> mm engrave it with '?flush much?'
428: [04:48:52] <DanaeNZ> antmas: hahahaa
429: [04:49:02] <zippy> UncleCheese: whats the competition?
430: [04:49:10] <spronk> "fix ss"
431: [04:49:19] <spronk> "port ss to django"
432: [04:49:21] <zippy> half the request time
433: [04:49:40] <UncleCheese> zippy haven't announced it yet, but suffice it to say, whoever writes the best code wins
434: [04:49:40] <zippy> fix the config system
435: [04:49:51] <zippy> best code is fairly subjective
436: [04:49:51] <spronk> how do you judge "best"
437: [04:49:57] <UncleCheese> TBA
438: [04:49:59] <DanaeNZ> normalise file capitilsation
439: [04:49:59] <antmas> what about a trip to UK SS office? then it could be tax deducted :D
440: [04:50:29] <antmas> you know
441: [04:50:45] <antmas> a gaming pc would tantalize a good number of people...
442: [04:50:47] * Cheddam has joined #silverstripe
443: [04:51:14] <Kingy> just buy me a monitor and i'd be happy
444: [04:51:23] <antmas> lol
445: [04:51:24] <Kingy> single screen is shitttt
446: [04:51:26] <DanaeNZ> you could get two monitors for that
447: [04:51:27] <antmas> ooooh
448: [04:51:27] <UncleCheese> that's not $700
449: [04:51:29] <antmas> what about
450: [04:51:29] * micmania1 has joined #silverstripe
451: [04:51:35] <UncleCheese> an xbox?
452: [04:51:38] <antmas> next point release for ss is named after you
453: [04:51:39] <Kingy> UncleCheese: don't care lol
454: [04:51:46] <antmas> 'sivlerstripe antmas edition'
455: [04:51:49] <UncleCheese> a vintage NES?
456: [04:51:57] <Kingy> I'll find you a $700 monitor if need be :)
457: [04:52:11] <Kingy> antmas: I'll just go ahead and skip that version :P
458: [04:52:18] <antmas> lol deprecated
459: [04:52:24] <Kingy> lolol
460: [04:52:40] <DanaeNZ> composer require “silverstripe-framework: >antmas”
461: [04:53:00] <antmas> 'comes with lots of .net code for shiggles' in the comments
462: [04:53:14] <zippy> :)
463: [04:53:45] <zippy> convert all the tabs to spaces to fit in with the new psr. I will my shear number of line changes :D
464: [04:53:46] <antmas> 'its the same as regular ss, but with moar trojans from antmas' home pc'
465: [04:54:08] <spronk> one of those 1TB usb3 flash drives
466: [04:54:25] <antmas> ooooooh a 750 series intel ssd
467: [04:54:28] <DanaeNZ> rasberry pi
468: [04:54:45] <UncleCheese> ooh
469: [04:54:45] <zippy> DanaeNZ: 4 pi, so you can cluster them to run a single SS site (just)
470: [04:54:50] <UncleCheese> what about a nice DSLR?
471: [04:54:53] <antmas> LOL
472: [04:55:02] <antmas> UncleCheese: actually yeah that'd be alright
473: [04:55:03] <DanaeNZ> zippy: hahaha
474: [04:55:18] <DanaeNZ> nice DSLRs are more than that
475: [04:55:22] <chocolatemoose> yup
476: [04:55:24] <DanaeNZ> check out the “prosumer” spec
477: [04:55:26] <antmas> mmm true
478: [04:55:33] <zippy> UncleCheese: I think it's going to be hard to find a consensus.... what about a cash price, like the bug bounties / security conferences..
479: [04:55:36] <UncleCheese> true
480: [04:55:39] <DanaeNZ> point n shoot, but options for different lenses and manual mode
481: [04:55:41] <UncleCheese> it's probably a cheap dslr
482: [04:55:43] <antmas> I offer my services to install a sharepoint server
483: [04:56:22] <chocolatemoose> mini fridge full of beer of your choice :)
484: [04:56:36] <Kingy> ^
485: [04:56:45] <Kingy> alcohol is expensive here, i'd take that
486: [04:56:47] <UncleCheese> tough to ship internationally
487: [04:57:10] <Kingy> I can bring in 6 cans of beer through customs lol
488: [04:57:21] <Kingy> or 1 bottle of wine
489: [04:57:25] <antmas> UncleCheese: ooooooh
490: [04:58:04] <antmas> $700 of steam credit
491: [04:58:45] <UncleCheese> what's steam?
492: [04:58:54] <antmas> :|
493: [04:59:13] * DanaeNZ isn’t sure if UC is serious
494: [04:59:25] <antmas> a $700 counterstrike GO knife skin
495: [04:59:53] <chocolatemoose> $700 worth of bitcoin
496: [05:00:02] <antmas> haha
497: [05:00:03] <DanaeNZ> oh I’d take the bitcoin
498: [05:00:06] <antmas> dogecoin*
499: [05:00:08] <spronk> 700 calendar girls dollars
500: [05:00:28] <DanaeNZ> at least whitehouse dollars, gotta put some quality behind it
501: [05:01:50] <antmas> why am I still at work?
502: [05:01:56] * DanaeNZ quit (Quit: DanaeNZ)
503: [05:02:30] <UncleCheese> what's steam?
504: [05:02:44] <UncleCheese> ah, coworker filled me in
505: [05:02:46] <UncleCheese> sounds dumb
506: [05:02:47] <UncleCheese> next
507: [05:02:59] <antmas> :|
508: [05:03:01] <antmas> idek
509: [05:03:10] * Shrike_Finland quit (Quit: Leaving.)
510: [05:04:10] <spronk> wat
511: [05:04:12] <spronk> unclecheese
512: [05:04:14] <spronk> go home
513: [05:04:15] <spronk> you're drunk
514: [05:04:24] <UncleCheese> video games?
515: [05:04:34] <spronk> enhance body and mind
516: [05:04:37] <spronk> better than crack
517: [05:04:38] <UncleCheese> i like some video games
518: [05:04:40] <spronk> etc etc
519: [05:04:54] <UncleCheese> Sims 2 is good
520: [05:05:01] <spronk> probably on steam.
521: [05:05:21] <zippy> UncleCheese: maybe do somethin glike, $700 steam or $700 apple store (can you get one for app / hardware, put towards new computer?) or $700 something else?
522: [05:05:29] <spronk> aww
523: [05:05:30] <spronk> sims 3 is on steam
524: [05:05:30] <spronk> no
525: [05:05:31] <spronk> 2
526: [05:05:43] <spronk> anyone played prison architect?
527: [05:05:45] <UncleCheese> i think 4 just came out
528: [05:06:21] * jim_ has joined #silverstripe
529: [05:06:29] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
530: [05:07:28] * antmas quit (Ping timeout: 246 seconds)
531: [05:07:33] <zauberfisch> lol, what are you guys on about?
532: [05:07:51] <spronk> choo choo trains
533: [05:07:56] <zauberfisch> thats good
534: [05:07:58] <zauberfisch> I like trains
535: [05:08:54] <spronk> ughh
536: [05:08:56] <spronk> fuck this shit
537: [05:09:13] * spronk has to go through all his api integration tests and add application/json tests
538: [05:09:55] * Stomach has joined #silverstripe
539: [05:10:49] * Hailwood quit (Remote host closed the connection)
540: [05:13:06] * veb has joined #silverstripe
541: [05:15:05] <simon_w|air> spronk, not recently. There still isn't much end game
542: [05:17:22] <spronk> hmm
543: [05:19:00] <mahfuz> Hey guys how can I hav different placeholder text for ConfirmedPasswordField?
544: [05:21:02] * Stomach quit (Quit: zzz)
545: [05:22:24] * Ryan-Toast quit (Quit: Ryan-Toast)
546: [05:35:28] * camfindlay has left #silverstripe
547: [05:36:25] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
548: [05:37:10] <jim_> Hello I have a tabbed form and was wondering how to make a next/previous button to cycle through the tabs in the form?
549: [05:46:48] <Colin[pi]> jim_: sounds like a job for JS: https://css-tricks.com/examples/TabsNextPrev/
550: [05:47:12] <Colin[pi]> mahfuz: you want to change placeholder text for just the confirm password field?
551: [05:51:00] <jim_> Colin: wow thank you very much
552: [05:51:33] <Colin[pi]> jim_: no worries, that's a very simple example, there are probably a ton of different ways to do it with jQuery/jQuery UI
553: [05:53:16] * chocolatemoose quit (Remote host closed the connection)
554: [05:54:59] <mahfuz> Yes Colin[pi] whatever placeholder I assign is shown in both but how can I have different?
555: [05:58:18] * micmania1 quit (Quit: micmania1)
556: [06:01:36] <Colin[pi]> mahfuz: try this (not tested):
557: [06:01:37] <Colin[pi]> $field->children[0]->setAttribute('placeholder', 'Password');
558: [06:01:43] <Colin[pi]> $field->children[1]->setAttribute('placeholder', 'Confirm Password');
559: [06:02:59] * DanaeNZ has joined #silverstripe
560: [06:03:25] * Ryan-Toast has joined #silverstripe
561: [06:06:50] * veb quit (Quit: veb-irc: quit)
562: [06:14:14] <mahfuz> Thanks Colin[pi] I will try that
563: [06:15:54] <mahfuz> Thank you so much Colin[pi] its working
564: [06:17:00] * DanaeNZ quit (Quit: DanaeNZ)
565: [06:17:40] * micmania1 has joined #silverstripe
566: [06:17:44] <Colin[pi]> mahfuz: excellent!
567: [06:22:57] * xyphoid quit (Remote host closed the connection)
568: [06:23:04] * Ryan-Toast quit (Quit: Ryan-Toast)
569: [06:25:14] <Kingy> hey Colin[pi]
570: [06:28:03] * adrexia_ has joined #silverstripe
571: [06:32:33] * jack_ has joined #silverstripe
572: [06:33:11] <jack_> hello can anyone help me how has_many many_many works and how to render them in templates
573: [06:34:20] * wmk has joined #silverstripe
574: [06:34:59] * Eliseth has joined #silverstripe
575: [06:36:14] <jack_> hello can anyone help me how has_many many_many works and how to render them in templates
576: [06:37:10] * r_hector has joined #silverstripe
577: [06:39:48] <wmk> jack_, has_many has a has_one on the other side
578: [06:39:52] <wmk> it's a 1:n relation
579: [06:40:02] <wmk> foo has many bar, bar has exactly one foo
580: [06:40:15] <wmk> if you need m:n relation you need many_many and belongs_many_many
581: [06:40:58] * Mike123 has joined #silverstripe
582: [06:41:31] <wmk> jack_, have you seen this lesson? http://www.silverstripe.org/learn/lessons/working-with-data-relationships-many-many
583: [06:47:15] * Colin[pi] quit (Ping timeout: 258 seconds)
584: [06:49:36] * Error404NotFound has joined #silverstripe
585: [06:50:14] * Err404NotFound quit (Ping timeout: 245 seconds)
586: [06:52:30] <Kingy> essh 9:50am and it's already 40deg
587: [06:54:09] * micmania1 has left #silverstripe
588: [06:55:58] * mahfuz quit (Ping timeout: 246 seconds)
589: [06:58:35] <spronk> the ss lessons really need a playback speed option
590: [07:02:53] <jack_> my silverstripe is running so slow on wamp why
591: [07:24:19] <ss23> wamp doesn't have certain things like opcache that can speed it up
592: [07:24:20] <ss23> slow computer
593: [07:24:23] <ss23> idk
594: [07:24:28] <ss23> Too many things could cause it, jack_
595: [07:25:34] <Kingy> just blame ss23
596: [07:25:45] <ss23> :(
597: [07:36:53] * Colin[pi] has joined #silverstripe
598: [07:42:26] * Kowiana has joined #silverstripe
599: [07:46:04] * Sticks quit (Quit: Leaving)
600: [07:51:50] * swaiba has joined #silverstripe
601: [07:58:56] * kinglozzer has joined #silverstripe
602: [08:02:17] <wmk> Kingy, celius or farenheit?
603: [08:04:03] * jarr0dsz has joined #silverstripe
604: [08:04:09] <jarr0dsz> hi everyone
605: [08:04:21] <jarr0dsz> just quick question i have begin working on silverstripe but my controller changes are not picked up
606: [08:04:38] <jarr0dsz> is there anything i have to do first? a silverstripe newbie here trying to get idea how ss works
607: [08:07:38] <jarr0dsz> i mean is silverstripe "compiled" and do i need to run a compiler everytime i pickup changes?
608: [08:08:43] <ss-helper> Re: mathspamprotection in site with translatable - http://www.silverstripe.org/community/forums/general-questions/show/101777#post401643
609: [08:09:03] <jarr0dsz> build/rebuld your environment under /dev
610: [08:09:14] <jarr0dsz> *rebuild do i have to rebuild everything on each controller change?
611: [08:12:20] * micmania1 has joined #silverstripe
612: [08:12:49] <jack_> is there any complete guide on silverstripe 3.1 ?
613: [08:14:36] <Kingy> wmk: celcius
614: [08:15:03] <wmk> that's quite hot
615: [08:15:28] <wmk> !flush jarr0dsz
616: [08:15:28] <ss-helper> jarr0dsz: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
617: [08:15:45] <jarr0dsz> havent done a flush no thank you wmk
618: [08:15:55] <wmk> jarr0dsz, depends on "what changes"
619: [08:16:01] <jack_> is there any complete guide on silverstripe 3.1 ?
620: [08:16:05] <jarr0dsz> wmk controller changes where not picked up
621: [08:16:10] * jack_ quit (Quit: Page closed)
622: [08:16:11] <wmk> e.g. all config stuff (private static vars) are cached, need to flush
623: [08:16:28] <wmk> like allowed_actions, url_handlers etc.
624: [08:16:34] * jack_ has joined #silverstripe
625: [08:16:39] <jack_> is there any complete guide on silverstripe 3.1 ?
626: [08:16:43] <wmk> but chaning an existing actin should require no flush
627: [08:16:48] <wmk> jack_, spamming?
628: [08:17:06] <wmk> define "complete guide", jack_
629: [08:17:14] <wmk> the lessons are work in progress
630: [08:17:27] <wmk> but cover most basics now
631: [08:17:49] <wmk> jack_, http://www.silverstripe.org/learn/
632: [08:18:28] <Kingy> wmk: yeah lol fairly warm
633: [08:18:56] <jack_> they are providing complete details from scratch
634: [08:18:57] * micmania1 quit (Ping timeout: 256 seconds)
635: [08:19:24] <jack_> sorry they aren't providing from scratch'
636: [08:19:27] * micmania1 has joined #silverstripe
637: [08:20:11] <wmk> hmm, the book is 2.3/2.4, most basics are the same, but many things changed
638: [08:20:19] <wmk> so, not really for beginners
639: [08:20:48] <wmk> jack_, so "from scratch" is like installation
640: [08:20:49] <wmk> =
641: [08:20:51] <wmk> ?
642: [08:21:30] <wmk> jack_, http://docs.silverstripe.org/en/ has many topics covered
643: [08:21:33] <jack_> my mean to say coding how to code
644: [08:21:56] <wmk> well, you should know how to write basic php
645: [08:22:04] * NETim quit (Ping timeout: 246 seconds)
646: [08:22:19] <wmk> silverstripe is pretty much object oriented, so good to learn but a bit hard to understand in the beginning
647: [08:23:03] <jack_> i know oops in php but not getting much on models and databses and templates
648: [08:24:41] * zippy has joined #silverstripe
649: [08:24:54] <wmk> should be covered in docs jack_
650: [08:25:03] <wmk> if you have any specific questions just ask
651: [08:25:32] <wmk> so read the docs, some lessons (models are covered in ORM lesson)
652: [08:25:44] <wmk> and database is build when you run dev/build command.
653: [08:25:47] <jack_> i can't understand how to send a contact form in ajax
654: [08:26:18] <wmk> well, with ajax it's a bit more complicated
655: [08:26:23] <wmk> 1) send it without ajax
656: [08:26:26] <wmk> 2) implement ajax
657: [08:26:51] <wmk> for 1) you need to understand controller, actions, maybe log to database, send emails
658: [08:27:25] <wmk> for 2) you need some javascript and Director::is_ajax() to determine if it's ajax or not, mainly to decide if you want to return the whole site or just a part
659: [08:27:34] <wmk> ajax is also covered in lesson 17
660: [08:28:01] <jarr0dsz> is there a way to see all the routes of silverstripe?
661: [08:28:24] <jarr0dsz> im used to codeigniter where you specify the exact routes but the project im working has lots of routes not specified under _mysite/routes file
662: [08:28:54] <wmk> jarr0dsz, xdebug? or just output the config value
663: [08:29:12] <jarr0dsz> output the config value wmk?
664: [08:29:19] * Py2136k has joined #silverstripe
665: [08:29:24] <wmk> but you have to consider routes for path to controller and $url_handlers for "routing" inside the controller
666: [08:29:24] <jarr0dsz> i hoped i could do something like artisan routes and it would list all routes
667: [08:29:27] <wmk> yo Py2136k
668: [08:30:10] <Py2136k> 'lo wmk :>
669: [08:30:29] <Py2136k> FFFFFFFFFFFFFFFFFFFF SOMEONE SAID THE L WORD IN HERE
670: [08:30:37] <wmk> well, Director.rules should hold all routes
671: [08:30:48] <Py2136k> well, the A word more specifically, but I'm not being picky.
672: [08:30:59] <wmk> so Config::inst()->get('Director', 'rules') should output all rules jarr0dsz
673: [08:31:10] <jarr0dsz> ah cool thank you wmk
674: [08:31:23] * wmk just mistyped Config::isnt()
675: [08:31:59] <Py2136k> lol
676: [08:32:07] <Py2136k> that could be a cool negated checker
677: [08:32:13] * jack_ quit (Ping timeout: 246 seconds)
678: [08:32:17] <Py2136k> ie, check that this value is not equal to or containing, etc.
679: [08:32:30] <Py2136k> *could* - a silly idea, but could.
680: [08:33:19] <ss23> adrexia: garion says you're not fast enough
681: [08:33:24] <ss23> he says it's pathetic how slow you were to merge that
682: [08:33:28] <ss23> he's raging at you IRL right now
683: [08:33:29] <Py2136k> so I don't get what the attraction to artisan routes is.
684: [08:33:42] <Py2136k> ss23: slap him.
685: [08:34:27] <Cheddam> um
686: [08:34:33] <ss23> oh hi garion
687: [08:34:35] <ss23> bro you're harsh
688: [08:34:42] <Cheddam> um
689: [08:35:09] <Py2136k> slap!
690: [08:35:38] <Cheddam> pretty sure I actually said "oh shit she already merged. she's a cool person"
691: [08:37:28] <Colin[pi]> belated hi Kingy o/
692: [08:38:05] <Py2136k> reverse slap!
693: [08:39:05] <Kingy> lol lucky im still around Colin[pi]
694: [08:39:10] <Kingy> thought you was shafting me
695: [08:43:35] <Py2136k> o.0
696: [08:44:19] * micmania1 quit (Quit: micmania1)
697: [08:45:13] <Py2136k> So I looked at places in wellytown. Quite expensive like
698: [08:45:29] <zippy> jarr0dsz: was it the L word? or was it artisan?
699: [08:45:38] <zippy> Py2136k: ^ :)
700: [08:45:39] <Py2136k> same thing
701: [08:45:42] <zippy> :P
702: [08:45:45] <zippy> don't be hating
703: [08:46:48] * spronk quit (Quit: I may need a longer sleep timer...)
704: [08:47:04] <zippy> Py2136k: moving back to nz?
705: [08:47:15] <Py2136k> [09:30] <wmk> so Config::inst()->get('Director', 'rules') should output all rules
706: [08:47:17] <Py2136k> so yeh
707: [08:47:23] <Py2136k> zippy: yeh.
708: [08:47:29] <Py2136k> always was
709: [08:47:34] <zippy> when?
710: [08:47:56] <wmk> Py2136k, ?
711: [08:48:14] <Py2136k> end of year
712: [08:48:22] <wmk> Py2136k, days will be boring without you
713: [08:48:27] <Py2136k> visa expires wmk
714: [08:48:41] <Py2136k> wmk, heh.
715: [08:48:47] <wmk> just asked, cause you quotet me
716: [08:48:59] <Py2136k> oh
717: [08:49:08] <wmk> the config::isnt() thingie
718: [08:49:10] <wmk> above
719: [08:49:14] <Py2136k> yeh :>
720: [08:49:23] <wmk> Py2136k, if your visa expires: go for a master card
721: [08:49:28] <Py2136k> because zippy was fanboi'n again
722: [08:49:30] <wmk> *duck*
723: [08:49:36] <Py2136k> :P
724: [08:49:39] <wmk> zippy, !
725: [08:49:47] * zippy quits
726: [08:49:59] * spronk has joined #silverstripe
727: [08:50:05] <wmk> !wording zippy
728: [08:50:14] <zippy> It was spronk ->
729: [08:50:17] <Py2136k> wachoo mouf
730: [08:50:45] <wmk> Zippy: this channel is only about SilverStripe. We love it. If you want to start flame wars or promote your cms of choice: good luck!
731: [08:50:57] <zippy> lol
732: [08:51:11] <zippy> SS is my cms of choice :)
733: [08:51:37] <wmk> (and be aware: our pyro maniak can flame back)
734: [08:52:01] <Kingy> zippy has a pretty good computer to do it on though
735: [08:53:22] <Py2136k> zippy: there's a few guys looking for your scalp now cuz, I'd remember where I stand in the real world and shut my mouth real quick
736: [08:53:41] <Py2136k> (although I dont' think you'll get that reference unless you were a big BF2 player)
737: [08:53:50] <zippy> O.o
738: [08:53:53] <wmk> BF?
739: [08:53:56] <ss-helper> Re: How to group sorted pages by grandparent pages? - http://www.silverstripe.org/community/forums/data-model-questions/show/102425#post402334
740: [08:53:57] <wmk> boy friend?
741: [08:54:04] <zippy> no, boy friend v2
742: [08:54:09] <wmk> Py2136k, ???
743: [08:54:14] * spronk quit (Client Quit)
744: [08:55:48] <Py2136k> wmk: http://iforce.co.nz/i/vdgrbny0.stf.png
745: [08:55:57] * spronk has joined #silverstripe
746: [08:56:09] <Py2136k> A battlefield 2 player forgets that online gaming is... well just games.
747: [08:56:28] <Py2136k> the politics of it all though, not so much fun I guess.
748: [08:57:36] <Py2136k> oh hey look ss-helper is back on the forums :>
749: [08:58:27] <wmk> wtf is october?
750: [08:58:56] <zippy> yea stopped him last night cos of all the spam
751: [08:59:02] <wmk> oh
752: [08:59:53] <Py2136k> wmk: A month of the year after september.
753: [09:00:01] <zippy> I think cam has sorted it
754: [09:00:03] <Py2136k> and before november
755: [09:00:04] <Py2136k> :P
756: [09:00:07] <wmk> Py2136k, no, really?
757: [09:00:12] <Py2136k> yes!
758: [09:00:19] <Py2136k> hard to believe I know ;)
759: [09:00:38] <Py2136k> It's supposed to be the 8th month, but it's the 10th. That's a little trap.
760: [09:00:54] <Py2136k> this is why some people don't believe it's real.
761: [09:01:18] <wmk> oh, "based on L-Word"
762: [09:01:18] <Py2136k> But believe me, it is! I've experienced it myself a few times!
763: [09:01:26] <Py2136k> 31 in fact.
764: [09:01:35] <wmk> like oct has days? how meta!
765: [09:01:45] <Py2136k> lulz
766: [09:05:20] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
767: [09:07:01] * NETim has joined #silverstripe
768: [09:07:16] <NETim> Morning.
769: [09:07:55] <NETim> When creating a dataobject, how can i access it's parent attributes before the new DO is saved?
770: [09:07:58] <swaiba> Py2136k - yeah cam and the guys have worked on a solution to our new korean friends, hopefully no more otrrents
771: [09:08:05] * Stomach has joined #silverstripe
772: [09:08:14] <swaiba> Hey NETim
773: [09:08:29] <NETim> swaiba: morning. Is that better as a question?
774: [09:08:32] <NETim> :D
775: [09:08:40] <swaiba> this is a hack, but if no other option and using model admin, I'd peek ar the URL bar!
776: [09:08:55] <swaiba> ha! you're questions are fine - my brain gets muddled!
777: [09:09:18] <NETim> Cheers.
778: [09:09:28] <NETim> I'm using model admin, so I guess it's hack time!
779: [09:10:12] <NETim> It's odd though, model admin can scaffold the edit form and get the parent attribute ID that I want, but I can't get it myself.
780: [09:10:23] <Py2136k> swaiba: what about our arabic friends?
781: [09:10:38] <Kowiana> swaiba: What's happening with Koreans? (Sorry I'm new but curoius cos I speak Korean)
782: [09:10:41] * micmania1 has joined #silverstripe
783: [09:10:45] <Py2136k> NETim: what do you mean 'parent attributes'?
784: [09:11:13] <swaiba> Kowiana - forum spam - it isn't you is it :D ?
785: [09:11:20] <NETim> The parent object has an attribute (instrument ID) and I want to use that to filter a dropdown when creating a child object.
786: [09:11:23] <Kowiana> swaiba: Haha no :P
787: [09:11:30] <swaiba> Py2136k - i miss the babas (not)
788: [09:11:33] <Kowiana> swaiba: I could reply to them in Korean though
789: [09:11:34] <Py2136k> Kowiana: advertising where it's not welcome. Bot net stuff.
790: [09:11:44] <Kowiana> Ah I see
791: [09:11:48] <Py2136k> Kowiana: not actual Koreans. Just Korean text.
792: [09:12:06] <Kowiana> Ah okay
793: [09:12:19] <Py2136k> We've had Arabic too.
794: [09:12:47] <Kowiana> Just random bots posting stuff?
795: [09:12:55] <Py2136k> And English of course. The English spam was advertising football matches from 'free online streams' (never free, you pay in other ways, if they even work).
796: [09:13:04] <Py2136k> yeh, basically. Same as most spam.
797: [09:13:25] <Py2136k> click bait, etc.
798: [09:13:59] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
799: [09:14:25] <Py2136k> NETim: so yeah, your form needs to know which parent you're choosing. Like swaiba says, sometimes that can be hacked out of the URL.
800: [09:14:52] <NETim> I'm thinking that may be the solution.
801: [09:15:14] <Py2136k> or, if you're on a page and using the appropriate gridfieldconfig, then you might be able to read it from the hidden form field.
802: [09:15:16] <Py2136k> ParentID
803: [09:15:39] <Py2136k> Although that won't really work if it's has_one
804: [09:15:52] <NETim> It is indeed a has_one.
805: [09:15:54] <Py2136k> (err, has_one from the parent to the new obj)
806: [09:16:11] <Py2136k> has_one ON the child obj should hopefully work (ie, has_many on parent)
807: [09:16:27] * Liquide quit ()
808: [09:16:41] <Py2136k> I'd try that first, seems a little less mucky.
809: [09:16:55] <NETim> Parent has_many of the child.
810: [09:17:14] <Py2136k> yeh, try reading it from the gridfield form somewhere first.
811: [09:17:29] <Py2136k> you'll have to inspect many things to decipher it, but hopefully is doable.
812: [09:17:31] <NETim> How would i do that?
813: [09:17:42] <Py2136k> ie, form construction, how gridfield works, can you even access that info, etc.
814: [09:17:47] <NETim> The gridfield bit. You reckon a hidden field?
815: [09:17:58] <Py2136k> well yeah, that's how the relation is set on save.
816: [09:18:09] <Py2136k> if you're using GridFieldConfig_RelationEditor
817: [09:18:18] <Py2136k> dunno which component specifically does it.
818: [09:18:29] <NETim> GridFieldConfig_RecordEditor
819: [09:18:31] <Py2136k> it's all a black hole of voodoo if you ask me, so you could be in for some fun.
820: [09:18:48] <NETim> Having so much fun already. Not sure I can take much more.
821: [09:18:57] <Py2136k> then just hack the URL :P
822: [09:19:08] <Py2136k> request should have the info in it somewhere (hopefully)
823: [09:19:17] <NETim> request just contains URL
824: [09:19:32] <Py2136k> yeah, but one of the params will likely be the parent.
825: [09:21:04] <NETim> How would one get the URL parameters from a dataobject?
826: [09:21:10] <NETim> (it's for a friend...)
827: [09:21:47] <NETim> Assuming of course that there is a silverstripey way and it's not just $_REQUEST.
828: [09:22:25] <NETim> Wait, how the hell does modeladmin get the parent ID?
829: [09:22:45] <wmk> why is this modeladmin filter not working on nginx?
830: [09:22:53] <swaiba> Hey Guys...
831: [09:22:54] <swaiba> Hey Guys
832: [09:22:59] <swaiba> ooops
833: [09:23:00] <swaiba> https://github.com/silverstripe/silverstripe-framework/blob/3.1/core/Core.php#L23
834: [09:23:19] <swaiba> this turns on all error reporting regardless of site status
835: [09:23:40] <swaiba> really annoying as I'm getting some memeory warnings on live
836: [09:23:58] <swaiba> apart from fixing those - I've got to hack the core to remove a warning from a prod site?
837: [09:24:37] <Py2136k> NETim: SS_HTTPRequest
838: [09:25:17] <Py2136k> Controller::curr()->request()->param('ParentID') or something like that perhaps.
839: [09:25:26] <Py2136k> maybe ->getVar('ParentID') idk.
840: [09:25:37] <Py2136k> params are the bits in the route
841: [09:26:04] <Py2136k> Eg. The standard Page one is $Controller/$Action/$ID/$OtherID
842: [09:27:16] * Tanger quit (Quit: sleep())
843: [09:27:44] <NETim> the method 'request' does not exist
844: [09:30:07] * bemusedrat has joined #silverstripe
845: [09:34:31] * Py2136k quit (Ping timeout: 246 seconds)
846: [09:39:29] * Stomach quit (Quit: zzz)
847: [09:40:26] * Stomach has joined #silverstripe
848: [09:45:24] * cloph_away is now known as cloph
849: [09:48:31] <wmk> any known issues with php 5.6?
850: [09:50:00] * Colin[pi] quit (Ping timeout: 272 seconds)
851: [09:54:03] * Stomach quit (Quit: zzz)
852: [10:00:08] * ak2766 has joined #silverstripe
853: [10:00:13] * travis-ci has joined #silverstripe
854: [10:00:14] <travis-ci> silverstripe/silverstripe-framework#4873 (master - 392536c : Loz Calver): The build passed.
855: [10:00:14] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/cd1eb1b4840a...392536cb1738
856: [10:00:14] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/64226692
857: [10:00:14] * travis-ci has left #silverstripe
858: [10:00:59] <ak2766> hi people
859: [10:01:44] <ak2766> need some help with SilverStrip - is it possible to have a youtube video in the gallery that when clicked takes you to youtude?
860: [10:02:06] <ak2766> oops - youtube?
861: [10:04:54] * Py2404k has joined #silverstripe
862: [10:05:08] <Py2404k> NETim: sorry, getRequest()
863: [10:05:28] <Py2404k> or just ->request
864: [10:15:42] * travis-ci has joined #silverstripe
865: [10:15:43] <travis-ci> silverstripe/silverstripe-framework#4874 (3.1 - 50d88ed : Loz Calver): The build passed.
866: [10:15:43] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d43115e3200b...50d88edd37df
867: [10:15:43] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/64226961
868: [10:15:43] * travis-ci has left #silverstripe
869: [10:19:11] <cloph> ak2766: the embedded videos all have the "watch on youtube" feature, don't htey
870: [10:21:25] <Kowiana> You can enable and disable it no?
871: [10:21:35] <Kowiana> With embed code I mean
872: [10:21:45] <Kowiana> Don't know how it works specifically on the gallery
873: [10:22:15] * Stomach has joined #silverstripe
874: [10:30:56] <wmk> hey Stomach, got you nginx experience?
875: [10:31:18] <Stomach> hey wmk
876: [10:31:21] <Stomach> yup - whats up
877: [10:31:29] <wmk> modeladmin doesn't filter
878: [10:31:39] <Stomach> its the size of the caches
879: [10:31:40] <wmk> in getList() method i get the param, but the grid doesn't filter
880: [10:31:55] <wmk> size of caches?
881: [10:32:16] <Stomach> http://docs.silverstripe.org/en/getting_started/installation/how_to/configure_nginx/
882: [10:32:25] <Stomach> see the buffer sizes at the bottom
883: [10:34:55] <wmk> hmm...
884: [10:37:16] * Err404NotFound has joined #silverstripe
885: [10:37:16] * Error404NotFound quit (Disconnected by services)
886: [10:41:23] * Stomach quit (Quit: bye)
887: [10:41:34] * MichaelHabib has joined #silverstripe
888: [10:42:00] <MichaelHabib> hi, is there a way to change the class names used in $LinkingMode ?
889: [10:45:06] <Py2404k> MichaelHabib: no.
890: [10:45:25] <Py2404k> use <% if inSection %>classname<% end_if %> instead
891: [10:45:42] <MichaelHabib> Py2404k: sounds good, ty
892: [10:46:20] <Py2404k> MichaelHabib: iirc there are a bunch
893: [10:46:23] <Mike123> hey guys, how can i put button tag as formAction ?
894: [10:46:31] <Py2404k> inSection, isLink, something like that
895: [10:46:59] <Py2404k> isSection isLink* perhaps
896: [10:47:06] <Py2404k> MichaelHabib: ^
897: [10:47:56] <Py2404k> MichaelHabib: ah, isSection, LinkOrCurrent
898: [10:48:25] <Py2404k> if <% $LinkOrCurrent = current %>highlightthisthing
899: [10:48:32] <Py2404k> or something like that
900: [10:49:02] <Py2404k> hell even LinkingMode == link
901: [10:49:06] <Py2404k> == current
902: [10:49:08] <Py2404k> == section
903: [10:49:09] <Py2404k> whatever
904: [10:49:17] <Py2404k> just gotta do it manually. Not so nice.
905: [10:49:25] <Py2404k> or make your own method that does it for you.
906: [10:49:34] <Py2404k> Much like SiteTree does.
907: [10:50:25] <Py2404k> Mike123: one of the constructor params iirc
908: [10:51:22] <Py2404k> Mike123: oh, nope. But FormAction::create($name, $title)->useButtonTag(true)
909: [10:51:49] <Py2404k> Not sure why that's important, but there you go.
910: [10:52:13] <Py2404k> http://api.silverstripe.org/3.1/class-FormAction.html#_setUseButtonTag
911: [10:54:03] <Py2404k> <swaiba> https://github.com/silverstripe/silverstripe-framework/blob/3.1/core/Core.php#L23
912: [10:54:12] <Py2404k> [21:23:58] <swaiba> apart from fixing those - I've got to hack the core to remove a warning from a prod site?
913: [10:54:38] <Py2404k> swaiba: yeah, either fix them or fix your error output. It's not the error that's the issue, it's your php configuration displaying them to the user.
914: [10:55:10] <Mike123> thx
915: [10:56:13] <Py2404k> swaiba: a warning is non-fatal, so shouldn't impact user at all. Error should simply go to log.
916: [10:57:13] <swaiba> Py2404k - thanks - so you mean disable all errors in the php.ini?
917: [10:57:15] <Py2404k> If SS is catching them and then displaying or terminating regardless of site status (live/dev/test) then it should be reported as a bug
918: [10:57:20] <swaiba> sound like the wrong way around
919: [10:57:26] <Py2404k> swaiba: no, I mean stop showing them to the user.
920: [10:57:38] <swaiba> yeah to do that I had to comment tha line from core
921: [10:57:40] <swaiba> doesn't feel right
922: [10:57:47] <Py2404k> It's a production env, it shouldn't be set up to output them in the first place.
923: [10:57:56] <Py2404k> yeah no, you don't.
924: [10:58:03] <Py2404k> configure your php better!
925: [10:58:18] * UncleCheese has joined #silverstripe
926: [10:58:47] <Py2404k> swaiba: http://php.net/manual/en/errorfunc.configuration.php#ini.display-errors
927: [10:59:12] <spronk> hmm
928: [10:59:17] <spronk> soo many oauth libraries
929: [10:59:20] <spronk> are storing tokens insecurely
930: [10:59:42] <swaiba> Py2404k - ok thanks for the advice
931: [10:59:46] <Py2404k> swaiba: SS simply sets the LEVEL of error reporting, display_errors is not touched ;)
932: [11:00:15] <swaiba> Py2404k - yep I think I get you now, again many thanks
933: [11:00:18] <Py2404k> :)
934: [11:00:20] <Py2404k> you're welcome
935: [11:01:09] <Py2404k> spronk: oh?
936: [11:01:15] <Py2404k> Please, do go on!
937: [11:01:19] <spronk> basically storing refresh and access tokens in plaintext in the database
938: [11:01:35] <Py2404k> lulz
939: [11:01:39] <spronk> which is fine
940: [11:01:50] <spronk> until you realise that holy fuck, anyone with access to the database can suddenly impersonate any user with an active token
941: [11:01:54] <spronk> incl sql injection attackers
942: [11:01:58] <spronk> and developers.
943: [11:02:08] <Py2404k> yush
944: [11:02:22] <Py2404k> so it becomes a matter of encryption, because you need to be able to decrypt?
945: [11:02:25] <Py2404k> or just hashing?
946: [11:02:41] <spronk> hmm
947: [11:02:45] <spronk> i dno if you need to be able to decrypt
948: [11:02:53] <spronk> ithink there are certain cases where you do
949: [11:02:55] <Py2404k> Because if it's encryption, then you need to enstore the encryption details somewhere too
950: [11:02:58] <spronk> in which case symmetric encryption
951: [11:03:05] <Py2404k> which only makes the issue a bit harder, but not unpostible.
952: [11:03:34] <Py2404k> If they're simply check tokens, then yeah, hash away I guess.
953: [11:04:47] * Py2404k doesn't know enough about oauth to be able to say
954: [11:04:56] <Py2404k> simon_w|air: is generally the guy to ask there :>
955: [11:05:57] <spronk> $result = $this->getConnection()->table('oauth_access_tokens')
956: [11:05:58] <spronk> ->where('oauth_access_tokens.id', $token)
957: [11:05:58] <spronk> ->first();
958: [11:06:08] <spronk> fucking. beautiful.
959: [11:06:11] * zippy has joined #silverstripe
960: [11:06:48] <Py2404k> eh? lulz
961: [11:06:59] <spronk> this is in the oauth2-server-laravel library
962: [11:07:04] <spronk> but its basically the same for all other oauth servers
963: [11:07:42] <Py2404k> So what if 2 tokens are the same?
964: [11:07:45] <Py2404k> is that even possible.
965: [11:07:46] <Py2404k> ?
966: [11:07:49] <spronk> no
967: [11:07:52] <spronk> well
968: [11:07:57] <spronk> you should uniquely constrain them
969: [11:08:40] <Py2404k> Yeah, but it's not tied to a user (at least, looking at that query). So a valid token just lets you in, doesn't care who/where/what
970: [11:08:42] <Py2404k> ?
971: [11:08:54] <zippy> Py2404k: you still going on about you love for the L
972: [11:09:00] <Py2404k> nope
973: [11:09:02] <spronk> nah, they are associated with a user
974: [11:09:06] <Py2404k> talking about oauth in general zippy
975: [11:09:11] <spronk> token has a resource owner id,
976: [11:09:18] <spronk> which can be a user id, could be something else if you're authenticating not-users
977: [11:10:11] <Py2404k> zippy: well not necessarially oauth, but oauth implementation libs.
978: [11:10:29] <spronk> i think simon_w|air 's oauth module is also vuln
979: [11:10:43] <Py2404k> spronk: so I take it in your example above $token is user input/
980: [11:10:45] <Py2404k> ?
981: [11:10:50] <spronk> basically, yeah
982: [11:10:59] <Py2404k> -.- seems legit.
983: [11:11:08] <spronk> well
984: [11:11:12] <spronk> people probably look at it and think
985: [11:11:12] <spronk> ph
986: [11:11:14] <spronk> token
987: [11:11:15] <spronk> short lived
988: [11:11:15] <Py2404k> You should read up on oauth
989: [11:11:18] <spronk> etc etc
990: [11:11:30] <spronk> hmm/
991: [11:11:31] <spronk> ?
992: [11:11:34] <Py2404k> see if there's a reason it needs to be plain text (or close enough)
993: [11:11:40] <spronk> http://tools.ietf.org/html/rfc6819#section-5.1.4.1.3
994: [11:12:22] <Py2404k> so 'credentials' here means access token?
995: [11:12:45] <spronk> access token, refresh token, user password, client secret iirc
996: [11:12:51] <Py2404k> right
997: [11:13:23] <Py2404k> so basically every lib is shit. That's ... kinda amazing.
998: [11:14:09] <spronk> if i'm understanding this correctly..
999: [11:14:38] <spronk> then you see people saying
1000: [11:14:40] <spronk> you can't hash them
1001: [11:14:47] <spronk> because you have to be able to look them up
1002: [11:14:49] <spronk> which is bullshi
1003: [11:14:49] <spronk> t
1004: [11:14:55] <spronk> generate, hash, store
1005: [11:15:00] <spronk> receive, hash, lookup hash
1006: [11:15:14] <spronk> doesn't need to be salted because they should be generated randomly with enough entropy in the first place
1007: [11:17:09] <spronk> i think libs that spport JSON Web Tokens have this sorted
1008: [11:18:00] <Py2404k> then again, laraveil converts generally come from crud igniter, so it doesn't particularly surprise me spronk :P
1009: [11:18:04] <micmania1> spronk: you can’t hash oauth tokens
1010: [11:18:10] <spronk> why not..?
1011: [11:18:30] <micmania1> They need to be sent to the endpoint to authenticate. If you hash them you can’t get their original value.
1012: [11:18:38] <spronk> err
1013: [11:18:42] <spronk> talking about an oauth *server* here
1014: [11:18:59] <micmania1> oh, ok. Thought you were on about client
1015: [11:19:09] <spronk> mmno, course you can't hash on client :P
1016: [11:19:16] <Mike123> why do i get 404 error when submiting form ?
1017: [11:19:40] <spronk> clearly, form not found.
1018: [11:20:16] <cloph> no allowed actions maybe, or not using form functions but manually assembling it?
1019: [11:20:19] <Py2404k> Mike123: you messed up the $controller variable
1020: [11:20:22] <Py2404k> or the function name
1021: [11:20:30] <Py2404k> cloph: that'd be 403
1022: [11:21:00] <micmania1> Py2404k: nah, it would be 404
1023: [11:21:08] <Py2404k> o.0 really?
1024: [11:21:15] <Mike123> i have this form with its method http://codepaste.net/rgjuei
1025: [11:21:21] <micmania1> yeah, controller/action_that_doesnt_exist
1026: [11:21:32] <Py2404k> man, fuck paste sites that require javascript
1027: [11:21:35] <Py2404k> to VIEW
1028: [11:21:41] <Mike123> in Page.php i return new SubscriptionForm($this, 'SubscriptionForm');
1029: [11:21:57] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1030: [11:22:45] <Py2404k> Mike123: yeah, but what is the name of the function that returns that?
1031: [11:23:09] <Py2404k> return SubscriptionForm::create($this, __FUNCTION__);
1032: [11:23:40] <Py2404k> (copying that verbatim will work, if you're not aware of PHP's reflection magic vars)
1033: [11:24:28] <micmania1> you also need to add your function name to allowed_actions of your controller
1034: [11:25:59] <Mike123> SubscribtionForm is in module, it's part of the module let's say
1035: [11:26:22] <Mike123> the method i need to call is in SubscribtionForm class, called Subcribtion
1036: [11:27:28] * kinglozz_ has joined #silverstripe
1037: [11:27:30] * bemusedrat1 has joined #silverstripe
1038: [11:27:32] <kinglozz_> Stupid interwebs
1039: [11:29:09] <Mike123> micmania1: even if this method is in other module ?
1040: [11:29:51] <micmania1> If you’re accessing it through a controller, that controller needs to have that method in allowed_actions, regardless of where it is
1041: [11:30:45] * akk has joined #silverstripe
1042: [11:31:09] * akk is now known as Guest60806
1043: [11:36:27] * ss-helper quit (Ping timeout: 250 seconds)
1044: [11:36:27] * ak2766 quit (Ping timeout: 250 seconds)
1045: [11:36:27] * bemusedrat quit (Ping timeout: 250 seconds)
1046: [11:36:27] * kinglozzer quit (Ping timeout: 250 seconds)
1047: [11:37:35] * GioVdK has joined #silverstripe
1048: [11:39:37] <GioVdK> hello, is there a way to empty (truncate) a table using the DataObject class?
1049: [11:40:08] * ss-helper has joined #silverstripe
1050: [11:42:00] <zauberfisch> GioVdK: well, there is Foo::get()->removeAll() which will delete all records
1051: [11:42:08] <zauberfisch> but its not the same as truncate
1052: [11:42:20] <zauberfisch> its just a DELETE *
1053: [11:42:48] <GioVdK> I see
1054: [11:43:00] <GioVdK> so for a truncate would you use SQLQuery?
1055: [11:43:14] * micmania2 has joined #silverstripe
1056: [11:43:31] * micmania1 quit (Ping timeout: 256 seconds)
1057: [11:43:31] * micmania2 is now known as micmania1
1058: [11:43:53] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1059: [11:46:08] <ss23> man, feels so good to be sleeping
1060: [11:46:12] <spronk> lol
1061: [11:46:13] <ss23> not having to do any releases tonight
1062: [11:46:14] <spronk> you're not sleeping
1063: [11:46:16] <ss23> I know
1064: [11:46:18] <ss23> I'm going to bed now
1065: [11:46:22] <ss23> already half naked
1066: [11:46:28] <ss23> OH SLEEPING AND NOT DOING RELEASES RULES
1067: [11:46:31] <ss23> nn micmania1 :3
1068: [11:46:32] <spronk> lol
1069: [11:46:38] <spronk> wtttfff
1070: [11:46:53] <ss23> sorry spronk no pix 4 u
1071: [11:46:54] <ss23> zz
1072: [11:46:58] <spronk> nothxbye
1073: [11:48:56] <cloph> GioVdK: /me does at least
1074: [11:48:59] <micmania1> ss23: there is an outage and I haven’t turned alerts off yet :p be careful
1075: [11:49:31] <cloph> much faster than removeAll...
1076: [11:50:21] <GioVdK> probably I meant DB::getConn()->query(); not SQLQuery
1077: [11:50:56] <Py2404k> GioVdK: or DB::query
1078: [11:51:14] <GioVdK> yep, that worked. thanks zauberfisch cloph and Py2404k :)
1079: [11:51:48] <cloph> (I use DB::query('TRUNCATE TABLE Tablename'); )
1080: [11:51:54] <ss-helper> Re: SilverStripe Blog Module - Looking forward and a fresh start - https://groups.google.com/d/msg/silverstripe-dev/m-ZbT8wkhPM/NatEyFYAKTYJ
1081: [11:52:09] <Py2404k> GioVdK: DB::query is exactly DB::getConn()->query() - so be careful if the default DB is not the one you want to work on (you must manually call it rather than DB::query)
1082: [11:53:06] <GioVdK> thanks Py2404k, I'm using just one DB anyway
1083: [11:53:24] <Py2404k> Mike123: You define the form in a class, yes. It doesn't matter. Where you _create an instance and return it_ is what matters.
1084: [11:54:49] <Py2404k> Your_Controller_not_in_a_module extends Controller { private static $allowed_actions = ['GiveMeASubmissionFormPlease']; public function GiveMeASubmissionFormPlease() { return SubmissionForm::create($this, __FUNCTION__); }
1085: [11:55:46] <Py2404k> micmania1: doing releases?
1086: [11:56:03] <micmania1> yep
1087: [11:56:08] <micmania1> starts in 5 mins :)
1088: [11:56:08] <Py2404k> fun.
1089: [11:56:14] <micmania1> MIDNIGHT DEPLOY FUN
1090: [11:56:15] <Py2404k> So I looked at flat prices last night.
1091: [11:56:17] <Py2404k> urgh.
1092: [11:56:21] <Py2404k> 'spensive
1093: [11:56:24] <micmania1> flat prices where? here?
1094: [11:56:27] <Py2404k> ye[
1095: [11:56:36] <micmania1> how much?
1096: [11:57:00] <Py2404k> like, $500 for something nice.
1097: [11:57:04] <Py2404k> pw
1098: [11:57:54] <micmania1> for 2 people tho?
1099: [11:58:01] <Py2404k> If I was living alone I'd go for soemthing a bit cheaper, don't wanna get a hotel room to share with the missus. Cabin fever would set in super fast :/
1100: [11:58:06] <Py2404k> yeh, 2 peoples.
1101: [11:58:34] <Py2404k> Not undoable, just a bit more than I was hoping.
1102: [11:59:21] <MichaelHabib> hi, what do I need to do to have an image linked to an object ? I have extended SiteConfig with UploadField for the logo, the file get uploaded but doesnt not get attached to the object/SiteConfig.
1103: [11:59:35] <Py2404k> has_one image
1104: [11:59:56] * Err404NotFound quit (Ping timeout: 244 seconds)
1105: [12:00:11] <MichaelHabib> this is the code
1106: [12:00:12] <MichaelHabib> https://gist.github.com/anonymous/a8d79770ce92cb4f50dd
1107: [12:00:26] <MichaelHabib> I did that, but when I save the file is NOT attached to that field !
1108: [12:00:33] <Py2404k> capital I
1109: [12:00:46] <Py2404k> and try FieldNameID on the uploadfield
1110: [12:00:55] <Py2404k> if it still doesn't work.
1111: [12:01:59] <Py2404k> Filed types are Classnames, although it doesn't really matter convention is to keep the capitals.
1112: [12:02:16] <Py2404k> and also although it doesn't really matter, CamelCase, rather than underscore_names
1113: [12:02:23] <Py2404k> but none of that really matters.
1114: [12:03:52] <MichaelHabib> Py2404k: My I was the problem !!
1115: [12:05:39] * Shrike_Finland has joined #silverstripe
1116: [12:08:01] <Py2404k> Yeah, is to do with manifest and autoloader.
1117: [12:08:12] <Py2404k> I think micmania1 was doing something with that.
1118: [12:08:16] * Py2404k shrugs
1119: [12:08:39] <Py2404k> so I guess it does matter (although it technically shouldn't).
1120: [12:08:53] <Py2404k> good to know, thanks MichaelHabib for letting me know the solution :)
1121: [12:10:00] <MichaelHabib> Py2404k: no problem ;)
1122: [12:10:29] * UndefinedOffset has joined #silverstripe
1123: [12:10:40] * stnvh quit (Quit: sleepy)
1124: [12:10:49] <MichaelHabib> Py2404k: btw, the website is wtwac.com.au :) work in progress
1125: [12:12:01] * jarr0dsz has joined #silverstripe
1126: [12:16:15] <Py2404k> Cool
1127: [12:20:36] * bemusedrat1 quit (Quit: Leaving)
1128: [12:23:30] * Colin[pi] has joined #silverstripe
1129: [12:27:51] <Mike123> in my gridfield editing tools button's like delete or next page doesnt work ? no error at all
1130: [12:34:34] <micmania1> BOOM! Release complete :D
1131: [12:34:48] <micmania1> Py2404k: doing something with what?
1132: [12:36:46] <Py2404k> micmania1: the case sensitivity of the manifest
1133: [12:37:12] <micmania1> oh yeah, it was Sam. I’m just waiting on the outcome to see if my PR needs to be updated
1134: [12:37:23] <micmania1> My guess is that it becomes case-insensitive
1135: [12:37:39] <Py2404k> yeh, it should be, to match PHP and it's stupid case insensitivity
1136: [12:38:18] <micmania1> yep (although config shouldn’t reall be attached to classes in the first place)
1137: [12:38:45] <micmania1> I think its a compromise. Bad design, but good dev experience
1138: [12:38:48] <Py2404k> yeah... although it makes a nice cluster for ease of maintenance
1139: [12:39:01] <Py2404k> err, having defaults in class that is.
1140: [12:47:10] * Kingy is now known as Kingy[a]
1141: [12:54:18] * micmania1 quit (Ping timeout: 272 seconds)
1142: [12:54:59] * gordon has joined #silverstripe
1143: [12:55:22] * gordon is now known as Guest83599
1144: [12:57:32] * spronk quit (Quit: I may need a longer sleep timer...)
1145: [12:59:09] * spronk has joined #silverstripe
1146: [13:05:39] * jarr0dsz quit (Ping timeout: 245 seconds)
1147: [13:11:22] * Colin[pi] quit (Ping timeout: 258 seconds)
1148: [13:15:37] * Kingy[a] is now known as Kingy
1149: [13:16:14] * Kingy is now known as Kingy[a]
1150: [13:20:34] * babak has joined #silverstripe
1151: [13:24:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1152: [13:28:14] * stnvh has joined #silverstripe
1153: [13:31:28] * wmk quit (Ping timeout: 255 seconds)
1154: [13:37:03] <ss-helper> AW: [silverstripe-dev] Re: SilverStripe Blog Module - Looking forward and a fresh start - https://groups.google.com/d/msg/silverstripe-dev/m-ZbT8wkhPM/Ndf2GajXew8J
1155: [13:40:36] * muskie9 has joined #silverstripe
1156: [13:45:51] * catcher has joined #silverstripe
1157: [13:55:58] * Shrike_Finland quit (Quit: Leaving.)
1158: [13:56:22] * novaweb has joined #silverstripe
1159: [14:09:08] * Shrike_Finland has joined #silverstripe
1160: [14:18:43] * jarr0dsz has joined #silverstripe
1161: [14:28:31] * muskie9 quit (Read error: Connection reset by peer)
1162: [14:34:35] * muskie9 has joined #silverstripe
1163: [14:37:12] * Shrike_Finland quit (Quit: Leaving.)
1164: [14:39:45] * GioVdK quit (Read error: Connection reset by peer)
1165: [14:40:38] <ss-helper> Re: Experienced Silverstripe freelancer/contractor needed - http://www.silverstripe.org/community/forums/connect-with-other-silverstripe-members/show/72887#post402335
1166: [14:48:13] * novaweb quit (Quit: novaweb)
1167: [14:55:43] <ss-helper> Re: Developer required in UK - http://www.silverstripe.org/community/forums/connect-with-other-silverstripe-members/show/101601#post402336
1168: [14:59:15] * spronk quit (Quit: I may need a longer sleep timer...)
1169: [15:00:53] * Mike123 quit (Quit: Page closed)
1170: [15:04:44] * spronk has joined #silverstripe
1171: [15:12:51] * spronk quit (Quit: I may need a longer sleep timer...)
1172: [15:14:22] * NETim quit (Ping timeout: 246 seconds)
1173: [15:18:17] * tmro quit (Ping timeout: 256 seconds)
1174: [15:21:43] * gavro has joined #silverstripe
1175: [15:21:54] <gavro> ola @ all
1176: [15:22:49] <gavro> Does anybody know if it's possible to use $_ENV vars [php: getenv(...)] in yaml config files?
1177: [15:27:38] * muskie9 quit (Remote host closed the connection)
1178: [15:28:13] * muskie9 has joined #silverstripe
1179: [15:35:35] * r_hector quit (Remote host closed the connection)
1180: [15:36:53] * tmro has joined #silverstripe
1181: [15:37:07] * jim_ quit (Ping timeout: 246 seconds)
1182: [15:39:52] * gavro_ has joined #silverstripe
1183: [15:41:28] <Py2404k> ola gavro
1184: [15:41:34] <Py2404k> ola gavro_
1185: [15:41:46] <Py2404k> and no, yaml is for yaml.
1186: [15:41:59] <Py2404k> It's not PHP, it never hits the PHP processor.
1187: [15:42:11] <Py2404k> You can however use _config.php if you really need to.
1188: [15:42:36] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1189: [15:42:55] * gavro quit (Ping timeout: 250 seconds)
1190: [15:42:55] <Py2404k> Config::inst()->update('key', getenv(...))
1191: [15:42:57] <Py2404k> or something lik ethat
1192: [15:44:45] * gavro_ quit (Ping timeout: 276 seconds)
1193: [15:48:12] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1194: [15:48:22] * joelpittet has joined #silverstripe
1195: [16:00:13] * cloph is now known as cloph_away
1196: [16:03:53] <kinglozz_> gavro_ You can conditionally set things based on env vars
1197: [16:03:55] <kinglozz_> Oh, nvm
1198: [16:04:03] <muskie9> he gone
1199: [16:08:33] * kinglozz_ me gone
1200: [16:08:34] <kinglozz_> ciao!
1201: [16:08:34] * kinglozz_ quit ()
1202: [16:18:10] * Guest83599 is now known as nontgor
1203: [16:26:37] * Shrike_Finland has joined #silverstripe
1204: [16:27:00] * cloph_away is now known as cloph
1205: [16:28:24] <Py2404k> if(@diff<7,if(weekday(@start)+@diff>4,((weekday(@start)+1)%2-2)+@diff,@diff),if(weekday(@end)>4,@diff-(floor(@diff/7)*2)-if(weekday(@start)>4,abs(weekday(@start)-weekday(@end)),(weekday(@end)+1)%2),@diff-(floor(@diff/7)*2)-if(weekday(@start)+(@diff%7)>4,if(weekday(@start)=6,1,2),0)))
1206: [16:28:33] <Py2404k> huzzah, weekdays between two dates in MySQL
1207: [16:28:43] <Py2404k> That only took all day :>
1208: [16:29:31] <Py2404k> gg, byebye
1209: [16:29:32] * Py2404k quit ()
1210: [16:29:34] * Shrike_Finland1 has joined #silverstripe
1211: [16:31:54] * Shrike_Finland quit (Ping timeout: 246 seconds)
1212: [16:41:13] * jarr0dsz has joined #silverstripe
1213: [17:01:36] * wmk has joined #silverstripe
1214: [17:11:20] <ss-helper> You will receive an email containing - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102426
1215: [17:41:29] <ss-helper> display calendar on booking engine. - http://www.silverstripe.org/community/forums/general-questions/show/102427
1216: [17:51:11] * Shrike_Finland1 quit (Quit: Leaving.)
1217: [18:10:05] * dionysis has joined #silverstripe
1218: [18:15:05] <dionysis> Hi. i am new to silverstripe and looking for some addons : slideshow, gallery. I have found some in addons sector but looking for the most popular, any suggestions? also some nice and professional theme thx
1219: [18:22:39] * gavro has joined #silverstripe
1220: [18:25:49] * dionysis quit (Ping timeout: 246 seconds)
1221: [18:27:08] * gavro quit (Client Quit)
1222: [19:06:33] * ^pH quit (Read error: Connection reset by peer)
1223: [19:06:47] * ^pH has joined #silverstripe
1224: [19:12:19] * muskie9 quit (Ping timeout: 245 seconds)
1225: [19:15:00] * CodeTrap has joined #silverstripe
1226: [19:21:18] * CodeTrap quit (Remote host closed the connection)
1227: [19:23:20] * CodeTrap has joined #silverstripe
1228: [19:37:28] <ss-helper> Re: [silverstripe-dev] Re: SilverStripe Blog Module - Looking forward and a fresh start - https://groups.google.com/d/msg/silverstripe-dev/m-ZbT8wkhPM/xx7MXus1iE8J
1229: [19:40:09] * joelpittet quit (Remote host closed the connection)
1230: [19:41:52] * joelpittet has joined #silverstripe
1231: [19:42:19] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1232: [19:59:52] * antmas has joined #silverstripe
1233: [20:04:15] * novaweb has joined #silverstripe
1234: [20:08:26] * BPower has joined #silverstripe
1235: [20:12:02] * UndefinedOffset quit (Quit: Leaving.)
1236: [20:20:41] * Stomach has joined #silverstripe
1237: [20:23:14] <antmas> Stomach: so not quite as early as me
1238: [20:23:19] <antmas> tsk tsk
1239: [20:24:19] * novaweb quit (Quit: novaweb)
1240: [20:28:48] * benjhocking quit (Ping timeout: 276 seconds)
1241: [20:34:59] * benjhocking has joined #silverstripe
1242: [20:35:52] * CodeTrap quit (Quit: CodeTrap)
1243: [20:36:47] * Stomach quit (Quit: zzz)
1244: [20:43:48] * CodeTrap has joined #silverstripe
1245: [20:46:59] * Stomach has joined #silverstripe
1246: [20:53:34] <Stomach> antmas I'm a bad kid I'm sorry
1247: [20:57:50] * benjhocking1 has joined #silverstripe
1248: [20:58:32] * DanaeNZ has joined #silverstripe
1249: [20:59:58] * benjhocking quit (Ping timeout: 265 seconds)
1250: [21:03:12] <antmas> Stomach: it's fine.
1251: [21:03:14] <antmas> ... this time
1252: [21:03:30] <Stomach> :(
1253: [21:03:30] * antmas pushes up glasses
1254: [21:05:23] <DanaeNZ> morning all \o
1255: [21:05:38] <antmas> DanaeNZ: o/
1256: [21:05:48] <Stomach> o/ \o
1257: [21:05:54] <DanaeNZ> haha high five
1258: [21:05:55] <Stomach> frog.
1259: [21:05:58] <DanaeNZ> o/\o
1260: [21:06:14] <DanaeNZ> ~o~ wavy arm guy
1261: [21:08:01] <antmas> wait
1262: [21:08:07] <antmas> novaweb is josh k?
1263: [21:08:35] <antmas> I need to keep track of these irc users :|
1264: [21:11:25] * Stomach quit (Quit: zzz)
1265: [21:16:22] * BPower quit (Remote host closed the connection)
1266: [21:17:46] * Ryan-Toast has joined #silverstripe
1267: [21:19:42] * Hailwood has joined #silverstripe
1268: [21:22:58] * CodeTrap quit (Quit: CodeTrap)
1269: [21:24:34] * Stomach has joined #silverstripe
1270: [21:24:49] <Stomach> antmas - its futile
1271: [21:24:58] <DanaeNZ> antmas: I don’t know who anyone is
1272: [21:25:03] <Stomach> novaweb came up to me at the OSOS conf and was like "hey man!"
1273: [21:25:04] <DanaeNZ> who the hell is that Ryan-Toast guy
1274: [21:25:05] <Stomach> i was confused
1275: [21:25:14] <Ryan-Toast> DanaeNZ: wat
1276: [21:25:22] <DanaeNZ> THERE HE IS AGAIN
1277: [21:25:59] <DanaeNZ> Also I petition we burn down he Hauraki breakfast show
1278: [21:26:11] <Ryan-Toast> DanaeNZ: I can still hear it.
1279: [21:26:38] <DanaeNZ> all I hear is Frank Sinatra
1280: [21:26:59] * catcher quit (Quit: Leaving)
1281: [21:32:27] * Azure quit (Ping timeout: 264 seconds)
1282: [21:34:08] <antmas> DanaeNZ: the hooraki show?
1283: [21:34:47] <antmas> Stomach: you're pretty recognisable though. 'That guy with the epic beard and the other guy that does front-end stuff I think'
1284: [21:35:29] * Stomach quit (Quit: zzz)
1285: [21:35:40] <DanaeNZ> antmas: i think you offended him
1286: [21:38:17] <adrexia> <ss23> adrexia: garion says you're not fast enough
1287: [21:38:17] <adrexia> 1158: [20:33:24] <ss23> he says it's pathetic how slow you were to merge that
1288: [21:38:17] <adrexia> 1159: [20:33:28] <ss23> he's raging at you IRL right now
1289: [21:38:21] <adrexia> lame :P
1290: [21:38:27] * zippy has joined #silverstripe
1291: [21:38:42] <adrexia> ok, I'll be faster next time
1292: [21:40:01] <zippy> By default, image fields look like this in the CMS; https://www.dropbox.com/s/kkbf1w55d2k6v5k/Screenshot%202015-05-28%2009.38.59.png?dl=0 basically, un aligned with the other content fields. If I tweak a couple of the css rules I can make it look like https://www.dropbox.com/s/lskkkgdyoamq8uv/Screenshot%202015-05-28%2009.39.49.png?dl=0
1293: [21:40:14] <zippy> which is nicer IMHO, but, is there a class I can just add
1294: [21:40:21] <zippy> I feel like there is a push or some class
1295: [21:40:54] <adrexia> zippy now try it in the sitetree area with preview open
1296: [21:40:56] <zippy> the HTML editor fields are similar
1297: [21:41:17] <adrexia> yep
1298: [21:41:29] <zippy> adrexia: you think space will be an issue?
1299: [21:41:37] <adrexia> html editor fields look a little silly pushed out to the side with the otehrs
1300: [21:41:44] <adrexia> zippy - worse, I know it is ;)
1301: [21:41:56] <adrexia> that's the exact reason it is the way it is
1302: [21:42:30] <adrexia> I spent a good two hours once adjusting all the padding and widths of everything trying to get the upload field to fit
1303: [21:42:35] * UncleCheese has joined #silverstripe
1304: [21:42:42] <adrexia> in the end we just made it match the texteditor fields
1305: [21:42:43] <zippy> mm whats that class name..
1306: [21:42:52] <adrexia> uploadfield
1307: [21:42:55] <adrexia> or somethign
1308: [21:43:02] <Ryan-Toast> zippy: you can use a fieldGroup and set a title to align it with everything else.
1309: [21:43:15] <adrexia> that ^
1310: [21:43:28] <adrexia> in places you have the sapce it's easy enough
1311: [21:43:30] <Ryan-Toast> Great for checkbox fields too.
1312: [21:43:38] <zippy> ... tell me more about this
1313: [21:43:40] <adrexia> I wonder if it's not worth just having a class that can be added...
1314: [21:43:48] <adrexia> like the text editor had
1315: [21:43:53] <adrexia> *has
1316: [21:43:57] <Ryan-Toast> zippy: just put the field in a fieldgroup, then set a title on the fieldgroup
1317: [21:44:10] <adrexia> <Ryan-Toast> Great for checkbox fields too.
1318: [21:44:20] <adrexia> well, the default checkbox is a bit ugly, yeah ;)
1319: [21:44:29] <Ryan-Toast> adrexia: Meh :P
1320: [21:44:45] <Ryan-Toast> People always fight about styling checkbo/radio fields.
1321: [21:44:50] <adrexia> I like [checkbox][label] myself
1322: [21:44:58] <adrexia> true that
1323: [21:45:29] <adrexia> but I think doing [blankspace][checkbox][label] is the worst of both worlds
1324: [21:45:48] <Ryan-Toast> what do you mean by blankspace?
1325: [21:46:03] <adrexia> it pushes the whole thing to line-up with the other fields
1326: [21:46:20] <adrexia> so where a label would usually be there is just space
1327: [21:46:24] <Ryan-Toast> adrexia: I only do it if I group the checkboxes.
1328: [21:46:32] <adrexia> ahh yep
1329: [21:46:47] <adrexia> I do it often
1330: [21:46:50] <zippy> Ryan-Toast: I don't think it likes being in a group; https://www.dropbox.com/s/g52d25i0hgg3enl/Screenshot%202015-05-28%2009.46.41.png?dl=0
1331: [21:47:01] <adrexia> checkboxes just don't look good with other fields
1332: [21:47:05] <Ryan-Toast> zippy: rofl.
1333: [21:47:17] <Ryan-Toast> zippy: I remember doing something. Let me give it a try.
1334: [21:47:20] <adrexia> zippy - add a class to it, style the class
1335: [21:47:31] <adrexia> then you can fix it for your use cases
1336: [21:47:38] <zippy> yea
1337: [21:47:42] <zippy> I think that is what we'll do
1338: [21:47:43] <adrexia> it's a tricky field
1339: [21:47:47] <adrexia> much much too big
1340: [21:47:50] <Ryan-Toast> adrexia: I do it for this use-case: http://i.imgur.com/RKJcDIP.png
1341: [21:48:00] <adrexia> I think it does too much really
1342: [21:48:10] <adrexia> It might need to be redesigned a bit
1343: [21:48:27] <adrexia> Ryan-Toast, ahh right
1344: [21:48:32] <Ryan-Toast> There was talks of a WordDerp-like media inserter.
1345: [21:48:40] <adrexia> I'm allergic to multicolumed checkboxes
1346: [21:48:56] <Ryan-Toast> adrexia: I think it’s handy for grouped stuff like that.
1347: [21:48:57] <adrexia> becuase I'm lazy and only want to read down the page for fieldsets ;)
1348: [21:49:28] <adrexia> I'd rather a longer form that I can read in one direction I guess
1349: [21:52:11] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1350: [21:52:17] <antmas> multicolumed checkboxes just never look good
1351: [21:53:22] <adrexia> I'm pretty high up in the lazy stakes for web users, I think.
1352: [21:53:40] <adrexia> I really don't want to do anythign that feels like it takes effort
1353: [21:53:42] <adrexia> ;)
1354: [21:54:08] <antmas> that's like my life in local govt it
1355: [21:54:16] <antmas> make it so staff have to do as little as possible
1356: [21:54:20] <antmas> :|
1357: [21:54:28] <adrexia> put first name next to last name and I'll probably decide that I don't really need to fill in the form
1358: [21:54:39] * zippy quit (Ping timeout: 265 seconds)
1359: [21:55:14] <antmas> lol http://i.imgur.com/ZbFdS2u.gifv
1360: [21:55:34] <adrexia> antmas - I sort of believe in that as a life philosophy. Make it so your users have to do as little as possible, and what they have to do is critical.
1361: [21:55:50] <adrexia> lol
1362: [21:55:52] * micmania1 has joined #silverstripe
1363: [21:56:00] <adrexia> so wrong
1364: [21:56:30] <antmas> adrexia: I like to balance that with letting them have 'automated' features, but still require them to do things 'manually' so that the underlying concept of what they're doing is still obvious
1365: [21:56:34] <antmas> you know?
1366: [21:56:42] <adrexia> yep
1367: [21:56:48] <antmas> hard to describe
1368: [21:56:49] * Stomach has joined #silverstripe
1369: [21:56:52] <adrexia> I think you can make complex things fun to do
1370: [21:57:05] <adrexia> they get the information tehy need, as and when tehy need it
1371: [21:57:21] <adrexia> ..actually digital ocean is a good example of that
1372: [21:57:34] <antmas> like if you made things alsmot too easy, users have the potential to deem the task as 'less important'
1373: [21:57:48] <adrexia> antmas I'm unsure that's true
1374: [21:58:01] <adrexia> if you don't need a user at all, then automate it
1375: [21:58:33] <adrexia> easy + fun tasks make it to the top of my to do list
1376: [21:58:39] <antmas> well, I'm thinking more in lines of keeping the user aware of data
1377: [21:58:47] <adrexia> easy monotonous tasks go straight to the bottom
1378: [21:58:54] * adrexia nods
1379: [21:58:57] <antmas> oh totally agree
1380: [21:58:59] * zippy has joined #silverstripe
1381: [21:59:00] <adrexia> give them pretty metrics
1382: [21:59:27] <adrexia> everyone likes pretty metrics
1383: [21:59:32] <antmas> mm
1384: [21:59:39] <adrexia> I think it's why analytics are so popular
1385: [21:59:47] <adrexia> nothign at all to do with need
1386: [21:59:51] <antmas> I'd say 60% of my job is programming reports of data
1387: [21:59:51] <adrexia> :D
1388: [22:00:03] * adrexia nods
1389: [22:00:35] <antmas> I hate it, but it's a good way to keep users happy
1390: [22:00:42] <antmas> tool*
1391: [22:01:10] <antmas> or at least, their managers :P
1392: [22:03:17] <zippy> doing the ?flush in the cms then clicking around the grid is annoying eh! :)
1393: [22:03:26] <zippy> I should flush on the command line, much faster
1394: [22:06:49] * Stomach quit (Quit: zzz)
1395: [22:09:07] <adrexia> antmas see it could be really fun
1396: [22:09:21] <adrexia> if you liked playing with javascript
1397: [22:09:52] * Stomach has joined #silverstripe
1398: [22:12:15] <micmania1> zippy: imagine a world where you didn’t even have to flush :p
1399: [22:12:51] <ss-helper> Subscribe to blog via email - http://www.silverstripe.org/community/forums/blog-module-forum/show/102428
1400: [22:14:19] <antmas> general php question
1401: [22:14:24] <antmas> say you have a project
1402: [22:14:39] <antmas> and you reference another project within that project
1403: [22:14:55] <antmas> and those projects have the same name
1404: [22:15:02] <antmas> how do you handle that?
1405: [22:15:44] <antmas> or is that not something you 'do' in PHP?
1406: [22:23:09] * novaweb has joined #silverstripe
1407: [22:25:21] * Guest60806 quit (Ping timeout: 240 seconds)
1408: [22:25:49] * babak quit (Quit: Connection closed for inactivity)
1409: [22:27:56] <ss-helper> Trouble with homepagefordomain module setup - http://www.silverstripe.org/community/forums/all-other-modules/show/102430
1410: [22:27:56] <ss-helper> TRouble with homepagefordomain module setup - http://www.silverstripe.org/community/forums/all-other-modules/show/102429
1411: [22:28:20] <zippy> micmania1: I almost have that :)
1412: [22:28:30] * Azure has joined #silverstripe
1413: [22:28:34] <micmania1> zippy: really? how?
1414: [22:29:00] <zippy> ;-) we'll have to see what this competition is first... might win a prize
1415: [22:30:28] * antmas quit (Ping timeout: 246 seconds)
1416: [22:31:33] <simon_w|air> zippy, I also have that!
1417: [22:31:43] <simon_w|air> It involves using something that's actually performant :p
1418: [22:32:04] <zippy> :)
1419: [22:39:39] <zippy> whats an acceptable / reliable way to bench mark something? For example if you wanted to benchmark SS 3.1 v SS 3.2. Obviously the only thing you want to change is the code base, but with an OS there is so many other things going on as well. Would you; test A 3 times in a row, test B 3 times in a row then test A 3 times in a row again and finally test B 3 times in a row? Would simply testing A 50 times and then B 50 times be fine...
1420: [22:40:37] * antmas has joined #silverstripe
1421: [22:42:26] * Stomach quit (Quit: zzz)
1422: [22:47:44] * wmk quit (Ping timeout: 272 seconds)
1423: [22:49:50] * shaunhunter has joined #silverstripe
1424: [22:51:10] * micmania1 quit (Quit: micmania1)
1425: [22:51:20] <shaunhunter> hey all, just wondering if anyone has ever integrates silverstripe-opauth (https://github.com/BetterBrief/silverstripe-opauth) and had much luck with it?
1426: [22:51:35] <shaunhunter> and more specifically, using it alongside the memberprofiles module
1427: [22:51:36] * mahfuz has joined #silverstripe
1428: [22:52:10] * Azure quit (Ping timeout: 265 seconds)
1429: [22:52:12] * MichaelHabib quit (Remote host closed the connection)
1430: [22:57:48] <antmas> lol wtf http://www.stuff.co.nz/life-style/food-wine/food-news/68924470/wasp-found-in-whittakers-honey-chocolate
1431: [22:59:26] <MichalKleiner> antmas: about the project including.. you can alias namespaces I think.. like use \a\b\c as d..
1432: [22:59:51] <MichalKleiner> but a more detailed description on how the project is same or different would help
1433: [23:00:11] <MichalKleiner> there could be something for Composer too
1434: [23:00:15] <MichalKleiner> to alias a package name
1435: [23:00:22] <MichalKleiner> but the code remains obviously
1436: [23:00:44] <MichalKleiner> zippy: https://httpd.apache.org/docs/2.2/programs/ab.html
1437: [23:00:50] <MichalKleiner> even 1000 times..
1438: [23:01:00] <zippy> MichalKleiner: yeap, but whats the process
1439: [23:01:11] <zippy> do one, then the other, then do the first one again
1440: [23:01:19] <zippy> or just 1 100000 times and then the other 100000 times
1441: [23:01:27] <MichalKleiner> I don't think doing A and B and A and B again will be different to A A B B
1442: [23:01:42] <MichalKleiner> if it doesn't affect the data used
1443: [23:01:42] <antmas> MichalKleiner: just comparing it to how I do it in C#
1444: [23:01:59] <zippy> might need to test the tests :)
1445: [23:02:04] <antmas> Can't reference a project with the same name and exepect to use it's resources ... just doesn't like it at run time
1446: [23:02:10] <MichalKleiner> and who's watching the watcher?
1447: [23:03:59] * Azure has joined #silverstripe
1448: [23:04:19] * Stomach has joined #silverstripe
1449: [23:04:55] * travis-ci has joined #silverstripe
1450: [23:04:56] <travis-ci> silverstripe/silverstripe-framework#4878 (3.1.13 - a978b89 : Damian Mooyman): The build was broken.
1451: [23:04:56] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/c1d500dedc0b...a978b891e13d
1452: [23:04:56] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/64331609
1453: [23:04:56] * travis-ci has left #silverstripe
1454: [23:05:16] * DanaeNZ has left #silverstripe
1455: [23:05:25] * DanaeNZ has joined #silverstripe
1456: [23:05:30] * Stomach quit (Client Quit)
1457: [23:06:19] * Colin[pi] has joined #silverstripe
1458: [23:06:34] <Colin[pi]> morning all o/
1459: [23:06:48] <DanaeNZ> yoyo
1460: [23:07:03] <antmas> Colin[pi]: o/ coco
1461: [23:07:22] <antmas> Colin[pi]: so late
1462: [23:07:26] <antmas> -._
1463: [23:07:29] <Colin[pi]> what, 7 mins? :P
1464: [23:07:34] <antmas> wtf is that
1465: [23:07:54] <antmas> 7 mins worth of code
1466: [23:07:57] <antmas> down the drain
1467: [23:08:03] * antmas sighs super heavily
1468: [23:08:15] <Colin[pi]> I have a cold too blarg
1469: [23:08:23] * Colin[pi] would rather be in bed
1470: [23:08:47] <zippy> antmas: https://www.youtube.com/watch?v=fbm6NqFFSU8 ?
1471: [23:09:06] <antmas> :P
1472: [23:16:26] * joelpittet quit (Remote host closed the connection)
1473: [23:18:24] * Stomach has joined #silverstripe
1474: [23:19:47] * micmania1 has joined #silverstripe
1475: [23:20:10] * spronk has joined #silverstripe
1476: [23:21:12] <zippy> shaunhunter: spronk was discussing oauth yesterday, he might have plaied with silverstripe-opauth
1477: [23:21:26] <spronk> hmm?
1478: [23:21:35] <zippy> [10:51:20] <shaunhunter> hey all, just wondering if anyone has ever integrates silverstripe-opauth (https://github.com/BetterBrief/silverstripe-opauth) and had much luck with it?
1479: [23:22:06] * joelpittet has joined #silverstripe
1480: [23:24:33] <shaunhunter> currently have user accounts set up with frontend registration (utilising memerprofiles for additional fields), but seeing if we can tie in oauth for facebook/google/twitter. not much documentation on integration
1481: [23:27:10] <spronk> hmm
1482: [23:27:14] <spronk> haven't played with opauth
1483: [23:32:10] * UncleCheese has joined #silverstripe
1484: [23:32:17] <UncleCheese> is there anything to do in Mount Wellington?
1485: [23:34:01] <spronk> is there a burgerfuel there?
1486: [23:35:31] <Ryan-Toast> UncleCheese: Well it’s close to the city, so you could just do city stuff.
1487: [23:35:44] <UncleCheese> nice
1488: [23:35:51] <UncleCheese> is there a zoo in auckland?
1489: [23:36:03] <Colin[pi]> UncleCheese: there's an SS office..?
1490: [23:36:06] <Colin[pi]> if that counts?
1491: [23:36:13] <UncleCheese> been there done that
1492: [23:36:17] <Colin[pi]> ;P
1493: [23:38:01] <antmas> UncleCheese: do a segway tour
1494: [23:38:04] <antmas> :D
1495: [23:38:05] <simon_w|air> UncleCheese, there's MOTAT
1496: [23:38:15] <simon_w|air> Screw the zoo :p
1497: [23:39:16] <Colin[pi]> MOTAT?
1498: [23:39:34] <simon_w|air> museum of transport and technology
1499: [23:40:01] <antmas> boring
1500: [23:40:20] <simon_w|air> For a channel that talks so much about cars, that's an interesting response :p
1501: [23:41:21] <antmas> yeah but isn't all about kiwi vehicles and fucking trains?
1502: [23:41:21] <Ryan-Toast> motat sucks.
1503: [23:41:50] <Ryan-Toast> UC: there are some great restaurants on the viaduct.
1504: [23:42:10] <Ryan-Toast> Touristy stuff is just Skycity, and the zoo pretty much.
1505: [23:42:43] <antmas> omg
1506: [23:42:53] <antmas> people that eat apples loudly
1507: [23:43:01] <DanaeNZ> antmas: *shudders*
1508: [23:43:13] <DanaeNZ> UncleCheese: there’s rock climbing
1509: [23:43:19] <antmas> are you fucking kissing that apple?
1510: [23:43:23] <antmas> :|
1511: [23:43:25] <UncleCheese> hmm
1512: [23:43:30] <UncleCheese> i'll be with my 3-year-old son
1513: [23:43:35] <UncleCheese> so...........
1514: [23:43:36] <UncleCheese> zoo?
1515: [23:43:42] <antmas> zoo would be fun for him
1516: [23:43:50] <UncleCheese> how does it compare to welly's?
1517: [23:44:17] <DanaeNZ> 3 yr olds can still rock climb
1518: [23:44:29] <DanaeNZ> heheh
1519: [23:44:48] <simon_w|air> SkyCity might be off limits though
1520: [23:44:51] <DanaeNZ> uhghghghg what do you guys do when a repo you want is not in composer
1521: [23:44:57] <DanaeNZ> and you require it for your module
1522: [23:45:00] <DanaeNZ> i mean
1523: [23:45:03] <DanaeNZ> not in packagist
1524: [23:45:07] <DanaeNZ> just on github
1525: [23:45:07] <simon_w|air> DanaeNZ, celebrate :p
1526: [23:45:22] <DanaeNZ> simon_w|air: noooooo
1527: [23:45:30] <simon_w|air> Welcome to submodules
1528: [23:45:43] <DanaeNZ> i swore i would never touch submodules again
1529: [23:46:16] <DanaeNZ> i forget how it used to be done
1530: [23:46:52] <simon_w|air> git submodule add path/to/stick/it git://goo/ber.git
1531: [23:47:00] <simon_w|air> git submodule update --init --recursive
1532: [23:47:19] <DanaeNZ> simon_w|air: but for my module?
1533: [23:47:43] <simon_w|air> Yeah, you can stick it in there
1534: [23:47:51] * Stomach quit (Quit: zzz)
1535: [23:48:03] <simon_w|air> Then complain about github when its archives don't include submodules
1536: [23:48:10] * novaweb quit (Ping timeout: 265 seconds)
1537: [23:48:59] * babak has joined #silverstripe
1538: [23:55:21] <mahfuz> Good Morning. Could anyone help me out with the code here please - http://sspaste.com/paste/show/556658f37b17b I am using it in a custom template for a Form. Why the loop with $Options is not showing output?
1539: [23:56:15] * UncleCheese quit (Remote host closed the connection)
1540: [23:57:44] * Stomach has joined #silverstripe

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