#silverstripe IRC Log

IRC log for 17 July 2013

All timestamps are in UTC.

1: [00:02:53] <ss23> lol
2: [00:02:54] <ss23> Relax, Peavers
3: [00:02:56] <ss23> Pyromanik*
4: [00:02:58] <irogue> ss23: did you pose like this? http://thecomicscomic.typepad.com/.a/6a00e54ed02a6788330115720311d1970b-320wi
5: [00:03:07] <ss23> Pyromanik: You know what'll make you feel better? Getting BurgerFuel when you visit Wellington
6: [00:03:10] <ss23> :D
7: [00:03:15] <ss23> yes
8: [00:03:17] <Peavers> wut?
9: [00:03:22] <ss23> I got down on my knees.
10: [00:03:26] <ss23> And did everything the nice man asked me to
11: [00:03:29] <Peavers> irc pings sayin someone is talking about me. I don't really approve.
12: [00:03:39] <ss23> Peavers: Sorry, I accidently your name :<
13: [00:03:51] <Peavers> I'm not impressed.
14: [00:04:14] <ss23> ;_;
15: [00:04:16] <ss23> I didn't mean to!
16: [00:04:17] <Peavers> Did however spend the morning sorting out my bookmark bar. Rocked my world.
17: [00:04:21] <ss23> Please forgive me :<
18: [00:04:22] <ss23> lol Peavers
19: [00:04:26] <ss23> Governemnt dollars at work!
20: [00:04:35] <ss23> At least I spent it uploading a file to google drive
21: [00:04:37] <Peavers> well, they won't give me access to gitlab... so...
22: [00:05:08] <Pyromanik> ss23: it might.
23: [00:05:16] <Pyromanik> I found out I don't get in until 4pm
24: [00:16:53] <Pyromanik> halp halp permission denied!
25: [00:18:14] <Pyromanik> D:
26: [00:18:46] <Pyromanik> how does it work?
27: [00:20:12] <Pyromanik> ffff
28: [00:22:05] <Pyromanik> assets is 755 owned by the correct user (same as php executes as because fcgi)
29: [00:22:18] <Pyromanik> but permission denied when trying to create in it
30: [00:22:23] <Pyromanik> what even happen?
31: [00:22:25] <Pyromanik> ss23: halp
32: [00:24:20] <ss23> um um um!
33: [00:25:08] <ss23> Pyromanik: Are you sure the permission denied is a file system one, and if you are, can you verify the user it runs as? If it's in PHP code and you get a PHP error/warning, you can do a "echo exec('whoami');" to check I guess
34: [00:25:17] <ss23> Pyromanik: OR CHMOD -R 777 /
35: [00:25:20] <ss23> O/ o/ o/ o/ /
36: [00:26:25] * UncleCheese quit (Quit: UncleCheese)
37: [00:28:50] * AlphaCactus quit (Remote host closed the connection)
38: [00:40:07] * ss23 logs into gitlab
39: [00:40:10] <ss23> Man it's great having access
40: [00:40:12] * ss23 looks at Pyromanik :)
41: [00:40:14] <ss23> Peavers*
42: [00:40:30] <Peavers> I can login just finel
43: [00:40:36] <Peavers> just can't clone
44: [00:40:38] <ss23> lol
45: [00:40:42] <ss23> Peavers: Can't you clone over http?
46: [00:40:46] <Peavers> Nope
47: [00:40:47] <ss23> Peavers: Can you SSH out and tunnel it?
48: [00:40:52] <simon_w> ss23, release pizza! Get your own lunch :p
49: [00:40:53] <Peavers> nope
50: [00:41:05] <ss23> simon_w: Awww, kk :<
51: [00:41:14] <Peavers> Our network is super duper locked down, just had a massive security overhaul
52: [00:41:16] <Peavers> can't do anything
53: [00:41:45] <Peavers> I couldn't tunnel it anyway as its whitelisted to our ip
54: [00:41:53] <ss23> ah true
55: [00:42:21] <Peavers> just got to wait for our server guys to get over the idea they need to give one guy complete unrestricted access to one website on port 443.
56: [00:42:44] <Peavers> all they need to do is whitelist the cwp gitlab on port 443 for my AD account..
57: [00:43:00] <Peavers> would be a 15 second job once they get the permission from a million people to do it
58: [00:43:35] <simon_w> Just haxor it yourself! :p
59: [00:43:35] <ss23> lol
60: [00:43:47] <ss23> It seems seriously messed up to me that you would ever block 443
61: [00:43:51] <ss23> It's like... basic internet access
62: [00:43:55] <Peavers> I signed a contract saying I won't haxor it lol
63: [00:44:09] <simon_w> Ah, one of those contracts
64: [00:44:20] * Kapdap quit (Quit: leaving)
65: [00:44:59] <Peavers> 443 will be open for internet explorer to server html content and thats it I would say
66: [00:46:36] * Kapdap has joined #silverstripe
67: [00:56:38] * jimcrib has joined #silverstripe
68: [01:04:20] <ss23> I have in my template <%-- stuff --%>
69: [01:04:26] <ss23> And it's putting in literal <%--'s
70: [01:04:31] <ss23> I thought that was comments? What do.
71: [01:05:20] <simon_w> Take out the newlines
72: [01:07:19] * gumble quit (Ping timeout: 246 seconds)
73: [01:07:28] <ss23> simon_w: Uh... I can't take out newlines. Any alternative?
74: [01:07:50] <simon_w> Wrap each individual line
75: [01:07:57] <ss23> blurgh
76: [01:08:00] <ss23> I'll use HTML comments
77: [01:08:01] * Bollig|DesignCty has joined #silverstripe
78: [01:10:38] <Pyromanik> 12:44 < Peavers> 443 will be open for internet explorer
79: [01:10:51] <Pyromanik> fucking security dickheads always restricting to IE, the worst option.
80: [01:11:05] <Peavers> IE8 is where govt is at.
81: [01:11:09] <ss23> Dude
82: [01:11:11] <ss23> IE67
83: [01:11:12] <ss23> 6
84: [01:11:17] <ss23> Everyone uses it, so we know it's secure
85: [01:11:25] <Peavers> When our W7 rollout happens next year we are using Chrome as the standard which is a pretty massive leap
86: [01:11:31] <Pyromanik> yeah, it's can't modify your kernel through activex or anything
87: [01:11:44] <Pyromanik> Peavers: but chrome is shit too :<
88: [01:11:58] <Pyromanik> also, it installs at userlevel
89: [01:12:08] <ss23> Pyromanik: That's good for users!
90: [01:12:09] <Pyromanik> not system level, so you should be able to use it anyway, no?
91: [01:12:11] <ss23> Shit for admins, but lol
92: [01:12:19] <ss23> Pyromanik: White list your .exe's
93: [01:12:21] <ss23> :D
94: [01:12:38] * DigNZ quit (Quit: DigNZ)
95: [01:12:42] <Pyromanik> ss23: yeh, you'd think they'd go for something more like Firefox, but then Mozilla went and was all "LOL NO SUPPORT"
96: [01:12:48] <ss23> yeah
97: [01:12:52] <Pyromanik> and alienated themselves
98: [01:12:53] <ss23> Not like much companies have a cohice
99: [01:12:57] <Peavers> Because I'm part of IT, I have higher rights on my pc and because I'm part of the W7 pilot I get away alright.
100: [01:12:58] <ss23> Firefox *used* to be a good option
101: [01:13:04] <Peavers> Can install and use anything.
102: [01:13:04] <Pyromanik> which pretty much leaves Opera, and it's going to be Chrome soon anyway :(
103: [01:13:13] <ss23> Peavers: Higher rights, yet no 443 access
104: [01:13:15] <simon_w> Soon? it is.
105: [01:13:15] <ss23> Government life
106: [01:13:15] <ss23> :<
107: [01:13:19] * ss23 blinks
108: [01:13:20] <ss23> :D
109: [01:13:22] <Peavers> yea thats network rights lol
110: [01:13:27] <Peavers> nobody gets network rights.
111: [01:13:35] <Pyromanik> 13:13 * ss23 blinks
112: [01:13:37] <Pyromanik> is that a pun?
113: [01:14:48] <Pyromanik> http://prng.net/blink-faq.html
114: [01:14:49] <Pyromanik> lol
115: [01:14:50] <ss23> lol
116: [01:14:51] <ss23> yes, Pyromanik
117: [01:14:51] <ss23> :D
118: [01:15:00] * howardgrigg has joined #silverstripe
119: [01:17:12] <Pyromanik> ss23: omg lol read that link
120: [01:19:47] <Pyromanik> hahaha "We've had enormous success co-opting the language of open source in the past to imply our products are better, and we aim to continue with that strategy."
121: [01:20:51] * gumble has joined #silverstripe
122: [01:22:05] * SphereSilverNL quit (Remote host closed the connection)
123: [01:22:10] <ss23> lol
124: [01:22:45] <ss23> https://gist.github.com/ss23/6016876 Any reason this template breaks? Compiles to basically having "$foo = <<<ASDF <%if ASDF; }"
125: [01:23:30] <simon_w> needs a spac
126: [01:23:47] <ss23> UMMM, WHERE?
127: [01:23:49] <ss23> whoops
128: [01:23:53] <simon_w> <%if
129: [01:24:12] <ss23> uh sorry, there is a space
130: [01:24:15] <ss23> the gist is the real template
131: [01:24:19] <ss23> compiles to <% if
132: [01:24:53] <simon_w> 2.4 code?
133: [01:24:54] <Pyromanik> ss23: probably because of some f'up you made outside of that snippit
134: [01:25:02] <simon_w> <% if CountdownCount %>
135: [01:25:08] <ss23> could be 2.4
136: [01:25:09] <ss23> :O
137: [01:25:22] <Pyromanik> mmm, in which case, no $
138: [01:25:45] <ss23> yaay
139: [01:25:45] <ss23> :D
140: [01:25:50] <ss23> Pyromanik and simon_w get 50 points ^.^
141: [01:25:53] <ss23> Wait no
142: [01:26:00] <ss23> Pyromanik only gets 25, for implying I made a mistake elsewhere!
143: [01:26:01] <ss23> ha
144: [01:26:02] <ss23> :P
145: [01:29:48] <Pyromanik> ss23: http://www.sspaste.com/paste/show/51e5f300a686a
146: [01:30:10] <Pyromanik> is 2.4
147: [01:30:14] <Pyromanik> and ugly but deal with it.
148: [01:30:24] <Pyromanik> it was a sprint.
149: [01:33:30] <ss23> o.o
150: [01:33:36] <ss23> plz no
151: [01:34:28] <Pyromanik> haah
152: [01:37:26] <simon_w> ss23, gonna set at the front and heckle you!
153: [01:37:30] <ss23> ;_;
154: [01:37:31] <ss23> NO
155: [01:37:32] <ss23> PLZ
156: [01:37:44] <simon_w> Sit at the back and heckle you?
157: [01:37:46] * UncleCheese has joined #silverstripe
158: [01:37:54] <ss23> simon_w: https://twitter.com/riskybusiness/status/357311259265343488
159: [01:38:07] <ss23> simon_w: SHOULD I SUGGEST TALKING ABOUT MY TALK? :D
160: [01:38:23] <simon_w> If you want?
161: [01:38:38] <ss23> :D
162: [01:39:15] <Pyromanik> ss23: why are my permissions bung!?
163: [01:39:18] <simon_w> UncleCheese, you should sit at the front and heckle ss23 with me!
164: [01:39:27] <UncleCheese> alright, i'm in
165: [01:39:31] <ss23> Pyromanik: Did you try what I said? :O
166: [01:39:33] <Pyromanik> haha, you could high five each other
167: [01:39:36] <ss23> Pyromanik: idk if it'll work, but that's how I debug
168: [01:39:37] <simon_w> Ooh, we could get Peavers to join in and get some support
169: [01:39:38] <ss23> lol
170: [01:39:39] <Pyromanik> after each successful heckle
171: [01:39:40] <ss23> NOO
172: [01:39:41] <ss23> ANYONE BUT Pyromanik
173: [01:39:45] <ss23> Peavers:*
174: [01:39:45] <ss23> ;__;
175: [01:39:47] <UncleCheese> i'll bring some rotten feijoas for chucking
176: [01:39:53] <ss23> lol
177: [01:40:07] <ss23> There's a majician outside on Courtenay place, I keep hearing lots of cheers etc
178: [01:40:07] <Pyromanik> do you not like feijoas UncleCheese ?
179: [01:40:13] <ss23> Pyromanik: Not rotten ones
180: [01:40:19] <UncleCheese> i just like saying it
181: [01:40:23] <UncleCheese> because i have no idea what the hell they are
182: [01:40:29] <ss23> lol
183: [01:40:30] <ss23> really?
184: [01:40:33] <UncleCheese> nope
185: [01:40:33] <ss23> They're a fruit, UncleCheese
186: [01:40:35] <ss23> Not just NZ either
187: [01:40:41] <UncleCheese> keep looking for them at the market
188: [01:40:48] <simon_w> LOOK HARDER
189: [01:40:54] <ss23> https://en.wikipedia.org/wiki/Acca_sellowiana
190: [01:41:07] <ss23> I'm not a big fan, personally
191: [01:41:21] <ss23> Thouhgh honestly, I'm not a fan of any fruit
192: [01:41:37] <UncleCheese> looks yummy
193: [01:41:43] <simon_w> Mmm, kiwifruit
194: [01:41:47] <UncleCheese> i just had another weird fruit
195: [01:41:51] <UncleCheese> some kind of tree tomato
196: [01:41:54] <UncleCheese> that you guys put sugar on?
197: [01:42:08] <simon_w> A toffee apple?
198: [01:42:36] <UncleCheese> maybe.. it was the size and shape of a kiwifruit, but purpleish
199: [01:42:47] <UncleCheese> big black seeds in the middle
200: [01:42:47] <ss23> o.o
201: [01:42:51] <ss23> Plum.../
202: [01:42:55] <UncleCheese> uhh
203: [01:42:56] <UncleCheese> no
204: [01:42:58] <ss23> oh uhhhh
205: [01:43:02] <ss23> I can think of it...
206: [01:43:05] <ss23> I can't think of its name
207: [01:43:13] <Pyromanik> oic, www-data
208: [01:43:14] <Pyromanik> wtf
209: [01:43:21] <Pyromanik> f u fcgi
210: [01:43:26] <ss23> lol
211: [01:43:27] <ss23> Pyromanik: :D
212: [01:43:30] <ss23> 100 points for ss23!
213: [01:43:54] <Pyromanik> UncleCheese: about every time an American comes to NZ, they fall in love with Feijoas
214: [01:43:59] <ss23> lol
215: [01:44:02] <Pyromanik> unfortunately for you, the season just ended I think
216: [01:44:17] <Pyromanik> ss23: yeh, I always get shit about it because I don't like them.
217: [01:44:38] <Pyromanik> and then foreigner (not always american) starts going on about how lucky I am to live in a country that has feijoas, etc.
218: [01:44:40] * simon_w is still trying to think of a purple fruit with a pip that isn't a plum
219: [01:44:44] <Pyromanik> and I'm all "BUT THEY TASTE CRAP
220: [01:45:19] <irogue> [13:40] <+ss23> Not just NZ either
221: [01:45:29] <UncleCheese> you guys love your kiwifruit, though
222: [01:45:33] <irogue> yeah, but we're pretty much the main people who eat them regularly and put them in everything
223: [01:45:40] <irogue> noone else wouldve decided "hey, lets put this in vodka"
224: [01:45:41] <UncleCheese> i've never seen a bag of kiwifruit before
225: [01:45:54] <ss23> hahah irogue
226: [01:45:55] <ss23> I guess
227: [01:46:16] <simon_w> mmm, kiwifruit chocolate
228: [01:46:18] <ss23> simon_w: I remember it cause you put sugar on it
229: [01:46:20] <UncleCheese> simon_w: this is what I ate. http://www.google.co.nz/imgres?imgurl=http://www.tradewindsfruit.com/content/images/tree_tomato.jpg&imgrefurl=http://www.tradewindsfruit.com/content/lycopersicon-cheesmanii.htm&h=325&w=350&sz=35&tbnid=e8RA__Ue224USM:&tbnh=82&tbnw=88&zoom=1&usg=__AomqfQ7apEZtn8aUu1S7PUIDWR0=&docid=cdR23VrYX4gDWM&sa=X&ei=YPflUbfyE8fjkAX0oIGgAw&ved=0CIIBEP4dMA0
230: [01:46:22] <ss23> but I can't think of it, dammit
231: [01:46:32] <Pyromanik> ss23: you broke it ;_;
232: [01:46:41] <Pyromanik> now I get 500s everywhere
233: [01:46:44] <ss23> tamarillo!
234: [01:46:45] <ss23> :D
235: [01:46:51] <UncleCheese> oh?
236: [01:47:06] <ss23> Other names include tree tomato, tomate de árbol, and Dutch eggplant, in Indonesia.
237: [01:47:11] <ss23> https://en.wikipedia.org/wiki/File:Tamarillos.jpg UncleCheese
238: [01:47:26] <Pyromanik> UncleCheese: just remember, never tell someone "I just ate a Kiwi". It's "Kiwifruit" here ;)
239: [01:47:31] <ss23> ^^^^^
240: [01:47:36] <UncleCheese> i know! I keep having to correct myself!
241: [01:47:37] <ss23> tfw "I love eating kiwis"
242: [01:47:38] <ss23> idek
243: [01:47:40] <Pyromanik> :P
244: [01:47:54] <irogue> [13:46] <@simon_w> mmm, kiwifruit chocolate
245: [01:47:56] <irogue> oh god yes
246: [01:48:00] <ss23> I need to get lunch :<
247: [01:48:10] <simon_w> irogue, how's the L&P chocolate?
248: [01:48:16] <UncleCheese> i went to that pizza place outside your office today, ss23
249: [01:48:23] <irogue> simon_w: i haven't tried it yet!
250: [01:48:25] <UncleCheese> 5 bucks for two slices.. crazy
251: [01:48:27] <ss23> UncleCheese: :O
252: [01:48:43] <ss23> UncleCheese: And you didn't visit me?!
253: [01:48:55] <simon_w> UncleCheese, eh, the one under my office delivers!
254: [01:49:01] <UncleCheese> ohh
255: [01:49:06] <simon_w> (to us)
256: [01:49:12] <UncleCheese> still figuring out the food scene
257: [01:49:20] <irogue> i should really go to http://sals.co.nz again now that i'm not dieting
258: [01:49:31] <ss23> irogue: YOU STOPPED DIET?!
259: [01:49:37] <ss23> inb4 you bloat.
260: [01:49:41] <ss23> 500kg
261: [01:49:42] <ss23> boom
262: [01:49:44] <irogue> ss23: yeah, doctor suggested i take a break
263: [01:49:52] <ss23> psh
264: [01:49:57] <irogue> my blood tests weren't too good
265: [01:49:58] <irogue> :P
266: [01:50:12] <Pyromanik> oic 'cache_dir is not writable'
267: [01:50:13] <ss23> irogue: Yeah, the blood test results are really skewed on keto
268: [01:50:18] <ss23> lol Pyromanik...
269: [01:50:21] <simon_w> Okay, ORM and Routing systems planned. What's next on the list...
270: [01:50:22] <ss23> It took that long to get taht error!
271: [01:50:38] <ss23> simon_w: STOP RIGHT NOW
272: [01:50:42] <ss23> simon_w: DID YOU TRY HIPHOP?!
273: [01:50:46] <irogue> he was like "you seem to be losing a lot of weight, which is good considering your family history of diabetes... so i'm not gonna say you shouldn't do this diet"
274: [01:50:49] <simon_w> Thank you very much
275: [01:50:57] <ss23> I need somebody with a human touch~
276: [01:50:58] <ss23> HEY YOU
277: [01:50:59] <irogue> "just let your levels all settle down a bit before starting back up again"
278: [01:51:05] <ss23> Always on the run, gotta slow it down baby, gotta have some fun~
279: [01:51:09] <ss23> anyway
280: [01:51:13] <ss23> don't distract me with spice girls lyrics!
281: [01:51:26] <ss23> You could be doing like a 6 month rebuild when all you could do is run it in hiphop and it could be fast enough for the next 5 years
282: [01:51:29] <irogue> basically my iron levels were starting to get dangerously high, which is funny since i used to have problems with anaemia
283: [01:51:29] <ss23> IS THAT A PRICE YOU WANT TO PAY?!
284: [01:51:49] <simon_w> Yes. We've been past the limits of SS for at least 18 months now.
285: [01:52:04] <ss23> simon_w: On hiphop?
286: [01:52:22] <simon_w> Not speed wise
287: [01:52:30] <simon_w> Code wise, so many hacks in sapphire
288: [01:52:34] <ss23> oic
289: [01:52:36] <irogue> simon_w: wait, you're rebuilding in non-SS?
290: [01:52:37] <ss23> More pull requests.
291: [01:52:43] <ss23> fire engine!
292: [01:52:50] <simon_w> irogue, yeah
293: [01:53:33] <ss23> irogue: He could just fix SS
294: [01:53:53] <ss23> He went on this big rant about how he hates opensource and wants to use cocoa for new pocketrent
295: [01:53:54] <irogue> simon_w: in RoR, right? cos web scale
296: [01:54:05] <Peavers> Does anyone have a recommendation for what to use to draw a pie chart dynamically on a ss template? either some fancy css3 or jquery?
297: [01:54:27] <ss23> Peavers: Personally I would just use google maps API
298: [01:54:46] <Peavers> really?
299: [01:54:48] <Pyromanik> simon_w: the other day when I asked which mods I should turn off?
300: [01:54:54] <Pyromanik> turns out suexec is kinda important.
301: [01:55:11] <simon_w> irogue, screw that :p We're actually planning our system this time. So HipHop, Redis, Postgres, Nginix
302: [01:55:16] <Pyromanik> 13:50 <+ss23> simon_w: STOP RIGHT NOW
303: [01:55:25] <Pyromanik> ss23: THANK YOU VERY MUCH
304: [01:55:34] <Pyromanik> simon_w: HE NEEDS SOMEBODY WITH A HUMAN TOUCH
305: [01:55:38] <ss23> lol
306: [01:55:42] <ss23> Pyromanik: You saw I said that, right?
307: [01:55:44] <simon_w> Pyromanik, [13:50:48] <simon_w> Thank you very much
308: [01:55:48] <ss23> 13:50:57 <+ss23> I need somebody with a human touch~
309: [01:55:49] <ss23> 13:50:58 <+ss23> HEY YOU
310: [01:56:03] <ss23> Got to find spice girls and play it in the office
311: [01:56:07] <ss23> can you see who's playing music with airplay?
312: [01:56:08] <ss23> :D
313: [01:56:13] <simon_w> I've got 'em
314: [01:56:20] <simon_w> Well, their hits CD anyway
315: [01:56:22] <ss23> lol
316: [01:56:27] <ss23> The one that matters
317: [01:56:47] <Pyromanik> ss23: simon_w NOT IN CAPS ;_;
318: [01:56:52] <Pyromanik> I was busy fixing my permissions
319: [01:56:53] <simon_w> Pyromanik, meh :p
320: [01:56:57] <ss23> lol
321: [01:57:07] <ss23> To think taht me and simon_w would quote spice girls and not at least finish the chorus...
322: [01:57:16] <simon_w> ss23, Stop: http://swng.it/2IMRhu.m4a
323: [01:57:26] <ss23> >m4a
324: [01:57:28] <ss23> NO!
325: [01:57:33] <ss23> It'll be too atchy and get stuck in my head
326: [01:57:57] <Pyromanik> yeh, not happening.
327: [01:58:32] <Pyromanik> this on the other hand: http://www.youtube.com/watch?v=zNgcYGgtf8M
328: [01:59:08] <Pyromanik> simon_w: wwhy does bad request when you load an uploadfield without first loading the page that preceeds it?
329: [01:59:11] <Pyromanik> or something?
330: [01:59:13] <simon_w> Nah, http://www.youtube.com/watch?v=oeh_iqXldyw
331: [01:59:24] <simon_w> Pyromanik, wha?
332: [01:59:29] <Pyromanik> simon_w: but the first line of my video is amazing.
333: [01:59:35] <Pyromanik> simon_w: well... ok use case.
334: [01:59:52] <Pyromanik> so I have admin/assets/add/?ID=1 open
335: [02:00:05] <Pyromanik> (upload to 'Uploads' folder)
336: [02:00:12] <Pyromanik> and I get permissions denied.
337: [02:00:16] <Pyromanik> so I fix permissions denied
338: [02:00:24] <Pyromanik> and now I get 400 Bad Request
339: [02:00:28] <ss23> nginx?
340: [02:00:48] <ss23> bad request is normally more to do with webserver configuration than Silverstripe
341: [02:00:50] <Pyromanik> to fix this, I must first load Uploads folder, then click upload again. Suddenly 200 OK everything upload fine.
342: [02:01:01] <Pyromanik> ss23: no, it's to do with $this->httpError(400)
343: [02:01:09] <ss23> oic
344: [02:01:21] <simon_w> Pyromanik, because it needs to know where you're uploading to, which is stored in a session value, which gets changed any time you load another thing
345: [02:01:24] <simon_w> Or it timed out
346: [02:01:28] <simon_w> More likely the latter
347: [02:01:34] <Pyromanik> ah, I see.
348: [02:01:40] <Pyromanik> ok, that makes sense I guess.
349: [02:02:01] <Pyromanik> so no invistible parentID fields like in 2.4 huh
350: [02:02:43] <Pyromanik> couldn't one get around that by having the ID then the action?
351: [02:03:06] <Pyromanik> hey wait, it's in the URL
352: [02:03:11] <Pyromanik> though I suppose that can't really be relied on
353: [02:03:15] <ss23> Pyromanik: Make a bug request
354: [02:03:15] <ss23> :D
355: [02:03:20] <Pyromanik> if your'e using an upload field elsewhere
356: [02:03:28] <Pyromanik> ss23: sif, just fix it.
357: [02:03:34] <Pyromanik> one day, when I find motivation.
358: [02:03:35] <ss23> lol
359: [02:03:40] <Pyromanik> (never)
360: [02:03:41] <ss23> That's right, NO FEATURE REQUESTS
361: [02:03:42] <ss23> :P
362: [02:04:04] <Pyromanik> anyway, thanks for helping ss23
363: [02:04:56] <ss23> No problems, glad I could help
364: [02:10:04] <Peavers> does anyone else get wierdly giddy when complicated code they write works first time right off the bat?
365: [02:10:10] <Peavers> blows my mind how smart I am every single time.
366: [02:10:18] <ss23> lol
367: [02:10:36] <ss23> I once had 3 different regexes work perfect the first time
368: [02:10:40] <ss23> #comeatme
369: [02:10:53] <Peavers> that would rock my wedesnday if that happend
370: [02:11:12] <Peavers> wednesday* geeze lots of typos today
371: [02:11:20] * UncleCheese quit (Quit: UncleCheese)
372: [02:12:34] <Peavers> if I've got custome js for a modual, where is the best place to put it?
373: [02:12:55] <Peavers> mod/template/javascript?
374: [02:13:51] <ss23> I just do module/javascript
375: [02:14:18] <Peavers> then can just src="blah.js" in the mods template file?
376: [02:14:29] <ss23> Can someone help me? I'm in #0,0 and can't figure out what they mean. Someone can join and help me out?
377: [02:14:57] <ss23> Peavers: Hmm, can't recall. You should probably be doing it in a template as the requirements:: thing, which finds it there
378: [02:16:12] <Peavers> oh on the page controller
379: [02:16:12] <Peavers> duh
380: [02:17:57] <Peavers> does init need to be in the allowed_actions?
381: [02:18:04] <simon_w> No
382: [02:18:12] <Pyromanik> Peavers: I once coded an entire website without looking at it. Does that count?
383: [02:18:13] <simon_w> It should never be in there
384: [02:21:51] <Peavers> Requirements::javascript() what dir do I feed it? Is it relative to the controller its on? or is it based from the root dir?
385: [02:25:38] <Peavers> seems its root based
386: [02:26:31] <pippy> Peavers: yes it's based on the root
387: [02:26:40] <pippy> i tend to it in the constructor
388: [02:26:57] <pippy> though, you can put it anywhere in the controller, and probally else where too
389: [02:30:59] <Peavers> can I be cheeky and just do Requirements::javascript("/*")?
390: [02:31:18] <Peavers> or ("/*.js")
391: [02:35:41] * UncleCheese has joined #silverstripe
392: [02:38:22] <ss23> lol @ kids playing in the elevator
393: [02:39:00] <ss23> I see them fucking around, they get in not noticing I'm walking up, get in, I press 5, I'm like "are you guys going to silverstripe" and they're like "uh... no, I mean, uh, 4", get to 4 doors open, it's all under construction. "Uh... um, must be 3... you go to 5 and we'll sort it out"
394: [02:53:05] * UncleCheese_ has joined #silverstripe
395: [02:53:40] <irogue> just looked at my 'Outstanding auth' on my debit visa
396: [02:53:44] <irogue> 5 x "VALVE SOFTWARE SEATTLE US"
397: [02:54:19] <ss23> lol
398: [02:54:21] <ss23> SUMMER SALES!
399: [02:54:44] <Peavers> ss23 <% loop results %> $a, $b <% end_loop %> how do I get the values of a and b into a javascript array?
400: [02:56:02] <ss23> Peavers: Probably a lot better just to json_encode results, but uh... <script type="text/javascript">var arr = [];<% loop %>arr = arr + [$a, $b];<% end_loop%></script>
401: [02:56:05] <ss23> But uh
402: [02:56:08] <ss23> I'm *really* bad at JS
403: [02:56:11] <ss23> That should give you an idea though
404: [02:56:34] <Peavers> I already had that idea, wanted a better one lol
405: [02:57:21] <ss23> lol
406: [02:57:25] <ss23> json+encode etc it properly :D
407: [02:57:31] <Peavers> so you reckon encode the results then use that in the js?
408: [02:58:48] <ss23> Yeah, so like (you can do a transform thing if you know how to, I don't), <script type="text/javascript>var array_of_stuff = $results.JSON
409: [02:58:56] <ss23> There might be a JSON encoder buitl into SS
410: [02:59:01] <ss23> simon_w: Do you know? $foo.encode_as_json?
411: [02:59:05] <Peavers> might? shouldn't you know?
412: [02:59:22] <ss23> lol
413: [02:59:30] <ss23> Peavers: I would know, but I don't see a support ticket
414: [02:59:31] <ss23> :D
415: [03:01:09] <Peavers> in php can I return json_encode($result)
416: [03:01:25] <simon_w> Convert::raw2json() ?
417: [03:01:46] <Peavers> simon_w, examples?
418: [03:01:56] <simon_w> Convert::raw2json($value)
419: [03:02:12] <Peavers> lol
420: [03:02:13] <Peavers> kk
421: [03:03:02] <Peavers> so if $value is an arraylist, I can then return Convert::raw...?
422: [03:03:10] <Peavers> to access it in a template?
423: [03:03:19] <ss23> Accessible from template was more what I was asking, simon_w :P
424: [03:03:53] <simon_w> Oh, nothing in SS implements JsonSerializable
425: [03:03:58] <simon_w> (Cause 5.4)
426: [03:04:07] <simon_w> But no, nothing in template
427: [03:04:08] <ss23> Is that bad? :<
428: [03:04:20] <simon_w> It means you can't json_encode an object
429: [03:04:28] <Peavers> but I can an arraylist?
430: [03:04:36] <Peavers> suppose that is an object..
431: [03:04:37] <simon_w> That's an object
432: [03:04:44] <Peavers> yup
433: [03:04:48] <Peavers> so back to my question
434: [03:04:56] <simon_w> Are you using 5.4?
435: [03:05:01] <Peavers> yeah
436: [03:05:21] <Peavers> 5.4.4-14 even.
437: [03:05:23] <simon_w> http://nz1.php.net/manual/en/class.jsonserializable.php
438: [03:05:35] <simon_w> Stick that interface on your objects, then you can json_encode() your objects
439: [03:07:35] * DigNZ has joined #silverstripe
440: [03:10:26] * cloph has joined #silverstripe
441: [03:12:03] * cloph_away quit (Ping timeout: 256 seconds)
442: [03:12:31] * cloph quit (Remote host closed the connection)
443: [03:12:39] * cloph_away has joined #silverstripe
444: [03:15:04] * maknz quit (Ping timeout: 276 seconds)
445: [03:22:08] * terryapodaca has joined #silverstripe
446: [03:22:47] <terryapodaca> does SS3.0 not support the rows/columns for HTMLEditorField like 2.4 did?
447: [03:30:54] <simon_w> setRows/setColumns
448: [03:32:45] <ss23> Hmm, ldap
449: [03:34:10] <simon_w> Haha!
450: [03:34:17] <terryapodaca> simon_w: isn't that just the textarea field?
451: [03:34:22] <zippy__> terryapodaca: (new HtmlEditorField(blah blah))->setRows(9001) for php 5.4 :)
452: [03:34:30] <simon_w> terryapodaca, guess what HtmlEditorField extends?
453: [03:34:37] <ss23> TIL dc exists on OSX :<
454: [03:34:57] <zippy__> 5.3 needs HtmlEditorField::create(blah blah)->setRows(9001)
455: [03:35:16] <zippy__> simon_w: déjà vu? :)
456: [03:36:08] <zippy__> Is it possible to check in the template for falseness? like you can do <% if foo %> - but what if I want to do <% if not foo %> ..
457: [03:36:21] <simon_w> Yes, exactly like that
458: [03:37:37] <terryapodaca> doesn't work
459: [03:37:58] <terryapodaca> $fields->addFieldToTab('Root.Main', $htmlField = new HTMLEditorField('FooterPartners','Footer Partners Section')->setColumns(50));
460: [03:37:59] <terryapodaca> $htmlField->addExtraClass('stacked');
461: [03:38:22] <terryapodaca> am i doing something wrong?
462: [03:38:40] <simon_w> terryapodaca, if you're on 5.4, then the constructor needs to be in parenthesis
463: [03:38:55] <simon_w> So, (new HTMLEditorField('FooterPartners','Footer Partners Section'))->setColumns
464: [03:39:05] <zippy__> $fields->addFieldToTab('Root.Main', $htmlField = (new HtmlEditorField('FooterPartners','Footer Partners Section'))->setRows(50)->addExtraClass('stacked');
465: [03:39:12] <zippy__> with another ) on the end :)
466: [03:39:25] <zippy__> $fields->addFieldToTab('Root.Main', (new HtmlEditorField('FooterPartners','Footer Partners Section'))->setRows(50)->addExtraClass('stacked'));
467: [03:40:37] * jimcrib has left #silverstripe
468: [03:42:05] <terryapodaca> seems to work, but not...Rows work, but Columns doesn't
469: [03:42:28] <simon_w> Probably CSS setting a width
470: [03:44:18] <terryapodaca> looks like inline styles
471: [03:49:36] <UncleCheese> can any of you Wellingtonians help me with buying a bus pass?
472: [03:50:32] * EasyCo quit (Quit: EasyCo)
473: [03:50:41] <irogue> snapper!
474: [03:51:31] <irogue> https://www.snapper.co.nz/snapper-store/
475: [03:51:55] <UncleCheese> nice
476: [03:52:02] <UncleCheese> that's what i was looking at
477: [03:52:10] <UncleCheese> i'm confused about the "zones"
478: [03:52:30] <irogue> the further you travel, the more you pay :)
479: [03:52:34] * jimcrib has joined #silverstripe
480: [03:52:54] <UncleCheese> but how do i know where i'm going to travel?
481: [03:53:04] <UncleCheese> i have to buy a pass that is for a specific number of zones?
482: [03:53:25] <UncleCheese> what do i need for just getting around the city?
483: [03:53:36] <irogue> yep, as the expectation is you're travelling the same route each day (to/from work)
484: [03:53:42] <irogue> you can just load money onto the card
485: [03:53:51] <irogue> and it just deducts from that
486: [03:54:14] <UncleCheese> ah
487: [03:54:20] <irogue> you can also load both money and a pass, and it'll use the pass if the pass is valid (correct # of zones), and money otherwise
488: [03:54:21] <UncleCheese> so you don't buy an all-you-can-eat pass
489: [03:54:31] <UncleCheese> ahh, i see now
490: [03:54:49] <irogue> loading money on card is by far the easiest option
491: [03:54:56] <UncleCheese> yeah, it looks that way
492: [03:55:08] <UncleCheese> $3.50 a ride.. that better be some bus
493: [03:55:11] <irogue> but it's a little cheaper using a pass if you travel the same route each day
494: [03:55:42] <UncleCheese> do you use Snapper for anything else?
495: [03:56:13] <irogue> you can use it at a lot of shops in wellington, and pay for your parking with it @ council parking meters
496: [03:56:24] <irogue> also one or two taxi companies there accept it
497: [03:57:23] <UncleCheese> and you get a discount for using it?
498: [04:00:40] <ss23> subway accepts snapper!
499: [04:00:47] <simon_w> Some of them
500: [04:00:50] <UncleCheese> the sub shop?
501: [04:01:36] <irogue> yup
502: [04:01:48] <UncleCheese> I can't believe you guys have those here
503: [04:01:54] <simon_w> And the GO Wellington pass is only cheaper if you're travelling three zones each workday
504: [04:01:56] <UncleCheese> kiwis love sandwiches
505: [04:01:56] <irogue> they're everywhere
506: [04:02:05] <UncleCheese> ah, thank you, simon_w
507: [04:02:09] <UncleCheese> that was the calculation i was looking for
508: [04:02:18] <irogue> there's something like 2x as many subways in NZ than McDonalds
509: [04:02:35] <irogue> that was terrible english...
510: [04:02:36] <simon_w> Which sucks, since maccas is so much better
511: [04:03:05] <irogue> pita pit's where it's at yo
512: [04:03:35] <irogue> Newtown Pita Pit REPRESENT
513: [04:03:46] <simon_w> Pizzeria Whatever-the-downstairs-one-is-called!
514: [04:04:28] <simon_w> Ha, the OSWAP wiki can't display category pages
515: [04:04:34] <simon_w> *OWSAP
516: [04:04:40] * irogue logs into his Snapper balance
517: [04:04:49] <irogue> hmm
518: [04:04:53] <irogue> $9.13
519: [04:04:54] <ss23> lol irogue
520: [04:04:58] <simon_w> More then mine!
521: [04:04:59] <ss23> I hoe I have lots on my snapper
522: [04:05:01] <simon_w> *than
523: [04:05:03] <ss23> I haven't had a low balance in ages
524: [04:05:04] <ss23> :D
525: [04:05:10] * UncleCheese_ quit (Quit: UncleCheese_)
526: [04:05:10] <irogue> i should make sure i use that before it's no use to me
527: [04:05:17] <ss23> wut
528: [04:05:19] <ss23> how can it be no use?!
529: [04:05:27] <ss23> yay
530: [04:05:29] <irogue> they're doing a "move your credit from Snapper to AT HOP" but that sounds like it'll be effort
531: [04:05:32] <ss23> $34.38
532: [04:05:40] <simon_w> Because Auckland's being stupid
533: [04:05:52] <irogue> i must say
534: [04:05:54] <simon_w> Bring out one card, replace it with another!
535: [04:05:58] <irogue> i was a big snapper fanboi
536: [04:06:06] <irogue> but omg the AT one is so much quicker and less retarded
537: [04:06:07] <ss23> UncleCheese: For reference, from the stop by my place to Silverstripe, it's $2.66
538: [04:06:28] <simon_w> UncleCheese, that's two zones
539: [04:06:39] <irogue> doesn't throw a wobbly if there's other cards in your wallet, and you don't have to hold it against the reader and wait, it's virtually instant
540: [04:06:45] * zippy__ quit (Ping timeout: 264 seconds)
541: [04:06:50] <ss23> irogue: The more than one card thing is *annoying*
542: [04:06:54] <irogue> ikr
543: [04:07:00] <simon_w> One is $1.60, three is $3.44, more means you're on the wrong bus :p
544: [04:07:11] <ss23> lol simon_w, how can you get on the wrong bus?
545: [04:07:13] <ss23> airport or something?
546: [04:07:14] <ss23> oh oh btw simon_w
547: [04:07:22] <simon_w> ss23, airport, purple one
548: [04:07:24] <ss23> I shouldn't catch 18 from my house, but whats the other one that goes to the uni and doesn't come close?
549: [04:07:25] <Pyromanik> ss23: airport flyer is $9 iirc
550: [04:07:32] <ss23> oic
551: [04:07:46] <simon_w> ss23, 47, but that doesn't go to that stop
552: [04:07:49] <irogue> i've heard rumors they're planning to merge AT Hop with library card too
553: [04:07:57] <ss23> ah sweet
554: [04:07:57] <irogue> that'd be neat
555: [04:07:58] <ss23> :D
556: [04:08:06] <irogue> single council card
557: [04:08:07] <ss23> simon_w: So 18 is the only one? I thought oyu said like 43 or something, idk
558: [04:08:17] <simon_w> ss23, 43's fine
559: [04:08:31] <simon_w> Only the 47 and 18 go up that way
560: [04:08:34] <ss23> sweet
561: [04:08:35] <ss23> ty
562: [04:08:36] <ss23> :D
563: [04:08:43] <simon_w> irogue, but, MiFare?
564: [04:09:52] <Pyromanik> simon_w: isn't airport flyer orange?
565: [04:10:01] <simon_w> Pyromanik, yeah, and valley flyer's purple
566: [04:10:08] <Pyromanik> ah
567: [04:10:08] <simon_w> Only GO Wellington cap at three zones
568: [04:10:21] <Pyromanik> you were talking about 2 busses
569: [04:10:36] <simon_w> irogue, Snapper would be so much nicer if tagging on/off was as fast as buying something
570: [04:10:40] <irogue> simon_w: not MiFare Classic :P
571: [04:10:49] <irogue> simon_w: yeah, i don't understand why it's not
572: [04:11:58] * pippy_ has joined #silverstripe
573: [04:12:05] <simon_w> From my understanding, it has to request more information (passes, information about the route it's tagged on on) and then do a bit more writing
574: [04:12:19] <irogue> yeah, i guess so
575: [04:12:24] <simon_w> Probably has a craptonne of signing/encryption on it too
576: [04:12:30] <irogue> Snapper is 3DES
577: [04:12:34] <irogue> which is slow as shit
578: [04:12:36] <irogue> that won't help
579: [04:12:59] <simon_w> And I was more wondering if the HOP provides MiFare at all (Xero uses Snapper's MiFrae for building access)
580: [04:13:09] <irogue> ah
581: [04:13:10] <irogue> yeah
582: [04:13:21] <irogue> it's a MiFare card
583: [04:13:38] <irogue> MIFARE DESFire EV1
584: [04:13:41] <simon_w> That sounds dangerous :p
585: [04:13:52] <irogue> the reason it's faster is prob cos it's AES instead of 3DES
586: [04:14:12] * pippy quit (Ping timeout: 246 seconds)
587: [04:15:00] <irogue> http://www.mifare.net/products/mifare-smartcard-ic-s/mifare-desfire-ev1/
588: [04:15:45] <simon_w> I wonder if you don't get the multi-card problem because it's a slightly different frequency
589: [04:16:06] <irogue> yeah, idk
590: [04:16:26] <irogue> i never had a problem with anything but Snapper, though
591: [04:16:38] <UncleCheese> let me make sure i understand.. if you just top off the snapper with cash, and you pay for a 2-zone ride
592: [04:16:46] <UncleCheese> met link says it's $3.50
593: [04:16:50] <UncleCheese> but i only pay $2.66?
594: [04:16:53] <UncleCheese> if i use snapper?
595: [04:17:00] <simon_w> UncleCheese, $3.50 for cash
596: [04:17:09] <simon_w> Not stored valued
597: [04:17:25] <irogue> UncleCheese: correct. punishes people who use actual cash, since that slows down the process of boarding the bus
598: [04:17:33] <UncleCheese> ok, so there's no financial incentive to use it?
599: [04:17:46] <UncleCheese> too bad it only costs $7 a day to park
600: [04:18:01] * Error404NotFound has joined #silverstripe
601: [04:18:06] <simon_w> Yeah, as soon as you carpool, it's cheaper to drive
602: [04:18:10] <ss23> Oh uh, what time does that talk stuff start? Like what time do I turn up? also where is it at the bar? I have to go upstairs or something? Is it obvious? :O
603: [04:18:17] <irogue> UncleCheese: to use Snapper? the financial incentive is paying $2.66 instead of $3.50 :-P
604: [04:18:20] <ss23> I take it other people here will go, but just checking
605: [04:18:23] <simon_w> ss23, 1730, it's obvious
606: [04:19:33] <ss23> mmk
607: [04:19:40] <ss23> How 2 select them?
608: [04:19:42] <ss23> I thought it was in Settings
609: [04:19:44] <ss23> But I can't see it here
610: [04:19:46] <ss23> theme*
611: [04:20:15] <Peavers> Requirements::javascriptTemplate(), how to use the second var in the js file? do I need to eval it?
612: [04:20:28] <simon_w> Peavers, does a str_replace
613: [04:20:50] <simon_w> Isn't the smartest of things
614: [04:21:46] <ss23> Hmm
615: [04:21:51] <ss23> Can you not select a theme for a subsite...?
616: [04:21:55] <irogue> just registered my AT HOP
617: [04:22:10] <ss23> oic, you select it in the subsites tab >..<
618: [04:22:16] <irogue> http://sdrv.ms/15LTYGk
619: [04:22:21] <irogue> this auto topup sounds like a good idea
620: [04:22:42] <ss23> ya, I had that on my phone, irogue
621: [04:22:42] <ss23> was good
622: [04:22:43] <ss23> :D
623: [04:22:48] <ss23> Until your card gets stolen
624: [04:22:49] <ss23> :P
625: [04:23:11] <irogue> lol
626: [04:23:16] <irogue> then you login to website and cancel it?
627: [04:28:07] * jimcrib is now known as jimcrib|away
628: [04:28:38] * irogue wonders when NZ Bus is switching to AT HOP
629: [04:29:49] <irogue> oo, looks like North Star is next
630: [04:30:33] <irogue> http://www.athop.co.nz/help/bus-roll-out/Pages/default.aspx
631: [04:30:52] <irogue> need less bus companies
632: [04:31:48] <ss23> irogue: Yeah, but by then, they've managed to ride around on the bus to the airport and back 3 times!!!!
633: [04:36:59] <irogue> ss23: lol
634: [04:37:38] <irogue> hmm
635: [04:37:40] <irogue> cider time
636: [04:37:46] * UncleCheese quit (Quit: UncleCheese)
637: [04:51:58] <Pyromanik> irogue: http://lifeformed.bandcamp.com/track/cider-time
638: [04:58:06] <irogue> ooo, doofy
639: [05:06:25] <Pyromanik> irogue: if you like lifeformed then you should also look up robot science
640: [05:06:31] <Pyromanik> (also on band camp)
641: [05:06:39] <Pyromanik> and or abducted by sharks
642: [05:10:19] <Peavers> If I ues echo json_encode($list); in my controller, how do I access that in javascript on my template o_O
643: [05:10:50] <Pyromanik> data part of xhr result
644: [05:11:10] <Pyromanik> also don't echo like that.
645: [05:11:23] <Peavers> was just testin
646: [05:11:26] <Peavers> come at me
647: [05:11:38] <Pyromanik> set header type text/json and return json_encode
648: [05:11:52] <Pyromanik> why my rsync fail :<
649: [05:13:20] <Pyromanik> oh because derp
650: [05:13:38] <Pyromanik> rsync httpdocs httpdocs => httpdocs/httpdocs
651: [05:13:42] <Pyromanik> no wonder it took so long :<
652: [05:13:46] <Peavers> where to set the header, on the page type or the controller, or elsewhere?!
653: [05:14:00] <Pyromanik> $this->response->setHeader()
654: [05:14:05] * willr quit (Quit: willr)
655: [05:14:22] <Pyromanik> cf api.ss.org SS_HTTPResponse
656: [05:20:05] * UncleCheese has joined #silverstripe
657: [05:22:41] * UncleCheese quit (Client Quit)
658: [05:24:49] <simon_w> ss23, coming to heckle you!
659: [05:24:57] * binman has joined #silverstripe
660: [05:32:16] <Pyromanik> heckles away!
661: [05:32:21] * Pyromanik leaves
662: [05:32:24] * Pyromanik quit (Quit: leaving)
663: [05:44:05] * the-messenger has joined #silverstripe
664: [05:45:29] * EasyCo has joined #silverstripe
665: [05:45:58] * the-messenger quit (Client Quit)
666: [05:51:42] * Liquide quit ()
667: [05:57:30] * mirrors has joined #silverstripe
668: [05:58:21] <mirrors> Hey everyone...can anyone tell me how I can DataObjectSubClass::get() and then add an additional select column
669: [05:59:13] * Error404NotFound quit (Ping timeout: 246 seconds)
670: [05:59:28] <mirrors> i know i can use SQLQuery ... however then I dont get nice dataojbect returned complete with relationships etc
671: [06:04:53] <mirrors> ?
672: [06:06:51] * mdowton has joined #silverstripe
673: [06:11:21] <mdowton> looking for correct way to implement calling http://soundcloud.com/oembed?url by passing a url on the end ? Is it possible using the RestfulService class silverstripe provides?
674: [06:13:26] <mdowton> looking to digest the returned xml response
675: [06:21:06] * DigNZ quit (Quit: DigNZ)
676: [06:21:52] * mdowton quit ()
677: [06:23:46] * DigNZ has joined #silverstripe
678: [06:23:52] * DigNZ quit (Client Quit)
679: [06:25:13] * mdowton has joined #silverstripe
680: [06:30:43] * DigNZ has joined #silverstripe
681: [06:34:29] * DigNZ quit (Client Quit)
682: [06:40:15] * mdowton quit ()
683: [06:52:14] * zfmf1 has joined #silverstripe
684: [07:01:55] * guci0 has joined #silverstripe
685: [07:02:02] <guci0> Morning!
686: [07:03:15] * chillu has joined #silverstripe
687: [07:06:15] * terryapodaca quit (Quit: Leaving.)
688: [07:09:31] * [lewellyn] has joined #silverstripe
689: [07:14:09] * lewellyn quit (*.net *.split)
690: [07:16:56] <mirrors> can anyone tell me how I can have an arraylist with multiple classes
691: [07:22:44] * lerni has joined #silverstripe
692: [07:26:29] * EasyCo quit (Ping timeout: 256 seconds)
693: [07:31:43] * mirrors quit (Quit: Page closed)
694: [07:36:55] * Sam_ has joined #silverstripe
695: [07:37:02] <Sam_> hi
696: [07:37:18] <Sam_> I need to include search in cms page
697: [07:37:31] <Sam_> can you please give me idea?
698: [07:48:37] <ss23> lol
699: [07:48:44] <ss23> Yay, did my talk, didn't get heckled by simon_w :D
700: [07:49:52] * UncleCheese has joined #silverstripe
701: [07:51:58] <ss23> UncleCheese: o/
702: [07:52:01] <ss23> Did you manage to bus fine?
703: [07:56:20] * priithansen has joined #silverstripe
704: [07:59:34] * kinglozzer has joined #silverstripe
705: [08:07:55] <Sam_> hi all please help me on model admin....
706: [08:08:26] <Sam_> want to edit search result with custom field
707: [08:11:43] * zauberfisch has joined #silverstripe
708: [08:17:15] * lobarvaz has joined #silverstripe
709: [08:23:57] <Sam_> I want to edit a few items from cms panel
710: [08:24:06] <Sam_> is it possible in model admin?
711: [08:29:25] * supernovah quit (Remote host closed the connection)
712: [08:29:52] * supernovah has joined #silverstripe
713: [08:33:19] * UncleCheese quit (Quit: UncleCheese)
714: [08:35:03] * supernovah quit (Remote host closed the connection)
715: [08:35:32] * supernovah has joined #silverstripe
716: [08:35:42] <supernovah> Keep dropping IRC
717: [08:36:14] <wmk> gmorning
718: [08:36:37] * supernovah quit (Remote host closed the connection)
719: [08:39:59] * feejin has joined #silverstripe
720: [08:42:58] <simon_w|air> ss23, so you care about him getting the bus, but not me? I SEE HOW IT IS!
721: [08:43:16] <simon_w|air> Sam_, can you be more specific?
722: [08:46:32] * TheJHNZ has joined #silverstripe
723: [08:46:46] <TheJHNZ> I am getting this error: http://chiletaxrescue.com/
724: [08:46:54] <TheJHNZ> Anyone know the solution to fix this ?
725: [08:48:28] * EasyCo has joined #silverstripe
726: [08:49:30] <simon_w|air> TheJHNZ, looks like your cache dir isn't writable. Either make a silverstripe-cache folder in your site root, or find the cache folder for your site and get the web user write access to it
727: [08:50:06] <kinglozzer> 3.1 branch, can't upload with the standard 'insert media' form in HtmlEditorField. $token = $this->getForm()->getSecurityToken(); $token->checkRequest($request) is returning false :(
728: [08:50:37] <simon_w|air> kinglozzer, fix it!
729: [08:50:38] <Sam_> Yes...
730: [08:50:52] <kinglozzer> simon_w|air: How?!
731: [08:50:53] <Sam_> In model admin, I only want to edit the summary fields
732: [08:51:02] <kinglozzer> I have no idea how the security tokens for forms even work :P
733: [08:51:37] <simon_w|air> kinglozzer, I don't know, I'm on the wrong laptop! :p
734: [08:51:50] <simon_w|air> Oh, there's a hidden field that gets added that contains the security token
735: [08:52:09] <simon_w|air> Sam_, so override getCMSFields() to do that
736: [08:52:44] <Sam_> yes... but not able to do it
737: [08:54:17] <Sam_> http://www.sspaste.com/paste/show/51e65b0b36232
738: [08:54:59] <simon_w|air> Sam_, just getCMSFields, not getCMSFields_forPopup
739: [08:56:11] <simon_w|air> kinglozzer, make sure you're on the latest 3.1 CMS/framework, try again, then make a issue about it
740: [08:56:54] <Sam_> Yes actually, I need to search over the results also
741: [08:57:05] <Sam_> I donot know how to do it
742: [08:57:45] <simon_w|air> http://doc.silverstripe.org/framework/en/reference/modeladmin#search-fields
743: [08:59:46] * UncleCheese has joined #silverstripe
744: [09:00:03] <simon_w|air> UncleCheese, oh good, you went for cable
745: [09:00:24] <kinglozzer> simon_w|air: No joy, will file a bug. The SecurityID request var is 'undefined', I'm guessing the UploadField JS is failing to pick it up properly
746: [09:02:19] <kinglozzer> Well, there's no SecurityID hidden field in the form so that's probably why
747: [09:04:13] <wmk> hi UncleCheese
748: [09:04:45] <Sam_> <@simon_w|air: I have follwed this, but, when I click on an item of search
749: [09:05:08] <Sam_> all fields of the Dataobject comes
750: [09:05:17] <Sam_> I donot want it wo come
751: [09:07:28] * SightUnseen has joined #silverstripe
752: [09:07:35] * SightUnseen has left #silverstripe
753: [09:07:50] <simon_w|air> Sam_, like I said, you need to name the method that returns the fields getCMSFields(), not getCMSFields_forPopup
754: [09:09:33] <wmk> is it for the template / pagination a difference if i pass a datalist or an arraylist?
755: [09:09:50] <simon_w|air> wmk, nope
756: [09:10:19] <wmk> simon_w|air, so if i can't modify datalists query i can manually query and create an arraylist.
757: [09:11:58] <Sam_> ok
758: [09:13:23] <simon_w|air> wmk, yes
759: [09:14:22] <wmk> is Member::get()->dosomestuff()->query() very hacky to retrieve the query or is it a good way?
760: [09:16:09] <simon_w|air> Anything you do is hacky
761: [09:16:38] <wmk> damn, i knew it
762: [09:22:14] * ssgun has joined #silverstripe
763: [09:22:19] * [lewellyn] is now known as lewellyn
764: [09:22:35] <ssgun> hello,
765: [09:22:44] <ssgun> I'd like to know some suggestions
766: [09:23:23] <ssgun> i am in need to make the popup in SS 3.1.0 admin, what is the best plugin (JS) for me to use ?
767: [09:27:11] * Zauberfisch^away has joined #silverstripe
768: [09:28:15] * travis-ci has joined #silverstripe
769: [09:28:15] <travis-ci> [travis-ci] chillu/silverstripe-framework#33 (pulls/flush-ddos - 9d6acfc : Ingo Schommer): The build is still failing.
770: [09:28:15] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/d7125a05cdda...9d6acfc1f4f8
771: [09:28:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/9171996
772: [09:28:15] * travis-ci has left #silverstripe
773: [09:30:13] * zauberfisch quit (Ping timeout: 248 seconds)
774: [09:33:17] <wmk> phew, that was hard.
775: [09:36:47] <simon_w|air> ss23, hurry up and reply :p
776: [09:37:01] * cloph_away is now known as cloph
777: [09:39:15] <simon_w|air> ss23, eh, I guessed
778: [09:40:16] <ssgun> i am in need to make the popup in SS 3.1.0 admin, what is the best plugin (JS) for me to use ?
779: [09:40:41] <ssgun> are there good suggetions for these
780: [09:40:58] <simon_w|air> ssgun, you want a popup inside the CMS?
781: [09:44:27] * supernovah has joined #silverstripe
782: [09:48:02] * UncleCheese quit (Quit: UncleCheese)
783: [09:48:08] <kinglozzer> Hmm. If I use updateMediaForm(&$form) in an extension, the <div> and the <input> have the same ID :(. Annoying because it breaks the ability to click the label to select the field
784: [09:48:51] <simon_w|air> kinglozzer, you need to set the form on the field as well
785: [09:49:06] <kinglozzer> $field->setForm($form)?
786: [09:49:10] <simon_w|air> yes
787: [09:49:14] <kinglozzer> Complete guess, will look at the API :P
788: [09:49:59] * PigeonFriend has joined #silverstripe
789: [09:50:02] <kinglozzer> Oh, it is setForm haha
790: [09:50:56] * EasyCo quit (Quit: EasyCo)
791: [09:51:55] <ssgun> @simon_w|air yes
792: [09:55:07] * EasyCo has joined #silverstripe
793: [09:55:15] * Sam_ quit (Ping timeout: 250 seconds)
794: [09:56:40] * howardgrigg quit (Remote host closed the connection)
795: [10:05:11] * jcwacky has joined #silverstripe
796: [10:05:19] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
797: [10:06:10] * travis-ci has joined #silverstripe
798: [10:06:10] <travis-ci> [travis-ci] chillu/silverstripe-framework#34 (pulls/isdev-infinite-loop - 9d764d6 : Ingo Schommer): The build passed.
799: [10:06:10] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/999fd3901cf6^...9d764d6794c6
800: [10:06:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/9172810
801: [10:06:10] * travis-ci has left #silverstripe
802: [10:08:57] <jcwacky> Struggling with a "[User Warning] None of these templates can be found in theme" error, despite the file existing and flushed several times.
803: [10:10:03] <jcwacky> Any thoughts? The file is a template for a custom Dashboard widget. It is called PanelRecentWithStatus.ss and exists in /themes/main/templates/Includes
804: [10:10:11] <jcwacky> Running latest 3.1
805: [10:11:08] <PigeonFriend> jcwacky: are you overriding an existing template or just creating a new one?
806: [10:11:15] <jcwacky> a new one
807: [10:11:18] <PigeonFriend> ok
808: [10:11:29] <PigeonFriend> try moving it up a directory
809: [10:11:40] <PigeonFriend> oh
810: [10:11:41] <PigeonFriend> wait
811: [10:11:43] <jcwacky> if I move the template to /dashboard/templates/Includes it works fine
812: [10:11:44] <PigeonFriend> is this in the CMS?
813: [10:11:57] <PigeonFriend> ie: you want the template rendered in the CMS?
814: [10:11:57] <jcwacky> but can't keep it there as that's in a module
815: [10:12:00] <jcwacky> yep
816: [10:12:04] <PigeonFriend> there is no 'theme' in the CMS
817: [10:12:11] <PigeonFriend> so you can't put your CMS templates in themes
818: [10:12:16] <jcwacky> hmm
819: [10:12:17] <PigeonFriend> you need to do mysite/templates/Includes
820: [10:12:27] <jcwacky> ahhhh
821: [10:13:02] <PigeonFriend> that should work for you
822: [10:13:17] <TheJHNZ> thanks simon_w it worked
823: [10:13:39] <jcwacky> Perfect! Thanks PigeonFriend, works perfect!
824: [10:13:43] <PigeonFriend> cool
825: [10:14:02] <PigeonFriend> I had that problem some time ago and took me ages to work out - someone here explained it to me in the end
826: [10:14:09] <PigeonFriend> circle of life
827: [10:14:13] * supernovah quit (Remote host closed the connection)
828: [10:14:42] * supernovah has joined #silverstripe
829: [10:15:41] <jcwacky> Yeh, I'd been trying all sorts. I had gone through the read me for Dashboard which explains things, but I hadn't twigged that the template URL mentioned my site!
830: [10:16:58] * supernovah_ has joined #silverstripe
831: [10:19:02] * supernovah quit (Ping timeout: 240 seconds)
832: [10:19:09] * supernovah_ is now known as supernovah
833: [10:24:25] * Zauberfisch^away is now known as Zauberfisch
834: [10:36:07] * anujit has joined #silverstripe
835: [10:37:22] <anujit> can anyone help me in putting a review section in my golf course detail section?
836: [10:39:32] * anujit_ has joined #silverstripe
837: [10:42:29] * anujit quit (Ping timeout: 250 seconds)
838: [10:46:03] * travis-ci has joined #silverstripe
839: [10:46:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#609 (pulls/flush-ddos-24 - 5b10327 : Ingo Schommer): The build has errored.
840: [10:46:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/5b10327c33d4
841: [10:46:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9174341
842: [10:46:04] * travis-ci has left #silverstripe
843: [10:46:23] * travis-ci has joined #silverstripe
844: [10:46:23] <travis-ci> [travis-ci] chillu/silverstripe-framework#35 (pulls/flush-ddos-24 - 5b10327 : Ingo Schommer): The build has errored.
845: [10:46:23] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/commit/5b10327c33d4
846: [10:46:23] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/9174355
847: [10:46:23] * travis-ci has left #silverstripe
848: [10:47:33] * travis-ci has joined #silverstripe
849: [10:47:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#610 (pulls/flush-ddos-24 - 5b10327 : Ingo Schommer): The build has errored.
850: [10:47:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/5b10327c33d4
851: [10:47:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9174373
852: [10:47:33] * travis-ci has left #silverstripe
853: [10:48:31] * travis-ci has joined #silverstripe
854: [10:48:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#611 (pulls/flush-ddos-24 - 9394470 : Ingo Schommer): The build failed.
855: [10:48:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5b10327c33d4...939447040f55
856: [10:48:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9174416
857: [10:48:32] * travis-ci has left #silverstripe
858: [10:50:40] * EasyCo quit (Quit: EasyCo)
859: [10:53:08] * travis-ci has joined #silverstripe
860: [10:53:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#613 (pulls/flush-ddos - 0c6730d : Ingo Schommer): The build failed.
861: [10:53:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/633553d918e0^...0c6730dd216d
862: [10:53:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9174503
863: [10:53:09] * travis-ci has left #silverstripe
864: [10:53:42] <anujit_> can anyone help about putting a review section ?
865: [11:01:23] * tomspeak has joined #silverstripe
866: [11:01:58] <tomspeak> hey, has anyone come across onAfterWrite() causing the cms layout to break?
867: [11:10:37] * ARNHOE has joined #silverstripe
868: [11:11:14] * ARNHOE quit (Remote host closed the connection)
869: [11:23:51] * WillSkeggs has joined #silverstripe
870: [11:24:40] * chillu quit (Quit: chillu)
871: [11:25:34] <WillSkeggs> Hi guys, what is the best way to conditionally deal with whether a data relationship exists between member and a dataobject? This query returns what I am interested in: Competition::get()->filter(array('Teams.Members.ID:ExactMatch'=>Member::currentUserID(),'ID' => $data['Competitions'])). I would like to put a conditional statement around whether it returns anything. (I'm a n00b)
872: [11:29:17] * ssgun quit (Ping timeout: 250 seconds)
873: [11:31:32] <kinglozzer> WillSkeggs: if ($competition->exists()) should do it I think
874: [11:31:49] <kinglozzer> Perhaps if ($competition && $competition->exists())
875: [11:35:16] <WillSkeggs> thanks kinglozzer, works perfectly.
876: [11:43:35] * anujit_ quit (Ping timeout: 250 seconds)
877: [11:54:51] * WillSkeggs quit (Ping timeout: 250 seconds)
878: [11:55:46] * lewellyn quit (Ping timeout: 240 seconds)
879: [11:57:05] * howardgrigg has joined #silverstripe
880: [11:57:33] * lewellyn has joined #silverstripe
881: [12:01:16] * howardgrigg quit (Ping timeout: 240 seconds)
882: [12:04:40] * UndefinedOffset has joined #silverstripe
883: [12:17:46] * supernovah quit (Ping timeout: 256 seconds)
884: [12:23:48] <jcwacky> I need to create a Security Group that will allow members of it to create new users and assign them to any group other than Admin. Struggling to work out how though.
885: [12:23:55] * tomspeak quit ()
886: [12:28:08] * chillu has joined #silverstripe
887: [12:36:42] * priithansen quit (Quit: priithansen)
888: [13:06:12] <wmk> even a formfield needs $allowed_actions now?
889: [13:06:31] <wmk> Action 'Suggest' isn't allowed on class AutoCompleteField.
890: [13:10:58] <kinglozzer> wmk: Yes
891: [13:11:18] <wmk> must have been a change in the last weeks
892: [13:11:24] <kinglozzer> Yep, was a couple of weeks ago
893: [13:11:50] <wmk> ok, updating 3.1 can lead to unwanted results...
894: [13:11:53] <jrthomer> anybody know the proper way to add new locales to SS3 / Zend?
895: [13:12:07] <wmk> like fix 1 bug and raise some other
896: [13:12:15] <jrthomer> new being ones that are not baked into SS3 or Zend out of the box
897: [13:12:49] <wmk> jrthomer, core: getlocalization.com, modules: create lang files
898: [13:13:18] <wmk> chillu wrote an email to dev list a week ago about another translation service, mom
899: [13:13:47] <jrthomer> wmk: I have the lang files ... but if Zend doesn't have the locale in its Zend_Locale::$_localeData array it doesn't seem to work
900: [13:14:05] <jrthomer> for instance, I have a lang file for ctu
901: [13:14:08] <jrthomer> (http://en.wikipedia.org/wiki/Ch%E2%80%99ol_language)
902: [13:14:23] <jrthomer> but Zend throws an error because Zend_Locale::$_localeData doesn't work
903: [13:14:26] <wmk> mom
904: [13:14:30] <jrthomer> s/doesn't work/doesn't have it/
905: [13:15:02] <jrthomer> or, even bigger, zh_hans / zh_hant don't work
906: [13:15:37] <kinglozzer> jrthomer: Perhaps this will help https://github.com/silverstripe/silverstripe-framework/pull/1880/files
907: [13:16:31] <wmk> jrthomer, http://doc.silverstripe.org/framework/en/3.1/topics/i18n#language-names explains how to add a german dialect
908: [13:17:08] <jrthomer> kinglozzer: thanks! the Zend/Locale/Data/**yml file is probably the key I'm missing
909: [13:17:46] <jrthomer> wmk / kinglozzer - thanks, I'll try it out (I am already overriding i18n common_languages, etc using the following)
910: [13:17:47] <jrthomer> Config::inst()->update('i18n', 'all_locales', $allLocales);
911: [13:17:47] <jrthomer> Config::inst()->update('i18n', 'common_locales', $commonLocales);
912: [13:17:47] <jrthomer> Config::inst()->update('i18n', 'common_languages', $commonLanguages);
913: [13:18:07] <jrthomer> with a TODO item to move this out of code and make it simply use YML files like wmk mentions
914: [13:19:03] <wmk> kinglozzer, wtf is lc_xx locale?
915: [13:19:18] <kinglozzer> lolcat :D
916: [13:19:26] * lobarvaz_ has joined #silverstripe
917: [13:19:50] * lobarvaz quit (Ping timeout: 240 seconds)
918: [13:20:01] <kinglozzer> wmk: Check out some of the translations :P https://github.com/Zauberfisch/sapphire/blob/6f11f92f5be50fd21c32665a4f1aa00493921ffb/lang/lc_XX.yml
919: [13:20:39] <wmk> jup, i see them in the pull request
920: [13:20:52] <wmk> wikipedia sais even a bible translation in lolcat is going on
921: [13:21:01] <kinglozzer> Haha
922: [13:23:11] <wmk> "VALIDASHUN FAILD1!!1!!!!!!1 WAT NOW?"
923: [13:23:37] <kinglozzer> "PLZ ENSURE U HAS ENTERD TEH %s CREDIT CARD NUMBR RITE CUZ WE NEED UR MONEY RITE NOW."
924: [13:24:15] <wmk> rotfl
925: [13:25:47] <wmk> that's a joke for april 1st...
926: [13:31:24] * ss23 quit (Ping timeout: 240 seconds)
927: [13:35:11] * ARNHOE has joined #silverstripe
928: [13:41:58] * ARNHOE quit (Remote host closed the connection)
929: [13:45:48] * feejin quit (Remote host closed the connection)
930: [13:50:33] * lerni quit (Remote host closed the connection)
931: [13:51:55] * ss23 has joined #silverstripe
932: [13:54:15] * priithansen has joined #silverstripe
933: [13:57:33] * howardgrigg has joined #silverstripe
934: [14:01:48] * howardgrigg quit (Ping timeout: 252 seconds)
935: [14:04:25] * jcwacky has left #silverstripe
936: [14:06:32] * chillu quit (Quit: chillu)
937: [14:28:57] * Nivery has joined #silverstripe
938: [14:30:10] * chillu has joined #silverstripe
939: [14:47:26] * gumble quit (Ping timeout: 240 seconds)
940: [14:51:25] * gumble has joined #silverstripe
941: [14:58:45] * Zauberfisch quit (Quit: Leaving...)
942: [15:30:16] * sam__ has joined #silverstripe
943: [15:30:45] <sam__> Hi ... I need some help on dataobject as pages
944: [15:31:13] <sam__> I followed the tutorial http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-1-keeping-it-simple/
945: [15:31:47] <sam__> and.... the staff_page comming as domain.com/stuffpage/show/id
946: [15:31:59] <sam__> now in this page, I cant access any form
947: [15:34:21] * tomspeak has joined #silverstripe
948: [15:34:42] <tomspeak> hey guys, does anyone know the 'right' way to trigger a change to be registered in the CMS?
949: [15:35:06] <tomspeak> I can just hack $('#Form_EditForm').addClass('changed'); into the code.. but it doesn't seem so elegant....
950: [15:35:08] * gumble quit (Ping timeout: 260 seconds)
951: [15:38:29] * gumble has joined #silverstripe
952: [15:42:46] * gumble quit (Ping timeout: 240 seconds)
953: [15:50:57] <sam__> please help.....
954: [15:51:12] <sam__> need some idea... donot know how to do it
955: [15:55:26] * gumble has joined #silverstripe
956: [15:58:00] * howardgrigg has joined #silverstripe
957: [16:02:35] * howardgrigg quit (Ping timeout: 264 seconds)
958: [16:10:01] * catcher_dev has joined #silverstripe
959: [16:10:27] <catcher_dev> what's the right way to include external PHP libraries?
960: [16:13:34] <kinglozzer> catcher_dev: I just throw them in a /thirdparty directory
961: [16:14:07] <kinglozzer> Then use just require_once() wherever I need them
962: [16:14:13] <kinglozzer> Can't speak for how most devs do it though
963: [16:14:40] <catcher_dev> kinglozzer, doesn't SS pick them up automatically somehow? Maybe they need to be in a module/code/ dir..
964: [16:16:46] <kinglozzer> Ahh sorrt
965: [16:16:49] <kinglozzer> sorry*
966: [16:17:18] <kinglozzer> To prevent them being detected, include an empty file called '_manifest_exclude' in your 'thirdparty' dir
967: [16:17:21] * tomspeak quit ()
968: [16:17:40] <kinglozzer> That's what the /framework/thirdparty directory has :)
969: [16:18:39] * kinglozzer quit (Remote host closed the connection)
970: [16:24:16] * ARNHOE has joined #silverstripe
971: [16:28:15] * Age has joined #silverstripe
972: [16:28:39] * Age is now known as Guest73234
973: [16:28:54] * Guest73234 quit (Client Quit)
974: [16:30:32] * gumble quit (Ping timeout: 240 seconds)
975: [16:35:36] * guzzlefry has joined #silverstripe
976: [16:46:55] <catcher_dev> I'm trying to define constants for a class via config.yml. What more do I need to do that declare ClassName:\n property: 'value' ?
977: [16:57:06] <sam__> can anybody help me on URL Handlers?
978: [16:58:57] * ARNHOE quit (Remote host closed the connection)
979: [17:10:33] <guzzlefry> sam__: Ask and potentially wake a while. This place is most active later at night if you're EST.
980: [17:10:39] <guzzlefry> err
981: [17:10:41] <guzzlefry> wait a while*
982: [17:20:59] * ooboo has joined #silverstripe
983: [17:21:11] <ooboo> is there any way to add a custom class to each li in an optionsetfield?
984: [17:21:38] <wmk> does $field->removeByName() not work in getCMSFields / Tabsets?
985: [17:21:49] <ooboo> each option (li) represents a page and i want to add that page's class to the li
986: [17:21:51] <PigeonFriend> ooboo: afraid not, but you can to the parent element, so you can target that with CSS and JS just as easily really
987: [17:22:19] <PigeonFriend> wmk try $fields->removeFieldFromTab('Root','FieldOrTabName');
988: [17:22:36] <PigeonFriend> ooboo: oh, on a per li item
989: [17:22:37] <PigeonFriend> hmm
990: [17:22:56] <PigeonFriend> probably need to create your own field type to do that
991: [17:23:44] <ooboo> PigeonFriend: i figured, since the only thing the optionsetfield knows is the mapped data (ID => Title), right?
992: [17:23:58] <PigeonFriend> ooboo: quite
993: [17:24:20] <PigeonFriend> there is a function on SiteTree to get pages as ul i think
994: [17:24:25] <PigeonFriend> dno if that'll help you at all
995: [17:25:40] <wmk> PigeonFriend, hm, i'm in modeladmin. seems it doesn't use CMSFields
996: [17:26:01] <PigeonFriend> wmk: it should do
997: [17:26:15] <wmk> WTF
998: [17:31:12] <wmk> ok, got it
999: [17:32:36] * ooboo quit (Quit: Page closed)
1000: [17:33:42] <PigeonFriend> wmk: what was it?
1001: [17:34:05] <wmk> subclassing and not calling parent::getCMSFields()
1002: [17:34:23] <PigeonFriend> ah
1003: [17:34:30] <wmk> in ss3 it's now tab "Main" and not "Root.Main" ..?
1004: [17:34:35] <PigeonFriend> well, that's somewhat allowed. but it won't be set up with tabs
1005: [17:35:11] <wmk> ok, so Root.Main is the current setup
1006: [17:39:13] <PigeonFriend> wmk: yes - i think so
1007: [17:39:20] * Nivery quit (Quit: Nivery)
1008: [17:41:24] <wmk> yup, in 2.4. it was Root.Content.Main
1009: [17:41:33] <PigeonFriend> yep
1010: [17:41:48] * gelignite has joined #silverstripe
1011: [17:58:25] * howardgrigg has joined #silverstripe
1012: [18:02:23] * howardgrigg quit (Ping timeout: 240 seconds)
1013: [18:04:30] <guzzlefry> Is anyone experienced with member login stuff around?
1014: [18:07:59] <wmk> hmm, a very little bit
1015: [18:14:00] * Nivery has joined #silverstripe
1016: [18:16:07] * jcwacky has joined #silverstripe
1017: [18:16:46] <jcwacky> I'm trying to extend "doAllChildrenIncludingDeleted" using the hook $this->owner->extend("augmentAllChildrenIncludingDeleted", $stageChildren, $context);
1018: [18:17:04] <jcwacky> Here's my extension: http://spdr.me/M0P9 But it doesn't do anything. Any suggestions?
1019: [18:17:45] <jcwacky> The function is in /framework/model/Hierarchy.php
1020: [18:26:37] * AlphaCactus has joined #silverstripe
1021: [18:26:52] <guzzlefry> okay
1022: [18:27:01] <guzzlefry> I keep getting directed to login#MemberLoginForm_LoginForm_tab :/
1023: [18:27:07] <guzzlefry> Any idea why?
1024: [18:28:19] * sam__ quit (Ping timeout: 250 seconds)
1025: [18:29:33] <wmk> guzzlefry, after login?
1026: [18:30:56] <guzzlefry> yeah
1027: [18:31:44] <guzzlefry> well, what the hell...
1028: [18:31:57] <guzzlefry> seems anyone other than the default admin gets redirected away from /home
1029: [18:32:13] <guzzlefry> in which I have a template that does $LoginForm if no one is logged in.
1030: [18:32:33] <guzzlefry> err
1031: [18:32:45] <guzzlefry> wmk: That's on failed login by the way.
1032: [18:33:20] <wmk> guzzlefry, any demo available?
1033: [18:33:41] <guzzlefry> not really, NDA and all of that stuff. :/
1034: [18:34:37] <guzzlefry> okay so, admin gets redirected to the admin panel. Non-admin gets yelled at for not having access.
1035: [18:34:55] <guzzlefry> Let me grab the relevant parts of the template, maybe they'll help.
1036: [18:35:56] <FrozenFire> guzzlefry, Check that page's permissions.
1037: [18:36:00] <FrozenFire> DeSoto might've mucked with them
1038: [18:36:09] <FrozenFire> It's in the CMS
1039: [18:37:01] <guzzlefry> FrozenFire: I know he added some groups, not sure if anything else was messed with.
1040: [18:40:05] <wmk> isnt there a setting to redirect the non-admins to a page or url?
1041: [18:40:35] <guzzlefry> well, there was no redirection before.
1042: [18:40:46] <FrozenFire> Might be. Looking at the configuration for that site (I'm just momentarily consulting), I don't see direct permissions changes.
1043: [18:41:10] <wmk> http://www.ssbits.com/snippets/2010/customize-the-redirect-after-a-successful-member-login/ old but a hint
1044: [18:44:20] <guzzlefry> ah thanks
1045: [18:44:24] <guzzlefry> now where to set that... :P
1046: [18:47:13] <guzzlefry> well...
1047: [18:47:16] <guzzlefry> wmk: By default, this is set to the homepage
1048: [18:47:19] * guzzlefry scratches head.
1049: [18:47:28] <guzzlefry> Trying anyway. :P
1050: [18:47:43] <guzzlefry> oh, I should see what it's set to.
1051: [18:48:39] * SightUnseen has joined #silverstripe
1052: [18:48:55] * guzzlefry_dev has joined #silverstripe
1053: [18:48:55] * guzzlefry_dev quit (Changing host)
1054: [18:48:55] * guzzlefry_dev has joined #silverstripe
1055: [18:49:51] * ARNHOE has joined #silverstripe
1056: [18:50:19] * SightUnseen has left #silverstripe
1057: [19:03:47] <guzzlefry_dev> Okay so, that fixes redirection when login is correct. Still get thrown into /home/login#MemberLoginForm_LoginForm_tab when it's wrong.
1058: [19:16:28] <wmk> anyone knows a currently working solution for editing a has_one relation in modeladmin / gridfield ?
1059: [19:17:46] * micmania1 has joined #silverstripe
1060: [19:23:45] <AlphaCactus> remind me again why the dropdown doesn't work
1061: [19:24:05] <AlphaCactus> ah, becuase you can't create in place thats right
1062: [19:34:43] * pex has joined #silverstripe
1063: [19:34:53] * zfmf1 has left #silverstripe
1064: [19:40:31] * zfmf1 has joined #silverstripe
1065: [19:46:53] * PigeonFriend quit ()
1066: [19:53:10] * lerni has joined #silverstripe
1067: [19:56:51] * CodeTrap has joined #silverstripe
1068: [19:58:51] * howardgrigg has joined #silverstripe
1069: [20:03:28] * howardgrigg quit (Ping timeout: 260 seconds)
1070: [20:07:08] * Liquide has joined #silverstripe
1071: [20:08:01] * ARNHOE quit (Remote host closed the connection)
1072: [20:18:35] <simon_w> chillu, going to be able to fix the tests for #2238?
1073: [20:19:18] <chillu> simon_w: I'm going on holiday for two weeks pretty much right now, so nope
1074: [20:19:38] <simon_w> Okay, I'll look into that too
1075: [20:19:51] <simon_w> Enjoy your time off :)
1076: [20:30:51] * jimcrib|away is now known as jimcrib
1077: [20:32:05] <guzzlefry> simon_w: quick question if you're not busy/don't mind. I have $LoginForm embedded in my HomePage layout template. I finally managed to get successful logins to stay on that page via Security::set_default_login_dest('/'), but failed logins get redirected into some nonexistant /home/login?BackURL=%2Fadmin%2Freports%2F#MemberLoginForm_LoginForm_tab Any ideas on a fix for this? Or why it's actually doing it?
1078: [20:33:31] <simon_w> A failed login attempt gets sent to $controller->Link('login')
1079: [20:35:09] * DigNZ has joined #silverstripe
1080: [20:35:50] * UndefinedOffset quit (Quit: Leaving.)
1081: [20:40:55] * CodeTrap quit (Ping timeout: 268 seconds)
1082: [20:42:45] * Pyromanik has joined #silverstripe
1083: [20:56:33] * Nivery quit (Quit: Nivery)
1084: [20:56:35] * pex quit (Read error: Connection reset by peer)
1085: [20:57:23] <unsigned_> hey does anyone know the correct way to automatically set the default value for a SS_Datetime field on record creation? The following doesnt work: http://sspaste.com/paste/show/51e7047f70bbb
1086: [20:57:57] * chillu quit (Quit: chillu)
1087: [20:58:24] <simon_w> unsigned_, set a value
1088: [20:58:45] * chillu has joined #silverstripe
1089: [20:58:47] * chillu quit (Client Quit)
1090: [20:59:08] <unsigned_> like what? I want it to default to the current day
1091: [21:00:09] <simon_w> Well, for one, it should probably be a Date type then
1092: [21:00:19] <simon_w> And, date('Y-m-d')
1093: [21:00:21] * pex has joined #silverstripe
1094: [21:00:51] <simon_w> Or, if you want to set an object, DBField::create_field('Date', date('Y-m-d'))
1095: [21:00:52] <unsigned_> ohk so it still has to be a string value
1096: [21:01:00] <simon_w> Well, it doesn't have to be
1097: [21:01:14] <simon_w> But new SS_Datetime has no value set
1098: [21:01:34] <unsigned_> I tried SS_Datetime::now() but that didnt work either
1099: [21:02:11] <unsigned_> anyway, using date() works, thanks
1100: [21:02:20] <simon_w> Because you can't set the name of a field more than once
1101: [21:04:18] <unsigned_> yep thats the error I got when I tried to set self::$defaults["DateCreated"] in populateDefaults()
1102: [21:04:21] * Peavers quit (Ping timeout: 268 seconds)
1103: [21:07:53] <simon_w> The other option is just private static $defaults = [ 'DateCreated' => 'now' ];
1104: [21:11:35] * coldblooded01 has joined #silverstripe
1105: [21:17:24] * zippy__ has joined #silverstripe
1106: [21:17:27] <zippy__> Morning
1107: [21:23:39] * pippy_ is now known as pippy
1108: [21:24:42] <Pyromanik> Firefox 23: New logo!
1109: [21:26:29] * spronk quit (Ping timeout: 248 seconds)
1110: [21:26:42] <Pyromanik> simon_w: oooh, literal arrays?
1111: [21:27:41] <Pyromanik> I mean, with keys?
1112: [21:27:53] <Pyromanik> have you always been able to do that?
1113: [21:29:56] <simon_w> 5.4
1114: [21:30:35] <simon_w> [whatever] is exactly the same as array(whatever)
1115: [21:32:33] <ajmitch> one of the things that makes me want to upgrade to 5.4
1116: [21:32:36] * UncleCheese has joined #silverstripe
1117: [21:32:55] <FrozenFire> There's really no excuse for not upgrading to 5.4 now
1118: [21:33:11] <FrozenFire> 5.3 is in its death march
1119: [21:33:27] <FrozenFire> That's something that all managers are going to understand
1120: [21:33:39] <ajmitch> unless you're using distro packages, unfortunately 5.4 came a bit late for ubuntu 12.04
1121: [21:34:04] <ajmitch> going to be fun with security there until 2017
1122: [21:34:30] <FrozenFire> There's already a new LTS of Ubuntu
1123: [21:34:48] <FrozenFire> Oh wait..
1124: [21:35:08] <ajmitch> though they've committed to 5 years of support, not 2
1125: [21:35:08] <FrozenFire> Hrmm, I could've sworn 13.04 was LTS
1126: [21:35:18] <ajmitch> nope, 14.04 will be
1127: [21:35:35] <FrozenFire> Still, even if you're using LTS, that's not an excuse for neglecting PHP updates.
1128: [21:35:51] <FrozenFire> If PHP is a core component of your solutions, then you should be keeping up with updates.
1129: [21:36:01] <FrozenFire> Not relying solely on LTS releases.
1130: [21:36:18] <FrozenFire> Imo, LTS is for stability of ancillary system components.
1131: [21:36:49] <FrozenFire> Though, I suppose that 14.04 will probably come just in time for PHP 5.3 to EOL
1132: [21:37:35] <ajmitch> there are PPAs for 5.4 (and 5.5 now), dropping 5.4 into backports requires testing & upgrading too much other stuff
1133: [21:53:38] <UncleCheese> does anyone know how do write integration test that depend on uploaded assets?
1134: [21:53:51] <UncleCheese> is there an assets equivalent of fixtures.yml?
1135: [21:59:18] * howardgrigg has joined #silverstripe
1136: [21:59:28] <micmania1> UncleCheese, do you mean physical files?
1137: [21:59:35] <UncleCheese> yeah
1138: [22:00:11] <micmania1> Could you not just have a temp folder then in your fixtures file point it to the temp location?
1139: [22:00:50] <micmania1> kind of a hack I suppose
1140: [22:00:53] <UncleCheese> yeah
1141: [22:01:35] <UncleCheese> but a lot of the filesystem objects depend on ASSETS_DIR
1142: [22:01:41] <UncleCheese> for instance, when resampling images
1143: [22:02:06] <UncleCheese> looking to see how UploadField tests itself
1144: [22:03:13] * pex quit (Read error: Connection reset by peer)
1145: [22:03:28] * howardgrigg quit (Ping timeout: 246 seconds)
1146: [22:04:26] <micmania1> Is it possible to replace an extension? (ie replace Hierarchy with a subclass of Hierarchy)
1147: [22:05:57] * zfmf1 has left #silverstripe
1148: [22:06:06] <UncleCheese> yup
1149: [22:06:15] <UncleCheese> look at the excluded children module
1150: [22:06:33] <unsigned_> hey does anyone know about the caching behaviour of the ORM? eg if I call Model::get() over and over again in a loop, will it fetch all the items from the database once and cache them, or will it fetch them over and over again?
1151: [22:06:53] * unsigned_ is now known as unsignedint
1152: [22:07:46] <UncleCheese> queries are cached
1153: [22:08:01] <UncleCheese> i think what happens is when the SQL statement is generated, it hashes it, and stores it in memory
1154: [22:08:02] * pex has joined #silverstripe
1155: [22:08:18] <UncleCheese> and before every SQL statement is executed, it checks to see if that hash already exists
1156: [22:08:20] * pex has left #silverstripe
1157: [22:08:28] <unsignedint> right
1158: [22:08:30] <UncleCheese> when you write to a table, i believe it invalidates the cache
1159: [22:08:48] <unsignedint> makes sense. thanks!
1160: [22:09:31] <unsignedint> its a shame SIlverstripe doesnt have a query profiler like CodeIgnitor and Laravel (unless it does and I just dont know how to invoke it)
1161: [22:10:48] <ss23> simon_w: I was asleep by the time you got here!
1162: [22:10:50] <wmk> hi UncleCheese
1163: [22:11:11] <UncleCheese> hi
1164: [22:11:26] <wmk> thanks for merging my pull requests in silversmith ;)
1165: [22:12:00] <UncleCheese> yeah, thanks for your interest in the project
1166: [22:12:06] <UncleCheese> there are so many things i want to do with it
1167: [22:12:14] <wmk> you wrote...
1168: [22:12:48] <wmk> though it's pretty straight forward for me to understand the internals. but it's getting better now.
1169: [22:12:57] <UncleCheese> I was looking at this yesterday:
1170: [22:12:58] <UncleCheese> http://framework.zend.com/manual/1.12/en/zend.codegenerator.examples.html
1171: [22:13:04] <UncleCheese> That could help us quite a bit, i think
1172: [22:13:28] <wmk> today i wondered if it's possible to use db_FieldName for translation entity, as scaffoldFormFields uses this, too
1173: [22:14:33] <UncleCheese> yeah, that was a great point
1174: [22:14:41] <UncleCheese> i didn't realise that the scaffolding worked that way
1175: [22:15:29] * EasyCo has joined #silverstripe
1176: [22:15:59] <wmk> it's really fine. found a way to i18n even enum values, using a form transformation it grabs db_MyEnum_Foo
1177: [22:17:31] <wmk> ok, then i'll write the patch for this issue, had a look at the code today
1178: [22:31:02] <simon_w> ss23, got my email then?
1179: [22:31:11] <ss23> yep :D
1180: [22:31:14] <ss23> simon_w: But uh... ;_;
1181: [22:31:19] <ss23> I don't like going out to parties :<
1182: [22:33:10] * gelignite quit (Quit: http://bit.ly/nkczDT)
1183: [22:34:37] <simon_w> Meh :p
1184: [22:37:06] <ss23> Nervous... SSH to live server: the following changes havne't been commited -> most of the files
1185: [22:37:11] <ss23> NOT SURE IF WANNA GIT PULL
1186: [22:41:37] * swordsmanz_ has joined #silverstripe
1187: [22:41:38] <ajmitch> what could go wrong?
1188: [22:42:55] * lerni quit (Remote host closed the connection)
1189: [22:42:58] <Pyromanik> http://www.youtube.com/watch?v=gjwofYhUJEM
1190: [22:43:47] <wmk> n8
1191: [22:44:56] <Pyromanik> ss23: it goes like this:
1192: [22:45:06] <Pyromanik> git config name "client name"
1193: [22:45:19] <Pyromanik> git config user.email "clientname@servername"
1194: [22:45:31] <Pyromanik> git commit -am "WHO THE FUCK DID THIS!?"
1195: [22:45:35] <Pyromanik> git push
1196: [22:46:06] <Pyromanik> then you pull on your side and see if it completely b0rkz
1197: [22:46:26] <simon_w> Push'll fail
1198: [22:47:30] * catcherdev has joined #silverstripe
1199: [22:47:31] * guzzlefry_dev quit (Ping timeout: 240 seconds)
1200: [22:47:32] * catcher_dev quit (Ping timeout: 240 seconds)
1201: [22:47:32] * swordsmanz quit (Ping timeout: 240 seconds)
1202: [22:47:33] * swordsmanz_ is now known as swordsmanz
1203: [22:48:58] * guzzlefry_dev has joined #silverstripe
1204: [22:48:59] * guzzlefry_dev quit (Changing host)
1205: [22:48:59] * guzzlefry_dev has joined #silverstripe
1206: [22:49:01] <ss23> lol
1207: [22:49:10] <ss23> Seems to be okay now
1208: [22:49:11] <ss23> I hope
1209: [22:49:12] <ss23> :O
1210: [22:49:20] <ss23> well
1211: [22:49:24] <ss23> I did take the entire site down
1212: [22:49:41] <ss23> release process for this site is "run this command, then quickly SSH into the server and edit a bunch of files"
1213: [22:52:24] <guzzlefry_dev> Is there a way to stop the WYSIWYG editor from resizing uploaded images?
1214: [22:55:45] <simon_w> guzzlefry_dev, upload them at the right size to start with
1215: [22:56:13] <guzzlefry_dev> simon_w: They are. Apparently it's linking to the resized ones when you add them though.
1216: [22:56:38] <simon_w> The Image class only resizes them if the requested size differs from the actual size
1217: [22:56:39] <guzzlefry_dev> Or at least that's what I'm told. Should triple check that.
1218: [23:01:53] * metanat has joined #silverstripe
1219: [23:04:07] <ss23> simon_w: You watching the nzphpug atm?
1220: [23:04:08] <ss23> rofl
1221: [23:04:13] <guzzlefry_dev> Fatal error: Uncaught exception 'InvalidArgumentException' with message 'A YAML file cannot contain tabs as indentation at line 8
1222: [23:04:15] <simon_w> Yup
1223: [23:04:18] <ss23> Most activity it's had in years I'm sure
1224: [23:04:21] <guzzlefry_dev> no tabs >_>
1225: [23:04:37] <guzzlefry_dev> doh
1226: [23:04:41] <simon_w> ss23, nah, every so often someone asks what CMS/framework they should use :p
1227: [23:04:42] <guzzlefry_dev> trailing newline had one. :P
1228: [23:04:51] <ajmitch> what'd I miss on nzphpug this week?
1229: [23:04:56] <simon_w> guzzlefry_dev, line 8! It even tells you :p
1230: [23:05:08] <simon_w> ajmitch, they found out ?flush doesn't need admin in production
1231: [23:05:13] <ajmitch> aha
1232: [23:05:16] <guzzlefry_dev> I thought that was line 8 of the calling PHP script. :P
1233: [23:05:20] <ss23> hahah simon_w
1234: [23:05:26] <ajmitch> thread isn't as long as one in april about startups
1235: [23:05:41] <catcherdev> simon_w, I need to declare some constants (twitter oauth single-user token/key). I tried declaring a static property on a class and defining in config.yml, no go. What's the right way?
1236: [23:06:13] <simon_w> catcherdev, static with default value, config for site specific
1237: [23:06:20] <simon_w> And then you need to use the config API to get the value
1238: [23:06:53] <simon_w> ss23, I do like the person that pretty much said "The government should've used Drupal instead"
1239: [23:07:05] <simon_w> (cause Drupal is a shining example of good, secure code)
1240: [23:07:12] <ss23> hahah simon_w, yes
1241: [23:07:16] <ss23> Was just atlking to coworker about that
1242: [23:07:23] <catcherdev> simon_w, are you suggesting I drop the actual key in the actual class that uses it? I was hoping to put it somewhere that already has restricted permissions.
1243: [23:07:29] <guzzlefry_dev> simon_w: You said that failed logins redirect to $controller->Link('login'); So I take it I could create the Home/login action in my HomePage_Controller, and then in that action redirect back to index?
1244: [23:07:42] <ss23> ajmitch: This thread is still getting started! :P
1245: [23:07:46] <catcherdev> simon_w, it is site-specific in this case
1246: [23:08:09] <simon_w> catcherdev, private static it.
1247: [23:08:29] <ajmitch> ss23: so I see :)
1248: [23:08:31] <catcherdev> simon_w, and just plop the key right in the class's php file?
1249: [23:08:37] <simon_w> yeah
1250: [23:08:40] <catcherdev> kk
1251: [23:09:17] <ss23> Should I post something? "Look, at the end of the day, I don't see drupal having glaring security flaws like this, so I think we have to really ask ourselves how the government let something as glaring as this slip through..."
1252: [23:09:47] <simon_w> guzzlefry_dev, or Session::set('BadLoginURL', 'whatever')
1253: [23:12:39] <guzzlefry_dev> cool, thank you
1254: [23:14:01] * cloph is now known as cloph_away1
1255: [23:15:36] * aquaman has joined #silverstripe
1256: [23:15:46] <ss23> OMG RAAAGE
1257: [23:15:55] <ss23> So why troll? Fix it, it's open source, you know how to code, go do it.
1258: [23:15:55] <ss23> No point bad mouthing researchers for reporting issues to the dev team
1259: [23:15:56] <ss23> then blog about them because the dev team didn't do anything about it.
1260: [23:15:59] <ss23> Fucking bullshit
1261: [23:16:11] <ss23> Like "oh you should fix it yourself if you don't like the researcher reporting it AND NOT FIXING IT"
1262: [23:16:14] <ss23> idek
1263: [23:16:15] <simon_w> The blog post wasn't from the initial (Ingo) reporter
1264: [23:17:11] <simon_w> And it's like none of them read my post. The flush is rather different from a cache flush.
1265: [23:19:10] <simon_w> I guess no one wants to find out why you can do things before arguing about it
1266: [23:23:03] * aquaman enjoys watching the trolling
1267: [23:24:43] * guci0 quit (Ping timeout: 250 seconds)
1268: [23:25:58] <metanat> Just using SilverStripe in general opens up to DOS if using apache + mod_php
1269: [23:26:57] <metanat> I love silverstripe, but that is just the reality of using mod_php + something that uses ~20MB of ram per request
1270: [23:27:13] * simon_w sighs
1271: [23:27:17] <metanat> and 20MB is like the minimum
1272: [23:27:37] <metanat> And I have seen it happen with my own eyes. no flush needed :)
1273: [23:28:44] <metanat> Part of the reason I have been working to reduce memory usage in silverstripe, in particular on flush...
1274: [23:30:22] * catcherdev quit (Quit: Leaving)
1275: [23:30:39] <simon_w> And that has nothing at all to do with running it through mod_php
1276: [23:31:05] <metanat> php-fpm handles it a lot better
1277: [23:31:22] <simon_w> Oh good, I needed a laugh
1278: [23:31:42] <metanat> At least you can make it so your server doesn't entirely all over :)
1279: [23:31:43] <lewellyn> i wonder if anyone's taken the time to make the fpm sapi compile on windows yet.
1280: [23:32:00] <lewellyn> (completely tangential thought.)
1281: [23:33:50] * howardgrigg has joined #silverstripe
1282: [23:33:54] <metanat> fall over.
1283: [23:34:01] <metanat> simon_w: If you disagree can you explain why?
1284: [23:34:12] * swordsmanz quit (Ping timeout: 268 seconds)
1285: [23:36:11] <Pyromanik> 11:15 <@ss23> OMG RAAAGE
1286: [23:36:17] <Pyromanik> dafuq is going on in here?
1287: [23:36:33] * spronk has joined #silverstripe
1288: [23:37:04] <Pyromanik> metanat: mod_php is faster at processing php.
1289: [23:38:27] <metanat> Pyromanik: Oh okay, do you have benchmarks? My benchmarking has shown the opposite for php-fpm. Maybe I am doing something wrong
1290: [23:38:36] <ss23> Pyromanik: The nzphpug group
1291: [23:38:40] <ss23> So retarded
1292: [23:38:50] <ss23> this hugh guy.
1293: [23:38:52] <metanat> Pyromanik: Though, I am not using fpm in production
1294: [23:39:42] <lewellyn> Pyromanik: i've seen tests both ways. for production loads, in the real world, it seems that if you aren't using apache-specific features you get a better result from using php-fpm with a different httpd.
1295: [23:39:44] <Pyromanik> 11:06 <@simon_w> ss23, I do like the person that pretty much said "The government should've used Drupal instead" - because drupalites so SO butthurt :F
1296: [23:40:09] <metanat> Pyromanik: The issue I have seen with apache + mod_php is that if you don't use a separate server for static content upping the max connections + the php memory limit poses a DOS risk
1297: [23:40:12] <lewellyn> Pyromanik: i've also seen people move their stuff to iis + php for an improvement versus apache + mod_php, but that's apples to oranges.
1298: [23:40:15] <micmania1> I just read it. Bloggers eh..
1299: [23:40:55] <micmania1> micmania1 • a minute ago −
1300: [23:40:55] <micmania1> Have you fixed this yet?
1301: [23:41:03] <micmania1> Short and sweet lol
1302: [23:41:12] <ss23> This hugh guy...
1303: [23:41:20] <Pyromanik> drupalite right?
1304: [23:41:26] <Pyromanik> he's just super duper butthurt
1305: [23:41:48] <Pyromanik> because he invested all his energy in an inferior system.
1306: [23:41:55] <Pyromanik> and doesn't want to re-educate.
1307: [23:42:04] <Pyromanik> even though it'll be easy.
1308: [23:42:14] <Pyromanik> like all the 'web devs' that use wordderp
1309: [23:42:35] <ajmitch> http://www.meetup.com/OWASP-New-Zealand-Chapter/members/45676402/
1310: [23:42:40] <ajmitch> seems to work in the security field
1311: [23:42:50] <ss23> his "the researcher shouldn't have to fix! Oh you are talking about the bug? YOU SHOULD FIX!"
1312: [23:43:31] <Pyromanik> ss23: so ?flush=1 is a security risk because of the extra work the system does which poses a DOS attack thread right?
1313: [23:43:39] <ajmitch> I didn't see any suggestions from him about using drupal, but from someone else
1314: [23:43:44] <ss23> Yeah, Pyromanik
1315: [23:43:46] <Pyromanik> there's no escalation vector or anything
1316: [23:43:48] * robert___ has joined #silverstripe
1317: [23:43:48] * robert___ quit (Changing host)
1318: [23:43:48] * robert___ has joined #silverstripe
1319: [23:43:51] <ss23> Pyromanik: It's a valid report, but omg this is a lot of shit about everything
1320: [23:43:56] <ss23> Pyromanik: Yeah, it's minor
1321: [23:44:00] <Pyromanik> yeah
1322: [23:44:01] <ss23> Lets face it, Silverstripe is a DoS vector...
1323: [23:44:03] <Pyromanik> so storm in a teacup
1324: [23:44:07] <ss23> lol
1325: [23:44:19] <lewellyn> hm. i should play that while my routing is wonky.
1326: [23:44:23] <Pyromanik> ss23: lets face it, PHP is a DoS vector. If the govt. had gone with something secure like Ruby...
1327: [23:44:25] <lewellyn> good idea, Pyromanik ;)
1328: [23:44:27] <metanat> ss23: That is what I was saying. But of course it doesn't stop me from using SS
1329: [23:44:28] <ss23> hahhhahaha Pyromanik XD
1330: [23:44:33] <Pyromanik> ss23: post it.
1331: [23:44:35] <Pyromanik> POST IT.
1332: [23:44:46] <lewellyn> ss23: don't forget the rails part.
1333: [23:44:55] <ss23> metanat: Did you post on the list?
1334: [23:45:13] <Pyromanik> 11:44 < lewellyn> good idea, Pyromanik ;)
1335: [23:45:14] <Pyromanik> ??
1336: [23:45:15] <ss23> Pyromanik: sent
1337: [23:45:16] <ss23> inb4banned
1338: [23:45:24] * robert_ quit (Ping timeout: 245 seconds)
1339: [23:45:25] <Pyromanik> xD
1340: [23:45:27] <lewellyn> Pyromanik: there's a game called Storm in a Teacup
1341: [23:45:35] <Pyromanik> lewellyn: ah. sounds funky
1342: [23:45:39] <Pyromanik> ss23: linky?
1343: [23:45:40] <lewellyn> it is.
1344: [23:46:13] <lewellyn> but i can't do much useful atm since a local datacenter is having issues.
1345: [23:47:02] <Pyromanik> wow, must be taht totally insecure sivlerstripe causing all that trouble.
1346: [23:47:08] <metanat> ss23: Nope. Im staying out of that. Just makes me angry
1347: [23:47:13] <Pyromanik> someoen must be flush attacking.
1348: [23:47:38] <lewellyn> Pyromanik: probably! and i have it over ipv6! so i must have broken the router with it!
1349: [23:47:59] <ajmitch> ipv6 is a myth, noone uses it
1350: [23:48:01] <Pyromanik> metanat: narrow minded people make me angry. Me on the other hand, I just hate Ruby for no real logical reason, other than that railsfanbois are some of the most obnoxious on the internets.
1351: [23:48:12] <metanat> Pyromanik: haha
1352: [23:48:42] <Pyromanik> but then if the govt had picked some RoR cms I'd have lol'd, but not been butthurt.
1353: [23:48:46] <metanat> same goes for php fanoys
1354: [23:48:47] <Pyromanik> UNLIKE DRUPAL.
1355: [23:48:54] <ss23> metanat: Fair enough, it makes me angry too
1356: [23:48:57] <ss23> Pyromanik: idk if they have it open
1357: [23:49:00] <Pyromanik> metanat: same goes for *fanbois.
1358: [23:49:12] <ss23> It's not.
1359: [23:49:13] <ss23> PHP as a programming language from this perspective is not better or worse than Ruby.
1360: [23:49:14] <metanat> fanoys, because they are fucking annoying
1361: [23:49:16] <ss23> How you use it matters.
1362: [23:49:18] <ss23> XD
1363: [23:49:26] <Pyromanik> ss23: yeh.
1364: [23:49:30] <Pyromanik> exactly.
1365: [23:50:01] <ss23> I was hoping for a more violent response
1366: [23:50:25] <ss23> https://groups.google.com/d/forum/nzphpug
1367: [23:50:31] <ss23> (39) at the moment
1368: [23:51:24] <Pyromanik> ROFL "looking for SVG developer"
1369: [23:54:38] <spronk> c z x eesh
1370: [23:54:48] <Pyromanik> ??
1371: [23:54:52] <Pyromanik> tar?
1372: [23:55:41] <metanat> ss23: I don't think the person got the joke
1373: [23:55:47] * zippy__ quit (Ping timeout: 268 seconds)
1374: [23:56:09] <spronk> also, LOLDRUPAL
1375: [23:59:10] * mirrors has joined #silverstripe
1376: [23:59:59] * dollar_dad has joined #silverstripe

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