#silverstripe IRC Log

IRC log for 8 July 2013

All timestamps are in UTC.

1: [00:02:48] * unsignedint quit (Ping timeout: 240 seconds)
2: [00:03:24] * Colin[pi] has joined #silverstripe
3: [00:04:23] <ss23> hmmm, SSH is bi-directional right? I remember reading... if you open up an SSH connection to a server, they don't get to execute commands on *your* server right? I'm not sure why I would think that you could... but I remember something vageuly... can't remmeber exactly
4: [00:08:31] * priithansen quit (Quit: priithansen)
5: [00:12:55] * unsignedint has joined #silverstripe
6: [00:13:12] <Colin[pi]> ss23: pretty sure a regular ssh connection is just in one direction
7: [00:13:22] <Colin[pi]> you can set up bidirectional tunnels iirc
8: [00:13:32] <ss23> Hmmmmm
9: [00:13:46] <Colin[pi]> otherwise it'd be a huge security risk, right?
10: [00:13:51] <ss23> I'm just wondering about the worst a malicious server you SSH to could do (without actually using exploits)
11: [00:14:03] <ss23> Colin[pi]: I guess so, but lots of things are huge security risks but people do :P
12: [00:15:49] <Colin[pi]> 1==1
13: [00:21:06] <simon_w> ss23, trying to take down packagist? :p
14: [00:22:00] <ss23> haha
15: [00:22:29] <ss23> Was more thinking about what happens if someone hacked github and had thousands of people SSHing in
16: [00:22:59] <simon_w> What if they hacked the underlying git repos to include backdoors in everything?
17: [00:23:18] <simon_w> Or the ZIP generator
18: [00:23:28] <ss23> Psh, that's so *old*
19: [00:23:32] <ss23> Everyone's already done that before!
20: [00:23:49] <ss23> Wouldn't it be more cool to mess up SSH connections to allow you to run arbitary commands on the machines of anyone who SSHs in?
21: [00:23:54] <simon_w> So write your own SSHd and start fuzzing :p
22: [00:24:07] <ss23> lol
23: [00:24:09] <ss23> I don't want to fuzz!~
24: [00:24:12] <ss23> I want to know like...
25: [00:24:18] <ss23> desgin cahracteristics that would make it possible
26: [00:24:26] <ss23> I was thinking of *intentional* things, like, designed in
27: [00:24:51] <tractorcow> Is this a bug or a flaw in my understanding? actions on a parent class appear to be denied if not specified in allowed_actions of any child class (with its own actions). Is this expected behaviour?
28: [00:25:11] <simon_w> tractorcow, if you're overriding the actions, you need to declare them as allowed
29: [00:25:37] <tractorcow> I'm not overriding any existing actions, just adding new actions.
30: [00:25:56] <tractorcow> Or do you mean overriding the allowed_actions config property?
31: [00:26:14] <simon_w> Well, are you making it null or empty?
32: [00:26:18] <tractorcow> Nope
33: [00:26:34] <tractorcow> I have ParentClass.action (and 'action' in my allowed actions)
34: [00:26:49] <tractorcow> and SubClass.otheraction (and 'otheraction' in SubClass::allowed_actions)
35: [00:26:58] <tractorcow> but SubClass.action gives me a denied error
36: [00:27:15] <simon_w> Updated framework recently?
37: [00:27:19] <tractorcow> Yeah :)
38: [00:27:28] <simon_w> And the CMS still works?
39: [00:27:36] <tractorcow> Seems so
40: [00:27:47] * Bollig|DesignCty has joined #silverstripe
41: [00:27:51] <simon_w> Then the bug's in your code somewhere :p
42: [00:28:00] <simon_w> EditForm's only an allowed_action on LeftAndMain
43: [00:28:49] <tractorcow> RequestHandler::allowedActions with a single variable (class name) does an Config::UNINHERITED filter
44: [00:29:24] <tractorcow> If I do $this->allowedActions('SubClass'); then 'action' is not in the list.
45: [00:29:57] <simon_w> It's not supposed to be
46: [00:30:01] <tractorcow> simon_w: I believe you, there probably is just a bug in my code somewhere. Can't understand why though. =/
47: [00:30:20] <simon_w> $definingClass = $this->definingClassForAction($actionOrigCasing);
48: [00:30:20] <simon_w> $allowedActions = $this->allowedActions($definingClass);
49: [00:30:25] <simon_w> That's how it's checked
50: [00:32:04] <simon_w> Do you have a SubClass_action template?
51: [00:33:13] <tractorcow> yep :)
52: [00:35:23] <tractorcow> Yes, I see the dumb thing I did =(
53: [00:35:33] <tractorcow> I'll let you laugh at me in a bit >_>
54: [00:41:37] <ss23> k so I needa write a short description of my talk
55: [00:41:48] <ss23> (the one I'll give at the Silverstripe meetup)
56: [00:42:50] * Kapdap quit (Remote host closed the connection)
57: [00:42:56] <simon_w> Bonus points if it includes batshit
58: [00:42:57] * Jayden90 quit (Quit: Jayden90)
59: [00:43:12] <tractorcow> I didn't have a method named 'action' on my class >_> I just had a MyTemplate_action.ss lol
60: [00:43:57] <tractorcow> It used to work (somehow)
61: [00:45:05] * Kapdap has joined #silverstripe
62: [00:45:21] <simon_w> allowed actions used to propagate
63: [00:45:50] <tractorcow> Yeah, that would do it.
64: [00:45:54] <tractorcow> But, my code usage was still wrong. :)
65: [00:45:59] <tractorcow> It just didn't break as it should
66: [00:46:08] * chillu quit (Quit: chillu)
67: [00:46:25] <tractorcow> definingClassForAction was returning null, because no class defined it
68: [00:46:55] <simon_w> On RequestHandler, yes. But not on Controller
69: [00:47:00] <simon_w> It would've been returning SubClass
70: [00:47:33] <tractorcow> Ah, yes,
71: [00:48:32] <tractorcow> Well, I could have fixed it by moving the allowed_action to the subclass, or by adding the actual method to the parent class
72: [00:49:49] <tractorcow> Thanks for your help
73: [00:49:57] <ss23> https://docs.google.com/presentation/d/11LeefpLJh76x_Bu9hU0Xp4_bjsPyEVk8v5W3PhhB4dA/edit?usp=sharing how do you write a short version of this people ( simon_w and tractorcow and co)
74: [00:51:18] <ss23> like, what is that about, idk
75: [00:51:26] <ss23> "a short talk on security and sivlerstripe, going into specifics of sqli and xss"?
76: [00:54:42] <tractorcow> I don't do a lot of pressos sorry
77: [00:54:50] <ss23> NEITHER DO I
78: [00:54:51] <tractorcow> and I screw up the ones i attempt
79: [00:54:51] * ss23 dies
80: [00:54:54] <ss23> lol
81: [00:54:56] <ss23> This will be my first
82: [00:54:58] <ss23> ;___;
83: [00:55:10] <tractorcow> I still remember the horror of my first public presentation
84: [00:55:15] <tractorcow> I got the first line of code wrong
85: [00:55:21] <ss23> haha
86: [00:55:25] <tractorcow> an audience member shouted out "hey, is the XXX ment to be YYY"
87: [00:55:27] <tractorcow> I said "NOPE"
88: [00:55:29] <tractorcow> it was >_>
89: [00:55:32] <ss23> XD
90: [00:56:50] <simon_w> ss23, A talk covering some possible security vulnerabilities and what you can do to prevent them
91: [00:57:12] <simon_w> "Use prepared statements" -> "Use prepared statements properly" :p
92: [00:57:36] <simon_w> Same problem that getting better to use ->filter() has :(
93: [00:57:36] * EasyCo has joined #silverstripe
94: [00:57:37] <ss23> lol
95: [00:57:53] <EasyCo> Anybody here use or ever use UncleCheese's Sliversmith?
96: [00:58:00] <UncleCheese> I DO!!!!
97: [00:58:01] <EasyCo> *Silversmith
98: [00:58:02] <ss23> hahaha
99: [00:58:06] <ss23> I was just about to say, "ASK UncleCheese YOURSELF"
100: [00:58:08] <EasyCo> Ahhh UncleCheese!
101: [00:58:16] <EasyCo> Just the man I was looking for!
102: [00:58:20] <simon_w> Yay, someone that can answer questions about his modules :p
103: [00:58:25] <UncleCheese> haha
104: [00:58:35] <EasyCo> First off, it looks sweet
105: [00:58:36] <UncleCheese> simon_w are you implying they're not well documented?
106: [00:58:40] <UncleCheese> i'm so offended
107: [00:58:43] * DigNZ quit (Quit: DigNZ)
108: [00:58:48] <ss23> "A talk covering some possible security vulnerbilities in Silverstripe, how they affect you, and what you can do to prevent them" @ simon_w, sounds okay?
109: [00:58:52] <EasyCo> Secondly, any way to seed custom data?
110: [00:59:00] <UncleCheese> custom data?
111: [00:59:01] <simon_w> UncleCheese, I'm implying that the people who answer questions don't use them :p
112: [00:59:04] <EasyCo> Instead of that default lorem ipsum
113: [00:59:09] <simon_w> ss23, yup, sounds good
114: [00:59:13] <UncleCheese> ok, give me an example
115: [00:59:14] <ss23> sweeeeeeet
116: [00:59:44] <simon_w> ss23, also, try to cover people using HTMLText/HTMLVarchar to store plain-text user input
117: [00:59:55] <simon_w> (for XSS)
118: [01:00:08] <ss23> simon_w: I did want to go into that a little bit more, but I'm mot familiar with it enough atm (the XSS slides were just quick things I did last night)
119: [01:00:15] <ss23> Concerntrated on SQLi, since I <3 that more
120: [01:00:16] <EasyCo> In Rails for example, you can define your DB structure but you can also supply your own seed data for whatever table/field of your choice/
121: [01:00:47] <simon_w> ss23, basically, $Blah == $Blah.XML (so escaped) for Text/Varchar, but $Blah == $Blah.RAW for HTML*
122: [01:01:17] <UncleCheese> ok
123: [01:01:20] <EasyCo> So instead of seeding random field data, you can specificy what data gets used.
124: [01:01:22] <EasyCo> Make sense?
125: [01:01:25] <UncleCheese> yeah
126: [01:01:26] <UncleCheese> one sec
127: [01:01:31] <UncleCheese> i think that's configurable
128: [01:01:54] <EasyCo> That'd be very nice :)
129: [01:01:56] <simon_w> ss23, basically, the most common XSS problem is people storing things in HTMLText that non-CMS users can stick stuff into, then just using $Field
130: [01:01:58] <ss23> simon_w: Cool, figured it was like that. So never store user input / plain text stuff as HTML types
131: [01:02:04] <ss23> yepyep
132: [01:03:05] <UncleCheese> hmm
133: [01:03:17] <UncleCheese> this is something that really needs to be moved to the config layer
134: [01:03:35] <UncleCheese> but if you look at lib/_defaults.yml
135: [01:03:41] <UncleCheese> DefautlContent is what's being pulled in there
136: [01:05:18] <UncleCheese> actually
137: [01:05:23] <UncleCheese> no, it's not
138: [01:05:29] <EasyCo> Just writing up sample now
139: [01:05:34] <UncleCheese> SilverSmithUtils::get_lipsum() is the function you want
140: [01:05:45] <UncleCheese> that's shitty.. shouldn't be making an http request
141: [01:05:49] <UncleCheese> you might checkout
142: [01:06:01] <UncleCheese> https://github.com/unclecheese/silverstripe-mock-dataobjects
143: [01:06:22] <ss23> only one page of support tickets assigned to me, bitchin'
144: [01:08:16] <EasyCo> UncleCheese, thanks I'll definitely have a look. As a feature request, something like this would be awesome: https://gist.github.com/trev/5945577
145: [01:08:19] <unsignedint> only 1 page? you lucky devil
146: [01:08:24] <ss23> :D
147: [01:08:29] <simon_w> Mmm, chocolate for lunch. One of the benefits of working from home.
148: [01:08:33] <ss23> We have ~200 in total, I just only care about this backlog
149: [01:08:42] <ss23> simon_w: You can have chocolate for lunch at work, you know
150: [01:08:42] <ss23> :P
151: [01:08:52] <simon_w> ss23, but then I have to go get it :p
152: [01:08:58] <ss23> Bring it with you!
153: [01:09:10] <simon_w> But then it's not at home for when I want some!
154: [01:09:43] <ss23> simon_w: Solution
155: [01:09:46] <ss23> MORE CHOCOLATE
156: [01:09:50] <ss23> (I have ~4 blocks at home atm)
157: [01:09:54] <ss23> Got more last night :D
158: [01:10:29] <ss23> meh, lunch time for meeee
159: [01:10:33] <ss23> McDonalds today I think :D
160: [01:11:24] <simon_w> Peavers, not going to http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/events/126152322/?
161: [01:11:49] <ss23> Peavers could get to hear my l33t talk on how Silverstripe will stop you getting hacked!
162: [01:13:37] <simon_w> And take the last spot while he's at it!
163: [01:13:52] <Pyromanik> simon_w: that sounds... healthy.
164: [01:14:00] <simon_w> Pyromanik, so is!
165: [01:14:42] <simon_w> Ooh, the bank down at the mall's finished its earthquake stuff. I could bank my tax refund
166: [01:14:56] <Peavers> whoa
167: [01:14:57] <Peavers> whats going on here
168: [01:15:05] <Pyromanik> ?
169: [01:15:06] <simon_w> Peavers, come to the meet up!
170: [01:15:06] <Peavers> mollys?
171: [01:15:07] <Peavers> really?
172: [01:15:12] <Peavers> mollys?
173: [01:15:13] <Pyromanik> EVERONE TO THE MOLLYS
174: [01:15:14] <Pyromanik> also
175: [01:15:19] <Pyromanik> Hashigo Zake
176: [01:15:22] <Peavers> yeah I'm comin
177: [01:15:23] <Pyromanik> on the ...
178: [01:15:25] <Pyromanik> 24th
179: [01:15:32] <simon_w> Peavers, click the yes button?
180: [01:15:37] <Pyromanik> one or the other or both, or maybe all the bars along that street.
181: [01:15:46] <Peavers> Na.
182: [01:15:47] <Pyromanik> simon_w: yes button requires sign up
183: [01:15:49] <Peavers> fuck the yes button.
184: [01:15:56] <simon_w> Poor yes button
185: [01:16:02] <Pyromanik> Peavers: sounds uncomforrable.
186: [01:16:09] <Pyromanik> at least buy it a drink first.
187: [01:16:23] <Peavers> Thats a lot of people attending/
188: [01:16:27] <simon_w> Pyromanik, if you pass out in front of the office, I'm going to draw on your face
189: [01:17:39] * funkygibbon has joined #silverstripe
190: [01:18:51] <UncleCheese> who do you guys like for a local bank in wellington?
191: [01:18:58] <UncleCheese> for a checking account?
192: [01:19:00] <Peavers> ASB
193: [01:19:09] <UncleCheese> good online banking? mobile app?
194: [01:19:14] <Peavers> ASB bank is the only bank.
195: [01:19:20] <Peavers> best online and mobile service.
196: [01:19:21] <UncleCheese> there's kiwibank
197: [01:19:30] <Peavers> Avoid kiwibank.
198: [01:19:30] <simon_w> Not for online or mobile :p
199: [01:19:33] <UncleCheese> k
200: [01:19:37] <UncleCheese> thanks, guys. that was easy
201: [01:19:44] <UncleCheese> is there one in town?
202: [01:19:49] <Peavers> there are millions
203: [01:19:53] <Peavers> where are you in town atm?
204: [01:19:56] <simon_w> Yeah, Willis Street, IIRC
205: [01:20:12] <Peavers> Willis, Lampton both have branches
206: [01:20:22] * tractorcow quit (Read error: Connection reset by peer)
207: [01:21:10] <UncleCheese> i'm on the terrace
208: [01:21:18] <simon_w> UncleCheese, https://www.asb.co.nz/story2861.aspx?id=2861 and https://www.asb.co.nz/story2859.aspx?id=2859
209: [01:21:18] <UncleCheese> so probably willis is closest?
210: [01:21:26] <simon_w> Depending on where on the Terrace you are
211: [01:21:31] <Peavers> What end of the terrace?
212: [01:21:39] <UncleCheese> 214
213: [01:21:44] <Peavers> Do you see the James Cook hotel out your window?
214: [01:21:46] <Peavers> thats around 214
215: [01:21:51] <UncleCheese> yeah
216: [01:21:56] <Peavers> just go in there and take the lift down to the ground
217: [01:22:02] <UncleCheese> whoa!
218: [01:22:03] <Peavers> puts you right outside ASB on lampton
219: [01:26:11] <simon_w> UncleCheese, try and get an elephant with your account too
220: [01:26:18] <UncleCheese> ?
221: [01:26:26] <simon_w> ASB have elephants
222: [01:27:30] <EasyCo> Barring UC's module, how do you guys manage database data for large SilverStripe projects with multiple developers? For example: if one developer creates a page and adds some data to his newly created DB fields and another developer then pulls the new code, they'll either have to: 1. import the other devs DB (no go). 2. manually add the same data.
223: [01:27:30] * micmania1 quit (Quit: Leaving)
224: [01:28:10] <Peavers> err..
225: [01:28:28] <simon_w> EasyCo, requireDefaultRecords()
226: [01:28:59] <simon_w> If it's important that the others have data, the person creating sticks a couple of pages in there
227: [01:29:56] <EasyCo> simon_w: Ok, gotcha. I use that for the site structure sometimes but not for field data. I'll have another dig.
228: [01:30:25] * tractorcow has joined #silverstripe
229: [01:31:41] * Stomach quit (Quit: Leaving.)
230: [01:34:38] * howardgrigg has joined #silverstripe
231: [01:39:18] <Pyromanik> 13:15 <@simon_w> Pyromanik, if you pass out in front of the office, I'm going to draw on your face
232: [01:39:21] <Pyromanik> sounds legit
233: [01:39:35] <ss23> Peavers: So were you coming to the meetup?
234: [01:39:49] <Pyromanik> Westpac is good bank, don't do ANZ.
235: [01:39:53] <Peavers> Yeah of course, got my hair cut just for it.
236: [01:39:54] <Pyromanik> UncleCheese
237: [01:40:00] <UncleCheese> hi
238: [01:40:01] <Pyromanik> TSB best bank in NZ.
239: [01:40:02] <Peavers> Westpac is rubbish.
240: [01:40:08] <Peavers> ASB bank is best bank.
241: [01:40:08] <UncleCheese> TSB vs ASB
242: [01:40:10] <UncleCheese> hmmmmm
243: [01:40:20] <Peavers> just look at TSBs website.
244: [01:40:23] <UncleCheese> ok, slug it out, you two
245: [01:40:30] <Peavers> and look at their mobile app... oh wait... they don't have one!
246: [01:40:31] <Pyromanik> yeah, Taranaki Savings Bank vs Auckland Savings Bank
247: [01:40:32] <Pyromanik> or whatever
248: [01:40:35] <Peavers> look at their morgage rates!
249: [01:40:39] <Pyromanik> Peavers: shut yo fase.
250: [01:40:43] <ss23> lol Peavers XD
251: [01:40:53] <Pyromanik> Westpac good bank.
252: [01:40:57] <ss23> Are you guys excited for me to teach you how to h@ck Silverstripe?
253: [01:40:59] <Pyromanik> BNZ do ok.
254: [01:41:04] <ss23> I'll do a live demo of me pwning a bunch of sites running newsletter module
255: [01:41:10] <Pyromanik> but never National or ANZ.
256: [01:41:13] <ss23> Replace all content with "hacked by chineese"
257: [01:41:31] <Peavers> I'd like to know more about the security breach in the newsletter mod
258: [01:41:41] <Pyromanik> sql injection
259: [01:41:43] <ss23> Peavers: Did you read the announcement?
260: [01:41:47] <ss23> READ THE ANNOUNCEMENT
261: [01:41:48] <Peavers> no
262: [01:41:54] <Pyromanik> what announcement?
263: [01:41:55] <Peavers> I don't even know you had an announcment.
264: [01:41:57] <ss23> lol
265: [01:42:06] <Pyromanik> also, Kiwibank are very good at banking.
266: [01:42:06] <ss23> https://groups.google.com/d/forum/silverstripe-announce
267: [01:42:13] <Pyromanik> and online banking.
268: [01:42:15] <Peavers> Have you patched it to fix anchor links yet ss23?
269: [01:42:19] <ss23> https://groups.google.com/forum/#!topic/silverstripe-announce/Tgs7H15vJEo
270: [01:42:21] <Pyromanik> if you're banking from your phone, you're doing it wrong.
271: [01:42:26] <Pyromanik> just saying.
272: [01:42:27] <ss23> Peavers: Have you submitted a pull request to fix anchor links yet?
273: [01:42:27] <Pyromanik> :P
274: [01:42:53] <Peavers> sql injection? lol what is this? 2001?
275: [01:43:02] <unsignedint> hey whats the variable thats included in every template that contains the site base url?
276: [01:43:11] <simon_w> $BaseHREF
277: [01:43:15] <Peavers> <% base_tag %>?
278: [01:43:20] <Peavers> oh nevermind me.
279: [01:43:33] <simon_w> Or $BaseHref, if you don't want to sound so angry :p
280: [01:43:41] <ss23> simon_w: http://doc.silverstripe.org/framework/en/reference/templates -> Built in page controls -> http://doc.silverstripe.org/framework/en/reference/built-in-page-controls
281: [01:43:44] <ss23> OMG 404
282: [01:43:50] <ss23> Why isn't there a policy of updating the dammed links when you move topics around.
283: [01:43:58] <unsignedint> simon_w: thats the one! Thanks
284: [01:44:03] <simon_w> ss23, move? Built in page controls got deleted
285: [01:44:12] <ss23> OMG REMOVE LINK THEN PLZ
286: [01:44:26] <ss23> Why isn't there a policy of removing the dammed links when you delete topics.
287: [01:44:36] <simon_w> Click the button at the bottom of the page then
288: [01:47:38] <Pyromanik> the one marked EDIT
289: [01:48:19] <Pyromanik> ripp'n DVD's for youtube, cruisy.
290: [01:50:22] <Peavers> I took over 6 hours of video footage on the weekend. Found out I'd done it all upside down.
291: [01:50:33] <Pyromanik> Peavers: not a biggie.
292: [01:50:35] <Pyromanik> just flip it.
293: [01:50:39] <ss23> lol
294: [01:50:41] <Pyromanik> rotate 180
295: [01:50:46] <Peavers> Those processors cycles to change the geometry... not fun.
296: [01:50:48] <ss23> simon_w: I don't want to *fix* this, I want it to not ever happen!
297: [01:50:57] <Pyromanik> alt + NUM 3 in MPC
298: [01:51:06] <Peavers> that just flips the player
299: [01:51:13] <Pyromanik> Peavers: I kow.
300: [01:51:15] <Pyromanik> know.
301: [01:51:22] <Peavers> you need to change it as an effect and rencode it.
302: [01:51:24] <Pyromanik> but that means you can watch it :P
303: [01:51:30] <Pyromanik> yeah, I know.
304: [01:51:39] <Pyromanik> but when you're ultimately too lazy for that...
305: [01:51:48] <Peavers> It wouldn't have been a problem if it wasn't broken down into 100+ small clips...
306: [01:51:56] <Pyromanik> hahahaa, batch edit time.
307: [01:52:02] <Pyromanik> shell script
308: [01:52:05] <Pyromanik> mencoder
309: [01:52:09] <Peavers> yeah, but not all of them were upside down...
310: [01:52:10] <Pyromanik> or just libav
311: [01:52:20] <Pyromanik> sort them first?
312: [01:52:28] <Peavers> so had to split and divide, then ran a script over the floder
313: [01:52:32] <Peavers> folder*
314: [01:52:35] <Pyromanik> yeh
315: [01:52:39] <Pyromanik> sounds legit
316: [01:52:41] <Peavers> was still a pain in the ass, and took a couple of hours
317: [01:52:47] <Pyromanik> meh
318: [01:52:49] <Peavers> all because I'm a nub with my phone
319: [01:52:54] <Pyromanik> spray and walk away
320: [01:53:04] <simon_w> Should've just taken them all in portrait
321: [01:53:11] <Pyromanik> hahah
322: [01:53:15] <Pyromanik> different portraits :P
323: [01:53:32] <Pyromanik> 6 hours of footage with a phone
324: [01:53:34] <Pyromanik> ouch
325: [01:53:47] <Peavers> yeah Saturday was a long day...
326: [01:54:01] <simon_w> I spent most of it in bed
327: [01:54:11] <ss23> 30 second spray and walk away!
328: [01:54:20] <ss23> Wait, I thought government workers just stayed at home drinking on weekends, Peavers
329: [01:54:23] <ss23> YOU GET TO GO OUTSIDE?!
330: [01:54:25] <Peavers> ss23 I'll spray you in a minute.
331: [01:54:31] <ss23> XD
332: [01:54:33] <Peavers> ss23, normally.
333: [01:54:38] <Peavers> but this was a once in awhile thing.
334: [01:54:42] <ss23> lol
335: [01:54:50] <ss23> Kind of like how you take your dog to the beach for a treat once in a while
336: [01:54:53] <ss23> :3
337: [01:54:58] <Peavers> lol
338: [01:55:07] <ss23> I'm just playin, Peavers
339: [01:55:07] <simon_w> Is it like the once in a lifetime world cup in New Zealand that happened 30-ish years ago?
340: [01:55:08] <ss23> :P
341: [01:55:59] <Peavers> has anyone fixed the media button in the html editor yet?
342: [01:56:36] * camerongrant has joined #silverstripe
343: [01:56:45] <Peavers> Internal Server Error
344: [01:56:48] <Peavers> nope.
345: [01:56:50] <Peavers> Nope you havn't.
346: [01:56:50] <ss23> lol
347: [01:56:54] <ss23> Isn't that your bug, Peavers?
348: [01:57:00] <ss23> To do with you not having nginx right or something?
349: [01:57:05] <ss23> I'm sure we talked about this!
350: [01:57:17] <Peavers> not having nginx?
351: [01:57:53] * camerongrant quit (Client Quit)
352: [01:57:53] <ss23> I thought oyu had some weird proxy setup that was jamming the error messages?
353: [01:57:57] <ss23> I can't rmemeber
354: [01:58:13] <Peavers> I like how you've been demoted to a +/
355: [01:58:18] <Pyromanik> lol ss23 you deop'd and voiced yourself/
356: [01:58:20] <Pyromanik> ?
357: [01:58:28] <ss23> I'm *unique*
358: [01:58:30] <ss23> Almost
359: [01:58:32] * ss23 glares at ss-log
360: [01:59:10] <Peavers> cwp stack uses apache yeah?
361: [01:59:21] <ss23> iirc apache + nginx
362: [01:59:40] <ss23> I don't work in that team, but I'm like 99% sure it's apache for the dynamic stuff, proxied through nginx, which also caches all the static content
363: [01:59:55] <ss23> Possilby with some hax for making SSL work directly to apache...
364: [02:00:07] <Peavers> am I allowed a copy of the vm image?
365: [02:00:11] * Stomach has joined #silverstripe
366: [02:00:26] <ss23> Peavers: Hmmm, I don't see why you wouldn't be *allowed*, but I'm not sure if they have it avaiabile to distribute kind of thing
367: [02:00:30] <Peavers> ss23, go ask your boss if I'm allowed a blank copy
368: [02:00:34] <ss23> sminnee: Do you know? Or is Peavers better to do a support request?
369: [02:00:34] <ss23> lol
370: [02:00:52] <ss23> ss23 pro support, even answers questions for clients in IRC
371: [02:01:02] <ss23> (IF he doesn't come on IRC soon, I'll poke him through other channels)
372: [02:01:10] <ss23> you're from MoE right?
373: [02:01:17] <Peavers> Yup
374: [02:01:21] <ss23> sweeeet
375: [02:01:29] <simon_w> If you don't walk up to him and poke him, you're doing it wrong
376: [02:01:30] <Peavers> I'm the one and only web dev in the entire place... its just me =(
377: [02:01:32] <ss23> oh sam isn't even at his desk
378: [02:01:33] <ss23> lol
379: [02:01:42] <ss23> Peavers: I'll get him to answer when I see him
380: [02:01:54] <simon_w> ss23, all, you know, ask the CWP team :p
381: [02:01:55] <Peavers> sweet chur dude
382: [02:01:59] <simon_w> *or
383: [02:02:06] <ss23> simon_w: Doubt they know, tbh... like...
384: [02:02:07] <Peavers> simon_w, ask the cwp team
385: [02:02:08] <Peavers> kgo
386: [02:02:10] <Peavers> I'll wait here.
387: [02:02:20] <ss23> Like, whether a client can get a VM image, isn't that more of a business thing?
388: [02:02:37] <zippy__> hmm
389: [02:02:37] <simon_w> ss23, there's a PM in the team
390: [02:02:43] <ss23> Is there?!
391: [02:02:49] <ss23> lol
392: [02:03:08] <Peavers> lol of course there is
393: [02:03:12] <Peavers> prob outsourced too?
394: [02:03:19] <irogue> after the incident in SF in the weekend, i duck even more when a plane flies overhead on its super low flight path
395: [02:03:38] <Pyromanik> yeah, that was terrible
396: [02:03:49] <zippy__> with ss3.0 - there is no longer isadmin() - so I am checking if the user is admin by doing member->inGroup('Administrators') but that doesn't work for the default admin. What is the best way now?
397: [02:04:21] <simon_w> zippy__, Permission::checkMember($member, 'ADMIN')
398: [02:04:39] <zippy__> thanks
399: [02:05:42] <ss23> Failed to execute git checkout 'a9b1501873c3fb5d68713b2dad8f0e4c92b11466' && git reset --hard 'a9b1501873c3fb5d68713b2dad8f0e4c92b11466'
400: [02:05:45] <ss23>
401: [02:05:49] <ss23> fatal: reference is not a tree: a9b1501873c3fb5d68713b2dad8f0e4c92b11466
402: [02:05:52] <ss23> Wht sort of error is that from composer?
403: [02:05:54] <ss23> Is that like "that commit doesn't exist?
404: [02:05:55] <ss23> "
405: [02:06:01] <simon_w> A common one
406: [02:06:08] <ss23> how 2 fix
407: [02:06:19] <simon_w> git fetch?
408: [02:06:27] <ss23> What? I'm trying to use composer
409: [02:06:33] <ss23> That's from cpomoser, how do I git fetch
410: [02:06:44] <ss23> I just did "composer install --no-dev" (since it wouldn't work without --no-dev either)
411: [02:06:54] <ss23> Seriously for all the time composer is meant to save, there's a horrible learning curve
412: [02:07:35] * KayTwo quit (Ping timeout: 250 seconds)
413: [02:07:39] <ss23> Can I just git checkout it myself or something, simon_w?
414: [02:07:40] <simon_w> And then you're screwed when it breaks
415: [02:07:48] <simon_w> You can try, I guess
416: [02:08:16] * ss23 tries
417: [02:08:17] <Pyromanik> I just never composer. Too hard.
418: [02:08:19] <Pyromanik> and confusing.
419: [02:08:23] <ss23> lol
420: [02:08:28] <ss23> We heard :D
421: [02:08:39] <Pyromanik> and 14:06 <@simon_w> And then you're screwed when it breaks
422: [02:08:40] * SphereSilver quit (Remote host closed the connection)
423: [02:08:41] <simon_w> Almost as hard as clicking :p
424: [02:08:47] <Pyromanik> haha
425: [02:08:49] <ss23> lol XD
426: [02:08:52] <Pyromanik> how DO you click?
427: [02:08:57] <Pyromanik> bro, do you even click?
428: [02:09:14] <ss23> let it be known, like 99% of people in the world who've never used a mac or recent laptop wouldn't know how to click either.
429: [02:10:22] <irogue> to be fair, i did wtf a bit when i picked up my mum's new laptop
430: [02:10:27] <irogue> didn't expect that click style on a non-mac
431: [02:11:26] * T8 has joined #silverstripe
432: [02:11:32] <Peavers> Crazy mac users.
433: [02:11:36] <ss23> ^^
434: [02:11:50] <T8> Hey does anyone have experience with Facebook apps? I'm getting a weird issue.
435: [02:11:51] <simon_w> You mean 99% of people wouldn't think to try pushing at all?
436: [02:11:51] <Pyromanik> irogue: to be fair, I bet the first thing you tried was to click the corner of the trackpad.
437: [02:12:08] <ss23> Pyromanik: I tried too
438: [02:12:14] <ss23> I just didn't push it down hard enough to break
439: [02:12:31] <simon_w> You tried touching to click :p
440: [02:12:32] <ss23> It didn't look like it would go down, and I'm not about to take someone elses laptop and start ramming peices of metal down in the hope that it's meant to "click"
441: [02:12:37] <ss23> simon_w: I HAVE GIRLY FINGER MUSLCES
442: [02:12:43] <ss23> I just didn't press *hard*
443: [02:12:44] <Peavers> ss23, do they make you use a mac at ss?
444: [02:12:49] <ss23> Peavers: Yes
445: [02:12:50] * ss23 dies
446: [02:12:53] <tractorcow> Hi T8, I unfortunately do. I haven't done any for a while though.
447: [02:12:54] <tractorcow> :P
448: [02:12:57] <Peavers> hahaha
449: [02:12:57] <ss23> They suck really bad though, Peavers :
450: [02:12:58] <ss23> :/
451: [02:13:05] <ss23> like idek why you would ever make someone use them >.<
452: [02:13:08] <tractorcow> What's the issue?
453: [02:13:08] <simon_w> Peavers, he's also on Lion
454: [02:13:15] <Peavers> mwahaha
455: [02:13:35] <tractorcow> half of my office is still on snow leopard >_>
456: [02:13:35] <T8> I have a mobile detect, so when the user goes to my url the app decides if the user is from mobile or desktop if the user is on a desktop the app redirects to the facebook app page, once there when I try to click links I get an error Refused to display 'http://www.facebook.com/pages/EDON/377500252299027?id=377500252299027&sk=app_179640698879009' in a frame because it set 'X-Frame-Options' to 'DENY'.
457: [02:13:43] <Peavers> How do you guys do any real work, or anything seriouse other than look like a hipster when using a mac?\
458: [02:13:50] <simon_w> tractorcow, at least that doesn't have the dodgy autosave :p
459: [02:14:01] <ss23> Peavers: It takes 3x as long, but I can get work done
460: [02:14:10] <Peavers> Did they at least let you choose your IDE?
461: [02:14:11] <ss23> [User Error] Uncaught Exception: The Google PHP API library needs the openssl PHP extension
462: [02:14:13] <simon_w> Peavers, by knowing how to use it, usually
463: [02:14:16] <Peavers> or are you forced into sublime/textmate?
464: [02:14:29] <ss23> Peavers: Yeah, I use vim here (though received lots of 'omg sublime is better'
465: [02:14:49] <simon_w> I don't get why mac users like sublime, especially ones that use OSX for the feel
466: [02:14:53] <tractorcow> T8: How are you redirecting the user? Via Header: Location or javascript?
467: [02:15:14] <Peavers> most mac users think sublime is a mac only program, and that is why they use a mac, sminnee I'm looking at you.
468: [02:15:18] <T8> @tractorcow just with the controller redirect $this->redirect(APP_URL);
469: [02:15:21] <ss23> lol
470: [02:15:29] <ss23> He's not back yet
471: [02:15:36] <tractorcow> I have had issues where I had to use javascript to redirect, because 301 redirects would break integration with facebook
472: [02:15:41] <simon_w> Peavers, that was hilarious
473: [02:15:46] <ss23> Peavers: I am currently processing your support request!
474: [02:15:48] <irogue> all the good mac apps are coming over to the dark side lately
475: [02:15:52] <T8> so just echo some javascript you think?
476: [02:15:54] <Peavers> when he gets back and hits ctrl + f (as I'm sure he will) he'll see it!
477: [02:16:06] * irogue glares at the Cyberduck icon in his taskbar
478: [02:16:07] <simon_w> But Sublime is most definitely not a mac app
479: [02:16:09] <tractorcow> Yes, make sure to use frame breaking script
480: [02:16:28] <ss23> lol
481: [02:16:29] <T8> I'm not in a frame at the point of execution though
482: [02:16:39] <tractorcow> top.location.href = ''
483: [02:16:48] <tractorcow> What kind of app is it?
484: [02:17:10] <simon_w> Can't click in the scroll bar zone thingy. Even when scroll bars aren't showing.
485: [02:17:57] <irogue> so, i'm happy that the police seem to have learnt how to shoot on the motorway without killing innocent bystanders now
486: [02:18:09] <Pyromanik> wtb free good dvd ripper
487: [02:18:10] <Pyromanik> what do?
488: [02:18:16] <Pyromanik> I tried VLC but it's shit.
489: [02:18:20] <Peavers> is anydvd still around?
490: [02:18:21] <Peavers> or clonesoft?
491: [02:18:23] <ss23> Pyromanik: dd
492: [02:18:24] <ss23> o/
493: [02:18:33] <Pyromanik> Peavers: not free.
494: [02:18:36] <irogue> HandBrake?
495: [02:18:39] <Peavers> they used to be...
496: [02:18:58] <ss23> 06:17:03 < irogue> so, i'm happy that the police seem to have learnt how to shoot on the motorway without killing innocent bystanders now
497: [02:19:01] <ss23> LOW BLOW.
498: [02:19:25] <irogue> well, the last time was pretty damn bad...
499: [02:19:26] <Pyromanik> the cops killed a bystander on the motorway?
500: [02:19:26] <tractorcow> T8: My redirects looked like this Requirements::customScript("$frame.location.href = '$url';", 'FacebookRedirect');
501: [02:19:28] <ss23> simon_w: Got a link to that _ function previx thing?
502: [02:19:34] <ss23> Pyromanik: Don't you remember...?
503: [02:19:35] <tractorcow> where $frame was either 'top' or 'self'
504: [02:19:38] <ss23> Van driver got hit and died
505: [02:19:43] <Pyromanik> why would there be a bystander in a LIVE GUN FIGHT
506: [02:19:50] <Pyromanik> ss23: oh yeah, I do remember.
507: [02:19:52] <irogue> Pyromanik: was driving down the opposite lane of the motorway
508: [02:19:53] <T8> @tractorcow that didn;t work, diffrent result but still now working mine was just echo("<script type='text/javascript'> top.location.href='" . APP_URL . "'</script>");, I'll try yours now
509: [02:19:58] <Pyromanik> irogue: ah.
510: [02:19:59] <irogue> they shot TOWARD the lane with other traffic
511: [02:20:11] <simon_w> ss23, https://github.com/silverstripe/silverstripe-framework/blob/3.0/view/ViewableData.php#L175-L181
512: [02:20:13] <tractorcow> there's no difference really between the two :)
513: [02:20:18] <ss23> ty simon_w
514: [02:20:22] <tractorcow> I still have no idea what's causing your issue,
515: [02:20:24] <irogue> missed the bad guy, hit and killed a courier
516: [02:20:32] <Peavers> any tried hiphop from facebook?
517: [02:20:34] <Pyromanik> yeh I remember now.
518: [02:20:34] <irogue> and didn't even realise, kept shooting
519: [02:20:36] <Peavers> https://github.com/facebook/hiphop-php
520: [02:20:45] <ss23> Peavers: We've all tried it, but *shrug*
521: [02:20:51] <Pyromanik> not a low blow at all ss23
522: [02:20:52] <ss23> Peavers: Maybe you should suggest it for CWP :P
523: [02:20:56] <Pyromanik> fair comment I think.
524: [02:20:58] <Peavers> lol
525: [02:21:01] <simon_w> ss23, is a per-request cache, so doesn't really matter in the templates any more
526: [02:21:20] <T8> @tractorcow With the javascript I can see when I click an internal link it loads then redirects back to the facebook app page.
527: [02:21:44] <ss23> simon_w: So uh... I just replace the method name with a _, and it'll be super cached? Is this documented?
528: [02:21:52] <irogue> also, the police need to learn how to macron
529: [02:21:54] <irogue> http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=10895454
530: [02:22:17] <irogue> last i checked there shouldn't be an umlaut there :-P
531: [02:22:25] <simon_w> ss23, well, it doesn't use SS_Cache, and I doubt it's documented
532: [02:22:29] <ss23> simon_w: Just don't wanna do it then have it be like "we removed that cause it was undocumented functionality!"
533: [02:22:45] <simon_w> ss23, it's an API doc
534: [02:24:06] <Pyromanik> wtf
535: [02:24:09] <ss23> simon_w: Any information on $this->objCache?
536: [02:24:16] <Pyromanik> "Usability engineer in the credit card industry"
537: [02:24:22] <Pyromanik> CREDIT CARD HAS SHIT USABILITY
538: [02:24:28] <Pyromanik> hasn't changed since it's original inception
539: [02:24:31] <ss23> Pyromanik: Maybe that's why they need one!
540: [02:24:31] <simon_w> ss23, instant-level cache used by obj()
541: [02:24:47] <ss23> simon_w: How does it cache between requests though?
542: [02:24:49] <Pyromanik> well, I lie. They put chips in them.
543: [02:24:58] <Pyromanik> now you insert rather than swipe
544: [02:25:00] <simon_w> ss23, it doesn't. I said per-request
545: [02:25:02] <tractorcow> T8: What's the reason for redirecting back to the app page?
546: [02:25:09] <ss23> simon_w: Oh, I see. My misunderstanding :O
547: [02:25:13] <tractorcow> T8: Is there a required step that your app can detect has been completed?
548: [02:25:20] <Pyromanik> I can only imagine that by usability they mean the terminals that process the transaction, not the card.
549: [02:25:25] <ss23> simon_w: Silverstripe doesn't have memcached right? So best cache is just partial cache?
550: [02:25:50] <simon_w> ss23, http://api.silverstripe.org/3.0/class-SS_Cache.html
551: [02:26:30] <ss23> sweeeeeet
552: [02:28:58] <ss23> simon_w: Almost sweet. Never says what $cachekey is
553: [02:29:11] <ss23> And it doesn't look like it's used in the $cache->save, unless that's a typo
554: [02:29:36] <simon_w> ss23, you make the key
555: [02:29:47] <ss23> What for? What use does it have, if you don't use it when saving too?
556: [02:29:51] <tractorcow> T8: The code I showed you was really only used to redirect to the permission request page, since my app was in a frame and needed to break out.
557: [02:29:57] <simon_w> and, you can use ->save($value, $key), though $key defaults to the last value you tried loading
558: [02:30:04] <ss23> I seeeeeee
559: [02:30:06] <ss23> Sweet ty, simon_w
560: [02:31:41] <ss23> [User Error] Uncaught Zend_Cache_Exception: Datas must be string or set automatic_serialization = true
561: [02:31:44] <ss23> wow
562: [02:31:48] <ss23> Lsat I checked, data already was a plural!
563: [02:32:23] <tractorcow> /sunglasses
564: [02:32:39] <T8> @tratorcow sorry was trying to figure it out
565: [02:33:13] <tractorcow> T8: Just redirect it conditionally (if necessary). :P
566: [02:33:14] <T8> @tratorcow: the desktop viewer should always view the app on facebook the mobile user can stay on the default url
567: [02:33:25] <T8> yeah that is what im trying to do
568: [02:33:57] <T8> @tratorcow: but when it goes accross to facebook the links don't work, I get that error.
569: [02:34:05] <tractorcow> Oh, by facebook page, you mean the frame on your facebook page that the app is nested inside?
570: [02:34:21] <T8> Yeah
571: [02:34:26] <tractorcow> Oh, righty!
572: [02:34:28] <Pyromanik> alright, VLC is working when I select the vob files directly rather than trying to convert the disc
573: [02:34:36] <T8> Sorry bad terminology
574: [02:34:39] <tractorcow> Hold on, I've also solved this problem :)
575: [02:34:41] <simon_w> ss23, if you're using objects, you have to be careful when loading them back
576: [02:34:47] <ss23> simon_w: Why's that?
577: [02:34:58] <simon_w> The autoloader isn't called, and you just get stdObject for any object not loaded at the time
578: [02:35:00] <ss23> Is the autoloader not invooked
579: [02:35:01] <ss23> damn
580: [02:35:03] <ss23> Hmm
581: [02:35:06] <ss23> Think it should be fine
582: [02:35:33] <simon_w> just stick a bunch of class_exists('Blah'); in
583: [02:35:47] <ss23> Naw, they're pages, and it's happening class Page
584: [02:35:49] <ss23> So should be okay
585: [02:37:04] * SightUnseen has joined #silverstripe
586: [02:37:31] * SightUnseen has left #silverstripe
587: [02:37:43] <tractorcow> T8: This is the code I used in my last app http://sspaste.com/paste/show/51da2533d27ba
588: [02:37:55] <T8> @tractorcow: Great I'll take a look.
589: [02:38:08] <tractorcow> I set the url of the facebook page in SiteConfig->FacebookApplicationLink
590: [02:38:18] <tractorcow> Also, this uses the facebook API module I wrote for silverstripe.
591: [02:38:28] <tractorcow> https://github.com/tractorcow/silverstripe-facebook-sdk/
592: [02:38:49] <tractorcow> but you can mentally substitute out my api calls with yours
593: [02:39:51] <tractorcow> and yes, T8, it's a massive pain to do this. >_> I hate writing facebook apps
594: [02:44:40] <T8> @tractorcow...
595: [02:44:45] <T8> thanks
596: [02:44:56] <zippy__> SS2.4 you could do $url = Director::urlParam('ID'); without needing a SS_HTTPRequest- SS3 it seems you need to do $params = Controller::curr()->getRequest()->params(); and check for the ID in that array
597: [02:45:10] <zippy__> is there not an easier way to get ID or Action params from the url anymore?
598: [02:45:11] <T8> @tractorcow: Stupidly it works just with the custom script... I don't really need the rest but thanks for the help.
599: [02:45:13] <tractorcow> cool beans :) hope it works out for you
600: [02:45:22] <tractorcow> well, it's good to see it in context.
601: [02:45:34] <tractorcow> But just the frame checking in JS should help you
602: [02:45:39] <simon_w> zippy__, you shouldn't have been doing that in 2.4 :p
603: [02:45:53] * zippy__ wonders where the term "cool beans" came from
604: [02:45:55] <simon_w> And, $request->param('ID')
605: [02:46:32] <zippy__> simon_w: That assumes there is a $request param in the controller function?
606: [02:46:57] <tractorcow> $this->request->param('ID'); ?
607: [02:47:05] <simon_w> zippy__, it assumes you have a $request from somewhere, and usually you only need it inside an action handler, which does get passed it
608: [02:48:23] <Pyromanik> zippy__: probably the same place cool bananas came from.
609: [02:48:56] <zippy__> Yea, this project I have inherited could do with a refactor
610: [02:49:06] <ss23> zippy__: Got reasonably popular from hotrod
611: [02:49:08] <ss23> (the movie)
612: [02:50:39] <simon_w> Oh man, trying to find information about Google Apps so I can plan a migration. Google does not make this easy.
613: [02:51:16] <zippy__> to or from google?
614: [02:51:20] <zippy__> *migrating
615: [02:51:21] <simon_w> to
616: [02:51:22] * Stomach quit (Quit: Leaving.)
617: [02:52:18] * UncleCheese quit (Quit: UncleCheese)
618: [02:52:22] <tractorcow> simon_w: I'm writing some test cases for DataObject, and I came across the 'Aggregate' class. It looks as though it's not used anymore by the code, but isn't marked deprecated.
619: [02:52:49] <tractorcow> It also references DataObject::getManyManyComponententsQuery which no longer exists :)
620: [02:53:35] <ss23> Peavers: Okay, had a chat with CWP person
621: [02:53:58] <Peavers> howd that go for you
622: [02:54:01] <tractorcow> If Hamish was around I could ask him (since he wrote it)
623: [02:54:05] <ss23> Peavers: Basically, it's a completely standard Debian image, so nothing really you need. If you wanted an identical setup, you would need like 3 different VM's to mimmic it perfeclty
624: [02:54:17] <Peavers> which is what I want
625: [02:54:21] <Peavers> I've got a esxi box
626: [02:54:23] <ss23> Peavers: But, as part of CWP, you can request a dev instance, whcih you can use (which I presume is just like the live environment)
627: [02:54:28] <Peavers> can run up ~500 vms so not a problem
628: [02:54:38] <Peavers> all good
629: [02:54:49] <Peavers> still waiting on our static ip to get confirmed so we can get whitelisted
630: [02:55:00] <ss23> Peavers: Doesn't sound like they have them avaiabile for you to just get easily (guess they're configured as needed with puppet)
631: [02:55:25] <ss23> But sounds like I started a big discussion about it, Peavers :O
632: [02:55:28] <ss23> So it might change :P
633: [02:55:29] <Peavers> I've got a puppet master too so that wouldn't be a problem. You guys just don't want to share
634: [02:55:36] <simon_w> Oh goody, if you're not using Windows, you get to migrate your IMAP users one at a time
635: [02:55:37] <ss23> lol
636: [02:55:51] <ss23> If it was up to me, I would give you EVERYTHING
637: [02:56:18] <Peavers> I went down to our data center today, we've got 5TB of ram for our virtual stacks...
638: [02:56:22] <Peavers> dat der ram...
639: [02:56:31] <ss23> nice :D
640: [02:56:36] <ss23> but yeah, idk what you really need it for, Peavers?
641: [02:56:45] <Peavers> the ram?
642: [02:56:47] <Peavers> or the images?
643: [02:56:51] <ss23> images
644: [02:56:55] <ss23> Like, for dev, you don't need it to be *identical*, and you can get a dev instance if you a perfect replica
645: [02:56:56] <Peavers> images because I just want to poke around and play with stuff lol
646: [02:56:58] <ss23> lol
647: [02:57:01] <ss23> idk
648: [02:57:04] <Peavers> lol
649: [02:57:05] <ss23> You can do that on your devinstance!
650: [02:57:12] <ss23> (Maybe)
651: [02:57:17] <Peavers> Which I do
652: [02:57:23] <Peavers> but I like to see what other people do too
653: [02:57:28] <Peavers> just out of learning
654: [03:01:16] * openbees has joined #silverstripe
655: [03:01:55] <Peavers> ss23 you should invite me to the office to sit and watch you play for half a day
656: [03:02:02] <Peavers> would be good to see your workflow
657: [03:02:21] <Peavers> likewise for you simon_w
658: [03:02:55] <openbees> Good Morning folks !! Anywhere here knows how can I set ID of composite field. I don't see any effect of setID function provided with composite filed.
659: [03:02:59] <Peavers> otherwise I might have to go and do some inter-agenecy bonding... and nobody wants to see that...
660: [03:03:03] <simon_w> Peavers, at the moment, my workflow's all about raging about Google Apps and how I have to migrate by Wednesday, after they knew I was against the idea to start with
661: [03:04:01] <openbees> a discussion going on here https://github.com/silverstripe/silverstripe-framework/pull/1782#issuecomment-20524822 anyone here have better solution this ?
662: [03:04:04] * Stomach has joined #silverstripe
663: [03:04:30] <openbees> better solution than* above ?
664: [03:04:43] * novaweb has joined #silverstripe
665: [03:06:10] <novaweb> Converting an SS2 site to SS3 - in templates, how do you achieve .GroupedBy on a DataList?
666: [03:06:26] <novaweb> Can you do this with %loop%?
667: [03:06:56] <openbees> novaweb : http://doc.silverstripe.org/framework/en/howto/grouping-dataobjectsets
668: [03:07:01] <ss23> lol Peavers, why would I do that!
669: [03:07:03] <novaweb> thankya!
670: [03:07:09] <ss23> Peavers: I don't think we're allowed to though, too many 'confidential' clients
671: [03:07:12] <ss23> ;)
672: [03:07:38] <Peavers> see, don't like to share.
673: [03:08:01] * metanat1 quit (Quit: Leaving.)
674: [03:08:06] * metanat has joined #silverstripe
675: [03:08:31] * metanat quit (Client Quit)
676: [03:08:51] * metanat has joined #silverstripe
677: [03:10:02] <simon_w> Okay, this IMAP stuff is making me ragey. Let's see how easy it still have our incoming mail go through our postfix install
678: [03:10:36] <ss23> lol
679: [03:11:07] <simon_w> Oh look, a what's not available in Gmail page
680: [03:11:10] <simon_w> Including: Column sorting -- You can't sort messages by clicking the column headings in your Inbox. However, you can use Gmail search options to list messages in order according to sender and date.
681: [03:11:19] <simon_w> Wow.
682: [03:11:53] <ss23> Apple Mail is so much nicer.
683: [03:11:58] <ss23> I don't knoe why anyone would even *bother* with gmail
684: [03:12:28] <Peavers> I remember when I got mobile.me back in 2007. Cost me $99 a year for an email account with apple!
685: [03:12:48] <simon_w> MobileMe came out in '08 :p
686: [03:13:05] <Peavers> come at me time machine.
687: [03:13:16] <simon_w> Was still .Mac in 07
688: [03:13:55] <simon_w> (iPhone 3G, MobileMe and App Store all released at the same time)
689: [03:14:18] <Peavers> would have been 08 then, since it was when I bought the iphone 3G
690: [03:15:52] * Stomach quit (Quit: Leaving.)
691: [03:16:45] * DigNZ has joined #silverstripe
692: [03:17:55] * swordsmanz quit (Quit: swordsmanz)
693: [03:18:14] * swordsmanz has joined #silverstripe
694: [03:21:12] * cloph_away has joined #silverstripe
695: [03:21:31] <ss23> http://i.imgur.com/bkwKTeS.jpg
696: [03:21:33] * Stomach has joined #silverstripe
697: [03:22:00] <Peavers> lol welcome to what, two months ago?
698: [03:22:19] <ss23> Peavers doesn't like the old sausage.
699: [03:22:26] <ss23> Fresh sausage for you only
700: [03:23:25] * cloph quit (Ping timeout: 276 seconds)
701: [03:28:04] <ss23> Is there an easy way to clear SS_Cache?
702: [03:28:07] <ss23> Does flush do it?
703: [03:28:52] <simon_w> http://www.sspaste.com/paste/show/51da31592865c
704: [03:29:36] <ss23> That looks not easy!
705: [03:29:37] <ss23> :<
706: [03:29:48] <ss23> There should be a real "clear all ma caches plz silverstripe"
707: [03:30:06] <simon_w> Yeah, that's what that does :p
708: [03:30:13] <simon_w> then, dev/tasks/CleanCacheTask
709: [03:30:45] <ss23> Thtat doesn't clear the template cache, does it?
710: [03:30:57] <ss23> I mean something to clear *all* caches Silverstripe ha
711: [03:31:54] <simon_w> Well, you could stick SSViewer::flush_template_cache() in there too
712: [03:32:28] <simon_w> Or, if you haven't configured SS_Cache to use any other backend, just delete TEMP_DIR
713: [03:32:48] * novaweb quit (Ping timeout: 240 seconds)
714: [03:34:24] <ss23> Oh Google, who are you trying to kid! -1 is not a page on the website.
715: [03:37:25] <simon_w> tractorcow, AggregateTest :p
716: [03:40:49] <simon_w> Haha, I think UC ended up at ANZ
717: [03:42:24] <tractorcow> hi simon_w, I did check that :P
718: [03:42:39] <simon_w> tractorcow, notice how it tests Aggregate? :p
719: [03:42:42] <tractorcow> It does'nt actually test the Aggegate class, it tests DataObject:::Agregate which is deprecated
720: [03:43:40] <tractorcow> I didn't bother to mark that deprecated because it already is.
721: [03:43:42] <tractorcow> Is that ok?
722: [03:48:22] <tractorcow> The reason I came across this is because I'm developing some 3.2 functionality that updates getComponents, and I had to make sure that I wrote enough test cases to cover everything
723: [03:48:50] <simon_w> So, you're trying to deprecate something in 3.1 just before it goes RC?
724: [03:49:01] <simon_w> Are you one of the ones complaining about late API changes? :p
725: [03:49:55] <tractorcow> simon_w : The only reason I suggest a late deprecation is because the code doesn't work, doesn't have test case coverage, and should have been removed months ago.
726: [03:51:47] <tractorcow> Besides, it doesn't have to be deprecated in 3.1. Thats up to you guys to decide. I just had to put something in the deprecation notice.
727: [03:51:58] <tractorcow> It can be 3.5 for all I care, I'm just bringing it to your attention.
728: [03:52:21] <tractorcow> simon_w You could have responded when I asked you about this an hour ago instead of ignoring me >_>
729: [03:52:26] <tractorcow> Anyway, enough ranting :)
730: [03:52:37] <simon_w> Looks like the Aggregate class itself works fine
731: [03:52:41] <tractorcow> Sorry, I shouldn't sound so passive agressive
732: [03:53:02] <simon_w> And you should realise that I do actually have a job and don't just hang out on IRC
733: [03:53:05] <ss23> lol
734: [03:53:08] <ss23> FIGHT FIGHT FIGHT
735: [03:53:09] * ss23 chants
736: [03:53:11] <tractorcow> lol
737: [03:53:31] <tractorcow> ss23 don't encourage us :P
738: [03:53:42] <tractorcow> I'm just trying to contribute man,
739: [03:53:45] <ss23> Come on guys, you need to have more :) and :P in your passive aggresiveness, so that the other person isn't sure if you're *really* sounding angry, or just joking
740: [03:53:49] <ss23> Oh wow you're so helpful :P
741: [03:53:55] <ss23> Maybe if you had've responded an hour ago when I first said it :P
742: [03:53:56] <ss23> See
743: [03:54:04] <ss23> Now it's passive aggressive, but the person has to be happy when they respond!
744: [03:55:46] <tractorcow> hey, I just want to talk about code. I try to keep emotion out of it. <_<
745: [03:55:51] <ss23> lol
746: [03:56:04] <tractorcow> but I do feel that simon_w picks on me a bit more than's necessary >_>
747: [03:56:19] <tractorcow> sorry if I'm reading things the wrong way
748: [03:56:20] <ss23> simon_w doesn't pick on anyone!
749: [03:56:22] <tractorcow> ...
750: [03:56:25] <ss23> tractorcow: You just need to be nicer
751: [03:56:29] * ss23 snuggles simon_w and buys him lunch
752: [03:57:00] <tractorcow> I am nice =(
753: [03:57:23] <ss23> Not when you're mean!
754: [03:57:31] * ss23 bops tractorcow over the head with a spoon
755: [03:57:32] <ss23> :D
756: [03:59:55] <tractorcow> Simon: [User Error] Uncaught Exception: Object->__call(): the method 'setselect' does not exist on 'DataList'
757: [04:00:07] <tractorcow> Bringing back the discussion to the code... *cough cough*
758: [04:00:30] <tractorcow> Yeah, Aggregate doesn't work =/
759: [04:01:10] <tractorcow> I just want to know, would we prefer I fix the class to work with the current 3.1 (with test cases) or should it be deprecated? or both?
760: [04:01:34] <tractorcow> * simon_w
761: [04:05:12] <pippy> is silverstripe 3.0 going to get a db synk task?
762: [04:05:27] <pippy> or is this going to be postponed till 3.1
763: [04:05:33] * Error404NotFound has joined #silverstripe
764: [04:05:40] <ss23> What is a db sync task, pippy
765: [04:06:31] <pippy> atomic database changes
766: [04:06:40] <pippy> like, pulling through a db using silverstripe
767: [04:07:27] <tractorcow> See you guys later I guess. May as well enjoy the rest of my birthday with cake
768: [04:08:02] <ss23> Cyao, tractorcow
769: [04:08:06] <ss23> Happy Birthday!
770: [04:08:12] <tractorcow> Sorry simon for bothering you
771: [04:08:16] <tractorcow> cya ss23
772: [04:08:19] * tractorcow quit (Quit: Leaving)
773: [04:08:46] <ss23> pippy: Sorry, I still don't understand :<
774: [04:08:55] <ss23> (Not that that means you're explaining badly, I just suck at understanding :P)
775: [04:09:33] <pippy> oh
776: [04:09:52] <pippy> in /dev/tasks/ there's a Database Migrations task
777: [04:10:01] <pippy> it says it's not implemented
778: [04:10:14] <pippy> my understanding it should copy one silverstripe db to another
779: [04:10:18] <pippy> *is
780: [04:10:41] <ss23> Well, there is sspak, is that like what you want, pippy? (Though sspak will do your assets folder too)
781: [04:11:55] <ss23> pippy: https://github.com/sminnee/sspak
782: [04:12:02] <ss23> There's a proper github pages for it too, though I can't recall where
783: [04:12:55] <pippy> ss23: thanks!
784: [04:13:11] <ss23> :D
785: [04:14:03] * DigNZ quit (Ping timeout: 268 seconds)
786: [04:15:18] * zippy__ quit (Ping timeout: 240 seconds)
787: [04:20:03] <simon_w> tra,
788: [04:20:06] <simon_w> oh, he's gone
789: [04:20:48] * DigNZ has joined #silverstripe
790: [04:21:08] <ss23> lol
791: [04:21:14] <ss23> tractprcpw m,akes me lol
792: [04:21:16] * T8 quit (Quit: Page closed)
793: [04:21:17] <ss23> typing is hard
794: [04:22:44] <simon_w> Well, I would go home now, but I'm already home
795: [04:22:50] <ss23> lol simon_w
796: [04:24:11] <simon_w> Tomorrow, I guess I'll be raging at Google a lot more
797: [04:24:30] <ss23> simon_w: QUICK! Buy kiwicon.org
798: [04:25:01] <simon_w> Status:AUTORENEWPERIOD
799: [04:25:12] <simon_w> Yeah, domains have some protection in them :p
800: [04:25:16] <ss23> damn! :P
801: [04:25:35] <simon_w> You usually have a week before it's released to the public after expiration
802: [04:27:10] <simon_w> <metlstorm> the bank tellers didnt call the fraud people when we turned up with $25k in cash in a cardoard box
803: [04:27:23] <simon_w> Those stories are great
804: [04:27:36] <ss23> lol
805: [04:27:50] <simon_w> Last year, it was just over $1k
806: [04:28:04] <simon_w> Nowhere near as impressive to just casually count :p
807: [04:28:08] <ss23> XD
808: [04:33:22] * o3d has joined #silverstripe
809: [04:51:31] <Peavers> what on earth are you two babbling on about
810: [04:53:33] <Colin[pi]> secret womans business
811: [04:57:08] * nickmolhoek quit (Quit: nickmolhoek)
812: [05:04:23] * mobiusnz quit (Quit: Leaving.)
813: [05:12:56] * DigNZ quit (Quit: DigNZ)
814: [05:14:33] * Peavers quit (Ping timeout: 256 seconds)
815: [05:15:05] * funkygibbon quit (Read error: Connection reset by peer)
816: [05:15:18] * coldblooded01 quit (Quit: coldblooded01)
817: [05:15:27] * funkygibbon has joined #silverstripe
818: [05:18:18] * mirrors has joined #silverstripe
819: [05:20:01] * mobiusnz has joined #silverstripe
820: [05:20:02] * mobiusnz quit (Client Quit)
821: [05:21:10] * openbees quit (Ping timeout: 260 seconds)
822: [05:21:48] <mirrors> hey everyone...when using SS2.4 if I press the back button and go back to the previous pages, the page actually isnt reloaded. I can force the page to be reloaded by adding <body onunload=""> to the page that i want loaded fully very time...this works perfectly when the SS environment is set to dev mode
823: [05:21:59] <mirrors> as soon as it is set the live mode it stops working
824: [05:22:04] * NitinShah has joined #silverstripe
825: [05:22:18] <mirrors> i.e the page doesnt load fully when pressing the back button
826: [05:22:48] <simon_w> mirrors, browsers aren't supposed to reload when using the back button. That's kinda how it works.
827: [05:23:50] <lewellyn> the only real "solution" is to POST everything. but most of the time, that's not really what you want either.
828: [05:25:22] <mirrors> the context of what i want.....i have a google map store locator that the user can filter down. They find there store and click on it and it opens a new page. If they click the back button I want them to go back to the filtered down map
829: [05:25:48] <mirrors> i have this working in dev mode
830: [05:26:01] <simon_w> mirrors, so how does reloading the page help?
831: [05:27:04] <mirrors> filtering requires making an ajax call to the db...since there are thousands of suburbs etc...and then returns the result...so when i make the ajax call i set a session variable
832: [05:27:30] <mirrors> then viewing the store page sets another session variable
833: [05:27:40] <lewellyn> mirrors: and something like localstorage won't help?
834: [05:28:21] <lewellyn> part of the point of localstorage is that variables don't persist and sometimes you want persistent data.
835: [05:28:28] <mirrors> so when pressing the back button i need a pull load of the page so i can get the session status
836: [05:28:42] <simon_w> mirrors, update document.location.hash as things change, parse it out in document.onload
837: [05:29:37] * wmk has joined #silverstripe
838: [05:29:39] <lewellyn> note also that browsers aren't required to cache the result of a hash, iirc.
839: [05:30:48] <wmk> g'morning
840: [05:30:54] <simon_w> But is usually the only way to tell the difference between a back click and clicking the link again
841: [05:31:16] <mirrors> simon_w: I am not sure what you mean by parsing it out on document load. do you mean getting the hash and then doing another ajax call to filter down the results based on the hash
842: [05:31:29] <simon_w> yes
843: [05:33:08] * openbees has joined #silverstripe
844: [05:33:51] * o3d quit (Ping timeout: 250 seconds)
845: [05:34:58] * funkygibbon quit (Quit: Leaving)
846: [05:38:12] * Stomach quit (Quit: Leaving.)
847: [05:39:06] <mirrors> simon_w: I think i will implement your hash solutiin...however I am curious..do you know why live mode is caching the page and stopping my current solution from working
848: [05:40:46] <Pyromanik> home!
849: [05:40:48] * Pyromanik quit (Quit: leaving)
850: [05:41:48] * Error404NotFound quit (Ping timeout: 240 seconds)
851: [05:44:12] * UncleCheese has joined #silverstripe
852: [05:46:38] * metanat quit (Quit: Leaving.)
853: [05:46:45] * metanat has joined #silverstripe
854: [05:46:56] * metanat quit (Client Quit)
855: [05:54:08] * Error404NotFound has joined #silverstripe
856: [05:55:56] <simon_w> mirrors, different domains? Different headers?
857: [05:56:37] <simon_w> Yeah, live mode adds a Cache-Control header
858: [05:57:11] <mirrors> ah Cache-Control header is the answer then
859: [05:57:40] <mirrors> do you know where is does this..i would like to see how is does it
860: [05:58:17] <simon_w> HTTP::add_cache_headers()
861: [05:58:27] * NitinShah quit (Quit: Leaving)
862: [06:02:59] * swordsmanz quit (Read error: Operation timed out)
863: [06:11:05] <ss23> wow spronk
864: [06:11:11] <ss23> spronk: You could've replied to *my* tweet about Kiwibank...
865: [06:11:13] <spronk> ?
866: [06:11:17] <spronk> sigh
867: [06:11:19] <spronk> i was gonna
868: [06:11:21] <spronk> but then
869: [06:11:24] <spronk> i clicked the wrong thing
870: [06:11:27] <ss23> :<
871: [06:11:29] <ss23> It's okay!
872: [06:11:32] <ss23> I'm sure you had reasons
873: [06:11:33] <ss23> for leaving me out
874: [06:11:35] <ss23> ;___;
875: [06:12:19] <spronk> there
876: [06:12:20] <spronk> happy
877: [06:12:21] <spronk> ?!
878: [06:12:34] <ss23> I DON'T SEE WHAT YOU CAHNGED
879: [06:12:35] * ss23 waits
880: [06:12:43] <ss23> oh
881: [06:12:43] <ss23> ty
882: [06:12:44] <ss23> spronk: <3
883: [06:16:33] * spronk le sighs
884: [06:17:16] * ss23 le spronk's
885: [06:17:18] <ss23> Whats up, spronk?
886: [06:18:49] <simon_w> UncleCheese, did you end up finding the right place?
887: [06:28:42] <UncleCheese> i found AZB or whatever the hell it is
888: [06:28:48] <UncleCheese> yellow and black bank
889: [06:29:03] <UncleCheese> on Lamptom Quay
890: [06:29:27] <ss23> lol
891: [06:29:33] <ss23> AZB!
892: [06:29:36] <UncleCheese> ABS?
893: [06:29:42] <UncleCheese> TBD?
894: [06:29:42] * Error404NotFound quit (Read error: Connection reset by peer)
895: [06:29:46] <ss23> ASB, TSB, ANZ
896: [06:29:47] <UncleCheese> WTF?
897: [06:29:51] <UncleCheese> ah, there we go
898: [06:29:57] <UncleCheese> it's financial alphabet soup
899: [06:29:59] <ss23> You should've picked Kiwibank!
900: [06:30:02] <ss23> That one has an easy name
901: [06:30:03] <ss23> :P
902: [06:30:03] <UncleCheese> no way
903: [06:30:10] <ss23> Then you would be a REAL kiwi
904: [06:30:11] <UncleCheese> westons is everywhere, too
905: [06:30:21] <ss23> UncleCheese: wanna know the real secret to getting into the Trademe club?
906: [06:30:27] <UncleCheese> please
907: [06:30:28] <ss23> Gotta have a kiwibank account, cause then you're a real kiwi!
908: [06:30:30] <ss23> :D
909: [06:30:32] <UncleCheese> ugh
910: [06:30:32] <ss23> Kidding :P
911: [06:30:39] <ss23> hahah
912: [06:30:52] <UncleCheese> honestly, i went to the ASB site, and it actually had a really nice mobile site
913: [06:30:55] <UncleCheese> so that kinda sold me
914: [06:30:56] <ss23> UncleCheese: When things settle down for you though, give me and simon_w a poke the day before and we can head out for lunch (or we can just wait til the meetup)
915: [06:30:59] <UncleCheese> the others didn't
916: [06:31:02] <ss23> ASB looks really nice, UncleCheese, I'm with them... but uh
917: [06:31:10] <ss23> The passwords aren't case sensitive, and they're limited to 8 chars.
918: [06:31:19] <UncleCheese> are you serious?
919: [06:31:20] <ss23> To give you an idea of how archachic their systems are
920: [06:31:21] <spronk> kiwibank has a pretty sweet iphone app
921: [06:31:21] <ss23> :P
922: [06:31:27] <UncleCheese> that was my biggest complaint with my last bank!
923: [06:31:29] <ss23> Oh, the Kiwibank app is nice
924: [06:31:33] <spronk> all our banks have issues with security
925: [06:31:40] <ss23> Not only that, but their API is basically 'public'!
926: [06:31:42] <UncleCheese> seriously.. the parameters were 6-8 characters, and NO SYMBOLS
927: [06:31:43] <spronk> in some form or other
928: [06:31:50] <ss23> UncleCheese: well you're allowed smybols!
929: [06:32:01] <UncleCheese> i just think that's so stupid
930: [06:32:02] <ss23> But when I tried giving the message for my transfer as "Praise allah" in arabic, ASB wouldn't let me do it
931: [06:32:06] <ss23> :<
932: [06:32:12] <spronk> kiwibank: good, but you can't set an access number. also, no just-in-time authentication
933: [06:32:15] <UncleCheese> insa allah
934: [06:32:22] <spronk> asb: 8 char password max, but you can JIT it with netcode
935: [06:32:30] <UncleCheese> what's JIT?
936: [06:32:31] <ss23> spronk: 2fa, not JIT
937: [06:32:31] <ss23> :P
938: [06:32:32] <spronk> westpac have recently improved quite a bit
939: [06:32:43] <simon_w> Ahahahahahaha
940: [06:32:45] <spronk> well yerah
941: [06:32:46] <UncleCheese> got my Vodafone set up, too
942: [06:32:48] <simon_w> Their IB is shit
943: [06:32:49] <UncleCheese> i'm pretty excited about that
944: [06:32:50] <ss23> spronk: OH DID THEY?
945: [06:32:50] <ss23> http://www.silverstripe.com/our-work/westpac/
946: [06:32:55] <ss23> Bitchin'
947: [06:33:00] <spronk> actualyl i preferred their old site :P
948: [06:33:03] <ss23> OHHH
949: [06:33:06] <ss23> OH NO YOU DIDN'T
950: [06:33:11] <spronk> ... i did
951: [06:33:12] <ss23> Sam needs to get in here so we can BITCH SLAP you spronk
952: [06:33:20] <spronk> new site has ugmo big drop down panel graphics
953: [06:34:03] <spronk> ehh the new site is alright
954: [06:34:08] <UncleCheese> ss23, do you eat at that pizza kios
955: [06:34:11] <UncleCheese> kiosk a lot?
956: [06:34:13] <spronk> probably one of the better..
957: [06:34:22] <UncleCheese> something million?
958: [06:34:27] <ss23> UncleCheese: Not often, normally Burger Fuel, but the hot chocolates from that place are *amazing*
959: [06:34:34] <UncleCheese> yeah, we got Burger Fuel tonight
960: [06:34:37] <ss23> UncleCheese: Next time you go past, go to the cafe place thing
961: [06:34:42] <UncleCheese> figured as Americans it was time to size up NZ's burgers
962: [06:34:45] <simon_w> UncleCheese, you'd eat pizza from a toilet? :p
963: [06:34:59] <UncleCheese> it's a toilet?
964: [06:35:11] <simon_w> That used to be an male toilet
965: [06:35:15] <UncleCheese> nasty
966: [06:35:17] <ss23> lol
967: [06:35:19] <simon_w> Historic building and stuff
968: [06:35:21] <ss23> It's not like they left the piss there!
969: [06:35:31] <ss23> protip: The water you're drinking is literally recycled piss
970: [06:35:46] <UncleCheese> speaking of piss, i'd like to get on it tonight
971: [06:35:50] <ss23> XD
972: [06:35:52] <UncleCheese> hahahaha
973: [06:35:55] <UncleCheese> i love kiwi slang
974: [06:36:23] <ss23> I need to teach you some fake slang, UncleCheese
975: [06:36:36] <UncleCheese> heyday made a whole dictionary for me
976: [06:36:36] <ss23> So you go up to someone and you're like "what the butch, kate man"
977: [06:36:39] <ss23> and they're like "........"
978: [06:36:51] <simon_w> And then smack you one
979: [06:37:07] <UncleCheese> aw, the people here seem so nice. i can't even picture it
980: [06:37:25] <UncleCheese> that's some waterfront you've got here, though… by the civic centre
981: [06:37:40] <UncleCheese> makes me really glad i ended up in wgtn and not akl
982: [06:37:49] <simon_w> Auckland has waterfront too :p
983: [06:37:50] <ss23> lol
984: [06:37:52] <UncleCheese> auckland didn't really do it for me
985: [06:37:55] <ss23> 10:36:12 < UncleCheese> aw, the people here seem so nice. i can't even picture it
986: [06:38:10] <ss23> Did anyone see the video of the burger king employees going at that guy who threw a burger back at them?
987: [06:38:13] <simon_w> UncleCheese, I can smack ss23 one if you want an example
988: [06:38:16] <ss23> XD
989: [06:38:43] <ss23> UncleCheese: Come into town on Saturday night, and we'll see how nice everyone is (extra points if you go away from Cuba, since Cuba is where all the cool kids are)
990: [06:38:44] <UncleCheese> alright, well if that's what's on the agenda, then i'm definitely buying lunch
991: [06:38:51] <ss23> lol XD
992: [06:40:06] <spronk> ah, wellington..
993: [06:40:20] <simon_w> Enjoying the hills yet?
994: [06:41:08] <UncleCheese> no!
995: [06:41:14] <simon_w> Oh, UncleCheese, next time it's sunny you should head up to the lookout on Mt Vic
996: [06:41:29] <UncleCheese> my wife practically collapsed coming up manners to the terrace tonight
997: [06:41:38] <UncleCheese> and the house we're probably going to get is in vogeltown
998: [06:41:42] <UncleCheese> huuuuuuuuuuge hill
999: [06:41:45] <UncleCheese> we'll never leave the house
1000: [06:41:49] <simon_w> Haha
1001: [06:41:50] <UncleCheese> well, we'll leave, but we won't come back
1002: [06:41:54] <simon_w> My hill's bigger :p
1003: [06:41:55] <spronk> get a segway
1004: [06:42:00] <spronk> they're super popular in nz...
1005: [06:42:04] <UncleCheese> but it's what you pay for that view
1006: [06:42:04] <ss23> rofl spronk
1007: [06:42:06] <UncleCheese> holy crap
1008: [06:42:33] <ss23> Is "Coastlands" near Whakatane?
1009: [06:42:46] <simon_w> Coastland's in Paraparaumu
1010: [06:42:55] <ss23> Google says it's in whakatane!
1011: [06:43:05] <simon_w> Is this the shopping place?
1012: [06:43:07] <ss23> NZ is too big, I know no geography
1013: [06:43:13] <ss23> simon_w: nono, suburb
1014: [06:43:16] <spronk> nz is about as small as countries get, man
1015: [06:43:22] <spronk> well, not really, but pretty small
1016: [06:43:27] <ss23> simon_w: Hawaii would like a WORD.
1017: [06:43:48] <simon_w> Hawaii's a state
1018: [06:44:00] <DesignerX> hi guys, can anyone give me a link to a website a muklti language website developed with SS ? the simpler the website the better :D
1019: [06:45:02] <simon_w> Huh, I've spent a far amount of time in Whakatane, and never knew there was a Coastlands up there
1020: [06:45:27] <ss23> simon_w: dammit
1021: [06:45:35] <ss23> I knew when I said it, I was like 'wait a second'
1022: [06:45:36] <ss23> grrr
1023: [06:45:41] <ss23> I wanna get this done and go home
1024: [06:45:46] <ss23> Not in the mood for staying late tonight :<
1025: [06:46:47] * RojoD quit (Ping timeout: 248 seconds)
1026: [06:48:08] <simon_w> ss23, what you doing with the Bay of Plenty anyways?
1027: [06:48:20] <ss23> simon_w: Client change of address
1028: [06:48:29] <ss23> Have to put a link in to a map on Google, and they said Whakatane
1029: [06:48:33] <ss23> and I was like "Wtf google, coastlands?!"
1030: [06:51:23] <simon_w> They've got The Hub and the airport, anything else? :p
1031: [06:51:42] * openbees quit (Ping timeout: 260 seconds)
1032: [06:53:28] <ss23> idk! :O
1033: [06:53:30] <ss23> What is The Hub?
1034: [06:53:41] <simon_w> It's a strip mall
1035: [07:03:22] * openbees has joined #silverstripe
1036: [07:08:28] <UncleCheese> in all honesty, is this a decent part of town? https://maps.google.com/maps?q=38+Pearce+Street,+Vogeltown,+Wellington,+New+Zealand&hl=en&sll=37.0625,-95.677068&sspn=45.688268,82.617188&oq=38+pearce+street+vogeltown+&hnear=38+Pearce+St,+Vogeltown,+Wellington+6021,+New+Zealand&t=m&z=16
1037: [07:08:47] <UncleCheese> The only problem i can see is the topography
1038: [07:09:02] <simon_w> Yeah, Vogeltown's fine
1039: [07:09:05] <UncleCheese> ok
1040: [07:09:13] <simon_w> A bit of a way from the nearest supermarket, but that's about it
1041: [07:09:20] <UncleCheese> Yeah, would that be in Island Bay?
1042: [07:09:39] <UncleCheese> we were trying to figure that out
1043: [07:10:05] <simon_w> Newtown, by the hospital
1044: [07:10:13] * Rojod has joined #silverstripe
1045: [07:10:18] <simon_w> unless Brooklyn has one
1046: [07:10:37] <simon_w> (Countdown's a supermarket)
1047: [07:11:15] <UncleCheese> yeah, that's where we've been going
1048: [07:11:44] <ss23> OHHHH
1049: [07:11:45] <ss23> NEWTOWN
1050: [07:11:45] <ss23> :D
1051: [07:11:52] <simon_w> From The Terrace? Isn't Thorndon New World a lot closer?
1052: [07:11:57] <ss23> Coworker saw me at the Countdown by the hospital
1053: [07:11:58] <ss23> :O
1054: [07:12:01] <DesignerX> join #ubuntu
1055: [07:12:09] <ss23> Suposibly she waved and I was like *ignore* ;_;
1056: [07:12:21] <ss23> DesignerX: #gentoo
1057: [07:12:22] <UncleCheese> no, we just happened to go by countdown in paraparaumu yesterday
1058: [07:12:30] <simon_w> Ah
1059: [07:12:33] <openbees> Unclecheese we have a very nice sea view here in colombo .. if you wish to shift here :D
1060: [07:12:47] <UncleCheese> sri lanka?
1061: [07:12:47] <simon_w> Uproot your family again! :p
1062: [07:13:02] <openbees> yep
1063: [07:13:04] <ss23> lol
1064: [07:13:05] <UncleCheese> wow
1065: [07:13:07] <DesignerX> ss23: gentoo, what is that ! lets google it
1066: [07:14:21] <ss23> BEST DISTRO
1067: [07:14:37] <openbees> UncleCheese : its Vikas from india behind this disgusting nickname :D
1068: [07:14:58] <ss23> I washed my hair on saturday and now it's all yuck
1069: [07:14:58] <ss23> >.<
1070: [07:15:48] <simon_w> Shave it off
1071: [07:15:50] <UncleCheese> yup, i know
1072: [07:16:12] * guci0 has joined #silverstripe
1073: [07:16:15] <guci0> Howdy!
1074: [07:16:22] <UncleCheese> openbees: the Indian food in NZ is amazing
1075: [07:17:08] <openbees> UncleCheese : gr8 to hear that :)
1076: [07:18:29] <ss23> heya, guci0
1077: [07:18:45] <ss23> simon_w: I'll shave it if you pay me $1000
1078: [07:19:03] <simon_w> But that's like all my tax refund! Screw that.
1079: [07:19:16] <ss23> XD
1080: [07:19:17] <openbees> ss23 : I can shave in $10 :D
1081: [07:19:25] <ss23> lol, not a chance!
1082: [07:19:49] <DesignerX> I'm getting an error with Ss install "[Warning] filemtime(): stat failed for....(file name) .."
1083: [07:20:26] <UncleCheese> probably a missing include
1084: [07:20:39] <UncleCheese> what is in (file name)
1085: [07:20:56] <DesignerX> the full error is here : http://www.sspaste.com/paste/show/51da67a4753ae
1086: [07:21:04] <DesignerX> [Warning] filemtime(): stat failed for /mnt/hgfs/htdocs/_my_projects/SS3/SS3Loaded_2_UbuntuTest/themes/Base1/templates/Layout/Page.ss
1087: [07:21:11] <DesignerX> the abover the full error message
1088: [07:21:40] <UncleCheese> does Base1/templates/Layout/Page.ss exist?
1089: [07:21:48] <ss23> DesignerX: Don't forget to flush
1090: [07:21:53] <UncleCheese> yeah
1091: [07:21:54] <DesignerX> I have "935 $lastEdited = filemtime($template);" in red .. & yes that file exist
1092: [07:22:07] <UncleCheese> then it's a permissions issue
1093: [07:29:40] * Colin[pi] quit (Ping timeout: 240 seconds)
1094: [07:35:56] * gumble has joined #silverstripe
1095: [07:36:11] * NitinShah has joined #silverstripe
1096: [07:36:49] <NitinShah> I resolved the magic_quotes issue by copuing php.ini file to the framework folder
1097: [07:37:37] <DesignerX> NitinShah: any changes to php.ini has to be done inside framework/php.ini , including memory_limit & other changes
1098: [07:38:31] <NitinShah> But I have another problem now.... after fresh install of silverstripe 3.1, I am no longer able to upload images
1099: [07:38:40] <NitinShah> I get a forbidden error
1100: [07:39:00] <DesignerX> check the permisstion on the assets/ & silverstripe_cache folders
1101: [07:39:31] <NitinShah> Permission on the asset folder is 0755
1102: [07:39:50] <DesignerX> mm, try 777 for a quick test & see it that fixes it
1103: [07:39:54] <NitinShah> and there is no silverstripe_cache folder in the root
1104: [07:39:56] * mirrors quit (Quit: Page closed)
1105: [07:40:00] <ss23> FUCK
1106: [07:40:00] <openbees> or 775
1107: [07:40:07] <ss23> I had some stufff in a zendesk ticket but hadn't sent it
1108: [07:40:09] <ss23> asdfkjnasdfkljnasdfkjbnasdfkjbasdfkjb
1109: [07:40:10] <ss23> IT SENT IT
1110: [07:40:22] <simon_w> Yay, Zendesk!
1111: [07:40:28] <howardgrigg> UncleCheese: you should get a bike with an electric motor for the journey home
1112: [07:40:35] <ss23> Could've been worse, but still annoying
1113: [07:40:48] <ss23> dammit what did I do today
1114: [07:40:49] <ss23> ;_;
1115: [07:41:47] <DesignerX> ss23: what you talking about ! :D
1116: [07:42:04] <ss23> I need to timesheet for today
1117: [07:42:05] <ss23> :<
1118: [07:42:08] <ss23> only got 5 hours of stuff so far
1119: [07:42:09] <ss23> wait 6
1120: [07:42:17] <ss23> been here 9 hours though
1121: [07:42:22] <ss23> 1 hour for lunch (think I took less tbh)
1122: [07:42:27] <ss23> means I need 2 hours of work!
1123: [07:42:33] <ss23> Okay I found it, setup time for stupid projects
1124: [07:42:39] * PigeonFriend has joined #silverstripe
1125: [07:42:47] <ss23> I definitly blame PigeonFriend
1126: [07:43:11] <PigeonFriend> :(
1127: [07:43:20] <ss23> :D
1128: [07:43:30] <DesignerX> ss23: you are EVIL
1129: [07:43:34] <ss23> :O
1130: [07:43:35] <ss23> Never!
1131: [07:43:37] * ss23 hides
1132: [07:43:44] <NitinShah> After changing the permission to 0777, I can upload images through html editor but still get forbidden error if I use silverstripe files manager
1133: [07:44:17] <DesignerX> its more like 'ss23 hids in the shadows wating for someone to kill .... I mean blame"
1134: [07:44:20] <ss23> XD
1135: [07:45:17] * teng has joined #silverstripe
1136: [07:46:23] <ss23> Home time for me!
1137: [07:46:29] <ss23> I really need to stop at the pharmacy on the way home too :O
1138: [07:46:36] <ss23> Luckily there's a late one on my way :D
1139: [07:46:37] <ss23> bbl
1140: [07:46:56] <DesignerX> stop ? you dont have a take away pharmacy ?
1141: [07:48:51] * EasyCo quit (Quit: EasyCo)
1142: [07:49:08] <UncleCheese> SS makes you do a timesheet?
1143: [07:54:43] * lerni has joined #silverstripe
1144: [07:58:18] * Rojod quit (Changing host)
1145: [07:58:18] * Rojod has joined #silverstripe
1146: [07:58:18] * Rojod quit (Changing host)
1147: [07:58:18] * Rojod has joined #silverstripe
1148: [07:59:17] * mobiusnz has joined #silverstripe
1149: [08:03:02] * chillu has joined #silverstripe
1150: [08:14:44] <DesignerX> UncleCheese: thanks, it was file permisstion error, becasue my Ubuntu Server is a VM & i was trying to install into a 'share folder" with a win7 host ..
1151: [08:23:52] <gumble> how can ecommerce module be for silverstripe 3 but require the payment module which doesn't work with ss3??
1152: [08:24:24] * metanat has joined #silverstripe
1153: [08:24:32] * metanat quit (Client Quit)
1154: [08:27:54] * lobarvaz has joined #silverstripe
1155: [08:30:07] <simon_w> gumble, did you read the read me?
1156: [08:30:20] <gumble> of which one?
1157: [08:30:24] <simon_w> https://github.com/silverstripe-labs/silverstripe-payment/
1158: [08:30:24] * g4b0_ has joined #silverstripe
1159: [08:30:25] <gumble> but actually no I didn;t
1160: [08:30:26] <gumble> sorry
1161: [08:32:52] <g4b0_> hi all
1162: [08:33:17] <gumble> Am I understanding it right that the payment-project is now parted into a few other projects and I can just use the parts that I need?
1163: [08:33:29] <gumble> e.g. the ground payment-fork and the payment-paypal fork?
1164: [08:35:09] <simon_w> yes
1165: [08:35:24] <gumble> oh nicely
1166: [08:35:46] <gumble> thanks
1167: [08:46:15] * lx-berlin has joined #silverstripe
1168: [08:46:44] <NitinShah> any suugestions as to why I am getting forbidden error in silverstripe filemanger
1169: [08:49:35] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1170: [08:55:11] <DesignerX> NitinShah: DID YOU TRY MAKING THE ASSETS/ FOLTER PERMISSTION TO 777
1171: [08:55:18] <DesignerX> oh.. sorry about caps
1172: [08:55:37] <NitinShah> Yes
1173: [08:56:12] <DesignerX> & try making a silverstripe-cache folder in the root of the installation then try dev/build and ?flush=all & click "sync files " in the file manager section of the CMS
1174: [08:56:13] <NitinShah> After change in permission, I can upload images through the html editor
1175: [08:56:54] <NitinShah> but not via the files section in the cms
1176: [08:57:33] <DesignerX> give the above a try & let me know how it goes, & let me know what version of SS it it
1177: [09:02:04] * sam__ has joined #silverstripe
1178: [09:02:08] <sam__> hi
1179: [09:02:18] <sam__> need help on facebook login in 2.4
1180: [09:02:28] <sam__> I am using facebookconnect module
1181: [09:02:56] <sam__> after logging in, it does not redirect to the site page
1182: [09:08:14] * UncleCheese quit (Quit: UncleCheese)
1183: [09:12:29] * r3v3rb has joined #silverstripe
1184: [09:13:26] * hubertusanton has joined #silverstripe
1185: [09:13:41] <r3v3rb> anyone home?
1186: [09:13:46] * willr has joined #silverstripe
1187: [09:13:48] <hubertusanton> is this the best way to get a lis of unpublished content?
1188: [09:13:50] <hubertusanton> http://www.silverstripe.org/data-model-questions/show/24105
1189: [09:14:53] <r3v3rb> hubertusanton: seems pretty good to me
1190: [09:15:05] <r3v3rb> but i'm no expert
1191: [09:15:09] <sam__> Hi I need help on facebook login in 2.4
1192: [09:15:52] <simon_w> hubertusanton, that would be horribly inefficient
1193: [09:16:29] <r3v3rb> hubertusanton: see, told you i'm no expert listen to simon_w ;)
1194: [09:18:06] <simon_w> hubertusanton, try something like: Versioned::get_by_stage('SiteTree', 'Stage')->leftJoin('SiteTree_Live', '"SiteTree"."ID" = "SL"."ID"', 'SL')->where('"SL"."Created" IS NULL')
1195: [09:23:33] * SightUnseen has joined #silverstripe
1196: [09:27:40] * Shrike_Finland quit (Quit: Leaving.)
1197: [09:38:46] * SightUnseen has left #silverstripe
1198: [09:47:15] * mobiusnz quit (Quit: Leaving.)
1199: [09:53:56] <NitinShah> I am using silverstripe 3.1
1200: [09:54:10] <NitinShah> Am going to try your suggestion now and will get back
1201: [10:01:05] * gumble quit (Ping timeout: 240 seconds)
1202: [10:12:14] * willr quit (Quit: willr)
1203: [10:16:29] * Sab has joined #silverstripe
1204: [10:17:19] <Sab> hi
1205: [10:17:46] <Sab> I am facing abig problem in silverstripe 3
1206: [10:17:54] <ss23> Whats the problem? :)
1207: [10:18:30] <Sab> how can we set a session in silverstripe 3 jquery
1208: [10:18:54] <Sab> my problem is this
1209: [10:18:55] <Sab> We have developed a site with silverstripe3.In the course listing page, there is an option to add the courses to shortlist and we can compare the courses. In the header there an icon to view the list of courses which are added in shortlist . By clicking the "Shortlist" icon in the header a drop-down will show and it will display the course list which are added for compare. In the course listing page , there is a check box to a
1210: [10:19:15] <Sab> in the header shortlist drop-down also its coming correctly. But in the other pages like Home or contact us etc , by clicking the shortlist menu in header nothing displayed. So is there any way to set the session variables to store the values by adding each courses to shortlist menu. If so we can check the session variable values in other pages like home and contact us to display the drop-down with added courses in the heade
1211: [10:20:05] <ss23> Sab: Sorry, that cut off multiple times
1212: [10:20:12] <ss23> In the course listing page , there is a check box to a
1213: [10:20:14] <ss23> -down with added courses in the heade
1214: [10:20:35] <Sab> ok i will teel u detail
1215: [10:20:46] <Sab> We have developed a site with silverstripe3
1216: [10:20:58] <Sab> In the course listing page, there is an option to add the courses to shortlist and we can compare the courses
1217: [10:21:13] <Sab> In the header there an icon to view the list of courses which are added in shortlist .
1218: [10:21:29] <Sab> By clicking the "Shortlist" icon in the header a drop-down will show and it will display the course list which are added for compare
1219: [10:21:39] <Sab> In the course listing page , there is a check box to add the courses to shortlist
1220: [10:21:51] <Sab> And in the header shortlist drop-down also its coming correctly.
1221: [10:22:01] <Sab> But in the other pages like Home or contact us etc , by clicking the shortlist menu in header nothing displayed
1222: [10:22:15] <Sab> So is there any way to set the session variables to store the values by adding each courses to shortlist menu
1223: [10:22:24] <Sab> If so we can check the session variable values in other pages like home and contact us to display the drop-down with added courses in the header.
1224: [10:23:12] <NitinShah> DesignerX, I still get the forbidden error
1225: [10:24:42] * mobiusnz has joined #silverstripe
1226: [10:26:11] * priithansen has joined #silverstripe
1227: [10:26:26] * r3v3rb quit (Quit: r3v3rb)
1228: [10:26:56] <Sab> ss23: dis you understand what i mean..?
1229: [10:28:58] * sam__ quit (Ping timeout: 250 seconds)
1230: [10:36:08] <Sab> hi
1231: [10:36:16] * gumble has joined #silverstripe
1232: [10:49:05] * NitinShah quit (Quit: Leaving)
1233: [10:58:59] * mobiusnz quit (Quit: Leaving.)
1234: [11:04:25] * lx-berlin has left #silverstripe
1235: [11:19:37] * NitinShah has joined #silverstripe
1236: [11:20:19] <NitinShah> I would like to turn verify_html off in html editor
1237: [11:20:51] <NitinShah> I am using the following code in mysite/_config in Silverstripe 3.1
1238: [11:21:07] <NitinShah> HtmlEditorConfig::get('cms')->setOption('verify_html', 'false');
1239: [11:21:20] <NitinShah> but no effect
1240: [11:21:40] <NitinShah> I also tried the above code in cms/_config, no effect still
1241: [11:41:42] <DesignerX> NitinShah: sorray I was AFK , you still here ?
1242: [11:42:39] <DesignerX> NitinShah: how did you install SS, did you uplaod all the files through FTP ? or using composter or any other method ?
1243: [11:45:42] <NitinShah> yes
1244: [11:45:58] <NitinShah> I uploaded alll files using ftp
1245: [11:48:28] <openbees> NitinShah : do you have mod rewrite enabled on that server (in sort do you see any index.php in url)
1246: [11:48:53] <NitinShah> mod rewrite is enabled
1247: [11:49:00] <NitinShah> no index.php in url
1248: [11:49:00] <openbees> sometime it create problem without mode rewrite .. but that was with ss2.4
1249: [11:50:57] <openbees> and you recursively changed permission on assets folder .. (I am assuming that changed permission by ftp )
1250: [11:51:28] <NitinShah> I chaged the permission via cpanel of the asset folder
1251: [11:51:36] * gumble quit (Read error: Connection timed out)
1252: [11:51:49] <NitinShah> should I try changing the permission of all folders inside asset folders as well
1253: [11:52:01] * gumble has joined #silverstripe
1254: [11:55:14] <NitinShah> I also have a develoment site on my laptop and it seems I am not able to upload images via silverstripe assets even on the local dev site
1255: [11:56:37] <NitinShah> Also any suggestions with disabling verify_html in html editor
1256: [11:59:13] * lobarvaz_ has joined #silverstripe
1257: [11:59:47] * lobarvaz quit (Ping timeout: 246 seconds)
1258: [12:00:19] <openbees> NitinShah : yes please update permission recursively .. also there is another approach to upload your files .. just upload them in assets/upload .. then go to cms -> file section ->sync files
1259: [12:01:11] * gumble quit (Ping timeout: 246 seconds)
1260: [12:01:46] <NitinShah> I think I can use the altenative approach for now as far as uploads are concerned
1261: [12:02:54] <NitinShah> Now to the more pressing issue regarding HtmlEditorConfig : verify_html setting
1262: [12:11:48] <openbees> NitinShah : try in getCMSFields() function of that page may be
1263: [12:12:42] <openbees> I could not find actual webpage .. here is the link for github file related to this doc .. https://github.com/mattclegg/silverstripe-doc-restructuring/blob/master/output/htmleditorconfig.md
1264: [12:12:54] <openbees> you can see in "How to Use "
1265: [12:13:09] <openbees> not sure why mysite/_config.php approach is not working !
1266: [12:14:27] <NitinShah> i will just check
1267: [12:22:44] * chillu quit (Quit: chillu)
1268: [12:33:12] * gumble has joined #silverstripe
1269: [12:33:50] <NitinShah> HtmlEditorConfig::get('cms')->setOption('verify_html', false); worked for me
1270: [12:34:13] <openbees> gr8
1271: [12:35:31] <openbees> wow a life coach NitinShah working on SS .. sounds interesting ;)
1272: [12:36:26] * chillu has joined #silverstripe
1273: [12:37:34] <NitinShah> I like doing website related work, though due to workshops and therapies time doesn't permit much. So I just play with my and my institutes website
1274: [12:38:09] <NitinShah> Since I started using ss (around 6 months) have completely fallen in love with ss
1275: [12:40:05] <openbees> you are the second indian i know who is working on SS (after myself) :D
1276: [12:41:26] * DesignerX quit (Ping timeout: 252 seconds)
1277: [12:43:20] <NitinShah> openbees: When I speak to even people doing website development work, most of them have no idea about ss. Anyways Where in India are you from.
1278: [12:46:11] <openbees> I am from Allahabad (UP)! living in Colombo .
1279: [12:46:21] <openbees> time to leave office .. catch u later ;)
1280: [12:46:42] <NitinShah> :)
1281: [12:46:49] * NitinShah quit (Quit: Leaving)
1282: [12:47:00] * openbees quit (Quit: Leaving)
1283: [13:08:15] * timmy333 has joined #silverstripe
1284: [13:08:33] * timmy333 has left #silverstripe
1285: [13:11:02] * gumble quit (Remote host closed the connection)
1286: [13:14:17] * howardgrigg quit (Remote host closed the connection)
1287: [13:49:08] * travis-ci has joined #silverstripe
1288: [13:49:08] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#545 (3.1 - 3bfb82d : Ingo Schommer): The build passed.
1289: [13:49:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/10b55170ea6f...3bfb82d25fd0
1290: [13:49:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8847824
1291: [13:49:08] * travis-ci has left #silverstripe
1292: [14:16:14] <wmk> can i make a search context on a relation? i got an error with modeladmin searching on HasOneRelation.Title
1293: [14:18:47] * guzzlefry_dev has joined #silverstripe
1294: [14:23:56] * osterlaus has joined #silverstripe
1295: [14:35:57] * osterlaus quit (Quit: Leaving.)
1296: [14:59:41] * Sab quit (Quit: Page closed)
1297: [15:10:48] * catcher has joined #silverstripe
1298: [15:11:15] * g4b0_ quit (Ping timeout: 240 seconds)
1299: [15:24:25] * g4b0_ has joined #silverstripe
1300: [15:29:39] * micmania1 has joined #silverstripe
1301: [15:32:11] * Werner_2_ has joined #silverstripe
1302: [15:34:05] * hubertusanton quit (Remote host closed the connection)
1303: [15:35:15] * wmk quit (Ping timeout: 240 seconds)
1304: [15:42:13] * catcher quit (Quit: Leaving)
1305: [15:46:26] * cloph_away is now known as cloph
1306: [15:47:40] * pippy quit (Ping timeout: 248 seconds)
1307: [15:49:52] <ec8or> i got a League with many_many Teams with many_many Players and want to get all Players for a League.. is there anything built-in to the ORM for stuff like that or should i do a custom left join?
1308: [15:53:20] * pippy has joined #silverstripe
1309: [15:54:19] <FrozenFire> Players::get()->filter('Teams.League.ID:ExactMatch', $leagueID);
1310: [15:54:21] <FrozenFire> I think
1311: [15:54:30] <FrozenFire> Depends on your SS version, among other things
1312: [15:58:13] * catcher has joined #silverstripe
1313: [16:00:52] * g4b0_ quit (Quit: Sto andando via)
1314: [16:09:13] * r3v3rb has joined #silverstripe
1315: [16:13:07] * DesignerX has joined #silverstripe
1316: [16:14:03] <DesignerX> hi, how can I install SS without using the installer ?
1317: [16:14:30] <DesignerX> without using "install.php", is there a file that I can the details in & install the website ?
1318: [16:16:22] <micmania1> You can put the deails in your _config.php file or create a _ss_environment.php file.
1319: [16:16:45] <micmania1> take a look here: http://doc.silverstripe.org/framework/en/topics/environment-management
1320: [16:17:16] * catcher quit (Remote host closed the connection)
1321: [16:18:06] <DesignerX> thanks, what about reinstalling a website under a new domain, are ther any extra stepts required other then setting the the correct database details & dev/build & flush=all ?
1322: [16:22:41] * Werner_2_ is now known as wmk
1323: [16:24:52] * Werner_2_ has joined #silverstripe
1324: [16:25:07] <micmania1> DesignerX, no, the domain shouldn't matter.
1325: [16:27:52] * wmk quit (Ping timeout: 246 seconds)
1326: [16:28:24] <lerni> there is forceWWW() in director. Anybody around who did a preventWWW()?
1327: [16:32:34] * swordsmanz has joined #silverstripe
1328: [16:45:20] * lobarvaz_ quit (Remote host closed the connection)
1329: [16:51:52] * SphereSilverNL has joined #silverstripe
1330: [16:51:58] * catcher has joined #silverstripe
1331: [16:52:06] <SphereSilverNL> 'evening
1332: [16:52:27] <r3v3rb> any americans on board or people with movie style voiceover voices?
1333: [16:52:30] * chillu quit (Quit: chillu)
1334: [16:54:58] * Werner_2_ quit (Quit: nice to meet you ;))
1335: [16:57:29] <SphereSilverNL> Has anyone gotten versioned ModelAdmin-objects working?
1336: [17:01:03] * Colin[pi] has joined #silverstripe
1337: [17:02:07] <micmania1> yes, SphereSilverNL but i'm just about to go home lol I'll catch you later
1338: [17:02:36] <micmania1> The gist is rip off everything from Silverstripe classes :)
1339: [17:03:10] <micmania1> overload the normal save/delete functions (including gridfield buttons).
1340: [17:03:37] <micmania1> You'll also need some logic for removing draft versions also.
1341: [17:03:53] * micmania1 quit (Quit: Leaving)
1342: [17:04:21] <SphereSilverNL> I kinda figured someone had done this :) I'll wait for micmania to get home :)
1343: [17:11:05] * PigeonFriend quit ()
1344: [17:12:07] * gelignite has joined #silverstripe
1345: [17:13:45] * Colin[pi] quit (Ping timeout: 246 seconds)
1346: [17:19:48] * SphereSilverNL_ has joined #silverstripe
1347: [17:20:04] <SphereSilverNL_> hmmm, BSOD, again :/
1348: [17:20:46] * SphereSilverNL quit (Disconnected by services)
1349: [17:20:54] <SphereSilverNL_> bye ghost of the past :D
1350: [17:20:57] * SphereSilverNL_ is now known as SphereSilverNL
1351: [17:52:21] <SphereSilverNL> I like cargopants... but according to modern fashion, they're outdated. I figure I'm probably a developer... http://cdn.onextrapixel.com/wp-content/uploads/2011/04/web-designers-vs-developers.jpg
1352: [17:53:08] * EasyCo has joined #silverstripe
1353: [17:57:25] <AlphaCactus> yay, another thing to print for my wall. also good that salaries shown is higher than what everyone makes here...
1354: [17:58:31] * chillu has joined #silverstripe
1355: [17:58:50] <AlphaCactus> what could I replace "women" with in the middle of the venn diagram cause there are more women here than men.
1356: [18:01:27] <AlphaCactus> screw it, i'm too lazy to change it
1357: [18:02:55] <SphereSilverNL> AlphaCactus: yeah, that's probably why there's a footnote :P
1358: [18:03:20] <SphereSilverNL> Funny thing, at my office, there are only men working. And I mean really, not one woman :'(
1359: [18:04:16] <AlphaCactus> T_T
1360: [18:06:02] <SphereSilverNL> Client demands I update their website to 3.1 tonight.
1361: [18:06:05] <SphereSilverNL> I demand sleep.
1362: [18:06:13] <SphereSilverNL> Conclusion? It's gonna cost them.
1363: [18:15:18] * joelpittet has joined #silverstripe
1364: [18:27:01] * micmania1 has joined #silverstripe
1365: [18:36:25] <SphereSilverNL> got a gist micmania1 ?
1366: [18:36:35] <SphereSilverNL> or a repo on github?
1367: [18:36:57] <micmania1> nah, it was private work (for work) i'm afraid :(
1368: [18:37:33] <SphereSilverNL> bummer. The method Aram uses is not working :(
1369: [18:37:39] <micmania1> What you have to do is overload the EditForm of ModelAdmin.
1370: [18:38:10] <SphereSilverNL> I figured, the getEditForm(){} method, add the versioning methods and also add them to the object itself I guess?
1371: [18:39:18] <micmania1> Give me a few mins. I'm working on something at the moment which added buttons to gridfield/has its own actions and all you need to do is use the same techniques, but for publishing pages.
1372: [18:39:24] <micmania1> *DataObjects
1373: [18:39:38] <SphereSilverNL> I was hoping someone else did all that work for me :P
1374: [18:39:52] <SphereSilverNL> Can't afford to put that amount of time in my newsmodule :/
1375: [18:40:02] <SphereSilverNL> (the devving it myself that is ;) )
1376: [18:41:57] * chillu quit (Quit: chillu)
1377: [18:42:48] <SphereSilverNL> Should I?
1378: [18:42:52] <SphereSilverNL> http://link.marktplaats.nl/646834539
1379: [18:44:19] <SphereSilverNL> It is a pretty car and something I've always wanted....
1380: [18:50:02] <SphereSilverNL> micmania1: if you have something to give me a headstart (since I don't feel like writing it myself), could you e-mail me at simon@casa-laguna.net?
1381: [18:52:06] <micmania1> I've got a link now for you if you want it?
1382: [18:52:13] <SphereSilverNL> Would be cool :D
1383: [18:52:22] <micmania1> https://gist.github.com/micmania1/3d5f7ec0610d1dde813d
1384: [18:53:11] <micmania1> That's not versioning, but it should guide you to adding your own actions/buttons in ModelAdmin. From there, you can add the publish functionality.
1385: [18:54:01] <SphereSilverNL> ah, the getEdit does make sense, I'll look into that :) thanks for the pointer!
1386: [18:54:28] <SphereSilverNL> It's not high on the priority list, but I'm working on it. Got it in a local file now, thanks.
1387: [18:54:30] <micmania1> in Fixture_ItemRequest.php you'll see two empty functions. This is where you'd add the functionality. I haven't gotten round to doing that yet :)
1388: [18:54:47] <micmania1> Although I do have inline editing in my GridField :D
1389: [18:58:05] <SphereSilverNL> I've been pondering inline editing :D
1390: [19:00:11] <micmania1> Mine is very specific use. I did see a module a while back but haven't been able to find it lately. It might have been removed.
1391: [19:00:56] <SphereSilverNL> Not gonna do that soon. I got other things to take care of ;)
1392: [19:01:19] <micmania1> I'l be releasing a Facebook module soon :) Its ported from my Twitter module so the API is almost the same. I'm going to merge the two (eventually).
1393: [19:01:36] <SphereSilverNL> Don't get me started on the facebook API!
1394: [19:01:42] <SphereSilverNL> How to anger /me
1395: [19:01:53] <micmania1> haha, I'm just sticking with basic login stuff.
1396: [19:02:34] <lerni> SphereSilverNL: https://github.com/ajshort/silverstripe-gridfieldextensions
1397: [19:03:52] <micmania1> That must be it. I thought it was called something else for some reason
1398: [19:05:29] <SphereSilverNL> lerni: that's not the versioning module, is it?
1399: [19:05:38] <SphereSilverNL> I don't want to add another requirement ;)
1400: [19:05:54] <SphereSilverNL> unless it's really, really useful :)
1401: [19:06:11] <lerni> gues no inline editing
1402: [19:06:14] <lerni> awk
1403: [19:06:24] <SphereSilverNL> The Ferrari is a no-go btw. Too many rust, I can buy one of those rusty buckets for 10k instead of 30k
1404: [19:08:27] <micmania1> lol
1405: [19:08:41] <SphereSilverNL> ?
1406: [19:08:42] <micmania1> I've never used that module before so not sure
1407: [19:14:54] <lerni> SphereSilver: Another requirement https://github.com/icecaster/silverstripe-versioned-gridfield but have not uses this one :-)
1408: [19:15:38] <SphereSilverNL> Gonna run tests tomorrow on that one :)
1409: [19:19:55] <SphereSilverNL> First I want it optional :) It shouldn't be a requirement. I purrsonally hate requirements. The less the better.
1410: [19:21:49] * SightUnseen has joined #silverstripe
1411: [19:21:52] * SightUnseen has left #silverstripe
1412: [19:23:53] <lerni> SphereSilverNL: You're takling about your Newsmodule - that would be cool :-)
1413: [19:25:53] <SphereSilverNL> lerni: yes, I want to include versioning in a non-obtrusive way
1414: [19:26:35] <micmania1> You can add it as a submodule of your module.
1415: [19:26:48] <SphereSilverNL> The "unobtrusive" part ;)
1416: [19:27:31] <micmania1> Instead of overloading the EditForm as in my example, you can create as extension and use updateEditForm meaning it could be optional.
1417: [19:27:57] <SphereSilverNL> I know :) I just need to find the best way to do it before I implement it.
1418: [19:28:47] <micmania1> I would have a go but I got too many ideas buzzing around my head at the moment lol
1419: [19:30:18] * simon_w quit (Quit: This computer has gone to sleep)
1420: [19:32:22] <SphereSilverNL> Don't worry, I got enough to do :P
1421: [19:39:16] <lerni> i do not get why googlesitemap sits at this URL like domain.tld//sitemap.xml/sitemap/SiteTree/1
1422: [19:39:27] <lerni> is it kinda subsite support?
1423: [19:46:29] <micmania1> new Facebook module: https://github.com/micmania1/silverstripe-facebook
1424: [19:49:32] * chillu has joined #silverstripe
1425: [20:09:56] * mobiusnz has joined #silverstripe
1426: [20:10:09] * simon_w has joined #silverstripe
1427: [20:11:48] * guci0 quit (Ping timeout: 250 seconds)
1428: [20:13:51] * NitinShah has joined #silverstripe
1429: [20:17:11] <simon_w> lerni, a site map file can only contain 200 items
1430: [20:17:58] <simon_w> Which is why sitemap.xml itself is an index file, of all the different site map pages, each of which has no more than 200 items on it
1431: [20:20:22] <NitinShah> How to set up a subdomain for mobile sites?
1432: [20:20:34] <NitinShah> I have already installed the mobile module
1433: [20:20:43] <lerni> thank you simon_w!
1434: [20:21:44] <NitinShah> I am able to make the mobile redirection work using the following option "Mobile users see mobile theme, but no redirection occurs"
1435: [20:22:20] <NitinShah> But I would really prefer to use the "Mobile users are redirected to mobile domain" option
1436: [20:22:20] <simon_w> NitinShah, in your host's control panel, you set up a subdomain that points to the same place as your root domain
1437: [20:30:22] * joelpittet quit (Read error: No route to host)
1438: [20:30:57] * joelpittet has joined #silverstripe
1439: [20:43:55] * DigNZ has joined #silverstripe
1440: [20:43:57] * DigNZ quit (Remote host closed the connection)
1441: [20:44:10] * DigNZ has joined #silverstripe
1442: [20:45:09] * toddmorey has joined #silverstripe
1443: [20:46:14] <toddmorey> Hello! Congrats to the devs on the SS3 hackathon. Hope it was a success. I've started a new personal project on SS3 and I really like it.
1444: [20:48:37] <toddmorey> Meanwhile, at the OpenStack Foundation, there's been pressure to switch over to django (since the project itself is python) but people were impressed with the ss3 improvements and project momentum. Pretty sure we'll stay a Silverstripe site and move to 3.
1445: [20:52:14] <SphereSilverNL> goodnight folks
1446: [20:52:18] * SphereSilverNL quit (Remote host closed the connection)
1447: [20:56:07] * Pyromanik has joined #silverstripe
1448: [20:56:12] * mobiusnz quit (Quit: Leaving.)
1449: [20:59:24] * kerosene has joined #silverstripe
1450: [21:04:51] * Stomach has joined #silverstripe
1451: [21:06:14] <irogue> it's fun endorsing people for things they dislike
1452: [21:06:22] <irogue> on LinkedIn
1453: [21:06:23] * atmos has joined #silverstripe
1454: [21:06:27] <atmos> morning
1455: [21:06:44] * mario_ has joined #silverstripe
1456: [21:06:49] <atmos> what's the progress on duplicating pages in 3.x?
1457: [21:07:03] <mario_> it's in 3.1
1458: [21:07:22] <mario_> atmos: it works well
1459: [21:07:31] <mario_> hello all
1460: [21:08:41] <mario_> I've got a big 2.4 site, that's very very slow
1461: [21:08:56] * irogue endorses simon_w for Ruby and Git
1462: [21:09:17] <simon_w> Are we even connected on LinkedIn?
1463: [21:09:23] * r3v3rb quit (Quit: r3v3rb)
1464: [21:09:27] <simon_w> mario_, make it faster!
1465: [21:09:45] <mario_> :)
1466: [21:09:53] <irogue> simon_w: yes
1467: [21:09:59] <simon_w> irogue, huh
1468: [21:10:01] <mario_> calls = 1 22138.0260 ms (98.09 %) obj.SiteTreeAsUL
1469: [21:10:19] <simon_w> mario_, yes, building the tree in the CMS is slow
1470: [21:10:49] <mario_> mysql goes up to 90% it takes ages to load an admin page
1471: [21:11:16] <mario_> how can I speed it up, it's getting too slow to use
1472: [21:11:57] <simon_w> Do you have an opcode cache install? Give MySQL more RAM?
1473: [21:11:59] <mario_> do page types matter? we've just added a 10, hope not
1474: [21:12:59] <mario_> ok, let me look into opcode, testing on my mac laptop, whick is default install stuff
1475: [21:14:54] <simon_w> nah, page types don't matter
1476: [21:19:15] <mario_> phew, thought I was in big pile of shit
1477: [21:19:43] <mario_> apc being installed, let you know what happens
1478: [21:23:58] * SightUnseen1 has joined #silverstripe
1479: [21:24:23] * SightUnseen2 has joined #silverstripe
1480: [21:24:23] * SightUnseen1 quit (Read error: Connection reset by peer)
1481: [21:24:28] <simon_w> Ha! I have to approve these endorsements first irogue :p
1482: [21:24:59] <Pyromanik> yeah, but it's still funny and annoying.
1483: [21:25:08] * simon_w totally knows how to use Ruby, or something
1484: [21:25:30] * SightUnseen2 quit (Client Quit)
1485: [21:25:39] <Pyromanik> like going into a site and seeing spaces instead of tabs all at various lengths, with MULTIPLE obscured validation errors.
1486: [21:26:07] <Pyromanik> wondering if I should audit the rest of the site :(
1487: [21:26:23] * SightUnseen has joined #silverstripe
1488: [21:26:25] <simon_w> Do you get paid more?
1489: [21:26:27] * SightUnseen has left #silverstripe
1490: [21:26:33] <Pyromanik> simon_w: well, it's by the hour.
1491: [21:26:42] <Pyromanik> there's still a bit of time on the job
1492: [21:26:50] <Pyromanik> imma do it anyway
1493: [21:26:57] <Pyromanik> doesn't sit well with my perfectionism.
1494: [21:27:01] <mario_> simon_w: opcode, not much faster. going to try sql ram
1495: [21:35:17] * mobiusnz has joined #silverstripe
1496: [21:36:43] * zippy__ has joined #silverstripe
1497: [21:36:47] <zippy__> Morning
1498: [21:38:16] * nmshah has joined #silverstripe
1499: [21:40:05] * NitinShah quit (Ping timeout: 264 seconds)
1500: [21:44:37] <mario_> I've just had a look at the queries, showqueries=1, and they are huge, all my page types and db types
1501: [21:47:42] <simon_w> Yeah, it's not the most efficient code
1502: [21:49:35] <mario_> lots going on for a simple side tree, but it scares
1503: [21:49:36] <mario_> me
1504: [21:51:47] <simon_w> It's not that simple of a tree
1505: [21:53:11] <Pyromanik> mario_: it's every single page in your site. Of course it's going to be huge if you have a bazillion pages.
1506: [21:53:51] <DesignerX> Godd morning
1507: [21:55:16] <mario_> Pyromanik: so I'm screwed?
1508: [21:55:50] <simon_w> mario_, your best option short of upgrading is to speed up the database server
1509: [21:56:14] <DesignerX> mario_: Pyromanik I just read above, would loading all pages in" list mode" would speed up things a bit instead of the current "tree mode" ?
1510: [21:56:23] <simon_w> DesignerX, 2.4.
1511: [21:56:35] <DesignerX> oh .. :(
1512: [21:56:45] <DesignerX> I was never good at history anyways
1513: [21:56:54] <mario_> :)
1514: [21:58:12] <mario_> we in the middle of a crunch, so we add a load of page types...
1515: [21:58:25] <mario_> I guess I have to split the site
1516: [21:58:39] <DesignerX> how many pages you have on the site ?
1517: [21:58:43] <simon_w> Oh yeah, if those extra page types all have their own fields, it will slow things down
1518: [21:59:12] <mario_> loads of fields
1519: [21:59:26] <mario_> will have 20 +
1520: [21:59:27] <Pyromanik> especially if they have heaps, and most especially if they're userforms with about 100+ fields
1521: [21:59:48] <mario_> 20 feilds
1522: [21:59:51] <simon_w> Nah, user forms is fine. It's all in tables that you don't load
1523: [22:00:04] <simon_w> Number of fields doesn't matter as much as the number of joins
1524: [22:00:37] <simon_w> And you can always just throw RAM and CPU at the database
1525: [22:00:44] <mario_> it's pages and pages of joins
1526: [22:01:21] <mario_> I'll have to try that, not sure how to
1527: [22:02:20] * nmshah quit (Quit: Leaving)
1528: [22:02:43] * TickleNetwork has joined #silverstripe
1529: [22:02:49] <simon_w> edit my.cnf, up the values for the myisam tables
1530: [22:03:01] <mario_> ok
1531: [22:03:23] <TickleNetwork> Morning, does anyone know if there is a module for ss v3 to make the site mobile friendly?
1532: [22:08:40] <simon_w> TickleNetwork, that's all to do with your theme
1533: [22:10:47] * Jakx has joined #silverstripe
1534: [22:11:34] <Jakx> yo
1535: [22:12:47] * metanat has joined #silverstripe
1536: [22:14:07] * lerni quit (Remote host closed the connection)
1537: [22:16:43] <Jakx> I'm working in 2.4. I have an enum db field, when I try to set it, it doesn't change and remains null
1538: [22:16:58] <Jakx> Any reason why this may be?
1539: [22:17:12] <simon_w> You're not setting it to a valid value?
1540: [22:17:21] <simon_w> You're not saving?
1541: [22:17:27] <simon_w> You're looking in the wrong place?
1542: [22:19:15] <Jakx> simon_w, I'm searching the enumValues array for the value and then storing the result, so it's a pretty good chance it's a valid value.
1543: [22:19:27] <Jakx> I'm debugging before the object is written to the db
1544: [22:19:48] <Jakx> I could be looking in the wrong place, but I'm pretty confident I've got the right reference :S
1545: [22:20:18] <simon_w> And where are you looking?
1546: [22:20:56] <Jakx> simon_w, I'm var_dumping the DataObject just before it's ->write() method
1547: [22:21:05] <Jakx> is called
1548: [22:21:32] <simon_w> And where are you looking in that?
1549: [22:21:57] <Jakx> simon_w, just from a controller method - which is an action for a form
1550: [22:22:20] <simon_w> Where in the var_dump are you looking?
1551: [22:22:43] <Jakx> simon_w, if I've added a method called something like function setEnumFieldName() {} will this mess with the EnumFieldName value?
1552: [22:22:56] <simon_w> It's possible
1553: [22:23:01] <Jakx> damn ><
1554: [22:24:34] <Jakx> yep that was it. Here I was trying to be a tidy kiwi ><
1555: [22:24:40] <Jakx> simon_w, thanks for the confirm!
1556: [22:24:41] <Pyromanik> highly probable
1557: [22:27:43] <ss23> Is @kinglozzer from here?
1558: [22:30:33] <ss23> Also, on a scale of 1 to newsletter module, how bad is forum module?
1559: [22:31:06] * chillu quit (Quit: chillu)
1560: [22:38:54] <AlphaCactus> Is it possible to add an "any" option to enums which are being used in searchable_fields?
1561: [22:39:33] * swordsmanz quit (Quit: swordsmanz)
1562: [22:39:44] <simon_w> There should be one by default
1563: [22:40:08] * trent001 has joined #silverstripe
1564: [22:40:12] <AlphaCactus> and what if there isn't...
1565: [22:40:23] * swordsmanz has joined #silverstripe
1566: [22:40:59] <simon_w> Then you're doing something different
1567: [22:41:30] <AlphaCactus> 'Status' => "Enum('Current,Alumni', 'Current')",
1568: [22:41:32] <micmania1> Anybody used mustache templates with SS? Either front or backend?
1569: [22:41:40] * spronk has left #silverstripe
1570: [22:41:57] * spronk has joined #silverstripe
1571: [22:43:21] <Jakx> micmania1, yep but I just rebuild em.
1572: [22:45:27] <micmania1> Jakx, how do you manage them? I'm new to them so just fishing for a bit experience/advice.
1573: [22:46:30] * gelignite quit (Quit: http://bit.ly/nkczDT)
1574: [22:47:02] * mario_ quit (Ping timeout: 264 seconds)
1575: [22:50:00] <ss23> :<
1576: [22:50:03] <Jakx> micmania1, sorry I set you astray I thought you were referring to the template designer Mustache. Though, looking into mustache templating framework I don't see much reason to use it over Silverstripes templating framework?
1577: [22:50:21] <ss23> Modules are all "oh yeah man, I'm 3.0!" then you git clone them in a dark alley and they're like "SURPRISE, 3.1. All my bits are *private*"
1578: [22:51:50] <micmania1> Jakx, its for front end i'm planning on using it but I'm toying with the idea of building a manifest so I can control my templates.
1579: [22:57:38] * TickleNetwork quit (Quit: Page closed)
1580: [23:07:47] * metanat1 has joined #silverstripe
1581: [23:08:10] * novaweb has joined #silverstripe
1582: [23:09:29] * metanat quit (Ping timeout: 264 seconds)
1583: [23:10:33] * SightUnseen has joined #silverstripe
1584: [23:10:49] * SightUnseen has left #silverstripe
1585: [23:17:16] <ss23> PHP Fatal error: Class 'SecurityToken' not found in
1586: [23:17:19] <ss23> halp simon_w ^^ what causes this?
1587: [23:17:24] * catcher quit (Ping timeout: 246 seconds)
1588: [23:18:39] <trent001> Hey all doing my first commercial project in SS here. I was wondering what you guys do in regards to database security when validating user input forms. I have a few forms setup on my site following the documentation and have read the security section of the doc's as well. I am using the $form->saveInto($submission) function to save the results to my database and have noticed that I am still able to inject html tags in
1589: [23:18:40] <trent001> to my database. Should I be mannually sanitizing everything or is there some sliverstripe process I maybe missing? Cheers.
1590: [23:19:01] <ss23> trent001: There's nothing wrong with being able to insert HTML tags into a database
1591: [23:19:05] <ss23> trent001: It would be a bug if you couldn't
1592: [23:19:20] <ss23> trent001: Why is it an issue for you to be able to put HTML into a database? Databaess don't even know about HTML, it shouldn't cause issues
1593: [23:23:28] <trent001> hmmm I guess that is a valid point however it would be nice to be able to specify inputs where html tags can not be included with out having to manually exclude them.
1594: [23:23:52] * mobiusnz quit (Quit: Leaving.)
1595: [23:24:33] <ss23> trent001: That seems like an inherintly bad idea, but look at onBeforeWrite I guess, where you can mangle the data yourself
1596: [23:25:57] <ss23> svn sux, and omg simon_w plz help
1597: [23:27:25] <trent001> Cheers. Can you tell me why it is a bad idea to stop random users adding html tags to your database? To me it seems to make for cleaner data for the client when they are processing submissions without have to see any tags in there.
1598: [23:31:48] <micmania1> trent001, data is casted depending on their type.
1599: [23:33:20] <micmania1> So if you have a TextField it will contain plaintext (html will be sanitized)
1600: [23:33:30] <micmania1> if you have HTMLText field, it will allow HTML.
1601: [23:36:01] <micmania1> Read more on Data Types here: http://doc.silverstripe.org/framework/en/topics/data-types
1602: [23:36:47] <trent001> ahhh thank you micmania1 you have helped me see my mistake. Cheers man still getting my head around SS :)
1603: [23:37:39] <micmania1> np :)
1604: [23:40:51] * micmania1 quit (Quit: Leaving)
1605: [23:46:54] <ss23> trent001: Lets say you decide "No HTML in usernames", but my username is "<ss23>", it will break
1606: [23:47:14] <ss23> trent001: There is no reason at all to not allow me to set my username as <ss23>, so you'll just cause unnessecary issues, kind of thing
1607: [23:48:16] <Jakx> In what situation would an OptionSetField's submitted value be 'false'?
1608: [23:48:40] <Jakx> When I submit this form, the OptionSetField doesn't submit it's value and instead is just 'false'
1609: [23:51:17] <ss23> simon_w: Are you at home today?
1610: [23:51:29] <simon_w> Nope
1611: [23:51:57] <ss23> :D
1612: [23:52:00] <ss23> simon_w: Did you bring a packed lunch today?
1613: [23:52:52] <simon_w> Yes
1614: [23:53:22] * ss23 dies
1615: [23:53:24] <ss23> Curses :<
1616: [23:54:31] <spronk> oh my god
1617: [23:54:36] <spronk> you'll have to get burgerfuel
1618: [23:54:39] <spronk> WHAT A SHAME
1619: [23:54:49] <ss23> XD
1620: [23:54:55] <ss23> I got mcdonalds yesterday
1621: [23:55:03] * nickmolhoek has joined #silverstripe
1622: [23:55:07] * nickmolhoek quit (Remote host closed the connection)
1623: [23:55:08] <ss23> spronk: Wanna come for lu--oh wait you're in a crap part of NZ
1624: [23:55:08] <ss23> :3
1625: [23:55:23] * nickmolhoek has joined #silverstripe
1626: [23:55:37] <spronk> fuck you.
1627: [23:55:37] <spronk> >(I
1628: [23:56:39] * joelpittet quit (Ping timeout: 256 seconds)
1629: [23:58:35] <ss23> fuuuuck
1630: [23:59:09] * Colin[pi] has joined #silverstripe
1631: [23:59:15] <ss23> went to chown all hidden files/folders. Who knew .* actually includes ../
1632: [23:59:59] <spronk> yeah

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