#silverstripe IRC Log

IRC log for 1 August 2013

All timestamps are in UTC.

1: [00:01:16] <simon_w> Probably
2: [00:03:02] <guzzlefry> simon_w: Still doesn't seem to work. Any other ideas?
3: [00:03:46] <guzzlefry> How do I check that the extension is actually loaded?
4: [00:05:43] <Pyromanik> I have leftover pizza! :D
5: [00:05:53] <Pyromanik> guzzlefry: umm, there's a thign on object for that
6: [00:06:07] <Pyromanik> Object::appliedExtensions() or something like that
7: [00:06:10] <Pyromanik> take a geeze
8: [00:07:13] <ss23> Guisee
9: [00:08:04] <guzzlefry> oh, hasExtension() -_-
10: [00:08:26] <guzzlefry> I should probably just take an hour or two and set up a debugger.
11: [00:08:40] * coldblooded01_ quit (Ping timeout: 276 seconds)
12: [00:09:02] <ss23> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/DataList.php#L314 -- "Escaped SQL statement. If passed as array, all keys and values are assumed to be escaped."
13: [00:09:08] <ss23> Could someone have written that any *more* ambigiously?
14: [00:09:20] <ss23> What does "escaped SQL statement" mean? Is that "pass me in escaped SQL" or what?
15: [00:09:55] <simon_w> Yes
16: [00:10:10] <ss23> I know what the effect of using filter is, but I mean, that's a retarded way of phrasing it
17: [00:10:18] <ss23> I'm not sure how to rewrite it though, but it should be done, to make it more clear
18: [00:10:32] <simon_w> That looks like someone copy+pasted from where() and didn't fix the text
19: [00:10:39] * coldblooded01 has joined #silverstripe
20: [00:11:32] * spronk quit (Read error: Connection reset by peer)
21: [00:11:37] <simon_w> ss23, best option would be to just turn it to @param string|array
22: [00:12:15] <simon_w> You shouldn't be passing SQL statements, escaped or otherwise, to filter()
23: [00:12:18] * spronk has joined #silverstripe
24: [00:12:57] <ss23> mm
25: [00:13:06] <ss23> simon_w: Can I leave you in charge of rewriting it to make sense? <3
26: [00:13:20] <simon_w> Pfft! :p
27: [00:13:28] <ss23> :D
28: [00:13:34] <ss23> I'm not sure how to phrase it, you know~
29: [00:13:48] <ss23> I should be a project manager or something
30: [00:13:52] <ss23> "Can I leave it to you to finish this? :)"
31: [00:13:56] <simon_w> <simon_w> ss23, best option would be to just turn it to @param string|array
32: [00:17:49] <Pyromanik> ss23: "alright, so you've got this under control."
33: [00:18:00] <Pyromanik> they phrase it like a question, but note the lack of question mark.
34: [00:18:11] <Pyromanik> because it's a statement. Project management 101 xD
35: [00:18:41] <mobiusnz> hey, where did the option for homepage for domain go to?
36: [00:19:47] <simon_w> mobiusnz, a module
37: [00:19:53] <ss23> lol Pyromanik XD
38: [00:19:54] <ss23> yq
39: [00:19:56] <ss23> ya
40: [00:20:44] * violetina quit (Remote host closed the connection)
41: [00:22:28] <mobiusnz> simon_w: gah, it hasn't been updated for ss3.1
42: [00:22:46] <simon_w> So update it! Or get ss23 to, since he should have commit access.
43: [00:23:44] <mobiusnz> ss23: just need to change the extrastatics to private static $db
44: [00:24:41] <timespoon> hey guys, is the subsites module the way to go for this; i basically want to have the same page but with a different set of data objects depending ont he domain (for some product localisation)
45: [00:25:09] <timespoon> basically the editors should only be able to choose to insert or edit items for their region without affecting the others
46: [00:25:19] <ss23> What extension is this, mobiusnz?
47: [00:25:32] <ss23> module
48: [00:25:52] <mobiusnz> ss23: https://github.com/silverstripe-labs/silverstripe-homepagefordomain
49: [00:26:32] <ss23> eh...
50: [00:26:45] <ss23> I'll just check with Sam, since he's listed as a maintainer
51: [00:26:48] <simon_w> And you'll need to update the composer.json too
52: [00:26:58] <simon_w> And the requirements in the README
53: [00:27:03] <ss23> lol
54: [00:27:09] <simon_w> And put in a LICENSE file!
55: [00:27:09] <ss23> simon_w: Do you have silverstripe-labs commit access/
56: [00:27:16] <simon_w> For some things
57: [00:27:38] <ss23> mmk
58: [00:28:03] <simon_w> Seriously, do people not want other people to be able to use there code?
59: [00:28:16] <simon_w> The amount of modules without a license is rather depressing
60: [00:29:00] <simon_w> ss23, looks like I've just got sqlite from labs
61: [00:29:04] <ss23> mmk
62: [00:29:58] <simon_w> "The full power of GitHub's search is in your hands."
63: [00:29:58] <simon_w> Lol, GitHub's search
64: [00:30:02] <ss23> simon_w: It's better now that github adds one when you create it
65: [00:30:07] <ss23> Also, github search is *so* bad
66: [00:31:09] <simon_w> ss23, github gives you the option to add one, and the list is tiny
67: [00:32:10] <ss23> simon_w: the list was pretty big, iirc/
68: [00:32:15] <ss23> and one is better than none
69: [00:32:26] <simon_w> SF's list is massive :p
70: [00:32:33] <ss23> lol, sure
71: [00:32:38] <ss23> But a smaller list is better.
72: [00:32:51] <simon_w> GitHub has 13
73: [00:32:51] <ss23> The kind of people who want to use obscure as fuck licenses are the kind to add them themselves
74: [00:32:59] <ss23> around 10 too many
75: [00:33:13] <simon_w> So you only want MIT, Apache and GPL?
76: [00:33:18] <ss23> GPL, LGPL, BSD
77: [00:33:30] <simon_w> At least it's GPLv2 at the top rather than v3
78: [00:33:35] <ss23> lol
79: [00:33:39] <ss23> ya :D
80: [00:33:44] <ss23> tbh, idk whether bsd or MIT
81: [00:33:52] <ss23> anyway, doing this for you now, mobiusnz :D
82: [00:34:05] <simon_w> http://swng.it/1eeVcY.png is the top of their list
83: [00:35:06] <guzzlefry> Would help if I got the casing right for the class name. :P
84: [00:35:13] <simon_w> ss23, making a 3.0 branch?
85: [00:35:41] <simon_w> guzzlefry, if that matters, it's a bug. Class names are case insensitive
86: [00:35:53] <guzzlefry> derp
87: [00:36:47] <guzzlefry> simon_w: I meant plurality.
88: [00:37:06] <guzzlefry> I was using LoginAtttempts rather than LoginAttempt.
89: [00:37:09] <simon_w> So, the name of the class :p
90: [00:37:36] <guzzlefry> ..yes :P
91: [00:37:56] <guzzlefry> I wish it would yell at me more about these things. :P
92: [00:39:43] <guzzlefry> [User Error] Uncaught Exception: Object->__call(): the method 'setowner' does not exist on 'LoginAttemptPermissions'
93: [00:40:02] <mobiusnz> what happend to $EvenOdd in loops?
94: [00:40:16] <guzzlefry> mobiusnz, I think it uses modulus now.
95: [00:41:11] <ss23> yeah, simon_w
96: [00:41:26] <mobiusnz> guzzlefry: ah, cheers
97: [00:41:32] <simon_w> mobiusnz, it's there
98: [00:42:08] <ss23> simon_w: Whats the composer rule for 3.1?
99: [00:42:16] <mobiusnz> simon_w: really? I had to use <tr<% if Modulus(2) %> class="even"<% end_if %>>
100: [00:42:16] <ss23> 3.1.x?
101: [00:42:23] <simon_w> ss23, ~3.1 usually
102: [00:42:37] <guzzlefry> oh
103: [00:42:42] <ss23> simon_w: "silverstripe/framework": "~3.1"
104: [00:42:44] <ss23> Like that? :D
105: [00:43:00] <guzzlefry> mobiusnz: It looks like modulus is for columns? http://doc.silverstripe.org/framework/en/trunk/reference/templates Scroll about halfway down.
106: [00:43:28] <simon_w> ss23, yup, though it should probably be silverstripe/cms
107: [00:43:29] <guzzlefry> It has $EvenOdd listed there as well.
108: [00:44:13] <mobiusnz> weird
109: [00:44:13] <simon_w> mobiusnz, I'm looking at the standard TemplateIteratorProvider and it's right there
110: [00:44:17] <mobiusnz> didn't work for me before
111: [00:44:19] <mobiusnz> working now
112: [00:44:39] <ss23> https://github.com/silverstripe-labs/silverstripe-homepagefordomain/tree/0.1
113: [00:45:21] <ss23> simon_w: What about 3.1 or better?
114: [00:45:26] <simon_w> ss23, you probably want to say 3.0 for that composer file :p
115: [00:45:33] <simon_w> Well, 3.0.x
116: [00:45:42] <ss23> fuck
117: [00:45:55] * UncleCheese quit (Quit: UncleCheese)
118: [00:46:04] <simon_w> And you don't need the php line, since framework has it
119: [00:46:07] <ss23> simon_w: 3.0.x
120: [00:46:23] <simon_w> Yes
121: [00:46:30] <ss23> ttps://github.com/silverstripe-labs/silverstripe-homepagefordomain/blob/0.1/composer.json
122: [00:46:34] <ss23> better? :D
123: [00:46:37] <ss23> https://github.com/silverstripe-labs/silverstripe-homepagefordomain/blob/0.1/composer.json
124: [00:46:43] <simon_w> yup
125: [00:46:52] <ss23> kk, and for the master, 3.1 or better == ??
126: [00:46:57] <simon_w> ~3.1
127: [00:47:07] <ss23> does that include 3.2? :O
128: [00:47:08] <simon_w> Well, that's >=3.1,<4
129: [00:47:23] * Nivery has joined #silverstripe
130: [00:47:29] <ss23> Eh
131: [00:47:32] <ss23> That will work for now I guess
132: [00:48:30] <mobiusnz> gah
133: [00:48:37] <mobiusnz> goddamn chrome and its caching of redirects
134: [00:48:38] <guzzlefry> "silverstripe/cms": "3.1.x-dev" Should I still be using this one?
135: [00:48:54] <simon_w> guzzlefry, for what?
136: [00:49:09] <guzzlefry> simon_w: over the betas
137: [00:49:16] <simon_w> guzzlefry, for what?
138: [00:49:20] <guzzlefry> Currently on production.
139: [00:49:28] <simon_w> Yes, but for what?
140: [00:49:30] <guzzlefry> in composer.json
141: [00:49:33] * Bollig|DesignCty has joined #silverstripe
142: [00:49:57] <simon_w> You have two things you use composer for. What is this one?
143: [00:50:42] <simon_w> Is it a module or a project?
144: [00:50:50] <guzzlefry> it's a module/requirement.
145: [00:51:10] <guzzlefry> I think.
146: [00:51:14] * guzzlefry is confused now. :P
147: [00:51:31] <simon_w> Is the thing with the composer.json a module or a project?
148: [00:51:33] <ss23> mobiusnz: https://github.com/mikg0/silverstripe-homepagefordomain/commit/6103a86d2696e0c22d61c09e5592ef362b9b0075 That commit is enough to make it work, right?
149: [00:52:21] <guzzlefry> oh
150: [00:52:25] <guzzlefry> simon_w: it's a project.
151: [00:52:32] <simon_w> Then 3.1.x-dev is fine
152: [00:52:36] <guzzlefry> ok, thanks
153: [00:52:57] <guzzlefry> Sorry about the ditziness. :P
154: [00:53:06] <ss23> mobiusnz: COME ON
155: [00:53:09] * ss23 shakes mobiusnz
156: [00:53:12] <ss23> COME ON MAN GIMMIE DA GOODS
157: [00:53:24] * guzzlefry calls the cops.
158: [00:53:31] <mobiusnz> ss23: ah, the one I downloaded had extrastatics
159: [00:53:53] <ss23> oic
160: [00:54:00] <mobiusnz> it was just the zip bundle
161: [00:54:00] <ss23> this guy made two pull requests in a weird order etc
162: [00:54:03] <mobiusnz> ah
163: [00:54:04] <ss23> yep yep
164: [00:55:04] * howardgrigg has joined #silverstripe
165: [00:55:42] <ss23> mobiusnz: https://github.com/silverstripe-labs/silverstripe-homepagefordomain
166: [00:55:45] <ss23> mobiusnz: How is that? :)
167: [00:55:51] * mirrors has joined #silverstripe
168: [00:56:14] * Nivery quit (Ping timeout: 240 seconds)
169: [00:56:42] <mirrors> hey does anyone know how i can create a dataextension that i can force to be the last extension called
170: [00:56:54] <mobiusnz> ss23: yeah that looks about right
171: [00:56:58] <ss23> mirrors: I don't believe you can, sorry
172: [00:57:07] <ss23> mobiusnz: If there's anything else wrong with it, just let me know and I'll fix it
173: [00:57:10] * Nivery has joined #silverstripe
174: [00:57:50] <mirrors> ie the newsletter module has an extension for the siteconfig...i want to edit what the newsletter extension does but I do not want to edit the module
175: [00:58:38] <mobiusnz> ss23: that was the only change I made locally and it seemed to work fine
176: [00:59:23] * howardgrigg quit (Ping timeout: 240 seconds)
177: [01:01:04] <ss23> mobiusnz: If you get bored, looks like this error might still happen - Strict Standards: Declaration of HomepageForDomainExtension::updateFieldLabels() should be compatible with that of DataExtension::updateFieldLabels()
178: [01:01:11] <ss23> mobiusnz: Feel free to open a pull request set
179: [01:01:45] <ss23> "Very glad to hear about the PR Simon! Actually, having a replaceable "old page redirector" would be very good for us. I'm willing to do whatever I can to assist getting it into 3.1.1."
180: [01:01:53] <ss23> I'm very tempted to reply with something like "Suck my cock."
181: [01:03:11] * toddmorey has left #silverstripe
182: [01:04:50] * UncleCheese has joined #silverstripe
183: [01:05:11] <simon_w> Woo, Redis support is builtin
184: [01:05:19] <simon_w> That sounds like something to do after lunch
185: [01:05:23] <simon_w> ss23, four minutes
186: [01:06:02] <ss23> mmk!
187: [01:06:09] <ss23> Good too, I was getting hungry :D
188: [01:16:16] * zippy__ has joined #silverstripe
189: [01:20:11] <UncleCheese> Phoenician Falafel.. yum!
190: [01:22:48] <Pyromanik> http://paperspast.natlib.govt.nz/cgi-bin/paperspast?a=d&d=CHP18840626.2.26
191: [01:22:50] <Pyromanik> hahahah
192: [01:23:07] <Pyromanik> guts for that poor fellow
193: [01:23:54] <UncleCheese> what a great idea for a website
194: [01:23:57] <Pyromanik> 13:01 <+ss23> I'm very tempted to reply with something like "Suck my cock."
195: [01:24:01] <Pyromanik> 13:05 <@simon_w> That sounds like something to do after lunch
196: [01:24:03] <Pyromanik> o.0
197: [01:24:17] <Pyromanik> UncleCheese: eh?
198: [01:24:32] <UncleCheese> stories from old newspapers
199: [01:24:33] <UncleCheese> love it
200: [01:24:46] <Pyromanik> oh, archives.
201: [01:24:51] <Pyromanik> lol yeh, good times.
202: [01:25:07] <Pyromanik> times certainly were different in 1884
203: [01:25:20] <Pyromanik> 129 years ago
204: [01:28:54] * markusm has joined #silverstripe
205: [01:37:59] * catcher quit (Quit: Leaving)
206: [01:44:06] * mirrors quit (Quit: Page closed)
207: [01:44:45] <ss23> Pyromanik: ;)
208: [01:44:52] <ss23> "I'll have extra mayo on my burgerfuel"
209: [01:45:43] <Pyromanik> xD looking at old time sheets
210: [01:45:54] <Pyromanik> almost as good as old newspapers
211: [01:46:28] <Pyromanik> project name: PICA. Time sheet entry: 4 hours. description: "PICA PICA, PICACHOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"
212: [01:48:02] <ss23> hahaha
213: [01:48:10] <Pyromanik> oh fate, you fickle mistress.
214: [01:48:23] <Pyromanik> That fateful day, 7 Sept 2011: Downloaded events module, tried to get it to work, failed, found updated version, installed that. Attempted to get it to work, failed. Strange voodoo. Looked into source code to see if I could fix it. Wondered if there was an easier way. Evaluated building my own simple module for it. Decided against it.
215: [01:48:35] <Pyromanik> DECIDED AGAINST IT
216: [01:48:36] <Pyromanik> WHY
217: [01:48:37] <Pyromanik> WHY
218: [01:48:42] <ss23> hahaha
219: [01:48:56] <Pyromanik> CLIENT STILL CAN'T GET THEIR HEAD AROUND THE EVENTS CALANDER
220: [01:49:06] <Pyromanik> TWO YEARS LATER
221: [01:49:50] * curtosis has joined #silverstripe
222: [01:49:57] <Bollig|DesignCty> … had the same experience! hope the 3.x module is better ;)
223: [01:50:06] <Pyromanik> Bollig|DesignCty: don't bullshit yourself.
224: [01:50:08] <Pyromanik> It's exactly the same.
225: [01:50:15] <Bollig|DesignCty> *cries*
226: [01:50:25] <Bollig|DesignCty> Well. Fuck.
227: [01:50:32] <curtosis> hey all... trying to debug a weird HTMLText rendering issue
228: [01:50:33] <simon_w> Peavers_DEAD, Sig's trying to get me to do your work! Hurry up and do it! :p
229: [01:50:47] <ss23> :D
230: [01:51:13] <curtosis> specifically, it's rendering the text outside the <p> I have it in
231: [01:51:25] * mobiusnz1 has joined #silverstripe
232: [01:51:26] <Bollig|DesignCty> Pyromanik: so, umm, what's the timeframe for your open source events calendar? :D
233: [01:51:38] <Pyromanik> Bollig|DesignCty: 2 years, barely planned.
234: [01:51:44] <Pyromanik> ask me again in another four.
235: [01:51:57] <Bollig|DesignCty> Pyromanik: sweet! i'll get back to you in 4 weeks.
236: [01:52:15] * mobiusnz quit (Read error: Connection reset by peer)
237: [01:52:51] <simon_w> curtosis, yeah, you can't have nested <p> tags
238: [01:53:16] <curtosis> aha. *facepalm*
239: [01:53:36] <curtosis> can I add a css class to an HTMLText field?
240: [01:53:50] <simon_w> Wrap it in a div?
241: [01:54:51] <curtosis> hrm... designer put it on p. but I'm not above changing his css :p
242: [01:55:59] <Bollig|DesignCty> yeah, if the designer put it in <p> then either there should be only one paragraph or they're wrong ;)
243: [01:56:11] <simon_w> Most likely the latter
244: [01:56:18] <Bollig|DesignCty> most likely.
245: [01:56:20] <curtosis> very likely the latter
246: [01:56:47] <ss23> [User Error] Uncaught ReflectionException: Class does not exist
247: [01:56:48] <ss23> Why this?
248: [01:56:51] <Bollig|DesignCty> simon_w was just being polite :)
249: [01:57:04] <curtosis> I've been slowly trying to re-interpret it sanely.... he did everything in that blog engine and I'm disentangling.
250: [01:57:05] <simon_w> ss23, because the class doesn't exist
251: [01:57:14] <ss23> http://php.net/manual/en/class.reflectionexception.php this says it exists in PHP 5?
252: [01:57:42] <Bollig|DesignCty> the reflection exception class is telling you that a class you're trying to use doesn't exist...
253: [01:57:43] <simon_w> ss23, the exception message is that the class doesn't exist, not that ReflectionException doesn't exist
254: [01:57:49] <ss23> Oh, rofl
255: [01:57:54] <ss23> Wait
256: [01:57:58] <ss23> It doesn't tell me what $Class is
257: [01:57:58] <ss23> :<
258: [01:58:00] <ss23> Annoying
259: [01:58:01] <simon_w> Out of milkshake!
260: [01:58:05] <simon_w> ss23, callstack.
261: [01:58:10] <ss23> Object::static_lookup(,send_all_emails_to,stdClass)
262: [01:58:15] <ss23> Missing first param?
263: [01:58:21] <simon_w> That'll do it
264: [01:58:25] <ss23> Blurgh
265: [01:58:29] <ss23> This code is *sooooo* bad.
266: [01:58:37] <ss23> I'll just release to live and hope it works
267: [01:58:48] <curtosis> hey lookee that, it's in the right block! ;-)
268: [01:58:56] <curtosis> thanks for the speedy (obvious) solution
269: [01:58:59] <Pyromanik> 13:58 <@simon_w> Out of milkshake!
270: [01:59:05] <Pyromanik> Down to Daddy O's with you
271: [02:00:06] <simon_w> But, BurgerFuel
272: [02:00:29] <Pyromanik> no reason you can't have BF AND a milkshake.
273: [02:01:13] <simon_w> I did
274: [02:01:19] <ss23> :D
275: [02:01:20] <simon_w> That's where my milkshake came from
276: [02:01:30] <ss23> He had ku-maaaaa-ra fries too
277: [02:01:51] <Peavers_DEAD> lol simon_w|air, whats the problem?
278: [02:02:18] * ss23 has joined #silverstripe
279: [02:02:19] <ss23> help
280: [02:02:22] <ss23> op abuse
281: [02:02:25] <ss23> help
282: [02:02:27] <ss23> :<
283: [02:02:41] <simon_w> Peavers_DEAD, Sig wants it running on an instance
284: [02:02:49] <Peavers_DEAD> the plugin?
285: [02:02:54] <Pyromanik> no ss23, you are the ops!
286: [02:03:09] <Peavers_DEAD> Yeah our PM wants a demo from SS
287: [02:03:15] <simon_w> Yeah
288: [02:03:23] <simon_w> The demo's running on my laptop at the moment :p
289: [02:03:33] <Peavers_DEAD> I've got it running on my laptop too but shhhhhh
290: [02:04:20] <Pyromanik> iiiiiiiiit
291: [02:04:21] <simon_w> Oh good, you can do everything
292: [02:04:47] <ss23> Why does Email->send() end up trying to do some reflection to get a class?
293: [02:04:55] <Peavers_DEAD> lol
294: [02:04:55] <ss23> Does it interanlly reference the template as a class perhaps?
295: [02:05:00] <Peavers_DEAD> don't try and shift your work onto me!
296: [02:05:07] * priithansen quit (Quit: priithansen)
297: [02:05:27] <Peavers_DEAD> simon_w, you should come give the demo
298: [02:05:33] <Peavers_DEAD> you can take me out for beers afterwards
299: [02:05:33] <simon_w> Peavers_DEAD, it's your work!
300: [02:05:40] <simon_w> Yeah, he's trying to get me to do that too :p
301: [02:05:40] <Peavers_DEAD> please.
302: [02:05:41] <ss23> https://gist.github.com/ss23/7da98aabce36734a338c I'm struggling to understand what SS is doing on the inside to get to that point
303: [02:06:11] <Peavers_DEAD> you need to work on your releationship management, this is the perfect practise example
304: [02:06:31] * Nivery quit (Ping timeout: 264 seconds)
305: [02:06:37] <ss23> OI
306: [02:06:44] <ss23> You'll BOTH do whatever work Silverstripe tells you to do
307: [02:06:47] * ss23 whips Peavers_DEAD and simon_w
308: [02:06:50] <ss23> DO WHAT SIG SAYS
309: [02:06:59] <simon_w> Yeah, I went a day over my allocated hours already :p
310: [02:07:12] <Peavers_DEAD> we're not paying for that
311: [02:07:27] <ss23> Peavers_DEAD: You'll pay whatever we invoice
312: [02:07:27] <ss23> :3
313: [02:07:42] * ss23 invoices Peavers_DEAD for "IRC support hours"
314: [02:07:44] <ss23> :D
315: [02:07:52] <ss23> simon_w: ANYWAY PLZ HALP MY STACK TRACE - https://gist.github.com/ss23/7da98aabce36734a338c
316: [02:08:03] <simon_w> ss23, which version?
317: [02:08:09] <ss23> 3.0.5
318: [02:08:14] <ss23> With a 2.3 ecommerce module
319: [02:08:15] <ss23> :)
320: [02:09:28] <simon_w> ss23, and line 652 (and surrounding) of Order.php is?
321: [02:10:07] <simon_w> Ooh, is it a custom subclass of Email with a custom constructor that doesn't call parent::__construct?
322: [02:10:09] <ss23> I'll paste it, it looks standard email sending though
323: [02:10:11] <ss23> Hmm
324: [02:10:17] <ss23> $e2 = new Email_Template($adminEmail, $adminEmail, $subject2);
325: [02:10:21] <ss23> is Email_Template built in? :O
326: [02:10:43] <simon_w> Um, don't think so?
327: [02:11:15] <simon_w> But $this->class isn't being set, which means Object::__construct isn't being called
328: [02:11:26] <ss23> simon_w: You're right! :D
329: [02:11:30] <ss23> 10000000 points ^.^
330: [02:11:47] <simon_w> Anyway, Redis time!
331: [02:11:53] <ss23> Have fun, simon_w :D
332: [02:11:56] <ss23> I liked playing with redis when I did
333: [02:12:01] <ss23> It's like... simple and nice enough
334: [02:12:01] <simon_w> Hopefully HipHop has nicer session handler errors than PHP
335: [02:12:56] <ss23> this subclass.. $this->$subject = $subject;
336: [02:13:00] <ss23> not sure if typo or intentaionl >.>
337: [02:13:44] * simon_w guesses typo
338: [02:14:03] <simon_w> Oh right, I'm supposed to be doing help desk stuff :(
339: [02:14:17] <ss23> XD
340: [02:14:34] <simon_w> But not caring about the customers is so much nicer!
341: [02:14:40] <ss23> lol
342: [02:14:43] <ss23> idek how this code has worked...
343: [02:14:57] <simon_w> Crap, there's 5 tickets assigned to me
344: [02:15:04] <ss23> ALMOST 6!!!!!
345: [02:15:27] <simon_w> What? I can't open them in tabs? Fucking Zendesk.
346: [02:16:19] <ss23> simon_w: You can if you uh...
347: [02:16:29] <simon_w> Right click, open link in new tab?
348: [02:16:32] <ss23> If you use speciifc browsers, you can right click and open in new tab
349: [02:16:35] <ss23> Only works in, I think, Firefox atm
350: [02:16:51] <ss23> In Chrome iirc, it opens a new tab, but opens in the original window too
351: [02:16:54] <simon_w> Except right click gets treated as a left click by their JS and opens the ticket
352: [02:16:55] <ss23> Basically, it's fucking *retarded*
353: [02:17:04] <ss23> Use Failfox!
354: [02:17:15] <ss23> Anyway, yes, it's retarded
355: [02:17:21] <ss23> I fucking hate whoever decided to make zendesk like that.
356: [02:18:42] <irogue> zendesk is shit
357: [02:19:00] <ss23> It *could* be good
358: [02:19:09] <ss23> I like a lot of it, but the UI is not one of them.
359: [02:19:29] <simon_w> The old version was great
360: [02:19:36] <simon_w> Like, it looked basic but it worked
361: [02:20:20] <ss23> Yeah, tickets don't load ~50% of the time in Chrome now
362: [02:20:21] <ss23> :<
363: [02:20:42] * irogue uses freshdesk
364: [02:20:46] <ss23> fuck
365: [02:20:54] <ss23> something Redirect is deprecated?
366: [02:21:02] <ss23> I didn't see the error cause it redirected me before it finished >.<
367: [02:21:24] <irogue> Director::redirect()
368: [02:21:31] <ss23> Thats new, or deprecated?
369: [02:21:36] <simon_w> Deprecated
370: [02:22:27] <ss23> What's the new one? :O
371: [02:22:28] <MattSS_> so... any idea how to create a Page() and publish it with code?
372: [02:22:36] * MattSS_ is now known as MattSS
373: [02:22:38] <ss23> MattSS_: ->publish should work fine?
374: [02:22:41] <ss23> MattSS: It's in the versioned docs
375: [02:22:51] <ss23> MattSS: http://doc.silverstripe.org/framework/en/topics/versioning
376: [02:22:54] <MattSS> Doesn't appear to work as expected :(
377: [02:23:06] <ss23> Also, I SEE HOW IT IS, ONLY COME ON IRC WHEN YOU WANT HELP!? :<
378: [02:23:23] <MattSS> possibly I have to force it
379: [02:23:40] <MattSS> also, pretty much yeah :D
380: [02:23:44] <ss23> MattSS: Did you write() so it goes to the SiteTree first, then do a ->publish('Stage', 'Live');?
381: [02:23:47] <ss23> And if so, what happened?
382: [02:24:18] <MattSS> Tried that, I think in that case it works, but Versioned throws a warning saying it couldn't find the 'Stage' record when publishing
383: [02:24:25] <ss23> http://api.silverstripe.org/3.0/source-class-Controller.html#451-469 How come it doesn't tell me it's deprecated?!
384: [02:24:32] <MattSS> That appears to be what CMSMain does, but no errors there :)
385: [02:24:41] <simon_w> MattSS, ->writeToStage('Stage'); ->publish
386: [02:24:42] <ss23> MattSS: Did you make sure to do a ->write() first, so it gets written to the stage first?
387: [02:24:53] <ss23> Doesn't ->write() itself write to Stage by default?
388: [02:25:04] <simon_w> No, it writes to the current stage
389: [02:25:09] <ss23> lame
390: [02:25:20] <ss23> simon_w: How come redirect gives me deprecated error when docs http://api.silverstripe.org/3.0/source-class-Controller.html#451-469 says it's fine? ;_;
391: [02:25:28] <ss23> Or is it hitting another redirector if I do $this->redirect?
392: [02:25:34] <simon_w> ss23, cause that's Controller, not Director
393: [02:26:18] <ss23> Controller::curr()->redirect(' will work I guess, right?
394: [02:26:40] <MattSS> simon_w: Have tried that too - it works for the SiteTree_Live table, but my sub-classes _Live table doesn't update
395: [02:26:41] <simon_w> Yes
396: [02:27:33] <MattSS> altho it might have been getting confused about which stage it was writing to, so I'll try it from scratch now
397: [02:30:50] * FlyingSealion has joined #silverstripe
398: [02:34:13] <FlyingSealion> Hey, how can I make this show only the associated results for the page instead of all pages? return Category::get()->relation('Photos')->sort('ID', 'DESC')->limit(2);
399: [02:35:03] <ss23> FlyingSealion: Either something like $this->Photos-> or maybe $this->Categories->Photos, or like what you did, but with a ->filter('pageID' => $this->ID
400: [02:35:06] <ss23> Probably
401: [02:35:58] <FlyingSealion> ok cheers, I'll try it out
402: [02:39:05] <FlyingSealion> ->filter('ID', $this->ID) works, thanks for the help
403: [02:40:52] <MattSS> ss23 & simon_w: code example = http://www.sspaste.com/paste/show/51f9c9eccf7d5
404: [02:41:12] <ss23> FlyingSealion: That's probably not what you want
405: [02:41:24] <ss23> FlyingSealion: That will only get the photos where the singular photo has that one ID
406: [02:42:29] <Pyromanik> sminnee: I had news that there was a doppleganger of me rock'n around AKL too...
407: [02:42:43] <Pyromanik> boss was too pussy to get a photo though :<
408: [02:42:45] <Pyromanik> lol
409: [02:44:01] <irogue> ive seen a doppelganger of you in AKL, Pyromanik
410: [02:45:34] * Nivery has joined #silverstripe
411: [02:46:21] <FlyingSealion> ss23: I'm not sure what you mean, but it seems to be working how I want it. Will keep that in mind if I have any trouble with it in future though.
412: [02:46:41] <Pyromanik> irogue: haha
413: [02:47:05] <Pyromanik> apparently there's a fella rock'n around Queen street with the hair, and the stride, and a green hoody (which I wear to work all the time)
414: [02:52:00] <irogue> heh
415: [02:53:33] * markusm quit (Ping timeout: 250 seconds)
416: [02:53:45] * mobiusnz1 quit (Quit: Leaving.)
417: [02:54:03] * gordon has joined #silverstripe
418: [02:54:27] * gordon is now known as Guest45755
419: [02:55:31] * howardgrigg has joined #silverstripe
420: [02:55:44] * Guest45755 is now known as elgrodo
421: [03:00:16] * howardgrigg quit (Ping timeout: 276 seconds)
422: [03:00:25] * Nivery quit (Ping timeout: 245 seconds)
423: [03:01:35] * spronk has left #silverstripe
424: [03:05:20] * coldblooded01 quit (Quit: coldblooded01)
425: [03:05:58] <MattSS> ->publish('Stage', 'Live') only seems to set stuff on SiteTree, not any sub-classes
426: [03:06:30] <ss23> Ringing government departments is always scary
427: [03:06:50] <ss23> Just had to talk soemone through accepting an SSL warning (was really good of her not to do it automatically :D) and she was like "Hmm, I hope IT doesn't get mad at me for doing this"
428: [03:07:00] <ss23> Peavers_DEAD's job must suck
429: [03:07:00] <ss23> :O
430: [03:07:04] <ss23> (in that regard)
431: [03:07:29] <Peavers_DEAD> lol?
432: [03:07:35] * Bollig|DesignCty waves to MattSS!
433: [03:07:51] <Peavers_DEAD> I've got nothing to do with support, unlike you champ. Sorry!
434: [03:08:57] <ss23> Peavers_DEAD: Yeah, but you have to deal with the IT department
435: [03:09:16] <MattSS> hai2Bollig|DesignCty
436: [03:10:32] <Bollig|DesignCty> ohai!
437: [03:10:51] <Peavers_DEAD> trying to use my govt issued workstation for the first time, its actually giving me a headache...
438: [03:11:00] * spronk has joined #silverstripe
439: [03:12:35] * spronk has left #silverstripe
440: [03:12:37] * FlyingSealion quit (Ping timeout: 250 seconds)
441: [03:14:08] <simon_w> MattSS, a hack option would be ->writeToStage('Stage'); ->forceChange(); ->writeToStage('Live')
442: [03:14:12] * spronk has joined #silverstripe
443: [03:14:21] <simon_w> Maybe
444: [03:21:59] <elgrodo> can anyone point me to a definitive nginx config for reverse proxying with SS 3.0.5
445: [03:22:24] <elgrodo> I want to serve static files with nginx and pass all PHP calls to Apache
446: [03:23:39] * mobiusnz has joined #silverstripe
447: [03:25:59] <MattSS> simon_w: funny, I just decided to try that myself, and got it working after I found the ->forceChange() method
448: [03:26:05] <MattSS> should have just checked IRC before I started ;)
449: [03:26:20] <simon_w> Well, that seems to be what everyone else does :p
450: [03:32:04] * mobiusnz quit (Quit: Leaving.)
451: [03:32:51] * Nivery has joined #silverstripe
452: [03:34:45] * mobiusnz has joined #silverstripe
453: [03:36:53] * Nivery quit (Ping timeout: 240 seconds)
454: [03:42:57] <Pyromanik> 14:44 < irogue> ive seen a doppelganger of you in AKL, Pyromanik
455: [03:43:05] <Pyromanik> This is BS man, I'm unforgettable!
456: [03:43:17] <Pyromanik> It's near impossible for people to confuse me with someone else :P
457: [03:43:17] <spronk> yeah
458: [03:43:19] <spronk> it was just Pyro
459: [03:43:27] <spronk> i see him everywhere
460: [03:43:27] <Pyromanik> I'm just so special
461: [03:43:35] <Pyromanik> BURNT INTO YOUR BRAIN
462: [03:43:39] <spronk> pretty sure I saw him walking past the Burj Dubai last week
463: [03:43:45] <spronk> when i was watching Al Jazeera
464: [03:43:52] * Pyromanik cockynesses his ego all over this place
465: [03:43:59] <Pyromanik> spronk: hahahahah
466: [03:44:08] * spronk waits to be disconned due to PRISM / GCSB / KEYSTONE
467: [03:44:39] <Pyromanik> had people in my own club think I was 'A man of middle eastern decent' when I turned up to ref their game a while back (most of the birds hadn't seen me in ages)
468: [03:44:58] <Pyromanik> Looking a bit more respectable now I've lost the beard.
469: [03:45:12] <spronk> lulz
470: [03:47:36] <MattSS> simon_w: Thanking greatly :)
471: [03:47:41] <MattSS> Bollig|DesignCty: long time no see!
472: [03:48:01] <Bollig|DesignCty> I know right? you've been busy getting engaged and stuff :p
473: [03:48:19] <Bollig|DesignCty> What are you doing back here anyway?
474: [03:48:51] <MattSS> heh, and married even!
475: [03:51:22] * cloph_away has joined #silverstripe
476: [03:52:02] * cloph quit (Ping timeout: 268 seconds)
477: [03:56:08] <simon_w> Yay, invalid timestamps! Don't you just love OAuth 1.0?
478: [03:56:50] <spronk> fuck that shit
479: [03:56:58] <spronk> then again, its not like oauth2 is any better
480: [03:57:16] <spronk> oh what's that, you call your client_secret "clients_Secret" ?!
481: [03:58:44] <simon_w> Oauth2+Bearer is a lot nicer to work with than OAuth1
482: [03:59:01] <ss23> I <3 bears.
483: [03:59:05] <ss23> and this is bearer.
484: [03:59:06] <spronk> well, for the remote calls, yeah
485: [03:59:16] <spronk> but there are some serious issues with oauth2 impls
486: [04:01:45] <simon_w> It really doesn't help that Google came along and was all "We want to be able to build OpenID on it, screw the rest of you"
487: [04:02:10] <spronk> mm
488: [04:02:39] <ss23> Oh, ah, it's gunna hit yaaaaaaa!
489: [04:06:01] <Peavers_DEAD> omg I can finally clone from git on the corp network!
490: [04:06:13] <Peavers_DEAD> rock my world.
491: [04:10:18] <ss23> Oh can you?
492: [04:10:23] * ss23 changes gitlab to ues a different port
493: [04:10:23] <ss23> :)
494: [04:10:35] <Peavers_DEAD> please, you've no idea how to configure gitlab.
495: [04:10:40] <ss23> haha
496: [04:10:44] <Peavers_DEAD> I however, do ;)
497: [04:10:51] <ss23> Fancy pants :P
498: [04:11:11] <Peavers_DEAD> gitlab also uses a config.yml file
499: [04:11:13] <Peavers_DEAD> just to be the same
500: [04:17:41] * zippy__ quit (Ping timeout: 248 seconds)
501: [04:18:32] <ss23> If I have a $Page, is there a nice way to get all the links on it, or should I just regex the content myself?
502: [04:18:38] <ss23> I figure the broken link checker does it somehow...
503: [04:18:39] * ss23 checks
504: [04:20:43] <ss23> wtf, it cheats
505: [04:20:43] <ss23> ;_;
506: [04:20:51] <ss23> "SiteTree"."HasBrokenLink" = 1
507: [04:22:48] * mobiusnz quit (Quit: Leaving.)
508: [04:34:39] <Pyromanik> no the cheat, we installed that lightswitch so you are able to responsibly operate the lights, not so you can hold lightswitch raves
509: [04:34:52] <ss23> XD
510: [04:34:59] <Pyromanik> Peavers_DEAD: so why are you dead? Did you go walking in Newtown after midnight?
511: [04:40:57] <Pyromanik> 440! Time to stop the rock!
512: [04:41:06] * Pyromanik wub wubs
513: [04:41:10] <ss23> I wanna finish two more tickets tonight
514: [04:41:11] <ss23> :O
515: [04:45:13] <ss23> http://www.silverstripe.com/assets/about-us/stephen.jpg damn I'm good looking
516: [04:45:53] <spronk> haircut, bro.
517: [04:46:06] <ss23> Whats that? :)
518: [04:46:12] <spronk> your glasses aren't rapist enough for your current style.
519: [04:46:18] <spronk> Oh, and you don't have a pedo stache
520: [04:46:24] <ss23> damn, okay, I'll work on it
521: [04:46:44] <ss23> I wouldn't want anyone to think I really am just trying to give kids candy for fun!
522: [04:46:50] <Pyromanik> fuck'n... I came in to work yesterday morning, and there's a fucking gift voucher for $20 discount at the hairdressers down the road.
523: [04:46:53] <Pyromanik> on mykeyboard.
524: [04:47:01] <Pyromanik> I'm not sure if joke or hint :<
525: [04:47:01] <spronk> discount?
526: [04:47:02] <ajmitch> ss23: you have an old van that you drive to work?
527: [04:47:04] <ss23> hahaha Pyromanik XD
528: [04:47:04] <spronk> hmm
529: [04:47:11] <ss23> ajmitch: I *wish*
530: [04:47:14] <spronk> pretty sure that would get my hairdressers paying me
531: [04:47:15] <ss23> I have to go on the bus
532: [04:47:20] <ss23> But it's okay, I go past a few schools o/
533: [04:47:28] <Pyromanik> :<
534: [04:47:33] <ajmitch> the GCSB are passing your details on as we speak
535: [04:47:44] <ss23> hahaha
536: [04:47:47] <spronk> lol sif
537: [04:47:57] <spronk> they already forwarded them to John Key for personal inspection
538: [04:47:59] <spronk> aaaages ago
539: [04:48:04] <ajmitch> I'd be worried then
540: [04:48:13] <ss23> When I was in AU, I lived like, opposite a school (as in, school on the other side of the raod to me), and the house behind us (you know, one driveway, two houses) was a kindergarden during the day
541: [04:48:18] <ss23> I was like "This house must be pedophile heaven"
542: [04:48:34] <Pyromanik> who even thinks like that?
543: [04:48:47] <spronk> ...yeah :S
544: [04:48:52] <Pyromanik> Oh that's right, they guy that dreams up hypothetical murders people all day long.
545: [04:49:02] <Pyromanik> ways to**
546: [04:49:14] <ss23> Pyromanik: IMAGINE YOU'RE WOKEN UP BY KIDS EVERY MORNING
547: [04:49:19] <ss23> tell me you wouldn't think about pedophilia!
548: [04:49:20] <ss23> Wait
549: [04:49:20] <Pyromanik> someone make this work
550: [04:49:22] <ajmitch> doesn't every developer think up ways to get rid of users?
551: [04:49:22] <ss23> ...
552: [04:49:22] <Pyromanik> http://tympanus.net/codrops/2012/10/17/pfold-paper-like-unfolding-effect/
553: [04:49:25] <Pyromanik> then tell me how
554: [04:49:26] <Pyromanik> ZOMG
555: [04:49:36] <Pyromanik> ss23: designers behind me are all "MAT DAAAMOOOON"
556: [04:49:41] <ss23> hahaha
557: [04:49:45] <ss23> XD
558: [04:49:54] <Pyromanik> I'm thinking about that chat we had last Wednesday
559: [04:50:16] <Pyromanik> wholey shit that was over a week ago
560: [04:50:18] <Pyromanik> guts 2 me
561: [04:50:30] <ss23> lol
562: [04:50:30] <Pyromanik> zomg, at about this time last week I was at WDCNZ
563: [04:50:33] <ss23> WDC WDC!!!!
564: [04:50:35] <Pyromanik> looking forward to beers
565: [04:50:39] <ajmitch> zomg it's almost 5pm
566: [04:50:42] <ss23> :O
567: [04:50:51] <ss23> Coworker just messaged me and was like "whats your favorite beer?"
568: [04:50:53] <ss23> not sure what in regards to
569: [04:50:55] * mobiusnz has joined #silverstripe
570: [04:50:55] * ss23 looks around
571: [04:51:03] <Pyromanik> because it was really warm in that theatre and I didn't have much sleep... I was trying not to fall asleep, especially while sitting next to Rainer
572: [04:52:08] * ChronicD has joined #silverstripe
573: [04:53:43] <spronk> o_O
574: [04:55:51] <simon_w|air> <ss23> Coworker just messaged me and was like "whats your favorite beer?"
575: [04:55:54] <simon_w|air> Polar
576: [04:55:56] * howardgrigg has joined #silverstripe
577: [04:55:57] <Pyromanik> sheeeeeeet
578: [04:56:04] <Pyromanik> xD
579: [04:56:11] <ss23> I said "cider"
580: [04:56:13] <Pyromanik> SCRIPT Y U NO WERK
581: [04:56:16] <ss23> ^^^
582: [04:56:18] <ss23> STORY OF MY LIFE
583: [04:56:21] <Pyromanik> ss23: Garage Project
584: [04:56:22] <ss23> SCRIPT Y U NO WORK
585: [04:56:27] <Pyromanik> <3
586: [04:59:17] * Peavers_DEAD quit (Ping timeout: 248 seconds)
587: [05:00:00] * howardgrigg quit (Ping timeout: 245 seconds)
588: [05:00:54] <Pyromanik> "Unfold is not a function"
589: [05:00:55] <Pyromanik> WUT
590: [05:00:59] <Pyromanik> but you no error
591: [05:01:04] <Pyromanik> I just don't
592: [05:01:05] <Pyromanik> wtf
593: [05:01:07] <Pyromanik> diaf
594: [05:01:13] <Pyromanik> 501
595: [05:01:23] * Pyromanik quit (Quit: leaving)
596: [05:03:07] <ss23> he mad
597: [05:03:08] <ss23> :O
598: [05:09:07] * mobiusnz1 has joined #silverstripe
599: [05:11:40] * mobiusnz quit (Ping timeout: 245 seconds)
600: [05:21:20] <ChronicD> i just decided I'm sick of typing in long directories in terminal and goodled terminal bookmarks and found one called bashmarks but can't make it work - newb to shell commands. what do other people do - oh I'm on osx 10.8
601: [05:24:19] <ss23> >OSX
602: [05:24:21] <ss23> self inflicted
603: [05:24:25] <ss23> ChronicD: symlink to ~/shortcut
604: [05:24:30] <ss23> so then just ~/shortcut/asdfasdf
605: [05:24:51] * nickmolhoek quit (Quit: nickmolhoek)
606: [05:25:34] <ChronicD> hm ah symlink of coarse! thanks
607: [05:25:42] <ss23> :D
608: [05:26:46] <sminnee> there's also the alias command, which you can set things up in ~/.profile
609: [05:26:49] <sminnee> something like alias mysqlstart='sudo /opt/local/bin/mysqld_safe5 > /dev/null &'
610: [05:27:01] <sminnee> and then you can just run "mysqlstart" on the command line
611: [05:27:06] <sminnee> it's more for commands than directory names
612: [05:27:15] <sminnee> also - don't forget tab completion ;)
613: [05:27:52] <ChronicD> sminnee: thanks - and i love tab completion :)
614: [05:28:51] <sminnee> Don't do this though: alias cd="rm -rf"
615: [05:29:05] <sminnee> :p
616: [05:29:15] <wmk> ;)
617: [05:29:36] <ChronicD> i would hope to os would block that
618: [05:29:52] <sminnee> haha probably not. unix is like an industrial powertool
619: [05:30:03] <sminnee> it's very powerful but it will chop your hand off without blinking.
620: [05:30:16] <sminnee> not that powertools blinks
621: [05:30:29] <ChronicD> so much for progressive technology intelligence :) oops got to go thanks for tips everyone
622: [05:30:37] <spronk> uughh
623: [05:30:43] <Colin[pi]> I knew a guy once who did an rm -rf on the root
624: [05:30:49] * pex has joined #silverstripe
625: [05:30:50] <Colin[pi]> we dont talk about him much any more
626: [05:31:49] * spronk remembers when some FUCKING CUNTS at uni managed to hack around the idiotic policy of including . and ~ first in users PATHs by committing bash scripts that aliased shit like ls to rm -rf :@
627: [05:32:02] <Colin[pi]> :(
628: [05:32:23] <spronk> then there was that other time when they fished passwords by making fake login screens and running them when people weren't looking
629: [05:32:48] <spronk> anyonje here use mandrill?
630: [05:33:49] <Colin[pi]> we had very very lax security on our unix server at uni, some guys in our class decided to replace a bkg image on this sweet girl's home page with scat pr0n :( she didn't find out for weeks
631: [05:33:50] * DigNZ quit (Ping timeout: 240 seconds)
632: [05:35:54] <ss23> spronk: Meanwhile, ours just ran unpatched servers and unencrypted NFS
633: [05:37:21] <Colin[pi]> one guy I knew found out they left the switch panel open in his dorm building one day, so he patched himself into the uber fast (for the day) backbone and downloaded about 3GB of mp3s in a day, which back then was a hugggge amount lol
634: [05:38:32] * DigNZ has joined #silverstripe
635: [05:38:33] * DigNZ quit (Remote host closed the connection)
636: [05:40:03] <ss23> XD
637: [05:40:05] * elgrodo quit (Read error: Connection reset by peer)
638: [05:40:22] <Colin[pi]> had a knock on his door the next morning :D
639: [05:40:25] <spronk> lul
640: [05:40:28] <Colin[pi]> network admins were like WTF?
641: [05:40:33] <Colin[pi]> huggge data spike
642: [05:41:24] <ss23> Meanwhile, I stream some 128k MP3's and get told that it's clogging up bandwidth
643: [05:41:38] <ss23> so next day I wait till after 5pm, and then get banned completly instead.
644: [05:41:59] <ss23> uni sysadmins were very... idk, annoying, somethign
645: [05:42:10] <simon_w|air> Whereas our uni setup was actually good :p
646: [05:43:09] <ss23> Not like you could get less good than Waikato unless you were really trying
647: [05:43:13] <simon_w|air> Except for that one guy who did a chmod -R 777 ~, then other people went in and chown-ed things
648: [05:43:16] <ss23> haha
649: [05:43:35] <simon_w|air> And he was a pain, so the programmers left it like that :D
650: [05:43:53] <irogue> people who call at 17:29 deserve a painful death
651: [05:44:05] <ss23> Lots of accounts on our network were +x, and of course, all of their umask was whatever so that you could basically cd /home/username/comp200 and get whatever assignments you need
652: [05:44:45] <ss23> I did independantly discover a l33t-hax apache vuln though :D
653: [05:45:00] <ss23> Of course, it got patched like 5 years ago, but still, felt sweet to discover indepndantly
654: [05:45:13] <simon_w|air> Yeah, so glad I went somewhere where the comp sci/engineering/maths department had smart enough people to actually run their own servers in house, including IPv6 stacks before the rest of the uni got it
655: [05:45:57] <simon_w|air> And this was across Mint, BSD, XP/7 and OSX
656: [05:46:10] <ss23> instead, we had the WAND section
657: [05:46:18] <ss23> Full of the most arrogant networking people I've ever met >.<
658: [05:46:46] <simon_w|air> You can ask willr all about ITS though (the general uni IT group)
659: [05:46:46] * UncleCheese quit (Quit: UncleCheese)
660: [05:46:52] <ss23> lol
661: [05:48:48] <simon_w|air> So the only real dealing I had with them was changing my password whenever it expired. Do it from a workstation, and can't use last 10 passwords or whatever. Do it using the web services, use the same password as much as you want!
662: [05:49:28] * DigNZ1 has joined #silverstripe
663: [05:49:29] * DigNZ1 quit (Remote host closed the connection)
664: [05:51:18] * DigNZ1 has joined #silverstripe
665: [05:51:31] * Liquide quit ()
666: [05:51:34] * Shrike_Finland quit (Quit: Leaving.)
667: [06:00:53] * pex quit (Quit: pex)
668: [06:04:22] * DigNZ has joined #silverstripe
669: [06:05:23] * DigNZ1 quit (Ping timeout: 240 seconds)
670: [06:13:53] * swordsmanz has joined #silverstripe
671: [06:24:32] * pex has joined #silverstripe
672: [06:28:37] * DigNZ1 has joined #silverstripe
673: [06:28:50] * vikas_s has joined #silverstripe
674: [06:32:22] * ChronicD quit (Quit: ChronicD)
675: [06:49:43] <ss23> [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'ArrayData'
676: [06:49:46] <ss23> story of my life.
677: [06:51:09] * zfmf1 has joined #silverstripe
678: [06:53:33] * Colin[pi] quit (Ping timeout: 264 seconds)
679: [06:54:16] * SightUnseen has joined #silverstripe
680: [06:54:20] * SightUnseen has left #silverstripe
681: [06:56:23] * howardgrigg has joined #silverstripe
682: [07:01:07] * howardgrigg quit (Ping timeout: 264 seconds)
683: [07:13:05] * Shrike_Finland has joined #silverstripe
684: [07:13:15] <ss23> screw templating in silverstripe
685: [07:14:48] * Shrike_Finland1 has joined #silverstripe
686: [07:14:53] * Shrike_Finland quit (Read error: Connection reset by peer)
687: [07:15:06] <guzzlefry> night folks
688: [07:15:12] <ss23> nn guzzlefry
689: [07:15:14] * ss23 rawrs
690: [07:15:14] <simon_w|air> Screw templating :p
691: [07:15:21] <ss23> simon_w|air: HALP
692: [07:15:25] <ss23> how 2 loop over array and output things
693: [07:15:44] <ss23> foreach ($arr as $key => $val) { echo $key; or echo $value; idc which }
694: [07:16:03] <ss23> IT's an array that looks like array('foo' => 'foo', 'bar' => 'bar');. I wanna get 'foo, bar' outputted
695: [07:16:06] <ss23> how 2 do it
696: [07:16:53] * pex quit (Ping timeout: 248 seconds)
697: [07:16:58] * ocm has joined #silverstripe
698: [07:17:05] <simon_w|air> return new ArrayList(array_map(function($v) { return DBField::create_field('Text', $v); }, $arr)); <% loop $Blah %>$Me<% end_loop %>
699: [07:17:15] <ocm> howdy!
700: [07:17:15] <ss23> ........
701: [07:17:19] <simon_w|air> You might just need array_values instead of array_map
702: [07:17:22] <simon_w|air> Can't remember
703: [07:17:24] <ss23> "the way to do that with a silverstripe template is to FUCK YOU, USE PHP"
704: [07:17:52] <ss23> :<
705: [07:17:53] <ss23> Hate it
706: [07:17:54] <ss23> hai ocm
707: [07:17:55] <ss23> ;_;
708: [07:27:34] * howardgrigg has joined #silverstripe
709: [07:35:54] * vikas_s has left #silverstripe
710: [07:36:05] * openbees has joined #silverstripe
711: [07:37:56] <openbees> Having problem with sortableGridField module .. trying on many_many relation as explained in docs and getting "Column 'SortOrder' in field list is ambiguous" .. did anyone else encounter this before ?
712: [07:38:05] <openbees> using SS3.1
713: [07:39:50] <simon_w|air> openbees, you've got SortOrder on both the DataObject and an extra field for the many_many
714: [07:39:57] <Marvanni> Use Parent_Childs.SortOrder ..
715: [07:40:22] <Marvanni> and wat simon says..
716: [07:40:33] <ss23> simon says
717: [07:40:34] <ss23> :D
718: [07:41:11] * simon_w|air sighs
719: [07:41:19] <ss23> Have you heard that too mcuh, simon_w|air? :P
720: [07:43:37] <simon_w|air> You could say that
721: [07:48:29] * chillu has joined #silverstripe
722: [07:48:53] <simon_w|air> Shh, chillu's back! Pretend like you're behaving!
723: [07:49:28] <chillu> :D Holidays over *sadface*
724: [07:50:22] <simon_w|air> Aww, that's always the worst part of them
725: [07:50:35] <ss23> XD
726: [07:50:40] <ss23> You mean the BEST part
727: [07:50:44] * ss23 throws a bunch of tickets at chillu :D
728: [07:51:02] <chillu> Ugh. So much to catch up on ...
729: [07:51:13] <simon_w|air> Just assign it all to ss23. He likes that.
730: [07:51:27] * Shrike_Finland1 quit (Quit: Leaving.)
731: [07:51:28] <ss23> lol
732: [07:51:44] <ss23> I'm hoping tomorrow I can close like 8 high priorty tickets, and then I'll only have 1 left in high :D
733: [07:51:47] <ss23> Then on to the NORMALS
734: [07:52:53] <chillu> Good news!
735: [07:54:38] <ss23> So I'm told that "Remain employed" is not a good goal for the next year or so to have on a proper performance review :<
736: [07:54:56] <ss23> Neither is my "What can we do to help with your goals?" "Keep me employed"
737: [07:57:14] * Peavers has joined #silverstripe
738: [07:59:16] <simon_w|air> Hehe, performance reviews
739: [07:59:54] <ss23> I understand the need for a formal process somewhat, but if someone doesn't care, why bother :/
740: [08:01:26] * Peavers quit (Ping timeout: 240 seconds)
741: [08:04:04] * kinglozzer has joined #silverstripe
742: [08:08:59] <Marvanni> What would you suggest when using the SiteTree Level 1 for a OnePageTemplate...
743: [08:09:31] <Marvanni> I tried to loop Menu 1, and Level 1 to display $Layout for each page, but that does not work..
744: [08:25:18] * ARNHOE has joined #silverstripe
745: [08:26:27] * ARNHOE_ has joined #silverstripe
746: [08:26:28] * ARNHOE quit (Read error: Connection reset by peer)
747: [08:27:50] * lobarvaz has joined #silverstripe
748: [08:36:23] <DesignerX> Hi, I have #Student has_one #School . How can I have this has_one relation & be able to edit the #School object from #Student ?
749: [08:38:32] <wmk> anyone can help me with a form that doesn't call the action?
750: [08:38:57] <wmk> DesignerX, frontend or backend?
751: [08:39:04] <DesignerX> wmk: backend
752: [08:41:54] * inadream has joined #silverstripe
753: [08:42:21] <wmk> gridfield relationeditor?
754: [08:43:09] <wmk> had the same problem some days ago and found no really good solution. in my case i have an existing has_one relation, i just want view/edit and no add/delete
755: [08:44:04] <wmk> DesignerX, just picking another existing object / add a new object is easy.
756: [08:45:12] <DesignerX> yeh, that part is easy .. but having the CMSFields of #School renderd within #Student & saving both objects is the harder part
757: [08:47:48] <DesignerX> the question above was an example, I have other cases where I need "one to one strict relation" so ParentObject will have one-to-one with ChildObject . It will need to create new object if a relations doesnt already exist..
758: [08:48:10] <wmk> yup. 1:1 over here to.
759: [08:48:19] <wmk> $belongs_to is also your friend
760: [08:48:56] <DesignerX> $belongs_to on ChildObject & Parent object (never used it before )
761: [08:50:04] <openbees> DesignerX : #student has_one #School and #School has_many student
762: [08:50:36] * EasyCo quit (Quit: EasyCo)
763: [08:50:54] <DesignerX> openbees: I picked a bad example above :( the question above was an example, I have other cases where I need "one to one strict relation" so ParentObject will have one-to-one with ChildObject . It will need to create new object if a relations doesnt already exist..
764: [08:52:28] <openbees> then just do $has_one in both DO
765: [08:52:59] <openbees> http://doc.silverstripe.org/framework/en/topics/datamodel -> Relations -> has_one
766: [08:53:47] <DesignerX> openbees: yeh, what i'm stuck on is having the Fields of ChildObject renderd on ParentObject
767: [08:54:04] <wmk> openbees, not has_one and belongs_to ???
768: [08:54:09] <DesignerX> $has_one will only show a dropdown of existing objects
769: [08:55:56] <openbees> oops ... now only I understand your situation !
770: [08:56:27] <DesignerX> :) understanding the problem is 1/2 the solution, do you have the other half :D
771: [08:56:41] <openbees> :D thinking
772: [08:57:12] <openbees> will sure need some extra work with gridfield .. simon_w you got anything before I suggest :D
773: [08:57:20] * violetina has joined #silverstripe
774: [08:58:56] <DesignerX> is there a GF extention to edit the Object9s) fields from the "table" . (inline edit?)
775: [08:59:48] <DesignerX> like without having to click & open the object, just have the eddit fields on the GF table ?
776: [09:01:36] <openbees> https://github.com/ajshort/silverstripe-gridfieldextensions this one has
777: [09:02:16] <openbees> DesignerX : for that 1-1 nothing comes in mind :(
778: [09:02:32] <DesignerX> I guess that has to work for now if I can set the relation limit on GF
779: [09:03:16] <openbees> yeh .. that could be a workaround .. so actually it would be has_one ..has_many .. but will act like 1-1
780: [09:04:35] <DesignerX> yeh :)
781: [09:05:32] <DesignerX> Will nbeed to create a custom GF_Config & strip out all "has_many" related features & some CSS work
782: [09:15:52] * inadream has left #silverstripe
783: [09:16:39] * Shrike_Finland has joined #silverstripe
784: [09:28:22] * Colin[pi] has joined #silverstripe
785: [09:33:29] * Nivery has joined #silverstripe
786: [09:38:04] * Nivery quit (Ping timeout: 276 seconds)
787: [09:47:39] * wmk wonders how to loop over summary_fields in template...
788: [09:51:26] * chillu quit (Quit: chillu)
789: [09:53:06] * priithansen has joined #silverstripe
790: [09:55:15] * micmania1 has joined #silverstripe
791: [09:55:21] * chillu has joined #silverstripe
792: [09:55:33] <kinglozzer> wmk: public function SummaryFields() { return Config::inst()->get('MyClass', 'summary_fields'); }
793: [09:56:04] * chillu quit (Client Quit)
794: [09:56:24] <kinglozzer> Well, you might need to do a bit more work, but you get the idea :P
795: [09:58:39] * chillu has joined #silverstripe
796: [09:59:31] <Zauberfisch> yay
797: [09:59:34] <Zauberfisch> chillu is back
798: [09:59:49] <Zauberfisch> we missed you chillu
799: [10:00:19] <chillu> :D Not much time for open source at the moment, but I'm glad there was so much activity while I was gone!
800: [10:03:02] * mobiusnz1 quit (Quit: Leaving.)
801: [10:04:21] <openbees> Is there any way to forcefully remove unused old columns from tables
802: [10:09:17] <Zauberfisch> openbees I think someone made a module for that
803: [10:09:25] <Zauberfisch> but can't recall who or what it was named
804: [10:09:31] <Zauberfisch> just that I saw it on github
805: [10:09:41] <Zauberfisch> you probably find it somewhere within my 500 stared repos :D
806: [10:10:00] <openbees> for : 1-many like 1-1 ?
807: [10:10:12] <Zauberfisch> hmm?
808: [10:11:25] <Marvanni> Ah we can have templates/Content now for $Content in ss3???
809: [10:11:42] <Zauberfisch> was that a question or a statement?
810: [10:12:03] <Marvanni> both i guess...
811: [10:12:19] <openbees> Zauberfisch : for what you were suggesting that :D didn't get you ?
812: [10:12:23] <Marvanni> just browsing ss3 sourcecode
813: [10:12:24] <Zauberfisch> well, it would be cool, no idea if this feautre exists
814: [10:12:36] <Zauberfisch> openbees you are confusing me
815: [10:12:42] <openbees> you too :P
816: [10:12:48] <Marvanni> foreach(array('Content', 'Layout') as $subtemplate) {
817: [10:13:10] <Marvanni> replacing the special "$Content" and "$Layout" placeholders with their respective subtemplates.
818: [10:13:30] <Zauberfisch> cool, but sad that its still limited to hardcoded variables
819: [10:14:00] <Marvanni> thats what I thought... could be a static and allow adding custom subfolders...
820: [10:15:49] <openbees> ohh shit ... sorry Zauberfisch .. I could not remember my own question .. #shame
821: [10:15:49] <openbees> it was for old column ... thanks .. was lost in some bug :D
822: [10:16:02] <Marvanni> No I still need to get the Layout template in a template loop... any ideas?
823: [10:16:25] <Marvanni> No = Now
824: [10:17:49] * guci0 has joined #silverstripe
825: [10:17:54] <guci0> Hello World!
826: [10:18:08] <Zauberfisch> haha, openbees
827: [10:18:44] <Zauberfisch> ok, I am going to grab some food
828: [10:18:47] <Zauberfisch> cya later
829: [10:19:19] <openbees> cya .. searching in your 500 starred repo #Pain :D
830: [10:29:11] <ocm> hel;lo guci0
831: [10:30:14] * pippy quit (Ping timeout: 240 seconds)
832: [10:30:54] * pippy has joined #silverstripe
833: [10:33:16] * mobiusnz has joined #silverstripe
834: [10:41:47] * mobiusnz quit (Ping timeout: 240 seconds)
835: [10:43:08] <kinglozzer> Quick question chillu/simon_w|air/anyone else who may know, RestfulService says it doesn't support JSON, presumably I can still use it to fetch some JSON data and just handle it myself outside of the RestfulService class?
836: [10:49:02] * sam__ has joined #silverstripe
837: [10:51:26] * inadream has joined #silverstripe
838: [10:52:55] <micmania1> kinglozzer, I think it just returns an SS_HTTPResponse so you can use it however you like.
839: [10:53:30] <kinglozzer> Cool thanks
840: [10:57:08] <sam__> hi.....
841: [10:57:20] <sam__> its just an css issue....
842: [10:57:29] <sam__> need to change the g+ image
843: [10:57:49] <sam__> http://golf.kc316.com/blog/get-the-discounts-you-deserve/
844: [11:06:58] * inadream has left #silverstripe
845: [11:07:31] * inadream has joined #silverstripe
846: [11:08:26] * mobiusnz has joined #silverstripe
847: [11:09:50] * inadream quit (Quit: Ex-Chat)
848: [11:11:42] <Zauberfisch> micmania1 kinglozzer sort of, it returns a RestfulService_Response object which is a subclass of SS_HTTPResponse
849: [11:12:02] <Zauberfisch> $json = json_decode($response-°getBody());
850: [11:12:26] <kinglozzer> Thanks :)
851: [11:12:35] <Zauberfisch> actually, it should be $data ro something because the returned thing is not json
852: [11:13:09] <Zauberfisch> and you might want to check something like if ($response-°getStatusCode() == 200)
853: [11:16:14] * openbees quit (Quit: Leaving)
854: [11:24:10] <Marvanni> has onyone created a OnPageTemplate for SS?
855: [11:24:19] * zfmf1 has left #silverstripe
856: [11:26:26] <ss23> https://github.com/silverstripe/addons.silverstripe.org/issues/42 this ticket content is awesome
857: [11:26:30] <ss23> XD
858: [11:26:30] <ss23> It's like a cry for help
859: [11:26:37] <ss23> "... but as I got deeper and deeper into composer, I have lost track of what is going on."
860: [11:35:47] * violetina quit (Remote host closed the connection)
861: [11:45:50] * jcwacky quit (Ping timeout: 245 seconds)
862: [11:46:22] * Shrike_Finland quit (Quit: Leaving.)
863: [11:47:54] * Shrike_Finland has joined #silverstripe
864: [11:48:28] * jcwacky has joined #silverstripe
865: [12:02:22] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
866: [12:04:10] * UndefinedOffset has joined #silverstripe
867: [12:06:14] * zfmf1 has joined #silverstripe
868: [12:21:57] * Shrike_Finland quit (Quit: Leaving.)
869: [12:26:51] * guci0 quit (Ping timeout: 250 seconds)
870: [12:31:24] * chillu quit (Quit: chillu)
871: [12:38:42] <sam__> hi all
872: [12:39:01] <sam__> need some help on embedding checkbox then a textbox
873: [12:40:01] <sam__> http://www.sspaste.com/paste/show/51fa566b9f11d
874: [12:40:26] <sam__> after other in checkbox, need to have a textfield
875: [12:42:57] * drazafsky has joined #silverstripe
876: [12:44:37] * sam__ quit (Ping timeout: 250 seconds)
877: [12:46:09] * chillu has joined #silverstripe
878: [12:46:33] <Colin[pi]> hey chillu :D
879: [13:05:46] * mobiusnz quit (Ping timeout: 246 seconds)
880: [13:28:28] * osterlaus has joined #silverstripe
881: [13:28:32] <Zauberfisch> chillu are you using vagrant?
882: [13:29:17] <chillu> I've used it for addons.ss.org, and we've got VMs internally, but not really using them frequently
883: [13:29:52] <Zauberfisch> yeah, i already spoke to hamish the other day, he told me the same
884: [13:30:14] <Zauberfisch> was just hoping you did a little more ss work with vagrant than the guys in the HQ
885: [13:31:15] <chillu> why's that?
886: [13:33:06] * Nivery has joined #silverstripe
887: [13:40:05] * wmk quit (Ping timeout: 246 seconds)
888: [13:40:31] <Zauberfisch> chillu I am buildint a vagrant VM at the moment
889: [13:40:36] <Zauberfisch> for silverstripe
890: [13:40:42] <chillu> great! on Debian?
891: [13:40:48] <Zauberfisch> I type vagrant up and it builds:
892: [13:40:55] <Zauberfisch> - ubuntu box with
893: [13:41:03] <Zauberfisch> - mysql, apache, php5
894: [13:41:07] <Zauberfisch> - phpmyadmin installed
895: [13:41:17] <Zauberfisch> - silverstripe boilerplate cloned
896: [13:41:21] <Zauberfisch> - sake installed
897: [13:41:30] <Zauberfisch> +- ss env configured
898: [13:41:36] <Zauberfisch> - dev/build run
899: [13:42:09] <Zauberfisch> well, I have that wroking as a prototype .sh script now
900: [13:42:41] <Zauberfisch> but I was hoping to find someone with vagrant+ss expertice (:
901: [13:47:04] <priithansen> Is it possible to have module css ja js requirements defined in yml?
902: [13:47:33] <priithansen> css and js*
903: [13:51:39] <Zauberfisch> chillu the repo will be open source, but untill I have it properly setup its in a sort of closed alpha
904: [13:51:47] <drazafsky> Do you have a specific question about Vagrant + SS Zauberfisch?
905: [13:52:15] <Zauberfisch> drazafsky no
906: [13:52:17] <Zauberfisch> not really
907: [13:52:40] <Zauberfisch> more a what is the best practice sort of thing
908: [13:52:47] * wmk has joined #silverstripe
909: [13:53:26] * osterlaus quit (Quit: Leaving.)
910: [13:54:39] <Zauberfisch> chillu I granted you access to the repo if you want to give it a shot
911: [13:56:21] <chillu> Yeah I've seen that, thanks! Don't have time at the moment to check it out, sorry. In the end, vagrant is only useful to me at the moment because it mirrors our prod environment (incl. puppet recipes), which you can't provide with your one (and shouldn't need to). But it'd be a good project to get people started from scratch, on a reproducible environment
912: [13:56:53] * Nivery quit (Ping timeout: 241 seconds)
913: [13:57:25] <Zauberfisch> exactly thats whay I built it
914: [13:57:44] <Zauberfisch> but in fact I want to refactor that script to use puppet or chef
915: [13:57:48] <Zauberfisch> not sure which one though
916: [14:01:21] * travis-ci has joined #silverstripe
917: [14:01:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#695 (3.1 - 97e6108 : Ingo Schommer): The build passed.
918: [14:01:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/bacf0f6171a2...97e6108fa998
919: [14:01:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9736181
920: [14:01:22] * travis-ci has left #silverstripe
921: [14:01:53] * mobiusnz has joined #silverstripe
922: [14:06:45] * mobiusnz quit (Ping timeout: 264 seconds)
923: [14:06:54] <wmk> kinglozzer, thanks. found it and wrote a little extension: https://gist.github.com/wernerkrauss/6131156
924: [14:07:02] * C10ne has joined #silverstripe
925: [14:18:42] * gumble has joined #silverstripe
926: [14:19:46] <gumble> hey, I have a problem. I hope I am able to explain: I have order-form. The submit-button of the order-form should link to the reallyOrder-form ()
927: [14:20:00] <gumble> or something (stupid idea of the custumer)
928: [14:20:15] <gumble> but the urls for order are like products/order/ID
929: [14:21:06] <gumble> and the submitbutton will always link to products/reallyOrder. Can I somehow have the submit button of products/order/ID always link to the corresponding products/reallyOrder/ID?
930: [14:27:36] <ocm> hm, still having issues with the datefield from the userforms in firefox
931: [14:27:44] <ocm> all other browsers no problem
932: [14:27:55] <ocm> just firefox messing up, html5 validation disabled
933: [14:27:59] <ocm> not a required field
934: [14:28:05] <ocm> still says 'Date' is a required field
935: [14:32:49] <ocm> hm, found something..
936: [14:32:51] <ocm> removeing the date class
937: [14:32:58] <ocm> after document.ready()
938: [14:33:18] <ocm> and not clicking the 'required' box
939: [14:33:20] <ocm> makes it work
940: [14:33:32] <ocm> enabling and disabling breaks it again
941: [14:33:38] <ocm> should I report a bug on github?
942: [14:41:37] * ARNHOE_ quit (Remote host closed the connection)
943: [14:46:19] <Colin[pi]> hey guys I'm trying to attach a pdf to an Email using ->attachFile() but it's failing with no error being logged at all (and no email sent), any ideas?
944: [14:46:39] * Nivery has joined #silverstripe
945: [14:52:42] <kinglozzer> Colin[pi] Is it a file in the database?
946: [14:52:54] <Colin[pi]> no, just a pdf from the file system
947: [14:52:59] <kinglozzer> Here's how I did it for a File object: if ($submission->CVFile() && $submission->CVFile()->exists()) $email->attachFile($submission->CVFile()->RelativeLink());
948: [14:53:22] <Colin[pi]> hmm ok I'll try that next if I can't get it working thanks
949: [14:53:31] <kinglozzer> Colin[pi]: Or use attachFromString()
950: [14:53:38] <kinglozzer> attachFileFromString() *
951: [14:53:43] <kinglozzer> http://api.silverstripe.org/3.1/source-class-Email.html#193-199
952: [14:55:40] <Colin[pi]> well attachFile() basically wraps around attachFileFromString()
953: [15:02:31] * mobiusnz has joined #silverstripe
954: [15:04:30] <kinglozzer> Yep :)
955: [15:05:09] <Colin[pi]> excellent, at least I have the PDF generation now working flawlessly with WkHtmlToPdf.... now to get the file attaching :\
956: [15:06:35] * mobiusnz quit (Ping timeout: 240 seconds)
957: [15:07:42] <kinglozzer> Just use attachFileFromString() with file_get_contents(), much easier to debug that way
958: [15:08:04] <Colin[pi]> ok lemme give it a try
959: [15:11:39] <Colin[pi]> ok well it's loading the contents just fine
960: [15:11:49] <Colin[pi]> so the problem must be further down the chain in the mailer?
961: [15:14:03] <Colin[pi]> aaaaaaaagggrh I see the problem
962: [15:14:08] <Colin[pi]> god dammit
963: [15:14:29] <Colin[pi]> varible being overwritten by another with the same name :(((
964: [15:14:34] <kinglozzer> :P
965: [15:14:49] <Colin[pi]> ffffuuuuu
966: [15:14:53] <Colin[pi]> I hate that
967: [15:15:11] <kinglozzer> Haha, it's always the last thing you check as well
968: [15:15:24] <kinglozzer> Spend 2 hours debugging it before realising usually :P
969: [15:15:24] <Colin[pi]> yep :(
970: [15:15:30] <Colin[pi]> 1 hour LOL
971: [15:16:03] <Colin[pi]> alright moment of truth time
972: [15:16:44] <Colin[pi]> SUCCESS LOL
973: [15:16:52] <kinglozzer> :D
974: [15:17:15] <Colin[pi]> YAY all working
975: [15:17:25] <Colin[pi]> could have used that hour for sleep >:(
976: [15:18:07] <Colin[pi]> excellent, thanks kinglozzer you put me on the right path
977: [15:18:14] <Colin[pi]> and time for sleeps, nn
978: [15:18:16] <kinglozzer> Haha no problem
979: [15:22:38] * Colin[pi] quit (Ping timeout: 246 seconds)
980: [15:23:06] <gumble> how do I set a form processing function? my form action always is the form name and not the form-action I used in return new Form(
981: [15:28:09] <kinglozzer> gumble: When you create your FormAction: FormAction::create('doFormProcess');, you can then create a method called doFormProcess()
982: [15:28:26] <kinglozzer> http://www.doc.silverstripe.org/framework/en/topics/forms
983: [15:49:13] * sam____ has joined #silverstripe
984: [15:49:36] * kinglozzer quit (Remote host closed the connection)
985: [15:53:32] <ocm> time to go home
986: [15:53:34] <ocm> cheerios!
987: [16:02:05] * zfmf1 has left #silverstripe
988: [16:03:01] * mobiusnz has joined #silverstripe
989: [16:07:15] * martimiz has joined #silverstripe
990: [16:07:30] * mobiusnz quit (Ping timeout: 245 seconds)
991: [16:10:35] <sam____> hI ALL
992: [16:10:48] <sam____> need some help on bxslider
993: [16:10:58] <sam____> http://golf.kc316.com/
994: [16:11:12] <sam____> right hand side photostream is there
995: [16:11:38] <sam____> is it possible to use auto mode with three pictures?
996: [16:16:48] * martimiz has left #silverstripe
997: [16:18:58] * wmk quit (Ping timeout: 246 seconds)
998: [16:22:35] * sam____ quit (Ping timeout: 250 seconds)
999: [16:31:33] * wmk has joined #silverstripe
1000: [16:37:26] * lobarvaz quit (Remote host closed the connection)
1001: [16:56:57] * micmania1 quit (Quit: Leaving)
1002: [16:57:38] * catcher has joined #silverstripe
1003: [17:01:10] * Colin[pi] has joined #silverstripe
1004: [17:03:32] * mobiusnz has joined #silverstripe
1005: [17:08:19] * mobiusnz quit (Ping timeout: 264 seconds)
1006: [17:09:55] * hubertusanton has joined #silverstripe
1007: [17:24:30] * PigeonFriend quit ()
1008: [17:34:07] * Nivery quit (Read error: Connection reset by peer)
1009: [17:41:55] * gumble quit (Ping timeout: 246 seconds)
1010: [17:42:22] * pex has joined #silverstripe
1011: [17:46:45] * Dimistripe has joined #silverstripe
1012: [17:49:05] <Dimistripe> Hi guys, anyone could advise on Partial caching (<% cached %> ) , in firefox the nonweb fonts are not loaded correctly when it is used ?
1013: [17:49:24] <Dimistripe> the block which is cached not displaying the font
1014: [17:50:32] <UndefinedOffset> Demistripe i've never seen that issue before, and I use partial caching allot. Have you checked your styles using say firebug or chrome's dev tools? Remember partial caching happens server-side not client side so it's likely just a simple style issue
1015: [17:53:47] <UndefinedOffset> and say google fonts
1016: [17:54:39] * joelpittet has joined #silverstripe
1017: [17:57:15] * Nivery has joined #silverstripe
1018: [18:03:26] <Dimistripe> well, its not googlefonts - its custom font loaded
1019: [18:04:00] * mobiusnz has joined #silverstripe
1020: [18:04:20] <UndefinedOffset> mm still shouldn't matter though i've had fontawesome in there as well
1021: [18:04:36] <UndefinedOffset> both cdn and served from the site's server
1022: [18:06:29] <Dimistripe> can you maybe take a look at http://sportsvibe.co.uk - with chrome and firefox , chrome looks to be loading everything ok when ff not :(
1023: [18:08:35] * mobiusnz quit (Ping timeout: 268 seconds)
1024: [18:09:41] * Nivery quit (Ping timeout: 248 seconds)
1025: [18:16:15] * gelignite quit (Ping timeout: 245 seconds)
1026: [18:17:15] <UndefinedOffset> nice design :)
1027: [18:21:47] <Dimistripe> :D
1028: [18:22:12] <UndefinedOffset> unfortunatly i've just got handed a stack of work :S. but quick guess it maybe the fact that the font is not being served with the correct mime-types, i seem to remember firefox having issues with that before. both the .woff and .ttf are being served as application/octet-stream. try fixing that and you may see it work :)
1029: [18:26:08] <Dimistripe> yeah I'll give it a go :)
1030: [18:26:10] <Dimistripe> thanks
1031: [18:30:25] * Dimistripe quit (Ping timeout: 250 seconds)
1032: [18:32:05] * gelignite has joined #silverstripe
1033: [18:33:30] * zfmf1 has joined #silverstripe
1034: [18:39:37] * SightUnseen has joined #silverstripe
1035: [18:39:45] * SightUnseen has left #silverstripe
1036: [18:40:04] * pex quit (Ping timeout: 260 seconds)
1037: [18:41:09] * gelignite quit (Ping timeout: 248 seconds)
1038: [18:48:22] <guzzlefry> Is there a way to add a group that has permission to create more group members?
1039: [18:50:16] <guzzlefry> Apparently I can delete groups with this limited member, but can't add users. :P
1040: [18:52:05] <UndefinedOffset> chillu... any word on 3.1's time line? (i.e. stable release window)
1041: [18:53:38] * gelignite has joined #silverstripe
1042: [18:57:40] * simon_w|air quit (Quit: This computer has gone to sleep)
1043: [19:04:32] * mobiusnz has joined #silverstripe
1044: [19:09:31] * mobiusnz quit (Ping timeout: 264 seconds)
1045: [19:11:13] <priithansen> didn't adding extra fields to Page $db array used to automatically scaffold these fields into cms?
1046: [19:22:39] * ARNHOE has joined #silverstripe
1047: [19:24:15] * Nivery has joined #silverstripe
1048: [19:28:35] * robert_ quit (Read error: Connection reset by peer)
1049: [19:30:26] * Nivery_ has joined #silverstripe
1050: [19:30:28] <simon_w> priithansen, no
1051: [19:31:21] <priithansen> probably remember it from modeladmin then, thanks
1052: [19:36:41] * gumble has joined #silverstripe
1053: [19:45:05] * robert_ has joined #silverstripe
1054: [19:49:40] * gumble quit (Ping timeout: 246 seconds)
1055: [19:53:32] * joelpittet quit (Remote host closed the connection)
1056: [19:55:02] * Nivery quit (Ping timeout: 256 seconds)
1057: [19:55:02] * Nivery_ is now known as Nivery
1058: [20:05:01] * mobiusnz has joined #silverstripe
1059: [20:09:16] * mobiusnz quit (Ping timeout: 246 seconds)
1060: [20:14:16] * joelpittet has joined #silverstripe
1061: [20:16:43] * pex has joined #silverstripe
1062: [20:19:14] * ARNHOE quit (Remote host closed the connection)
1063: [20:20:59] * Enhasa has joined #silverstripe
1064: [20:29:53] * Liquide has joined #silverstripe
1065: [20:33:29] * hubertusanton quit (Ping timeout: 250 seconds)
1066: [20:36:28] * UndefinedOffset quit (Quit: Leaving.)
1067: [20:38:48] * nickmolhoek has joined #silverstripe
1068: [20:38:49] * nickmolhoek quit (Remote host closed the connection)
1069: [20:38:59] * Pyromanik has joined #silverstripe
1070: [20:39:04] * nickmolhoek has joined #silverstripe
1071: [20:39:15] * coldblooded01 has joined #silverstripe
1072: [20:39:26] <Pyromanik> FRIIIIIIDAY FRIIIIIIDAY
1073: [20:42:44] * Peavers has joined #silverstripe
1074: [20:42:55] <Peavers> FRIDAY!
1075: [20:44:00] <simon_w> You two are similar. Maybe too similar...
1076: [20:44:22] <Peavers> who thinks they are me?
1077: [20:45:13] <simon_w> Pyromanik.
1078: [20:46:44] <Peavers> took some new pre workout stuff this morning and I'm bouncing off the walls...
1079: [20:46:49] <Peavers> feel like I've smoked p or something
1080: [20:46:55] <simon_w> Literally, I hope
1081: [20:47:07] <Peavers> simon_w I got an email from sig, he says you're not doing your job.
1082: [20:47:19] <simon_w> I got that email too you know :p
1083: [20:47:22] <Peavers> lol
1084: [20:47:39] <Peavers> He doesn't think I've got a clue does he =(
1085: [20:47:55] * Enhasa quit (Ping timeout: 245 seconds)
1086: [20:48:06] <simon_w> I don't know? I think he just wants it done and has no real idea what's going on
1087: [20:48:35] <Peavers> he gets 100 emails from our PM per day asking where the demo is.. so don't blame him
1088: [20:49:15] <simon_w> "Btw: silverstripe 3.1 beta3 is already old... I think we're on rc2 now (or beyond)."
1089: [20:49:16] <simon_w> Oh, silly forum people
1090: [20:49:26] <Peavers> so what does he want you to do? push the branch to our UAT?
1091: [20:49:38] <Peavers> ^ lol
1092: [20:49:43] * UncleCheese has joined #silverstripe
1093: [20:50:05] <simon_w> I think he wants me to get it running on your CWP instance
1094: [20:50:06] * micmania1 has joined #silverstripe
1095: [20:50:15] <Peavers> But I can do that in about 30 seconds?
1096: [20:50:17] <simon_w> Ooh, now that chillu's back we might actually see a RC1 soon
1097: [20:50:37] <simon_w> Peavers, well, minus the three days it takes to get the SP added to ESAA
1098: [20:50:51] <Peavers> yeah...
1099: [20:50:59] <Peavers> I don't even have a contact person for that
1100: [20:51:03] <simon_w> So yeah, you go do that then!
1101: [20:51:08] <Peavers> I'm so out of the loop on this...
1102: [20:51:10] <simon_w> I went through Bino
1103: [20:51:17] <Peavers> lol Bino
1104: [20:51:19] <Peavers> that guys class
1105: [20:52:48] <simon_w> And then it turned out the sysadmin that actually did the work didn't read the note saying you need to restart the ESAA IdP after adding in a SP
1106: [20:53:03] <Peavers> read a note? lol you're expecting way to much
1107: [20:53:24] <Peavers> every time I called about git access I'd have to explain the entire thing to them, and none of them even know what git is
1108: [20:53:29] <Peavers> so they are asking me if I"m trying to open the site in IE
1109: [20:53:43] <Peavers> not that which browser I'm using has ANYTHING to do with why I can't clone with the git client...
1110: [20:53:57] <Peavers> turned out it was a proxy issue (of course) but took a month to sort it out...
1111: [20:55:39] * mobiusnz has joined #silverstripe
1112: [20:57:00] * Peavers_Somethin has joined #silverstripe
1113: [20:57:22] * Nivery quit (Quit: Nivery)
1114: [20:59:24] * Peavers quit (Ping timeout: 268 seconds)
1115: [21:03:25] * sminnee quit (Quit: sminnee)
1116: [21:04:25] * Peavers has joined #silverstripe
1117: [21:04:40] * pex quit (Ping timeout: 264 seconds)
1118: [21:06:03] <Pyromanik> Peavers: sif, you think you're me.
1119: [21:06:50] <Pyromanik> Peavers: Creatine?
1120: [21:08:19] * Peavers_Somethin quit (Ping timeout: 264 seconds)
1121: [21:08:32] * Peavers_Somethin has joined #silverstripe
1122: [21:08:55] * Peavers quit (Ping timeout: 264 seconds)
1123: [21:10:05] * zfmf1 has left #silverstripe
1124: [21:15:13] <irogue> Pyromanik: looks like your weekend is sorted ;)
1125: [21:15:41] <simon_w> Yay! No open tickets assigned to me! Take that, ss23 :p
1126: [21:16:14] <AlphaCactus> we're sorry simon, since you have nothing to do we're going to have to let you go...
1127: [21:16:39] <simon_w> Haha, nothing to do. Yeah right :p
1128: [21:16:58] <simon_w> Very little of my job is answering help desk tickets :p
1129: [21:18:24] <Pyromanik> irogue: gett'n buzzed on creatine and pump'n a shitload of iron?
1130: [21:18:40] <Pyromanik> but cool, yeah, should be good. ;P
1131: [21:23:41] <irogue> Pyromanik: yeah, just got the OK from the boss, will send you an official "go for it" email soon
1132: [21:31:19] <Pyromanik> irogue: hmm, so does that mean I should have 2x the everythings?
1133: [21:31:21] <Pyromanik> xD
1134: [21:35:47] * micmania1 quit (Ping timeout: 268 seconds)
1135: [21:36:13] * Pyromanik quit (Quit: Lost terminal)
1136: [21:36:43] * Pyromanik has joined #silverstripe
1137: [21:36:45] <Pyromanik> hmm
1138: [21:37:03] <Pyromanik> some combination of keys in irssi causes screen to stall :<
1139: [21:40:24] * micmania1 has joined #silverstripe
1140: [21:45:52] * Nivery has joined #silverstripe
1141: [21:47:37] * micmania2 has joined #silverstripe
1142: [21:48:46] <irogue> hmmm
1143: [21:49:11] * irogue tries to figure out if he can avoid running this rsync as root
1144: [21:49:35] * micmania1 quit (Ping timeout: 245 seconds)
1145: [21:56:19] * nickmolhoek quit (Ping timeout: 264 seconds)
1146: [22:05:11] * mrzero_ has joined #silverstripe
1147: [22:06:04] * mobiusnz quit (Quit: Leaving.)
1148: [22:07:30] * mrzero quit (Ping timeout: 245 seconds)
1149: [22:07:30] * mrzero_ is now known as mrzero
1150: [22:07:56] * pex has joined #silverstripe
1151: [22:12:17] * drazafsky quit (Ping timeout: 250 seconds)
1152: [22:12:39] * pex quit (Client Quit)
1153: [22:18:41] * SightUnseen has joined #silverstripe
1154: [22:19:25] * SightUnseen has left #silverstripe
1155: [22:21:01] * pex has joined #silverstripe
1156: [22:23:21] <guzzlefry> So, what's the solution for installing Javascript stuff via Composer? /vendor seems to be restricted.
1157: [22:23:33] <guzzlefry> 403 errors when trying to load up the scripts.
1158: [22:24:50] <Pyromanik> guzzlefry: composer is for php
1159: [22:24:55] <Pyromanik> npm is for javascript!
1160: [22:24:58] <Pyromanik> xD
1161: [22:26:00] <Pyromanik> guzzlefry: I think you'd do something like composer addtoprojectcallwhateveritis package/name
1162: [22:26:00] <Pyromanik> from the root, not vendor
1163: [22:26:00] <Pyromanik> lag.
1164: [22:26:32] <guzzlefry> ah, thanks
1165: [22:26:36] <guzzlefry> I'll just move it. :P
1166: [22:26:49] <simon_w> Switching to debian-testing, because debian-stable is too far behind
1167: [22:26:53] <simon_w> Good idea, right? :p
1168: [22:27:31] <irogue> always
1169: [22:27:56] <irogue> those debian people are so strict that testing is basically the same quality as other distros' stable
1170: [22:28:21] <simon_w> Hmm, a dist-upgrade takes a lot longer when running a version of Debian with a GUI
1171: [22:29:42] * FrozenFire quit (Read error: Operation timed out)
1172: [22:30:15] * mobiusnz has joined #silverstripe
1173: [22:30:51] * FrozenFire has joined #silverstripe
1174: [22:30:56] <irogue> http://www.flickr.com/photos/brettdickson/9415508092/sizes/l/in/photostream/
1175: [22:31:03] <irogue> considering the number of wheels, that must be quite heavy...
1176: [22:31:40] * Nivery quit (Ping timeout: 245 seconds)
1177: [22:33:54] * Nivery has joined #silverstripe
1178: [22:34:43] <ss23> simon_w: Bring me food!
1179: [22:34:56] <priithansen> guzzlefry: not saying it's a good idea but https://github.com/RobLoach/component-installer
1180: [22:35:27] <simon_w> ss23, get your own. ya whippersnapper
1181: [22:35:43] <ss23> XD
1182: [22:37:21] <ss23> My eye has developed the most annoying twitch thing
1183: [22:37:39] <ss23> it feels like a muscle in my eyelid is just all "LOL IT'S TIME FOR A RAVE" :<
1184: [22:38:55] <Peavers_Somethin> right simon_w
1185: [22:39:13] <Peavers_Somethin> if I deply your branch on uat its not going to blow up the world?
1186: [22:39:32] <Peavers_Somethin> assume you just added the mod on the branch and thats it?
1187: [22:39:42] <irogue> ss23: http://youtu.be/JwZwkk7q25I?t=50s
1188: [22:39:44] <ss23> IRC: Government agencies prefered form of communication with contractors
1189: [22:39:56] <ss23> lol irogue
1190: [22:40:18] <simon_w> Peavers_Somethin, yeah, and added the IdP that Bino gave me. Might even be the right one
1191: [22:40:29] <simon_w> ss23, pfft, I'm a subcontractor :p
1192: [22:40:37] <ss23> lol, fine fine
1193: [22:40:38] * spronk quit (Read error: Connection reset by peer)
1194: [22:40:39] <Peavers_Somethin> right deploying now. stand clear.
1195: [22:41:04] * spronk has joined #silverstripe
1196: [22:41:26] <Peavers_Somethin> do I need to deply each commit? o_0
1197: [22:41:51] <simon_w> That seems stupid
1198: [22:42:03] <ss23> deply?
1199: [22:42:10] <ss23> deploy
1200: [22:42:14] <Peavers_Somethin> I thought so but looking at the deploy
1201: [22:42:16] <Peavers_Somethin> DEPLOY
1202: [22:42:16] <ss23> I/m confusing myself
1203: [22:42:16] <Peavers_Somethin> page
1204: [22:42:29] <Peavers_Somethin> I see the esaa branch, and both commits you made...
1205: [22:42:31] <ss23> Peavers_Somethin: Do you guys have your own deployment tool, or using an SS one?
1206: [22:42:42] <Peavers_Somethin> using ss deploynaut
1207: [22:42:52] * nickmolhoek has joined #silverstripe
1208: [22:42:53] * nickmolhoek quit (Remote host closed the connection)
1209: [22:43:01] <ss23> So yeah, each time you want to update / use a certain commit, you choose it and deploy it
1210: [22:43:14] <ss23> There was a UI change recently that makes it... I think a little... more annoying, but the idea is the same
1211: [22:43:16] <Peavers_Somethin> so I've got to push each commit, can't just merge a branch?
1212: [22:43:47] <simon_w> Try just pushing the latest one?
1213: [22:43:56] <ss23> Peavers_Somethin: I'm not really understanding what you mean. You can deploy any commit from any branch
1214: [22:43:59] <Peavers_Somethin> Just pushed the first one... think its going okay..
1215: [22:44:05] <ss23> Oh uh
1216: [22:44:07] * nickmolhoek has joined #silverstripe
1217: [22:44:08] * nickmolhoek quit (Remote host closed the connection)
1218: [22:44:10] <ss23> Push the *latest* commit
1219: [22:44:11] <ss23> Like
1220: [22:44:25] <ss23> The commit you pick, it's like doing a "git checkout hashhere" on the server
1221: [22:44:36] <ss23> So it does like... a git checkout at that commit and deploys the state there
1222: [22:44:46] <ss23> Don't need a commit for *every* commit since then, just deploy the latest etc
1223: [22:45:03] <ss23> Does that make sense, Peavers_Somethin?
1224: [22:45:05] <Peavers_Somethin> yeah just figured that out
1225: [22:45:09] <ss23> sweeeeeeet
1226: [22:45:12] <Peavers_Somethin> I prob could have just read the doco...
1227: [22:45:14] <Peavers_Somethin> but nah../
1228: [22:45:21] <ss23> Wait, we have docs for deploynaut now?! :O
1229: [22:45:26] <Peavers_Somethin> assume so?
1230: [22:45:30] <ss23> Awesome :D
1231: [22:45:33] <Peavers_Somethin> its a pretty cool little tool,
1232: [22:45:39] <ss23> Yeah, and the code is nice too!
1233: [22:45:52] * nickmolhoek has joined #silverstripe
1234: [22:46:08] <Peavers_Somethin> I asked Sam if there is plans to open source it, he laughed at me.
1235: [22:46:09] <ss23> Peavers_Somethin: If you ever have feature requests for it, I can probably code them up for you (if you get your government overlords to pay :D)
1236: [22:46:13] <ss23> haha
1237: [22:46:18] <ss23> I asked the same thing :P
1238: [22:46:33] <Peavers_Somethin> I'd love a copy to run on my home cluster if you can steal me the code
1239: [22:47:10] <ss23> I *could*, but I would prefer not to be fired! That being said, I can have a chat with Sam. I doubt it's like... a secret, the code, so maybe he would be fine with getting it out there, as long as there was no opensource commitment etc, idk
1240: [22:47:42] <Peavers_Somethin> simon_w, just FYI looks like I'll need to email Bino after all. HTTP 500 SAML request is invalid
1241: [22:49:49] <simon_w> Peavers_Somethin, yeah, SP is done on the return URL
1242: [22:50:16] <Peavers_Somethin> I don't even have an account on UAT I can log into to get to dev/tasks
1243: [22:50:17] <Peavers_Somethin> gg
1244: [22:50:42] <ss23> If you can deploy...
1245: [22:50:43] <Peavers_Somethin> we're so disorganised...
1246: [22:50:50] <ss23> Deploy a .php file that has hard coded creds
1247: [22:50:50] <ss23> :D
1248: [22:50:55] <Peavers_Somethin> ss23, can deploy, but can't log into the ACTUAL site
1249: [22:50:58] <Peavers_Somethin> lol
1250: [22:51:23] <Peavers_Somethin> Or just turn around and ask for a username/password from the instance manager person
1251: [22:53:01] * Jayden90 has joined #silverstripe
1252: [22:53:15] <irogue> https://pbs.twimg.com/media/BQnh9G1CMAAkVNE.jpg:large
1253: [22:54:12] <ss23> lol irogue
1254: [22:54:14] <ss23> We all knew it was coming :D
1255: [22:54:45] <Peavers_Somethin> simon_w, do you still want access to the instance per sigs email?
1256: [22:55:05] <simon_w> Peavers_Somethin, I think I was just supposed to do what you just did
1257: [22:55:11] <Peavers_Somethin> yeah I think so too
1258: [22:55:45] <Peavers_Somethin> just so I'm 100% clear, I'll add a commit to your branch with the required details, then pull that commit using deploynut yeah?
1259: [22:55:56] <Peavers_Somethin> (more a question for ss23)
1260: [22:58:22] <catcher> where can I find a nice juicy list of big sites done in SS?
1261: [22:58:35] <micmania2> has anybody ever used concrete5?
1262: [22:58:46] <Pyromanik> tried it
1263: [22:58:53] <Pyromanik> wasn't a fan.
1264: [22:58:56] <micmania2> I'm trying to stay open-minded but its looks awful.
1265: [22:58:57] <Pyromanik> pretty biased though.
1266: [22:59:07] <Pyromanik> yeah, usability is shit I thought.
1267: [22:59:13] <Pyromanik> didn't get into the ORM
1268: [22:59:28] <Pyromanik> or code at least, not sure it has an orm
1269: [22:59:34] <Pyromanik> I guess so
1270: [23:00:00] <micmania2> I'm just looking at the db stuff atm. It doesn't state how the db is built so i'm assuming manually. The orm is basically a method which allows you to run your query in it
1271: [23:01:31] * UncleCheese quit (Quit: UncleCheese)
1272: [23:02:02] <Jayden90> When is 3.1 official? looks like there is only one issue holding it up? https://github.com/silverstripe/silverstripe-framework/issues?milestone=2&state=open
1273: [23:02:46] <spronk> FFUUUU
1274: [23:03:01] <spronk> new wd10ezex.... causing vibration harmonics in my vibration-dampened hdd mount case :@
1275: [23:03:13] <irogue> hahaaha
1276: [23:07:34] <ss23> Peavers_Somethin: I don't understand what you mean? Sorry :O
1277: [23:07:42] <Peavers_Somethin> lol nevermind dude
1278: [23:07:43] <spronk> this is driving me nuts
1279: [23:07:45] <Peavers_Somethin> I know what I'm doing
1280: [23:08:05] <ss23> Peavers_Somethin: Talked to Sam about deploynaut, he'll see if it's okay to give you a copy.
1281: [23:08:16] <Peavers_Somethin> oh good man
1282: [23:08:34] <Peavers_Somethin> would be for my own private use at home (won't be used at work)
1283: [23:08:41] <guzzlefry> Does the template engine dump any errors when a require tag fails to load?
1284: [23:09:10] <ss23> Yeah, I basically said that, Peavers_Somethin. Sounds like he's not opposed to it, just wants to check with the important people that there's no real reason to avoid releasing it (idk, maybe one of them knows aobut mega l33t hax in it :P)
1285: [23:09:13] <simon_w> guzzlefry, nope
1286: [23:09:38] <guzzlefry> dangit
1287: [23:09:51] <guzzlefry> gah
1288: [23:09:58] <guzzlefry> wrong plurality again!
1289: [23:10:06] * guzzlefry wonders if that's the correct word to use.
1290: [23:10:15] <Peavers_Somethin> I'm trustworthy! I wouldn't exploit hacks even if I found them!
1291: [23:10:50] <simon_w> You signed a contract that said so!
1292: [23:11:17] <Peavers_Somethin> thats right I did too
1293: [23:13:23] * UncleCheese has joined #silverstripe
1294: [23:14:11] <irogue> mornin' UncleCheese
1295: [23:14:44] <UncleCheese> hey, mate
1296: [23:14:45] <Jayden90> Going to start our first 3.1 project today. What is the best way to download it? Github?
1297: [23:14:51] <Peavers_Somethin> composer
1298: [23:14:53] <UncleCheese> use bit torrent
1299: [23:14:54] <Jayden90> Or here: http://www.silverstripe.org/pre-releases/
1300: [23:15:07] <Peavers_Somethin> composer create-project silverstripe/installer ./stripe 3.1.x-dev
1301: [23:15:56] * spronk has left #silverstripe
1302: [23:16:41] <Jayden90> http://doc.silverstripe.org/framework/en/3.1/installation/mac-osx
1303: [23:17:00] <Jayden90> Does not explain using composer with MAMP...
1304: [23:17:18] <Peavers_Somethin> You've already got a MAMP stack yeah?
1305: [23:17:24] <Jayden90> yea
1306: [23:17:29] <Jayden90> reading up on composer now
1307: [23:17:32] <Peavers_Somethin> got composer installed?
1308: [23:17:36] <Jayden90> not yet
1309: [23:17:43] <Jayden90> http://getcomposer.org/doc/00-intro.md
1310: [23:17:46] <Peavers_Somethin> just type curl -s https://getcomposer.org/installer | php
1311: [23:17:54] <Peavers_Somethin> then move it to your bin
1312: [23:18:04] <Peavers_Somethin> with mv composer.phar /usr/local/bin/composer
1313: [23:18:15] <Peavers_Somethin> then back in your /var/www/ type the command I posted above
1314: [23:18:19] <Peavers_Somethin> and your away laughing
1315: [23:19:51] <Jayden90> First step returned "The detect_unicode setting must be disabled." and "A php.ini file does not exist. You will have to create one."
1316: [23:20:22] <Peavers_Somethin> you're sure your mamp stack is setup correctly?
1317: [23:20:32] <Peavers_Somethin> (never used a mac, assume its the same as linux..?)
1318: [23:20:46] <Jayden90> its not a system stack, using mamp pro
1319: [23:21:20] <Jayden90> Now i think about it, this might not be easy since I do not use the OSX built in server
1320: [23:21:34] <Peavers_Somethin> I'd create a debian linux virtual box and use that as your server stack for local dev
1321: [23:21:51] <Peavers_Somethin> its what I do on windows... makes life easy.
1322: [23:21:58] <Jayden90> hmmm
1323: [23:22:31] <Peavers_Somethin> that way your entire stack is contained in a vm, and you can move between computers, reinstall, backup, clone, etc etc without having to reinstall and set it all back up
1324: [23:27:04] <Pyromanik> oh god, that flush issue :<
1325: [23:27:13] <Pyromanik> so much pain :<
1326: [23:27:38] * spronk has joined #silverstripe
1327: [23:28:11] <Peavers_Somethin> anyone know how to set proxy details for phpstorms native git client?
1328: [23:28:55] * chillu quit (Quit: chillu)
1329: [23:29:22] <Peavers_Somethin> svn has a nice proxy config.. but can't find anything for git =(
1330: [23:30:24] <simon_w> git config-set http.proxy?
1331: [23:30:26] * coldblooded01 quit (Quit: coldblooded01)
1332: [23:30:39] <simon_w> Or however you set things
1333: [23:31:03] <simon_w> Probably with a --global
1334: [23:35:27] * catcher quit (Quit: Leaving)
1335: [23:35:39] <Colin[pi]> bom dia!
1336: [23:36:28] <Peavers_Somethin> yeah that works for my git cli but doesn't follow through into phpstorm
1337: [23:37:36] <Peavers_Somethin> even though I was sure PHS just used the git client installed on the system, so it should work..
1338: [23:40:10] <simon_w> Gah, what's with SS constantly comparing itself to Symfony?
1339: [23:41:00] <Colin[pi]> what? where?
1340: [23:41:33] <simon_w> Discussing potential features, deciding on development direction
1341: [23:41:39] <simon_w> That sort of thing
1342: [23:41:56] <Colin[pi]> not a fan of Symfony I take it?
1343: [23:42:19] <irogue> ss23: fun times in your neck of the woods eh? http://www.stuff.co.nz/dominion-post/news/8994808/Bomb-scare-in-Newtown
1344: [23:42:35] <ss23> :D
1345: [23:42:35] <simon_w> Not a fan of the constant comparison. Who cares what Symfony does? SS isn't Symfony.
1346: [23:42:37] <ss23> the picture has a kitty
1347: [23:43:02] <Peavers_Somethin> I went to newtown once.
1348: [23:43:35] <irogue> ONCE.
1349: [23:43:41] <ss23> lol
1350: [23:43:50] <simon_w> I used to go through it on the bus rather frequently
1351: [23:46:45] <Colin[pi]> someone explain this newtown place to me please?
1352: [23:46:49] <Colin[pi]> I hear it mentioned often
1353: [23:47:00] <simon_w> Colin[pi], sorta like Wellington's ghetto suburb
1354: [23:47:06] <Peavers_Somethin> do you hear it mentioned in releation to stabbings, bombings, killings, shootings, plabs, etc etc ?
1355: [23:47:11] <Colin[pi]> yes
1356: [23:47:27] <Peavers_Somethin> you know how the bronks is hardcore america new york?
1357: [23:47:35] <Peavers_Somethin> newtown is like 100x worse than the bronks
1358: [23:47:38] <Colin[pi]> it's the bronx of NZ?
1359: [23:47:47] <Peavers_Somethin> yeah but way, way worse
1360: [23:47:53] <Colin[pi]> lol sounds fun
1361: [23:47:59] <Colin[pi]> good place to go for a latte?
1362: [23:48:03] <Peavers_Somethin> you can't step outside without someone stealing your wallet and stabbing you in the kidney
1363: [23:49:21] <Jayden90> Peavers_Somethin: Thanks for your help man, got composer to work by following http://simon-davies.name/mamp/using-composer-with-mamps-version-of-php
1364: [23:49:43] <Colin[pi]> Peavers_Somethin: what's the dominant ethnic group there?
1365: [23:50:02] <Colin[pi]> not that I'm saying that's a definite factor, just curious
1366: [23:50:07] <Peavers_Somethin> I don't feel comfortable answering that question.
1367: [23:50:10] <Colin[pi]> hehehe
1368: [23:50:18] <Colin[pi]> fair nuff
1369: [23:50:21] <Peavers_Somethin> its a mixed bag really
1370: [23:50:25] <Peavers_Somethin> bit of everyone from everywhere
1371: [23:50:38] <Colin[pi]> so what do you think is the cause of it being so shit?
1372: [23:50:56] <ss23> shitness begets shitness
1373: [23:50:59] <Colin[pi]> lower-class?
1374: [23:51:05] <ss23> Also, Peavers_Somethin is being way over the top :P
1375: [23:51:05] * micmania2 quit (Quit: Leaving)
1376: [23:51:08] <Colin[pi]> hehe
1377: [23:51:11] <simon_w> Council flats
1378: [23:51:21] <ss23> Colin[pi]: Homeless shelter is there too
1379: [23:51:50] <simon_w> Surrounded by hills
1380: [23:51:52] <ss23> simon_w: Did you want lunch today, and if so, what time do you think?
1381: [23:52:01] <simon_w> ss23, yes and lunch time?
1382: [23:52:10] <Peavers_Somethin> you guys are so cute.
1383: [23:52:10] <ss23> What time is lunch time?
1384: [23:52:15] * ss23 blushes
1385: [23:52:22] <simon_w> Whenever I feel like having lunch?
1386: [23:52:22] <ss23> IT'S NOT LIEK I LIKE GOING TO LUNCH WITH simon_w OR ANYTHING
1387: [23:52:27] <ss23> I JUST NEED.. TO EAT *blush*
1388: [23:52:29] <Colin[pi]> NOW KISS
1389: [23:53:16] <ss23> simon_w: I'm asking because I'm hungry atm so just trying to work out whether I should a) get lunch now, b) get a hot chocolate now, c) wait a little while and get lunch, or d) none of the above
1390: [23:53:31] <simon_w> Lol, packagist says that 99% of OSS on Github isn't a bullshit stat
1391: [23:53:44] <ss23> simon_w: What? I don't understand the stat
1392: [23:54:05] <simon_w> "the incentive isn't very high considering 99% of OSS stuff is on github"
1393: [23:54:15] <ss23> still not understanding
1394: [23:54:31] <simon_w> They're claiming almost every OSS project is on Github
1395: [23:54:42] <Peavers_Somethin> OSS = ?
1396: [23:54:43] <ss23> Hmm
1397: [23:54:47] <ss23> That sounds like BS
1398: [23:54:50] <simon_w> Open Source Software
1399: [23:55:03] <ss23> Hmmmmmmmmmmmmmmmmmmm
1400: [23:55:08] <ss23> I think it would be over 50% though
1401: [23:55:22] <Peavers_Somethin> if its not on github, where is it?
1402: [23:55:30] <ss23> Peavers_Somethin: Sourceforce, google code, self hosted
1403: [23:55:33] <ss23> bitbucket
1404: [23:55:51] <Peavers_Somethin> google code must have less than 1%. That place is empty.
1405: [23:55:54] <ss23> And probably, 99% of new opensource projects created in the past 2 years are though
1406: [23:56:02] <ss23> Peavers_Somethin: Lots of old projects that get no attention on there
1407: [23:56:08] <ss23> If they were only ocunting active projects, it would be different
1408: [23:56:33] <ss23> MONEY MONEY MONEY
1409: [23:56:36] <ss23> MUST BE FUNNY
1410: [23:56:39] <ss23> IN A RICH MANS WORLD
1411: [23:56:43] <simon_w> Apparently there's 7.6M repos on Github, including private ones and forks
1412: [23:56:45] <ss23> damn office speakers
1413: [23:57:14] <simon_w> I'd be surprised if that was more than 25% of OSS projects
1414: [23:57:18] <ss23> simon_w: Out of my repos, maybe like 10% are actual things that count as OSS projects
1415: [23:57:21] <ss23> yeah
1416: [23:57:42] <ss23> Okay, I'm just going to get a hot chocolate for now
1417: [23:57:44] * ss23 rawrs
1418: [23:57:53] <Peavers_Somethin> fatty
1419: [23:58:12] <Colin[pi]> his milkshake brings all the boys to the yard
1420: [23:58:15] <ss23> ^^^
1421: [23:59:29] * Peavers_Somethin is now known as Peavers

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