#silverstripe IRC Log

IRC log for 7 November 2013

Logging sponsored by you? Get in touch!

All timestamps are in UTC.

1: [00:01:00] <antmas> HATE having to wait for carriers to test that crap
2: [00:01:44] <unsignedint> carriers should stop implementing their own stuff and just trust google
3: [00:02:02] <antmas> speaking of sd cards, do you really need class 10 for phones?
4: [00:02:23] <unsignedint> I wouldnt think so if youre just using them for music etc
5: [00:02:38] <Colin[pi]> class 10 is just for HD video and stuff, right?
6: [00:03:00] <guzzlefry> simon_w: encryptors.yml I'm guessing? Should I just copy that over to /mysite/_config/ and add onto it?
7: [00:03:15] <simon_w> You just add to the array
8: [00:03:28] <antmas> Colin[pi]: yeah probably
9: [00:03:40] <antmas> pretty much never watch videos on my phone besides youube
10: [00:03:42] <guzzlefry> okay, I'll keep digging.
11: [00:03:44] <antmas> youtube*
12: [00:03:49] <antmas> just music really
13: [00:06:05] <Colin[pi]> remember when internet video looked like crap and tv was amazing?
14: [00:06:10] <Colin[pi]> now it's the opposite
15: [00:06:15] <Colin[pi]> for our free to air anywya
16: [00:06:18] <Colin[pi]> *anyway
17: [00:08:27] <EasyCo> Jesus, TSLA is taking a pounding
18: [00:09:12] <unsignedint> Colin[pi]: the dialup days right? I used to spend 2 weeks downloading a movie
19: [00:09:16] <Colin[pi]> lol
20: [00:09:49] <unsignedint> and it would be a shitty cam divx encode
21: [00:09:54] * chillu quit (Quit: chillu)
22: [00:10:43] <antmas> yeah it took me 24 days to download LoTR
23: [00:10:45] <antmas> lol
24: [00:11:01] <guzzlefry> fsck
25: [00:11:03] <AlphaCactus> 24 days... netflix can send it in like 2
26: [00:11:08] <guzzlefry> Don't know why this is so confusing to me. :P
27: [00:11:21] <antmas> AlphaCactus: yeah, netflix is amazing
28: [00:11:22] <antmas> love it
29: [00:11:50] <unsignedint> lucky bastards who get netflix
30: [00:11:58] <AlphaCactus> Netflix makes ripping movies easy and/or unnecessary.
31: [00:11:59] <unsignedint> I used to have movieshack
32: [00:12:11] <unsignedint> could get around ~10 movies a month
33: [00:12:25] <unsignedint> postage delays were a pain though
34: [00:12:59] * guci0 quit (Ping timeout: 250 seconds)
35: [00:17:32] <EasyCo> Is there a $ModuleDir type varaible?
36: [00:18:03] <guzzlefry> Config::inst()->update("PasswordEncryptor", "mysql", array("mysql", "PasswordEncryptor_MySQLPassword")); What am I doing wrong?
37: [00:20:06] <antmas> unsignedint: you in NZ?
38: [00:20:35] <antmas> you can get netflix anywhere...
39: [00:29:15] <guzzlefry> how in the hell do I add onto an array in the Config system?
40: [00:29:19] <EasyCo> So if you have an images folder in your module and you want to reference that image from your module template, is there a base path like $ThemeDir built in or do you need to register a variable with the base path yourself?
41: [00:30:37] <unsignedint> antmas: sure am
42: [00:31:09] <AlphaCactus> EasyCo: I think you need your own var
43: [00:31:26] <unsignedint> antmas: you can get it in NZ but you have to proxy through a US ip address
44: [00:31:46] <unsignedint> id rather just pirate until the assholes at the movie companies stop having retarded licensing restrictions
45: [00:35:59] <guzzlefry> oh, I think I did it: Config::inst()->update("PasswordEncryptor", "encryptors", array("mysql" => array("PasswordEncryptor_MySQLPassword" => "mysql")));
46: [00:38:43] <irogue23> unsignedint: in the case of Netflix, it's SKY stopping them from starting up here
47: [00:39:02] <irogue23> they've basically bought up exclusive rights to ALL OF THE THINGS
48: [00:39:08] <irogue23> and are extremely douchey about it
49: [00:39:09] <unsignedint> corporate bastards always trying to protect their monopolies and bottom line
50: [00:40:34] <Pyromanik> fucking console gamers.
51: [00:40:39] <AlphaCactus> whats SKY
52: [00:40:42] <Pyromanik> 'Wow the new battlefield is pretty great"
53: [00:41:01] <guzzlefry> ss23: I DID ITS
54: [00:41:03] <Pyromanik> AlphaCactus: think like "cable" but by satellite and actually a providers name (because it's a monopoly)
55: [00:41:04] * guzzlefry goes crazy.
56: [00:41:32] <AlphaCactus> oh that sky. how does sky block netflix?
57: [00:41:35] <Pyromanik> tldr, SKY is subscription TV.
58: [00:41:50] <unsignedint> AlphaCactus: the company owns the rights to all the shows so other companies cant broadcast them
59: [00:42:01] <Pyromanik> AlphaCactus: probably something to do with business politics.
60: [00:42:28] <Pyromanik> unsignedint: wait, I thought you were in the US?
61: [00:42:36] <unsignedint> Pyromanik: lol no, im in NZ. Napier
62: [00:42:40] <Pyromanik> rofl
63: [00:42:52] * Pyromanik wonders why he though unsignedint was from the USA.
64: [00:42:56] * Pyromanik shrugs
65: [00:43:07] <unsignedint> is it coz of my murrican accent?
66: [00:43:12] <AlphaCactus> less crack 4 u
67: [00:43:52] <AlphaCactus> auy! dun merk fuhn uv us ammericuns
68: [00:44:53] <irogue23> fuuuuu
69: [00:45:00] <guzzlefry> guys
70: [00:45:05] * unsignedint hands AlphaCactus a gun and expects him to say 'FUCK YEAH 'MURRICA *bang* *bang*'
71: [00:45:05] <guzzlefry> stop watching South Park
72: [00:45:07] <irogue23> i thought i was being so smart this morning, buying lunch at the same time i bought breakfast
73: [00:45:12] <ss23> guzzlefry: l33t, nice
74: [00:45:30] <irogue23> but now i'm gonna go back to the shops anyway to get a drink
75: [00:45:33] <ss23> guzzlefry: Just FYI, using the mysql passowrd encryptor is bad, like, "holy shit why bother, just store it in plaintext" bad.
76: [00:45:55] <AlphaCactus> Hey thar boy. Gimme dat gun! Yeeehaw
77: [00:45:59] <guzzlefry> ss23: This is for http auth crap, don't care.
78: [00:46:07] <guzzlefry> Client was using plaintext before. :P
79: [00:46:12] * unsignedint stores passwords in plaintext
80: [00:46:19] <guzzlefry> YOU WHAT
81: [00:46:22] <Pyromanik> irogue23: yeah don't be smart. It is excuse to get up and walk.
82: [00:46:24] <unsignedint> sue me, when an asshole asks what their password is its easy to tell them
83: [00:46:48] <unsignedint> also theres nothing really important stored anyway
84: [00:46:48] <ss23> guzzlefry: Don't care, ur lame
85: [00:46:57] <guzzlefry> ss23: haters gonna hate
86: [00:46:59] <ss23> guzzlefry: If you want, I'll write a blog post on how to do it properly when/if I do it
87: [00:47:02] <ss23> lol
88: [00:47:12] <Pyromanik> unsignedint: rofl
89: [00:47:13] <guzzlefry> ss23: You should.
90: [00:47:13] <AlphaCactus> passwords are sooo last century
91: [00:47:17] <guzzlefry> also
92: [00:47:24] <guzzlefry> ss23: Lecture unsignedint before me. :P
93: [00:47:34] <Pyromanik> when some arsehole asks me what their password is I go "no fucking idea, that's 1/4 hr charge, thanks for your call."
94: [00:47:54] <ss23> Whats this, you have a bug on your site?
95: [00:48:00] <ss23> rm -rf /tmp/silverstripe*
96: [00:48:01] <ss23> fixed.
97: [00:48:03] <AlphaCactus> "Go click the i'm a dumbass and forgot my password link under the login form"
98: [00:48:05] <guzzlefry> I have a little book full of passwords.
99: [00:48:17] <Pyromanik> I just remember all my passwords.
100: [00:48:32] <guzzlefry> Mine are like 15 characters long with no pattern. :P
101: [00:48:35] <Pyromanik> I turn that "make my derp browser remember my derp password because I'm derp"
102: [00:48:38] <Pyromanik> off
103: [00:48:40] <Pyromanik> so then I remember.
104: [00:48:45] <ss23> Pyromanik: That sounds like a good sign you're a) using a predictable scheme for your passwords, or b) reusing passwords
105: [00:48:48] <Pyromanik> guzzlefry: oh, for that we have google docs :P
106: [00:48:52] <ss23> Either way, it's a hell of a lot worse than writing them down.
107: [00:49:08] <Pyromanik> nah
108: [00:49:11] <ss23> nah?
109: [00:49:15] <Pyromanik> because I remember them.
110: [00:49:19] <ss23> no
111: [00:49:20] <AlphaCactus> derp chrome basically stores them in plain text. you can go look at stoed password in chrome without any authentication
112: [00:49:21] <Pyromanik> yes
113: [00:49:29] <Pyromanik> the fuck is the point in a password you can't remember?
114: [00:49:40] <AlphaCactus> security from yourself
115: [00:49:45] <Pyromanik> AlphaCactus: every browser does. How else can it put it in the form?
116: [00:49:47] <guzzlefry> If it's hard to remember then it's sometimes hard to guess. :P
117: [00:50:04] <ss23> Pyromanik: Do you have a new randomly generated password for every site you use?
118: [00:50:14] <ss23> It is worse to reuse passwords than it is to write them down.
119: [00:50:19] <ss23> That is the reason "I just remember my passwords" is bad.
120: [00:50:25] <AlphaCactus> Pyromanik: indeed. but you can do it without hacking the page or going to a page. you can seee them all.
121: [00:50:26] <Pyromanik> ss23: ZyldujEkKad0
122: [00:50:42] <Pyromanik> old server password. I still remember it because I typed it every day for 2 years.
123: [00:50:51] <ss23> Pyromanik: And? That doesn't answer my question.
124: [00:50:51] <guzzlefry> ss23: I have a few characters variation between my passwords that I don't care too much about. >_>
125: [00:50:58] <Pyromanik> ss23: yes.
126: [00:51:07] <ss23> Pyromanik: I presume oyu have maybe 30+ accounts easily? (I have 200+ stored in my manager)
127: [00:51:15] <ss23> If you can remmeber that many generated passwords for every account you've signed up for
128: [00:51:21] <ss23> You should go talk to a university
129: [00:51:27] <ss23> Cause that is soem ungodly memory skills.
130: [00:51:44] <Pyromanik> ss23: I fucking hate needlessly signing up for shit, so it doesn't happen often.
131: [00:51:50] <Pyromanik> I also have a tier system for passwords.
132: [00:51:53] <ss23> lol
133: [00:51:55] <ss23> I fucking knew it
134: [00:51:58] <ss23> You reuse the shit out of your passwords.
135: [00:52:07] * Ryan-Toast quit (Quit: Ryan-Toast)
136: [00:52:07] <Pyromanik> shit I don't really care about get pattern generator passwords.
137: [00:52:17] <irogue23> so
138: [00:52:20] <irogue23> how about dat adobe
139: [00:52:20] <guzzlefry> hax
140: [00:52:24] <irogue23> not hashing their passwords
141: [00:52:30] <Pyromanik> irogue23: meh?
142: [00:52:31] <guzzlefry> I thought they did?
143: [00:52:32] <Pyromanik> it's adobe.
144: [00:52:35] <ss23> irogue23: looooool
145: [00:52:37] <ss23> CBC CBC
146: [00:52:37] <ss23> idek
147: [00:52:45] <Pyromanik> someone thought they were good engineers and was surprised when they found out they're not?
148: [00:52:45] <ss23> like
149: [00:52:46] * spronk2 has joined #silverstripe
150: [00:52:48] <Pyromanik> LOL
151: [00:52:53] <irogue23> guzzlefry: nope, they were encrypted, all with the same key
152: [00:52:59] <Pyromanik> lol
153: [00:53:04] <ss23> Someone had to sit there and think "We shouldn't store our passwords in plaintext"
154: [00:53:10] <ss23> Then, they had to think "LETS USE 3DES"
155: [00:53:11] <ss23> like
156: [00:53:12] <irogue23> and since the hackers also got a dump of all their code etc., highly likely they have the key
157: [00:53:12] <ss23> how the fuck.
158: [00:53:57] <guzzlefry> wait
159: [00:54:10] <guzzlefry> ss23: You're the security guy, not the doc maintainer!
160: [00:54:15] <Pyromanik> they totally should have used a revolving hex hydra morphing algorithm.
161: [00:54:25] <Pyromanik> WOW, science! thanks Swordfish!
162: [00:54:33] <Pyromanik> you put it together like a cube!
163: [00:54:40] <irogue23> relevant xkcd: http://xkcd.com/1286/
164: [00:54:51] <ss23> Ah, this building
165: [00:54:57] <ss23> It's like a constant game of "walking or earthquake"
166: [00:55:09] <simon_w> Gah dangit, I didn't use a generator for my adobe account
167: [00:55:11] <simon_w> Stupid old logins
168: [00:55:12] <ss23> lol
169: [00:55:18] <ss23> simon_w: want me to try find out your password? :D
170: [00:55:36] <irogue23> yeah, the data dumps are on the torrents
171: [00:55:53] <ss23> I have the logins at home if anyone wants me to check for them
172: [00:56:23] <ss23> I was going to write a web form thing that let you put in your email and it tells you some stats (e.g. your password if it knows it, commonness of passowrd, guessed length, password hints, etc)
173: [00:56:45] <irogue23> Adobe also decribed the customer credit card data and other PII (Personally Identifiable Information) that was stolen in the same attack as "encrypted."
174: [00:56:48] <irogue23> And, as fellow Naked Security writer Mark Stockley asked, "Was that data encrypted with similar care and expertise, do you think?
175: [00:57:16] <guzzlefry> I thought they had to get audited for that PCI-DSS compliance thing?
176: [00:57:21] <guzzlefry> to store card info
177: [00:57:34] <ss23> PCI complaiance means literally nothing in terms of real world
178: [00:57:35] <ss23> Like
179: [00:57:37] <ss23> Literally
180: [00:57:38] <guzzlefry> oh
181: [00:57:42] <guzzlefry> hm
182: [00:57:49] <guzzlefry> ss23: Wouldn't they have the keys to decrypt anyway?
183: [00:57:50] <Pyromanik> http://xkcd.com/792/
184: [00:57:57] <ss23> guzzlefry: Who is "they", Adobe?
185: [00:58:10] <guzzlefry> the people that managed to get that level of access into their Adobe's system :P
186: [00:58:11] <guzzlefry> haxors
187: [00:58:14] <ss23> Yeah, guzzlefry
188: [00:58:15] <irogue23> PCI is self-audited. you basically sign a piece of paper saying "i swear i'm doing everything right!"
189: [00:58:15] <ss23> Well
190: [00:58:17] <Pyromanik> my email address is probably in that list
191: [00:58:17] <ss23> Probably
192: [00:58:26] <ss23> :(
193: [00:58:30] <Pyromanik> but it's only going to be my address for 3 more weeks
194: [00:58:31] <ss23> I don't have the files with me at work to check
195: [00:58:46] * Pyromanik shrugs
196: [00:58:49] <Pyromanik> meh
197: [00:58:57] <Pyromanik> not my credit card.
198: [00:59:06] <Pyromanik> nor my password
199: [01:01:23] <Colin[pi]> nor my axe
200: [01:01:46] <irogue23> nor my penis
201: [01:02:48] <unsignedint> nor my rubber chicken
202: [01:02:57] <unsignedint> nor my squeaky horn
203: [01:03:20] <unsignedint> lord of the burger rings what?
204: [01:04:27] <ss23> I have a weird bug... a live site isn't displaying the documents attached to a page
205: [01:04:30] <ss23> $val .= SSViewer::execute_template('Documents', $scope->getItem(), array());
206: [01:04:37] <ss23> oh
207: [01:04:46] <ss23> I thought that said "exclude template", not "execute template"
208: [01:04:52] * Ryan-Toast has joined #silverstripe
209: [01:04:55] <ss23> Either way, that template doesn't seem to be being included on some pages, which cnofuses me.
210: [01:06:46] <ss23> or something
211: [01:06:47] <ss23> wtf
212: [01:08:34] <ss23> blargh
213: [01:16:42] <ss23> guis
214: [01:16:44] <ss23> :(
215: [01:16:48] <ss23> $this->record...
216: [01:16:50] <ss23> is an array
217: [01:16:51] <ss23> not a class
218: [01:16:51] <ss23> ;_;
219: [01:16:54] <ss23> how 2 get the object
220: [01:17:31] <guzzlefry> ss23: $this being the controller?
221: [01:17:36] <ss23> yeah
222: [01:17:41] <guzzlefry> $this->data();
223: [01:17:43] <ss23> ty
224: [01:17:47] <guzzlefry> I think. :P
225: [01:17:54] <ss23> yeah
226: [01:17:54] <ss23> :D
227: [01:18:01] <guzzlefry> yay
228: [01:20:51] <ss23> edit on live like a boss.
229: [01:21:20] <antmas> unsignedint: re-netflix
230: [01:21:35] <unsignedint> hmm?
231: [01:21:39] <antmas> yeah you just need a vpn, it works very well
232: [01:22:03] <unsignedint> good to know
233: [01:22:18] <unsignedint> im still going to pirate out of principle, I shouldnt have to use a VPN
234: [01:22:40] <antmas> I have it setup so I generate a false gmail account every week and sign up to unblockus, takes the dns addresses and email myself with them
235: [01:22:46] <unsignedint> region-specific licensing restrictions are retarded and im not going to pay money to support them
236: [01:22:48] <antmas> :) saving $5 a month lol
237: [01:22:59] <unsignedint> haha nice :)
238: [01:23:15] * nyeholt has joined #silverstripe
239: [01:28:03] * travis-ci has joined #silverstripe
240: [01:28:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1506 (3.1 - 252b6e5 : Damian Mooyman): The build passed.
241: [01:28:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9d550f893847...252b6e53ac8e
242: [01:28:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13611801
243: [01:28:04] * travis-ci has left #silverstripe
244: [01:30:36] <antmas> trouble is it SUCKS on xbox
245: [01:30:45] <antmas> awesome on pc/ipad
246: [01:32:13] <antmas> xero just reached 5 billion
247: [01:32:15] <antmas> :O
248: [01:32:24] * Motoservo has joined #silverstripe
249: [01:33:07] <unsignedint> wow
250: [01:33:21] <unsignedint> I like Xero only because it has an API
251: [01:33:30] <antmas> 1 billion in less than 2 days
252: [01:33:33] <antmas> insane
253: [01:33:45] <unsignedint> venture capital raising round?
254: [01:33:56] <zippy__> nope share price just going up
255: [01:34:28] <zippy__> amazing how it's gone from $17~ a share to $37 now -> https://www.nzx.com/markets/NZSX/securities/XRO
256: [01:34:54] <antmas> they're targeting $47.5 or so?
257: [01:34:56] <zippy__> crazy how it's now valued at more than all but 1 other nz company.... mental, for software
258: [01:35:14] <zippy__> antmas: some stock market people think it will hit that much...
259: [01:35:16] <antmas> how bloody risky is that now
260: [01:35:49] <unsignedint> when will the business types learn...
261: [01:36:00] * unsignedint waits for a rcession-style bubble burst
262: [01:36:04] <unsignedint> recession*
263: [01:36:22] <antmas> I would have sold all mine probably around the $30 mark
264: [01:36:51] <unsignedint> in other news, 1 BTC is $NZ 319
265: [01:36:54] <unsignedint> I sold mine at $160
266: [01:36:57] <unsignedint> I am gutted
267: [01:37:01] <zippy__> lol doh
268: [01:37:05] <antmas> bitcoin?
269: [01:37:08] <unsignedint> yeah
270: [01:37:14] <antmas> I have 1.5 now :)
271: [01:37:21] <unsignedint> bitnz.com is where im trading
272: [01:37:27] <unsignedint> im waiting for it to go back to !$110
273: [01:37:32] <unsignedint> I may be waiting for a while
274: [01:37:34] <Pyromanik> guys guys guys guys guys (no catcher, don't get excited)
275: [01:37:38] * travis-ci has joined #silverstripe
276: [01:37:38] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#646 (3.1 - f9c3f4d : Damian Mooyman): The build was fixed.
277: [01:37:38] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/77ef09e857b8...f9c3f4d1ccc5
278: [01:37:38] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/13611811
279: [01:37:38] * travis-ci has left #silverstripe
280: [01:37:45] <Pyromanik> http://sspaste.com/paste/show/527aecd626631
281: [01:38:07] <unsignedint> whats that?
282: [01:38:15] <Pyromanik> A slugger!
283: [01:38:23] <antmas> THLUG LI4E
284: [01:38:26] <Pyromanik> eg, what SiteTree SHOULD have!
285: [01:38:28] <unsignedint> how is URLSlug used?
286: [01:38:31] <unsignedint> oh right
287: [01:38:41] <Pyromanik> instead of ingraining it
288: [01:38:49] * DigNZ1 quit (Quit: DigNZ1)
289: [01:38:49] <unsignedint> yeah I literally just overrode getURLSegment() to return a slug of the title
290: [01:38:56] <unsignedint> if theres a clash, who cares
291: [01:38:59] <Pyromanik> yeah but
292: [01:39:01] <Pyromanik> yeh
293: [01:39:01] <Pyromanik> lol
294: [01:39:04] <Pyromanik> this cares :>
295: [01:39:16] <Pyromanik> and it's an extension - slug ALL the things!
296: [01:39:17] <unsignedint> fair enough :) in my case it wasnt an issue since there wont be a clash
297: [01:39:21] <unsignedint> nice
298: [01:39:38] <Pyromanik> also optionally supports nesting (cf parentid)
299: [01:39:48] <Pyromanik> vs test all of the things for a clash
300: [01:39:59] <irogue23> http://www.youtube.com/watch?v=TCF2TPQOA7I
301: [01:40:02] <irogue23> fucking cool cover
302: [01:40:13] <Pyromanik> also last param is "hide segment from user, or let them be able to fuck shit up?"
303: [01:40:24] <antmas> -_-
304: [01:40:29] <antmas> anything to do with that song
305: [01:40:38] <unsignedint> definitely allow them to fuck shit up, all the more power to the user!
306: [01:40:39] <Pyromanik> antmas: what is song?
307: [01:40:46] <Pyromanik> unsignedint: haha, agreed.
308: [01:40:47] <antmas> Lorde
309: [01:40:48] <unsignedint> and then charge them when you fix it
310: [01:40:53] <Pyromanik> except in my very first usecase, I don't care, fuck you user!
311: [01:41:01] <Pyromanik> antmas: royals?
312: [01:41:05] <Pyromanik> dat lorde.
313: [01:41:06] <antmas> Pyromanik: yeh
314: [01:41:09] <irogue23> but... funk!
315: [01:41:10] <antmas> NO
316: [01:41:13] <Pyromanik> found out yesterday she's from NZ, and she's only 16.
317: [01:41:17] <antmas> funk yes, lord no
318: [01:41:19] <antmas> lorde*
319: [01:41:21] <irogue23> Pyromanik: 17 now!
320: [01:41:26] <Pyromanik> ooooh
321: [01:41:29] * Pyromanik cares less
322: [01:41:37] <antmas> o.O
323: [01:41:38] <irogue23> birthday yesterday :P
324: [01:41:48] <unsignedint> well at least shes legal
325: [01:41:57] <Pyromanik> irogue23: do you like my slugger?
326: [01:41:59] <antmas> give it time, she'll be twerking before you know it
327: [01:42:03] <ss23> Whats this? Lorde?
328: [01:42:04] <ss23> I think you mean
329: [01:42:08] <ss23> http://www.youtube.com/watch?v=-6Xl9tBWt54
330: [01:42:09] <Pyromanik> do you at least like my sluggy freelance reference?
331: [01:42:10] <ss23> Lordi.
332: [01:42:18] <antmas> ss23: WINWINWINWINWINWIN
333: [01:42:18] <Pyromanik> Lawdie
334: [01:42:28] * ss23 headbangs
335: [01:42:35] * Pyromanik hears TATU, lolwut
336: [01:43:59] <antmas> slug
337: [01:44:07] <antmas> needs moar Atmosphere
338: [01:44:13] * antmas listens to atmosphere
339: [01:44:42] <ss23> NOW CHOICE TO JOIN US OR GO STRAIGHT TO DRUPAL
340: [01:45:10] * DigNZ has joined #silverstripe
341: [01:45:14] <ss23> choose*
342: [01:45:39] <unsignedint> I would choose Drupal but I hear its worse than Joomla
343: [01:45:40] <antmas> http://www.youtube.com/watch?v=2Da5fqQ34mc
344: [01:45:50] <unsignedint> and Joomla is an utter piece of crap
345: [01:46:02] <antmas> so is Derple
346: [01:46:42] <ss23> Oh, antmas is posting rap
347: [01:46:45] * unsignedint dreams of the SS cms ui on top of a modern base like laravel 4
348: [01:47:28] <antmas> ss23: :D
349: [01:48:11] <irogue23> unsignedint: OH GOD
350: [01:48:14] * irogue23 jizzes
351: [01:48:14] <ss23> http://www.youtube.com/watch?v=bWXazVhlyxQ rap?
352: [01:48:46] * antmas feels like I'm 16 again
353: [01:49:05] <ss23> antmas: What, you don't feel like you want to be an anarchist anymore? Grew out of it?
354: [01:49:10] <antmas> also, unsignedint said the jword
355: [01:49:12] <antmas> :O
356: [01:49:17] <ss23> lol
357: [01:49:25] <antmas> ss23: always!
358: [01:49:30] <unsignedint> whats the link to the swear word stats again?
359: [01:49:50] <ss23> logs.simon.geek.nz/stats?
360: [01:50:05] <antmas> borked!
361: [01:50:15] <unsignedint> The requested URL /stats was not found on this server.
362: [01:50:21] <ss23> http://logs.simon.geek.nz/stats.php
363: [01:50:22] <ss23> :D
364: [01:50:27] <ss23> oop
365: [01:50:28] <unsignedint> ss23: go update the docs :P
366: [01:50:29] <ss23> it's not cached
367: [01:50:31] <ss23> this could take some time
368: [01:50:32] <ss23> unsignedint: STOP
369: [01:50:34] <ss23> ;_;
370: [01:51:18] <antmas> we don't talk about the docs in here
371: [01:51:19] <ss23> guis
372: [01:51:22] <ss23> I hope you didn't all click that stats link
373: [01:51:22] <antmas> shunned
374: [01:51:26] <ss23> cause his server is going to die
375: [01:51:27] <unsignedint> how many people opened the page lol
376: [01:51:29] <antmas> ss23: I did
377: [01:51:30] <ss23> STAMPEEEEEEEDE
378: [01:51:31] <ss23> lol
379: [01:51:33] <unsignedint> I did too
380: [01:51:34] <irogue23> i did
381: [01:51:36] <antmas> horaay!
382: [01:51:44] <ss23> fffffuck
383: [01:51:52] <simon_w> 14:51:46 up 178 days, 2:27, 2 users, load average: 3.70, 1.18, 0.41
384: [01:51:58] <simon_w> Eh :p
385: [01:52:07] <antmas> lol
386: [01:52:13] <unsignedint> maybe it will motivate him to put the code on github so we can improve it
387: [01:52:25] <irogue23> simon_w is just outsourcing his load-testing
388: [01:52:52] <antmas> it broked good!
389: [01:53:04] <simon_w> Pfft, it ain't going on github
390: [01:53:17] <Pyromanik> antmas: ss23 http://www.youtube.com/watch?v=OO_XG1m4bpc
391: [01:53:20] <irogue23> git is against simon_w's religion
392: [01:53:29] <unsignedint> simon_w: what if github had svn?
393: [01:53:33] <antmas> Pyromanik: no headphones today :9
394: [01:53:36] <antmas> :(
395: [01:53:38] <simon_w> unsignedint, it does
396: [01:53:48] <ss23> lol
397: [01:53:52] <ss23> "what if github had svn"
398: [01:53:53] * Motoservo quit (Quit: Motoservo)
399: [01:53:56] <unsignedint> even though it has svn you still dont want to use it?
400: [01:54:05] <simon_w> Why should I?
401: [01:54:10] <Pyromanik> antmas: put it on anyway.
402: [01:54:14] <unsignedint> makes the code more accessible?
403: [01:54:18] <antmas> no speakers :(
404: [01:54:29] <simon_w> No it doesn't
405: [01:54:29] <irogue23> nah bro, cvs is where it's at unsignedint
406: [01:54:34] <Pyromanik> antmas: :<
407: [01:54:40] <ss23> irogue23: dude no way
408: [01:54:42] <Pyromanik> antmas: on the phone!
409: [01:54:44] <ss23> microsoft source safe.
410: [01:54:49] <simon_w> http://logs.simon.geek.nz/source/
411: [01:54:49] * irogue23 throws up everywhere
412: [01:54:54] <unsignedint> oh yeah I will use cvs in all my future projects
413: [01:55:09] <antmas> I put Cannible Corpse as my voice mail on my company phone a month or so agi
414: [01:55:15] <simon_w> For the five of you waiting, the stats have loaded
415: [01:55:19] <antmas> ago*
416: [01:55:32] <ss23> yay
417: [01:55:32] <ss23> :D
418: [01:55:35] <unsignedint> oh shit I closed the tab, time to reopen
419: [01:55:42] <irogue23> hahaha
420: [01:55:45] <simon_w> Oh noes, it's cached now
421: [01:55:55] <unsignedint> indeed
422: [01:55:56] <simon_w> Need to switch it to a cron or something
423: [01:56:06] <antmas> lol at subsites
424: [01:56:09] <unsignedint> well Pyromanik is still top of the list
425: [01:56:14] <ss23> lol simon_w, what... you put "blink" and "chrome" on here!
426: [01:56:35] <simon_w> yes, chrome was in the first batch
427: [01:56:35] <irogue23> just for you ss23
428: [01:56:42] <simon_w> blink may have been too
429: [01:56:43] <Pyromanik> antmas: rofl, did people stop ringing you?
430: [01:56:48] <ss23> yay
431: [01:56:49] <ss23> I am composer
432: [01:56:50] <ss23> :D
433: [01:56:56] <antmas> Pyromanik: yeah, it was great
434: [01:57:23] <ss23> I AM THE CUNT, MASTER
435: [01:57:49] <unsignedint> put a comma after CUNT
436: [01:58:28] <simon_w> hang on...
437: [01:58:38] * Motoservo has joined #silverstripe
438: [01:58:41] <ss23> unsignedint: That changes the meaning!
439: [01:58:55] <unsignedint> I know :P
440: [01:59:13] <unsignedint> fuck im getting too distracted in here, better go do some work
441: [01:59:30] <simon_w> http://logs.simon.geek.nz/index.php?date=2013-11-07#log_1109713
442: [01:59:32] <antmas> my boss and 2ic are away today :)
443: [01:59:32] <simon_w> :D
444: [01:59:41] <ss23> simon_w: SON
445: [01:59:44] <ss23> lol
446: [01:59:48] <ss23> dammit
447: [01:59:50] <ss23> cheater.
448: [01:59:54] <simon_w> So much easier now that it's database driven
449: [02:00:13] <simon_w> Can't screw up my editing by saying something while I have the file open now!
450: [02:00:20] <antmas> lol, best page ever. irogue23 puking and ss23 screaming about cunts
451: [02:01:14] * antmas wonders whether to raid the caffeteria for biscuits
452: [02:01:32] <simon_w> Stop wondering and just fuckin' do it
453: [02:01:41] <irogue23> AMEN BROTHER SIMON
454: [02:02:22] <antmas> ;__;
455: [02:02:29] <antmas> they're only digestibles
456: [02:02:31] <antmas> YUCK
457: [02:02:41] <antmas> fuck that jazz
458: [02:03:01] <simon_w> oh, fuck of zendesk
459: [02:03:45] <simon_w> fuck off too
460: [02:04:05] <zippy__> wooo I finally made it on the fucking stats list, yea bitch
461: [02:04:08] <irogue23> hahaha zendesk
462: [02:04:08] <irogue23> so bad
463: [02:04:54] <antmas> zippy__: so many people at kmart -_-
464: [02:05:03] <zippy__> I bet!
465: [02:05:16] * antmas has never been to kmart
466: [02:05:20] <antmas> what do they sell there?
467: [02:05:31] <ss23> you know what the most depressing part of zendesk is?
468: [02:05:35] <ss23> THERE'S NOTHING BETTER ;_;
469: [02:05:35] <simon_w> zippy__, but you're only on the crap bitching ones
470: [02:06:04] <simon_w> ss23, I know! And it'll take long to write a better one :(
471: [02:06:10] <antmas> I thought it was just a slightly more expensive warehouse
472: [02:06:11] <ss23> mmm :(
473: [02:06:12] <antmas> ...
474: [02:06:25] <ss23> I don't care about the zendesk backend, functionally it seems fine. It's just the retarded frontend I hate
475: [02:06:59] <Ryan-Toast> Hey guys, can anyone tell me how I can make a GridField item use a popup window intend of opening a new page?
476: [02:07:24] <simon_w> Ryan-Toast, don't think you can. Moved away from popups for a reason.
477: [02:07:34] <Ryan-Toast> Ah, kay. Cheers :)
478: [02:07:50] <irogue23> wow. so, my damn near new office chair broke
479: [02:08:06] <irogue23> so i pulled it apart to see what was up
480: [02:08:12] <irogue23> holy crap these things are badly made
481: [02:08:24] <Ryan-Toast> And yet they still cost $500+
482: [02:08:36] <irogue23> well, to be fair this is a $100 warehouse stationery one
483: [02:08:51] <simon_w> Whereas these life chairs we "borrowed" from SilverStripe are still going fine
484: [02:09:15] <irogue23> but still, the seat back sits on top of the pole bit on the back
485: [02:09:30] <Ryan-Toast> I brought this one a few months ago, it's so damn comfy: http://www.harveynorman.co.nz/furniture/desks-and-suites/san-marino-pu-recliner-chair.html
486: [02:09:34] <irogue23> pole has pins poking out the side which go into holes in the plastic framing inside the chair
487: [02:09:41] <irogue23> the plastic has just fallen apart
488: [02:09:50] <irogue23> which means the seat back moves around in all directions instead of just back and forward
489: [02:10:18] <irogue23> there's no holes for the pins to go in, the seat back is literally just sitting on top of the pole
490: [02:10:19] <antmas> Ryan-Toast: too racey
491: [02:10:34] <Ryan-Toast> antmas: Gotta go fast
492: [02:10:37] <antmas> also, $900?
493: [02:11:11] <Ryan-Toast> I got it for $half price, since one of my fellow charity workers is a lawyer for Harvey norman.
494: [02:11:16] <simon_w> My home chair is great. No idea where it's from though
495: [02:11:44] <Ryan-Toast> There are heaps of chairs I want from overseas, but the shipping is way too much.
496: [02:12:03] <zippy__> Life chairs are nie
497: [02:12:05] <zippy__> *nice
498: [02:12:26] <simon_w> Well, these ones are way past their prime, so not really :p
499: [02:12:40] <zippy__> spend 2g on a bed, may as well spend that much in a chair you sit in for just as long
500: [02:13:04] <antmas> zippy__: agreed
501: [02:13:18] <antmas> kinda how I feel about buying my new car
502: [02:13:22] * UncleCheese has joined #silverstripe
503: [02:13:40] <irogue23> right, fixed my chair
504: [02:13:49] <irogue23> (completely removed the back)
505: [02:14:06] <zippy__> so it's a bit like a swiss ball now?
506: [02:14:20] <irogue23> kinda like a stool
507: [02:14:32] <irogue23> altho now that you mention it, there's a swiss ball in the house
508: [02:14:47] * antmas will buy whatever chair doesn'
509: [02:14:52] <antmas> t absorb farts
510: [02:15:07] <irogue23> my flatmate has cerebral palsy so he bought it with the intention of using it, but he never does
511: [02:15:11] <irogue23> antmas: AMEN
512: [02:15:46] <irogue23> was "fixing" my chair, kept leaning on the padding and releasing the stored stank
513: [02:16:19] <antmas> irogue23: blegghgeehgheheghegh
514: [02:16:20] <antmas> GROSS
515: [02:16:42] <antmas> my old one would simply puff with what appeared to be smoke
516: [02:16:46] <antmas> then I realised
517: [02:16:50] <antmas> it's mostly SKIN!
518: [02:16:51] <antmas> :O
519: [02:18:39] <Ryan-Toast> If I have a has_many relationship in my SiteConfig, how would I pull a list of those into a page? Would I use the get() function?
520: [02:20:00] * nickmolhoek quit (Quit: nickmolhoek)
521: [02:20:46] <Ryan-Toast> Anyone?
522: [02:26:35] <Pyromanik> fuckn
523: [02:26:41] <Pyromanik> slag with a bright yellow scooter
524: [02:26:49] <Pyromanik> keeps parking it in the push bike rack in the carpark
525: [02:27:06] <Pyromanik> basically blocking 2-3 spaces to put a bicycle
526: [02:27:27] <Pyromanik> just watching now as she comes out, pushes all the bikes over to get her fucking scooter out, then just rides off.
527: [02:27:46] <Pyromanik> shit 'bout to go down.
528: [02:28:05] <Ryan-Toast> Let the air out of her tyres.
529: [02:28:14] <Ryan-Toast> Or set her house on fire.
530: [02:28:18] <Pyromanik> Ryan-Toast: nah, we're probably going to ... yes.
531: [02:28:32] <Pyromanik> also, $SiteConfig.RelationName
532: [02:28:39] <Ryan-Toast> <3
533: [02:28:47] <Pyromanik> or $this->SiteConfig->RelationName()
534: [02:28:55] <spronk> :|
535: [02:29:00] <antmas> can of V in the gas tank
536: [02:29:04] <Pyromanik> or SiteConfig::current_siteconfig()->RelationName()
537: [02:29:05] <spronk> paint her scooter black
538: [02:29:11] <spronk> light it on fire
539: [02:29:39] <Pyromanik> antmas: fantastic. Passing that on to the lads.
540: [02:29:41] <spronk> replace it with a piece of cardboard
541: [02:29:50] <Pyromanik> rofl spronk
542: [02:30:55] <Ryan-Toast> Pyromanik: Tried this: http://pastebin.com/Mr2e9nF9 but the drop down is empty.
543: [02:32:29] <Colin[pi]> *twitch twitch* http://i.imgur.com/J6G8O07.png
544: [02:32:45] <antmas> Colin[pi]: KILL IT WITH FIRE
545: [02:32:47] <Colin[pi]> lazy css like this annoys me
546: [02:34:57] <Pyromanik> http://www.youtube.com/watch?v=7bN2r3PzuGg
547: [02:35:36] <antmas> put spiders in her helmet
548: [02:35:42] <Pyromanik> Ryan-Toast: it might be lowercase ($this->siteconfig)
549: [02:35:54] <Colin[pi]> that poor fucking scooter
550: [02:35:55] <Pyromanik> and will only work on page objects
551: [02:36:04] <ss23> How to get all members that are in groups foo, bar, baz, and not in groups kitten, dog, banana?
552: [02:36:17] <Pyromanik> ->filter()->exclude()
553: [02:37:01] <Ryan-Toast> Pyromanik: No dice.
554: [02:37:57] <Pyromanik> http://iforce.co.nz/i/0ke3dvj0.11i.png
555: [02:38:10] <ss23> Pyromanik: how 2 filter by groups though?
556: [02:38:41] <Pyromanik> Ryan-Toast: oh, SiteConfig is on ContentController, not page.
557: [02:38:49] <Pyromanik> or... hmm
558: [02:38:58] <Pyromanik> Ryan-Toast: $this->SiteConfig() ?
559: [02:39:09] <Pyromanik> yeh
560: [02:39:20] <Pyromanik> $this->getSiteConfig()->RelationName()
561: [02:39:33] <Pyromanik> http://api.silverstripe.org/3.1/class-SiteTree.html#_getSiteConfig
562: [02:39:46] <Pyromanik> knew it was there somewhere.
563: [02:40:30] <Pyromanik> ss23: really?
564: [02:40:32] <Ryan-Toast> Pyromanik: Tried: $sliders = $this->getSiteConfig()->Slider
565: [02:40:39] <Ryan-Toast> but it's still empty.
566: [02:40:43] <Ryan-Toast> :(
567: [02:40:43] <ss23> Pyromanik: i am a first time silverstripe user please help.
568: [02:41:02] <Pyromanik> array('blah'=>array(1,4,5,ID,ID,ID))
569: [02:41:14] <Pyromanik> Ryan-Toast: becuase it's a relation -.-
570: [02:41:18] <Pyromanik> Slider()
571: [02:41:30] <Ryan-Toast> Slider() would be a method though, right?
572: [02:41:34] <Pyromanik> yes.
573: [02:41:47] <Pyromanik> Slider would be a db property
574: [02:41:50] <Ryan-Toast> So make a method that gets the sliders in siteConfig?
575: [02:41:56] <Pyromanik> Slider() would be for has|many*
576: [02:42:03] <Pyromanik> no
577: [02:42:24] <Pyromanik> $has_many = array('Slider' => 'SliderObject');
578: [02:42:36] <Pyromanik> blah blah getsitetree ->Slider()
579: [02:42:39] <Ryan-Toast> I have that in my siteConfig.
580: [02:42:57] <Pyromanik> should call it slides. or something a little more logical.
581: [02:43:04] <Pyromanik> but it's irrelevant what you call it.
582: [02:43:12] <Pyromanik> RelationName => ObjectType
583: [02:43:15] <Ryan-Toast> there are slides in slider
584: [02:43:22] <Pyromanik> you ->RelationName() to get relations on DataObjects.
585: [02:43:22] <Ryan-Toast> which is why it's called slider.
586: [02:43:33] <Pyromanik> SiteTree is a DataObject, so is SiteConfig.
587: [02:43:39] <Pyromanik> nothing special about it.
588: [02:43:48] <Pyromanik> so
589: [02:43:49] <Pyromanik> you
590: [02:43:51] <Pyromanik> what
591: [02:44:09] <Pyromanik> you want all your sliders or all your slides?
592: [02:44:21] <Ryan-Toast> A list of my sliders :P
593: [02:44:24] <Pyromanik> yeah
594: [02:44:32] <Pyromanik> $this->SiteConfig->Sliders()
595: [02:45:07] <Pyromanik> ah, you want it in a dropdown.
596: [02:45:10] <Pyromanik> use ->map
597: [02:45:14] <Ryan-Toast> Yeah, that's what I had before,; but the drop down was empty.
598: [02:45:21] <Pyromanik> $this->getSiteConfig()->Sliders()->map()
599: [02:45:35] <Pyromanik> yeah you need to give it an array or a map of key => value
600: [02:45:54] <Pyromanik> a relationlist is a datalist that is a list which is just more like an unkeyed array.
601: [02:46:20] <Pyromanik> dropdownfield takes a source array of value => title
602: [02:46:33] <Pyromanik> as such, you need to map it
603: [02:46:35] <Ryan-Toast> Ah, kay. Still empty even with ->map()
604: [02:46:48] <Pyromanik> suggest you var_dump it and find out what's going on.
605: [02:47:04] <simon_w> Turns out our servers don't support blowfish for unix passwords
606: [02:47:05] <simon_w> Oops
607: [02:47:38] <Pyromanik> ss23: http://doc.silverstripe.org/framework/en/topics/datamodel#filter
608: [02:48:03] <simon_w> Guess who just locked themselves out of a server that no one else has access to?
609: [02:48:26] <antmas> simon_w: ss23 ?
610: [02:49:38] <Ryan-Toast> Pyromanik: Here's the var dump: http://pastebin.com/DkHGhUrv
611: [02:50:28] * antmas wishes he could be at Sema
612: [02:50:33] <Pyromanik> Ryan-Toast: do map()->toArray() to make it easier to read.
613: [02:50:35] <Pyromanik> dump that
614: [02:50:36] <Pyromanik> check it
615: [02:50:43] <Pyromanik> make sure it's not size: 0
616: [02:51:06] <Ryan-Toast> It's empty.
617: [02:51:17] <Pyromanik> Ryan-Toast: do you have a Title for your sliders?
618: [02:51:17] <Ryan-Toast> rabble rabble
619: [02:51:43] <Ryan-Toast> Yes
620: [02:52:00] <Pyromanik> do your sliders has_one SiteConfig?
621: [02:52:05] <Ryan-Toast> Yes.
622: [02:52:17] <Ryan-Toast> Want me to paste bin the classes?
623: [02:52:23] <Pyromanik> k
624: [02:53:02] <Ryan-Toast> Pyromanik: http://pastebin.com/7VLnvnBH
625: [02:54:20] <Ryan-Toast> Pyromanik: SiteConfig Extension: http://pastebin.com/qCsiPVTS
626: [02:55:10] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
627: [02:55:14] <ss23> ty Pyromanik
628: [02:55:24] <ss23> wait
629: [02:55:26] <ss23> Pyromanik: this doesn't tell me
630: [02:55:31] <Pyromanik> yes it does
631: [02:55:32] <Pyromanik> fuck
632: [02:55:35] <ss23> where? o.o
633: [02:55:36] <Pyromanik> read down about 4 lines.
634: [02:55:40] <Pyromanik> geez
635: [02:56:00] <ss23> ...
636: [02:56:08] <ss23> how do I do the join though, Pyromanik?
637: [02:56:13] <Pyromanik> what join?
638: [02:56:18] <ss23> ... >.>
639: [02:56:21] <ss23> I need to join for this
640: [02:56:24] <Pyromanik> do you?
641: [02:56:27] <Pyromanik> trust the ORM.
642: [02:56:32] <ss23> Well how do I tell the ORM to join
643: [02:56:37] <Pyromanik> you don't!
644: [02:56:43] <ss23> How do I tell the ORM to filter then?
645: [02:56:47] <ss23> The docs don't show me that I can see
646: [02:57:10] <antmas> fix it fix it fix it fix it fix it fix it
647: [02:57:17] <irogue23> https://dl.dropboxusercontent.com/u/4618071/fibre.jpg
648: [02:57:30] <Pyromanik> Member::get()->filter('Groups.ID', $arrayOfIDs)->exclude('Groups.ID', $arrayOfExclusionIDs);
649: [02:57:47] <irogue23> UFF: http://i.imgur.com/bazqF.gif
650: [02:57:58] <ss23> irogue23: holy shit rofl
651: [02:58:00] <Pyromanik> ss23: try it and find out.
652: [02:58:13] <ss23> Pyromanik: hmmmmm
653: [02:58:18] <irogue23> ss23: they're demanding we pay to get the tree at the red section cut down cos it's in the way
654: [02:58:21] <ss23> Pyromanik: I see, I will try that, thank you
655: [02:58:23] <antmas> irogue23: bahahaha
656: [02:58:31] <irogue23> the one on our neighbour's property
657: [02:58:35] <spronk> man
658: [02:58:41] <spronk> this is why chorus are failing hard.
659: [02:58:42] <irogue23> while there's a fucking UFF pole directly across the street
660: [02:58:47] <irogue23> spronk: this is UFF not Chorus
661: [02:58:56] <antmas> nice deck
662: [02:59:14] <spronk> oic
663: [02:59:20] <Pyromanik> ss23: it may not work, but I'd hope that it does.
664: [02:59:28] <Pyromanik> pretty sure it does.
665: [02:59:35] <irogue23> spronk: but yes, seems all the UFB companies are sucking anus except for NorthPower
666: [02:59:47] <Pyromanik> enable networks?
667: [03:00:31] <guzzlefry> hm
668: [03:00:54] <Pyromanik> dunno Ryan-Toast, should work.
669: [03:01:09] <Ryan-Toast> Should the SiteConfig parent ID be 0?
670: [03:01:15] <guzzlefry> Is Email required for a Member?
671: [03:01:22] <guzzlefry> Possible to bypass?
672: [03:01:25] <Ryan-Toast> SiteConfigID**
673: [03:01:29] <Pyromanik> Ryan-Toast: no.
674: [03:01:38] <Ryan-Toast> Perahaps that's the issue
675: [03:01:47] <Pyromanik> that means that your siteconfig has no sliders, so the code is 100% correct.
676: [03:02:22] <Ryan-Toast> It's strange that they shpow up in the cmd and can be edited then.
677: [03:02:30] <Ryan-Toast> show** cms**
678: [03:04:21] <irogue23> antmas: thanks. i put some deck sealant on it, now everybody wants to get on my deck.
679: [03:04:47] <antmas> irogue23: so it's a shiny deck?
680: [03:06:13] * mobiusnz`home has joined #silverstripe
681: [03:06:24] <Pyromanik> Ryan-Toast: because your gridfield wrong probably
682: [03:06:44] <Pyromanik> Ryan-Toast: indeed, completely wrong.
683: [03:06:49] <Pyromanik> 1) uses new
684: [03:06:58] <Pyromanik> 2) uses DataList('Slider')
685: [03:07:04] <Pyromanik> 3) gets ALL sliders.
686: [03:07:19] <Pyromanik> it goes like this:
687: [03:08:20] <Pyromanik> GridField::create('Sliders', null, $this->Sliders(), GridFieldConfig_RelationEditor::create())
688: [03:08:48] <Pyromanik> I never understand why people insist on building thier own configs that 9 times out of 10 are pretty much exactly a predefined one :<
689: [03:09:48] <Pyromanik> but if you love it, that's cool. Just a saying. So many examples I see floating around build up configs from scratch.
690: [03:10:07] <Pyromanik> when you could easily use an existing one then remove a component to get the same result in 1 line of code instead of 20.
691: [03:10:10] <Ryan-Toast> I just have no idea what I'm doing,so tinkering.
692: [03:10:23] <Pyromanik> Ryan-Toast: Docs! :D
693: [03:10:42] <Pyromanik> http://docs.silverstripe.org/framework/en/reference/grid-field
694: [03:10:45] <Pyromanik> :)
695: [03:11:26] <Pyromanik> Ryan-Toast: for a beginner the docs are great.
696: [03:12:08] <Pyromanik> many examples you find elsewhere are often filled with their own idiosyncratic ways of doing things based on the knowledge the author has only often only just learnt themselves.
697: [03:12:23] <simon_w> yaaay, I can do sudo stuff agains
698: [03:12:26] <Pyromanik> so, not always the best.
699: [03:12:49] <simon_w> Also, why doesn't Debian support $2a$?
700: [03:12:57] <madmatt> </3 macport
701: [03:13:20] <madmatt> 4hrs now of compiling/rebuilding
702: [03:13:20] <unsignedint> hey where abouts does SS store its temp files? the ones that get flushed etc when doing /dev/build?
703: [03:13:30] <simon_w> madmatt, doing it wrong!
704: [03:13:45] <madmatt> unsignedint: /tmp, or /path/to/webroot/silverstripe-cache/ if it exists
705: [03:13:45] <simon_w> unsignedint, /tmp or silverstripe-cache if you've got one of those
706: [03:13:55] <unsignedint> thanks
707: [03:13:58] <madmatt> heh
708: [03:14:13] <unsignedint> on windows, is it the default system temp folder as well?
709: [03:14:32] <simon_w> yes
710: [03:14:35] <madmatt> Yeah, from memory C:\windows\TEMP for Win7
711: [03:14:55] <Ryan-Toast> Pyromanik: Thanks for your patience :) I will try to figure this shit out.
712: [03:15:43] <ss23> madmatt: Get a Windows PC!
713: [03:18:01] <antmas> macbook air's keyboard is backlit right?
714: [03:18:08] <simon_w> Now that I can use sudo again, ansible can now propagate a password change. Yay!
715: [03:18:16] <simon_w> (thanks adobe)
716: [03:18:18] <Pyromanik> Ryan-Toast: good luck:)
717: [03:18:27] <ss23> #thanksbadbios
718: [03:19:19] <Pyromanik> rofl badbios
719: [03:19:22] <Pyromanik> so 1337
720: [03:19:34] <Pyromanik> keylock from bios leve.
721: [03:19:40] <Pyromanik> hoorah
722: [03:19:40] <spronk> o_O
723: [03:19:49] <Pyromanik> naw, but that would fuck some shit up
724: [03:20:19] <antmas> such a dumb name -_-
725: [03:20:57] <Pyromanik> badbios?
726: [03:21:00] <antmas> yeh
727: [03:21:02] <Pyromanik> not really
728: [03:21:10] <Pyromanik> it's bad, and it's in your bios!
729: [03:21:36] <antmas> it's implying that the bios was always bad
730: [03:21:46] <antmas> I dunno
731: [03:23:06] <antmas> #stevethemalware
732: [03:23:08] <antmas> way better
733: [03:24:42] <simon_w> What kind of malware name is Steve, anyway?
734: [03:24:51] <antmas> an awesome one
735: [03:25:20] <Pyromanik> #patrickthebadnamer
736: [03:25:38] <antmas> So Troublesome, Everybody Vagina Evil
737: [03:25:59] <ss23> Pyromanik: No
738: [03:26:01] <ss23> Your code didn't work
739: [03:26:07] <ss23> Pyromanik: As I thought it wouldn't, hence why I asked
740: [03:26:18] <ss23> simon_w: $members = Member::get()->filter(array('Group.ID' => array(91, 93, 94, 95, 96, 97, 98)))->first();
741: [03:26:21] <ss23> how2?
742: [03:26:43] <simon_w> groups
743: [03:27:05] <ss23> Groups.ID?
744: [03:27:53] <simon_w> yes
745: [03:27:57] <guzzlefry> ss23: What are you trying to accomplish?
746: [03:28:24] <ss23> ty
747: [03:28:32] <ss23> guzzlefry: get users in one set of groups not in other
748: [03:28:42] <ss23> or by defeault, is filter an OR or an AND?
749: [03:28:50] <ss23> e.g. is that "has to be in all these groups" or "In all of these"
750: [03:28:52] <ss23> It uses IN() right?
751: [03:29:31] <guzzlefry> tias?
752: [03:29:38] <guzzlefry> You need a debugger!
753: [03:29:59] <simon_w> ss23, that's an IN(), yes
754: [03:30:29] <ss23> My debugger was like "this doesn't work, SQL error"
755: [03:30:31] <ss23> so I came on IRC :P
756: [03:30:40] <guzzlefry> 0.o
757: [03:31:06] <guzzlefry> Member::get()->filter(array('Group.ID' => array(91, 93, 94, 95, 96, 97, 98)))->sql();
758: [03:31:07] <madmatt> It's an OR basically
759: [03:31:12] <ss23> simon_w: No change
760: [03:31:19] <ss23> guzzlefry: Yes...
761: [03:31:24] <ss23> guzzlefry: and the SQL had no join, so I asked how to do it :P
762: [03:31:30] <guzzlefry> oh
763: [03:31:32] <ss23> $members = Member::get()->filter(array('Groups.ID' => array(91, 93, 94, 95, 96, 97, 98)))->first();
764: [03:31:35] <ss23> SQL ERROR
765: [03:31:38] <ss23> SQL ERROR HELP
766: [03:31:39] <simon_w> ss23, 3.0 then?
767: [03:31:42] <ss23> hmm
768: [03:31:43] <ss23> Not sure
769: [03:31:44] * ss23 has a look
770: [03:31:44] <simon_w> Groups.ID:ExactMatch
771: [03:32:07] <ss23> I would tell you, but framework is commited to core, not composer, so hard to know.
772: [03:32:37] <ss23> simon_w: Well, no error, but doesn't work (gives no rows)
773: [03:32:43] * antmas quit (Quit: Page closed)
774: [03:32:53] <ss23> simon_w: ("Group"."ID" = 'Array')
775: [03:33:07] <ss23> God the ORM was shit in 3.0
776: [03:33:10] <ss23> Maybe I should just raw SQL it
777: [03:33:13] <ss23> It's for a once off task
778: [03:33:13] <ss23> :/
779: [03:33:14] * Ryan-Toast quit (Read error: Connection reset by peer)
780: [03:33:32] <simon_w> Oh right, 3.0 is silly
781: [03:33:33] <simon_w> :ExactMatchMulti
782: [03:33:43] <guzzlefry> 0.o
783: [03:33:47] <guzzlefry> I don't remember that one.
784: [03:33:54] <simon_w> That's because it's silly
785: [03:33:56] <ss23> ty simon_w
786: [03:34:01] <ss23> Well, it casts wrong, but it works I think
787: [03:34:05] * Ryan-Toast has joined #silverstripe
788: [03:34:05] <ss23> Lets hope it's not slow because of the casting
789: [03:34:21] <ss23> yay, A+ simon_w :D
790: [03:34:24] <guzzlefry> oh
791: [03:34:30] <guzzlefry> I need to bug simon about a bug. :P
792: [03:34:34] <guzzlefry> after I verify :P
793: [03:34:44] <simon_w> guzzlefry, FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
794: [03:35:00] * guzzlefry skips away.
795: [03:41:27] <guzzlefry> okay
796: [03:41:30] <guzzlefry> I'm doing something stupid.
797: [03:41:38] <guzzlefry> Member::get()->Count();
798: [03:41:40] <guzzlefry> returns null...
799: [03:42:03] <guzzlefry> maybe I'm calling it too early?
800: [03:42:51] <guzzlefry> k, I was
801: [03:48:27] <ss23> simon_w: :(
802: [03:48:27] <ss23> $members = Member::get()->filter(array('Groups.ID:ExactMatchMulti' => array(91, 93, 94, 95, 96, 97, 98)))->exclude(array('Groups.ID:ExactMatchMulti' => array(103, 90, 89, 88, 87)))->Count();
803: [03:48:32] <ss23> why this no work
804: [03:48:49] <simon_w> because 3.0's exclude is borked
805: [03:48:56] <simon_w> you'll need to use subtract()
806: [03:50:07] <ss23> Hmm
807: [03:50:11] <ss23> literal replacement?
808: [03:50:29] <guzzlefry> Can you do Groups.ID:ExactMatchMulti:Not?
809: [03:50:52] <ss23> hmm
810: [03:50:56] <ss23> subtract takes a datalist as an argument
811: [03:51:06] <ss23> I don't think that will work
812: [03:51:11] <ss23> oh yeah it will
813: [03:51:13] <ss23> but holy shit expensive
814: [03:51:39] <simon_w> ss23, just use where() then
815: [03:51:54] <simon_w> guzzlefry, support for those arguments is also 3.1 only
816: [03:51:59] <guzzlefry> ah
817: [03:52:01] <guzzlefry> Also
818: [03:52:09] <guzzlefry> ss23: I thought you said this was a one-time thing?
819: [03:52:13] <ss23> it is
820: [03:52:22] <ss23> I could've done it with raw SQL in 10 mins
821: [03:52:22] <guzzlefry> So why does it matter if expensive? :P
822: [03:52:23] <ss23> ;/
823: [03:52:29] <ss23> I WANT MY CODE TO BE NICE
824: [03:52:34] <guzzlefry> oh >_>
825: [03:52:46] <ss23> simon_w: If I do where, do I need to join manually or what (or are there docs etc?)
826: [03:53:14] <simon_w> not if you've already done the filter
827: [03:54:10] * mobiusnz`home quit (Quit: Leaving.)
828: [03:55:01] <ss23> oic
829: [03:55:11] <ss23> so you filter first, that does the join, then ->where adds a new clasuse
830: [03:56:04] <ss23> :D
831: [03:56:05] * ss23 spins simon_w
832: [03:56:05] <ss23> ty
833: [03:58:10] <guzzlefry> simon_w: So, I have a $products->Count(); returning 34. When I call $products->Last(); I get null back.
834: [03:58:22] <guzzlefry> Is there anything stupid I'm doing with this, or is it actually a bug?
835: [04:00:35] <Ryan-Toast> Pyromanik: I found the issue. The siteconfig was being set as null.
836: [04:00:52] <Ryan-Toast> Also, the docs grid fields look so much nicer :P
837: [04:01:02] <Ryan-Toast> Thanks for the help, man.
838: [04:02:00] <spronk> hey Pyromanik your job's on seek
839: [04:07:21] <guzzlefry> of course I can't reproduce it with something simpler...
840: [04:09:37] <madmatt> guzzlefry: What about ->First()?
841: [04:10:48] <guzzlefry> hmm yep
842: [04:11:52] <guzzlefry> Trying to remember how I got the SQL last time...
843: [04:12:05] <madmatt> $products->dataQuery()->sql()
844: [04:12:08] <madmatt> from memory
845: [04:12:19] <ss23> Can just do ->sql directly on a datalist
846: [04:12:30] <madmatt> noice
847: [04:12:42] <guzzlefry> ss23: This is after calling Last()
848: [04:12:56] <guzzlefry> hm
849: [04:13:02] <madmatt> what's not nice is macports *still* compiling packages
850: [04:13:10] <madmatt> like, 5+hrs now, wth
851: [04:13:34] <ss23> lol
852: [04:15:28] * Ryan-Toast quit (Quit: Ryan-Toast)
853: [04:15:37] <guzzlefry> Why does DataList::last() have a loop that returns during the first iteration? 0.o
854: [04:16:37] <guzzlefry> okay so
855: [04:16:45] <guzzlefry> recall that I said the DataList had 34 items?
856: [04:16:54] <guzzlefry> LIMIT 1 OFFSET 34
857: [04:17:19] <guzzlefry> ss23: fix it!
858: [04:17:25] <ss23> NU UH
859: [04:17:28] <guzzlefry> :(
860: [04:17:31] <ss23> guzzlefry: you fix it
861: [04:17:35] <ss23> :P
862: [04:17:40] <guzzlefry> I are not smart enuff
863: [04:18:17] <guzzlefry> welp
864: [04:18:25] <guzzlefry> Guess I should start with figure out why it has the offset of 34.
865: [04:21:42] <guzzlefry> I take it the SS devs don't really hang out around here?
866: [04:22:01] * sam_ has joined #silverstripe
867: [04:22:38] <sam_> Hi...
868: [04:23:04] <sam_> I am getting warning [Notice] Undefined index:
869: [04:23:06] <ss23> hi sam_
870: [04:23:13] <ss23> guzzlefry: well, assuming ss devs means core devs, a decent amount of them do
871: [04:23:17] <ss23> simon_w, ingo
872: [04:23:18] <ss23> uh
873: [04:23:21] <ss23> sminee sometimes
874: [04:23:25] <ss23> whoever else
875: [04:24:27] <sam_> http://www.sspaste.com/paste/show/527b14090375b
876: [04:26:20] <guzzlefry> ss23: I'm guessing I have to throw together a reproduction of this bug for them to give a damn about the fix?
877: [04:26:48] <guzzlefry> Or does it just need to pass tests?
878: [04:27:13] <ss23> guzzlefry: It would be a *lot* apperciated to add a test where it fails
879: [04:27:21] <ss23> guzzlefry: Otherwise you have a large chance of it not being merged, or being reverted later, etc
880: [04:27:29] <guzzlefry> ah, gotcha
881: [04:29:48] <guzzlefry> weird
882: [04:31:02] * sam_ quit (Quit: Page closed)
883: [04:33:43] <Azure> I have a feeling that I might've asked this back in 2010, but I might as well ask now.
884: [04:33:44] <Azure> I wish to have the current page's type as a class in my main layout. I know I can use $ClassName to get it, however it is formatted in in CamelCase. I would like to have it "like-this".
885: [04:33:44] <Azure> I would guess that I will have to write my own function in my site's base Page pagetype to format it the way that I want.
886: [04:34:09] <guzzlefry> Probably.
887: [04:34:26] <guzzlefry> hm
888: [04:36:49] <guzzlefry> Azure: looking at how the form field names get change from MyField to My Field might be a good start.
889: [04:41:44] <ss23> mmm, tfw you go to fix a bug, but someoen else already fixed it...
890: [04:45:36] <guzzlefry> tfw?
891: [04:45:42] <guzzlefry> too many initialism!
892: [04:48:12] * DigNZ quit (Quit: DigNZ)
893: [04:48:57] * cloph has joined #silverstripe
894: [04:49:15] * cloph_away quit (Ping timeout: 246 seconds)
895: [04:49:52] * UncleCheese quit (Quit: UncleCheese)
896: [04:51:17] <guzzlefry> ugh
897: [04:51:21] <guzzlefry> I don't understand bug.
898: [04:54:04] <guzzlefry> simon_w: Is there a way to isolate the ORM?
899: [04:58:46] * nicolaas quit (Remote host closed the connection)
900: [05:00:52] * anujit has joined #silverstripe
901: [05:01:13] <anujit> hi anybody can help me how to show image from ss page?
902: [05:01:28] <anujit> in DB there is a field "HomeImage"
903: [05:01:44] <anujit> I need to loop <% Control ???? >
904: [05:03:03] <Colin[pi]> anujit: $HomeImage should work in the template, or $HomeImage.URL for example
905: [05:03:20] <Colin[pi]> or one of the cropping functions
906: [05:17:25] <anujit> http://www.sspaste.com/paste/show/527b206a852ea
907: [05:20:10] <anujit> not working
908: [05:28:33] <Colin[pi]> anujit: HomePicture should be Image not File
909: [05:31:06] <anujit> but it is working in another code
910: [05:31:17] <anujit> similar thing
911: [05:32:16] <anujit> http://www.sspaste.com/paste/show/527b206a852ea
912: [05:47:15] <EasyCo> Is it the weekend yet?
913: [05:47:20] <guzzlefry> What format should the CSV import dates be in?
914: [05:47:30] <guzzlefry> EasyCo: It's only wednesday here.
915: [05:47:39] <guzzlefry> well, Thursday technically, since it's 1 in the morning
916: [05:47:51] <EasyCo> Eeesh
917: [05:47:58] <EasyCo> I'd be in bed by then :)
918: [05:48:03] <EasyCo> 9pm and I'm out
919: [05:48:28] <EasyCo> guzzlefry: Do you work best at night?
920: [05:49:05] <guzzlefry> usually
921: [05:50:16] * Colin[pi] quit (Ping timeout: 264 seconds)
922: [05:53:31] * violetina has joined #silverstripe
923: [05:57:07] * spronk2 quit (Quit: spronk2)
924: [05:58:45] <guzzlefry> to answer my question, yyyy-mm-dd works, didn't test any others.
925: [06:21:50] * Nightjar has joined #silverstripe
926: [06:30:06] <Nightjar> http://imgur.com/gallery/ObdxBKU
927: [06:30:27] <Nightjar> best comment: My 'unfortunate' cousin would love this.
928: [06:35:12] * EasyCo quit (Quit: We can't stop here, this is bat country)
929: [06:41:41] * anujit quit (Ping timeout: 250 seconds)
930: [06:47:03] * Shashitechno has joined #silverstripe
931: [06:47:31] <Shashitechno> Hello everyone,
932: [06:47:46] <Shashitechno> I am looking for sendgrid integration with silverstripe
933: [06:48:05] <Shashitechno> anyone redirect me to proper documentation please ?
934: [06:48:57] <Zauberfisch23> Shashitechno: send grid for sending emails only or recieving aswell?
935: [06:49:20] <Shashitechno> Zauberfisch23: for both
936: [06:49:40] <Shashitechno> Zauberfisch23: We need to manage bulk emails
937: [06:50:07] <Zauberfisch23> well, I guess recieving is rather easy, they will just POST json to you (I think), so just create a controller that accpets the data)
938: [06:51:09] <Zauberfisch23> how do you make sendgrid send the emails? smtP?
939: [06:51:13] <Zauberfisch23> *smtp
940: [06:52:41] <Shashitechno> Yup will prefer using smtp
941: [06:52:42] <Zauberfisch23> well, anyway you do it, you need to create a Mailer class for it
942: [06:52:46] <Zauberfisch23> and then set it
943: [06:53:00] <Zauberfisch23> Email::set_mailer(new MyMailerClass());
944: [06:53:35] <Zauberfisch23> then $email->send() will call ->send() (and a couple of other things probably) on your Mailer
945: [06:53:52] <Shashitechno> Yup, Looks fine.
946: [06:54:00] <Zauberfisch23> here is the default Mailer, it sends emails via mail()
947: [06:54:02] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/blob/3.1/email/Mailer.php
948: [06:54:05] <Shashitechno> So I will need to set the mailer class to sendgrid one
949: [06:54:28] <Zauberfisch23> so just subclass this, and overwrite the methods that would send the email via mail() and send it via smtp instead
950: [06:54:56] <Shashitechno> okay !
951: [06:55:32] <Zauberfisch23> actually, checkout this repo
952: [06:55:40] <Zauberfisch23> https://github.com/xeraa/silverstripe-smtp
953: [06:55:45] <Zauberfisch23> its for version 2.3
954: [06:55:59] <Shashitechno> Ahh
955: [06:56:05] <Zauberfisch23> but I guess you can take some ideas from it
956: [06:56:13] <Zauberfisch23> or maybe even better, update the module to 3.1
957: [06:56:37] <Shashitechno> cool, thanks Zauberfisch23
958: [06:56:42] <Shashitechno> Let me try :)
959: [06:57:14] <Zauberfisch23> Shashitechno: if you do come up with a solution that works well and is useable for other stmp then sendgrid, I'd love to see the code go open source
960: [06:57:27] <Zauberfisch23> a SMTP mailer is certainly a missing feature for silverstripe
961: [06:58:20] <Zauberfisch23> Shashitechno: btw, also check out http://mandrill.com/ its an alternative to sendgrid, but I think they have cheaper pricing
962: [06:58:35] <Zauberfisch23> its from the mailchimp guys
963: [06:58:41] <Shashitechno> Zauberfisch23: Ohh'
964: [07:47:50] * willr has joined #silverstripe
965: [08:03:58] * zfmf has joined #silverstripe
966: [08:06:38] <Nightjar> http://i.imgur.com/rBUNwcw.gif
967: [08:07:57] <irogue23> mandrill sounds like something i'd be into
968: [08:09:45] <Nightjar> irogue23 http://i.imgur.com/z3Bt5Wb.jpg
969: [08:12:34] * oddnoc has joined #silverstripe
970: [08:12:47] <Nightjar> <3
971: [08:13:25] <ss23> gaay~
972: [08:13:51] <Nightjar> nou
973: [08:24:26] <oddnoc> your tilde is gay?
974: [08:25:03] * chillu has joined #silverstripe
975: [08:25:38] <ss23> Yeah, the ~ was a mistake
976: [08:25:39] <ss23> :,
977: [08:25:52] <oddnoc> lol
978: [08:28:27] <irogue23> Nightjar: i have "hah, gaaaaay" (chang) as a G key on my keyboard
979: [08:28:37] <irogue23> set up to always play out the speakers, even if i'm using headphones
980: [08:28:53] <irogue23> so when lanning etc. i can just hit G10
981: [08:28:54] <irogue23> it's so good
982: [08:38:17] * spronk2 has joined #silverstripe
983: [08:45:40] * svandragt has joined #silverstripe
984: [08:53:59] * ARNHOE has joined #silverstripe
985: [08:54:11] * lerni has joined #silverstripe
986: [09:01:23] * Pathum has joined #silverstripe
987: [09:04:33] <Nightjar> hahahahha irogue23, brilliant
988: [09:04:57] * simon_w|air has joined #silverstripe
989: [09:05:00] <Nightjar> I love how straight white folks are the ones who get most upset about shit like that.
990: [09:05:13] <spronk2> ???
991: [09:05:23] <Nightjar> the word "gay" etc.
992: [09:05:35] * kinglozzer has joined #silverstripe
993: [09:05:45] <ss23> Nightjar: Just noobs
994: [09:05:52] <Nightjar> so I made a smoothie
995: [09:06:03] <ss23> Shit is so smooth?
996: [09:06:12] <Nightjar> I went to make one at about 9:30
997: [09:06:13] <simon_w|air> Did it bring all the boys to your yard?
998: [09:06:22] <Nightjar> simon_w: that's milkshakes!
999: [09:06:32] <Nightjar> ss23: shit so smooth.
1000: [09:06:35] <simon_w|air> Obviously your smoothies aren't good enough then!
1001: [09:07:01] <ss23> simon_w|air: do you know how long it'll take noobies to crack wep and/or packet capture etc?
1002: [09:07:08] <Nightjar> got me some kiwifruits, banana, orange and mango, peaches, yogurt (natural unsweetened greek style!0
1003: [09:07:10] <Nightjar> so good
1004: [09:07:18] <simon_w|air> ss23, here, run this program
1005: [09:07:21] <simon_w|air> done!
1006: [09:07:24] <Nightjar> ss23: about 20 seconds?
1007: [09:07:26] <ss23> simon_w|air: Yes, how long will that take them?
1008: [09:07:27] <ss23> well
1009: [09:07:29] <ss23> I don't think 20 seconds...
1010: [09:07:30] <ss23> like
1011: [09:07:34] <Nightjar> 5 mins, mebbe
1012: [09:07:42] <ss23> last year, some people took 30+ mins to extract text from a packet capture
1013: [09:07:43] <ss23> so like...
1014: [09:08:05] <Nightjar> so like
1015: [09:08:09] <simon_w|air> isn't that like -A?
1016: [09:08:14] <Nightjar> they cracked the WSA too didn't they?
1017: [09:08:38] <ss23> WPA, I presume, and anyone can if they have the right stuff
1018: [09:08:44] <ss23> simon_w|air: wireshark, but *shrug*
1019: [09:08:52] * travis-ci has joined #silverstripe
1020: [09:08:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1508 (3.1 - 62bb6f1 : Will Rossiter): The build passed.
1021: [09:08:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/252b6e53ac8e...62bb6f1be428
1022: [09:08:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13622490
1023: [09:08:53] * travis-ci has left #silverstripe
1024: [09:08:55] <ss23> simon_w|air: Anywa,y point is, how long it would take someone who knows how to do it is *not* a good estimate
1025: [09:09:28] <simon_w|air> Nor's getting an estimate from someone who has never done something like that before
1026: [09:10:01] <Nightjar> yeh, starts with a W, has an A in it. That one ss23.
1027: [09:10:08] <ss23> lol
1028: [09:10:11] <ss23> simon_w|air: okay, sorry, thought you might know
1029: [09:22:54] * oddnoc quit (Quit: bye!)
1030: [09:25:59] * pippy quit (Ping timeout: 246 seconds)
1031: [09:28:08] * pippy has joined #silverstripe
1032: [09:46:05] * willr quit (Quit: willr)
1033: [10:18:40] <spronk2> o_O
1034: [10:21:30] <irogue23> < Nightjar> I love how straight white folks are the ones who get most upset about shit like that.
1035: [10:21:53] <irogue23> i also derogitorily call people fags, so meh :P
1036: [10:24:18] * jcwacky quit (Quit: jcwacky)
1037: [10:32:57] * guci0 has joined #silverstripe
1038: [10:33:03] <guci0> Hello World!
1039: [10:33:16] <ss23> Hallo guci0!
1040: [10:33:41] <guci0> ;)
1041: [10:52:21] * NobrainerWeb has joined #silverstripe
1042: [10:54:01] * micmania1 has joined #silverstripe
1043: [10:54:16] <NobrainerWeb> Hi
1044: [10:54:41] <micmania1> Anybody know where the regex is in 2.4 which cleans filenames of obscure chars?
1045: [10:57:46] <kinglozzer> micmania1: Is this what you're looking for? http://api.silverstripe.org/2.4/source-class-Upload.html#124-127
1046: [10:58:04] <NobrainerWeb> my <script> tag and content is removed from a textareaField - with datatype HTMLText, if i use Varchar the code is just output as text. What do i need to do to add a simple scipttag in a textareafield and output it correctly as script to template?
1047: [10:59:46] <NobrainerWeb> Nvm it started working, must have forgot dev/build, flush or something
1048: [10:59:49] <micmania1> kinglozzer: cheers
1049: [11:07:57] * Pathum_ has joined #silverstripe
1050: [11:10:38] * Pathum quit (Ping timeout: 240 seconds)
1051: [11:11:58] <micmania1> Am I right in thinking underscores are converted to dashes in 3.1? http://api.silverstripe.org/3.1/source-class-FileNameFilter.html#42 (just checking)
1052: [11:12:54] <kinglozzer> Yep
1053: [11:28:25] <micmania1> bit strange that... Is there any reason underscores shouldn't be in filenames?
1054: [11:32:13] <kinglozzer> No idea, none that I can think of
1055: [11:32:17] <kinglozzer> I guess you could override it
1056: [11:32:25] <Marvanni2> also GroupCodes are converted... You can change this behaviour by creating a CustomFileNameFilter and use Custom Class
1057: [11:32:41] <Marvanni2> FileNameFilter:
1058: [11:32:42] <Marvanni2> default_use_transliterator: false
1059: [11:32:47] <Marvanni2> default_replacements:
1060: [11:32:55] <Marvanni2> or set that in yml
1061: [11:33:05] <Marvanni2> and overload the defaul_replacements
1062: [11:33:08] <kinglozzer> FileNameFilter: default_replacements: '/_/' => '_' should probably override it
1063: [11:33:29] <micmania1> yeah, you can override. We've got a client who uses 2.4 and their naming conventions for certain files include underscores. I assumed it would be fixed in 3.0
1064: [11:33:38] <micmania1> https://github.com/silverstripe/silverstripe-cms/issues/719
1065: [11:39:44] <irogue23> sweet jebus, if someone was to walk into my office right now they'd think i was a nutter
1066: [11:40:09] <irogue23> lack of sleep + too much caffeine = laughing maniacally at 'fuckyouautocorrect' posts
1067: [11:40:16] <ss23> dude
1068: [11:40:17] <ss23> holy shit
1069: [11:40:18] <ss23> irogue23: yes
1070: [11:40:25] <ss23> I have a bunch of peopel who think I'm fucking *crazy*
1071: [11:40:30] <ss23> cause I used to get mega tired and read fuckyouautocorrect
1072: [11:40:31] <ss23> like
1073: [11:40:38] <ss23> holy shit there's something about autocorrect when you're tired and giggly
1074: [11:40:42] <ss23> I don't know waht the fuck it is, but it's amazing.
1075: [11:40:48] <irogue23> yesss
1076: [11:40:56] <irogue23> this is a "best of" compilation
1077: [11:41:28] <Marvanni2> has anyon tried to put a list view of the SiteTree in a Page tab?
1078: [11:42:30] <irogue23> o_O
1079: [11:42:48] <Marvanni2> I am now putting large datasets in dataobject and show them as pages, bit since 3.x is mich better in handling large sitetrees, im lookin how far i can go with working with large trees
1080: [11:43:01] <irogue23> ah ok
1081: [11:43:07] <irogue23> yeah, it's *so* much better
1082: [11:43:15] <Marvanni2> on of the opions im exploring is limit children view in the treedropdown. that works quite good..
1083: [11:43:18] <Marvanni2> it is
1084: [11:43:27] <irogue23> >20 items in the sitetree in 2.4 was like, just kill yourself now
1085: [11:43:44] <Marvanni2> yeah, and now 5 => 100 => 100 works just fine
1086: [11:43:56] <Marvanni2> even with reordering a complete set with 100 childs
1087: [11:44:19] <Nightjar> fuck, suddenly 12:40
1088: [11:44:22] <irogue23> Nightjar: haha
1089: [11:44:25] <irogue23> before you leave Nightjar
1090: [11:44:31] <irogue23> read these: http://funkypickens.com/25-funny-auto-correct-fails/
1091: [11:44:34] <Nightjar> no I can't do your threads
1092: [11:44:35] <Nightjar> ok
1093: [11:44:37] <Nightjar> nah
1094: [11:44:39] <Marvanni2> I have 2 objectives : 1 show Children in a GridField like the root list view works
1095: [11:44:40] <Nightjar> read so many of those
1096: [11:44:42] <Nightjar> always shit
1097: [11:44:47] <irogue23> lol
1098: [11:44:50] <micmania1> irogue23, is that link "work safe"?
1099: [11:45:06] <irogue23> micmania1: *mostly*
1100: [11:45:16] <irogue23> a few bad words in screenshots
1101: [11:45:18] <Marvanni2> 2. when certain members can only edit pages, not add and restructure tree, show only the pages the can edit in a list as well, without showing the treedropdown
1102: [11:45:29] <irogue23> so, NZ work safe, maybe not US work safe :-P
1103: [11:45:43] <Nightjar> infact this exact compliation I got half way through before giving up about 2 days ago.
1104: [11:45:47] <micmania1> meh, that's worksafe
1105: [11:45:50] <irogue23> Nightjar: lol
1106: [11:45:59] <irogue23> you obv weren't tired and hopped up on caffeine enough :P
1107: [11:46:38] <micmania1> hahaha I can't read this at work. I'll end up having some sort of laughing fit
1108: [11:46:59] <irogue23> :P
1109: [11:47:06] <irogue23> trust me, i am
1110: [11:47:10] <irogue23> thank fuck i'm alone
1111: [11:47:17] <Nightjar> obviously not irogue23.
1112: [11:47:21] <Nightjar> oh well
1113: [11:47:25] <Nightjar> tomorrow Friday.
1114: [11:47:35] <Nightjar> Pulled one of my first computers apart just before :<
1115: [11:47:48] <Nightjar> I think it still goes - seems like a shame.
1116: [11:48:10] <Nightjar> it has issues extracting thing and other intensive tasks. Seems like dodgy ram.
1117: [11:48:16] <irogue23> yep
1118: [11:48:27] <Nightjar> although K6-2 was renowned for heat issues, could be half fried cpu
1119: [11:48:34] <Nightjar> but then I'd expect issues everywhere
1120: [11:48:35] <Nightjar> dunno
1121: [11:48:38] <Nightjar> poor old thing
1122: [11:48:41] <Nightjar> <3
1123: [11:48:54] <Nightjar> Dunno if I have the heart to turf it out.
1124: [11:49:06] <Nightjar> Might turn it into a clock.
1125: [11:49:14] <Nightjar> another day!
1126: [11:49:20] * Nightjar /sleep
1127: [11:49:26] * Nightjar has left #silverstripe
1128: [11:50:33] <ss23> help irogue23 I read it too
1129: [11:50:36] <ss23> i am dead.
1130: [11:51:47] <ss23> my stomach is rumbling as I tense it with laughing
1131: [11:52:21] <irogue23> hahaha
1132: [11:52:34] <irogue23> "i'm not eating her out, i'm eating her out"
1133: [11:53:52] <ss23> lol
1134: [11:55:43] <ss23> oh man
1135: [11:55:45] <ss23> I'm giggling
1136: [11:55:49] <ss23> so glad my flatmate isn't rying to sleep atm
1137: [11:56:06] * Motoservo has joined #silverstripe
1138: [11:56:56] <irogue23> ss23: you have seen the Deck Maintenance video?
1139: [11:57:01] <ss23> oh yes
1140: [11:57:02] <ss23> rofl
1141: [11:57:06] <irogue23> i keep rewatching
1142: [11:57:06] <ss23> MY BIG AFRICAN CAUK
1143: [11:57:07] <irogue23> so good
1144: [11:57:10] <ss23> link?
1145: [11:57:17] <irogue23> despite the weird hybrid NZ/AU/SA accent
1146: [11:57:23] <irogue23> https://www.youtube.com/watch?v=hkmeoYKYctw
1147: [11:57:37] <ss23> oh yeah man
1148: [11:57:39] <ss23> that accent is weird
1149: [11:58:42] <ss23> who wouldn't want a gold kid?
1150: [12:04:50] <irogue23> eh, time to sleep
1151: [12:04:55] <irogue23> still haven't quite recovered from the weekend :P
1152: [12:05:48] <ss23> wait
1153: [12:05:49] <ss23> wait irogue23
1154: [12:05:49] <ss23> wait
1155: [12:05:51] <ss23> are you still here?
1156: [12:05:52] <ss23> irogue23:
1157: [12:05:55] <ss23> pls
1158: [12:05:56] <irogue23> yes
1159: [12:05:57] <ss23> irogue23:
1160: [12:05:58] <irogue23> yes i am
1161: [12:06:00] <ss23> pls
1162: [12:06:02] <ss23> okay
1163: [12:06:05] <ss23> http://cdn.damnyouautocorrect.com/wp-content/uploads/2013/10/overlyemotion-britni.jpg
1164: [12:06:08] <ss23> dis
1165: [12:06:11] <ss23> http://www.damnyouautocorrect.com/67546/an-overly-emotion-reaction/ if hotlinking disabled
1166: [12:06:31] <irogue23> gotta be honest
1167: [12:06:33] <ss23> mmk u can sleep now
1168: [12:06:35] <irogue23> "reared up"
1169: [12:06:40] <irogue23> did not make me think of horse
1170: [12:06:43] <ss23> haha
1171: [12:06:44] <ss23> yes
1172: [12:06:45] <ss23> PENIS
1173: [12:06:47] <ss23> I THOUGHT OF PENIS
1174: [12:07:09] <ss23> rite irogue23
1175: [12:07:10] <ss23> rite?
1176: [12:07:30] <irogue23> http://www.youtube.com/watch?v=Utxb-kzvFZU
1177: [12:10:08] <ss23> HAH GAY
1178: [12:10:15] <ss23> http://www.youtube.com/watch?v=ZZ5LpwO-An4
1179: [12:27:21] * ss-log has joined #silverstripe
1180: [12:30:09] * Pathum_ quit (Quit: Leaving)
1181: [12:38:26] * svandragt quit (Ping timeout: 272 seconds)
1182: [12:49:06] * simon_w|air quit (Ping timeout: 244 seconds)
1183: [12:50:57] * simon_w|air has joined #silverstripe
1184: [12:58:38] * simon_w|air quit (Ping timeout: 240 seconds)
1185: [13:05:05] * chillu quit (Quit: chillu)
1186: [13:10:41] * Shashitechno quit (Quit: Page closed)
1187: [13:10:47] * simon_w|air has joined #silverstripe
1188: [13:15:06] * svandragt has joined #silverstripe
1189: [13:20:40] * UndefinedOffset has joined #silverstripe
1190: [13:25:03] * chillu has joined #silverstripe
1191: [13:30:22] * jrthomer quit (Remote host closed the connection)
1192: [13:30:56] * jrthomer has joined #silverstripe
1193: [13:31:40] * jrthomer quit (Read error: Connection reset by peer)
1194: [13:31:48] * jrthomer has joined #silverstripe
1195: [13:38:17] <chillu> Hey guys, does anyone have Windows 8.1 with IE11 handy, and could test if the CMS loads? Doesn't for me in browserstack, and want to confirm its not just browserstack acting weirdly
1196: [13:39:00] <Zauberfisch23> let me spin up a VM
1197: [13:41:18] * NobrainerWeb quit (Quit: NobrainerWeb)
1198: [13:46:30] <chillu> Zauberfisch23: any luck? :)
1199: [13:46:45] <Zauberfisch23> have to import the appliance, this is going to take a bit
1200: [13:47:05] <kinglozzer> I'd try, but VMWare has decided it doesn't wanna play ball... :P
1201: [13:47:34] <Zauberfisch23> virtual box does, but as I have 4 other VMs running already, its crawling a bit slow
1202: [13:47:49] <Zauberfisch23> chillu: mind if I do it in a couple of minutes?
1203: [13:48:04] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
1204: [13:48:08] <micmania1> I've got it on my laptop at home. I can check later if you want?
1205: [13:48:12] <chillu> No worries. 4 VM, my gosh on how much RAM?
1206: [13:48:28] <Zauberfisch23> 16
1207: [13:48:53] <Zauberfisch23> I also have windows8.1 on my PC at home, but I won
1208: [13:48:55] <Zauberfisch23> t
1209: [13:49:00] <chillu> I'm still on 8GB. Well at least I *can* upgrade, that'd all be over with the next Macbook purchase
1210: [13:49:02] <Zauberfisch23> be home for a nother 6 hours
1211: [13:53:09] <micmania1> I'll about about 4-5hrs
1212: [13:54:04] <Marvanni2> installing now...
1213: [13:54:38] <Marvanni2> hm... im on w7, does it matter?
1214: [13:55:02] <kinglozzer> Lol, just tried to install IE11 on Win 8, tells me I need Win 7.1
1215: [13:55:38] <kinglozzer> Don't think I'm 8.1 anyway
1216: [13:57:22] <Marvanni2> rebooting, brb
1217: [13:57:54] * Marvanni2 quit ()
1218: [14:01:15] * marvanni has joined #silverstripe
1219: [14:04:04] <marvanni> seems to work...
1220: [14:04:16] <marvanni> anything specific you want to know?
1221: [14:05:12] <chillu> marvanni: Oh, so you're on Win 7.1 with IE11?
1222: [14:06:47] <marvanni> yeah
1223: [14:07:09] <marvanni> you wanna teamviewer access?
1224: [14:10:48] * zippy__ quit (Ping timeout: 260 seconds)
1225: [14:17:33] <marvanni> http://oi41.tinypic.com/kb379e.jpg
1226: [14:19:15] * Kolin_ is now known as Kolin
1227: [14:23:28] * zippy__ has joined #silverstripe
1228: [14:25:45] * DesignerX quit (Ping timeout: 244 seconds)
1229: [14:36:46] * chillu quit (Quit: chillu)
1230: [14:36:48] * catcher has joined #silverstripe
1231: [14:47:05] * spronk2 quit (Quit: spronk2)
1232: [14:57:49] * chillu has joined #silverstripe
1233: [14:58:41] <chillu> marvanni: Thanks heaps for checking, that's good to hear! Means we don't need to worry as much about it for, and can focus on other fixes prior to 3.1.2
1234: [15:00:05] <marvanni> if you want, you can click around with teamviewer..
1235: [15:33:50] * simon_w|air quit (Ping timeout: 240 seconds)
1236: [15:41:39] * simon_w|air has joined #silverstripe
1237: [15:42:37] * jcwacky has joined #silverstripe
1238: [15:42:59] <jcwacky> Is this possible in a template: <% if Top.CatIsActive(ID) %>
1239: [15:43:27] * PanPipes has joined #silverstripe
1240: [15:44:58] <jcwacky> Ah, got it! Needed $ID
1241: [15:46:57] <PanPipes> i am trying to connect to a remote MySql server and get the following error: [Thu Nov 07 15:41:29.541866 2013] [:error] [pid 1826:tid 139842378622720] [client 192.168.56.1:49530] PHP Fatal error: Couldn't connect to MySQL database | mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This wi
1242: [15:47:24] <PanPipes> is there anything i can do on my SS build to get round this?
1243: [15:47:30] <PanPipes> sorry for the spam
1244: [15:47:39] <PanPipes> didn't realise how long that was :S
1245: [15:48:40] <Zauberfisch23> chillu: oh, I frogot
1246: [15:48:46] <Zauberfisch23> chillu: running it now
1247: [15:49:37] <chillu> :)
1248: [15:49:53] <Zauberfisch23> loading ...
1249: [15:50:00] <Zauberfisch23> rather slow / laggy
1250: [15:50:09] <Zauberfisch23> but I guess thats the limited resources of the VM
1251: [15:50:17] <Zauberfisch23> just has 1 GB ram or os
1252: [15:50:19] <Zauberfisch23> *so
1253: [15:50:48] <Zauberfisch23> IE crashed
1254: [15:51:42] <Zauberfisch23> its looking weird
1255: [15:51:47] <Zauberfisch23> sending you a screenshot in skype
1256: [15:52:25] * travis-ci has joined #silverstripe
1257: [15:52:25] <travis-ci> [travis-ci] chillu/silverstripe-framework#118 (pulls/2644-myprofile-layout - 8286ba3 : Ingo Schommer): The build passed.
1258: [15:52:25] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/252b6e53ac8e^...8286ba346e22
1259: [15:52:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/13638281
1260: [15:52:26] * travis-ci has left #silverstripe
1261: [15:53:22] <Zauberfisch23> chillu: this is weird, newer versions of SS make IE freez even before login
1262: [15:53:41] <chillu> Yeah, I get the same. marvanni which version did you test with?
1263: [15:53:45] <Zauberfisch23> and then they look like in the screen
1264: [15:54:04] <Zauberfisch23> demo.ss.org works fine though (I guess this is 3.0)
1265: [15:54:18] <Zauberfisch23> chillu: so I guess you have to be worried
1266: [15:54:50] <chillu> demo is 3.1, but less recent (3 weeks old?)
1267: [15:56:00] <Zauberfisch23> I guess you broke it then
1268: [15:56:10] <Zauberfisch23> let me try it in IE10
1269: [15:57:16] <Zauberfisch23> win 8.0 IE10 works fine
1270: [15:57:27] <chillu> If you happen to have the time, might wanna try a bisect? So reset to a revision 4 weeks ago, if that works then 2 weeks ago, etc
1271: [15:58:15] <PanPipes> can anyone help, i can connect to a remote db via a terminal but can't via SS with the same details. it says "Couldn't connect to MySQL database | mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication."
1272: [15:58:43] <Zauberfisch23> chillu: to busy right now, but I can give you teamviewer access to this VM, its completely new and clean
1273: [15:58:48] <PanPipes> can i get round this in SS?
1274: [15:59:05] <Zauberfisch23> or if you have ipv6 I'd be happy to spin up a VM in gemrany for you
1275: [15:59:12] <chillu> Thanks for the offer, but no time now either hehe
1276: [15:59:41] <Zauberfisch23> maybe later today, but not likely
1277: [15:59:58] * Colin[pi] has joined #silverstripe
1278: [16:00:12] <chillu> I think browserstack will serve me well for this, as long as I know that its an actual bug and I'm not hunting ghosts
1279: [16:00:23] <PanPipes> anyone got any ideas?
1280: [16:03:26] <Zauberfisch23> chillu: no errors in console
1281: [16:03:34] <Zauberfisch23> now back to my work
1282: [16:09:24] <PanPipes> is it possible to get SS to use MYSQL Old Password?
1283: [16:09:36] <Zauberfisch23> old password?
1284: [16:09:42] <Zauberfisch23> that a thing?
1285: [16:12:19] <kinglozzer> PanPipes: I'd ask in #mysql
1286: [16:13:31] <PanPipes> Zauberfisch: kinglozzer: looks like i have to change the user i connect with
1287: [16:13:45] <PanPipes> Zauberfisch: kinglozzer: but i don't have access to the server
1288: [16:14:02] <PanPipes> just wondered if there was a way at the SS side to change how it connected
1289: [16:14:32] <kinglozzer> Well you specify the username you connect with in _config.php, right?
1290: [16:14:40] <PanPipes> yep
1291: [16:14:50] <kinglozzer> You can change that :P
1292: [16:14:57] <kinglozzer> You can't change any user configuration SS-side
1293: [16:16:03] <PanPipes> i know that sorry i meant is there a way to change the way it connects. tbh it's a PHP fatal error on closer inspection
1294: [16:16:16] <PanPipes> so nothing can be done bar hassling the admin of the box
1295: [16:16:21] <PanPipes> nevermind
1296: [16:17:58] * ARNHOE quit ()
1297: [16:33:44] * jrthomer quit (Remote host closed the connection)
1298: [16:38:11] * jcwacky quit (Quit: jcwacky)
1299: [16:41:45] * PanPipes quit (Quit: Computer went to sleep)
1300: [16:53:38] * lerni1 quit (Quit: lerni1)
1301: [17:04:21] * jrthomer has joined #silverstripe
1302: [17:05:41] * kinglozzer quit ()
1303: [17:13:26] * jrthomer quit (Ping timeout: 240 seconds)
1304: [17:15:06] * jrthomer has joined #silverstripe
1305: [17:19:37] * Motoservo has joined #silverstripe
1306: [17:22:55] * Motoservo quit (Client Quit)
1307: [17:35:50] * svandragt quit (Ping timeout: 240 seconds)
1308: [17:42:57] * guci0 quit (Ping timeout: 250 seconds)
1309: [17:48:04] * jrthomer quit (Remote host closed the connection)
1310: [17:48:09] * chillu quit (Quit: chillu)
1311: [17:48:37] * jrthomer has joined #silverstripe
1312: [17:51:30] * chillu has joined #silverstripe
1313: [17:53:26] * jrthomer quit (Ping timeout: 265 seconds)
1314: [17:57:42] <AlphaCactus> mornin
1315: [18:02:03] <catcher> 'afternoon
1316: [18:04:53] * SightUnseen has joined #silverstripe
1317: [18:05:00] * SightUnseen has left #silverstripe
1318: [18:21:54] * chillu quit (Quit: chillu)
1319: [18:27:13] * Alexwijn has joined #silverstripe
1320: [18:27:29] <Alexwijn> Hi, is anyone familiar with Silverstripe Widgets
1321: [18:27:34] <Alexwijn> I'm trying to inherit widgets
1322: [18:27:53] <Alexwijn> But if it also include controllers then I got a error when going to that controller that it is not found
1323: [18:28:12] <Alexwijn> And that is true because the child does not have the controller, the parent of that page does
1324: [18:28:18] <Alexwijn> he got the widget
1325: [18:39:17] <Alexwijn> Nobody got a suggestion?
1326: [18:40:16] * gelignite has joined #silverstripe
1327: [18:40:40] <guzzlefry> Alexwijn: I might have some code using that.
1328: [18:40:41] <guzzlefry> one second
1329: [18:40:55] <Alexwijn> Ok thanks
1330: [18:41:23] <catcher> What exactly does it mean to have a widget include a controller?
1331: [18:41:36] <Alexwijn> A widget can also have a controller
1332: [18:41:37] * chillu has joined #silverstripe
1333: [18:41:52] <catcher> ah, I see what you mean
1334: [18:43:24] <Alexwijn> When I submit something to widget controller he goes to non existing url saying: "[User Error] No widget found"
1335: [18:43:36] <Alexwijn> I need to change the way he connects to a controller somehow
1336: [18:43:59] <Alexwijn> So he picks the parent when it needs to inherit
1337: [18:44:32] <guzzlefry> okay, all of my widget stuff is simpler than that. :)
1338: [18:44:46] <Alexwijn> What ya got?
1339: [18:45:33] <guzzlefry> nothing that uses a controller
1340: [18:45:37] <Alexwijn> oh
1341: [18:45:46] <Alexwijn> Well I need it for a contact form
1342: [18:50:50] <Alexwijn> Is there any update about integrating the new TinyMCE into SS?
1343: [19:00:59] * zfmf has left #silverstripe
1344: [19:05:38] * chillu quit (Quit: chillu)
1345: [19:06:48] <Alexwijn> What should be used for DataObjectSet in SS 3.x?
1346: [19:06:57] * chillu has joined #silverstripe
1347: [19:08:19] <simon_w> ArrayList or DataList
1348: [19:08:47] <Alexwijn> When I use that I get: "Can't call DataList::push() because its data comes from a specific query."
1349: [19:09:17] <simon_w> Then you want ArrayList
1350: [19:09:33] <Alexwijn> "Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'ArrayList'"
1351: [19:09:45] <simon_w> You still need to loop over it
1352: [19:12:10] <Alexwijn> How to get the item in the array
1353: [19:12:13] <Alexwijn> In the template
1354: [19:15:29] * oddnoc has joined #silverstripe
1355: [19:15:40] * mrzero quit (Remote host closed the connection)
1356: [19:15:47] * mrzero has joined #silverstripe
1357: [19:18:42] <simon_w> <% loop $Name %>
1358: [19:20:31] <guzzlefry> Who wants to have a doc writing weekend marathon?!
1359: [19:21:16] * guzzlefry has been compiling notes.
1360: [19:21:52] <Alexwijn> I'm trying to use this code: http://www.silverstripe.org/customising-the-cms/show/8176#post266025
1361: [19:22:05] <Alexwijn> But I'm not sure how to show the widgets html in the template
1362: [19:23:18] <Alexwijn> Never mind, found it :)
1363: [19:23:20] <Alexwijn> $forTemplate
1364: [19:23:45] * DigNZ has joined #silverstripe
1365: [19:23:46] <guzzlefry> In onBeforeWrite(), how do I check the fields for $this as they currently exist in the datbase?
1366: [19:24:11] <simon_w> $this->original['name']
1367: [19:24:20] <guzzlefry> thanks
1368: [19:24:21] <simon_w> May not exist in every case, so do isset() first
1369: [19:24:30] <guzzlefry> ew
1370: [19:24:39] <guzzlefry> There's no better way?
1371: [19:24:48] <guzzlefry> isset() is my enemy. :P
1372: [19:25:04] <AlphaCactus> hows that?
1373: [19:25:16] <simon_w> No, isset is your friend :p
1374: [19:25:43] <guzzlefry> AlphaCactus: I always forget about it, then it bites me in the ass. :P
1375: [19:26:34] <Alexwijn> Is it possible to overrite a extension?
1376: [19:27:29] <simon_w> In what way?
1377: [19:27:41] <Alexwijn> A module have added a extension
1378: [19:27:48] <Alexwijn> But I want to override a function of it
1379: [19:28:06] <Alexwijn> I don't want to change the module code since I use composer to keep that module up-to-date
1380: [19:28:23] <AlphaCactus> how do you forget about isset, its like the one most common php command that prevents non-object access errors
1381: [19:28:24] <simon_w> Assuming it's not one called from extend(), you can just define the method in the class the extension's being added to
1382: [19:28:44] <Alexwijn> Then I change th code of that extension
1383: [19:28:49] <Alexwijn> I dont want that
1384: [19:29:00] <Alexwijn> I want a seperate file to override it
1385: [19:29:07] <simon_w> What's the name of the method?
1386: [19:29:14] <Alexwijn> handleWidget
1387: [19:29:20] <Alexwijn> WidgetContentControllerExtension
1388: [19:30:18] <guzzlefry> Is there a SilverStripey way to set a boolean to false in all dataobjects other than the given one?
1389: [19:30:19] <simon_w> Then, in your own controller, you can just add a handleWidget method and add it to the $allowed_actions
1390: [19:30:33] <guzzlefry> I think I used a query the last time I did this. But it feels wrong. :P
1391: [19:30:36] <Alexwijn> Then the extension won't override it?
1392: [19:30:48] <simon_w> Then the extension can't override it
1393: [19:30:53] <Alexwijn> ok
1394: [19:31:43] <simon_w> guzzlefry, talk to ss23 about his plans for something like that. You do need to use a query though
1395: [19:31:59] <Alexwijn> The new function is not getting executed
1396: [19:32:04] <Alexwijn> he keeps executing the extension function
1397: [19:32:46] <simon_w> Have you added it to allowed_actions? And you need to flush after doing so
1398: [19:33:09] <guzzlefry> ss23: Tell me your secrets!
1399: [19:33:35] * trxclint has joined #silverstripe
1400: [19:34:04] <Alexwijn> @simon_w, Yup, no affect
1401: [19:34:23] <Alexwijn> I'm adding it to Page.php
1402: [19:35:27] * nickmolhoek has joined #silverstripe
1403: [19:35:29] <Alexwijn> Hm
1404: [19:35:39] <Alexwijn> It seems that the url handler.yml is set to
1405: [19:35:43] <Alexwijn> ContentController:
1406: [19:35:43] <Alexwijn> extensions:
1407: [19:35:43] <Alexwijn> - WidgetContentControllerExtension
1408: [19:35:43] <Alexwijn> url_handlers:
1409: [19:35:43] <Alexwijn> 'widget/$ID!': 'handleWidget'
1410: [19:35:50] <simon_w> Page or Page_Controller?
1411: [19:36:07] <Alexwijn> Oh crap
1412: [19:36:26] <Alexwijn> I totally forgot that one
1413: [19:37:07] <Alexwijn> works now :)
1414: [19:37:30] <Alexwijn> "popCurrent called on ModelAsController controller, but it wasn't at the top of the stack"
1415: [19:37:31] <Alexwijn> Damn...
1416: [19:38:06] <Alexwijn> And now?
1417: [19:38:08] <Alexwijn> How to fix that
1418: [19:38:20] <simon_w> See what the existing method is returning? https://github.com/silverstripe/silverstripe-widgets/blob/master/code/controller/WidgetContentControllerExtension.php#L63
1419: [19:38:23] <simon_w> You need to do that too
1420: [19:38:29] <Alexwijn> I just copied and paste it
1421: [19:39:00] <simon_w> Did you change $this->owner to $this?
1422: [19:39:13] <Alexwijn> nope
1423: [19:39:14] <Alexwijn> wait
1424: [19:39:51] <Alexwijn> My IDE can't find getRequest() on $this
1425: [19:40:23] <Alexwijn> I guess the request will be passed by a parameter?
1426: [19:40:24] * Ryan-Toast has joined #silverstripe
1427: [19:40:41] <Ryan-Toast> Morning, guys.
1428: [19:40:47] <Alexwijn> Evening
1429: [19:40:56] <Ryan-Toast> Friday at last.
1430: [19:41:07] <simon_w> If you're in Page_Controller, then getRequest() is in RequestHandler
1431: [19:41:09] <Alexwijn> It's still thursday here
1432: [19:41:15] <Ryan-Toast> Guts, man :P
1433: [19:41:21] <simon_w> and yes, it'll be passed in as a parameter
1434: [19:42:58] * mobiusnz has joined #silverstripe
1435: [19:44:43] <oddnoc> Not even noon Thursday here :)
1436: [19:46:54] <Alexwijn> How to get the controller of the parent
1437: [19:47:00] <Alexwijn> of a controller
1438: [19:48:14] <Alexwijn> With $this->parent() you get a class named Page
1439: [19:48:21] <Alexwijn> But I want Page_Controller of it
1440: [19:48:24] <mobiusnz> did anyone else have issues with SS sites after upgrading to Mavericks?
1441: [19:48:39] <simon_w> mobiusnz, nope
1442: [19:48:43] <oddnoc> No, what kind of issues?
1443: [19:48:56] <Alexwijn> Do you have a Western Digitial HDD?
1444: [19:49:03] <simon_w> Alexwijn, you can use ModelAsController::controller_for() to get the controller for a page
1445: [19:49:13] <mobiusnz> localhost/somesite/dev/build comes up not found
1446: [19:49:35] <simon_w> mobiusnz, does localhost/somesite/ work?
1447: [19:49:39] <oddnoc> Are you running Apple's apache?
1448: [19:50:05] <mobiusnz> localhost/somesite/ complains about a lack of mysqli, then redirects to somesite/index.php/dev/build?returnURL= which seems to crash my tab
1449: [19:50:13] <mobiusnz> oddnoc: yep
1450: [19:50:24] <simon_w> mobiusnz, need to turn AllowOverride on again
1451: [19:50:33] <mobiusnz> ah, must've missed that bit
1452: [19:51:16] <Alexwijn> @simon_w, is it possible to pass the requesthandler to it?
1453: [19:51:31] <simon_w> Alexwijn, handleRequest($request)
1454: [19:52:03] <mobiusnz> simon_w: ok, now /dev/build doesn't 404, but it still crashes chrome
1455: [19:52:20] * zlincoln has joined #silverstripe
1456: [19:52:48] <mobiusnz> it's trying MySQLi for some reason… shouldn't it just be MySQL?
1457: [19:52:57] * trxclint quit (Ping timeout: 250 seconds)
1458: [19:53:04] <simon_w> No
1459: [19:53:09] <mobiusnz> my phpMyAdmin works fine, so the databases are there
1460: [19:53:34] <simon_w> Apple's PHP comes with mysqli
1461: [19:53:55] <Alexwijn> I tried handleAction
1462: [19:54:06] <Alexwijn> But the parent function could not retrieve the request
1463: [19:54:08] <zlincoln> when extending gridfieldexportbutton, you can set the title with ->setTitle within getHTMLFragments - is there a way to setAction? so that you can specify/utilize a modified generateExportFileData?
1464: [19:54:09] <mobiusnz> ah, I wonder if it's removed my php.ini
1465: [19:54:22] <Alexwijn> There it set to NULLHTTPRequest
1466: [19:55:59] <mobiusnz> hmm, phpinfo() shows mysqli in there
1467: [19:56:53] <oddnoc> FWIW, my dev/build does not crash Chrome
1468: [19:57:42] <Alexwijn> So how to fix this?
1469: [19:58:17] <mobiusnz> I'm getting mysqli::mysqli() (HY000/2002): No such file or directory
1470: [19:58:30] <mobiusnz> but I can't even copy/paste the error
1471: [19:59:39] <mobiusnz> also seems to lock up Safari, which is interesting
1472: [19:59:50] <mobiusnz> how the hell does that even happen
1473: [19:59:54] <guzzlefry> safari...
1474: [20:00:10] <oddnoc> Can the CLI mysql client connect?
1475: [20:00:21] <mobiusnz> well phpMyAdmin can
1476: [20:00:37] <guzzlefry> hm
1477: [20:00:49] <guzzlefry> mobiusnz: I wonder if you need mysqli libs tied into the server?
1478: [20:00:51] <guzzlefry> MySQL server that is
1479: [20:00:52] <mobiusnz> and that shouldn't crash the browser
1480: [20:01:09] <mobiusnz> if anything it should crash apache
1481: [20:01:35] <UndefinedOffset> anyone know if SS 3.1 allows multiple TinyMCE configs? I know this was a problem with 3.0
1482: [20:01:44] <UndefinedOffset> (in the cms)
1483: [20:02:27] <mobiusnz> wow, even crashes remote computres
1484: [20:02:47] <mobiusnz> IE 11 on 8.1
1485: [20:02:49] <simon_w> mobiusnz, need to set the mysqli socket path by the sound of things
1486: [20:03:28] <Alexwijn> I'm unable to do this after handleAction: "$this->getRequest()->param('ID')"
1487: [20:03:42] <Alexwijn> $this->requestParams does get filled
1488: [20:04:28] <mobiusnz> hmm, ok that could be it. phpinfo shows /val/mysql/mysql.sock which doesn't exist. Wonder how phpMyAdmin is doing it!
1489: [20:05:02] <simon_w> Two options: the mysql socket path is correct or it's using 127.0.0.1 instead of localhost
1490: [20:05:18] <mobiusnz> • Server: Localhost via UNIX socket
1491: [20:05:19] <mobiusnz> • Server version: 5.5.27
1492: [20:05:19] <mobiusnz> • Protocol version: 10
1493: [20:05:19] <mobiusnz> • User: root@localhost
1494: [20:05:19] <mobiusnz> • MySQL charset: UTF-8 Unicode (utf8)
1495: [20:05:22] <simon_w> Alexwijn, because that's done by handleRequest
1496: [20:05:43] <Pyromanik> http://www.youtube.com/watch?v=HGMx0YkeTFQ
1497: [20:05:58] <Pyromanik> no antmas, no ss23
1498: [20:06:00] <Pyromanik> wtf
1499: [20:06:02] <Pyromanik> THIS IS LIES
1500: [20:06:20] <simon_w> Your face is lies!
1501: [20:06:24] <Pyromanik> BOOM
1502: [20:06:26] <Pyromanik> :D
1503: [20:06:34] <Pyromanik> It totally is, how did you know?
1504: [20:06:36] <Alexwijn> $widget = $this->parent()->exists() ? ModelAsController::controller_for($this->parent())->handleRequest($this->getRequest())->handleWidget() : null;
1505: [20:06:38] <mobiusnz> I wish I could make knocktounlock type my sudo password
1506: [20:06:47] <Alexwijn> "Call to a member function where() on a non-object"
1507: [20:06:53] <Alexwijn> \cms\code\controllers\ContentController.php on line 166
1508: [20:08:20] <simon_w> Alexwijn, just call handleRequest(), that does everything else
1509: [20:08:43] <Alexwijn> Same error
1510: [20:09:02] <Alexwijn> Also $request parameter is required
1511: [20:11:06] * UncleCheese has joined #silverstripe
1512: [20:11:33] <zippy__> moring
1513: [20:12:28] <zlincoln> when extending gridfieldexportbutton, you can set the title with ->setTitle within getHTMLFragments - is there a way to setAction? so that you can specify/utilize a modified generateExportFileData?
1514: [20:12:51] <Pyromanik> urgh, sspaste.com dun gone got da spamz :<
1515: [20:12:57] * chillu quit (Ping timeout: 252 seconds)
1516: [20:13:16] <Alexwijn> @simon_w, fixed it with $parentController = $this->parent()->exists() ? ModelAsController::controller_for($this->parent()) : null;
1517: [20:13:19] <Alexwijn> $parentController->request = $this->request;
1518: [20:14:06] <Alexwijn> How to get the model of a controller :)
1519: [20:14:22] <Alexwijn> I need to add the if statement if the widgets are inherited or not
1520: [20:14:55] * chillu has joined #silverstripe
1521: [20:19:51] <guzzlefry> DataObject::Exists(), are there any notable instances on when this should be called?
1522: [20:20:29] * antmas has joined #silverstripe
1523: [20:20:47] * Liquide has joined #silverstripe
1524: [20:21:57] <Alexwijn> Cam someone correct the following code:
1525: [20:21:58] <Alexwijn> $this->dataRecord->record['InheritWidgetArea']
1526: [20:22:13] <antmas> morning all
1527: [20:22:14] <Alexwijn> Its from the call Page_Controller
1528: [20:22:18] <Alexwijn> class*
1529: [20:22:24] <Alexwijn> Evening, antmas
1530: [20:23:04] <zippy__> antmas: moring
1531: [20:24:13] <Alexwijn> Does nobody know how to get a value from the class Page from the class Page_Controller
1532: [20:24:53] <zippy__> ss23: Did you look at using http://besnappy.com/ ?
1533: [20:26:58] * Toe quit (Ping timeout: 240 seconds)
1534: [20:27:44] * DryerLintPurple has joined #silverstripe
1535: [20:27:58] <Pyromanik> antmas: late!
1536: [20:28:01] <Pyromanik> http://www.youtube.com/watch?v=HGMx0YkeTFQ
1537: [20:28:09] <Pyromanik> 09:05 < Pyromanik> http://www.youtube.com/watch?v=HGMx0YkeTFQ
1538: [20:29:37] <oddnoc> Alexwijn: The Page_Controller should have direct access to Page fields: $this->InheritWidgetArea
1539: [20:29:38] <antmas> Pyromanik: eh, was in meetings :<
1540: [20:30:13] <Alexwijn> Fixed it using $this->data()
1541: [20:33:14] <mobiusnz> yay, fixed it
1542: [20:33:25] <mobiusnz> turns out OSX helpfully removed my /etc/php.ini
1543: [20:33:43] <mobiusnz> odd that /dev/build will crash any browser if it can't connect to the db
1544: [20:34:22] <zlincoln> maybe the memory limit is too high?
1545: [20:35:08] <mobiusnz> how does that crash the browser though?
1546: [20:35:23] <mobiusnz> even crashed browsers running on other computers
1547: [20:35:28] <mobiusnz> IE, Safari, and Chrome
1548: [20:35:40] <mobiusnz> didn't try FF but I assume it would do that too
1549: [20:35:53] <guzzlefry> 0.o
1550: [20:35:57] <guzzlefry> weird
1551: [20:36:00] <guzzlefry> It shouldn't do that. :P
1552: [20:36:05] <mobiusnz> yeah
1553: [20:36:23] <mobiusnz> no idea how to even begin debugging that!
1554: [20:36:41] <AlphaCactus> give it all up and become a monk
1555: [20:37:21] <mobiusnz> good plan
1556: [20:40:20] <AlphaCactus> doesn't have to be a boring life http://tinyurl.com/alc5ry7
1557: [20:40:24] * Alexwijn quit ()
1558: [20:41:19] <mobiusnz> hmm, is there a way to make $form->saveInto($record) only save a few fields?
1559: [20:41:51] <AlphaCactus> set each manually
1560: [20:42:14] <mobiusnz> I've got a form that has fields for a Member and a DataObject, and previously I'd just go $form->saveInto($member); $form->saveInto($do); and it would work as there were no clashes
1561: [20:43:02] <mobiusnz> but that seems to be broken with the current HTMLText editor as it now checks the record for it's escape type, which breaks when there isn't a record of that name
1562: [20:43:29] <antmas> dat feel when you guess an sql statement that works first pop
1563: [20:48:15] <Pyromanik> antmas: fuck meetings. Waste of time.
1564: [20:49:13] <antmas> Pyromanik: dude, preaching.
1565: [20:49:23] <antmas> I'm in at least 1 1hr meeting everyday
1566: [20:50:41] * zippy__ has 0 hr meetings most days....
1567: [20:51:45] <Pyromanik> antmas: do you sleep? I do.
1568: [20:51:46] * antmas is jelly of zippy__
1569: [20:52:12] <antmas> Pyromanik: I almost did yesterday during a training session on a new BI software package
1570: [20:52:25] <antmas> drier than a nun's nasty
1571: [20:53:00] <Pyromanik> antmas: I found the trick is to extremely subtly both imply that the client is stupid and talk in ever so slightly over the head technical stuffs, and when you get out you swear a lot and exclaim how fucking stupid the people in the meeting were, and then you don't get asked to come anymore.
1572: [20:53:13] <Pyromanik> it's a subtle art.
1573: [20:53:37] <Pyromanik> overdo it and you sound like a cunt.
1574: [20:53:53] <Pyromanik> underdo it and no one knows what you're on about.
1575: [20:54:41] <Pyromanik> BI
1576: [20:54:46] <Pyromanik> Biggot Infested?
1577: [20:55:05] <Pyromanik> Borining Initive?
1578: [20:55:44] <oddnoc> I rebase git branches during meetings. That way at least I'm being productive.
1579: [20:55:52] <Pyromanik> Blastedly Intractable?
1580: [20:56:02] <Pyromanik> haahah oddnoc
1581: [20:56:32] <zlincoln> I'm trying to create an alternate of gridfieldexportbutton, but I don't want to override its native generateExportFileData - so instead of extending i've just implemented the same classes that it uses. However, no matter what, it seems that I override. Can anyone help explain the situation?
1582: [20:57:40] <oddnoc> It's obvious that I'm not paying attention -- or so they think until I ask the most pertinent question of the whole meeting. :)
1583: [20:57:53] <antmas> Pyromanik: rofl
1584: [20:59:01] <antmas> 9/10 someone at the meeting has planned for nothing
1585: [20:59:14] <antmas> and you get nowhere
1586: [20:59:45] <antmas> so I draw them a db diagram + UML docs and ask them to read over it before the next meeting
1587: [20:59:51] <antmas> they don't come back for MONTHS
1588: [21:00:24] <oddnoc> hee hee
1589: [21:01:45] <antmas> "You need to select a printer in order to print"
1590: [21:01:47] <antmas> http://manilovefilms.com/wp-content/uploads/2013/06/nicolas-cage.jpg
1591: [21:06:20] <oddnoc> It always feels good to type "git flow feature finish silverstripe-3.1"
1592: [21:15:17] <mobiusnz> hmm, any idea why my form with a custom template isn't showing error messages for required fields?
1593: [21:15:37] <mobiusnz> $Fields.dataFieldByName(BusinessName).FieldHolder
1594: [21:15:41] <Zauberfisch23> chillu: fixed it yet? :P
1595: [21:15:49] <mobiusnz> FieldHolder should include messages, right?
1596: [21:15:58] <chillu> ;) Don't think I will in the next days
1597: [21:16:12] <simon_w> Zauberfisch23, fixed your PR yet? :p
1598: [21:16:19] <Zauberfisch23> simon_w: -.-
1599: [21:16:22] <Zauberfisch23> almost
1600: [21:16:27] <Zauberfisch23> I'll do that tomorrow
1601: [21:16:30] <Zauberfisch23> was to busy today
1602: [21:16:31] * tankr has joined #silverstripe
1603: [21:16:51] * UndefinedOffset quit (Quit: Leaving.)
1604: [21:17:41] <Zauberfisch23> chillu: for the record: c7f656cd0051a051bca2e60011c52ff812596d8a is good
1605: [21:17:53] <Zauberfisch23> Fri Sep 27
1606: [21:18:04] <Zauberfisch23> actually its
1607: [21:18:06] <Zauberfisch23> 91fb39f2720ac061845f9d62106e67e2b8ad3c2c
1608: [21:18:19] * zlincoln quit (Ping timeout: 250 seconds)
1609: [21:19:44] <Pyromanik> oddnoc: if you have that skill then well done :D When I ask the most pertinent question it's ususally because everyone else is too stupid. Because 9/10 I have no idea what they're talking about.
1610: [21:19:52] <Pyromanik> (because I tuned out)
1611: [21:20:05] <ss23> 08:32:47 <@simon_w> guzzlefry, talk to ss23 about his plans for something like that. You do need to use a query though
1612: [21:20:08] <ss23> what for?
1613: [21:20:19] <guzzlefry> oh
1614: [21:20:20] <simon_w> atomic updates
1615: [21:20:22] <oddnoc> Pyromanik: I think I just avoid group thing :)
1616: [21:20:25] <ss23> 09:07:02 < Pyromanik> no antmas, no ss23
1617: [21:20:26] <oddnoc> group think*
1618: [21:20:28] <ss23> busy today!
1619: [21:20:38] <ss23> 09:25:58 < zippy__> ss23: Did you look at using http://besnappy.com/ ?
1620: [21:20:40] <ss23> nope :O
1621: [21:20:53] <ss23> simon_w: oh yeah, I never wrote an implmentation
1622: [21:21:00] <ss23> simon_w: Still needed to work out how it would work :P
1623: [21:21:01] <guzzlefry> aw
1624: [21:22:16] <guzzlefry> DataObject::update("field", "value")->filter->("ID:Not", 42)->execute("!!!!");
1625: [21:22:19] <guzzlefry> maybe like that?
1626: [21:23:30] <Zauberfisch23> chillu: I have this weird issue on one of my servers, the alax response of saving a dataobject that is managed by a gridfield returns " " instead of "" which causes the JS to die.
1627: [21:23:34] <Zauberfisch23> any hints?
1628: [21:24:23] <simon_w> Zauberfisch23, extra whitespace in files
1629: [21:24:59] <Zauberfisch23> same code works on local and diffrent server
1630: [21:25:05] * travis-ci has joined #silverstripe
1631: [21:25:05] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1510 (3.1 - 4867334 : Sean Harvey): The build passed.
1632: [21:25:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/62bb6f1be428...48673346ad0b
1633: [21:25:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13653763
1634: [21:25:06] * travis-ci has left #silverstripe
1635: [21:25:10] <Zauberfisch23> did both: sftp upload and git clone
1636: [21:25:13] <mobiusnz> is there a form validator that checks for in use emails?
1637: [21:25:56] <Zauberfisch23> chillu: 42fa4d6005c70421364eb34d23523d4a456e5e95 Oct 31 is good as well
1638: [21:26:43] <guzzlefry> So
1639: [21:27:08] <guzzlefry> it looks like ?flush while in the CMS only flushes the CMS templates and not the ones in theme/?
1640: [21:27:09] <guzzlefry> Correct?
1641: [21:28:03] <AlphaCactus> guzzlefry: https://groups.google.com/forum/#!topic/silverstripe-dev/RNWCiFAnRI0
1642: [21:29:26] <guzzlefry> I need to subscribe to that.
1643: [21:29:26] <guzzlefry> Thanks
1644: [21:30:24] <Zauberfisch23> chillu: ok, deal: I do the bisect, you brainstorm with me on the " " issue?
1645: [21:30:25] <AlphaCactus> readying a couple posts always reminds me of how much I have no idea what is going on
1646: [21:30:27] <ss23> guzzlefry: https://groups.google.com/forum/#!searchin/silverstripe-dev/atomic$20update/silverstripe-dev/yZVNJRXa5kY/WxAFEM729A8J
1647: [21:30:31] <ss23> guzzlefry: feel free to weigh in
1648: [21:32:27] <AlphaCactus> Zauberfisch23: do you have any files that have space after ?> at the end of the file
1649: [21:32:43] <Zauberfisch23> AlphaCactus: no, code works fine on other servers, so I don't think so
1650: [21:32:47] <oddnoc> Please omit the ?> at end
1651: [21:33:03] <Zauberfisch23> even did a full redeploy, dwice, sftp and via git
1652: [21:33:04] <simon_w> Zauberfisch23, you can't rely on that
1653: [21:39:04] <Zauberfisch23> thats weird, on my PC here at home all works fine ( chillu )
1654: [21:39:16] <Zauberfisch23> do you have a commit you know to be broken?
1655: [21:50:25] <madmatt> ss23: g'luck for your session today :D
1656: [21:51:19] <antmas> ss23: session?
1657: [21:51:25] <antmas> question about IE
1658: [21:51:37] <antmas> wait, nvm :D
1659: [21:54:54] <simon_w> madmatt, you should go and troll him!
1660: [21:55:19] <madmatt> simon_w: gonna be too busy, but maybe
1661: [21:55:33] <simon_w> Yeah, that's my problem too :(
1662: [21:57:21] <Zauberfisch23> chillu: now I am getting: Your browser is not compatible with the CMS interface. Please use Internet Explorer 8+, Google Chrome or Mozilla Firefox.
1663: [21:57:30] <Zauberfisch23> IE11 on my desktop PC at home
1664: [21:57:33] <Zauberfisch23> fresh install
1665: [21:57:35] <Zauberfisch23> but no crash
1666: [21:57:52] <Zauberfisch23> (fresh install of SS, the windows is like 2 weeks old)
1667: [21:58:02] * jrthomer has joined #silverstripe
1668: [21:58:51] <Pyromanik> ah, is it KiwiCon today?
1669: [21:59:16] <Zauberfisch23> document mode was set to 7, turned it to edge, works now
1670: [22:00:38] <Zauberfisch23> this is just weird
1671: [22:00:41] <Zauberfisch23> I am going to bed
1672: [22:00:43] <Zauberfisch23> good night
1673: [22:01:16] <simon_w> Pyromanik, public training day
1674: [22:01:30] <chillu> Zauberfisch23: lol wtf
1675: [22:01:54] <Zauberfisch23> yeah
1676: [22:01:56] <chillu> if($.browser.msie && parseInt($.browser.version, 10) < 8) - that's pretty straightforward, right?
1677: [22:02:11] <chillu> $.browser.version is deprecated though, so jQuery prolly wouldnt test it against IE11
1678: [22:02:15] <chillu> ok meeting
1679: [22:02:18] <Zauberfisch23> well, it seems that IE decided to switch the user agent mode
1680: [22:02:33] <Zauberfisch23> probably because it thought that the website needs compatibility mode
1681: [22:02:41] <Zauberfisch23> well, I will try it again with my VMs at work
1682: [22:02:48] <Zauberfisch23> maybe I have better luck crashing it there
1683: [22:03:07] <Zauberfisch23> good night
1684: [22:04:28] <ss23> ty madmatt
1685: [22:04:37] <ss23> simon_w: you're at work, hardly counts as "busy"
1686: [22:04:45] <ss23> meanwhile, who knew that kali didn't work on this box?!
1687: [22:05:54] <mobiusnz> well, I think I've figured out why that /dev/build caused browser tabs to crash...
1688: [22:06:26] <mobiusnz> safari ended up not totally crashing and managed to load the whole thing… 2.1MB of HTML code!
1689: [22:07:04] <zippy__> mmmm the kiwicon lineup looks quite good this year
1690: [22:08:55] <DaShiVaDan> mobiusnz: 2.1mb of raw html?
1691: [22:09:05] <mobiusnz> DaShiVaDan: yeah
1692: [22:09:30] <DaShiVaDan> that's a big build :P
1693: [22:11:15] <mobiusnz> yeah, SS seems pretty naïve about trying to build a database when it can't reach the database
1694: [22:13:47] <mobiusnz> "oh, there was an error trying to connect to the database, let me try and make a new database". "oh there was an error trying to make a new database, let me try using that database". "oh, there was an error trying to use the database, let me try showing the tables in the database"
1695: [22:14:00] <mobiusnz> wtf
1696: [22:14:03] <DaShiVaDan> lol
1697: [22:14:29] <mobiusnz> surely there should be a thing in /dev/build that says "Can't connect to database. Stop'
1698: [22:15:25] * gelignite quit (Quit: http://bit.ly/nkczDT)
1699: [22:18:33] <Ryan-Toast> How can I get the ID of SiteConfig?
1700: [22:22:05] * simon_w|air quit (Quit: Leaving)
1701: [22:22:23] <antmas> 389kph winds :O http://www.stuff.co.nz/world/asia/9378143/Thousands-flee-as-monster-typhoon-hits
1702: [22:24:52] <zippy__> jezus
1703: [22:25:01] <Ryan-Toast> Grab your kites.
1704: [22:25:10] <Ryan-Toast> And leave the country.
1705: [22:25:27] <zippy__> This is the 24th such storm to hit the Philippines this year.
1706: [22:25:41] <zippy__> it's like people that live in the tonado paths in america
1707: [22:25:45] <antmas> TAKE THE HINT, GUYS
1708: [22:25:54] <zippy__> or Wellington in NZ (for the eqs).... shits going to happen..
1709: [22:29:52] * danfo has joined #silverstripe
1710: [22:30:29] <oddnoc> mobiusnz: (15 minutes ago) oh hell yes
1711: [22:35:20] <mobiusnz> what's the current bug tracker thing for SS? It probably should be marked as a bug
1712: [22:35:31] <AlphaCactus> git?
1713: [22:37:43] <Ryan-Toast> Anyone know how I can get the SiteConfigID?
1714: [22:39:03] <mobiusnz> Ryan-Toast: the current config?
1715: [22:39:08] <mobiusnz> or any particular one
1716: [22:39:09] <Ryan-Toast> Yes.
1717: [22:39:10] <simon_w> Ryan-Toast, SiteConfig::current_site_config()->ID
1718: [22:39:21] <mobiusnz> ^^
1719: [22:39:49] <Ryan-Toast> so in a controller it would be $this->SiteConfig->ID?
1720: [22:40:02] <simon_w> No
1721: [22:40:09] <simon_w> It'd be SiteConfig::current_site_config()->ID
1722: [22:40:27] <Ryan-Toast> Ah, cool.
1723: [22:40:31] <Ryan-Toast> Thanks :)
1724: [22:41:48] * danfo quit (Quit: danfo)
1725: [22:46:11] * danfo has joined #silverstripe
1726: [22:51:23] * jrthomer quit (Remote host closed the connection)
1727: [22:52:20] * mirrors has joined #silverstripe
1728: [22:53:43] <mirrors> hey guys....i am having trouble moving my database from a localhost (windows with lowercase table names) to a linux db with uppercase and lowercase tables names.....SilverStripe 2.4 fixed this problem if you ran dev/build directly after importing the db
1729: [22:53:54] <mirrors> SS 3.1 isnt doing this for me
1730: [22:54:51] <mirrors> anyone experienced this or know what I can do
1731: [22:56:08] * spronk2 has joined #silverstripe
1732: [22:56:22] <Ryan-Toast> Does the siteConfigID ever change, or is it always 1?
1733: [22:57:00] <Pyromanik> [User Warning] popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
1734: [22:57:03] <Pyromanik> dammit
1735: [22:57:06] <Pyromanik> Ryan-Toast: it can chanve.
1736: [22:57:18] <Ryan-Toast> Pyromanik: When/how does it change?
1737: [22:57:19] <oddnoc> Ryan-Toast: In principle, you could have multiple site configs.
1738: [22:57:21] <Pyromanik> it's always 1 normally, but relying on it being as such is a very bad idea.
1739: [22:57:33] <Pyromanik> Ryan-Toast: subsites, translations, etc.
1740: [22:57:33] <guzzlefry> In getCMSFields(), how can I add a field to link a relation?
1741: [22:57:40] <guzzlefry> oh wait
1742: [22:57:45] <guzzlefry> dropdown :P
1743: [22:57:47] <Pyromanik> guzzlefry: dropdownfield
1744: [22:57:47] <Ryan-Toast> Pyromanik: Ah, right.
1745: [22:57:48] <Pyromanik> derp
1746: [22:57:56] <guzzlefry> Is there anything with autocomplete magic?
1747: [22:58:02] <Pyromanik> guzzlefry: dropdowns.
1748: [22:58:10] <guzzlefry> I uh..
1749: [22:58:14] <guzzlefry> didn't know that!
1750: [22:58:15] <guzzlefry> thanks :)
1751: [22:58:17] <Pyromanik> y'all turns: [User Warning] popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
1752: [22:58:30] <guzzlefry> OH
1753: [22:58:32] <lewellyn> Pyromanik: are they as magical as dropbears?
1754: [22:58:35] <guzzlefry> I had something like that a few weeks ago.
1755: [22:58:53] <Pyromanik> becuase I have $url_handlers with $Category/$Item! => viewItem
1756: [22:59:13] <Pyromanik> and my URL I've typed in is site.blah/page/category-name/item-name/asdf
1757: [22:59:24] * micmania1 has joined #silverstripe
1758: [22:59:30] * jrthomer has joined #silverstripe
1759: [22:59:36] <guzzlefry> Pyromanik: "Apparently it's a result of not having added the action to allowed_actiosn" From logs
1760: [22:59:45] * violetina quit (Read error: Connection reset by peer)
1761: [22:59:48] <Pyromanik> everything works swimmingly up until asdf (or any other unmapped action)
1762: [22:59:54] <Pyromanik> guzzlefry: yeah nah, but it should just 404
1763: [22:59:57] <Pyromanik> which it does
1764: [23:00:05] <Pyromanik> but also throws this warning
1765: [23:00:58] <Pyromanik> hmm, time to go, will figure it out later!
1766: [23:01:01] * Pyromanik quit (Quit: leaving)
1767: [23:01:06] <DaShiVaDan> mirrors: can you just change the encoding of your db names to a _ci type of thing? or is this a different issue/that'll have bad side effects for the project?
1768: [23:01:59] * jrthomer quit (Remote host closed the connection)
1769: [23:02:32] * jrthomer has joined #silverstripe
1770: [23:04:25] <Ryan-Toast> Pyromanik: SiteConfig::current_site_config() returns "SiteConfig" but SiteConfig::current_site_config()->ID is empty. Can I not get the ID that way?
1771: [23:06:37] <danfo> sometimes none of my css loads :( I'm sure it's not a silverstripe issue but it is doing my head in a little bit.
1772: [23:06:38] * jrthomer quit (Ping timeout: 240 seconds)
1773: [23:07:26] <Ryan-Toast> oddnoc:How are you including your css?
1774: [23:07:52] <danfo> the stylesheet link href's are fine, just nothing being applied
1775: [23:08:15] * oddnoc quit (Quit: sleeping...)
1776: [23:08:31] <Ryan-Toast> Are you hardcoding the links in?
1777: [23:08:35] * danfo_ has joined #silverstripe
1778: [23:08:59] <Ryan-Toast> Or are you using require?
1779: [23:09:13] <danfo_> requirements engine
1780: [23:09:36] <Ryan-Toast> Weird.
1781: [23:09:59] <Ryan-Toast> So they show up in the source, but just don't apply?
1782: [23:10:31] <danfo_> yep :( and clicking through in web inspector, the files are all there
1783: [23:10:49] <danfo_> and sometimes it loads and is happy... but no good at all right now
1784: [23:11:16] <Ryan-Toast> Loading them before javascript?
1785: [23:11:32] <Ryan-Toast> have the correct doctype|?
1786: [23:11:40] * Liquide quit ()
1787: [23:12:25] * danfo quit (Ping timeout: 265 seconds)
1788: [23:12:26] <danfo_> lets see... just after google analytics, before rest of js. doctype is right...
1789: [23:12:26] * danfo_ is now known as danfo
1790: [23:12:49] <Ryan-Toast> CSS should always be loaded before js
1791: [23:13:00] <Ryan-Toast> Try move your analytics.
1792: [23:13:04] <danfo> I'm testing on hhvm via nginx, but I don't know if that should be making a difference?
1793: [23:13:07] <Ryan-Toast> to the bottom of the body tag.
1794: [23:13:07] <danfo> yeah, sweet ta will try
1795: [23:16:24] <danfo> nope :(
1796: [23:18:25] <guzzlefry> guys!
1797: [23:18:32] <antmas> guzzlefry: !
1798: [23:18:35] <guzzlefry> With DropDownField, how do I allow an empty value.
1799: [23:18:42] <guzzlefry> question mark up there ^ :P
1800: [23:19:26] <guzzlefry> nevermind, think I found it.
1801: [23:20:39] <guzzlefry> ->setEmptyString()
1802: [23:20:42] * simon_w|air has joined #silverstripe
1803: [23:22:25] <Ryan-Toast> current_site_config gets every field but the ID ><
1804: [23:25:11] <guzzlefry> hm
1805: [23:25:40] <Ryan-Toast> yeah, sweet ta will try
1806: [23:25:40] <Ryan-Toast> [12:16pm]may just be a VM problem.
1807: [23:25:50] <Ryan-Toast> danfo: ^
1808: [23:26:19] <guzzlefry> For $summary_fields, how do I set a title for an overloaded field?
1809: [23:26:43] * Stevie has joined #silverstripe
1810: [23:26:53] <guzzlefry> hold on...I might answer my own question for the billionth time today. :P
1811: [23:27:07] <Stevie> ugh trying to get swipestripe working with paypal is proving fun :D
1812: [23:27:12] <guzzlefry> nope
1813: [23:27:25] <guzzlefry> guys, how I can do?
1814: [23:29:41] <antmas> IE11 is now on Win7 - w00t
1815: [23:30:25] * catcher quit (Quit: Leaving)
1816: [23:32:19] <guzzlefry> private static $summary_fields = array("MethodName" => "Description"); right?
1817: [23:34:27] <guzzlefry> fsck
1818: [23:34:44] <guzzlefry> Would MethodName need to be in $db?
1819: [23:38:34] <Stevie> it needs a type
1820: [23:38:36] <Stevie> cast it
1821: [23:39:00] <Stevie> private static $casting = array('MethodName' => 'Varchar');
1822: [23:39:49] * UncleCheese quit (Quit: UncleCheese)
1823: [23:43:10] * Ryan-Toast quit (Quit: Ryan-Toast)
1824: [23:43:15] <guzzlefry> gah
1825: [23:43:16] <guzzlefry> not working :/
1826: [23:44:52] <guzzlefry> well wtf
1827: [23:47:23] <guzzlefry> Stevie: Didn't need casting. It started working when I set a title for ID.
1828: [23:47:26] <guzzlefry> no clue why
1829: [23:50:42] <guzzlefry> If the first item in summary_fields doesn't have a description set on it, yet the following item does, the following item's value will display blank...
1830: [23:50:59] <guzzlefry> simon_w: ^ bug?
1831: [23:58:55] * chrisrio has joined #silverstripe
1832: [23:59:23] <chrisrio> can I easily tell SS/TinyMCE that I know best - and to stop it resizing everything to 600px max width?
1833: [23:59:28] <chrisrio> or alter that 600px max width value
1834: [23:59:34] <chrisrio> SS3.0.6

Logging sponsored by you? Get in touch!

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