#silverstripe IRC Log

IRC log for 12 January 2016

All timestamps are in UTC.

1: [00:02:39] * MarkGuin_ has joined #silverstripe
2: [00:16:13] * MarkGuin_ quit (Ping timeout: 265 seconds)
3: [00:27:57] * spronk quit (Quit: I may need a longer sleep timer...)
4: [00:39:22] * Stomach quit (Quit: zzz)
5: [00:45:10] * spronk has joined #silverstripe
6: [00:50:12] * Stomach has joined #silverstripe
7: [00:51:37] * Gfactor has joined #silverstripe
8: [00:59:46] * Tanger has joined #silverstripe
9: [01:01:46] * Tanger quit (Client Quit)
10: [01:11:58] * micmania1 quit (Quit: micmania1)
11: [01:17:22] * Tanger has joined #silverstripe
12: [01:26:41] * micmania1 has joined #silverstripe
13: [01:32:43] * Stomach quit (Quit: zzz)
14: [01:35:01] * BrewNaked quit (Remote host closed the connection)
15: [01:40:50] * muskie9 has joined #silverstripe
16: [01:41:32] * Stomach has joined #silverstripe
17: [01:57:27] * Stomach quit (Quit: zzz)
18: [01:59:41] * Stomach has joined #silverstripe
19: [02:07:53] * joelpittet quit (Remote host closed the connection)
20: [02:12:07] * Stomach quit (Quit: zzz)
21: [02:13:05] * MarkGuin_ has joined #silverstripe
22: [02:24:43] * joelpittet has joined #silverstripe
23: [02:26:40] * MarkGuin_ quit (Ping timeout: 260 seconds)
24: [02:50:58] * Stomach has joined #silverstripe
25: [02:59:40] * camfindlay has joined #silverstripe
26: [03:03:05] <Stomach> SO QUIET IN HERE
27: [03:03:56] <DanaeNZ> shhhh keep your voice down
28: [03:04:17] <DanaeNZ> it really is though wtf
29: [03:04:38] <muskie9> 😴
30: [03:07:31] * MichalKleiner has joined #silverstripe
31: [03:10:46] * camfindlay quit (Ping timeout: 240 seconds)
32: [03:16:06] <MichalKleiner> Yo yo yo, happy new year!
33: [03:17:43] <MichalKleiner> anyone please know whether it is possible to create a wildcard url handler? I can parse the url from the request, but it would be good if I could get the part that is not URLSegment into a variable by SilverStripe...
34: [03:18:13] <MichalKleiner> basically a URL parameter that can have / in it, so when the action matches, the rest is inside the param
35: [03:18:59] * dollardad quit (Ping timeout: 246 seconds)
36: [03:20:16] <muskie9> MichalKleiner Dan Hensby did a talk at StripeCon that covered some routing/url handling... not sure if it's exactly what you're talking about: https://vimeo.com/143149869
37: [03:21:36] <MichalKleiner> I'll have a look, thanks
38: [03:22:04] <muskie9> sure, he lost me when he started to show the advanced stuff, I've watched it a few time and it still hurts my brain ;P
39: [03:22:32] * Stomach quit (Quit: zzz)
40: [03:23:50] * BrewNaked has joined #silverstripe
41: [03:27:02] * helenclarko quit (Quit: Ain't no lie, baby bye bye bye.)
42: [03:28:04] * BrewNaked quit (Ping timeout: 245 seconds)
43: [03:32:17] * hailwood has joined #silverstripe
44: [03:35:45] * spronk quit (Quit: I may need a longer sleep timer...)
45: [04:04:29] <MichalKleiner> thanks muskie9, I think it will be useful for what I need :)
46: [04:04:34] <ss-helper> RFC: Consistent init() methods - https://groups.google.com/d/msg/silverstripe-dev/Jma4Qz_VKAY/WDq9utUFAQAJ
47: [04:04:37] <muskie9> cheers MichalKleiner
48: [04:21:27] * Stomach has joined #silverstripe
49: [04:22:29] * MarkGuin_ has joined #silverstripe
50: [04:23:21] * Crashy has joined #silverstripe
51: [04:25:16] <hailwood> Hey folks, I have a TeamMember =has_one= TeamCategory, TeamMemberPage =many_many= ServicePage | How can I get only TeamCategory where a linked TeamMember is also linked to a ServicePage where the ServicePage URLSegment = 'x'
52: [04:26:35] * Stomach quit (Ping timeout: 260 seconds)
53: [04:26:48] <hailwood> complicated right?
54: [04:27:27] <micmania1> hailwood: what is the relationship between TeamCategory and TeamMemberPage?
55: [04:28:21] <hailwood> micmania1, TeamCategory =has_many= TeamMemberPage
56: [04:30:04] <micmania1> ServicePage::get()->relation(‘ServicePages’)->relation(‘TeamCategory’)->filter(‘ServicePage.URLSegment’, ‘x’); // maybe that?
57: [04:30:29] <micmania1> I think that might return TeamCategory though :/
58: [04:32:04] <micmania1> ->relation() is where its at though. Or use joins.
59: [04:32:18] <micmania1> (that’s what relation does anyway)
60: [04:36:15] * MarkGuin_ quit (Ping timeout: 265 seconds)
61: [04:37:46] * Gfactor quit (Ping timeout: 240 seconds)
62: [04:49:48] * Tanger quit (Quit: exit())
63: [04:53:43] * DanaeNZ quit (Remote host closed the connection)
64: [04:58:58] * micmania1 quit (Quit: micmania1)
65: [05:12:43] * BrewNaked has joined #silverstripe
66: [05:17:24] * BrewNaked quit (Ping timeout: 255 seconds)
67: [05:18:51] * Stomach has joined #silverstripe
68: [05:24:26] * joelpittet quit (Remote host closed the connection)
69: [05:28:06] * Crashy quit (Quit: Leaving)
70: [05:33:51] * hailwood quit (Remote host closed the connection)
71: [05:47:02] * micmania1 has joined #silverstripe
72: [05:51:22] * spronk has joined #silverstripe
73: [05:51:25] * micmania1 quit (Ping timeout: 260 seconds)
74: [06:01:17] * Stomach quit (Quit: zzz)
75: [06:05:09] * r_hector has joined #silverstripe
76: [06:15:15] * Tanger has joined #silverstripe
77: [06:23:41] * spronk quit (Quit: I may need a longer sleep timer...)
78: [06:25:16] * Stomach has joined #silverstripe
79: [06:32:02] * MarkGuin_ has joined #silverstripe
80: [06:40:46] * Stomach quit (Quit: zzz)
81: [06:40:49] * wmk has joined #silverstripe
82: [06:41:00] * swaiba has joined #silverstripe
83: [06:42:20] * DanaeNZ has joined #silverstripe
84: [06:44:26] * MarkGuin_ quit (Ping timeout: 240 seconds)
85: [06:46:35] * DanaeNZ quit (Ping timeout: 240 seconds)
86: [06:53:39] * Stomach has joined #silverstripe
87: [07:01:39] * BrewNaked has joined #silverstripe
88: [07:06:11] * BrewNaked quit (Ping timeout: 260 seconds)
89: [07:06:12] * Mike123 has joined #silverstripe
90: [07:25:17] * joelpittet has joined #silverstripe
91: [07:26:24] * Tanger quit (Ping timeout: 245 seconds)
92: [07:30:32] * joelpittet quit (Ping timeout: 276 seconds)
93: [07:34:43] * Eliseth has joined #silverstripe
94: [08:06:18] * swaiba quit (Remote host closed the connection)
95: [08:31:47] * DanaeNZ has joined #silverstripe
96: [08:36:30] * DanaeNZ quit (Ping timeout: 260 seconds)
97: [08:41:26] * MarkGuin_ has joined #silverstripe
98: [08:49:42] <ss-helper> Re: [silverstripe-dev] Stricter template syntax for 4.0 - https://groups.google.com/d/msg/silverstripe-dev/jFHOKacqWzk/5MmDWKwVAQAJ
99: [08:50:29] * BrewNaked has joined #silverstripe
100: [08:53:29] * MarkGuin_ quit (Ping timeout: 245 seconds)
101: [08:55:19] * BrewNaked quit (Ping timeout: 265 seconds)
102: [08:57:54] * kinglozzer has joined #silverstripe
103: [09:19:43] <ss-helper> Re: [silverstripe-dev] Stricter template syntax for 4.0 - https://groups.google.com/d/msg/silverstripe-dev/jFHOKacqWzk/Jcc8Hw4XAQAJ
104: [09:26:11] * joelpittet has joined #silverstripe
105: [09:27:19] * MarkGuin_ has joined #silverstripe
106: [09:31:26] * joelpittet quit (Ping timeout: 276 seconds)
107: [09:53:34] <MarkGuin_> Is it true that there's no way to access fields from a joined table when fetching a list of DataObjects (e.g. fields from Table2 in MyObj::get()->innerJoin('Table2', '...'))
108: [10:10:37] * r_hector quit (Remote host closed the connection)
109: [10:12:02] * r_hector has joined #silverstripe
110: [10:18:15] * Stomach quit (Quit: zzz)
111: [10:19:38] * TRB143 quit (Remote host closed the connection)
112: [10:20:27] * TRB143 has joined #silverstripe
113: [10:29:19] * otterpocket has joined #silverstripe
114: [10:30:20] <nontgor> MarkGuin: I think innerJoin can only be treated as a filter when using the ORM
115: [10:30:32] <otterpocket> Hello, I have created a custom siteconfig that extends DataExtension etc. I have a $defaults array, when does it gen run? The first time the tables are created?
116: [10:34:45] <ss-helper> Re: MSSQL builds on Appveyor - https://groups.google.com/d/msg/silverstripe-dev/zNJcMRvzIg0/jS1iczobAQAJ
117: [10:39:21] * BrewNaked has joined #silverstripe
118: [10:42:16] * ryanpotternz has joined #silverstripe
119: [10:42:17] <ss-helper> ryanpotternz: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
120: [10:43:29] * BrewNaked quit (Ping timeout: 246 seconds)
121: [11:14:34] * ryanpotternz quit (Read error: Connection reset by peer)
122: [11:14:55] * ryanpotternz has joined #silverstripe
123: [11:20:45] * slievr has joined #silverstripe
124: [11:27:04] * joelpittet has joined #silverstripe
125: [11:32:20] * joelpittet quit (Ping timeout: 276 seconds)
126: [11:34:04] <nontgor> otterpocket: Tables/fields would be created during a build. I've extended SiteConfig before, can seez code?
127: [11:39:34] <nontgor> https://github.com/silverstripe-labs/silverstripe-travis-support/pull/23 - PR for SS Travis Support allowing optional install of suggested packages
128: [11:41:07] <slievr> how would I go about seeing the allowed actions of a controller? as my controllers allowed actions don't seem to be updating
129: [11:45:15] <wmk> !flush slievr
130: [11:45:15] <ss-helper> slievr: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
131: [11:45:49] <slievr> wmk, thanks but I found the issue I forgot to pluralise allowed_actions
132: [11:46:06] <wmk> i know this error
133: [12:04:47] <ss-helper> Re: Stricter template syntax for 4.0 - https://groups.google.com/d/msg/silverstripe-dev/jFHOKacqWzk/uEjdr40fAQAJ
134: [12:09:08] * DanaeNZ has joined #silverstripe
135: [12:10:33] * Eliseth quit (Read error: Connection reset by peer)
136: [12:13:26] * DanaeNZ quit (Ping timeout: 246 seconds)
137: [12:25:12] * wmk quit (Read error: Network is unreachable)
138: [12:25:24] * wmk has joined #silverstripe
139: [12:28:06] <otterpocket> So, what ways are there in SS to dry up controllers whos actions are all getting a dataobject via id, there is no before/after action methods like other frameworks so that just leaves calling a private function that just gets the dataobject?
140: [12:28:33] * BrewNaked has joined #silverstripe
141: [12:33:20] * BrewNaked quit (Ping timeout: 260 seconds)
142: [12:34:42] * MarkGuin_ quit (Remote host closed the connection)
143: [12:39:35] * r_hector quit (Remote host closed the connection)
144: [12:41:20] * MarkGuin_ has joined #silverstripe
145: [12:47:05] <wmk> otterpocket, ?
146: [13:27:56] * joelpittet has joined #silverstripe
147: [13:29:31] * UndefinedOffset has joined #silverstripe
148: [13:33:08] * joelpittet quit (Ping timeout: 272 seconds)
149: [13:59:30] <otterpocket> wmk, As close as I can get to http://api.rubyonrails.org/v2.3/classes/ActionController/Filters/ClassMethods.html
150: [14:17:28] * BrewNaked has joined #silverstripe
151: [14:21:32] * BrewNaked quit (Ping timeout: 246 seconds)
152: [14:21:48] * swaiba has joined #silverstripe
153: [14:31:04] * muskie9__ has joined #silverstripe
154: [14:31:41] * muskie9__ quit (Client Quit)
155: [14:33:05] <Mike123> guys
156: [14:34:10] * muskie9 quit (Ping timeout: 250 seconds)
157: [14:34:13] <Mike123> i have some SEO question, my website URL is accesable by either entering project.com/something-here/blah-blah OR Project.com/Pomething-Here/Blah-Blah, note the CAPITALS in url...google sees it as dublicate content, how can i fix this ?
158: [14:54:22] <slievr> Mike123: set up a canonical URL?
159: [14:54:48] <slievr> Mike123: here's some info https://support.google.com/webmasters/answer/139066?hl=en
160: [14:57:56] * wmk quit (Ping timeout: 246 seconds)
161: [15:00:53] <Mike123> slievr, canonical url allready set up
162: [15:01:04] <Mike123> still it sees dublicated content
163: [15:01:11] <Mike123> problem is in capitals
164: [15:01:35] <Mike123> is there a way i can check if there's capital in url and redirect with 301 to lowercase ?
165: [15:28:24] * Frans_Amsterdam has joined #silverstripe
166: [15:28:46] * joelpittet has joined #silverstripe
167: [15:34:08] * joelpittet quit (Ping timeout: 276 seconds)
168: [15:46:37] * DanaeNZ has joined #silverstripe
169: [15:51:12] * DanaeNZ quit (Ping timeout: 264 seconds)
170: [16:03:27] <MarkGuin_> Mike123 - If you absolutely must redirect as you say, I'd suggest doing so in Page_Controller::init() or even ::index()
171: [16:03:31] * Mike123 quit (Ping timeout: 252 seconds)
172: [16:03:56] <MarkGuin_> You want to make sure that only pages are redirected and not form submissions etc which are often camel-cased
173: [16:06:21] * BrewNaked has joined #silverstripe
174: [16:11:11] * BrewNaked quit (Ping timeout: 276 seconds)
175: [16:34:16] * BrewNaked has joined #silverstripe
176: [16:40:21] * swaiba quit (Remote host closed the connection)
177: [16:50:37] * joelpittet has joined #silverstripe
178: [17:03:06] * wmk has joined #silverstripe
179: [17:21:38] * kozmikreis has joined #silverstripe
180: [17:21:41] * kinglozzer quit ()
181: [17:21:56] <kozmikreis> Hi stripers o/
182: [17:23:23] <kozmikreis> MarkGuin_: Is there an automatic image compressor that works well with the CloudBuckets code?
183: [17:24:00] <kozmikreis> Previously we were using encoda/ss-image-min but being file-based it won't play nicely as-is.
184: [17:24:56] * otterpocket quit (Remote host closed the connection)
185: [17:26:18] <MarkGuin_> I'm not aware of one. I suspect that anything you use is going to have to integrate pretty intentionally.
186: [17:28:11] <kozmikreis> Yup. I might have to use that other module for the S3 sync but I want to avoid patching the framework. I like that your is lightweight and works out-of-the-box.
187: [17:28:24] <kozmikreis> s/your/yours/
188: [17:28:30] <kozmikreis> I'll have a think. Seeya o/
189: [17:35:59] * DanaeNZ has joined #silverstripe
190: [17:40:46] * DanaeNZ quit (Ping timeout: 272 seconds)
191: [17:47:41] * MarkGuin_ quit ()
192: [17:50:38] * ryanpotternz quit (Ping timeout: 276 seconds)
193: [17:59:08] * wmk quit (Ping timeout: 272 seconds)
194: [18:00:43] * Stomach has joined #silverstripe
195: [18:22:37] * micmania1 has joined #silverstripe
196: [18:34:59] * wmk has joined #silverstripe
197: [18:36:58] * UndefinedOffset quit (Quit: Leaving.)
198: [18:38:54] * Stomach quit (Quit: zzz)
199: [18:41:17] * UndefinedOffset has joined #silverstripe
200: [18:41:48] * dollardad has joined #silverstripe
201: [18:53:30] * gelignite has joined #silverstripe
202: [19:00:50] * Stomach has joined #silverstripe
203: [19:12:25] * dollardad quit (Quit: dollardad)
204: [19:14:05] * dollardad has joined #silverstripe
205: [19:29:38] * micmania1 quit (Quit: micmania1)
206: [19:30:17] * UndefinedOffset quit (Quit: Leaving.)
207: [19:49:01] * UndefinedOffset has joined #silverstripe
208: [19:54:03] * DanaeNZ has joined #silverstripe
209: [19:54:46] * cloph quit (Ping timeout: 240 seconds)
210: [19:56:25] * cloph_away has joined #silverstripe
211: [19:58:02] * Stomach quit (Ping timeout: 276 seconds)
212: [19:59:14] * Stomach has joined #silverstripe
213: [20:04:02] * krofek has joined #silverstripe
214: [20:04:15] * krofek__ quit (Ping timeout: 240 seconds)
215: [20:05:05] <ss-helper> Injector config does not influence Object::create() - https://groups.google.com/d/msg/silverstripe-dev/1ytOG9Qrsh8/tGXvNfc5AQAJ
216: [20:05:16] * micmania1 has joined #silverstripe
217: [20:08:37] * DanaeNZ quit (Remote host closed the connection)
218: [20:14:51] * eagles0513875_ quit (Ping timeout: 250 seconds)
219: [20:20:12] * UndefinedOffset quit (Quit: Leaving.)
220: [20:23:20] * MarkGuin_ has joined #silverstripe
221: [20:26:40] * eagles0513875_ has joined #silverstripe
222: [20:30:55] * eagles0513875_ quit (Ping timeout: 240 seconds)
223: [20:33:29] * MarkGuin_ quit (Ping timeout: 245 seconds)
224: [20:35:06] <ss-helper> Re: Injector config does not influence Object::create() - https://groups.google.com/d/msg/silverstripe-dev/1ytOG9Qrsh8/bh_6Fgs8AQAJ
225: [20:42:40] * eagles0513875_ has joined #silverstripe
226: [20:47:25] * eagles0513875_ quit (Ping timeout: 260 seconds)
227: [20:49:37] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
228: [20:50:06] <ss-helper> Re: [silverstripe-dev] Re: Stricter template syntax for 4.0 - https://groups.google.com/d/msg/silverstripe-dev/jFHOKacqWzk/kLZuU1s8AQAJ
229: [20:50:07] <ss-helper> Re: [silverstripe-dev] Re: Injector config does not influence Object::create() - https://groups.google.com/d/msg/silverstripe-dev/1ytOG9Qrsh8/c5YmWlo8AQAJ
230: [20:58:01] * spronk has joined #silverstripe
231: [20:59:33] * UndefinedOffset has joined #silverstripe
232: [20:59:40] * cloph_away is now known as cloph
233: [21:00:27] * joelpittet quit (Remote host closed the connection)
234: [21:27:52] * spronk quit (Quit: bleep bleep bloop bloop)
235: [21:34:52] * joelpittet has joined #silverstripe
236: [21:35:07] <ss-helper> RFC: Idempotent hooks and type checking - https://groups.google.com/d/msg/silverstripe-dev/ypbRhMzvrps/p0WqQcA-AQAJ
237: [21:44:25] * MarkGuin_ has joined #silverstripe
238: [21:49:59] * MarkGuin_ quit (Ping timeout: 264 seconds)
239: [21:50:35] * wmk quit (Ping timeout: 240 seconds)
240: [21:55:47] * MarkGuin_ has joined #silverstripe
241: [21:57:15] * DanaeNZ has joined #silverstripe
242: [21:57:52] * MarkGui__ has joined #silverstripe
243: [22:01:20] * MarkGuin_ quit (Ping timeout: 255 seconds)
244: [22:01:43] * DanaeNZ quit (Ping timeout: 260 seconds)
245: [22:09:53] * spronk has joined #silverstripe
246: [22:22:05] * Stomach quit (Quit: zzz)
247: [22:22:58] * Stomach has joined #silverstripe
248: [22:29:45] * UndefinedOffset quit (Quit: Leaving.)
249: [22:30:30] <MichalKleiner> muskie9 helped me with a link to Dan Hensby's talk at StripeCon, so here's the slides for it - http://www.slideshare.net/DanielHensby/silverstripe-framework-building-without-the-cms
250: [22:30:50] <MichalKleiner> and the talk - https://vimeo.com/143149869
251: [22:33:44] * helenclarko has joined #silverstripe
252: [22:38:44] <spronk> rahhh
253: [22:41:25] * Phlunk3 has joined #silverstripe
254: [22:41:53] * zippy has joined #silverstripe
255: [22:47:35] * joelpittet quit (Remote host closed the connection)
256: [22:56:50] * DanaeNZ has joined #silverstripe
257: [22:58:05] * joelpittet has joined #silverstripe
258: [23:05:37] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
259: [23:08:55] * hailwood has joined #silverstripe
260: [23:20:42] * MarkGui__ quit ()
261: [23:21:12] * vanny has joined #silverstripe
262: [23:23:15] * Azure quit (Ping timeout: 255 seconds)
263: [23:23:31] <vanny> hey all, Im back from the holiday break. Qucik question. I am using email->send(); and I never receive the email anywhere I should start looking?
264: [23:24:13] <DanaeNZ> vanny: if it's a local server you have to check that you've configured your SMTP
265: [23:24:22] <DanaeNZ> there will also be mail logs
266: [23:24:30] <DanaeNZ> I forget the file name off the top of my head
267: [23:25:01] <vanny> where do I find the mail logs? I know where to find stuff on IIS :P not cpanel style sites
268: [23:25:25] <DanaeNZ> Oh, if it has CPanel there should be a mail section there
269: [23:26:27] * Azure has joined #silverstripe
270: [23:27:04] <vanny> ok. I've never had a problem with this before, this is the first site, that I have the MX records pointing to another server
271: [23:30:01] * joelpittet quit (Remote host closed the connection)
272: [23:33:05] * joelpittet has joined #silverstripe
273: [23:44:30] <Stomach> vanny - mx records shouldn't be the issue, its the mail relay / program on the server :)
274: [23:44:43] <Stomach> if you have SSH it should be in /var/log/mail.log
275: [23:44:46] <Stomach> (usually)
276: [23:46:07] <vanny> im finding when I code it with my email address it sends fine, when I use the clients it fails. So atleast I am narrowing it down.
277: [23:48:12] <DanaeNZ> vanny: which host is your client's email with? Also could just be a matter of it goign to spam for the client..
278: [23:49:11] <vanny> it BCC'd myself and never get it when she is the setTo().
279: [23:54:12] <vanny> I think I fixed it, I have to change a server Email Routing setting from local to remote.

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