#silverstripe IRC Log

IRC log for 3 July 2013

All timestamps are in UTC.

1: [00:00:06] <simon_w> Hmm, not doing work for SS. Can leave time tracker on over lunch :D
2: [00:00:17] <ss23> lol
3: [00:02:52] <spronk> lool
4: [00:04:01] <ss23> simon_w: Are you coming now? :O
5: [00:04:17] <simon_w> ss23, I suppose I should
6: [00:04:51] <simon_w> and then fix the logs
7: [00:05:04] <simon_w> ss23, 3 minutes
8: [00:05:12] <ss23> sweet
9: [00:05:22] <ss23> Time to commit this and release this change to production! :P
10: [00:05:42] * zippy__ quit (Quit: zippy__)
11: [00:10:34] * Bollig|DesignCty has joined #silverstripe
12: [00:12:33] <Pyromanik> oh shit
13: [00:12:46] <Pyromanik> I have a feeling that git is going to munge the CRLFs
14: [00:17:46] <spronk> YAY FOR GIT
15: [00:17:47] <spronk> :(
16: [00:20:02] * LoveDuckie quit ()
17: [00:22:27] * DigNZ quit (Quit: DigNZ)
18: [00:25:46] * Kapdap quit (Remote host closed the connection)
19: [00:28:42] <spronk> ohhhhh my fucking gooodddd
20: [00:29:43] <spronk> subsites
21: [00:29:46] <spronk> can suck my fat black cock
22: [00:31:04] * lewellyn raises an eyebrow
23: [00:31:47] <spronk> actually in this case it's more VirtualPage
24: [00:31:50] <spronk> and subsite's reliance on it
25: [00:33:58] <spronk> virtualpage doesn't call the record's original controller's init() method
26: [00:34:09] <spronk> so custom requirements don't get loaded
27: [00:34:24] <spronk> even though it attempts to __call() any other fucking method from the original controller
28: [00:35:41] * Colin[pi] has joined #silverstripe
29: [00:35:58] <Colin[pi]> does this site look completely foobared for anyone else, or is it just me? http://www.stgeorge.com.au/
30: [00:36:19] <spronk> looks ok to me
31: [00:36:24] <spronk> in opera/chrome
32: [00:37:16] <Colin[pi]> this is what I see in firefox: http://i.imgur.com/YDsCfSu.png
33: [00:37:32] <spronk> looks fine in ff22 for me
34: [00:37:51] <spronk> ISP cache?
35: [00:37:56] <spronk> try like
36: [00:38:04] <spronk> ?y=1 on the end of the url
37: [00:38:07] <Colin[pi]> I get the same thing in Chrome :\
38: [00:38:09] <spronk> then try loading stylesheets individually
39: [00:38:53] <Colin[pi]> eh I'll try later, not my site :D
40: [00:40:02] <ss23> if simon_w doesn't say anything in 5 seconds ss23 rules
41: [00:40:18] * RojoD quit (Ping timeout: 248 seconds)
42: [00:40:46] <ss23> Colin[pi]: CANNOT REPRODUCE
43: [00:40:51] * ss23 closes Colin[pi]'s request WORKSFORME;
44: [00:41:08] <Colin[pi]> we're all glad you cannot reproduce
45: [00:41:09] <Colin[pi]> :D
46: [00:42:35] * Jayden90 has joined #silverstripe
47: [00:43:33] * kerosene quit (Ping timeout: 256 seconds)
48: [00:43:43] <simon_w> Switched to 5 seconds now?
49: [00:44:03] <ss23> lol
50: [00:44:04] <ss23> :D
51: [00:44:16] <ss23> Does ArrayList have something like $foo->removeYourselfFromTheArrayListPlease();
52: [00:44:23] <ss23> where foreach (
53: [00:44:27] <ss23> where foreach ($bars as $foo) { etc
54: [00:44:48] <ss23> Or just do foreach ($bars as $k => $v) unsert($bars[$k])?
55: [00:44:59] <simon_w> $list->remove($item);
56: [00:45:11] <ss23> I thought that too
57: [00:45:14] <ss23> well
58: [00:45:15] <ss23> no I didn't
59: [00:45:18] <ss23> Hmm
60: [00:46:08] <ss23> well fuck.
61: [00:46:10] <Colin[pi]> api, do you read it?
62: [00:46:13] <ss23> We thought we found the bug
63: [00:46:30] <ss23> We thougt foo->remove was like deleting the page, like it was bubbling down to $page->delete()
64: [00:46:34] <ss23> BUT IF IT'S NOT
65: [00:46:35] <ss23> then fuck
66: [00:46:36] <ss23> the police
67: [00:46:49] <simon_w> That only happens on DataList
68: [00:46:58] * DigNZ has joined #silverstripe
69: [00:46:59] * DigNZ quit (Remote host closed the connection)
70: [00:47:11] <ss23> Hmm
71: [00:47:13] * DigNZ has joined #silverstripe
72: [00:47:16] <ss23> This is PRogrammeArePage::get();
73: [00:47:18] <ss23> then foreach that
74: [00:47:20] <ss23> DOES IT HAPPEN THERE?
75: [00:47:31] <simon_w> Well, that's a DataList
76: [00:47:37] <ss23> AHA
77: [00:47:38] <ss23> I KNEW IT
78: [00:47:43] <ss23> So I was wrong!
79: [00:47:43] <ss23> Twice
80: [00:47:59] <ss23> New question
81: [00:48:11] <ss23> Is there like a DataList->removeyourselfformthedatalistwithoutdeletingyourself
82: [00:48:25] <simon_w> No
83: [00:48:28] <ss23> mmk
84: [00:48:35] <ss23> Can I do unset() on it instead?
85: [00:48:37] <simon_w> The closest is ->exclude('ID', $item->ID)
86: [00:48:39] <simon_w> No
87: [00:48:46] * EasyCo has joined #silverstripe
88: [00:48:46] <ss23> hmmmm, kk
89: [00:48:53] <ss23> Won't hurt too much if I just leave it in
90: [00:48:55] <simon_w> DataList is backed by the database, not an array
91: [00:49:38] * UncleCheese has joined #silverstripe
92: [00:50:02] <EasyCo> hey guys, can you create folders in the template/Includes folder and reference them In templates and using renderWith()?
93: [00:50:10] <EasyCo> For SS 3.0.5 that is
94: [00:51:12] <spronk> ugh
95: [00:51:13] <spronk> subsites
96: [00:51:16] <spronk> and filter on ClassId
97: [00:51:18] <spronk> ClassName
98: [00:51:19] <spronk> NO WORKIES
99: [00:51:25] <simon_w> EasyCo, yes
100: [00:51:34] * zippy__ has joined #silverstripe
101: [00:51:41] <simon_w> spronk, 3.1?
102: [00:51:58] <spronk> ja
103: [00:51:59] <EasyCo> Does it crawl automatically or do you have to reference the folder? includesubfolder/myTpl
104: [00:52:14] <spronk> it's because the children aare virtual pages
105: [00:52:18] <spronk> so it doesn't find em
106: [00:52:20] <spronk> :<
107: [00:52:22] <simon_w> spronk, https://github.com/silverstripe/silverstripe-framework/pull/2175
108: [00:52:36] <simon_w> EasyCo, should do it automatically
109: [00:52:42] <EasyCo> thx
110: [00:52:50] * UncleCheese quit (Client Quit)
111: [00:52:54] <spronk> oo
112: [00:52:54] <spronk> chur
113: [00:52:56] <Jayden90> Guys is it possible to get php includes into the tiny mce editor, via shortodes or something? I have some complex hand-coded and interactive figures to add around the place
114: [00:53:26] <ss23> lol simon_w, brutal
115: [00:53:28] <simon_w> Jayden90, yes, using short codes
116: [00:53:33] <ss23> Lots of "SLIGHTLY INCORRECT STANDARDS"
117: [00:53:34] <ss23> :P
118: [00:53:45] <simon_w> ss23, Ingo would be proud! :p
119: [00:53:50] <ss23> XD
120: [00:54:07] <simon_w> Oh right, fix the logs
121: [00:54:24] <simon_w> Yay, my ssh_config's the right one!
122: [00:55:01] <Jayden90> simon_w: is there a common implimentation, or plugin or tutorial that you know of to do this?
123: [00:55:28] <ss23> IMO ArrayList should've used ->unset(), just to prevent this confusino
124: [00:55:52] <simon_w> Jayden90, http://doc.silverstripe.org/framework/en/topics/shortcodes
125: [00:56:04] <simon_w> though it's changed slightly in 3.1 (http://doc.silverstripe.org/framework/en/3.1/reference/shortcodes)
126: [00:58:05] <simon_w> ss23, also, the button's yellow. It should be green.
127: [00:58:10] * Marvanni quit (Ping timeout: 343 seconds)
128: [00:58:19] <Jayden90> simon_w: Thanks, reading up
129: [00:58:36] <ss23> simon_w: I can't see buttons for silverstripe-framework (if it was the merge button)
130: [00:58:56] * Marvanni has joined #silverstripe
131: [00:58:57] <simon_w> ss23, I know, and it's going to stay like that for some time
132: [00:59:23] <ss23> brb getting sminnee to add me to it
133: [00:59:28] <ss23> :D
134: [00:59:40] <simon_w> Ahahahahahahaha
135: [00:59:56] * ss23 waits for this deploy
136: [00:59:58] * robert__ has joined #silverstripe
137: [00:59:59] * robert__ quit (Changing host)
138: [00:59:59] * robert__ has joined #silverstripe
139: [01:00:23] <simon_w> Mateusz has been with SS Ltd for 3 years and only just got access
140: [01:00:45] * simon_w adds seconds to the log timestamps
141: [01:01:24] <ss23> lol, I did see that
142: [01:01:50] * robert_ quit (Ping timeout: 246 seconds)
143: [01:03:00] <simon_w> And now lines at the same second should have different IDs too
144: [01:03:14] <simon_w> Hmm, I'll just stop using the time for them
145: [01:03:39] * UncleCheese has joined #silverstripe
146: [01:03:56] * Motoservo_ has joined #silverstripe
147: [01:04:03] * MrJeremy1 has joined #silverstripe
148: [01:05:57] * DesignCity has joined #silverstripe
149: [01:06:52] * simon_w could add search to the logs tonight!
150: [01:07:03] <Colin[pi]> omg
151: [01:07:40] <Colin[pi]> my internet is running like arse today
152: [01:07:42] <Colin[pi]> so slow
153: [01:07:48] <Colin[pi]> come on NBN...
154: [01:08:09] * UncleCheese quit (Client Quit)
155: [01:11:23] * Bollig|DesignCty quit (*.net *.split)
156: [01:11:23] * MrJeremy quit (*.net *.split)
157: [01:11:23] * Motoservo quit (*.net *.split)
158: [01:11:24] * lietzmk__ quit (*.net *.split)
159: [01:11:25] * DesignCity is now known as Bollig|DesignCty
160: [01:11:26] * Motoservo_ is now known as Motoservo
161: [01:13:14] * lietzmk__ has joined #silverstripe
162: [01:13:46] <spronk> oh wow
163: [01:13:58] <spronk> virtualpages and AllChildren() doesn't work
164: [01:14:19] <spronk> puts in parent id as the id of the target page, not itself
165: [01:14:50] <Pyromanik> bugs!
166: [01:15:04] <simon_w> In pages that don't really exist!
167: [01:15:17] <spronk> this is unusably bad
168: [01:16:02] <Jayden90> simon_w: on the toppic of shortcodes, where do you put "ShortcodeParser::get('default')->register…"
169: [01:16:09] <Jayden90> in _config?
170: [01:16:15] <simon_w> Jayden90, yup
171: [01:21:18] <spronk> how do people build multi-country sites in silverstripe? seriously?
172: [01:21:28] * robert__ is now known as robert_
173: [01:22:40] * omgsharks has joined #silverstripe
174: [01:22:51] <ss23> Woah, someone made a live action versino of one of my KSP launches!
175: [01:22:52] <ss23> https://www.youtube.com/watch?v=Zl12dXYcUTo
176: [01:25:33] <irogue> spronk: what are "multi-country sites"? :-P
177: [01:25:58] <spronk> one SS install, one database, sharing some pages, unique others, sharing same auth/users db
178: [01:26:33] <irogue> i know, hence the :-P
179: [01:26:34] <irogue> ;)
180: [01:26:42] <irogue> i just mean... i've never had to make one
181: [01:27:56] * spronk cries
182: [01:29:17] * Kapdap has joined #silverstripe
183: [01:29:49] * AlphaCactus_ has joined #silverstripe
184: [01:30:12] <ss23> Support request - "Signed that *subsite* is not seperate from *mainsite*"
185: [01:30:15] <ss23> When should we tell her?
186: [01:31:17] * Pyromanik quit (Remote host closed the connection)
187: [01:31:27] <spronk> o_O
188: [01:31:30] * AlphaCactus quit (Ping timeout: 256 seconds)
189: [01:31:32] * Pyromanik has joined #silverstripe
190: [01:31:44] * AlphaCactus_ is now known as AlphaCactus
191: [01:31:57] <ss23> Also, guys, has there been a regression lately that prevents people loggin in? simon_w?
192: [01:32:03] <ss23> As in, type username/password, and just erloads the main form
193: [01:32:36] <Jayden90> simon_w: this page is pretty badly broken, whole paragraphs are swallowed by broken links http://doc.silverstripe.org/framework/en/topics/shortcodes
194: [01:33:12] <simon_w> ss23, not that I'm aware of
195: [01:33:33] <Pyromanik> ss23: that happens when you do it wrong.
196: [01:33:43] <Pyromanik> esp. with 2.4
197: [01:33:44] <ss23> No, when you do it wrong you get the form saying "incorrect password"
198: [01:33:51] <spronk> ffs
199: [01:33:51] <ss23> Noticed it on 2 sites so far, latest 3.0.dev iirc
200: [01:33:53] <Pyromanik> nope
201: [01:33:54] <ss23> might be 3.1.dev
202: [01:33:57] <ss23> Will investigate soon anyway
203: [01:33:58] <Pyromanik> oh right
204: [01:34:16] <Pyromanik> kk, so like can I force a template to \r\n insetad of just \n?
205: [01:34:41] <ss23> Doesn't it use whatever line endings you've put in the file?
206: [01:34:47] <Pyromanik> yep :(
207: [01:35:02] <Pyromanik> but I'm about 100% sure that git is going to strip \r\n and replace with \n
208: [01:35:11] <ss23> Pyromanik: There's a setting for that
209: [01:35:17] <Pyromanik> ss23: I'm aware :(
210: [01:35:32] <Pyromanik> I want that for every file except this one
211: [01:35:36] <ss23> lol, I see
212: [01:35:44] <Pyromanik> because \r can go DIAF, but spec requires it.
213: [01:35:49] <ss23> lol
214: [01:35:51] <Pyromanik> I want to use templates, but it's looking harder and harder.
215: [01:36:25] <simon_w> Jayden90, bah, that's a problem with the docs viewer. https://github.com/silverstripe/silverstripe-framework/blob/3.0/docs/en/topics/shortcodes.md should be mostly the same, minus some prettier formatting that gets added
216: [01:36:48] * Peavers quit ()
217: [01:37:11] <simon_w> Pyromanik, but that requires per-file metadata! Have fun :p
218: [01:37:58] <simon_w> Pyromanik, also, SVN :p
219: [01:38:34] <spronk> sigh
220: [01:38:37] <spronk> git is fucking stupid
221: [01:39:54] <ss23> Pyromanik: Set it to "don't fuck with my line endings" mode?
222: [01:40:34] <spronk> how the fuck can i get subsites virtual pages to get their *own* Children
223: [01:43:26] <ss23> Karma police, arrest this spronk
224: [01:43:31] <spronk> simon_w: whereabouts is Children() defined?
225: [01:44:13] <ss23> This is what you get when you mess with 3.*-dev
226: [01:44:25] <spronk> o_O
227: [01:44:33] <ss23> simon_w: You have issues with zendesk just not loading your crap? Cause I do and it's *annoying*
228: [01:45:41] <simon_w> spronk, Hierarchy
229: [01:45:44] <simon_w> ss23, nope
230: [01:46:24] <spronk> ah
231: [01:46:24] <spronk> fucki
232: [01:46:32] <spronk> so, of course it doesn't work with virtualpages
233: [01:46:43] * Peavers has joined #silverstripe
234: [01:46:45] <Peavers> Folks.
235: [01:47:02] <simon_w> Peavers.
236: [01:47:19] <ss23> ss23s!
237: [01:47:33] <Peavers> ss23, don't you have tickets to do?
238: [01:47:37] <ss23> I'm doing them
239: [01:47:38] <ss23> *sigh*
240: [01:47:42] <ss23> I'm dealing with the worst client
241: [01:47:47] <ss23> After millions of "do this"
242: [01:47:50] <ss23> "k don't launch this wait"
243: [01:47:54] <ss23> "launch this one instead"
244: [01:48:04] <Pyromanik> if I want the base domain, but not the base href, what do?
245: [01:48:04] <ss23> the git is in a fucked up state (sane and working, but... confusing as shit to look at)
246: [01:48:19] <ss23> going through all the tickets, she's like "THIS ONE ISN't IN STAGING ANYMORE"
247: [01:48:25] <ss23> YEAH CAUSE YOU MADE US TAKE IT OUT, FML
248: [01:49:34] <Pyromanik> ss23: welcome to web dev
249: [01:49:58] <Pyromanik> 13:37 < spronk> git is fucking stupid
250: [01:50:04] <Pyromanik> that is actually exactly why it's called git.
251: [01:50:08] <ss23> I think git is actually saving us here
252: [01:50:08] <spronk> :D
253: [01:50:21] <ss23> I agree it can be stupid, but in this case, I think I totally see why linus wants it
254: [01:50:25] <ss23> because clients are stupid
255: [01:50:27] <Pyromanik> so anyway, I want base url without http:// and trailing /
256: [01:50:28] <ss23> and I imagine kernel dev is much the same
257: [01:50:36] <ss23> so he just wants some fucked up thing that will handle the abuse and let you be stupid
258: [01:50:46] <Pyromanik> basically, I want $HTTP_HOST in templates
259: [01:50:47] <Pyromanik> what do?
260: [01:50:49] <Jayden90> simon_w: Any tips for using a shortcode to include custom html graphics? No luck trying standard PHP file_get_contents() using a url contaned in the shotcode
261: [01:51:00] <spronk> Pyromanik: write a method to output it?
262: [01:51:14] <Pyromanik> spronk: yeah, but was hoping there was something already.
263: [01:51:18] <ss23> Jayden90: return "<img src='$url' />";?
264: [01:51:29] <ss23> Jayden90: You should be able to file_get_contents it if its' public too, but that's a lot more work
265: [01:52:39] <Pyromanik> html graphics?
266: [01:52:45] <Pyromanik> plz define.
267: [01:52:52] <Jayden90> ss23: Its <figure> tags containing all sorts of custom coded css3 animated stuff.
268: [01:53:13] * simon_w quit (Ping timeout: 260 seconds)
269: [01:54:07] <Jayden90> I am trying to access corresponding .hml files in a folder I have set up in mysite
270: [01:54:40] <Peavers> access as link to? or..?
271: [01:54:47] <Jayden90> file_get_contents() cant find the files there. not sure the exact url string to use
272: [01:55:03] * coldblooded01 quit (Ping timeout: 248 seconds)
273: [01:55:09] <Jayden90> ShortcodeParser::get('default')->register('include', function($arguments, $location, $parser, $shortcode) {
274: [01:56:01] <spronk> anyone got any ideas on how to get virtualpages to return their own Children?
275: [01:56:31] <Pyromanik> Jayden90: because file get contents doesn't use a URL
276: [01:56:33] <Pyromanik> ?
277: [01:56:35] <ss23> Jayden90: Use a pastebin
278: [01:56:40] <ss23> Pyromanik: It can
279: [01:56:53] <Pyromanik> it can, but shouldn't when it's not accessable.
280: [01:57:05] <Pyromanik> and also shoudln't when it's on the same server.
281: [01:57:07] <ss23> Well... when not accessible?
282: [01:57:16] <Pyromanik> web server accessable
283: [01:57:31] <Pyromanik> why would you launch a curl request when you can just directly access the file system?
284: [01:57:41] <ss23> Who said it was local huh?!
285: [01:57:48] <Pyromanik> Jayden90 did.
286: [01:58:05] <Jayden90> not realy sure of the callback function arguments on register(), the documentation example is not obveouse to me
287: [01:59:04] <Pyromanik> link
288: [01:59:04] <Pyromanik> ?
289: [01:59:09] * omgsharks quit (Quit: Page closed)
290: [01:59:10] <Jayden90> Here: https://github.com/silverstripe/silverstripe-framework/blob/3.0/docs/en/topics/shortcodes.md
291: [01:59:40] <Pyromanik> hmm, php closures.
292: [01:59:47] <Pyromanik> does it have to be?
293: [01:59:48] <ss23> You can do it with any kind of function
294: [01:59:50] * irogue quit (Ping timeout: 256 seconds)
295: [01:59:58] <Pyromanik> generally one puts a static callback in there.
296: [02:01:43] * simon_w has joined #silverstripe
297: [02:01:51] <Pyromanik> Jayden90: https://github.com/silverstripe/silverstripe-cms/blob/3.1/_config.php#L13
298: [02:03:14] <Jayden90> Pyromanik: Thats just a link though right? not an "include"?
299: [02:05:50] * coldblooded01 has joined #silverstripe
300: [02:06:10] <simon_w> Jayden90, file_get_contents(BASE_PATH . '/mysite/whatever/file.html')
301: [02:06:37] <simon_w> Pyromanik, $_SERVER['HTTP_HOST']
302: [02:06:39] * irogue has joined #silverstripe
303: [02:07:01] <Pyromanik> simon_w: yeah, I was just hoping there was something already exposed in template level
304: [02:07:24] <Pyromanik> Jayden90: that's how one registers a shortcode parser.
305: [02:07:26] <Jayden90> YAAAY! working :D
306: [02:08:08] <simon_w> Pyromanik, you can use any valid callback when registering one
307: [02:08:32] <Jayden90> Thanks guys for you help. This seems a bit hacky, I am sure there could be a better way to include custom coded content in specific places in the TinyMCE editor.
308: [02:11:32] <simon_w> So, turns out Dock on 10.9 isn't too happy if you kill it
309: [02:11:33] <spronk> omfg
310: [02:11:40] <spronk> if i ever ask about multi country sites again
311: [02:11:44] <spronk> remind me never, ever, ever, ever, ever to use subsites
312: [02:13:38] <ss23> oh yay, 21 tickets now
313: [02:13:46] <ss23> Pretty sure this has gone up in the 4 hours I've been working
314: [02:13:47] <ss23> yay.
315: [02:13:49] <simon_w> That's the bus route I used to take home!
316: [02:13:53] <ss23> ;_;
317: [02:13:58] <ss23> I take 1 home often
318: [02:14:01] <ss23> So lets hope I get it to 1!
319: [02:14:08] <simon_w> I now take the 3
320: [02:14:19] <simon_w> I even took the 3W once. You should get to that.
321: [02:15:43] <Pyromanik> simon_w: I know. Was just stating what I thought to be 'the norm'
322: [02:22:12] * Peavers has left #silverstripe
323: [02:23:05] * Peavers has joined #silverstripe
324: [02:25:10] <ss23> simon_w: How do I get the 3W?
325: [02:25:33] <simon_w> ss23, you catch it during peak times
326: [02:26:13] <ss23> Ah k so if I ever see a W I can catch that too, simon_w?
327: [02:26:22] <simon_w> Nope
328: [02:26:34] <simon_w> Courtenay Place to Karori West
329: [02:26:53] <simon_w> But you should get your ticket number down to 3W :p
330: [02:28:29] <ss23> lol
331: [02:28:32] <ss23> How do I get a W!
332: [02:28:41] <Peavers> I've got a W
333: [02:29:11] <simon_w> I've got a W!
334: [02:29:19] <ss23> http://api.silverstripe.org/3.0/source-class-AssetAdmin.html#301-314
335: [02:29:22] <ss23> Syntax highlighting messed up
336: [02:29:23] <ss23> uguu
337: [02:29:27] <simon_w> See, it's right there, next to my underscore
338: [02:29:31] <ss23> lol
339: [02:29:33] <ss23> ss23_w
340: [02:29:59] <simon_w> ha, can't handle heredocs
341: [02:30:18] <ss23> simon_w: Is there a reason for http://api.silverstripe.org/3.0/source-class-FileNameFilter.html#44
342: [02:30:25] <ss23> It's cuasing issues for a client who wnats to have a leading _
343: [02:30:33] <ss23> wondering if I can just pull request to remove it
344: [02:31:02] <simon_w> it's a public static, just unset it in your _config.php
345: [02:31:24] <ss23> Oh, that works, but annoying to have it there by default anyway
346: [02:31:34] <ss23> how to unset it?
347: [02:31:40] <ss23> oh I see
348: [02:31:41] <spronk> how the fuck am i going to do this if I can't nest virtual pages
349: [02:31:41] <ss23> that is the key
350: [02:32:02] <ss23> Rage against the spronk
351: [02:32:43] * swordsmanz quit (Ping timeout: 252 seconds)
352: [02:35:02] <Pyromanik> FFFFFFFFFFFFFF
353: [02:35:12] <Peavers> Most annoying thing about putty - open a new session and type the wrong name in, you've then got to restart the session from scratch. Drives me up the wall.
354: [02:35:28] <Pyromanik> chunk_split() puts an $end at string termination, whether it's at length or not.
355: [02:35:41] <Pyromanik> Peavers: get a virtual machine.
356: [02:35:56] <Peavers> How is a virtual machine going to help me?
357: [02:36:03] <Pyromanik> it's better than putty?
358: [02:36:07] <Peavers> hell no.
359: [02:36:16] <simon_w> Pyromanik, str_split() and implode()
360: [02:36:19] <Pyromanik> so then have a cup of wet cement.
361: [02:36:23] <Pyromanik> and harden up.
362: [02:36:26] <Peavers> Are you really suggesting using a console rather than putty? You're drunk.
363: [02:36:39] <spronk> putty is shit
364: [02:36:47] <Peavers> yes it is
365: [02:36:47] <spronk> one of the worst pieces of software i've used :P
366: [02:36:51] <Peavers> but so are console screens from a vm
367: [02:36:54] <simon_w> Terminal.app!
368: [02:36:59] <spronk> get xshell
369: [02:37:01] <Pyromanik> are you really suggesting a terminal emulator that drives you mad is better than using a terminal emulator that doesn't?
370: [02:37:21] <Peavers> can't cut/paste into a terminal on a vm
371: [02:37:25] <Pyromanik> umm
372: [02:37:29] <Pyromanik> what do you think I do all day>?
373: [02:37:31] <simon_w> Doing it wrong!
374: [02:37:35] <spronk> yeah...
375: [02:37:35] <Pyromanik> ROFL
376: [02:37:38] <spronk> run x
377: [02:37:38] <Pyromanik> well wrong.
378: [02:37:55] <Pyromanik> hell, you could even install KDE for windows.
379: [02:38:00] <Pyromanik> if you really wantede to
380: [02:38:08] <Pyromanik> or run cygwin
381: [02:38:11] <Pyromanik> or something else terrib.e
382: [02:38:15] <MrJeremy1> what about x11
383: [02:38:26] <Pyromanik> x11 is bad.
384: [02:38:30] <MrJeremy1> lol
385: [02:38:55] <spronk> srs tho
386: [02:38:58] <spronk> xshell, secureCRT
387: [02:39:08] <spronk> even ZOC is worth a look
388: [02:39:12] <Peavers> installing xshell now
389: [02:39:29] <ss23> rofl, a client says "have you fixed #foo"... I'm like "#foo is marked as solved, can you clarify?" so she posts a comment on #foo opening it again saying "Yes, this is solved"
390: [02:39:35] <ss23> OH CLIENTS
391: [02:39:46] <MrJeremy1> lol
392: [02:40:04] <simon_w> The thing about Zendesk that really annoys me is "thank you" replies reopen the ticket and I have to go close it again
393: [02:40:06] <spronk> bro
394: [02:40:11] <spronk> you have luxury clients
395: [02:40:23] <spronk> half the clients i've encountered wouldn't have a fucking clue how to use a bug tracker
396: [02:40:29] <ss23> lol yeah, simon_w. Another thing is if you have a Pending ticket and a client responds, you get two emails. One for "THEY RESPONDED" and another for "IT'S NOW OPEN AGAIN"
397: [02:40:32] <ss23> hahaha spronk
398: [02:40:39] <ss23> :q
399: [02:40:41] <ss23> fff
400: [02:42:51] <ss23> simon_w: FUCKING FUCK
401: [02:43:01] <simon_w> ss23, did it wrong!
402: [02:43:05] <ss23> simon_w: No I can't, because after the fliter is applied, there's more exlicit code to say "YO DOES IT START WITH A _? REMOVE IT"
403: [02:43:08] <ss23> omg.
404: [02:43:09] <ss23> idek.
405: [02:43:13] <ss23> I'm typing hard on my keyboard right now
406: [02:43:16] <ss23> like IDEK
407: [02:43:21] <ss23> took 5 seconds to type cause pressing each one hard
408: [02:43:23] <ss23> FUCK
409: [02:43:34] <simon_w> All the swears!
410: [02:43:42] <ss23> SO MANY SWEARS
411: [02:43:43] <simon_w> It's like you're a mini-spronk
412: [02:43:50] <ss23> lol
413: [02:43:52] <ss23> Come on, I'm not THAT bad
414: [02:43:59] <mobiusnz> 
415: [02:44:00] <mobiusnz> waldojaquith
416: [02:44:00] <mobiusnz> Wait, PHP seriously supports emoji, at least on Mac OS X. Check out this ridiculous, entirely functional code. http://t.co/OqlTnq8BIS
417: [02:44:00] <mobiusnz> https://twitter.com/reneestephen/status/352255834811666432
418: [02:44:43] <simon_w> mobiusnz, yeah, you can UTF your function names all you want
419: [02:45:03] <ss23> It's not explciit support, PHP is just not Multibyte aware, mobiusnz
420: [02:45:07] <simon_w> It just might start breaking at undetermined points in the future ;)
421: [02:45:14] <ss23> lol
422: [02:45:15] <mobiusnz> is emoji part of utf?
423: [02:45:27] <ss23> mobiusnz: Even if it wasn't, it would work
424: [02:45:40] <ss23> Basically as long as it doesn't contain the ascii value for a special char, it'll work
425: [02:45:51] <ss23> You could just be like 0x990x980x123 and it would all work fine
426: [02:46:04] <mobiusnz> neat
427: [02:46:50] <spronk> OK GUYS, i need a bright idea. subsites virtual pages don't work inside other subsites virtual pages (because Children() stops working, tries to get children of the target page, but hits the wrong subsite). So, I need a way to get a partial sitetree from another subsite to display in menus and work with Children().
428: [02:46:55] <ss23> simon_w: https://github.com/silverstripe/silverstripe-framework/blob/3.1/filesystem/Folder.php#L262 WHY WHY WHY
429: [02:47:08] <spronk> how else can i share a partial sitetree between two subsites!?
430: [02:47:44] * DigNZ quit (Quit: DigNZ)
431: [02:48:34] <Pyromanik> FFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUU
432: [02:48:37] <Pyromanik> dev site picks up GST
433: [02:48:41] <ss23> lol
434: [02:48:43] <Pyromanik> prod siet does not.
435: [02:48:46] <ss23> THE ENTIRE #SILVERSTRIPE IS NOW #SWEAR
436: [02:48:54] <ss23> #RAGEEEEEE
437: [02:48:56] <simon_w> ss23, my guess is because SS ignores files/folders in assets that start with a _
438: [02:49:00] <Pyromanik> #FULLMAD
439: [02:49:09] <ss23> simon_w: Oh, that makes sense
440: [02:49:11] <ss23> simon_w: Kind of
441: [02:49:25] <ss23> simon_w: It makes sense in a "oh whoever decided to use _ instead of . was stupid, but I can see why"
442: [02:49:31] <ss23> I would make a feature request for it
443: [02:50:00] <Pyromanik> WHERE IS MY GST!?
444: [02:50:05] * DigNZ has joined #silverstripe
445: [02:50:06] * DigNZ quit (Remote host closed the connection)
446: [02:50:20] * DigNZ has joined #silverstripe
447: [02:50:45] <unsignedint> Hey does anyone know if its possible to use a Redirector Page to redirect to a file on the same site, without typing out the full URL (so the proper URL can be dynamically generated)?
448: [02:50:46] <simon_w> Pyromanik, the government took it!
449: [02:50:52] <Pyromanik> hahaha
450: [02:50:54] <Pyromanik> n1
451: [02:50:56] <Peavers> used xshell for 15 seconds
452: [02:50:58] <simon_w> unsignedint, nope
453: [02:51:01] <Peavers> love xshell for live.
454: [02:51:09] <spronk> yes?
455: [02:51:10] <spronk> good.
456: [02:51:12] <Peavers> life even*
457: [02:51:18] <unsignedint> well thats a bummer, thanks anyway simon_w
458: [02:52:01] <simon_w> Open issue on https://github.com/silverstripe-labs/silverstripe-staticpublishqueue: "Does not support BSD server"
459: [02:52:51] <ss23> lol simon_w
460: [02:53:07] * UncleCheese has joined #silverstripe
461: [02:53:27] <simon_w> Doesn't support cron on OSX either
462: [02:53:34] <simon_w> So much for an accurate read me
463: [02:53:54] <Pyromanik> public function getShippingCountryCode() { return 'NZ'; }
464: [02:53:56] <Pyromanik> THERE
465: [02:53:57] <lewellyn> osx is kinda sorta a bsd ;)
466: [02:53:57] <Pyromanik> RIGHT THERE
467: [02:54:02] <Pyromanik> WHY FOR YOU NO GST!?
468: [02:54:20] <spronk> the only thing i can think of is doing some hax controller stuff, parsing the incoming URL and trying to find the same page on the other subsite.... but then, still don't have a solution for getting those pages into menuis
469: [02:54:40] <simon_w> lewellyn, https://github.com/silverstripe-labs/silverstripe-staticpublishqueue#requirements
470: [02:54:41] <Pyromanik> spronk: well obviously override Menu() on your Page.php
471: [02:54:43] <Pyromanik> duh
472: [02:54:45] <Pyromanik> :P
473: [02:54:57] <lewellyn> simon_w: it was a funny.
474: [02:55:08] <spronk> Pyromanik: hmm
475: [02:55:23] <spronk> this is going to take fucking ages
476: [02:57:15] <Pyromanik> yeh
477: [02:57:16] <Pyromanik> bl2u
478: [02:57:24] <Pyromanik> simon_w: I have a getBlahBlah as above
479: [02:57:26] <Pyromanik> in an extension
480: [02:57:27] <spronk> :<
481: [02:57:37] <Pyromanik> extension applied to correct class in both prod and dev
482: [02:57:43] <Pyromanik> works in dev, not in prod. what gives?
483: [02:57:50] <simon_w> Doesn't like you?
484: [02:57:55] <Pyromanik> apparently not :<
485: [03:02:24] <spronk> sigh
486: [03:02:38] <spronk> gonna have to tell client that it can't be done, because the modules are too severely broken to work properly
487: [03:03:56] <ss23> I hate that stuff, spronk :<
488: [03:04:04] <ss23> "Sorry, I can't do that..."
489: [03:04:14] <ss23> SORRY, I CAN'T LET YOU DO THAT spronk
490: [03:04:41] <spronk> ..?
491: [03:06:55] <spronk> so..
492: [03:07:29] * UncleCheese quit (Quit: UncleCheese)
493: [03:07:46] <spronk> So. Issues with subsites and virtual apges: VPages don't call their target controller's ::init(), so you have to load *all* requirements on the base Page class. This is bad.
494: [03:08:04] <spronk> 2. VPages don't work correctly if they are nested.
495: [03:10:12] * MrJeremy1 has left #silverstripe
496: [03:11:29] <spronk> 3. There are >6month old bugs in the github code preventing SS Virtual pages from working *at all*
497: [03:13:56] <irogue> who's the maintainer of subsites?
498: [03:14:20] <spronk> no idea
499: [03:14:32] <spronk> Maintainer(s): Kirk, Sam
500: [03:17:04] <ss23> I hear it's being rewritten ~(._.)~
501: [03:18:37] * UncleCheese has joined #silverstripe
502: [03:19:14] <ss23> UncleCheese: When do you get to NZ? :O
503: [03:19:46] * Jayden90 quit (Quit: Jayden90)
504: [03:20:30] <UncleCheese> In 13 hours and 40 minutes.
505: [03:22:26] <simon_w> That's about how long the flight takes
506: [03:23:23] <ss23> lol
507: [03:23:34] <ss23> UncleCheese: Wanna hit up some bars when you get here? pubcrawl tonight?
508: [03:23:56] <simon_w> ss23, there's not 13 hours left today :p
509: [03:24:07] <Peavers> I'm coming!
510: [03:24:08] <ss23> SCREW IT, WE'LL DO IT TOMORROW MORNING
511: [03:24:24] <ss23> Thursday 5am Silverstripe pubcrawl
512: [03:24:26] * ss23 checks the math
513: [03:24:32] <ss23> 4am*
514: [03:25:08] <simon_w> In Auckland?
515: [03:25:40] <ss23> Oh, is UncleCheese going to Auckland? ;_;
516: [03:25:48] <ss23> >move to NZ
517: [03:25:49] <simon_w> Well, his plane would be
518: [03:25:51] * joelpittet has joined #silverstripe
519: [03:25:54] <ss23> >go straight to worst city we have
520: [03:25:59] <Peavers> lol
521: [03:26:05] <simon_w> You asked about NZ, not Wellington :p
522: [03:26:07] <Peavers> comes to nz... goes to auckland... bad luck..
523: [03:26:13] <spronk> worst city?
524: [03:26:14] <spronk> i dno..
525: [03:26:16] <ss23> lol
526: [03:26:25] <spronk> i'm pretty sure i could think of worse places trhan auckland to live in nz
527: [03:26:25] <ss23> I have +o, better not mention chalmidia central
528: [03:26:36] * travis-ci has joined #silverstripe
529: [03:26:36] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#484 (3.1 - 29c2b21 : Simon Welsh): The build passed.
530: [03:26:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/429bbc52237c...29c2b21a2aed
531: [03:26:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8682742
532: [03:26:36] * travis-ci has left #silverstripe
533: [03:26:38] <unsignedint> yeah theres Hamilton
534: [03:26:44] <unsignedint> but Auckland is basically New China anyway
535: [03:27:49] <UncleCheese> Auckland for 2 days, then KiwiRail to Wellington
536: [03:28:00] <ss23> Oh, fancy pants
537: [03:28:04] <ss23> Rail is pretty expensive :O
538: [03:28:11] <UncleCheese> Flight is 13:00 from LAX
539: [03:28:23] <UncleCheese> i know.. but we want to see NZ, and we're damn sick of flying
540: [03:28:31] <ss23> lol, fair enough. I hear it's a nice trip :)
541: [03:28:45] <UncleCheese> we're about to board in 20 minutes or so
542: [03:28:46] <ss23> Tiny price in comparison to the rest of moving costs I guess, and a nice chance to relax etc
543: [03:28:48] <unsignedint> I didnt even know NZ had a passenger train that went from Auckland to Wellington
544: [03:28:55] <UncleCheese> Northern Explorer
545: [03:29:15] <simon_w> unsignedint, it has since at least the 40s
546: [03:29:18] <irogue> unsignedint: yeah, tourist train, price not suitable for commuter
547: [03:29:30] <ss23> wtb high speed rail
548: [03:29:33] <ss23> 500km/h train plz
549: [03:29:38] <unsignedint> not that anyone would commute from Wellington to Auckland anway, thats silly
550: [03:29:38] <ss23> I'd ride the shit out of that
551: [03:29:40] * coldblooded01 quit (Quit: coldblooded01)
552: [03:29:41] <simon_w> But it has power points now :)
553: [03:29:46] <ss23> UncleCheese: I would if it was a 30 min ride
554: [03:29:49] <Colin[pi]> http://i.imgur.com/Q8FiBYG.png
555: [03:29:53] <unsignedint> hahaha
556: [03:30:05] <ss23> rolf Colin[pi]
557: [03:30:11] <unsignedint> poor brian
558: [03:30:14] <ss23> you have too much time + image editing skills
559: [03:30:21] <Colin[pi]> memedad.com lol
560: [03:30:21] <simon_w> ss23, at 500 km/hr, it'll be about 1 hour 20
561: [03:30:25] <UncleCheese> yeah, it's 5 times the price of flying and 10 times as long, but i think we're going to love it. :)
562: [03:30:30] <ss23> New plan: 1000km/h
563: [03:30:47] <ss23> Still, an hour and 20 mins isn't bad
564: [03:30:49] <Peavers> massive house fire out wadestown way,
565: [03:30:53] <Peavers> hope nobody lives their
566: [03:30:54] <ss23> I would probably still do it. could be nicer than flying
567: [03:30:59] <Peavers> there
568: [03:31:04] <simon_w> UncleCheese, you get some great views once you're past the central plateau
569: [03:31:07] <UncleCheese> How's the weather in Welly?
570: [03:31:15] <Peavers> bit overcast atm
571: [03:31:16] <UncleCheese> Is it going to be dark at 5:45AM when we land?
572: [03:31:17] <ss23> UncleCheese: Normally, or atm? :P
573: [03:31:20] <ss23> Yes
574: [03:31:23] <ss23> UncleCheese: Winter atm, rmemeber
575: [03:31:30] <UncleCheese> Everyone says July/August in Wellington is shit
576: [03:31:31] <ss23> UncleCheese: Wait, your'e in Auckland, right?
577: [03:31:33] <ss23> could be different there
578: [03:31:35] <UncleCheese> no
579: [03:31:37] <UncleCheese> I'm in LAX
580: [03:31:42] <UncleCheese> about to board a flight to AKL
581: [03:31:43] <ss23> I mean, going to land in Auckland
582: [03:31:45] <simon_w> ss23, barely
583: [03:31:50] <ss23> So, Wellington weather won't matter!
584: [03:31:50] <UncleCheese> yes, land in auckland
585: [03:31:57] <ss23> irogue: Whats weather like atm?
586: [03:32:08] <irogue> light rain
587: [03:32:11] <irogue> no wind
588: [03:32:11] <Colin[pi]> I've been to auckland eight times.... and didn't leave the airport :o
589: [03:32:12] <UncleCheese> only one real day in AKL, because Thursday will be spent barely keeping our eyes open. :)
590: [03:32:27] <irogue> http://www.sitecam.co.nz/auckland_webcam/
591: [03:32:28] <ss23> UncleCheese: Staying in a hotel I take it?
592: [03:32:31] <simon_w> UncleCheese, you really want to try to spend tomorrow awake
593: [03:32:34] <UncleCheese> Langham
594: [03:32:40] <UncleCheese> yup
595: [03:32:40] <irogue> very dim outside
596: [03:32:41] <ss23> simon_w: Why?
597: [03:32:42] <UncleCheese> that's the key
598: [03:32:44] <irogue> UncleCheese: whoa, very fancy
599: [03:32:46] <irogue> Langham!
600: [03:32:48] <UncleCheese> gotta beat the jetlag
601: [03:32:49] <irogue> where all the celebs stay
602: [03:32:55] <UncleCheese> HA
603: [03:32:56] <simon_w> ss23, acclimatising
604: [03:32:59] <UncleCheese> i am a celeb
605: [03:33:04] <ss23> Spoiler: UncleCheese is actually Justin Beiber
606: [03:33:10] <spronk> wow
607: [03:33:10] <UncleCheese> :O
608: [03:33:11] <Colin[pi]> lol
609: [03:33:11] <ss23> Pop music by day, pop modules by night
610: [03:33:11] <spronk> kill him now
611: [03:33:19] <UncleCheese> jesus
612: [03:33:31] <simon_w> UncleCheese, meet spronk :p
613: [03:33:37] <Colin[pi]> don't be mean to Bieber, she has potential
614: [03:33:44] <ss23> lol
615: [03:33:51] <UncleCheese> it gets rowdy in here
616: [03:33:58] <UncleCheese> makes me wonder what the hackfests are like
617: [03:34:03] <Colin[pi]> yeah we do like 5% actual ss related chat
618: [03:34:03] <ss23> XD
619: [03:34:05] <irogue> UncleCheese: this times 1000
620: [03:34:10] <UncleCheese> HA
621: [03:34:10] <ss23> I'm doing SS related stuff right now!
622: [03:34:17] <Peavers> I'm not.
623: [03:34:24] <simon_w> I'm waiting half an hour until home time!
624: [03:34:24] <ss23> You keep getting older, but the support tickets stay only a few hours old
625: [03:34:26] <ss23> Or something
626: [03:34:28] <Peavers> double rainbow over the harbor atm...
627: [03:34:30] <ss23> simon_w: Slacker!
628: [03:34:40] <simon_w> Peavers, you and your harbour views
629: [03:34:43] <simon_w> ss23, damn right!
630: [03:34:50] <Peavers> watching a house fire atm from here lol...
631: [03:34:55] <Peavers> it will be on the 6 oclock news for sure
632: [03:35:02] <irogue> i'm watching... nothing
633: [03:35:03] <UncleCheese> checking out a house in Vogeltown on Monday., any good?
634: [03:35:19] <Peavers> Yeah Vtown is alright
635: [03:35:30] <UncleCheese> it's the first time it's come up in our seach
636: [03:35:33] <UncleCheese> never heard of it before this one
637: [03:35:38] <irogue> bird-town?
638: [03:36:00] <irogue> whoa, that's weird, i google maps'd it and actually know where it is
639: [03:36:18] <simon_w> Brooklyn/Kingston/Vogeltown, all the same place
640: [03:36:22] <UncleCheese> yup
641: [03:36:25] <irogue> pretty much walking distance from ss23's place
642: [03:36:26] <Peavers> I grew up in Kingston
643: [03:36:32] <ss23> UncleCheese: If you ever feel like Wellington is too safe and you wanna feel more like America, you can come visit me in Newtown and we can avoid being mugged and stabbed together and watch the homeless people!
644: [03:36:37] <Peavers> Camrose groove.
645: [03:36:49] <UncleCheese> hahaha
646: [03:36:55] <irogue> yeah, ss23 lives in quite a classy street
647: [03:36:55] <UncleCheese> you're not the first to say that
648: [03:37:05] <ss23> :D
649: [03:37:12] <Peavers> If you go to newtown, you're going to have a bad time.
650: [03:37:16] <ss23> I've only seen one person who looked like a prostitute so far!
651: [03:37:19] <irogue> in 30 minutes i saw multiple people raiding a dumpster
652: [03:38:25] * irogue made the mistake of walking through Papatoetoe (in Auckland) at night once
653: [03:38:34] <irogue> HOOKERS EVERYWHERE
654: [03:38:37] <ss23> s/mistake/pleasure/
655: [03:39:27] * cloph has joined #silverstripe
656: [03:39:42] <Colin[pi]> you guys are really changing my idealic stereotype of Nu Zuhland
657: [03:40:00] <ss23> lol
658: [03:40:09] <ss23> Relax, it's still a damn sight better than AU :P
659: [03:40:11] <tractorcow> *Zealund
660: [03:40:17] <tractorcow> Brah
661: [03:40:22] <Peavers> broski
662: [03:40:23] <Peavers> get it right.
663: [03:40:26] <spronk> New Zild, man
664: [03:40:26] <irogue> http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=10848916
665: [03:40:51] * cloph_away quit (Ping timeout: 276 seconds)
666: [03:40:56] <irogue> ^ walked through there. i've never been propositioned by people of questionable gender so many times in my life
667: [03:41:16] * UncleCheese quit (Ping timeout: 256 seconds)
668: [03:41:21] <Peavers> made you feel wanted?
669: [03:41:25] <Peavers> loved? cared for?
670: [03:41:33] <spronk> eventually, poor?
671: [03:41:45] <Peavers> high five!
672: [03:41:49] <irogue> lol
673: [03:41:51] * spronk high faiiivees
674: [03:41:56] <ss23> irogue: Don't diss it till you've tried it, right?
675: [03:41:56] <irogue> i avoided eye contact and moved quickly
676: [03:41:56] * joelpittet quit (Remote host closed the connection)
677: [03:42:12] <spronk> that's not what I remember, man
678: [03:42:56] <Colin[pi]> you guys are making it sound worse than when I went to brazil :o
679: [03:43:17] <simon_w> We've got to tell you all about the bad suburbs :p
680: [03:43:36] <Colin[pi]> ;o
681: [03:43:50] <simon_w> Like that fishy one you've got :p
682: [03:44:20] <irogue> https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-ash4/q71/1044987_447796945319083_1099274127_n.jpg
683: [03:44:20] <Colin[pi]> here in canberra?
684: [03:44:45] <simon_w> yeah
685: [03:44:54] <Colin[pi]> Charnwood?
686: [03:45:11] <simon_w> I think that's the one like Newtown
687: [03:45:13] * UncleCheese has joined #silverstripe
688: [03:45:22] <Pyromanik> hooray GST
689: [03:45:30] <UncleCheese> My American friend highly recommended Newtown. :)
690: [03:45:42] <simon_w> UncleCheese, ahahahahahahaha
691: [03:45:47] <Colin[pi]> did you bring a gun?
692: [03:45:47] <UncleCheese> who lives in Welly
693: [03:45:51] <Peavers> You should be looking for somewhere that has fiber to be honest...
694: [03:45:53] <UncleCheese> I thought that was interesting
695: [03:45:57] <ss23> UncleCheese: I do now, simon_w does
696: [03:45:59] <ss23> Peavers does
697: [03:46:05] <ss23> sminnee does, willr does
698: [03:46:06] <UncleCheese> all the comforts of a shitty American suburb, right?
699: [03:46:08] <Peavers> I own Welly.
700: [03:46:11] <ss23> lol
701: [03:46:18] <UncleCheese> how do i get fiber?
702: [03:46:23] <ss23> Peavers: And yet you still can't open a support ticket for me to do :3
703: [03:46:24] <Pyromanik> UncleCheese: it's full of students, iirc
704: [03:46:29] <Peavers> Find a house that already has it installed lol
705: [03:46:29] <ss23> UncleCheese: Just sign up when you get here
706: [03:46:29] <tractorcow> Eat more wheatbix
707: [03:46:37] <ss23> Pyromanik: Otago has way more students
708: [03:46:37] <Peavers> lol tractorcow
709: [03:46:38] <simon_w> weet-bix
710: [03:46:39] <Pyromanik> crap houses and students making rucuses.
711: [03:46:41] <simon_w> get it right :p
712: [03:46:48] <ss23> Wellington has politicians
713: [03:46:50] <ss23> Much worse, Pyromanik
714: [03:46:50] <Pyromanik> ss23: I was referring specifically to newtown
715: [03:46:53] <ss23> oic
716: [03:47:02] <UncleCheese> alright, we're about to board. See you guys in NZ.
717: [03:47:09] <tractorcow> Take care UC :)
718: [03:47:11] <tractorcow> Best of luck
719: [03:47:12] <Pyromanik> tractorcow: wheetbix
720: [03:47:17] <Colin[pi]> safe flight UC!
721: [03:47:18] * UncleCheese quit (Client Quit)
722: [03:47:33] <Colin[pi]> is his visit social or business?
723: [03:47:41] <tractorcow> simon is right :) sorry
724: [03:47:43] <simon_w> He's moving
725: [03:47:48] <Colin[pi]> moving to nz? wow
726: [03:48:24] <tractorcow> Wellington right?
727: [03:48:38] <simon_w> yeah
728: [03:48:39] <Peavers> yeah most people in NZ want to leave NZ, and here this cheeky buger is, moving to NZ!
729: [03:48:45] <tractorcow> I'm sure he'll still like it though
730: [03:49:00] <Colin[pi]> don't blame him wanting to get out of the US
731: [03:49:15] <tractorcow> Is he going to work with you guys?
732: [03:49:23] <Peavers> Thought he was UK based?
733: [03:49:24] <lewellyn> now's not a bad time to be thinking about leaving .us :/
734: [03:49:31] <ss23> He's working for...
735: [03:49:31] <ss23> Hmm
736: [03:49:34] <ss23> Can't think of their name
737: [03:49:40] <ss23> Not SS or Pocketrent or government though
738: [03:49:46] <ss23> Doing webdev though
739: [03:49:49] <Peavers> Its on his blog somewhere lol
740: [03:49:52] <simon_w> http://www.citylink.co.nz/webcams/aotea.jpg
741: [03:49:56] <simon_w> That looks like more than a house fire
742: [03:50:02] <ss23> composer update is slow
743: [03:50:09] <simon_w> He's working for Heyday
744: [03:50:14] <Peavers> my snaps https://dl.dropboxusercontent.com/u/5616402/Internet%20Posts/2013-07-03%2015.38.54.jpg
745: [03:50:16] <ss23> That's it
746: [03:50:18] <tractorcow> Cool :)
747: [03:50:19] <Peavers> https://dl.dropboxusercontent.com/u/5616402/Internet%20Posts/2013-07-03%2015.39.10.jpg
748: [03:50:34] <ss23> Peavers: Ohhhh, looks pretty bad
749: [03:50:39] <Peavers> Yeah
750: [03:50:47] <ss23> help
751: [03:50:51] <Peavers> I've seen about 6 firetrucks heading up so far
752: [03:50:52] <ss23> simon_w: Which direction do I look to see the smoke
753: [03:51:07] <Peavers> you're looking towards the hutt
754: [03:51:11] <ss23> I'm currently facing... towards your office, down one direction of courteny place
755: [03:51:14] <ss23> Peavers: ... ;_;
756: [03:51:22] <ss23> Where do I look relative to courtenay place?
757: [03:51:28] <Peavers> waterfront I suppose...
758: [03:51:31] <Peavers> out that way
759: [03:51:43] <ss23> also, lol Peavers, silverstripe.s....qusandered.org or something?
760: [03:51:49] <simon_w> ss23, slightly northwest
761: [03:51:57] <ss23> simon_w: And which way is that? :O
762: [03:52:10] <simon_w> Straight out the windows, down Taranaki
763: [03:52:12] <ss23> Peavers: Yeah, you write that smtp module!
764: [03:52:23] <Peavers> lol got to fix that shit,
765: [03:56:36] <ss23> more tickets in my current high priority list than I had in total yesterday
766: [03:56:39] * ss23 dies
767: [03:57:14] * spronk spies xshell
768: [03:57:23] <Peavers> lol
769: [03:57:27] <Peavers> You caught me.
770: [03:57:37] <spronk> also, that looks pretty bad
771: [03:57:57] <Peavers> yeah its def at least one entire house gone
772: [03:58:00] <Peavers> possibly more
773: [03:58:10] <Peavers> the smoke is just getting thicker/heavier
774: [03:59:51] <spronk> http://www.stuff.co.nz/dominion-post/news/wellington/8874198/Fire-engulfs-house-in-Wadestown
775: [04:01:46] <Peavers> "smoke from which can reportedly"
776: [04:01:51] <Peavers> reportedly?
777: [04:01:59] <Peavers> They think I'm lying or something?
778: [04:03:08] <irogue> prob written by someone in auckland who can't look out their window to verify :P
779: [04:03:33] <Peavers> westpac heli heading on over for a peak
780: [04:03:34] <simon_w> Dompost can't actually see that way from their building
781: [04:03:55] <simon_w> And they can't leave the building cause Boulcott Street's shut
782: [04:04:01] <Peavers> I sit right in the very corner of the building, so windows all around me and I can see everything!
783: [04:04:26] <simon_w> Corner office, harbour views. It's like you're a manager :p
784: [04:04:43] <Peavers> lol
785: [04:05:00] <mobiusnz> It's live here: http://www.citylink.co.nz/citylink-experience/webcams/aotea-quay-ramps-motorway-overpass
786: [04:05:04] <mobiusnz> well, the smoke is
787: [04:05:42] <Peavers> I should setup streaming from my webcam and point it out the window...
788: [04:06:09] <simon_w> http://www.stuff.co.nz/dominion-post/news/wellington/8874198/Fire-engulfs-house-in-Wadestown now has a photo
789: [04:06:14] <simon_w> That's going to be horrible to fight
790: [04:06:33] <Peavers> wow I know that house
791: [04:06:41] <Peavers> I used to live right where that photo would have been taken
792: [04:09:55] <Colin[pi]> wow not the best place to have a huge fire by the look of those trees
793: [04:10:07] <simon_w> At least they'll all be wet
794: [04:10:45] <Peavers> yeah looks to be settling down now
795: [04:10:51] <Pyromanik> someone please remind me how a form populates?
796: [04:11:06] <simon_w> Remember, white smoke is good and there was a lot of white smoke
797: [04:11:20] <Peavers> smoke is almost gone/stopped
798: [04:11:41] <tractorcow> It's a request handler, check 'loadDataFrom' in Form::httpSubmission
799: [04:11:43] <simon_w> Pyromanik, goes through the names of all the data fields in the Form, pulling from the object/array
800: [04:11:52] <simon_w> Skips null values by default
801: [04:12:42] * zippy__ quit (Quit: zippy__)
802: [04:12:47] <ss23> DON'T FORGET TO FLUSH
803: [04:12:59] <Pyromanik> simon_w: what is function that does this?
804: [04:13:05] <simon_w> loadDataFrom
805: [04:13:09] <Pyromanik> right
806: [04:13:27] <Pyromanik> does creating a form automagically do this?
807: [04:13:58] <Colin[pi]> SS cms should come with a big JS-enabled pull chain which plays audio when pulled to flush everything
808: [04:14:04] <Colin[pi]> that way I'd remember to do it
809: [04:14:08] <ss23> hahah Colin[pi]
810: [04:14:23] <simon_w> Pyromanik, nope
811: [04:14:54] <Pyromanik> so mad right now. This is why we don't extend members people.
812: [04:15:12] <Pyromanik> ...
813: [04:15:15] <Pyromanik> so slow irogue !
814: [04:15:30] <tractorcow> Pyromanik: You mean like when we try to extend 'Image'
815: [04:15:50] <simon_w> tractorcow, at least there, it tries to pull the class name from the relation
816: [04:16:16] <Pyromanik> tractorcow: yeah.
817: [04:16:36] <Pyromanik> but more to the point there was an extended member joke in there and irogue is late to the party...
818: [04:16:50] <tractorcow> I decided not to pretend I saw that
819: [04:16:51] <Pyromanik> more to the point** pun unintentional but still good
820: [04:17:11] <Pyromanik> Form::populateFields() ?
821: [04:17:24] <Pyromanik> FULL MAD
822: [04:17:31] <Pyromanik> SO MUCH $member = Customer::currentUser() ? Customer::currentUser() : singleton('Customer');
823: [04:17:50] <tractorcow> lol,
824: [04:18:04] <tractorcow> Is that a module or user code?
825: [04:18:12] <Pyromanik> module
826: [04:18:23] <simon_w> It's 2.2, all over again!
827: [04:18:33] <Pyromanik> when an existing member that isn't a customer (like an admin) tries to check something out...
828: [04:18:37] <simon_w> All these modules, all with their own Member subclasses!
829: [04:18:41] <Pyromanik> *asplode(
830: [04:19:33] <Pyromanik> I've done a lot of $member = Member::currentUser() ? Member::currentUser()->newClassInstance('Customer') : singleton('Customer');
831: [04:19:39] <Pyromanik> but there are just so many :(
832: [04:19:47] <Pyromanik> hack all the core!
833: [04:19:52] <Pyromanik> \o/
834: [04:20:24] <tractorcow> Can't you change Customer to a CustomerExtension on the Member class?
835: [04:20:52] <tractorcow> Isn't that what the ecommerce module does?
836: [04:20:54] <Pyromanik> well, I probably could, but I seriously stopped caring about 16 hours ago.
837: [04:21:07] <tractorcow> If you did, it wouldn't have been 16 hours ago would it:)
838: [04:21:09] <simon_w> Home time!
839: [04:21:12] <Pyromanik> since this site is the village bicycle
840: [04:21:16] <tractorcow> 4:20 eh simon?
841: [04:21:21] <Pyromanik> and has gone around in circles about 3 times.
842: [04:21:22] <simon_w> Yeah, late
843: [04:21:35] * Colin[pi] understood that reference
844: [04:21:44] <Peavers> they are bringing in monsoon(sp) buckets for the fire
845: [04:21:48] <Peavers> watching the helis full up now
846: [04:21:56] <Pyromanik> wicked
847: [04:22:12] <tractorcow> simon did you look at my TimeField fixes yet?
848: [04:25:14] <Pyromanik> that moment when you see $blah = 'something unrelated' and is never used in the entire function.
849: [04:26:08] <tractorcow> Yellow annoying squiggly lines in my ide for 'unused variable'
850: [04:28:03] <Pyromanik> I am the IDE
851: [04:28:52] <ss23> I just my entire IDE
852: [04:29:02] <tractorcow> The entire IDE?
853: [04:30:30] * wmk has joined #silverstripe
854: [04:31:13] <ss23> Yes.
855: [04:31:22] <wmk> gmorning
856: [04:31:22] <ss23> gotta pick a new album to listen to, ideas?
857: [04:31:56] <Peavers> whats your normal groove?
858: [04:32:52] <Pyromanik> ss23: Version 2.0
859: [04:32:57] <ss23> Hmmm
860: [04:33:05] <ss23> Peavers: GOOD MUSIC IS MY NOMRAL GROOVE
861: [04:33:08] <Pyromanik> It's totally Garbage
862: [04:33:09] <ss23> Pyromanik: What dis?
863: [04:33:14] <Pyromanik> It's totally Garbage
864: [04:33:17] <Pyromanik> xD
865: [04:34:10] <ss23> http://www.last.fm/user/ss2342
866: [04:34:34] <Peavers> Give Savatage a listen?
867: [04:34:39] <ss23> idk what this is
868: [04:34:44] <ss23> wait
869: [04:34:48] <ss23> Is that a Savage album?
870: [04:34:50] <Pyromanik> ss23: I see your nightwish and I raise you an In Flames.
871: [04:34:56] <Peavers> No.
872: [04:35:05] <ss23> Pyromanik: Nightwish vocals are actaully decent. In Flames vocalist is blurgh
873: [04:35:18] <ss23> The start of I Am the Highway is like "SSDFKNASFKNADSF" but then the vocalist ruins it... with his vocals
874: [04:35:20] <Peavers> http://www.last.fm/music/Savatage/Handful+of+Rain/Handful+Of+Rain
875: [04:35:23] <ss23> Besides
876: [04:35:32] <ss23> I raise you Machinae Supremacy, Pyromanik
877: [04:35:53] <Pyromanik> ss23: this is what I had running most of hackfest: http://bundles.bittorrent.com/prettylights-a-color-map-of-the-sun/
878: [04:36:02] <ss23> Yeah, I remembered them :D
879: [04:36:04] <Pyromanik> (the artist at least, maybe not that exact album)
880: [04:36:29] <ss23> Peavers: lol that linky doesn't work
881: [04:36:30] * ss23 cries
882: [04:36:40] <ss23> TO YOUTUBE
883: [04:36:43] <Peavers> search yourself then you lazy ass punk
884: [04:36:54] <ss23> lol
885: [04:36:55] <ss23> I am
886: [04:36:57] <ss23> sounds okay so far
887: [04:36:59] <ss23> like 10 seconds in
888: [04:37:59] <ss23> lol
889: [04:38:17] <ss23> idk Peavers, sounds okay, but not the kind of thing I wanna listen to when writing code
890: [04:38:32] <ss23> Just listened to Radiohead and RATM
891: [04:38:49] <Peavers> Can't stand radiohead...
892: [04:38:59] <ss23> I may be paranoid
893: [04:39:01] <ss23> But I am not Peavers
894: [04:39:30] <Peavers> prog rock like umm Explosions in the sky, or if these trees could talk is good for deving
895: [04:39:56] <Peavers> or what I use most of the day http://www.rainymood.com/
896: [04:40:51] <Pyromanik> Template location code isn't separated out from the render process is it?
897: [04:41:06] <Pyromanik> ah bollocks I'm using 2.4 anyway
898: [04:41:31] <ss23> I think my feet are covered in blisters
899: [04:41:41] <ss23> my big toe hurts when I walk and when I looked at it alst night it looked... weird...
900: [04:41:45] <ss23> really... big/weird on one side
901: [04:41:50] <Pyromanik> o.0
902: [04:42:01] <Pyromanik> might wanna get that looked at
903: [04:42:03] <ss23> lol
904: [04:42:08] <ss23> I think it's probably a blister
905: [04:42:11] <ss23> My shoes are really bad
906: [04:42:14] * nickmolhoek quit (Quit: nickmolhoek)
907: [04:42:36] <ss23> They are like, missing at the back/heel almost
908: [04:42:45] <ss23> sends up pinching the skin, has made a badd-ass blister there
909: [04:42:56] <ss23> I got out of the shower and saw it, pressed it, and it was like *squish* and made a weird noise
910: [04:43:44] * T8 has joined #silverstripe
911: [04:43:47] <T8> Hello!
912: [04:43:53] <ss23> Heya
913: [04:43:54] * Ben__ has joined #silverstripe
914: [04:43:59] <T8> I have custom Form and I need some help.
915: [04:44:06] <Ben__> Hi
916: [04:44:11] <Peavers> hi
917: [04:44:12] <ss23> Two people asking for support at once!
918: [04:44:13] * ss23 dies
919: [04:44:24] <Peavers> Don't forget my tickets ss23
920: [04:44:27] <Ben__> would you help for a location map in ss3.1
921: [04:44:29] <ss23> Peavers: Okay, I started playing Eplosions in the sky and forgot about it, you win, I'll listen to them
922: [04:44:31] <T8> When I submit my form to the Action the method that I provide doesn't get passed the Form.
923: [04:45:45] <Peavers> chuck that band into lastfm and you will get a billion bands that do similar stuff, so you will never run out of background music.
924: [04:45:47] <T8> CustomForm -> submits to CustomAction($data, $form). The $data is actually a HTTPrequest and there is no $Form passed. I'm lost as
925: [04:46:45] <T8> anyone?
926: [04:47:10] <ss23> Peavers: I already have lots like this, it's just not something I listen to often
927: [04:47:38] * mobiusnz quit (Quit: Leaving.)
928: [04:47:40] <tractorcow> What does your form definition look like?
929: [04:47:54] <tractorcow> you have a formaction field named "CustomAction"?
930: [04:49:11] <T8> I do have a formaction named customaction
931: [04:49:22] <T8> obviously thats a psudo-name but yes I do
932: [04:49:28] <T8> parent::__construct($controller, $name, $fields, $actions);
933: [04:49:34] <T8> is the definition
934: [04:49:52] <T8> $Form = new CustomForm($this,'methodName');
935: [04:49:57] <ss23> T8: Might be easier if you just pastebin all the form stuff so we can check for anything/
936: [04:50:03] <tractorcow> I was thinking that :)
937: [04:50:07] <T8> alright
938: [04:50:43] <tractorcow> and the page controller you use to generate the form :)
939: [04:51:01] * lietzmk__ quit (Quit: Leaving)
940: [04:54:32] <ss23> http://www.3news.co.nz/LIVESTREAM-Intelligence-Security-Select-Committee/tabid/1568/articleID/300193/Default.aspx Are we meant to be watching this?
941: [04:55:23] <T8> CustomForm = http://pastebin.com/md1KsaNV Controller = http://pastebin.com/KZ705p2Y
942: [04:57:30] <tractorcow> Scout_Controller isn't a page controller?
943: [04:57:43] * DigNZ quit (Quit: DigNZ)
944: [04:58:37] <T8> no
945: [04:58:40] <T8> not using pages
946: [04:58:53] <T8> Just framework not CMS
947: [04:58:59] <tractorcow> I see,
948: [04:59:29] <T8> Just wondering if I have missed something in the custom form
949: [04:59:36] * DigNZ has joined #silverstripe
950: [04:59:37] * DigNZ quit (Read error: Connection reset by peer)
951: [04:59:51] * DigNZ has joined #silverstripe
952: [04:59:52] <tractorcow> allowed_actions?
953: [04:59:53] * DigNZ quit (Client Quit)
954: [04:59:59] <T8> I don't remember where I got my reference from but it was possibly just using the API and stabbing in the dark.
955: [05:00:03] <tractorcow> It shouldn't make a difference
956: [05:00:14] <tractorcow> hmm
957: [05:00:14] <T8> I did try allowed actions but yeah if they arent defined all is allowed
958: [05:00:16] * mobiusnz has joined #silverstripe
959: [05:00:30] <tractorcow> I wonder if you need special routes?
960: [05:00:55] <T8> Surely I can extend something from the SS framework because a default form behaves how I would expect
961: [05:01:04] <T8> It's just this custom one...
962: [05:01:04] <tractorcow> Security controller has it's own route
963: [05:01:12] <T8> interesting...
964: [05:01:29] <tractorcow> Route is 'Security//$Action/$ID/$OtherID': 'Security'
965: [05:01:34] <simon_w|air> T8, what's the action attribute the <form> tag ends up with?
966: [05:01:53] <T8> Controller_name/add
967: [05:02:00] <T8> and it should be /add
968: [05:02:20] <simon_w|air> It should be Scout_Controller/addForm
969: [05:02:32] <T8> erm
970: [05:03:27] <simon_w|air> It sounds like your template's not constructing the form correctly
971: [05:03:50] <T8> interesting
972: [05:04:02] <tractorcow> The action is "add" shouldn't it?
973: [05:04:07] <T8> I didn't know that was what the forms action was suppose to be.
974: [05:04:31] <T8> the method to run after the form is submitted yes, but SS forms submit into themselfs correct?
975: [05:04:33] <tractorcow> ah, no yur right
976: [05:05:49] <T8> @simon_w|air When I force the form to go to the correct path ie: Controller_name/form_method I get: "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again."
977: [05:06:06] <simon_w|air> T8, you're not including all the fields?
978: [05:06:12] <T8> thats using $Form->setAction('forced action');
979: [05:06:24] <simon_w|air> and you really don't need to do that
980: [05:06:32] <T8> ok..
981: [05:06:39] <T8> no I'm not using all fields
982: [05:06:55] <simon_w|air> Like I said, your template's not constructing the form correctly
983: [05:07:06] <simon_w|air> use $FormAction to get the action, don't build it yourself
984: [05:07:08] <T8> Alright, I'll look at that.
985: [05:07:13] <T8> Thanks for the insight.
986: [05:07:19] <simon_w|air> And you especially need to include all the hidden fields
987: [05:07:39] <tractorcow> What's in your ScoutForm.ss template?
988: [05:07:45] <tractorcow> is there one?
989: [05:07:53] <T8> Do you have anything that can show me how to correctly set up a custom form?
990: [05:08:01] <T8> I couldn't find anything really...
991: [05:08:02] <simon_w|air> The default Form.ss
992: [05:08:05] <tractorcow> Try not using a custom form
993: [05:08:09] <T8> I read the SS docs
994: [05:08:14] <T8> I need to use a custom form
995: [05:08:21] <T8> as the template is quite complex
996: [05:08:26] <tractorcow> I see,
997: [05:09:09] <simon_w|air> T8, <form $AttributesHTML> for the opening tag, and <% loop $HiddenFields %> to get all the hidden fields
998: [05:09:49] <T8> Yeah I'm using the $AttributesHTML but not $HiddenFields
999: [05:10:03] <tractorcow> Sorry I have to disappear for a bit =( I won't be able to help you T8 until later
1000: [05:10:13] <tractorcow> Best of luck!
1001: [05:10:15] <EasyCo> Since Director::urlParams() is deprecated, they suggest using SS_HTTPRequest->params() but it's not a static method. How would you therefore get urlparams from within a controller?
1002: [05:10:18] * mirrors has joined #silverstripe
1003: [05:10:22] * tractorcow quit (Quit: Leaving)
1004: [05:10:30] <simon_w|air> EasyCo, $this->request->param('ID')
1005: [05:10:32] <T8> oh Im using $FormAttributes not $AttributesHTML
1006: [05:10:42] <EasyCo> simon_w|air: Ya… no go.
1007: [05:10:56] <EasyCo> I'll check to see what's going on
1008: [05:11:36] <mirrors> Hi everyone....can anyone tell me if there is a SilverStripe 3 module out their that can handles pages using a model admin...
1009: [05:12:01] <simon_w|air> mirrors, you've got CMSMain for that
1010: [05:13:01] <mirrors> i want a seperate admin to handle my news pages...as there will eventually be hundreds and i dont want to blow up the site tree
1011: [05:14:15] <T8> so my templates are rendering the actions correctly, when I submit though I get still "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again."
1012: [05:15:03] * Peavers quit (Ping timeout: 256 seconds)
1013: [05:15:22] <simon_w|air> T8, are you adding in the HiddenFields?
1014: [05:15:26] <T8> yes
1015: [05:15:30] <EasyCo> Actually sorry, it's not from the controller. It's from the model. I'm basically trying to modify Breadcrumbs from SiteTree but need to URL params.
1016: [05:15:46] <EasyCo> s/to/the
1017: [05:16:00] <simon_w|air> EasyCo, Controller::curr()->getRequest()
1018: [05:16:19] <simon_w|air> T8, and are they showing up in the outputted HTML? (Especially the one called SecurityID)
1019: [05:16:31] <EasyCo> Ahhhh
1020: [05:16:45] <EasyCo> simon_w|air, coming through with the goods once again. Thanks.
1021: [05:18:47] <simon_w|air> mirrors, http://www.sspaste.com/paste/show/51d3b3ab44e22
1022: [05:19:09] <simon_w|air> Then, have NewsHolder_view.ss for rendering the News DataObject, and it'll be in $Article
1023: [05:19:34] <simon_w|air> (if you're on 3.0, change private static to public static)
1024: [05:24:01] <T8> @simon_w|air you found the problem!
1025: [05:24:13] <T8> one form does one form doesnt...
1026: [05:24:26] <T8> the form that does is allgood that form that doesnt is not allgood
1027: [05:25:45] <T8> Ok I think I may have found a way around it.
1028: [05:26:37] <simon_w|air> Get the hidden fields being added correctly?
1029: [05:26:53] <T8> yes
1030: [05:27:01] <T8> seems to be working now
1031: [05:27:08] <T8> wow there needs to be a tutorial on this.
1032: [05:27:20] <simon_w|air> Write one?
1033: [05:27:23] <T8> I didn't find any documentation that says that hidden fields are required
1034: [05:27:37] <T8> Yeah lol.. I might when I get spare time, I have a list building up.
1035: [05:27:53] <T8> Thanks alot @simon_w|air
1036: [05:27:58] <T8> much appreciated
1037: [05:28:02] <simon_w|air> Oh, it's just one hidden field that's required
1038: [05:28:26] <T8> Yeah the $HiddenFields provides that though, I was unaware of that.
1039: [05:34:43] <mirrors> simon_w|air: thanks for that sspaste, however i still want to utilise URLSegment, page version, custom meta data etc
1040: [05:34:54] <mirrors> the method you explain was how I use to do it
1041: [05:35:46] <mirrors> I did create a model admin extension in SS2.4 that let me manage pages in a model admin where page history etc worked, however I was hopeing this was already done on SS3.0
1042: [05:38:08] <Ben__> location map in ss3.0
1043: [05:38:17] <Ben__> anybody there
1044: [05:50:11] * wmk quit (Ping timeout: 256 seconds)
1045: [05:55:06] * wmk has joined #silverstripe
1046: [06:01:32] * pancakewin has joined #silverstripe
1047: [06:01:41] * Shrike_Finland quit (Quit: Leaving.)
1048: [06:05:33] * mobiusnz quit (Quit: Leaving.)
1049: [06:07:30] * openbees has joined #silverstripe
1050: [06:13:00] * howardgrigg has joined #silverstripe
1051: [06:15:59] <mirrors> can anyone tell me how i can hide a page subclass from the sitetree
1052: [06:16:07] * wmk quit (Ping timeout: 246 seconds)
1053: [06:20:14] <openbees> mirrors : in your page subclass model .. function canCreate($member = null) { false }
1054: [06:20:19] * T8 quit (Ping timeout: 250 seconds)
1055: [06:20:41] <openbees> .... { return false }*
1056: [06:22:17] <openbees> after upgrading from SS3.02 to SS3.05 all my girdfield tabs on a Page in CMS started appearing in Main Section :( anyone know why ?
1057: [06:23:22] <openbees> I also got a anchor list of tabs linked with each gridfield in main section !
1058: [06:23:35] <openbees> just wondering if it is a new feature :D
1059: [06:25:00] <mirrors> openbees: I would like to create the pages in another model admin and I dont want them to appear in the sitetree
1060: [06:25:04] <mirrors> so that wont work
1061: [06:26:32] <Pyromanik> gaiz halp
1062: [06:26:52] <Pyromanik> wtf does it mean "Undefined index: 'main'"
1063: [06:27:00] <Pyromanik> error line: var_dump($this->chosenTemplates['main']);
1064: [06:27:06] <Pyromanik> which outputs
1065: [06:27:08] <Pyromanik> string 'C:\wamp\www\medbury/themes/medburyMobile/templates/BlogEntry_ics.ss' (length=67)
1066: [06:27:15] <Pyromanik> IS THERE, WTF
1067: [06:27:22] <Pyromanik> Y U UNDEFINE?
1068: [06:27:47] <Ben__> pls help me
1069: [06:27:57] <Ben__> for location maps
1070: [06:27:57] <Pyromanik> not unlesss you ask a question Ben__
1071: [06:28:15] <howardgrigg> mirrors: https://github.com/micschk/silverstripe-excludechildren/blob/master/code/ExcludeChildren.php
1072: [06:28:56] <Pyromanik> do you have a question Ben__ ?
1073: [06:29:37] <mirrors> howardgrigg: cheers for that...i literally just found it also
1074: [06:30:00] <howardgrigg> :)
1075: [06:30:01] <openbees> Ben__ I can give you a working function which get any address and returns iframe for map
1076: [06:30:32] <Pyromanik> wow, mind reader openbees ?
1077: [06:30:35] <Pyromanik> xD
1078: [06:30:42] <Pyromanik> simon_w|air: active?
1079: [06:30:43] <openbees> :D
1080: [06:30:46] <Pyromanik> need php helps
1081: [06:31:33] <Pyromanik> oh gawd, it's private.
1082: [06:31:47] <openbees> Pyromanik : I simply made a offer :D
1083: [06:31:50] <Pyromanik> subclassed something, private stuff isn't inherited. So I re-declared it.
1084: [06:32:02] <Pyromanik> but I call parent::__construct()
1085: [06:32:17] <Pyromanik> it appears to not populate the new redeclared private
1086: [06:32:20] <Pyromanik> (var)
1087: [06:32:31] <Pyromanik> which results in unset error above
1088: [06:32:38] <Pyromanik> what can I do to get around this? D:
1089: [06:34:42] <Pyromanik> HACK ALL THE THINGS
1090: [06:34:46] <Pyromanik> got it the workings.
1091: [06:34:51] <Pyromanik> super hack complete :D
1092: [06:35:32] <ss23> Okay guise, are we sure there was no regression/issue with loggin in lately?
1093: [06:36:05] <ss23> simon_w|air: Login form does a post to /SEcurity/LoginForm, which gives a 302 to /Security/login?backurl=..., but because it was a 302, the data from the login form doesn't get acrried along with it
1094: [06:36:56] <ss23> sminnee: Or do you know of anything like this?
1095: [06:37:16] <sminnee> that should be session-cached
1096: [06:39:10] <ss23> A+ sminnee points
1097: [06:39:25] <sminnee> turns out it was using secure cookies
1098: [06:41:23] * Ben__ quit (Quit: Page closed)
1099: [06:43:10] * silvercartwontwo has joined #silverstripe
1100: [06:44:35] <silvercartwontwo> Hi guys, just wanting some help. just installed silvercart onto server and on the home page it displays An error occured! Required configuration for "Email sender" is missing. Please log in and choose "SC Config -> general configuration" to edit the missing field.
1101: [06:45:11] <silvercartwontwo> i put in the email and then click save. however the loading circle comes up but then does nothing
1102: [06:46:26] <Pyromanik> ssviewer needs more hooks
1103: [06:46:31] <Pyromanik> ss needs moar hooks!
1104: [06:46:33] <Pyromanik> xD
1105: [06:49:47] * pancakewin quit (Quit: Page closed)
1106: [06:51:36] <ss23> silvercartwontwo: I guess you should go and do that then!
1107: [06:52:06] <Pyromanik> ss23: read on
1108: [06:52:24] <ss23> oh
1109: [06:52:24] <ss23> :<
1110: [06:52:45] <ss23> silvercartwontwo: Could be network issues, but uh, try it again, look near the top right for a black box that might say "Error"
1111: [06:53:00] <ss23> silvercartwontwo: Also, use the network tab of your browser to check whether the request was succesful or not, you can help debug like that
1112: [06:53:19] <silvercartwontwo> do what. ? lol ive just deleted everything and doing a fresh install seeing what that might do lol
1113: [06:53:44] <ss23> silvercartwontwo: I want you to debug it. You can use your browser to see what is being send and received from Silvercart, and it might have an error message in it to help you fix the issue
1114: [06:53:50] <Pyromanik> open firebug / debug tools, watch network tab, see what comes back when you try to click the save button
1115: [06:54:06] <Pyromanik> also make sure you're using the right version of silvercart
1116: [06:55:23] <silvercartwontwo> SilverCart 1.3.8 Full (with SilverStripe) is the one i downloaded
1117: [06:55:38] <Pyromanik> yes, but what version of SS is it intended for?
1118: [06:55:50] <Pyromanik> you might be trying to install a 2.4 module on 3.1
1119: [06:56:26] * mirrors quit (Quit: Page closed)
1120: [06:57:02] * AlphaCactus_ has joined #silverstripe
1121: [06:58:10] <silvercartwontwo> its silverstripe 2.4
1122: [06:58:47] <Pyromanik> then you need the silverstripe 2.4 version of silvercart
1123: [06:59:02] * AlphaCactus quit (Ping timeout: 256 seconds)
1124: [06:59:11] * AlphaCactus_ is now known as AlphaCactus
1125: [07:00:58] * EasyCo quit (Ping timeout: 241 seconds)
1126: [07:04:16] <silvercartwontwo> and silvercart 1.3.8
1127: [07:04:30] <silvercartwontwo> but thats what i dont understand. as i downloaded the full package from here http://www.silvercart.org/downloads/
1128: [07:04:40] <ss23> Full package has good versions, dw about it
1129: [07:04:41] <ss23> ^.^
1130: [07:13:25] <silvercartwontwo> URL rewriting support You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled. - can anyone help how to fix this?
1131: [07:14:38] <ss23> silvercartwontwo: Are you hosting this yourself?
1132: [07:15:00] <silvercartwontwo> through 24/7 hosting
1133: [07:15:45] <ss23> You might have to enable it in their control panel, or ask their support people
1134: [07:16:37] <silvercartwontwo> Its only as a warning. do you think i could get away with it in the meantime?
1135: [07:18:14] <ss23> Probably
1136: [07:18:55] <ss23> Pyromanik: halp my big toe has a blister
1137: [07:18:57] <ss23> ;_;
1138: [07:20:56] <silvercartwontwo> lol.grrr still not saving again but came up with this with bug tracker POST admin/silvercart-config/SilvercartConfig/1/EditForm?action_doSave=Save 403 Forbidden 1261ms
1139: [07:21:12] <ss23> Sounds like an issue for your host to resolve, tbh
1140: [07:22:21] <silvercartwontwo> the saving thing?
1141: [07:25:09] <ss23> The "fobidden" thing
1142: [07:28:41] <silvercartwontwo> grrrrr lol
1143: [07:29:20] <silvercartwontwo> cos as soon as i clicked the save button thats the text that came up in the bug tracker and wont go any further.. so you dont think its a coding thing?
1144: [07:29:54] * openbees quit (Ping timeout: 252 seconds)
1145: [07:30:26] <ss23> silvercartwontwo: It's possible, but generally a 403 means "The server is configured to not allow this request to be made"
1146: [07:30:53] <ss23> It's hard to know though, silvercartwontwo. In any case, hosting support places are used to dealing with these kinds of requests, so if you describe them all (this, along with the rewrite thing) and what you're trying to do, they might be able to help :)
1147: [07:31:20] <silvercartwontwo> Cool thanks for your help too :)
1148: [07:33:35] * chillu has joined #silverstripe
1149: [07:37:51] * chillu quit (Ping timeout: 256 seconds)
1150: [07:40:08] * EasyCo has joined #silverstripe
1151: [07:42:13] * silvercartwontwo quit (Ping timeout: 250 seconds)
1152: [07:42:43] * openbees has joined #silverstripe
1153: [07:45:00] * chillu has joined #silverstripe
1154: [07:52:30] <howardgrigg> ooh new module from silverstripe
1155: [07:54:15] <simon_w|air> That requires a linux/mac server, but the setup scripts won't run on a mac!
1156: [07:54:23] * EasyCo quit (Quit: EasyCo)
1157: [07:57:58] <ss23> The publisher queue?
1158: [07:58:03] <ss23> simon_w|air: Pull reuest!
1159: [07:58:05] <ss23> request*
1160: [08:00:00] * willr has joined #silverstripe
1161: [08:01:22] * Pyromanik__ has joined #silverstripe
1162: [08:01:32] * kinglozzer has joined #silverstripe
1163: [08:02:48] <Pyromanik__> come home, insects walking around behind my LCD in front of backlight.
1164: [08:02:51] <Pyromanik__> ... :<
1165: [08:03:09] <Pyromanik__> IDEK
1166: [08:04:19] <ss23> hahaha
1167: [08:04:25] <ss23> chch life
1168: [08:05:03] <willr> Pyromanik__ probably the warmest place in the house for them
1169: [08:05:06] <simon_w|air> First issue! https://github.com/silverstripe-labs/silverstripe-staticpublishqueue/issues/1
1170: [08:05:21] * openbees quit (Ping timeout: 246 seconds)
1171: [08:05:52] <ss23> simon_w|air: Sorry, supporting OSX is a *Feature request*
1172: [08:06:00] <ss23> simon_w|air: And as you know, we can't have feature requests on Github
1173: [08:06:00] <ss23> :)
1174: [08:06:04] <ss23> simon_w|air: Feel free to reopen with a pull request
1175: [08:06:21] <Pyromanik__> willr: not when it's off all day
1176: [08:07:52] <Pyromanik__> start torrent
1177: [08:07:58] <Pyromanik__> ETA: 1y 32w
1178: [08:08:00] <Pyromanik__> wtf
1179: [08:08:09] <Pyromanik__> never ever did I even see.
1180: [08:08:42] * zippy__ has joined #silverstripe
1181: [08:12:04] * Pyromanik__ has left #silverstripe
1182: [08:15:10] <simon_w|air> ss23, look at the read me. It's a bug.
1183: [08:15:28] <ss23> :<
1184: [08:17:30] * openbees has joined #silverstripe
1185: [08:18:16] * mattybalaam has joined #silverstripe
1186: [08:19:27] * ss23 is now known as saucy_sausan_23
1187: [08:20:50] * saucy_sausan_23 is now known as ss23
1188: [08:39:34] * micmania1 has joined #silverstripe
1189: [08:40:13] <micmania1> Anybody got an example of UploadField working in the front end?
1190: [08:41:59] * kerosene has joined #silverstripe
1191: [08:45:41] * popeshoe has joined #silverstripe
1192: [08:50:36] <openbees> Is there any way to get complete url of rendered page getURLParams() is not sufficient in my case as I want to access all Get variables too ... my link looks like www.example.com/pagename/action?variable1=something&Variable2=something&variable3=something
1193: [08:51:27] <openbees> and actually variables are dynamic too so i can't guess them !
1194: [08:52:32] <simon_w|air> $request->getURL(true)
1195: [08:58:36] <openbees> simon_w|air thanks buddy :)
1196: [08:58:44] * gumble has joined #silverstripe
1197: [08:59:51] * mattybalaam quit (Quit: mattybalaam)
1198: [09:00:05] * travis-ci has joined #silverstripe
1199: [09:00:06] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#487 (3.1 - d003c96 : Ingo Schommer): The build passed.
1200: [09:00:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/29c2b21a2aed...d003c96c62a5
1201: [09:00:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8688676
1202: [09:00:06] * travis-ci has left #silverstripe
1203: [09:01:27] * osterlaus has joined #silverstripe
1204: [09:02:13] * guci0 has joined #silverstripe
1205: [09:02:35] <guci0> :)
1206: [09:04:18] * mobiusnz has joined #silverstripe
1207: [09:16:07] <micmania1> Does anybody know if UploadField works in the front end on 3.1?
1208: [09:17:44] <simon_w|air> It does
1209: [09:19:01] <howardgrigg> I thought that big uploadfield update was pushed to 3.2 - could be wrong
1210: [09:20:11] <simon_w|air> All the API changes were
1211: [09:25:21] * mattybalaam has joined #silverstripe
1212: [09:28:25] * RojoD has joined #silverstripe
1213: [09:32:32] * MrJeremy has joined #silverstripe
1214: [09:38:42] * MrJeremy quit (Quit: MrJeremy)
1215: [09:42:52] * SightUnseen has joined #silverstripe
1216: [09:42:56] * SightUnseen has left #silverstripe
1217: [09:43:40] * SightUnseen has joined #silverstripe
1218: [09:45:10] * SightUnseen has left #silverstripe
1219: [09:54:50] * gelignite has joined #silverstripe
1220: [10:05:18] * osterlaus quit (Quit: Leaving.)
1221: [10:08:01] <guci0> 3.2?
1222: [10:09:11] * popeshoe quit (Quit: This computer has gone to sleep)
1223: [10:13:43] <simon_w|air> The thing after 3.1
1224: [10:15:35] <howardgrigg> before 3.3
1225: [10:24:34] * popeshoe has joined #silverstripe
1226: [10:27:05] * popeshoe quit (Client Quit)
1227: [10:28:03] <openbees> is it possible to use groupBy with some number .. say groupBy(3) ?
1228: [10:28:24] <simon_w|air> Do you have a column with name 3?
1229: [10:28:58] <openbees> sorry no :D may be there is a better way to do this !
1230: [10:29:11] * Colin[pi] quit (Ping timeout: 246 seconds)
1231: [10:29:55] * Shrike_Finland has joined #silverstripe
1232: [10:32:44] * sam__ has joined #silverstripe
1233: [10:32:54] <sam__> Hi all
1234: [10:33:05] <sam__> need help on uploading photos in the front end
1235: [10:33:51] <sam__> there will be a button and onclick that a pop up will open and the photos will be uploaded.....
1236: [10:33:55] <sam__> need some ideas
1237: [10:40:38] <sam__> atleast give some ideas on pop up page in the front end... how to open with light box???
1238: [10:40:49] <guci0> modal window :) +templates (ss), and uploadfield via CMS.
1239: [10:41:08] <guci0> or just look at some simple gallery module.
1240: [10:41:19] <guci0> and pick up 5 lines :)
1241: [10:42:05] <sam__> ok
1242: [10:42:48] <guci0> https://github.com/dospuntocero/Slideshow
1243: [10:42:51] <guci0> for example
1244: [10:57:40] * mobiusnz quit (Quit: Leaving.)
1245: [11:07:30] <sam__> modal window not opening.....
1246: [11:07:39] <sam__> http://www.ssbits.com/tutorials/2009/using-a-thickbox-modal-window-with-ajax/
1247: [11:07:44] <sam__> followed this
1248: [11:10:11] * willr quit (Quit: willr)
1249: [11:12:07] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1250: [11:16:31] <sam__> please help me on modal window on front end field
1251: [11:18:18] * willr has joined #silverstripe
1252: [11:18:28] * willr quit (Client Quit)
1253: [11:19:33] * osterlaus has joined #silverstripe
1254: [11:24:07] * zippy__ quit (Quit: zippy__)
1255: [11:24:18] <sam__> please help me on modal window on front end field
1256: [11:28:10] <kinglozzer> sam__: If you're using 3.0, then the paths to the javascript in init() won't be correct - that tutorial was written for 2.3
1257: [11:28:43] * ARNHOE has joined #silverstripe
1258: [11:32:50] <sam__> i am using 2.4
1259: [11:35:43] <kinglozzer> "Be aware that there are significant javascript changes in 2.4 and this example is current as of 2.3.3"
1260: [11:35:49] <kinglozzer> Check that all the paths are correct
1261: [11:37:06] * gumble quit (Read error: Operation timed out)
1262: [11:39:09] <sam__> ok
1263: [11:47:58] * ettan has joined #silverstripe
1264: [11:51:42] * wmk has joined #silverstripe
1265: [11:52:15] * osterlaus quit (Quit: Leaving.)
1266: [11:52:44] <ARNHOE> chillu: I have updated framework 3.1 through composer couple minutes ago
1267: [11:53:03] <ARNHOE> chillu: Currently in Dataobjects in ModelAdmin, the fields LastEdited Created ID ClassName are showing up
1268: [11:53:19] <ARNHOE> chillu: I think https://github.com/silverstripe/silverstripe-framework/commit/29c2b21a2aedbfeaeed9eb75f9cdbea1056115b4 caused this
1269: [11:54:30] * howardgrigg quit (Remote host closed the connection)
1270: [11:58:12] * mattybalaam quit (Quit: mattybalaam)
1271: [12:00:08] * UndefinedOffset has joined #silverstripe
1272: [12:02:11] <sam__> please help me on frontend modal window
1273: [12:06:04] <ettan> Hi! I got task to set up website that is based on silverstripe. I am new to silverstripe but everything seems to be ok after mysqldumps and setting up LAMP server. I just copied silverstripe / website directories under html-doc-root. Now later on we notice that links to different locales are not working eg. english pages. I think that this is related to translatable module but I dont have any clue how to fix this. Any ideas or a
1274: [12:07:20] <ettan> my silverstripe version is 2.4.5
1275: [12:09:04] <ettan> https://github.com/silverstripe/silverstripe-translatable
1276: [12:09:44] <ettan> this module says that "The module has to reside in a toplevel folder called translatable/"
1277: [12:10:05] <ARNHOE> in silverstripe 2.4 you dont need to install translatable
1278: [12:10:07] <ettan> anyone here that know if this is true as well in version 2.4.5 (which includes this module by default)
1279: [12:10:11] <ARNHOE> Note: This module was originally part of the SilverStripe CMS 2.x codebase.
1280: [12:10:25] <ARNHOE> Note: For SilverStripe 2.3/2.4 support, please use the core built-in version (no module required)
1281: [12:10:26] <ettan> i am asking this because i dont find any translatable directory on my toplevel
1282: [12:15:37] * wmk quit (Ping timeout: 246 seconds)
1283: [12:17:37] <ettan> hmm, where i can find old version
1284: [12:17:52] <ettan> silverstripe version 2.4.5
1285: [12:20:55] <ettan> ah, found it http://www.silverstripe.org/assets/downloads/silverstripe-v2.4.5.tar.gz
1286: [12:21:27] * sam__ quit (Quit: Page closed)
1287: [12:33:04] * wmk has joined #silverstripe
1288: [12:37:56] <ettan> can you guys tell me what it means to do dev/build/?flush=1 ?
1289: [12:38:12] <ettan> is this something i should do if i migrate website to new host?
1290: [12:38:31] <ettan> everything except locales is working fine on new server without it
1291: [12:40:34] * ARNHOE quit (Remote host closed the connection)
1292: [12:42:29] <wmk> ettan, flush deletes old cache and the manifest, and dev/build/ rebuilds the database.
1293: [12:42:41] <wmk> /dev/build?flush=all is even more.
1294: [12:42:57] <wmk> you can also pass ?flush=1 to every page you call if you have caching issues
1295: [12:44:25] <ettan> ok
1296: [12:49:13] * mattybalaam has joined #silverstripe
1297: [12:55:15] * simon_w|air quit (Ping timeout: 248 seconds)
1298: [12:55:34] * Shrike_Finland quit (Quit: Leaving.)
1299: [13:05:59] * simon_w|air has joined #silverstripe
1300: [13:21:38] * DesignerX has joined #silverstripe
1301: [13:27:19] * openbees quit (Ping timeout: 248 seconds)
1302: [13:31:17] * openbees has joined #silverstripe
1303: [13:32:05] * feejin has joined #silverstripe
1304: [13:33:03] * osterlaus has joined #silverstripe
1305: [13:40:50] <ettan> i am still having this locale problem but i manage to find out that the link i have on site is http://127.0.0.1/sitefoober/index.php/?locale=en_US and this is not working
1306: [13:41:01] <ettan> but if i use http://127.0.0.1/sitefoobar/?locale=en_US
1307: [13:41:09] <ettan> then it works fine
1308: [13:43:17] <guci0> .htaccess check!
1309: [14:10:10] * Shrike_Finland has joined #silverstripe
1310: [14:11:04] * ettan quit (Quit: Page closed)
1311: [14:18:14] * kerosene quit (Quit: Lost terminal)
1312: [14:19:00] * openbees quit (Quit: Leaving)
1313: [14:19:40] * kerp has joined #silverstripe
1314: [14:30:56] * Shrike_Finland quit (Ping timeout: 264 seconds)
1315: [14:44:17] * Nivery has joined #silverstripe
1316: [14:50:04] * dangerdan has joined #silverstripe
1317: [14:53:46] <dangerdan> I'm having an issue with the settings tab on all of my pages, when i try and load it it just hangs with the loading bar, if i try and reload the page without clicking the link and setting off the ajax request the page loads fine. In the javascript console there is an error "Uncaught TypeError: Cannot call method 'match' of null" on line 389 of leftandmain.js, the line is: if(xhr.getResponseHeader('Content-Type').match(/^tex
1318: [14:54:08] <dangerdan> anyone have any clue what i should do to resolve this? short of re-installing my site
1319: [15:05:17] <micmania1> dangerdan, are you calling any custom javascript? If so disable it and try to load the page again.
1320: [15:05:53] <micmania1> I've had that problem in the past and it may just be that you need to upgrade the CMS/Framework to the latest version (3.0.5 I think)
1321: [15:08:43] <dangerdan> no javascript, and i am on 3.0.5, weirdly though in the CMS its saying unknown for the version
1322: [15:37:09] * dangerdan quit (Ping timeout: 250 seconds)
1323: [15:47:20] * catcher has joined #silverstripe
1324: [15:54:46] * dangerdan has joined #silverstripe
1325: [16:00:28] * DesignerX quit (Read error: Connection reset by peer)
1326: [16:03:50] * dangerdan_ has joined #silverstripe
1327: [16:04:02] <dangerdan_> is there any way of putting the CMS into non-ajax mode?
1328: [16:05:45] * dangerdan quit (Ping timeout: 250 seconds)
1329: [16:08:39] * osterlaus quit (Quit: Leaving.)
1330: [16:12:29] <kinglozzer> dangerdan_: Nope
1331: [16:12:41] * dangerdan_ quit (Ping timeout: 250 seconds)
1332: [16:18:33] * feejin quit (Remote host closed the connection)
1333: [16:18:40] * kinglozzer quit (Remote host closed the connection)
1334: [16:30:38] * tomspeak has joined #silverstripe
1335: [16:31:18] <tomspeak> Hey, has anyone been able to disable mollom automatically starting the audio dictation?
1336: [16:32:56] * swordsmanz has joined #silverstripe
1337: [16:53:51] * guci0 quit (Ping timeout: 250 seconds)
1338: [16:55:58] * guzzlefry_dev has joined #silverstripe
1339: [17:10:24] * tomspeak quit ()
1340: [17:12:26] * mattybalaam quit (Quit: mattybalaam)
1341: [17:24:31] * mattybalaam has joined #silverstripe
1342: [17:35:53] * Nivery quit (Quit: Nivery)
1343: [17:43:50] * gelignite quit (Quit: http://bit.ly/nkczDT)
1344: [17:45:49] * Nivery has joined #silverstripe
1345: [18:37:47] * brandon2 has joined #silverstripe
1346: [18:37:52] <brandon2> hello
1347: [18:38:14] <brandon2> is there a way i can edit just the many_many_extraFields in a gridfield?
1348: [18:38:51] <brandon2> i looked into GridFieldDetailForm but I don't know how to get it to link up. right now if you clicked on the related item, it goes to that item's normal edit page
1349: [19:01:33] * mobiusnz has joined #silverstripe
1350: [19:14:02] <wmk> brandon2, aunt google gave me this: http://www.silverstripe.org/data-model-questions/show/21178
1351: [19:15:15] <brandon2> wmk: yeah, saw that. followed avengex's advice at the bottom, i have a GridFieldDetailForm with fields on it but I don't know how to make it save the extraFields
1352: [19:26:04] * ss23 quit (Ping timeout: 256 seconds)
1353: [21:05:05] * ss-log has joined #silverstripe
1354: [21:07:16] <simon_w|air> so, ss-log doesn't handle being disconnected very well (well, it does. It just quits)
1355: [21:07:38] <simon_w|air> And I guess I should head into work
1356: [21:09:15] <Peavers> Look out, I'm heading down to SS at 10!
1357: [21:09:49] <simon_w|air> I haven't been told anything about this, so can't involve me!
1358: [21:10:07] <Peavers> I've just been told about it now
1359: [21:10:28] <Peavers> "Chris you're going to SS for a meeting in 30 minutes, sort it out" ...Umm? okay boss?
1360: [21:11:01] <simon_w|air> Well, I should find my passport and hurry up and get in
1361: [21:11:09] <simon_w|air> Silly bus is 6 minutes early
1362: [21:12:00] * zippy__ has joined #silverstripe
1363: [21:12:06] <zippy__> Morning
1364: [21:12:22] <Pyromanik> Peavers: what you do there?
1365: [21:12:35] <Peavers> Still trying to work that out
1366: [21:12:37] <Pyromanik> you should totally turn up with beer.
1367: [21:12:47] <Peavers> Think it's something to do with CWP beta testing
1368: [21:12:48] <Pyromanik> just bring a backpack
1369: [21:13:15] <Pyromanik> and be all "I didn't know what the meeting was about, so this is for you" and then pull a beer out of the bag
1370: [21:13:32] <Pyromanik> 9:30am, not too early.
1371: [21:13:42] <Pyromanik> if(!$e->check($this->Password, $password, $this->Salt, $this))
1372: [21:13:45] <Pyromanik> simon_w|air:
1373: [21:13:50] <Pyromanik> I took a member object
1374: [21:14:09] <Pyromanik> then I ->changetheclasstypemethodiforgotthenameof('subclassofmember')
1375: [21:14:20] <Pyromanik> then I ->write()
1376: [21:14:30] <Pyromanik> now the password check fails :<
1377: [21:14:37] <Pyromanik> what is this trickery?
1378: [21:20:12] <zippy__> Not trickery, it's magic
1379: [21:21:35] <Pyromanik> magically bad.
1380: [21:29:52] <Pyromanik> so resetting the password using the CMS under another admin's account (default_admin in this case) allows that user to log back in again.
1381: [21:30:27] <Pyromanik> why would a password change between get and set?
1382: [21:30:59] * coldblooded01 quit (Ping timeout: 245 seconds)
1383: [21:31:14] <zippy__> an extension / decorator changing the hash method?
1384: [21:32:02] <Pyromanik> zippy__: nope
1385: [21:33:21] * coldblooded01 has joined #silverstripe
1386: [21:34:13] <catcher> wow, that was tricky
1387: [21:35:42] <Pyromanik> catcher: please share, I might have to do something similar soon :<
1388: [21:36:16] <catcher> will do. It can undoubtedly be cleaned up, but my eyes are starting to cross.
1389: [21:38:09] <Pyromanik> Know that feeling
1390: [21:38:37] <Pyromanik> why is there a password field on member, but an entirely separate memberpassword field?
1391: [21:42:53] <catcher> https://gist.github.com/catcherdev/5923091
1392: [21:43:09] <Pyromanik> mother FFFFFFFFFFFFF, something IS changing the password
1393: [21:43:19] <Peavers> Its not me...
1394: [21:43:23] <Peavers> I swear
1395: [21:43:25] <Pyromanik> thank f for that
1396: [21:43:32] <Pyromanik> I'd be on the next flight to wellington
1397: [21:43:41] <Pyromanik> there'd be some serious mess going down
1398: [21:43:42] <catcher> simon_w, please feel free point out that one thing that could've saved me an hour.
1399: [21:43:44] <Pyromanik> (in a pub)
1400: [21:43:47] <Peavers> I'm off to house SS, come find me there! buh bye.
1401: [21:43:56] <Pyromanik> sif, I wish.
1402: [21:44:00] <Pyromanik> sounds like fun, but also boring.
1403: [21:44:05] <Pyromanik> and too far away
1404: [21:44:08] <Pyromanik> glfh
1405: [21:44:09] <Pyromanik> glhf
1406: [21:44:11] <Pyromanik> *
1407: [21:45:24] <Pyromanik> ok so
1408: [21:45:32] <Pyromanik> password changes, salt stays the same.
1409: [21:45:35] <Pyromanik> what does it mean?
1410: [21:46:42] <FrozenFire> The salt is a unique, entropic value that ensures that rainbow tables cannot be used against the hash. The salt itself can be derived from static information, though it's typically recommended that you generate a random salt for each user and store it with the password.
1411: [21:47:03] <FrozenFire> Never use the same salt across all users, to be clear.
1412: [21:47:14] <Pyromanik> FrozenFire: I know what a salt is... although admittedly I don't know what rainbow tables are, but they sound cool.
1413: [21:47:31] <Pyromanik> FrozenFire: my issue is that I'm taking a Member
1414: [21:47:36] <Pyromanik> (an existing member)
1415: [21:47:44] <FrozenFire> Rainbow tables are just basically pre-computed hashes that are indexed for quickly searching
1416: [21:47:48] <Pyromanik> changing it to a subclass type, then writing it.
1417: [21:48:01] <FrozenFire> Why a sub-class?
1418: [21:48:21] <Pyromanik> that user's salt value stays constant, but the password hash value is changing for some reason.
1419: [21:48:27] <Pyromanik> FrozenFire: because. sub-class.
1420: [21:48:38] <FrozenFire> Why sub-class?
1421: [21:48:42] <Pyromanik> (no idea, not ideal IMO, but there we have it. existing site)
1422: [21:48:43] <FrozenFire> Why not decoration?
1423: [21:48:51] <FrozenFire> Ah, shitty.
1424: [21:48:59] <Pyromanik> causing all kinds of issues.
1425: [21:49:08] <FrozenFire> But yeah, you don't have to regenerate the salt each time.
1426: [21:49:13] <Pyromanik> I know
1427: [21:49:19] <Pyromanik> but I'm not generating a password either
1428: [21:49:31] <Pyromanik> I'm just changing Member -> MemberSubClass
1429: [21:49:36] <Pyromanik> that's it.
1430: [21:49:38] <Pyromanik> not more, no less.
1431: [21:49:49] <Pyromanik> but the password value is being altered on write()
1432: [21:50:02] <FrozenFire> Not really sure. SS probably handles hashing stupidly
1433: [21:50:03] <Pyromanik> I can't find where.
1434: [21:50:09] <FrozenFire> In fact, I'm certain it does
1435: [21:50:21] <Pyromanik> I've seen the hashing, it's not bad.
1436: [21:50:23] <Pyromanik> well
1437: [21:50:37] <Pyromanik> it's a bit of a rabbit warren, but it's not super terrible.
1438: [21:51:24] * tractorcow has joined #silverstripe
1439: [21:51:31] <Pyromanik> it's not the hasing, it's something probably doing an onBeforeWrite that I need to find.
1440: [21:51:37] <tractorcow> Hi everyone
1441: [21:51:47] <FrozenFire> Pyromanik, That's what I mean by handling it stupidly.
1442: [21:51:49] <Pyromanik> hi tractorcow
1443: [21:51:55] <FrozenFire> It probably interpolates user data or something
1444: [21:51:56] <tractorcow> >:)
1445: [21:52:02] <Pyromanik> well no
1446: [21:52:31] <Pyromanik> you sound angry FrozenFire, how's your new job going?
1447: [21:52:46] <FrozenFire> Pretty well. Making fat stacks of Benjamins.
1448: [21:52:48] <FrozenFire> :P
1449: [21:52:53] <Pyromanik> lovely :D
1450: [21:53:01] <FrozenFire> And it's practically a job requirement that I act like I'm hot shit
1451: [21:53:05] <FrozenFire> Which I'm good at.
1452: [21:53:13] <Pyromanik> hahaha, good for you :P
1453: [21:53:17] <FrozenFire> http://roave.com/team
1454: [21:54:10] <Pyromanik> you all look the same, wtf!
1455: [21:54:11] <tractorcow> how's that binary protocol going? :)
1456: [21:54:44] <tractorcow> It seems like a cool place,
1457: [21:54:50] <Pyromanik> tractorcow: isn't that a game?
1458: [21:55:18] <tractorcow> "Chloe has the very, very important role of making sure none of us at Roave work too hard. " < my job at brr
1459: [21:55:33] <Pyromanik> tractorcow: making balls drop?
1460: [21:55:37] <tractorcow> Hmmmm
1461: [21:55:39] <Pyromanik> your job is to turn boys into men?
1462: [21:55:45] <Pyromanik> o.0
1463: [21:56:00] <Pyromanik> "You're not a man until you've had one"?
1464: [21:56:21] <Pyromanik> Ancient Greek Philosophy?
1465: [21:56:32] <FrozenFire> You're not a man until you've made the eight
1466: [21:56:42] <Pyromanik> the 8?
1467: [21:57:09] * FrozenFire is a little surprised that clip isn't on Youtube
1468: [21:57:29] <FrozenFire> Robert Baratheon in Game of Thrones, while hunting, talks about "making the eight"
1469: [21:58:16] * andylockran has joined #silverstripe
1470: [21:58:20] <andylockran> howdy all
1471: [21:58:52] <andylockran> Hopefully be in here a fair bit over the next few months as our business has decided to run with silverstripe
1472: [21:58:53] <Pyromanik> FrozenFire: ah.
1473: [21:58:56] <Pyromanik> haven't read books.
1474: [21:59:12] <Pyromanik> hi andylockran, haere mai
1475: [21:59:20] <FrozenFire> Well, it's also in the show of course.
1476: [21:59:28] <FrozenFire> In fact, I don't know if that scene is even in the books
1477: [21:59:31] <FrozenFire> Though I never read the first book
1478: [21:59:34] <Pyromanik> FrozenFire: yeah but that was 3 years ago
1479: [21:59:36] <FrozenFire> Skipped straight to the second
1480: [22:00:20] <Pyromanik> andylockran: your business has made the correct decision.
1481: [22:00:24] <Pyromanik> where are you from?
1482: [22:00:33] <tractorcow> hi andylockran
1483: [22:01:10] <tractorcow> Let me know if you have any questions or problems. We like to give our newbies a good head start. :)
1484: [22:01:34] <andylockran> Pyromanik: I'm from the UK
1485: [22:01:37] <andylockran> London.
1486: [22:01:56] <tractorcow> Auckland NZ :)
1487: [22:02:17] <tractorcow> So it must be like the middle of the night over there?
1488: [22:02:22] <andylockran> I was speaking with @everzet (the lead on behat I think?) the week before last, and made him aware that SilverStripe were using it
1489: [22:02:43] <andylockran> he said he'd look into it and let me know if there were any suggestions he had for how it's being used.
1490: [22:03:12] <tractorcow> I haven't personally had any experience with behat
1491: [22:03:31] <andylockran> I want to take a look at behat/mink with SS and see how it all fits together
1492: [22:04:18] <tractorcow> simon_w or chillu might be good to talk to about that
1493: [22:05:02] <andylockran> thanks for your tips; I'm going to hit the sack for the night, but I'll be encouraging myself and other devs to make themselves known in here
1494: [22:05:15] <andylockran> thanks for the kind welcome, and look forward to working with you guys
1495: [22:06:12] <tractorcow> Hit me up any time
1496: [22:06:15] <tractorcow> ta
1497: [22:06:25] <tractorcow> (british say 'ta' right?)
1498: [22:06:46] <FrozenFire> Probably only some
1499: [22:06:53] * kerp is now known as kerosene
1500: [22:07:00] <tractorcow> * is away
1501: [22:07:05] <FrozenFire> https://www.youtube.com/watch?v=rNu8XDBSn10
1502: [22:07:50] <FrozenFire> Doubt the Scottish say 'ta'
1503: [22:07:55] <FrozenFire> More likely 'RAAAHHHH'
1504: [22:07:55] <simon_w> british say? Great use of their language there :p
1505: [22:23:04] * pex quit (Quit: pex)
1506: [22:23:10] <Pyromanik> simon_w: why is my password field changing value on member->write() :(
1507: [22:23:22] <simon_w> Pyromanik, because it's been marked as changed
1508: [22:23:35] <Pyromanik> but it hasn't...
1509: [22:23:46] <Pyromanik> hmm
1510: [22:24:04] <simon_w> It has been marked as changed though
1511: [22:24:08] <Pyromanik> ->changeinstance or whatever that is is marking all fields changed whether they have or not?
1512: [22:24:12] <simon_w> Yes
1513: [22:24:15] <Pyromanik> oh
1514: [22:24:18] <Pyromanik> balls.
1515: [22:25:12] <Pyromanik> how to unmark it?
1516: [22:25:23] * mattybalaam quit (Quit: mattybalaam)
1517: [22:26:57] <simon_w> You can't
1518: [22:27:29] <tractorcow> simon_w have you considered a career in school teaching?
1519: [22:27:39] <Pyromanik> what?
1520: [22:27:47] <simon_w> Best you can do is stick a custom onBeforeWrite() on Customer and if($this->SomeFlagYouMadeUpAndSetBeforeYourWrite) { DataObject::onBeforeWrite(); } else { parent::onBeforeWrite(); }
1521: [22:28:01] <simon_w> tractorcow, yes.
1522: [22:28:47] <tractorcow> Sorry, that's just how I've pictured you. It's become such a permanant image now.
1523: [22:28:47] <Pyromanik> simon_w: but you like getting paid?
1524: [22:29:06] <simon_w> Pyromanik, pretty much. And school kids? Bleugh.
1525: [22:29:22] <tractorcow> "mister somethingsomething, indentation is done with tabs not spaces. Two weeks detention"
1526: [22:29:29] <Pyromanik> so by 'considered' you mean as far as pretty much everyone who did Uni has.
1527: [22:29:45] <simon_w> Well, I considered it during school
1528: [22:30:14] <AlphaCactus> tractorcow: but teacher, this is yml
1529: [22:30:29] <Pyromanik> f'n yaml
1530: [22:30:39] <Pyromanik> honestly, shoot whoever made that a standard.
1531: [22:31:40] <Pyromanik> I feel like I should make byaml, and convert the space derpery to tabs.
1532: [22:31:50] <Pyromanik> but then you've pretty much got python.
1533: [22:32:05] * ss23` has joined #silverstripe
1534: [22:32:23] <ss23`> :<
1535: [22:32:40] <ss23`> tfw sitehost is getting pwnt cause someone fired a gigabit ddos cannon at you
1536: [22:32:42] <ss23`> how 2 fix
1537: [22:33:00] <simon_w> ss23`, uh, it got fixed at about 8
1538: [22:33:01] <ss23`> simon_w|air: wanna provide me with some free hosting? <3
1539: [22:33:04] <simon_w> get with the times
1540: [22:33:12] <ss23`> Yes, it's fixed via "blackhole my IP until the ddos stops"
1541: [22:33:23] <ss23`> Not so awesome for my VPS... no int on it
1542: [22:33:24] <ss23`> :<
1543: [22:33:30] <simon_w> Haha!
1544: [22:33:39] <simon_w> ss-log is running fine :p
1545: [22:33:43] <ss23`> ;___;
1546: [22:33:46] <ss23`> I would hope you don't have my IP
1547: [22:33:57] <ss23`> They're annoying though -- "YOU'RE RUNNING AN IRCD, IT MUST BE THAT"
1548: [22:34:08] <ss23`> $50 says even if I remove the ircd to another server, I'll still get ddos'd.
1549: [22:35:36] * simon_w just solved a ticket that wasn't even assigned to him
1550: [22:36:06] <ss23`> lol
1551: [22:36:12] * Jayden90 has joined #silverstripe
1552: [22:36:14] <ss23`> So did I!
1553: [22:36:20] <ss23`> Support phone call wasn't "assigned" to me :D
1554: [22:36:35] <simon_w> And then I deleted 16 others!
1555: [22:36:53] <Jayden90> Morning all :) Any ideas how to resolve invalid list nesting in the TinyMCE editor? http://stackoverflow.com/questions/6917944/tinymce-makes-invalid-nested-lists
1556: [22:37:26] <Jayden90> Sorry meant this link: http://stackoverflow.com/questions/6917944/tinymce-makes-invalid-nested-lists
1557: [22:37:58] <simon_w> Looks like the same link :p
1558: [22:38:04] <simon_w> Have you tried those answers?
1559: [22:38:06] <Jayden90> Lol coffee oclock
1560: [22:38:41] * chrisrio has joined #silverstripe
1561: [22:41:15] <Jayden90> ->enablePlugins('lists') on HtmlEditorConfig in _config worked guys. Should this behavior not be default?
1562: [22:41:59] * coldblooded01 quit (Ping timeout: 256 seconds)
1563: [22:42:55] <simon_w> Jayden90, open a ticket about it
1564: [22:43:17] <ss23`> Sounds like a feature request to me
1565: [22:43:37] * coldblooded01 has joined #silverstripe
1566: [22:43:40] <simon_w> Everything sounds like a feature request to you
1567: [22:46:36] <simon_w> https://files.app.net/jlr1gDky new laptop stand!
1568: [22:49:04] <Jayden90> simon_w: Since I am on 3.0.5 and have not tried it on 3.1, which Github channel should I open the ticket on?
1569: [22:49:26] <Jayden90> I have not contributed to Silverstripe on Github yet
1570: [22:49:46] <ss23`> simon_w: how 2 resize images on OSX?
1571: [22:49:50] <irogue> simon_w: stylish!
1572: [22:50:07] <ss23`> irogue: how 2 resize .jpg on OSX
1573: [22:50:15] <ss23`> wtb paint
1574: [22:50:16] <ss23`> :<
1575: [22:50:32] <irogue> irogue: http://lmgtfy.com/?q=resize+images+osx
1576: [22:50:38] <ss23`> lol
1577: [22:50:38] <Jayden90> use the system default way
1578: [22:50:45] <ss23`> Does it *have* a system default way?
1579: [22:50:48] <Jayden90> it allows batch processing faily inteligently
1580: [22:50:57] <ss23`> single image resize
1581: [22:50:57] <tractorcow> "go to the app store and buy..."
1582: [22:51:03] <Jayden90> hang on, looking in the menus for you
1583: [22:51:04] <ss23`> haha tractorcow
1584: [22:51:26] <simon_w> Jayden90, framework
1585: [22:51:30] <irogue> ss23`: you can do it in Preview
1586: [22:51:54] <tractorcow> http://www.wikihow.com/Resize-Pictures-(for-Macs)
1587: [22:51:56] <tractorcow> Seems so
1588: [22:52:03] <Jayden90> Preview -> Tools -> Adjust Size
1589: [22:52:24] <Jayden90> Select multiple images from the left thumbnail panel for bulk edits
1590: [22:52:40] <ss23`> ERROR
1591: [22:52:44] <simon_w> ss23`, http://xkcd.com/627/
1592: [22:52:53] <ss23`> "cannot save imgae.png"
1593: [22:52:57] <ss23`> jpg
1594: [22:53:08] <ss23`> The document "foo.jpg" could not be saved
1595: [22:53:09] <ss23`> how 2 fix
1596: [22:53:21] <ss23`> wtb "save as"
1597: [22:53:22] <irogue> ss23`: permissions?
1598: [22:53:23] <ss23`> god OSX is shit
1599: [22:53:30] <ss23`> irogue: Presume not, I'm logged in as myself
1600: [22:53:37] <irogue> ss23`: there is Save As...
1601: [22:53:50] <ss23`> as "export"?
1602: [22:53:51] <ss23`> or where?
1603: [22:53:56] <tractorcow> ss23: Are they making you use macs?
1604: [22:54:00] <ss23`> yes
1605: [22:54:02] * ss23` dies
1606: [22:54:11] <irogue> ss23`: File > Save As
1607: [22:54:13] <irogue> where the fuck else?
1608: [22:54:20] <ss23`> irogue: There is no save as there
1609: [22:54:21] <ss23`> >.<
1610: [22:54:45] <irogue> ss23`: you broke your mac didn't you?
1611: [22:54:46] <irogue> http://www.wikihow.com/images/8/87/Save-Preview.png
1612: [22:54:58] <simon_w> ss23`, it's an option of Duplicate (and behaves exactly the same). Hold down option if you want different text.
1613: [22:55:04] <ss23`> I don't have any options like that, irogue
1614: [22:55:47] <ss23`> I don't understand, simon_w. Hold down "Option" and click File to get a new menu that has Save-As?
1615: [22:55:51] <ss23`> CausE I tried that and I didn't :<
1616: [22:55:53] <chrisrio> ss23`
1617: [22:55:58] <chrisrio> youre trying to resize an image using a mac?
1618: [22:56:01] <simon_w> ss23`, you're still on Lion?
1619: [22:56:02] <ss23`> yes
1620: [22:56:04] <simon_w> Sucker!
1621: [22:56:04] <chrisrio> using default tools?
1622: [22:56:06] <ss23`> idk, simon_w
1623: [22:56:10] <ss23`> chrisrio: Yesh
1624: [22:56:23] <simon_w> ss23`, cmd-shift-s
1625: [22:56:47] <ss23`> simon_w: doesn't do anything
1626: [22:57:08] <ss23`> Does OSX have concepts of "this came from the internet so don't let anyone save it"?
1627: [22:57:44] <ss23`> jesus OSX is bad
1628: [22:57:45] <simon_w> So did you open straight from the internet, or did you download it first?
1629: [22:57:50] <AlphaCactus> it marks all files as downloaded fro the internet so it can annoy you when you try to open them.
1630: [22:57:51] <ss23`> simon_w: Downloaded first
1631: [22:58:04] <chrisrio> ss23
1632: [22:58:06] <chrisrio> in preview
1633: [22:58:09] <chrisrio> tools -> adjust size
1634: [22:58:10] <ss23`> Who knew that a) it could be so impossible, and b) so inconsitent, so that even Google results don't help
1635: [22:58:14] <ss23`> chrisrio: I got *that* part
1636: [22:58:19] <ss23`> I can resize it in preview, but not save it
1637: [22:58:50] <chrisrio> oh, random - I can save from this mac.
1638: [22:58:50] * simon_w has left #silverstripe
1639: [22:58:53] <chrisrio> just no save as option eh
1640: [22:58:56] * simon_w has joined #silverstripe
1641: [22:59:11] * irogue wants a mac now just to do this
1642: [22:59:13] <ss23`> The Save option doesn't work, there is no Save As. There is an export
1643: [22:59:23] <ss23`> Now I get "The document foo.jpg could not be exported as new.jpg"
1644: [22:59:36] <ss23`> It's like Preview is just *refusing* to save
1645: [22:59:46] <chrisrio> file -> export?
1646: [23:00:01] <ss23`> yeah
1647: [23:00:04] <ss23`> That's the export I tried and it won't save
1648: [23:00:09] <ss23`> I now go to OSX to try save in /tmp
1649: [23:00:10] <chrisrio> I dont have any exporting options in preview from the file dropdown :P
1650: [23:00:12] <ss23`> and I can't see /tmp show up.
1651: [23:00:20] <chrisrio> so something is afoot.
1652: [23:00:23] <ss23`> Applications Library opt System Users
1653: [23:00:29] <ss23`> Yeah, OSX is afoot, a retarded foot at that.
1654: [23:00:39] <simon_w> /tmp's hidden
1655: [23:00:41] <chrisrio> ah youre just on lion eh - I guess its got a different preview.
1656: [23:00:53] <ss23`> WHY
1657: [23:00:55] <ss23`> IT'S FUCKING STUPID
1658: [23:00:56] <ss23`> RADSLNADLNASDLASDFNLASDFN
1659: [23:01:00] <ss23`> How hard can resizing an image bw
1660: [23:01:00] <ss23`> be
1661: [23:01:02] <ss23`> OSX so bad
1662: [23:01:03] * ss23` cries
1663: [23:01:08] <ss23`> Why am I forced to use shit a shitty OS
1664: [23:01:09] <ss23`> :<
1665: [23:01:17] <chrisrio> right, lion just decided save as was too lame and went with export instead.
1666: [23:01:21] * ss23` writes a PHP script using imagick.
1667: [23:01:36] <irogue> yeah, looks like Lion broke Preview
1668: [23:01:45] <irogue> and Mountain Lion fixed it again
1669: [23:01:45] <irogue> lulz
1670: [23:01:50] <simon_w> Seriously, why are you still on Lion?
1671: [23:01:52] <chrisrio> yo ss23
1672: [23:01:56] <chrisrio> open your shit in preview
1673: [23:01:57] <chrisrio> resize it
1674: [23:02:05] <chrisrio> and then use Applications Utilities
1675: [23:02:06] <mobiusnz> ss23`: what's wrong with just using sips?
1676: [23:02:06] <chrisrio> Grabber
1677: [23:02:08] <chrisrio> and grab the section
1678: [23:02:11] <chrisrio> and try and save it outa there.
1679: [23:02:13] <irogue> hahaha
1680: [23:02:21] <irogue> i think what we're all missing here is
1681: [23:02:22] <simon_w> chrisrio, ditch Grab, cmd-shift-4 :p
1682: [23:02:31] <irogue> who the fuck doesn't have Fireworks installed? :-P
1683: [23:02:38] <ss23`> simon_w: Do I have a *choice*? I don't get ot pick my own OS
1684: [23:02:39] <mobiusnz> sips -Z 640 myfile.jpg
1685: [23:02:42] <mobiusnz> job done
1686: [23:02:45] <chrisrio> ignore this hipster with his hotkeys.
1687: [23:02:45] <ss23`> If I did, I sure as hell wouldn't be using OSX.
1688: [23:03:19] <irogue> what mobiusnz said
1689: [23:03:31] <chrisrio> ooo cmd+shift+4 is shiny
1690: [23:03:54] <AlphaCactus> http://app.prntscr.com/
1691: [23:04:00] <chrisrio> but yeah
1692: [23:04:02] <chrisrio> grab that shiz
1693: [23:04:05] <chrisrio> and try and save outa that
1694: [23:04:08] <chrisrio> if that doesnt work
1695: [23:04:11] <chrisrio> scream khaaan
1696: [23:04:12] <chrisrio> and throw something
1697: [23:04:36] <chrisrio> at that point you've "tried everything"
1698: [23:04:43] <ss23`> I JUST THREW A DESK IN simon_w'S GENERAL DIRECTION
1699: [23:04:45] <ss23`> RAWR
1700: [23:04:54] <chrisrio> harsh, he did nothing but help.
1701: [23:05:35] <ss23`> YOU CAN'T HELP THE FANBOY
1702: [23:05:41] <ss23`> That phrasing is probably wrong
1703: [23:05:48] <chrisrio> make your time
1704: [23:05:49] <ss23`> anyway, idk what I'm going to do about this ddos
1705: [23:05:58] <ss23`> I don't really have $300/m to sink on ddos protection
1706: [23:06:00] <ss23`> hmmmmmmmmmm
1707: [23:06:01] <chrisrio> youre being DDoS'd AND you cant save?
1708: [23:06:05] <ss23`> hahah
1709: [23:06:06] <chrisrio> damn
1710: [23:06:10] <ss23`> chrisrio: Yes, the horrors of being ss23
1711: [23:06:10] <simon_w> He also can't click
1712: [23:06:26] <chrisrio> tough break.
1713: [23:06:26] <ss23`> Sitehost rang me up this morning and were like "um yeah we're blackholing you until this stops, and if it doesn't stop, we're going to ban you."
1714: [23:06:32] <chrisrio> ugh
1715: [23:06:38] <chrisrio> I got smashed hard on my sitehost VPS.
1716: [23:06:47] <ss23`> What about if I got together a group of people, e.g. 50 people who all want to be able to get DDoS protection right
1717: [23:06:48] <chrisrio> similar situation
1718: [23:06:49] <ss23`> And you share the load!
1719: [23:06:54] <chrisrio> but they love me, and I love them
1720: [23:06:59] <ss23`> If you take 50 people, most are never using much bandwidth, right?
1721: [23:07:00] <chrisrio> so no threats were made
1722: [23:07:21] <ss23`> chrisrio: This is the third time I've been hit by a ddos big enough to take down sitehost international
1723: [23:07:25] <ss23`> I imagine after 3 times they get angry
1724: [23:07:38] <chrisrio> ah ok
1725: [23:07:45] <chrisrio> I was only doing like
1726: [23:07:49] <chrisrio> 1TB a month or something
1727: [23:07:51] * catcher quit (Quit: Leaving)
1728: [23:07:53] <chrisrio> nothing major
1729: [23:07:55] <chrisrio> just pricey
1730: [23:08:41] <ss23`> I still have no idea what I'm being ddos'd for, but still
1731: [23:08:41] <chrisrio> I ended up moving the site in question.
1732: [23:08:43] <ss23`> ANYWAY, so 50 people who share the load of a ddos
1733: [23:08:45] <ss23`> 10gbit / 50 is fine, right?
1734: [23:08:47] <ss23`> So why not do that? A community provided ddos protection system
1735: [23:08:50] <chrisrio> youre not being ddos'd for a reason
1736: [23:09:11] <simon_w> ss23`, ask for a new IP address?
1737: [23:09:13] <ss23`> It's always for a reason, even if that reason is "lol it's fun to"
1738: [23:09:33] <chrisrio> im gunna throw down a dumb question for you
1739: [23:09:34] <chrisrio> but like
1740: [23:09:43] <ss23`> simon_w: Doubt it'll help... I've had this IP for many years. I'm willing to bet that it's directed at me, simon_w :<
1741: [23:09:49] <chrisrio> actually nah, nvm.
1742: [23:09:49] <ss23`> So I would have to like, change IP + not use DNS?
1743: [23:09:53] <ss23`> chrisrio: COME ON
1744: [23:09:54] <ss23`> BRO
1745: [23:09:55] <ss23`> ASK IT
1746: [23:09:57] <ss23`> I KNOW YOU WANT TO
1747: [23:09:58] <chrisrio> lol
1748: [23:09:59] <chrisrio> @ new IP
1749: [23:10:13] <chrisrio> I was just going to assume you were a nubsie
1750: [23:10:21] <chrisrio> and make sure it wasnt just your porn collection
1751: [23:10:23] <chrisrio> being hotlinked
1752: [23:10:29] <chrisrio> but I doubt thats the case.
1753: [23:10:31] <ss23`> hahaha
1754: [23:10:38] <ss23`> Nope, definitly a proper ddos :P
1755: [23:10:41] <chrisrio> kk :P
1756: [23:10:51] <chrisrio> I moved the site to rackspace.
1757: [23:10:55] <ss23`> I did ask Sitehost what it was hitting (e.g. were they hitting apache, or just random packet spam or what)
1758: [23:11:03] <ss23`> And they were like "lol we dunno, plz move your IRC server"
1759: [23:11:08] <irogue> ss23` just annoys people enough to get himself DDoSed
1760: [23:11:08] <ss23`> srsly idk why they think it's an IRC server issue.
1761: [23:11:12] <ss23`> hahah
1762: [23:11:27] <chrisrio> youve got SSH access I can only presume?
1763: [23:11:29] <ss23`> 3.5GB of traffic hit me before they blackholed it :<
1764: [23:11:41] <ss23`> chrisrio: Yes, via domestic. The blackhole was upstream on their int providers
1765: [23:11:50] <chrisrio> gotcha
1766: [23:12:02] <chrisrio> my latest was a botnet hitting a few pages on a stupid page no one cares about
1767: [23:12:06] <chrisrio> which just loaded up apache
1768: [23:12:15] <ss23`> haha
1769: [23:12:24] <chrisrio> maxed the workers, not a bandwidth issue
1770: [23:12:26] <chrisrio> just a resource load
1771: [23:12:30] <ss23`> If it was a l7 DoS I wouldn't care, since I could just turn off that service
1772: [23:12:31] <ss23`> ya
1773: [23:12:33] <simon_w> My only DoS was a bot not handling ?c=time on the end of every link
1774: [23:12:42] <ss23`> haha
1775: [23:13:12] <chrisrio> tbqh sitehost should just kickban all eastern european and chinese traffic.
1776: [23:13:33] <simon_w> I've blocked china from simon.geek.nz
1777: [23:13:54] <chrisrio> oh wait
1778: [23:13:54] <chrisrio> soz
1779: [23:13:57] <chrisrio> I didnt move to rackspace
1780: [23:14:09] <chrisrio> I moved to that new terribad provider..
1781: [23:14:14] <simon_w> Should probably find out if it blocks logs too...
1782: [23:14:14] <chrisrio> digital ocean or something
1783: [23:14:29] <chrisrio> set the box up and put the site up on it
1784: [23:14:33] <simon_w> Anyone here got a China IP they can route requests through?
1785: [23:14:36] <chrisrio> and then realised their machines are loaded with so much dodgy shit
1786: [23:14:47] <chrisrio> that I couldnt even whois against .co.nz domains
1787: [23:14:54] <chrisrio> bannnnned
1788: [23:15:14] <chrisrio> not I
1789: [23:15:37] <simon_w> Or does anyone know if CloudFlare's blocking happens on all requests or just the ones they proxy?
1790: [23:15:57] <chrisrio> ive heard awesome things about cloudflare - but I dont use it
1791: [23:17:35] <chrisrio> are you on the business plan si?
1792: [23:17:53] <simon_w> If their analytics is right, they've saved me 11 GB (I've sent 2 in total) of traffic
1793: [23:18:25] <Peavers> Back from SS HQ
1794: [23:18:42] <simon_w> Pfft, I'm on the free plans
1795: [23:19:23] * Jayden90 quit (Quit: Jayden90)
1796: [23:22:48] <ss23`> Peavers: :O
1797: [23:22:52] <ss23`> Peavers: YOU DIDN'T SAY HI TO ME?
1798: [23:22:58] <simon_w> Peavers, got my code yet?
1799: [23:23:13] * spronk has left #silverstripe
1800: [23:23:19] <Peavers> I've got nothing and I know nothing
1801: [23:23:33] <Peavers> I saw a dude in your office wearing beats by dre headphones, sure hope it wasn't one of you two.
1802: [23:23:38] <ss23`> hahaha
1803: [23:23:40] <ss23`> not me
1804: [23:23:46] <simon_w> I don't work there :p
1805: [23:23:48] * spronk has joined #silverstripe
1806: [23:23:51] <ss23`> Peavers: I didn't get in till ~10.10am
1807: [23:23:56] <simon_w> Other end of Courtenay for me
1808: [23:23:56] <spronk> simon_w, you can do better than that
1809: [23:24:05] <spronk> cut out some L shapes from the cardboard box
1810: [23:24:06] <ss23`> Peavers: And I'm wearing my HFI-580's
1811: [23:24:07] <spronk> crisscross them
1812: [23:24:10] <Peavers> OUr meeting was from 10-11
1813: [23:24:18] <spronk> ultrasone eh, ss23`?
1814: [23:24:24] <ss23`> Yep yep, spronk
1815: [23:24:27] <ss23`> spronk: I *kind* of regret it
1816: [23:24:43] <spronk> oh?
1817: [23:24:43] <ss23`> Not because they're bad, but because after wearing my ATH-AD700's for so long, closed headphones are just uncomfortable
1818: [23:24:50] <spronk> heh
1819: [23:24:51] <Peavers> woha
1820: [23:24:53] <ss23`> Though I have to say, it's nice to be able to hear bass again
1821: [23:24:53] <ss23`> :P
1822: [23:24:54] <Peavers> I love closed
1823: [23:25:08] <spronk> i have some m50s for my closed cans. they're ... reasonably ... comfortable
1824: [23:25:09] <chrisrio> beats by dre
1825: [23:25:11] <chrisrio> in the SS office
1826: [23:25:12] <ss23`> Peavers: Where you in the Boredroom?!
1827: [23:25:13] <chrisrio> this changes things
1828: [23:25:17] <Peavers> Sure was
1829: [23:25:18] <ss23`> chrisrio: Don't look at me!
1830: [23:25:20] <spronk> lolbeatsbydre
1831: [23:25:21] <Peavers> getting my bored on
1832: [23:25:43] <simon_w> Getting told I went over my guessed hours?
1833: [23:25:43] <ss23`> Peavers: Haha, I can hear one of the PM's being all like "AH ALL THE ROOMS ARE BOOKED"
1834: [23:25:47] <ss23`> I guess I know who to blame!
1835: [23:26:15] <tractorcow> Lol, I was looking for a dependency injection solution for silverstripe. Found a blog with a title that seems to be what I was looking for... it was my own blog >_>
1836: [23:26:22] <spronk> lawl
1837: [23:26:23] <irogue> aaahahahaha
1838: [23:26:24] <spronk> Pimple
1839: [23:26:25] <ss23`> haha tractorcow
1840: [23:26:42] <chrisrio> someone needs to do less drunkblogging
1841: [23:26:46] <chrisrio> and its not me
1842: [23:26:49] <chrisrio> (or is it)
1843: [23:26:50] <tractorcow> I'm like third placefor "silverstripe dependency injection"
1844: [23:27:10] <tractorcow> oh god don't read that terrible article >_>
1845: [23:27:21] <ss23`> someone did a really hacky job of some CSS that happened to work because an image was the perfect size
1846: [23:27:27] <ss23`> now going to replace image and I have to rewrite the CSS
1847: [23:27:36] <ss23`> Dammit people, I'm the only one allowed to do hacky CSS jobs that I know will break later!
1848: [23:27:50] <simon_w> tractorcow, http://doc.silverstripe.org/framework/en/reference/injector
1849: [23:28:33] <tractorcow> yeah that was what I was googling for :)
1850: [23:29:01] * SightUnseen has joined #silverstripe
1851: [23:29:29] <chrisrio> changing the CSS
1852: [23:29:33] <chrisrio> to fix an image being the wrong size
1853: [23:29:37] <chrisrio> if the image is CMSd
1854: [23:29:45] <chrisrio> is basically just as terribad as anything that could already be there.
1855: [23:29:59] <chrisrio> nods sagely
1856: [23:30:46] <tractorcow> simon_w I want to have a DI Extension. Is that possible at this stage?
1857: [23:30:55] <chrisrio> nekminnit you're CSS resizing 2000px wide images to 150px :P
1858: [23:30:59] <simon_w> tractorcow, elaborate?
1859: [23:31:23] <tractorcow> I want to add an extension to a controller, which has a service as a dependency
1860: [23:31:46] <tractorcow> I use DI to configure a couple of services (one is a caching service which wraps a webservice)
1861: [23:31:53] <simon_w> So you want an Extension to have dependency?
1862: [23:31:59] <tractorcow> Yes
1863: [23:32:28] <tractorcow> I mean, I could just Injector::inst()->inject($this), but,
1864: [23:32:41] <tractorcow> that's probably a stupid way to do things
1865: [23:32:50] <simon_w> Yeah, should work
1866: [23:33:28] <tractorcow> I did that kind of stuff back in 2.4, but 3 has it built in from the bottom up :)
1867: [23:33:48] <tractorcow> so I was hoping there was already a "correct" way of doing that
1868: [23:34:38] <tractorcow> simon_w my polymorphic api update is going well btw :) I'll show you soon as I get some code that actually works w/ tests
1869: [23:34:45] <ss23`> Oh Chrome... have "disable cache" ticked... still cached a bunch of images until I manually loaded them and did shift + reload
1870: [23:38:53] * SightUnseen has left #silverstripe
1871: [23:38:53] * RojoD is now known as RojoD|zZz
1872: [23:38:53] * RojoD|zZz is now known as 5EXAA2J18
1873: [23:40:01] * SightUnseen has joined #silverstripe
1874: [23:40:05] * SightUnseen has left #silverstripe
1875: [23:41:24] <tractorcow> I didn't see that
1876: [23:41:27] * Jayden90 has joined #silverstripe
1877: [23:44:13] * ec8or_ quit (Read error: Connection reset by peer)
1878: [23:44:13] * ec8or has joined #silverstripe
1879: [23:44:19] * spronk quit (Ping timeout: 256 seconds)
1880: [23:45:59] <ss23`> Anyone had issues where no Javascript errors, but clicking a link on the CMS doens't load new content?
1881: [23:46:14] <ss23`> The URL changes, and if you do a manual referesh, it shows the right content, but if you click a link, it just... doesn't update anything
1882: [23:46:24] <ss23`> Like, it's like you didn't click the button at all (apart from the URL changes)
1883: [23:47:41] <Pyromanik> DataObject::onBeforeWrite(); <-- does this possible? I thought PHP didn't do indirect parent references?
1884: [23:47:51] <Pyromanik> simon_w:
1885: [23:48:10] <Pyromanik> tractorcow: you should totally do a blog post on injector
1886: [23:48:20] * Colin[pi] has joined #silverstripe
1887: [23:48:24] <Pyromanik> ie, what it is, what it's for, how it does stuff, and how to use it.
1888: [23:48:31] <simon_w> Pyromanik, yeah, that's fine. You're calling it statically, but in a child context, so it knows what $this is
1889: [23:48:47] <Pyromanik> simon_w: mine explodes. Is that since 5.3?
1890: [23:48:54] <Pyromanik> mind*
1891: [23:49:04] <simon_w> It's since at least 5.0
1892: [23:49:09] <Pyromanik> oh.
1893: [23:49:36] <Pyromanik> I thought it _had_ to reference parent or bust. That's handy to know. Maybe I'm thinking of another lang.
1894: [23:49:58] <ss23`> I don't even understand what you're talking about :O
1895: [23:50:17] <Pyromanik> ss23`: in a subclass, doing parent::blah
1896: [23:50:28] <simon_w> ss23`, http://logs.simon.geek.nz/index.php?date=2013-07-04#log_45907
1897: [23:50:37] <Pyromanik> but if you don't want parent to run but still neeed all the upper hierarchy stuff, you can AncestorClass::blah
1898: [23:50:56] <Pyromanik> which I didn't know php could do until just now.
1899: [23:52:48] <Pyromanik> copy pasting junk from Member because changed is private not protected :<
1900: [23:53:04] <tractorcow> Pyromanik: I did (sorry, I was away)
1901: [23:53:12] <Pyromanik> tractorcow: oh?
1902: [23:53:18] <Pyromanik> hmm
1903: [23:53:19] * micmania1_ quit (Ping timeout: 250 seconds)
1904: [23:53:22] <tractorcow> I was using Injector before it was cool :)
1905: [23:53:33] <Pyromanik> yeah, I still don't completely understand it.
1906: [23:53:36] <Pyromanik> kinda like Composer.
1907: [23:53:47] <tractorcow> http://damian.geek.nz/2012/March/a-silverstripe-dependency-injection-technique/ < this is the 2.4 way of using injector , before it was formalised
1908: [23:53:56] <Pyromanik> what?
1909: [23:54:00] <Pyromanik> thats not on SS.org :<
1910: [23:54:02] <Pyromanik> make a new one!
1911: [23:54:21] <tractorcow> Yeah, but I don't know that much.
1912: [23:55:27] <tractorcow> Yeah, ok, I'll come up with something :)
1913: [23:55:53] <Pyromanik> :)
1914: [23:56:03] <Pyromanik> I still don't really follow that post either.
1915: [23:56:11] <Pyromanik> though I just skimmed it and read code
1916: [23:57:28] <ss23`> So is doing <% cached LastEdited %> { your entire page content here } <% end_cached %> for partial editing... just like doing static caching, but without the queue stuff and having it update instantly when the page gets updated?
1917: [23:57:38] <ss23`> (looking at converting a site from static publisher to partial cache)
1918: [23:58:18] <tractorcow> static caching caches content up front, I think that caches the content when necessary.
1919: [23:58:23] <tractorcow> I think...
1920: [23:59:54] * spronk has joined #silverstripe

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