#silverstripe IRC Log

IRC log for 10 December 2015

All timestamps are in UTC.

1: [00:00:34] * zippy has joined #silverstripe
2: [00:04:55] * DanaeNZ quit (Remote host closed the connection)
3: [00:09:11] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
4: [00:11:16] * Stomach has joined #silverstripe
5: [00:13:26] * hailwood has joined #silverstripe
6: [00:14:40] <hailwood> Hey folks, does SS have the concept of non-page routes? e.g. if our site has an API, there is no point creating an "api" page in the cms for it right?
7: [00:15:16] <zippy> just create a controller
8: [00:15:46] <zippy> https://docs.silverstripe.org/en/3.2/developer_guides/controllers/introduction/
9: [00:15:52] <hailwood> Oh, now I totally get the concept of Director.rules
10: [00:16:16] <hailwood> I was misunderstanding their usage heh. Thanks
11: [00:23:21] * DanaeNZ_ has joined #silverstripe
12: [00:23:37] * helenclarko quit (Read error: Connection reset by peer)
13: [00:24:37] * Stomach_ has joined #silverstripe
14: [00:25:46] * Stomach quit (Ping timeout: 240 seconds)
15: [00:26:52] * santmas quit (Quit: Page closed)
16: [00:37:28] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
17: [00:45:32] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18: [00:47:31] * UncleCheese has joined #silverstripe
19: [01:08:31] * antmas has joined #silverstripe
20: [01:17:46] * zlinux has joined #silverstripe
21: [01:18:29] * Colin[pi]_Mac quit (Quit: My Mac has gone to sleep. ZZZzzz…)
22: [01:18:38] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23: [01:18:53] * Colin[pi]_Mac has joined #silverstripe
24: [01:18:54] * antmas quit (Quit: Page closed)
25: [01:19:06] * UncleCheese has joined #silverstripe
26: [01:30:26] * Colin[pi]_Mac quit (Quit: My Mac has gone to sleep. ZZZzzz…)
27: [01:34:29] * Colin[pi]_Mac has joined #silverstripe
28: [01:39:06] * Colin[pi]_Mac quit (Ping timeout: 272 seconds)
29: [01:40:58] * BrewNaked quit (Remote host closed the connection)
30: [01:41:37] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
31: [01:53:19] * vebb is now known as veb
32: [01:54:12] * eagles0513875_ quit (Ping timeout: 264 seconds)
33: [01:56:31] * eagles0513875_ has joined #silverstripe
34: [02:05:03] * spekulatius has joined #silverstripe
35: [02:05:18] * Phlunk3 has joined #silverstripe
36: [02:09:05] * Tanger has joined #silverstripe
37: [02:10:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
38: [02:12:48] <Tanger> Morning guys! Quick question: does SS update LastEdited on any sql operation on a row changed using DataObject::write()?
39: [02:17:36] * UncleCheese has joined #silverstripe
40: [02:27:02] * helenclarko has joined #silverstripe
41: [02:27:19] <helenclarko> Anyone watching?
42: [02:37:46] <spronk> not really
43: [02:37:47] <spronk> kinda
44: [02:37:52] <spronk> ci in the bg
45: [02:42:15] * munk0r has joined #silverstripe
46: [02:49:45] <micmania1> Tanger: yes
47: [02:50:12] <Tanger> micmania1: Thanks!
48: [02:53:46] * saysora has joined #silverstripe
49: [03:07:43] * jules0x quit (Quit: Leaving)
50: [03:11:34] * Stomach_ quit (Quit: zzz)
51: [03:13:20] * Stomach has joined #silverstripe
52: [03:18:45] * hailwood quit (Remote host closed the connection)
53: [03:30:31] * helenclarko quit (Read error: Connection reset by peer)
54: [03:56:19] * Phlunk3 quit (Remote host closed the connection)
55: [03:57:56] * dollardad quit (Ping timeout: 256 seconds)
56: [04:00:22] * hailwood has joined #silverstripe
57: [04:01:07] * hailwood quit (Remote host closed the connection)
58: [04:08:44] * micmania1 quit (Quit: micmania1)
59: [04:16:28] * joelpittet quit (Remote host closed the connection)
60: [04:17:09] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
61: [04:17:30] * Stomach quit (Quit: zzz)
62: [04:17:33] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
63: [04:18:59] * joelpittet has joined #silverstripe
64: [04:23:32] <ss-helper> OAuth implementation for Symfony API - http://stackoverflow.com/questions/34193524/oauth-implementation-for-symfony-api
65: [04:45:29] * cheddam-work quit (Quit: My Mac has gone to sleep. ZZZzzz…)
66: [04:45:40] * zlinux quit (Read error: Connection reset by peer)
67: [04:45:56] * zlinux has joined #silverstripe
68: [04:50:41] * spronk quit (Quit: I may need a longer sleep timer...)
69: [04:53:23] * rob__ has joined #silverstripe
70: [04:53:59] <rob__> hey guys, having an issue when we dev/build, it's removing content from the DB at random
71: [05:05:59] * cheddam-work has joined #silverstripe
72: [05:06:13] * cheddam-work quit (Client Quit)
73: [05:07:51] * cheddam-work has joined #silverstripe
74: [05:13:13] * spronk has joined #silverstripe
75: [05:20:23] * UncleCheese has joined #silverstripe
76: [05:21:49] * UncleCheese quit (Read error: Connection reset by peer)
77: [05:26:29] <Tanger> rob__: What kind of contents?
78: [05:28:38] <rob__> Random page content missing, WYSIWYG, images, etc
79: [05:28:41] <rob__> after a dev/build
80: [05:29:08] <rob__> the build says its building everything (turns green) even though we haven't changed any php code
81: [05:29:13] <rob__> could have been just a css change
82: [05:43:42] * r_hector has joined #silverstripe
83: [05:44:54] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
84: [05:49:29] * spronk quit (Quit: I may need a longer sleep timer...)
85: [05:51:21] * rob__ quit (Ping timeout: 252 seconds)
86: [06:21:18] * zlinux quit (Ping timeout: 256 seconds)
87: [06:32:23] * zippy has joined #silverstripe
88: [06:34:07] * DanaeNZ_ quit (Remote host closed the connection)
89: [06:55:13] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
90: [06:58:05] * spronk has joined #silverstripe
91: [07:09:16] * Mike123 has joined #silverstripe
92: [07:17:08] * zippy has joined #silverstripe
93: [07:19:21] * joelpittet quit (Remote host closed the connection)
94: [07:21:50] * zippy quit (Client Quit)
95: [07:33:37] * wmk has joined #silverstripe
96: [07:45:35] * kbtjuh has joined #silverstripe
97: [07:47:01] * zippy has joined #silverstripe
98: [07:48:21] * spronk quit (Quit: I may need a longer sleep timer...)
99: [07:50:34] * zippy quit (Client Quit)
100: [07:55:49] * Sh__ has joined #silverstripe
101: [07:56:28] * zippy has joined #silverstripe
102: [08:00:15] * zippy quit (Client Quit)
103: [08:02:38] * arnhoe has joined #silverstripe
104: [08:03:53] <Sh__> Hey does anyone have any ideas on when SilverStripe 4 might be released?
105: [08:05:35] * madmatt quit (Ping timeout: 244 seconds)
106: [08:05:50] * madmatt has joined #silverstripe
107: [08:06:10] * TRB143 quit (Ping timeout: 260 seconds)
108: [08:06:14] * madmatt is now known as Guest883
109: [08:08:18] <wmk> Sh__, afaik middle of 2016
110: [08:09:08] <wmk> today i've seen a 3.3 changelog, dunno when it'll be ready. but a bit faster would be great. And if everyone uses correct semver it should be easy to upgrade
111: [08:09:32] * TRB143 has joined #silverstripe
112: [08:09:33] <wmk> if the word if wasn't...
113: [08:11:35] <kbtjuh> how do is set allow access to a subdirectory via htaccess
114: [08:11:56] <kbtjuh> i have silverstripe installed in the root and wordpress in a subdirectory
115: [08:12:12] <kbtjuh> but when i go to the wp link, i get the page not found from silverstripe
116: [08:16:40] * saysora has joined #silverstripe
117: [08:17:06] * r_hector quit (Remote host closed the connection)
118: [08:22:46] * DanaeNZ has joined #silverstripe
119: [08:25:01] * zippy has joined #silverstripe
120: [08:26:47] <Sh__> Cool
121: [08:27:06] * DanaeNZ quit (Ping timeout: 240 seconds)
122: [08:29:29] <wmk> kbtjuh, wordpress in a subdir... sounds like pain
123: [08:29:39] * zippy quit (Client Quit)
124: [08:30:47] <wmk> kbtjuh, did you try to ask aunt google? http://lmgtfy.com/?q=silverstripe+.htaccess+exclude+subdirectory
125: [08:30:50] * saysora quit (Quit: Textual IRC Client: www.textualapp.com)
126: [08:30:57] <wmk> http://stackoverflow.com/questions/1848500/htaccess-mod-rewrite-how-to-exclude-directory-from-rewrite-rule looks promising
127: [08:52:03] * zippy has joined #silverstripe
128: [08:52:58] * zippy quit (Client Quit)
129: [08:53:07] * mobiusnz has joined #silverstripe
130: [08:58:50] * kinglozzer has joined #silverstripe
131: [09:01:30] <kbtjuh> i got it :) thanks
132: [09:01:59] <wmk> kbtjuh, ;)
133: [09:02:49] * GioVdK has joined #silverstripe
134: [09:08:48] * Sh__ quit (Ping timeout: 252 seconds)
135: [09:15:48] * Guest37 has joined #silverstripe
136: [09:15:49] <ss-helper> Guest37: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
137: [09:19:10] * Alboes has joined #silverstripe
138: [09:20:12] * joelpittet has joined #silverstripe
139: [09:20:16] * GioVdK quit (Read error: Connection reset by peer)
140: [09:24:26] * joelpittet quit (Ping timeout: 240 seconds)
141: [09:27:28] * Guest37 quit (Quit: Textual IRC Client: www.textualapp.com)
142: [09:43:06] * Tanger quit (Quit: sleep())
143: [10:12:10] * DanaeNZ has joined #silverstripe
144: [10:12:22] <Alboes> good morning
145: [10:13:20] * swaiba quit (Remote host closed the connection)
146: [10:13:34] <Alboes> I do this: CheckboxSetField::create('Affiliates', 'Affiliates', Affiliate::get()->map('ID', 'Member.Email')) But Member.Email is not displayed despite of Affiliate has a has_one relation with member
147: [10:13:44] <Alboes> any ideas?
148: [10:16:28] * DanaeNZ quit (Ping timeout: 256 seconds)
149: [10:32:04] <Alboes> well, quiet here :)
150: [10:40:16] * MarkGuinn has joined #silverstripe
151: [10:44:51] * cloph quit (Ping timeout: 260 seconds)
152: [10:46:01] * cloph_away has joined #silverstripe
153: [10:54:15] * swaiba has joined #silverstripe
154: [10:54:24] * Mike123 quit (Ping timeout: 252 seconds)
155: [11:06:29] * stnvh has joined #silverstripe
156: [11:21:05] * joelpittet has joined #silverstripe
157: [11:25:25] * Alboes quit (Remote host closed the connection)
158: [11:26:12] * joelpittet quit (Ping timeout: 272 seconds)
159: [11:33:02] <swaiba> anyone used... https://github.com/sheadawson/silverstripe-copybutton ?
160: [11:34:26] <swaiba> I just added it using the advise of overwriting the form in model admin... no result
161: [11:36:20] * Alboes has joined #silverstripe
162: [11:38:48] * swaiba quit (Read error: Connection reset by peer)
163: [11:48:55] * swaiba has joined #silverstripe
164: [11:51:10] <swaiba> ignore the above, it works now... must have missed a flush
165: [11:56:39] <swaiba> ok now ignore the above... lol
166: [11:56:55] <swaiba> I'm seeing the icon now, but "Not Found" is all I get from using it
167: [12:11:58] <swaiba> ok, I'm not talking to myself
168: [12:12:05] <swaiba> no way I know someone is reading :)
169: [12:12:19] <swaiba> and all sorted by going to the "source" https://github.com/unisolutions/silverstripe-copybutton
170: [12:12:27] <MarkGuinn> I'm here swaiba but I've never used that module.
171: [12:12:45] <swaiba> i knew it! someone was listening :)
172: [12:12:57] <swaiba> thanks mark, yeah all sorted now and a nice little module
173: [12:17:59] <MarkGuinn> good to know about that one
174: [12:20:14] * cloph_away is now known as cloph
175: [12:46:51] * sjdeere has joined #silverstripe
176: [12:46:51] <ss-helper> sjdeere: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
177: [12:47:51] * sjdeere has left #silverstripe
178: [12:52:28] <wmk> copybutton swaiba ?
179: [12:53:23] <wmk> sounds like worth a post
180: [12:53:49] <wmk> btw: is there a way to "copy" a page and all sub pages to another locale with translatable?
181: [13:12:56] * Mike123 has joined #silverstripe
182: [13:22:00] * joelpittet has joined #silverstripe
183: [13:23:43] * Alboes quit (Remote host closed the connection)
184: [13:23:51] * UndefinedOffset has joined #silverstripe
185: [13:24:53] <swaiba> wmk - hmmm a post you say... a good idea
186: [13:25:03] <swaiba> I think you can configure it to copy al the sub pages
187: [13:26:52] * joelpittet quit (Ping timeout: 256 seconds)
188: [13:47:39] * kbtjuh quit (Ping timeout: 252 seconds)
189: [13:49:29] * DanaeNZ has joined #silverstripe
190: [13:53:45] * DanaeNZ quit (Ping timeout: 250 seconds)
191: [13:58:35] <MarkGuinn> Anyone know an easy way to clear out all the test databases from mysql? Any time you run an SS unit test suite and it errors out the db is left behind.
192: [14:07:51] <swaiba> MarkGuinn - not really, but common advice is to use SQLite in memory
193: [14:08:02] <swaiba> makes it faster and there isn't a DB left over when done
194: [14:08:21] <MarkGuinn> i normally do that but I'm working on a project that needs to test against MySQL (spatial extensions)
195: [14:08:36] <MarkGuinn> i know I've seen a dev/task somewhere that does it
196: [14:08:39] <MarkGuinn> also, thank you. :)
197: [14:11:22] <MarkGuinn> ah... there it is. dev/tests/cleanupdb
198: [14:11:38] <MarkGuinn> built right in. not very easy to find in a google search though
199: [14:16:39] * SH__ has joined #silverstripe
200: [14:16:55] <SH__> Hey guys, how would you go about creating a Security token for an actions called through the URL on a controller?
201: [14:28:40] <MarkGuinn> SH__ - SecurityToken::getSecurityID()
202: [14:29:22] <MarkGuinn> (I'm assuming you're talking about a CSRF token not an authentication token)
203: [14:29:25] <wmk> how can i check if the db already exists or if i'm on first dev/build?
204: [14:31:38] <SH__> Yeah sorry, talking about a CSRF token. Im not using a form, just calling an action from a regular href="" on an a tag
205: [14:31:56] <SH__> Was thinking about setting a session with a token, and also including it in the url, then compare
206: [14:32:50] <SH__> Are Security tokens set even when you are not using a form?
207: [14:33:13] <MarkGuinn> I think if you call that method it will generate one if there's not already one for the current session
208: [14:33:27] <MarkGuinn> Then you just have to call SecurityToken::check
209: [14:33:51] <MarkGuinn> there's even an addToUrl method in SecurityToken
210: [14:35:34] <SH__> Hmm yeah I see, thanks Ill try it out
211: [14:35:59] <swaiba> wmk I canonly think of doing and old school connect and then show table count...
212: [14:36:21] <swaiba> but there is probably something under DB::connect that would give some information
213: [14:38:36] <wmk> swaiba, maybe. It's for https://github.com/bummzack/translatable-dataobject/issues/33
214: [14:39:16] <swaiba> oh wmk that is much eaier to solve
215: [14:39:20] <wmk> ?
216: [14:40:17] <swaiba> if (!ClassInfo::exists('SomeClassFromModule')) then die();
217: [14:40:24] <swaiba> wmk ^^
218: [14:41:03] <leomeloxp> Hi, I'm building some React components that integrate with Silverstripe is there any easier way of returning nested ArrayList or ArrayData information to JSON other than mapping each other of them toArray() or toMap()?
219: [14:41:08] <wmk> which is pretty much if(!class_exists('Translatable'))
220: [14:41:34] <wmk> he also checks if(!DB::getConn()->hasTable('SiteTree')){ which is false on first dev/build
221: [14:42:00] <wmk> leomeloxp, nested toArray() ?
222: [14:42:11] <MarkGuinn> leomeloxp - have you seen this one? http://api.silverstripe.org/3.1/class-JSONDataFormatter.html
223: [14:42:18] <MarkGuinn> I've not used it
224: [14:42:33] <leomeloxp> wmk: toNestedArray() only goes one level deep
225: [14:42:33] <MarkGuinn> May not work with ArrayList/Data though
226: [14:46:01] <leomeloxp> MarkGuinn: Well, part of my pain was when getting has_one's from multiple DO and then concatenating it on an AssocArr which turns into ArrayData, if this makes the DO handling easier, it might be a solution for me =P
227: [14:46:32] <leomeloxp> I do think this is what I'm looking for though, at least good part of what I need. Thanks o/
228: [14:46:53] <MarkGuinn> Glad to help, man. Hope you're doing well.
229: [14:48:40] <leomeloxp> Yeah, all good. You?
230: [14:50:51] <MarkGuinn> Hangin' in there. Funny we've got a React project brewing too. I'm really enjoying it so far.
231: [14:53:25] * UndefinedOffset quit (Quit: Leaving.)
232: [14:58:57] * Alboes has joined #silverstripe
233: [14:59:55] <Alboes> can i set a message in onAfterWrite to display on the top of the dataobject form?
234: [15:01:38] <SH__> @Alboes, maybe you can push a field into getCMSFields()
235: [15:01:59] <SH__> like $this->getCMSFields()->push('yourfield')
236: [15:02:04] <SH__> Havent tried it though
237: [15:03:43] * muskie9 has joined #silverstripe
238: [15:05:41] <Alboes> well that's not what i mean: when i add a dataobject there is a message with green background on the top saying that the object #xx has been saved. I want to change this message. Maybe I have to do that in the onafterwrite function?
239: [15:08:37] <leomeloxp> I'm loving react so far. It's forcing me to look at markup slightly differently, but it's very interesting
240: [15:08:37] <SH__> I cant seem to find anything on it, sorry
241: [15:22:53] * joelpittet has joined #silverstripe
242: [15:26:21] * swaiba quit (Remote host closed the connection)
243: [15:27:21] * joelpittet quit (Ping timeout: 250 seconds)
244: [15:34:54] * SH__ quit (Ping timeout: 252 seconds)
245: [15:52:19] <wmk> leomeloxp, afaik kickassets module is based on react
246: [15:56:49] * wmk quit (Ping timeout: 250 seconds)
247: [16:10:21] * Mike123 has left #silverstripe
248: [16:19:47] * UndefinedOffset has joined #silverstripe
249: [16:20:36] * BrewNaked has joined #silverstripe
250: [16:25:12] * joelpittet has joined #silverstripe
251: [16:27:51] * otterpocket has joined #silverstripe
252: [16:28:10] * arnhoe quit ()
253: [16:28:27] <otterpocket> How can I save values in my SiteConfig::current_site_config() ?
254: [16:33:05] <muskie9> otterpocket I think like a normal DO... so $siteConf = SiteConfig::current_site_config(); $siteConf->dbField = 'Your Value'; $siteConf->write();
255: [16:35:37] <otterpocket> muskie9, That's what I tried. no luck
256: [16:37:50] <muskie9> that's really strange... it extends DataObject so it should act the same
257: [16:41:01] <otterpocket> ahh, had a typo on the property name, and it didn't throw an error
258: [16:41:18] <muskie9> that'd do it
259: [16:41:30] * Alboes quit (Remote host closed the connection)
260: [16:43:26] * otterpocket quit (Quit: Leaving)
261: [17:16:58] * arnhoe has joined #silverstripe
262: [17:30:30] * kinglozzer quit ()
263: [18:07:39] * jcwacky quit (Quit: jcwacky)
264: [18:09:10] <ss-helper> Sivlerstripe 3.2 Upgrade UploadFIeld doesn't show files - http://stackoverflow.com/questions/34208685/sivlerstripe-3-2-upgrade-uploadfield-doesnt-show-files
265: [18:25:55] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
266: [18:39:11] <ss-helper> Silverstripe 3.2: Get ID from certain Folder don't work - what is missing? - http://stackoverflow.com/questions/34209189/silverstripe-3-2-get-id-from-certain-folder-dont-work-what-is-missing
267: [18:42:14] * MarkGuinn quit (Remote host closed the connection)
268: [18:49:09] * muskie9 has joined #silverstripe
269: [18:49:09] * muskie9 quit (Client Quit)
270: [18:52:14] * xyphoid quit (Ping timeout: 246 seconds)
271: [19:02:58] * xyphoid has joined #silverstripe
272: [19:19:02] * joelpittet quit ()
273: [19:22:53] * helenclarko has joined #silverstripe
274: [19:28:17] * MarkGuinn has joined #silverstripe
275: [19:41:23] * MarkGuinn quit (Remote host closed the connection)
276: [19:44:32] * CodeTrap has joined #silverstripe
277: [19:44:33] <helenclarko> Morning o/
278: [19:46:29] * jules0x has joined #silverstripe
279: [19:53:38] * gelignite has joined #silverstripe
280: [19:54:34] * dollardad has joined #silverstripe
281: [19:57:46] * Stomach has joined #silverstripe
282: [20:02:21] * micmania1 has joined #silverstripe
283: [20:03:01] * antmas has joined #silverstripe
284: [20:09:12] <ss-helper> Silverstripe 3.2: Get ID from certain Folder - http://stackoverflow.com/questions/34209189/silverstripe-3-2-get-id-from-certain-folder
285: [20:11:27] <antmas> morning all o/
286: [20:11:30] <antmas> Happy Friday
287: [20:13:04] <jules0x> I'm trying to build a custom report that spans three related DataObjects.
288: [20:13:11] <jules0x> At the moment I only get data from two...
289: [20:13:32] <jules0x> is this just syntax/selector fail or is it not possible to do two left joins on the same dataobject::Get() ?
290: [20:18:19] <antmas> jules0x: !paste
291: [20:18:28] <antmas> jules0x: paste!
292: [20:18:28] * CodeTrap quit (Remote host closed the connection)
293: [20:18:31] <jules0x> kk
294: [20:18:37] <antmas> lol, I forgot the command for that :P
295: [20:18:45] * CodeTrap has joined #silverstripe
296: [20:19:11] <micmania1> !paste
297: [20:19:11] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
298: [20:19:18] <micmania1> antmas: ha
299: [20:19:33] <antmas> :|
300: [20:19:34] <jules0x> http://pastebin.com/Wr62WuB9
301: [20:19:47] <jules0x> should that work
302: [20:20:03] <antmas> aaaaaand our nazi webmarshall server pings pastebin for me :|
303: [20:20:08] <jules0x> lel
304: [20:20:20] <antmas> 'File Sharing Site'
305: [20:20:45] <jules0x> haha then it's surprising I can
306: [20:20:50] <jules0x> ok question is basically... can I...
307: [20:21:00] <jules0x> Mything::get()->leftjoin('stuff')->leftjoin('item)
308: [20:21:04] <jules0x> multiple left join
309: [20:22:08] <jules0x> if yes, then its my fail. If no then what the hell am I doing trying to do this
310: [20:22:33] <antmas> is that how you do multiple joins in php?
311: [20:22:44] * antmas hasn't done that before
312: [20:22:57] <jules0x> orm. It certainly works for a single leftjoin
313: [20:23:24] <antmas> can you do innerjoins that way?
314: [20:24:41] <jules0x> sure, why not
315: [20:24:52] <jules0x> DataQuery.php (framework)
316: [20:25:29] <jules0x> * An object representing a query of data from the DataObject's supporting database.
317: [20:25:29] <jules0x> * Acts as a wrapper over {@link SQLQuery} and performs all of the query generation.
318: [20:25:29] <jules0x> * Used extensively by {@link DataList}.
319: [20:25:48] <antmas> ha, TIL
320: [20:25:53] <jules0x> :D
321: [20:26:12] <antmas> I'm a .net dev, so php is in a constant state of 'fresh' for me :P
322: [20:27:40] <jules0x> I often just search a function name that I know works, then peruse the rest of that class to understand what other functions might be useful
323: [20:28:11] <jules0x> in this case, leftJoin... and innerJoin is right there by it
324: [20:29:10] <jules0x> c[_]
325: [20:35:17] * DanaeNZ has joined #silverstripe
326: [20:36:34] <DanaeNZ> morning morning
327: [20:36:39] <helenclarko> o/
328: [20:36:41] <DanaeNZ> work do day! We finish up at 11
329: [20:36:50] <helenclarko> LUCKY!!
330: [20:37:26] <DanaeNZ> lawn bowls, but looks like it's gonna rain
331: [20:37:40] <DanaeNZ> I'm wearing two items of star wars clothing HA
332: [20:39:06] <helenclarko> and a lightsaber?
333: [20:39:25] <DanaeNZ> i wish
334: [20:41:57] * arnhoe quit ()
335: [20:48:17] <antmas> our other dev is out on search and rescue so antmas is working 2 jobs today \o/
336: [20:51:18] <helenclarko> with a lightsaber?
337: [20:53:06] <DanaeNZ> how the hell does someone rearrange the entire file structure and move folders outside of the /Uploads/ folder
338: [20:53:14] <DanaeNZ> how does that even
339: [21:04:38] * MarkGuinn has joined #silverstripe
340: [21:04:45] * MarkGuinn quit (Remote host closed the connection)
341: [21:05:46] <antmas> DanaeNZ: someone done setup permissions wrong?
342: [21:07:48] <DanaeNZ> i figured it out
343: [21:07:53] <DanaeNZ> i was looking in the wrong folder
344: [21:07:55] <DanaeNZ> i need a coffee
345: [21:08:15] <antmas> I've had 2 coffees already and my legs are shaking
346: [21:10:18] * santmas has joined #silverstripe
347: [21:12:36] * antmas quit (Ping timeout: 252 seconds)
348: [21:14:46] <santmas> bah
349: [21:14:51] <santmas> no focus :|
350: [21:16:31] * UndefinedOffset quit (Quit: Leaving.)
351: [21:16:58] <helenclarko> You know you cant look after yourself when you buy a cookie time for breakfast.
352: [21:17:19] <santmas> lol
353: [21:17:30] <santmas> marginally better than a mince and cheese pie
354: [21:18:37] <helenclarko> santmas: Oh yeah, I looked at the pies too. I just thought to myself "I haven't sunk that low yet".
355: [21:18:49] <santmas> haha
356: [21:19:59] <DanaeNZ> i'm being force fed chocolate croissont
357: [21:20:13] <helenclarko> DanaeNZ: OH GOD YES!
358: [21:20:49] * santmas imagines DanaeNZ eating like a duck
359: [21:21:51] <DanaeNZ> quack quock
360: [21:22:09] <helenclarko> It's funny to think three or four years ago I was very much just "EAT ALL THE THINGS!". Now I'm 2 years into no fast food.
361: [21:22:27] <santmas> mm I've been no fast food for 3 months
362: [21:22:37] <santmas> have lost 10kg :D
363: [21:23:24] <santmas> I should cut back on beer though
364: [21:23:38] <helenclarko> santmas: I think the biggest achievment is being able to drive past KFC and have the smell not affect you.
365: [21:23:52] <santmas> helenclarko: hah yeah that can be tough
366: [21:24:11] <santmas> the only time I go passed our KFC is when I'm running
367: [21:24:48] <santmas> speaking of cutting back on beer... can anyone recommend me a beer for tonight? lol
368: [21:25:50] <helenclarko> I cut back on beer, tried light beers for a bit then just kinda stopped.
369: [21:26:58] <santmas> mm once I've lost another 10kg, I'll be hitting the gym so I'll cut completely on beersies
370: [21:28:16] <helenclarko> Tasman Bitter or Victoria Bitter, Aren't they big in Nelson?
371: [21:29:21] * muskie9 has joined #silverstripe
372: [21:30:21] * CodeTrap quit (Quit: CodeTrap)
373: [21:30:24] <santmas> lol
374: [21:30:27] <santmas> helenclarko: BLEGH
375: [21:30:37] <santmas> I meant craft beersies
376: [21:34:21] <helenclarko> Three boys, is that big in Nelson? Couldn't find much of it in Wellington.
377: [21:34:27] <helenclarko> GAME ON!
378: [21:35:05] <santmas> haven't seen that one
379: [21:36:37] <helenclarko> If you find it, grab the tres Amigos Mexican lager.
380: [21:36:54] <helenclarko> Actually, it doesnt matter... all are good.
381: [21:36:55] <santmas> oooh, what %?
382: [21:37:17] <helenclarko> 5%
383: [21:37:43] <santmas> pretty good
384: [21:37:51] <santmas> I find 5% is a sweet spot
385: [21:38:10] <helenclarko> all apart from their best ale is 5% or more.
386: [21:38:49] <helenclarko> an oyster stout?
387: [21:38:54] <helenclarko> http://www.threeboysbrewery.co.nz/core-range/
388: [21:39:01] <santmas> 5% I'm all good and chatty
389: [21:39:14] <ss-helper> Silverstripe is creating obsolete tables on build - http://stackoverflow.com/questions/34212050/silverstripe-is-creating-obsolete-tables-on-build
390: [21:39:16] <santmas> anything above that I go directly to 'letting all the secrets out'
391: [21:39:17] <santmas> lol
392: [21:40:45] <helenclarko> oh, I had an 8% pirate beer a few years back. That stuff is not right!
393: [21:41:24] <santmas> lol
394: [21:41:35] <helenclarko> actually, looks like its 8.5%
395: [21:42:19] * zippy has joined #silverstripe
396: [21:42:20] <helenclarko> It was a beer a always wanted to try, just because it had a pirate on it.
397: [21:42:23] <zippy> Morning
398: [21:42:25] <DanaeNZ> https://www.facebook.com/starlightmediahouse/videos/vb.154898154647898/653596841444691/?type=2&theater
399: [21:42:30] <DanaeNZ> look what I witnessed yesterday
400: [21:42:31] <helenclarko> zippy: CRICKET!
401: [21:42:38] <helenclarko> oh hi!
402: [21:42:42] <zippy> helenclarko: yes :)
403: [21:42:47] <DanaeNZ> FIRE
404: [21:42:55] <santmas> DanaeNZ: FIRE
405: [21:42:59] <santmas> did someone burn the toast?
406: [21:43:06] <DanaeNZ> office building
407: [21:43:59] <helenclarko> DanaeNZ: https://www.youtube.com/watch?v=xqQ6Z-HmAqY
408: [21:44:04] <zippy> when I see that, all that water damage... - you'd hope to be upstairs
409: [21:44:16] <zippy> helenclarko: ;-)
410: [21:44:26] <DanaeNZ> helenclarko: yesss
411: [21:44:37] <DanaeNZ> it was all very exciting though
412: [21:44:43] <helenclarko> Fire - exclamation mark - fire - exclamation mark - help me - exclamation mark. 123 Cavendon Road. Looking forward to hearing from you. Yours truly, Maurice Moss.
413: [21:44:55] <DanaeNZ> about 10 fire trucks and support vehicles
414: [21:45:01] <DanaeNZ> hahahah
415: [21:45:17] <santmas> lol
416: [21:46:48] <zippy> helenclarko: https://www.youtube.com/watch?v=cY-7vOEC7Bc
417: [21:46:52] * spronk has joined #silverstripe
418: [21:47:52] <helenclarko> zippy: "yes, not as far" "oooo smooth"
419: [21:48:21] <santmas> LOL
420: [21:48:53] <zippy> https://www.youtube.com/watch?v=dDZzl9AyXeg
421: [21:50:03] <santmas> must confess I use the disabled toilet 90% of the time
422: [21:58:31] <santmas> urg, my feet have been annihilated by mosquitos
423: [21:59:02] <helenclarko> leg dissabled?
424: [21:59:20] <santmas> :|
425: [21:59:22] <santmas> SO ITCHY
426: [22:00:17] <veb> helenclarko: disabled penis
427: [22:00:28] * veb flashes a look at santmas
428: [22:01:11] <helenclarko> veb: oh?
429: [22:07:08] * DanaeNZ quit (Remote host closed the connection)
430: [22:13:00] <santmas> :O
431: [22:13:04] <santmas> PASTIES
432: [22:13:07] <santmas> MINI PIES
433: [22:13:21] <santmas> awwww yiiiis
434: [22:17:03] <veb> helenclarko: he has a disabled penis, thus the disabled toilets
435: [22:25:05] <spronk> where's irogue when you need him..
436: [22:25:14] <spronk> anyone else in here own a wrt1900ac?
437: [22:25:17] * DanaeNZ has joined #silverstripe
438: [22:26:47] <santmas> spronk: what's the problem?
439: [22:27:03] <spronk> want to know if it's still the thing to buy
440: [22:27:08] <spronk> playtech have v2 of it + the matching switch for $227 atm
441: [22:27:48] <santmas> I would say yeah
442: [22:27:52] <santmas> 227 is cheap af
443: [22:28:04] <spronk> mm..
444: [22:28:10] <spronk> the matching switch looks so cool
445: [22:28:15] <spronk> oldschool linksys blue stack
446: [22:28:21] <santmas> :D
447: [22:28:24] <spronk> except now it's owned by belkin who are way lamer than cisco
448: [22:28:32] <santmas> Snowman23: ping irogue :P
449: [22:28:37] <spronk> haha dw
450: [22:28:39] <spronk> also
451: [22:28:45] <spronk> hmm
452: [22:28:49] * spronk is now known as spronkmas
453: [22:28:50] <santmas> hmmm
454: [22:28:51] <spronkmas> there we go
455: [22:28:53] <santmas> :D
456: [22:28:53] * spronkmas joins in
457: [22:29:09] * santmas throws a snowball at spronkmas
458: [22:29:11] <santmas> yay xmas
459: [22:29:15] <spronkmas> oh dear god
460: [22:29:16] <spronkmas> xmas
461: [22:29:38] <spronkmas> my 3yo is *ecstatic*
462: [22:29:47] <santmas> same
463: [22:30:06] <santmas> literally everything on tv 'I want that'
464: [22:30:13] <veb> my son demanded we buy him a photo with santa and him
465: [22:30:20] <veb> and we were like wut
466: [22:30:23] <veb> where'd you learn santa
467: [22:30:33] <veb> ... or the fact you canpay for a photo taken
468: [22:30:33] <veb> lol
469: [22:30:38] <veb> he's two
470: [22:31:20] <santmas> his gdad has got him a gattling nerf gun that is taller than him :P
471: [22:31:50] <veb> lol
472: [22:32:14] <spronkmas> haha
473: [22:32:29] <spronkmas> no broadcast tv atm for our girls
474: [22:32:31] <spronkmas> too dangerous :P
475: [22:32:39] <spronkmas> also, loool
476: [22:32:44] <spronkmas> grandparents
477: [22:32:55] <santmas> yeah
478: [22:32:56] <veb> my mum gave him a card, "Mary Chismas"
479: [22:32:57] <veb> I lol'd
480: [22:33:10] <veb> I guess she's not religious? :P
481: [22:33:16] <veb> (or terrible spelling)
482: [22:33:26] <spronkmas> we told my folks not to buy lots of presents like they did last year (seriously like 5 big things and heaps of little ones)
483: [22:33:35] * spronkmas has a feeling it's going to happen anyway
484: [22:33:38] <santmas> yeah
485: [22:33:45] <santmas> I can't tell my parents anything
486: [22:33:52] <santmas> they buy like 100s of gifts
487: [22:33:56] <veb> you're not meant to listen to your kids
488: [22:33:59] <veb> wtfman
489: [22:34:12] <veb> wait.. shit
490: [22:35:13] * Colin[pi] has joined #silverstripe
491: [22:35:22] <santmas> Colin[pi]: o/
492: [22:35:29] <Colin[pi]> o/
493: [22:44:39] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
494: [22:47:27] <DanaeNZ> just about bowls time
495: [22:47:28] <DanaeNZ> woohoo
496: [22:47:42] <spronkmas> o-O
497: [22:47:47] <spronkmas> wat
498: [22:47:51] <DanaeNZ> drinking and lawn bowls
499: [22:47:52] <spronkmas> liek
500: [22:47:54] <spronkmas> lawn
501: [22:47:55] <spronkmas> ?
502: [22:47:56] <spronkmas> !?!?!?
503: [22:47:59] <DanaeNZ> it's apparently a Toast tradition
504: [22:48:01] <spronkmas> wow
505: [22:48:09] <DanaeNZ> Web vs Print
506: [22:48:12] <spronkmas> ha
507: [22:48:15] <DanaeNZ> Web are currently in the lead
508: [22:48:19] <spronkmas> of course
509: [22:48:23] <DanaeNZ> too bad that I am an uncoordinated giraffe
510: [22:48:24] <spronkmas> though
511: [22:48:26] <spronkmas> actualyl
512: [22:48:36] <spronkmas> print designers by now are surely dinosaurs, perfectly suited to lawn bowls?
513: [22:48:53] <DanaeNZ> pretty much
514: [22:53:28] * helenclarko is now known as helenclarkhohoho
515: [22:54:08] <helenclarkhohoho> I wanted in!
516: [22:56:44] * veb is now known as vebmas
517: [22:56:47] <vebmas> >.<
518: [22:57:00] <vebmas> I feel yucky now
519: [22:58:26] * DanaeNZ is now known as StantanaeNZ
520: [22:58:30] <StantanaeNZ> me too
521: [22:58:31] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
522: [22:58:41] * helenclarkhohoho washes vebmas with eggnog.
523: [22:59:00] * vebmas has an allergic reaction and is now having trouble breathing
524: [22:59:05] <vebmas> what kind of vebmas is this!
525: [22:59:20] <vebmas> protip: my birthday happens to be 25th, so I guess it is a vebmas afterall
526: [22:59:23] <vebmas> oooohhhh
527: [22:59:25] <vebmas> :P
528: [22:59:58] <StantanaeNZ> :O
529: [23:00:11] <StantanaeNZ> I had amazing eggnog once
530: [23:00:12] * spronkmas explodes
531: [23:00:12] <helenclarkhohoho> a vebmas christmas!
532: [23:00:17] <vebmas> >.<
533: [23:00:19] * spronkmas rains snowballs everywhere
534: [23:00:22] <StantanaeNZ> A Vebry Merry Vebmas to you
535: [23:00:31] <vebmas> helenclarkhohoho: that adequately describes my thoughts to Christmas
536: [23:00:38] <vebmas> I need to l2notbegrumpy
537: [23:00:51] <vebmas> I can't even go to a fucking bar!
538: [23:01:10] <vebmas> vebry .. that'd be a good domainname
539: [23:01:35] <helenclarkhohoho> "IT'S CHRISTMAS" - Says everyone. "Dont talk to me" says vebmas
540: [23:01:47] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
541: [23:02:16] <vebmas> those jerks seem to think they can get away with giving me half the presents!
542: [23:02:47] <StantanaeNZ> brutal
543: [23:03:11] <vebmas> and I'm not really the biggest fan of stuffing my mouth either
544: [23:03:24] <vebmas> but I gotta learn, 'cos I have a toddler.
545: [23:03:28] <vebmas> gottal2bhappy
546: [23:04:09] <vebmas> this year sucks, go to wanaka and stay where I've had 3 family members die this year alone or spend the day with in laws...
547: [23:04:19] <vebmas> it's a nightmare! on elm street!
548: [23:04:48] <vebmas> protip: in laws live on elm street
549: [23:04:50] <vebmas> lol
550: [23:04:54] <vebmas> not even joking :(
551: [23:05:08] * MarkGuinn has joined #silverstripe
552: [23:06:02] <spronkmas> HAVE A KIT KAT
553: [23:06:08] <vebmas> no
554: [23:06:14] <vebmas> I don't really eat chocolate
555: [23:06:19] <spronkmas> ffff
556: [23:06:34] <StantanaeNZ> i'm a big fan of extra dark chocolate
557: [23:06:49] <StantanaeNZ> oops looks like it's time to give up on the day and start drinking
558: [23:06:56] <vebmas> sadly, grew up with a dairy allergy which made it so I couldn't breathe. one of the more weirder types of asthma
559: [23:07:39] <vebmas> was in and out of hospital about 30 times when I was two, before a doctor from... Africa... was passing by and overheard and said "try dairy free".
560: [23:07:47] <vebmas> thanks mr doctor
561: [23:07:59] * StantanaeNZ quit (Quit: TIME TO FEED)
562: [23:08:17] <vebmas> I always find that story weird, 'cos nobody remembers his name or anything. "what if he wasn't a doctor?!" I plead
563: [23:08:31] <vebmas> "here have this ice cream" and then I die
564: [23:08:37] <vebmas> I grew out of it
565: [23:08:55] <vebmas> didn't grow into eating chocolate etc
566: [23:16:06] * vebmas is now known as veb
567: [23:18:16] * veb is now known as vebmas
568: [23:18:42] * MarkGuinn quit (Ping timeout: 272 seconds)
569: [23:18:55] * vebmas is now known as veb
570: [23:26:59] * Stomach quit (Quit: zzz)
571: [23:36:02] * BrewNaked quit (Ping timeout: 256 seconds)
572: [23:43:27] * zippy has joined #silverstripe
573: [23:44:01] * zippy quit (Client Quit)
574: [23:52:49] * BrewNaked has joined #silverstripe
575: [23:56:04] * Azure|dc quit (Ping timeout: 272 seconds)
576: [23:57:13] * Azure has joined #silverstripe
577: [23:57:55] * Stomach has joined #silverstripe

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