#silverstripe IRC Log

IRC log for 16 November 2015

All timestamps are in UTC.

1: [00:01:49] <DanaeNZ> ss23: thanks for the update
2: [00:06:17] * Stomach quit (Ping timeout: 244 seconds)
3: [00:08:01] * Stomach has joined #silverstripe
4: [00:10:03] <zippy> DanaeNZ: the test match is going better than expected
5: [00:10:19] <DanaeNZ> cricket...?
6: [00:10:25] <zippy> lose the first one, draw the second one, win the third...
7: [00:10:32] * ss23 looks at burgerfuel
8: [00:10:41] <ss23> did someone say cricket?
9: [00:10:47] <zippy> :)
10: [00:11:02] * Stomach quit (Client Quit)
11: [00:12:19] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
12: [00:15:44] <Colin[pi]> ss23: toot
13: [00:20:43] <zippy> Hm.
14: [00:20:45] <zippy> Where UC at!
15: [00:23:05] <DanaeNZ> does silverstripe have an issue where a dataobject has two has_one relations to SiteTree? One will be an internal link, one is the parent? It's just converting the TreeDropdown to read only
16: [00:23:23] <DanaeNZ> i didn't write the initial code so I'm like uaaa
17: [00:23:46] * puddle has joined #silverstripe
18: [00:23:51] <DanaeNZ> http://sspaste.com/paste/show/5649220e13029
19: [00:26:09] <puddle> hi I am just getting familiar with SS, my question is if I have a content type which has a group of fields that has to be able to take more then one result like for example a team has multiple members and those members (field group) has name, title etc. how can I do that in SS?
20: [00:29:56] <DanaeNZ> puddle: reckon you could rephrase that with more full stops? don't quite get what you're after
21: [00:30:33] <puddle> well lets say you have a content type for a team of ppl
22: [00:30:56] <puddle> and you want to be able to add a list of member in that same content type which would be a field group
23: [00:31:14] <puddle> that field group would have a number of fields like member name, position etc.
24: [00:31:28] <puddle> of course you need to be able to add multiple memebrs
25: [00:31:34] <puddle> *members
26: [00:31:41] <puddle> repeating field groups
27: [00:31:43] <DanaeNZ> puddle: what's your end goal? Do you want to be able to edit more than one member at a time?
28: [00:32:09] <DanaeNZ> puddle: OK I kinda get ya, I haven't tried making that before tho
29: [00:32:15] <puddle> i see
30: [00:32:41] <zippy> puddle: you using the build in members, or wanting a seperate members object?
31: [00:33:28] <puddle> this is theoretical
32: [00:33:43] <puddle> members was just an example
33: [00:33:51] <zippy> ok..
34: [00:34:04] <puddle> it could a product page with product images with titles
35: [00:34:13] <zippy> sure
36: [00:34:33] <puddle> the question is can youa dd field groups that can be repeated
37: [00:35:16] <zippy> so you can mass add items?
38: [00:35:39] <puddle> well its not about adding them at the same time but yeah
39: [00:35:50] <zippy> https://github.com/colymba/GridFieldBulkEditingTools might help
40: [00:36:06] <zippy> But an item can certainly have many instances of another item
41: [00:37:13] <zippy> ie, ProductPage -> has Many -> array('ProductDetails' => 'ProductDetail'); which -> class ProductDetail extends DataObject { private static $db = array('Title'); }.. and on your page you can <% loop ProductDetails %> $Title <% end_loop %>
42: [00:37:42] <zippy> I need to do somework before the cricket starts... ciao
43: [00:37:44] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
44: [00:38:53] <puddle> thanks zippy
45: [00:44:03] <DanaeNZ> anyone have any ideas on my problem? last time I checked having multiple has_one relations to the same kind of object was fine
46: [00:44:06] <DanaeNZ> but it's fucking it up
47: [00:44:37] <DanaeNZ> oh wait
48: [00:46:18] * antmas waits
49: [00:47:38] <helenclarko> antmas has lots of work to do, but waits.
50: [00:48:33] * antmas waiting intensifies
51: [00:51:13] <helenclarko> like Jesus, DanaeNZ has asked us to wait for her return (but has simply left us).
52: [00:51:24] <ss23> lol
53: [00:51:30] <DanaeNZ> oops sorry
54: [00:51:33] <ss23> are we allowed to get an ippys for the wait?
55: [00:51:36] <DanaeNZ> i found the problem
56: [00:51:43] <antmas> IPPYS
57: [00:51:49] <DanaeNZ> it had a weird datamodel setup
58: [00:59:08] <jules0x> date('Y') gives me this year... as a string... is there implicit conversion if i assign this to my 'Year' => 'Int' field
59: [01:07:24] <DanaeNZ> i want nippyes
60: [01:08:10] * Stomach has joined #silverstripe
61: [01:13:41] <antmas> same
62: [01:14:15] <ss23> jules0x: Yeah
63: [01:14:23] <ss23> jules0x: PHP is pretty chill about that stuff, you can mix and match easily
64: [01:14:45] <helenclarko> Okay, is there a default set of allowed extentions on File? Because I cant upload any file format currently.
65: [01:15:08] <ss23> helenclarko: in cwp n stuff, yeah, but believe there's not normally? not 100% sure what it's like these days
66: [01:15:14] <ss23> If you violate allowed_Extensions, it should tell you explicitly
67: [01:15:39] <jules0x> @ss23 thanks
68: [01:17:09] <helenclarko> ss23, yea when I try to upload through Browse Files, it comes back with an "invalid file type" message
69: [01:17:50] <helenclarko> would have thought png would be a default
70: [01:17:53] <ss23> helenclarko: sounds kind of allowed_extensionsy then
71: [01:17:54] <ss23> hmm
72: [01:18:07] <ss23> helenclarko: yeah, I'd expect it too. Maybe smoeone/something overwrote it incorrectly?
73: [01:18:27] <ss23> I know the API is like... confusing sometimes, where you're like "I want to add suport for .docx" and it's like "Okay I removed everything and now only allow docx"
74: [01:21:11] <helenclarko> ss23, I've had that, but I dont believe I have added any allowed extensions. Maybe I should.
75: [01:23:50] * Stomach quit (Quit: zzz)
76: [01:34:23] * AshKyd quit (Ping timeout: 246 seconds)
77: [01:36:13] <helenclarko> ss23: Damn, adding allowed extensions hasnt worked either.
78: [01:36:19] <helenclarko> Somethings fishy!
79: [01:37:14] * AshKyd has joined #silverstripe
80: [01:38:33] <helenclarko> This may be a job for NEXT WEEK!
81: [01:38:50] <micmania1> helenclarko: can you make folders?
82: [01:39:18] <helenclarko> micmania1: Yup
83: [01:39:29] <micmania1> what is the error you’re getting?
84: [01:39:39] <antmas> <helenclarko> This may be a job for NEXT WEEK!
85: [01:39:41] <antmas> LOL
86: [01:39:43] <antmas> A+
87: [01:40:55] <helenclarko> micmania1: So if I go to add a file to that new folder in kickassets I just get "Invalid file type".
88: [01:41:08] <helenclarko> antmas: Deadly serious lol
89: [01:41:40] <micmania1> helenclarko: oh, it might be an issue with kickassets. Have your tried without?
90: [01:43:15] <helenclarko> micmania1: I think you are right.
91: [01:49:55] * hailwood has joined #silverstripe
92: [01:50:29] <hailwood> Hey Folks, has anyone used ss-shop with subsites? Just wondering if anyone has run into issues doing so
93: [01:51:31] <helenclarko> micmania1: Yup, fixed after removing Kickassets.
94: [01:52:09] <helenclarko> micmania1: Damn, Kickassets looked sooo good
95: [01:53:17] <micmania1> Check to see if there’s some docs on allowed extensions anywhere. I’ve never used it myself - there might be something you have to configure.
96: [01:53:38] <hailwood> helenclarko, Missed the start of the conversation, what issue are you running into with kickassets?
97: [01:54:04] <helenclarko> So if I go to add a file to that new folder in kickassets I just get "Invalid file type".
98: [01:56:31] * DanaeNZ quit (Remote host closed the connection)
99: [01:57:02] * DanaeNZ has joined #silverstripe
100: [01:58:36] <helenclarko> sorry hailwood, if I go to upload a file in kickassets I just get "Invalid file type". However, once Kickassets is removed I can upload without any issue.
101: [01:58:53] * puddle quit ()
102: [01:59:06] <hailwood> helenclarko, any specific type of file, or even a png?
103: [01:59:34] * Azure quit (Ping timeout: 260 seconds)
104: [02:00:05] <helenclarko> hailwood: Ive done png, jpg and docx. all have been added as allowed_extentions too.
105: [02:00:31] * UncleCheese has joined #silverstripe
106: [02:00:37] <UncleCheese> has anyone here ever made a custom button for htmleditorfield?
107: [02:03:19] <helenclarko> Hi UncleCheese, Does Kickassets use the File::$allowed_extensions? if I go to upload a file in kickassets I just get "Invalid file type". However, once Kickassets is removed I can upload without any issue.
108: [02:03:58] <hailwood> helenclarko, What's your version requirement? There was a lot of changes to how that worked in a commit 2 days ago for kickassets, but that's not in a released version yet
109: [02:04:55] <helenclarko> I grabbed Kickassets this morning with the updates from 2 days ago.
110: [02:05:06] <hailwood> helenclarko, trying using version ~3.0
111: [02:06:16] <UncleCheese> helenclarko hmm, what kind of file are you uploding?
112: [02:06:22] <UncleCheese> it should be $allowed_extensions by default
113: [02:06:28] * antmas quit (Quit: Page closed)
114: [02:06:47] <UncleCheese> ah, yeah, you probably want to run a release branch.. master isn't very stable
115: [02:06:49] <helenclarko> UncleCheese: Ive done png, jpg and docx. all have been added as allowed_extentions too.
116: [02:07:09] <helenclarko> UncleCheese: That explains it then haha.
117: [02:07:40] * Stomach has joined #silverstripe
118: [02:08:24] <UncleCheese> helenclarko curious.. is it saying it's too big?
119: [02:09:01] <helenclarko> Nope, Just file type. I'll swap out with ~3.0
120: [02:11:02] <UncleCheese> ok, replicated it on master
121: [02:12:23] <helenclarko> UncleCheese: Loving the look and feel on the update.
122: [02:12:29] <UncleCheese> cool
123: [02:13:21] <helenclarko> UncleCheese: Oh, also is it Ctrl and shift keyboard keys that should allow for selecting multiple items?
124: [02:13:45] <UncleCheese> on mac it's the cmd key
125: [02:13:56] <UncleCheese> i think on windows that's ctrl, right?
126: [02:14:28] <helenclarko> Yup
127: [02:15:18] * r_hector has joined #silverstripe
128: [02:15:29] <helenclarko> You may already know, but its currently not working in master (on windows).
129: [02:15:31] * Azure has joined #silverstripe
130: [02:16:06] <UncleCheese> bugger
131: [02:16:10] <UncleCheese> do any keys work?
132: [02:16:27] <helenclarko> arrow keys also a nope.
133: [02:16:58] <helenclarko> But renaming folders worked no problem
134: [02:18:56] <UncleCheese> arrow keys shouldn't work
135: [02:18:59] <UncleCheese> but that's a great idea
136: [02:19:44] <UncleCheese> does alt or work as a multi-select enabler?
137: [02:21:15] * Stomach quit (Quit: zzz)
138: [02:22:41] * Stomach has joined #silverstripe
139: [02:23:03] <helenclarko> Alt of all the keys looks like it wants to. It leaves the first item selected when you click on the second.
140: [02:23:12] * Stomach quit (Client Quit)
141: [02:23:16] <hailwood> While we're all hitting you up UncleCheese, How'd your "fuck it, I'll do it now" go for replacing the standard upload fields ;)
142: [02:24:09] <hailwood> And as a general question, maybe micmania1 would know: Why can silverstripe/blog pages not be nested? The url segment never get's updated to account for the children
143: [02:25:00] <helenclarko> UncleCheese: back down from Master and uploading works fine now. Keyboard shortcuts are still not working (unless I have missed how something on how it works).
144: [02:25:23] <micmania1> hailwood: there was a bug. Not sure if there’s been a release since but updating lumberjack should fix it. Just do composer update silverstripe/lumberjack
145: [02:26:08] * Tanger has joined #silverstripe
146: [02:26:31] <UncleCheese> hailwood i fucked it and did it now
147: [02:26:45] <UncleCheese> will push up as soon as helenclarko stops finding bugs
148: [02:27:03] <helenclarko> hailwood: sorry :-)
149: [02:28:21] <hailwood> Shesh helenclarko, it's all your fault! Ha, No problemo
150: [02:28:32] <Colin[pi]> classic helenclarko
151: [02:29:05] <helenclarko> God damn radiosport... "Due to legal restrictions we are unable to stream todays event online"
152: [02:29:19] <helenclarko> I'm SOWWY!
153: [02:31:15] <helenclarko> "were self employed" "doing what..?" "throwing mud at these cows"
154: [02:31:31] <hailwood> micmania1, We're on the latest release of lumberjack, but you're correct there is an open issue on lumberjack for it :/
155: [02:32:23] <micmania1> hailwood: set your composer.json to use dev-master#b6bc9947f3c2ddee6db2a7fab563e24ca8a9b16c and it should fix it
156: [02:33:10] * UncleCheese quit (Ping timeout: 240 seconds)
157: [02:39:05] * gordon has joined #silverstripe
158: [02:39:09] * gordon is now known as nontgor
159: [02:40:13] <hailwood> Thanks micmania1 that's fixed it
160: [02:45:02] * UncleCheese has joined #silverstripe
161: [02:45:09] <UncleCheese> hailwood https://github.com/unclecheese/silverstripe-kickassets/commit/3c7468422e4918adf91f2bab3b5f7cd4578122ce
162: [02:46:27] <hailwood> UncleCheese, I'm about to test it out, but any idea if this will be compatible with e.g. https://github.com/bummzack/sortablefile
163: [02:46:48] <UncleCheese> i can't see why not
164: [02:47:11] * UncleCheese quit (Client Quit)
165: [02:49:30] <Jakx> Where do I set the session id for CurrentUser()? (if I want a custom one)
166: [02:50:29] * UncleCheese has joined #silverstripe
167: [02:51:32] * intwebg has joined #silverstripe
168: [02:51:33] <ss-helper> intwebg: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
169: [02:56:24] * zippy has joined #silverstripe
170: [02:56:54] <Colin[pi]> zippy: o/
171: [02:57:19] <zippy> UncleCheese: https://github.com/mailhog/MailHog > MailCatcher due to deps
172: [02:57:51] <zippy> UncleCheese: also, set default email in _ss_environment.. why add in mysite/_config...
173: [02:58:03] <hailwood> Hey UncleCheese So it seems to be working well, except it's throwing errors on gridfields with GridFieldBulkUpload ("colymba/gridfield-bulk-editing-tools": "~2.1.1")
174: [02:58:07] <zippy> UncleCheese: tbh. that video felt a little strange, like you were rushing or something. Everything ok?
175: [02:58:24] <UncleCheese> hahaha
176: [02:58:33] <UncleCheese> i did not enjoy making that lesson
177: [02:58:46] <zippy> no, something was off...
178: [02:59:53] <zippy> Colin[pi]: o/
179: [03:00:42] <UncleCheese> hailwood what are "errors?"
180: [03:05:27] <zippy> wonder if the 300 is on..
181: [03:05:32] <zippy> 261..
182: [03:05:54] <ss-helper> CSV Import in SilverStripe Duplicates and RelationCallbacks - http://stackoverflow.com/questions/33203108/csv-import-in-silverstripe-duplicates-and-relationcallbacks
183: [03:07:28] * Stomach has joined #silverstripe
184: [03:07:29] <zippy> where is Stomach...
185: [03:07:32] <zippy> hahaha
186: [03:07:34] <zippy> there :)
187: [03:07:37] <Stomach> hi
188: [03:07:37] <Stomach> ?
189: [03:07:43] <zippy> [16:05:25] <zippy> wonder if the 300 is on..
190: [03:08:24] <zippy> 35 to go.. but only 2 wickets in hand...
191: [03:08:30] <zippy> god I hope he doesn't get 299
192: [03:09:00] <Stomach> yeah its close :D
193: [03:10:24] * intwebg quit (Ping timeout: 246 seconds)
194: [03:11:12] <zippy> southee might smash out a quick fiddy..
195: [03:11:46] <zippy> wow who would of thought... nz would be leading..
196: [03:12:48] <Stomach> noone
197: [03:12:51] <Stomach> especially not us :D
198: [03:13:37] <nontgor> Southee hit 9 sixes in his debut innings. hasn't done much since though
199: [03:13:43] <Stomach> at home, can put it on TV wooo
200: [03:13:59] <zippy> nontgor: yeap remember that...
201: [03:14:05] <zippy> nontgor: he's had 3 50's in totall..
202: [03:14:35] <nontgor> zippy: Sixes percentage is amongst the highest as well
203: [03:14:48] <nontgor> zippy: Just the man you want in to guide you towards 300...
204: [03:14:57] <zippy> yeap, he's safe as houses!
205: [03:15:13] <zippy> as good as Danny Morrison probably
206: [03:16:09] <UncleCheese> Google Analytics is the only tool I've ever seen to localise the term "trash" to "Rubbish bin"
207: [03:16:11] <UncleCheese> +1 google
208: [03:17:48] <zippy> 31 more to go..
209: [03:18:31] <Stomach> holy six
210: [03:19:05] <zippy> mm
211: [03:19:16] <zippy> southee will get 50 before taylors 300
212: [03:19:34] <zippy> or.. out
213: [03:19:37] <Stomach> lol
214: [03:20:11] <helenclarko> zippy: He's out?
215: [03:20:18] <zippy> no I was just saying...
216: [03:20:25] <helenclarko> Thank god!
217: [03:20:27] <zippy> he will either get the milestone first, or get out first...
218: [03:20:39] <zippy> http://www.espncricinfo.com/australia-v-new-zealand-2015-16/engine/match/892511.html
219: [03:21:14] <zippy> or http://cricfree.sx/watch/live/australia-vs-new-zealand-live-streaming - but you must use an adblocker
220: [03:21:48] <Stomach> watching it on sky
221: [03:21:57] <zippy> ditto (skygo)
222: [03:22:02] <Stomach> had to pick the car up from a service at 4pm so just came straight home :D
223: [03:22:10] <Stomach> i love perth tests
224: [03:22:11] <helenclarko> Yup got it on cricfree, but delayed for some reason
225: [03:22:14] <Stomach> can actually watch it
226: [03:22:28] <Stomach> although this day night test thing is gonna be weird
227: [03:22:34] <zippy> helenclarko: yea i think it's about 10 seconds delayed or something...
228: [03:22:39] <zippy> helenclarko: pirate video and all....
229: [03:22:43] <zippy> Stomach: yeap, will be weird..
230: [03:23:14] <helenclarko> zippy: Yea I think mine is out by a lot more than that. 10 seconds is reasonable.
231: [03:23:27] <zippy> helenclarko: close and re-open
232: [03:23:28] * nontgor using Kodi
233: [03:24:55] <helenclarko> Maiden Southee
234: [03:25:04] <helenclarko> Thats where I am at.
235: [03:25:09] <zippy> who would of thought..
236: [03:25:32] <zippy> first ball just bowled
237: [03:25:34] <zippy> is there I am at
238: [03:26:18] <zippy> 2 more for taylor...
239: [03:26:34] <helenclarko> Just got that.
240: [03:26:43] <zippy> 29 to go :D
241: [03:26:43] <helenclarko> So still out a little.
242: [03:26:56] <zippy> out
243: [03:27:00] <zippy> just kidding
244: [03:27:07] <helenclarko> Come-on 300!
245: [03:27:13] <helenclarko> zippy: DONT!
246: [03:27:22] <helenclarko> haha
247: [03:27:29] <Stomach> OUT
248: [03:27:29] <Stomach> :(
249: [03:28:10] <zippy> Stomach: really? skygo must be really lagged... he just got a 4..
250: [03:28:11] <helenclarko> Not yet
251: [03:28:15] <Stomach> lol
252: [03:28:23] <zippy> Stomach: ah you playing? bitch..
253: [03:28:36] <zippy> not a time for jokes!!!
254: [03:28:43] <zippy> 23.
255: [03:28:48] <Stomach> http://i.imgur.com/N0MYVQ8.gif
256: [03:28:56] <zippy> no cb for me..
257: [03:29:11] <helenclarko> Stomach: FUCK!!!
258: [03:29:22] <DanaeNZ> is that cb confirmed
259: [03:29:28] <helenclarko> yup
260: [03:29:37] <helenclarko> It didnt start with E
261: [03:29:42] <zippy> helenclarko: srlsys
262: [03:29:46] <helenclarko> its a new link
263: [03:31:07] <Stomach> uh oh
264: [03:31:31] <hailwood> Sorry UncleCheese, was afk. So "errors" are it throwing a 404 when it fires a request to http://domain.dev/admin/pages/edit/EditForm/field/TeamCategoriesGridField/item/1/ItemEditForm/field/MembersGridField/bulkupload/folderid
265: [03:31:37] <zippy> damn..
266: [03:31:49] <zippy> 30sec lag
267: [03:32:19] <helenclarko> zippy, NOOOOOOOOooooo not southee!
268: [03:32:30] <zippy> taylors just gota go 4 6's..
269: [03:32:37] <spronk> hmm
270: [03:32:41] <zippy> and then declare :D
271: [03:32:41] <spronk> 277
272: [03:33:13] <zippy> spronk: yea but... f all wickets in the bag... poor bugger..
273: [03:33:20] <spronk> mm lol
274: [03:33:25] <nontgor> zippy: Told you #Southee
275: [03:33:33] <spronk> cmon tboult
276: [03:33:51] <spronk> tbh
277: [03:33:52] <spronk> for a bowler
278: [03:33:55] <spronk> boult can bat ok
279: [03:33:56] <zippy> nontgor: I thik he wears YOLO socks so..
280: [03:34:00] <zippy> (southee)
281: [03:34:18] <helenclarko> SWING AT EVERYTHING!
282: [03:35:49] * jules0x quit (Quit: Leaving)
283: [03:35:50] <zippy> jeapers... kept that first one out well
284: [03:37:02] <spronk> cmon bouilt
285: [03:37:20] <spronk> taloy needs 10 to equal highest score vs aus in aus
286: [03:37:31] <spronk> a record set in 1903
287: [03:37:42] <helenclarko> zippy: what happened to stream
288: [03:37:50] <zippy> helenclarko: dunno... I am watching skygo
289: [03:38:14] <helenclarko> Okay, nevermind. I'm on india stream now... FUCK!
290: [03:38:41] <zippy> helenclarko: ahh.. good ads there :D
291: [03:40:54] <spronk> bah
292: [03:40:58] <spronk> WAT R U DOIN TAYLOR
293: [03:41:01] <spronk> DUN TAKE A SNGL
294: [03:41:08] <spronk> NOT YET
295: [03:41:58] <helenclarko> Smash it!
296: [03:42:28] <zippy> 4 balls taylor... 4 sixes and done.
297: [03:42:35] <spronk> haha
298: [03:42:42] <zippy> make one a four if easier, I don't care..
299: [03:44:23] * Colin[pi] quit (Ping timeout: 265 seconds)
300: [03:45:35] <Stomach> 17 to go
301: [03:46:06] <zippy> commmon
302: [03:46:47] <helenclarko> 600 points would look nice too
303: [03:47:00] <helenclarko> RUNS, I MEAN RUNS!
304: [03:49:05] <zippy> ..
305: [03:49:17] <zippy> thats terrible..
306: [03:49:25] <spronk> lolmm
307: [03:50:27] <zippy> 600 RUNS ( helenclarko seed that, runs...)
308: [03:50:38] <spronk> but its a 2
309: [03:50:49] <spronk> hmm
310: [03:51:06] <spronk> maybe boult thinks MJ is handlable and he'll just leave MC to Ross
311: [03:51:06] <helenclarko> zippy: Lol, I feel like that when I get asked "Who's winning?"
312: [03:52:33] <spronk> preeetty good innings taylor
313: [03:52:37] <spronk> SR >80
314: [03:52:51] <helenclarko> spronk: It's not bad...
315: [03:53:07] <spronk> much higher strike rate than any of the NZ records around him
316: [03:57:19] <zippy> 16..
317: [03:59:10] <spronk> 15..
318: [03:59:30] <spronk> THIS IS TENSE ZIPPY
319: [04:00:12] <helenclarko> Home time!
320: [04:00:15] * helenclarko quit (Quit: Ain't no lie, baby bye bye bye.)
321: [04:00:35] <zippy> spronk: tv might be on for dinner tonight folks
322: [04:00:40] <spronk> lol
323: [04:00:50] <zippy> "but dad... you said..."
324: [04:02:20] <spronk> god damnit ross
325: [04:02:21] <spronk> stop fucking around and hit it
326: [04:03:16] * hailwood quit (Remote host closed the connection)
327: [04:03:33] <zippy> spronk: mmm hmm past 10 minutes has been slow
328: [04:03:36] <zippy> crazy..
329: [04:04:03] <zippy> Stomach: hows the knuckles?
330: [04:04:11] <Stomach> lol, busy working too :S
331: [04:04:34] <zippy> i've given up on work, kids running around
332: [04:05:08] <zippy> shot Boult
333: [04:06:33] <zippy> :)
334: [04:07:20] <zippy> I wonder if Boult will get 50 before Taylors 300..
335: [04:07:27] <spronk> heh
336: [04:07:31] <spronk> nice six boult
337: [04:08:18] <zippy> Taylor just needs to repeat what Boult did and he's done
338: [04:08:21] <spronk> sheit
339: [04:08:27] <spronk> maybe boult will get 50..
340: [04:08:41] <zippy> 10 overs to the new ball..
341: [04:08:47] <zippy> 9..
342: [04:09:46] <zippy> Imagine if mcullum declaired right now
343: [04:11:01] <zippy> 12.
344: [04:13:38] <zippy> painful..
345: [04:13:41] <spronk> mmlol
346: [04:16:03] <zippy> 10
347: [04:16:08] <zippy> 10 runs!
348: [04:17:17] <Stomach> aww no
349: [04:17:25] <spronk> ?
350: [04:17:53] <zippy> fuck...
351: [04:18:38] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
352: [04:18:59] <spronk> dang
353: [04:19:20] <Jakx> sorry to ask this twice, but where can the session id be set, if I want to set a custom id?
354: [04:20:11] * micmania1 quit (Quit: micmania1)
355: [04:20:12] <mahfuz> Any way Rosco played a great innings after such a bad patch
356: [04:20:39] <mahfuz> And NZ has taken the lead
357: [04:24:01] * Tanger quit (Remote host closed the connection)
358: [04:25:56] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
359: [04:26:20] <spronk> mm..
360: [04:29:56] * Tanger has joined #silverstripe
361: [04:33:36] <ss-helper> SilverStripe 3.1.16 and 3.2.1 Security Release Announcement - https://groups.google.com/d/msg/silverstripe-announce/6DmCnbMD1yw/babo0b6LAwAJ
362: [05:00:39] * mahfuz quit (Ping timeout: 246 seconds)
363: [05:09:37] * Jakx quit (Read error: Connection reset by peer)
364: [05:10:58] * Embraden_ quit (Ping timeout: 250 seconds)
365: [05:18:32] * DanaeNZ quit (Remote host closed the connection)
366: [05:35:11] * Embraden has joined #silverstripe
367: [05:38:49] * spronk quit (Quit: I may need a longer sleep timer...)
368: [05:43:15] * spronk has joined #silverstripe
369: [05:45:25] * Stomach quit (Quit: zzz)
370: [05:57:03] * joelpittet has joined #silverstripe
371: [06:14:46] * Liquide^2 quit ()
372: [06:17:16] * zippy has joined #silverstripe
373: [06:46:38] * Stomach has joined #silverstripe
374: [06:47:09] * wmk has joined #silverstripe
375: [06:48:42] * Stomach quit (Read error: Connection reset by peer)
376: [06:48:47] * Stomach_ has joined #silverstripe
377: [06:49:20] * Stomach_ quit (Client Quit)
378: [06:51:13] * Stomach has joined #silverstripe
379: [06:55:06] * joelpittet quit ()
380: [06:58:44] <zippy> Stomach: so close eh!
381: [06:58:57] <Stomach> yeeeah :(
382: [06:59:33] <zippy> pretty good catch by that sub
383: [07:01:09] <zippy> Stomach: pickup couple more wickets and could make for an interesting game..
384: [07:03:20] <zippy> Mike Hussey reminds me of Scott Styris (voice)
385: [07:03:45] <Stomach> yeah we should just bowl them out for 120 and win :D
386: [07:05:18] <zippy> I will send Brendan a txt
387: [07:07:06] * DanaeNZ has joined #silverstripe
388: [07:10:56] * TheVoid_ has joined #silverstripe
389: [07:11:11] * Mike123 has joined #silverstripe
390: [07:11:35] * DanaeNZ quit (Ping timeout: 264 seconds)
391: [07:15:46] * TheVoid quit (Remote host closed the connection)
392: [07:15:48] * Zauberfisch quit (Ping timeout: 448 seconds)
393: [07:17:06] * Zauberfisch has joined #silverstripe
394: [07:19:35] <wmk> *sigh*... ss logs unusable again
395: [07:28:59] * Stomach quit (Quit: zzz)
396: [07:30:03] <wmk> hopefully noone cancles the chat today...
397: [07:31:56] * Stomach has joined #silverstripe
398: [07:36:13] * Eliseth has joined #silverstripe
399: [07:38:42] <wmk> Eliseth, did you try Translatable_DataObject on a Page type?
400: [07:46:33] <zippy> wmk: https://silverstripe.logged.nz/ ? it's blank if you have an adblocker on
401: [07:46:55] <wmk> yup, worked some times with javascript disabled
402: [07:47:05] <wmk> now i have to enable javascript and adblocker
403: [07:51:01] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
404: [07:59:38] * arnhoe has joined #silverstripe
405: [08:01:09] * zippy has joined #silverstripe
406: [08:01:12] * zippy quit (Client Quit)
407: [08:01:27] * zippy has joined #silverstripe
408: [08:11:15] * Audlex quit ()
409: [08:12:46] * UncleCheese has joined #silverstripe
410: [08:17:35] * UncleCheese quit (Client Quit)
411: [08:20:56] * swaiba has joined #silverstripe
412: [08:32:25] * mobiusnz has joined #silverstripe
413: [08:32:34] <mobiusnz> has anyone done much with the forum module?
414: [08:33:25] <ss23> silverstripe.org runs forum module
415: [08:33:32] <mobiusnz> yeah I know
416: [08:35:26] <mobiusnz> I'm wanting to customise the moderation feature - just wondering if anyone had done anything similar
417: [08:37:58] <wmk> ouch, this hurts... instead of using css media queries some javascript to add a class to some main wrapper div
418: [08:40:14] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
419: [08:47:53] <mobiusnz> also, what does it mean to "ghost" a user in the forum module?
420: [08:48:27] <wmk> swaiba, ^^
421: [08:48:46] <swaiba> morning all
422: [08:49:10] <swaiba> yeah havne't checked today, but mobiusnz "ghost" a user means hide all posts and user on one click
423: [08:49:18] <ss23> mobiusnz: Ghost is when they can log in and post things, and they think it "works", but no one else can see that the user exists
424: [08:49:24] <swaiba> when they spam like 50 posts... that one button drops them all
425: [08:49:31] <mobiusnz> true that
426: [08:49:33] <wmk> good funciton
427: [08:49:34] <ss23> It's for when you want a spammer to think they're doing spam properly, but you don't want anyone else to thikn it
428: [08:49:39] <ss23> Also known as a "shadow ban"
429: [08:49:51] <mobiusnz> yep, understand
430: [08:50:30] <mobiusnz> is there a way to set all posts to "Awaiting" (I'm assuming it means Awaiting Moderation) by default?
431: [08:50:32] <swaiba> wmk without this function I'd have given up on modderating ss
432: [08:50:43] <swaiba> and even with it there are days I've given up
433: [08:50:49] <wmk> swaiba, i bet so
434: [08:50:59] <ss23> We're happy to implement any other spam protections anyone can think of
435: [08:51:05] <ss23> But we've got them all and we still get spam :(
436: [08:51:09] <swaiba> mobiusnz not that I know of, I only mod the forum and suggest stuff
437: [08:51:26] <swaiba> If I implemented a forum, no offence, but it would not likely be ss
438: [08:51:33] <ss23> Yeah
439: [08:51:35] <wmk> ss23, well, there is no spam protection against cheap manual workers
440: [08:51:41] <ss23> I guess people just use the module since it's like... "built in"
441: [08:51:44] <ss23> yeah
442: [08:51:50] <ss23> love guru was a real person who wouldn't give up
443: [08:51:51] <ss23> :/
444: [08:52:00] <swaiba> aahhhh the love guru
445: [08:52:15] <wmk> well, did he teach good stuff?
446: [08:52:25] <swaiba> I didn't fall in love with them
447: [08:52:31] <ss23> lol
448: [08:52:42] <wmk> swaiba, so you already knew everything, right?
449: [08:52:53] <mobiusnz> man… requireDefaultRecords and Subsites don't work well together
450: [08:53:17] <swaiba> I learnt alot about how to spam forums from the baba wmk
451: [08:56:30] * DanaeNZ has joined #silverstripe
452: [08:57:02] * SH__ has joined #silverstripe
453: [09:00:46] * DanaeNZ quit (Ping timeout: 240 seconds)
454: [09:03:30] <SH__> Hey guys, any quick tip on how to remove something from the Left sidebar in the CMS? Im thinking about the Pages tab
455: [09:04:14] <mobiusnz> SH__: check out http://addons.silverstripe.org/add-ons/froog/simplify
456: [09:05:30] <SH__> Nice, thanks!
457: [09:05:32] <wmk> SH__, why...?
458: [09:05:59] <wmk> you won't see the item in the left menu (admin area) if you don't have permissions for it
459: [09:06:05] <SH__> wmk, just trying some stuff :)
460: [09:06:24] <wmk> anyone can help me with a desicion? Subsites vs MultiSite module...
461: [09:14:57] * Audlex has joined #silverstripe
462: [09:17:01] * kinglozzer has joined #silverstripe
463: [09:17:28] <mobiusnz> wmk: there are different modules?
464: [09:18:40] <wmk> mobiusnz, yup
465: [09:18:47] <mobiusnz> leh sigh
466: [09:18:58] <mobiusnz> well, I'm running subsites
467: [09:19:00] <mobiusnz> it works
468: [09:19:03] <mobiusnz> but its iffy
469: [09:21:25] * GioVdK has joined #silverstripe
470: [09:22:43] * Stomach quit (Quit: zzz)
471: [09:27:41] <kinglozzer> Hmm, validation errors for fields inside a FieldGroup aren't showing :(
472: [09:27:43] <kinglozzer> Any ideas?
473: [09:28:42] <kinglozzer> Seems to be because I have nested CompositeFields inside FieldGroups
474: [09:28:46] <kinglozzer> :I
475: [09:34:41] <wmk> mobiusnz, i know subsites..
476: [09:38:10] <kinglozzer> hm, found it :( will have to use some injector magic... https://github.com/silverstripe/silverstripe-framework/issues/4773
477: [09:46:00] * Alboes has joined #silverstripe
478: [09:47:30] <Mike123> Morning all !
479: [09:49:14] <Alboes> hi. Since SilverStripe 3.2 the OptionsetField doesn't accept empty value anymore? I use this in a form where it's not required to make a choice, but if the form is submitted it comes with a validation message. In 3.1 it always worked well
480: [10:11:06] * Mike123 quit (Ping timeout: 246 seconds)
481: [10:11:21] <kinglozzer> Alboes: It should accept empty values
482: [10:11:36] <kinglozzer> It inherits validation logic from DropdownField: https://github.com/silverstripe/silverstripe-framework/blob/3.2/forms/DropdownField.php#L338-L340
483: [10:17:40] <wmk> i love this humour... https://github.com/unclecheese/silverstripe-kickassets#browser-support
484: [10:21:03] <ss-helper> Optional OptionsetField is SilverStripe 3.2 - http://stackoverflow.com/questions/33732666/optional-optionsetfield-is-silverstripe-3-2
485: [10:26:04] <Alboes> @kinglozer; I see I have to add ->setHasEmptyDefault(1); Well, that was not necessary in 3.1, but this works. Thanks!
486: [10:31:24] * UncleCheese has joined #silverstripe
487: [10:32:55] * NewGuy has joined #silverstripe
488: [10:36:41] * slievr has joined #silverstripe
489: [10:37:04] <kinglozzer> Alboes: Create an issue on Github for it: https://github.com/silverstripe/silverstripe-framework/issues
490: [10:37:17] <kinglozzer> Definitely sounds like a bug
491: [10:37:51] <Alboes> yes, i will do
492: [10:38:54] <wmk> Alboes, stumbled over that with a subclass of OptionSetField, now that you say it
493: [10:40:20] * tscole has joined #silverstripe
494: [10:41:14] <tscole> Hi - wondering if anyone can give me a quick steer in the right direction... I want to basically add a chunk of HTML to a CMS tab using a template
495: [10:41:50] <veb> the docs I heard are a good place to start
496: [10:41:54] <veb> :D
497: [10:42:12] <tscole> Well, yeah... But I can't find anything useful :-)
498: [10:42:19] <slievr> literalFieldmight be a good place to start
499: [10:42:29] <tscole> I've used literal field for small bits of HTML
500: [10:42:36] * SH__ quit (Ping timeout: 246 seconds)
501: [10:42:37] <tscole> this is much more substantial
502: [10:42:56] <tscole> I need to display three top 10 lists
503: [10:43:37] <slievr> why not use uneditable gridfields?
504: [10:43:39] * r_hector quit (Remote host closed the connection)
505: [10:44:43] <tscole> that might work... Ideally I'd like a bit more control over the layout though
506: [10:44:56] <tscole> I'd like to have the lists in 3 columns
507: [10:45:03] <tscole> next to each other
508: [10:45:51] <tscole> docs seem to indicate literal field doesn't support setTemplate
509: [10:46:21] <slievr> make function that usses renderWith and pass data into literalfield?
510: [10:46:49] <tscole> Thats the kind of thing I have in mind.
511: [10:47:09] * NewGuy quit (Ping timeout: 246 seconds)
512: [10:49:18] <tscole> Still looking at the docs... so I can use a function as $content when I make the literal field?
513: [10:51:09] <slievr> yep
514: [10:51:48] <tscole> Cool. Thanks slievr
515: [10:51:49] <slievr> syntax would be LiteralField::create('test',$this->func_name())
516: [10:52:38] <tscole> chhers
517: [10:52:44] <tscole> *cheers
518: [11:06:43] * jb___ has joined #silverstripe
519: [11:06:43] <ss-helper> jb___: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
520: [11:10:05] <jb___> Hello. I am using gridfield sortable rows module. which allows to sort rows by drag and drop. The issue is when I click on "Allow drag and drop" checkbox it shows data in original sort order. but when save it, it doesn't show in proper order. For that I also have set $default_sort variable. but it is not working.
521: [11:11:08] <jb___> However it shows in proper order in frontend.
522: [11:12:15] * MarkGuinn has joined #silverstripe
523: [11:16:58] * MarkGuinn quit (Ping timeout: 272 seconds)
524: [11:17:03] <swaiba> jb___ couldn't comment except to say I'd recommend the one in gridfieldextensions and I've never had an issue with i
525: [11:17:04] * ssg has joined #silverstripe
526: [11:17:06] <swaiba> *it
527: [11:17:13] * Mike123 has joined #silverstripe
528: [11:19:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
529: [11:29:04] * Otterpocket has joined #silverstripe
530: [11:29:25] <Otterpocket> Is there a way I can run my seeders from another BuildTask ?
531: [11:29:38] <Otterpocket> The seeders are also buildtasks
532: [11:31:18] <jb___> swaiba - yes I'm talking about that only. I also had no problem before using it. but don't know what's the issue this time.
533: [11:31:57] <swaiba> Otterpocket yes, just make an instance of the other $taskclass and $taskclass->run(); it
534: [11:38:19] <kinglozzer> jb___: The one in gridfieldextensions doesn't have an "allow drag and drop" tickbox, sounds like you're using a different one
535: [11:38:29] <kinglozzer> https://github.com/silverstripe-australia/silverstripe-gridfieldextensions
536: [11:53:09] * spronk quit (Quit: I may need a longer sleep timer...)
537: [11:58:54] * ssg quit (Ping timeout: 246 seconds)
538: [12:02:57] * UncleCheese has joined #silverstripe
539: [12:10:08] <wmk> !paste jb___
540: [12:10:09] <ss-helper> jb___: 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.
541: [12:10:12] * jb___ quit (Quit: Page closed)
542: [12:10:17] <wmk> man...
543: [12:10:39] <wmk> UncleCheese, you made my day... https://github.com/unclecheese/silverstripe-kickassets#browser-support
544: [12:20:07] * spronk has joined #silverstripe
545: [12:23:47] * Stomach has joined #silverstripe
546: [12:28:50] * Stomach quit (Ping timeout: 276 seconds)
547: [12:34:04] * DanaeNZ has joined #silverstripe
548: [12:38:10] * DanaeNZ quit (Ping timeout: 240 seconds)
549: [12:48:08] <Mike123> hello :)
550: [12:49:16] <Mike123> how do i get all DO'os but skip first one
551: [12:54:58] <swaiba> $list = DO::get()->sort(somehow);
552: [12:55:43] <swaiba> $list2 = DO::get()->exclude($list->first()-ID)->sort(somehow);
553: [13:03:00] <kinglozzer> Mike123 / swaiba: DO::get()->limit(null, 1)
554: [13:03:20] <swaiba> kinglozzer facepalm - i knew I was doing it wrong!
555: [13:03:33] * wmk quit (Read error: Connection reset by peer)
556: [13:03:39] * Werner_2_ has joined #silverstripe
557: [13:03:48] <kinglozzer> swaiba: New for 3.2 ;)
558: [13:04:29] <kinglozzer> null didn't work in 3.1, so I always did ->limit(9999999999, 1) :P
559: [13:04:48] * kinglozzer lunch
560: [13:05:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
561: [13:07:26] * Werner_2_ is now known as wmk
562: [13:10:28] * UncleCheese has joined #silverstripe
563: [13:11:21] * tscole quit (Ping timeout: 246 seconds)
564: [13:20:26] * NETim has joined #silverstripe
565: [13:22:39] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
566: [13:25:10] <slievr> is there away to render dataobjects as top lvl pages so I can get a url like site.com/obj-field or am I better just using htaccess?
567: [13:28:32] * NETim_ has joined #silverstripe
568: [13:29:31] * spronk quit (Quit: I may need a longer sleep timer...)
569: [13:31:14] * NETim quit (Ping timeout: 276 seconds)
570: [13:37:17] * UndefinedOffset has joined #silverstripe
571: [13:42:25] <swaiba> slievr https://github.com/arambalakjian/DataObject-as-Page
572: [13:42:29] <swaiba> oldie but a goodie
573: [13:42:50] <slievr> that bit I get
574: [13:43:01] <slievr> jut wondering how to get url as site/obj
575: [13:43:20] <slievr> not site/action/obj
576: [13:43:28] <swaiba> oh sorry I thought it would be all over that
577: [13:45:49] <slievr> thought about using htacces with mod_proxy
578: [13:45:58] <slievr> was just wondering if there was a cleaner way I was missing
579: [13:46:27] <Mike123> kinglozzer, thanks !
580: [13:47:17] <swaiba> slievr nested controllers?
581: [13:47:48] <swaiba> I mean you can define any url rule you like - depending on the appearnance you'd like
582: [13:49:06] <wmk> slievr, sounds like a bad idea... why not use pages instead?
583: [13:49:45] <slievr> existing code, that I have been tasked with updating
584: [13:50:02] <wmk> how's it now?
585: [13:50:55] <slievr> they all currently exists as dataobjects and they have a url like: site/page/action/obj
586: [13:51:18] <Alboes> do you have advise for caching for SilverStripe on a Debian server? Before I used APC, but the lasets stable version is from 2012
587: [13:52:46] * neilf__ quit (Ping timeout: 240 seconds)
588: [13:53:31] <wmk> 3.2.1 is out?
589: [13:54:14] <swaiba> Alboes either use static caching or partial caching at the ss level?
590: [13:54:43] <wmk> slievr, well, you can strip out the action with some work (urlslug), but not easily at root level
591: [13:55:29] * neilf__ has joined #silverstripe
592: [13:55:30] <wmk> slievr, i like https://github.com/NightJar/ssrigging-slug for this functionality
593: [13:56:01] <wmk> Alboes, APC is php bytecode cache?
594: [13:56:14] <slievr> wmk: thx will have a look
595: [13:56:15] <wmk> afaik it's built in in latest php
596: [13:59:55] <wmk> slievr, of course you can hack nestedpagecontroller to grab your DOs instead of Pages, but IMHO that's not good
597: [14:14:23] * cupcake has joined #silverstripe
598: [14:15:18] <cupcake> ola guys o/
599: [14:15:34] <cupcake> has anyone used GridFieldManyRelationHandler ?
600: [14:17:46] <Alboes> thanks for the advise
601: [14:17:47] * BrewNaked quit (Read error: Connection reset by peer)
602: [14:18:08] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
603: [14:18:19] * BrewNaked has joined #silverstripe
604: [14:19:32] <Alboes> other question: e-mails sent by de SilverStripe mail class are sent onbehalf, how can i avoid this?
605: [14:22:34] <UndefinedOffset> hmm looks like someone forgot to tag 3.1.16 :P both cms and framework are showing 3.1.16-rc1 while the release for 3.1.16 is up on ss.org
606: [14:28:27] <kinglozzer> UndefinedOffset: Oh yeah, how weird :/ care to post it on the dev list?
607: [14:28:37] <UndefinedOffset> sure can do
608: [14:33:15] <swaiba> Alboes - I don't follow?
609: [14:35:22] <ss-helper> SilverStripe 3.1.16 tag? - https://groups.google.com/d/msg/silverstripe-dev/fqM8CCJC9tU/9O6ZkExSBgAJ
610: [14:38:21] <Otterpocket> Changing the Page type in the CMS just changes the value in SiteTree ClassName Column ?
611: [14:38:58] <swaiba> cupcake ola and no
612: [14:39:18] <wmk> Otterpocket, yup
613: [14:39:25] <wmk> why should it change somewhere else?
614: [14:39:46] <Otterpocket> Is there a method to change the Pagetype of a Page?
615: [14:40:50] <wmk> dunno, just change ClassName programatically?
616: [14:41:13] <wmk> all pages are subclasses of SiteTree, so the ClassName aka PageType is saved in SiteTree table.
617: [14:41:20] <wmk> that's how ss dataobjects work
618: [14:44:49] <cupcake> swaiba im having issue on how to load a gridfield with a datalist for a many many relationship
619: [14:44:57] <cupcake> in that extension it shows it is simple
620: [14:45:00] <cupcake> you get checkboxes
621: [14:45:05] <cupcake> but i can't really figure it out
622: [14:49:14] <kinglozzer> Otterpocket / wmk: If you've added extra fields, you'll get another table, but SS should handle adding an extra record to that table automatically
623: [14:53:53] <cupcake> swaiba
624: [14:53:58] <cupcake> found how it works
625: [14:54:03] <cupcake> not very user friendly
626: [14:54:08] <cupcake> but ok it works :)
627: [14:54:45] <swaiba> cupcake cool, I was looking at how to further phrase "I said no I'd not used it :)"
628: [14:54:54] <swaiba> I just didn't want you to get no reply
629: [14:55:13] <cupcake> heheh thanks i appreciate at least my question got considered :p
630: [14:55:16] <Otterpocket> so SiteTree::get()->byId(1); and then change the Property 'ClassName' and then write() shoudl work?
631: [14:55:53] <cupcake> Otterpocket $myclass->ClassName='blabla'
632: [14:56:01] <cupcake> $myclass->write();
633: [14:56:11] <cupcake> if u use versioning
634: [14:56:24] <cupcake> u may opt to use $myclass->writeToStage('Stage')
635: [14:56:27] <kinglozzer> "Your password must be at least 8 characters, contain at least one digit, and cannot contain any of: " ' ; % * [ ] & # $ . |"
636: [14:56:30] * kinglozzer facepalm
637: [14:56:42] <cupcake> and publish it $myclass->publish('Stage','Live')
638: [14:56:53] <cupcake> lol @ kinglozzer
639: [15:01:38] <Otterpocket> cupcake, When I write() I get the following error: Object->__call(): the method 'parent' does not exist on 'Page'
640: [15:11:35] <swaiba> kinglozzer do you use keepass?
641: [15:11:49] <swaiba> once you do password strengths are never annyoing
642: [15:11:56] <kinglozzer> swaiba: nope
643: [15:12:07] <swaiba> a world a win waiting for you
644: [15:12:19] <kinglozzer> I was annoyed that they tell me what a password *can't* contain
645: [15:12:34] <kinglozzer> Like, wtf sort of system are you using if I can't include basic punctuation :S
646: [15:12:46] <kinglozzer> Met Office website btw ^^
647: [15:12:48] <swaiba> they must have a simple validation
648: [15:13:13] <swaiba> oh dear, you'd think security would get a look in there over "easy" passwords
649: [15:13:28] <kinglozzer> Indeed...
650: [15:13:45] <swaiba> still worth getting keepass, there is nothing better or secure for passwords and apps
651: [15:16:03] * Blacklite quit (Ping timeout: 260 seconds)
652: [15:16:47] <Otterpocket> I can change title fine like that but it errors with ClassName
653: [15:17:59] * Audlex quit (Ping timeout: 240 seconds)
654: [15:18:12] * Blacklite has joined #silverstripe
655: [15:18:34] <swaiba> Otterpocket I'd say the safest way was to dump the existing data into a new object...
656: [15:19:39] <swaiba> $arr = $obj->toMap(); unset($arr['ID'], $arr['ClassName'],$arr['Created'],$arr['LastEdited']); $newObj new MyObj($arr);
657: [15:22:27] * MarkGuinn has joined #silverstripe
658: [15:29:17] * auto9 has joined #silverstripe
659: [15:31:43] * CodeTrap has joined #silverstripe
660: [15:36:57] * BrewNaked quit (Remote host closed the connection)
661: [15:37:39] * wmk quit (Ping timeout: 240 seconds)
662: [15:44:11] <kinglozzer> Ugh Chrome
663: [15:44:40] <kinglozzer> Autocomplete is filling out a field named 'Address2' with people's email addresses, so the client has been getting data filled with email addresses for 2nd line of address >.<
664: [15:45:02] <kinglozzer> I don't wanna turn it off, because I hate finding a form I can't autocomplete :P
665: [15:45:25] * MarkGuinn quit (Ping timeout: 252 seconds)
666: [15:47:16] <cupcake> Otterpocket can u show me the code
667: [15:53:45] <cupcake> how do u write to a manymany list?
668: [15:54:57] <kinglozzer> cupcake: $list->add($item)
669: [15:58:08] <cupcake> doesnt need a ->write() right kinglozzer?
670: [15:58:30] <kinglozzer> cupcake: Nope, ->add() will write to the database
671: [15:59:00] * Mike123 quit (Ping timeout: 246 seconds)
672: [15:59:18] <cupcake> cheers
673: [16:01:00] <slievr> how do I got about getting '/' to use HomePage_Controller instead of ErrorPage_Controller
674: [16:02:04] <slievr> I am using this: https://github.com/NightJar/ssrigging-slug and it works for /home/slug
675: [16:02:09] <slievr> but not /slug
676: [16:07:25] <swaiba> kinglozzer Requirements::customScript("jQuery('#formfield').attr('autocomplete','off');");
677: [16:07:34] <swaiba> or better do it in php code
678: [16:11:44] * DanaeNZ has joined #silverstripe
679: [16:13:28] * CodeTrap quit (Quit: CodeTrap)
680: [16:15:59] * DanaeNZ quit (Ping timeout: 240 seconds)
681: [16:18:23] * arnhoe quit ()
682: [16:19:23] * CodeTrap has joined #silverstripe
683: [16:23:22] <slievr> ignore my question I have decided to do a different way
684: [16:23:27] <slievr> ish
685: [16:24:10] * MarkGuinn has joined #silverstripe
686: [16:27:26] * CodeTrap quit (Quit: CodeTrap)
687: [16:40:04] <cupcake> how to check if an item exists in a datalist?
688: [16:41:16] <slievr> find()?
689: [16:44:05] * BrewNaked has joined #silverstripe
690: [16:47:09] <kinglozzer> cupcake: if ($list->filter('Name', 'John Smith')->count()) ?
691: [16:52:45] <swaiba> I'd use ->first() instead of ->count()
692: [16:53:28] <slievr> isn't that what find() does or am I mistaken?
693: [16:55:23] <kinglozzer> swaiba: But what if there's more than one John Smith? ;)
694: [16:55:30] <kinglozzer> But yeah, you're probably right, depends on context I guess
695: [16:56:04] <kinglozzer> slievr: Yeah it is, just had to look it up - I had no idea that method existed! :P
696: [16:56:38] <slievr> woooo, not going crazy
697: [16:59:32] <swaiba> kinglozzer well it doesn't matter as long as it finds *one* and the time taken to find one case versus count all cases...
698: [17:00:03] <kinglozzer> Yeah good point, I dunno which is more performant...
699: [17:00:28] <swaiba> and I'd do find, as it is a wrapper, but as usually more filters are required I prefer filters
700: [17:00:30] <kinglozzer> count() discards sort, order, group by clauses etc
701: [17:01:14] <swaiba> kinglozzer but if you have 1M records its quite a difference to find one case or to count them all
702: [17:01:57] <kinglozzer> swaiba: Probably depends on indexing
703: [17:02:04] <kinglozzer> microoptimisations ftw! :P
704: [17:02:57] <swaiba> not going to vote for my uservoice item then kinglozzer
705: [17:02:58] <swaiba> https://silverstripe.uservoice.com/forums/251266-new-features/suggestions/9783966-performance-use-first-within-exists-and
706: [17:05:03] <kinglozzer> swaiba: I don't know enough about databases to have an opinion!
707: [17:08:07] <swaiba> kinglozzer well, it's fairly clear and indexes would help - but suppose all 1M rows were part of the count
708: [17:08:27] <swaiba> either you return at find #1 or at find #1000000
709: [17:20:03] * Otterpocket quit (Quit: Leaving)
710: [17:22:33] * swaiba quit (Remote host closed the connection)
711: [17:24:16] * Alboes quit (Remote host closed the connection)
712: [17:29:22] * kinglozzer quit ()
713: [17:31:09] * NETim has joined #silverstripe
714: [17:34:54] * NETim_ quit (Ping timeout: 255 seconds)
715: [17:50:30] * joelpittet has joined #silverstripe
716: [18:02:40] * Stomach has joined #silverstripe
717: [18:04:20] * micmania1 has joined #silverstripe
718: [18:15:51] * GioVdK quit (Ping timeout: 250 seconds)
719: [18:20:41] * gelignite has joined #silverstripe
720: [18:23:10] * Stomach quit (Quit: zzz)
721: [18:24:11] * JackOconnor has joined #silverstripe
722: [18:24:11] <ss-helper> JackOconnor: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
723: [18:25:44] <JackOconnor> So how is the blog module support for SS 3.2
724: [18:29:20] * wmk has joined #silverstripe
725: [18:35:21] * Copperis has joined #silverstripe
726: [18:53:56] * UncleCheese has joined #silverstripe
727: [18:54:49] * Stomach has joined #silverstripe
728: [19:02:23] * nuxil has joined #silverstripe
729: [19:05:26] * Stomach quit (Read error: Connection reset by peer)
730: [19:05:59] * Stomach has joined #silverstripe
731: [19:21:06] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
732: [19:26:15] * helenclarko has joined #silverstripe
733: [19:32:00] * Stomach quit (Quit: zzz)
734: [19:32:52] * Stomach has joined #silverstripe
735: [19:49:07] * DanaeNZ has joined #silverstripe
736: [19:53:40] * DanaeNZ quit (Ping timeout: 250 seconds)
737: [19:53:51] * krofek__ has joined #silverstripe
738: [19:56:42] * DimiStripe_alt has joined #silverstripe
739: [19:57:54] * krofek_ quit (Ping timeout: 240 seconds)
740: [19:58:25] * DimiStripe quit (Ping timeout: 262 seconds)
741: [19:58:25] * DimiStripe_alt is now known as DimiStripe
742: [20:01:06] * FrozenFire quit (Quit: There's no place like ~)
743: [20:03:11] * FrozenFire has joined #silverstripe
744: [20:10:10] * jules0x has joined #silverstripe
745: [20:20:15] <nuxil> a9ab561e1450b15f6d1e486df1a13259
746: [20:20:29] <nuxil> https://gyazo.com/a9ab561e1450b15f6d1e486df1a13259
747: [20:20:34] * hailwood has joined #silverstripe
748: [20:20:37] * UncleCheese has joined #silverstripe
749: [20:20:53] <nuxil> can anyone explain to me why that working in crome but not in firefox ?
750: [20:21:31] <hailwood> Morning everyone
751: [20:22:37] <nuxil> hi
752: [20:22:48] <nuxil> hailwood, can you help me?
753: [20:23:12] <hailwood> I missed your question sorry, only comment I can see is asking why something is working in chrome but not firefox
754: [20:23:24] <nuxil> i dont understand why simple thing works fine in chrom but not in firefox..
755: [20:23:26] <nuxil> example
756: [20:23:27] <nuxil> https://gyazo.com/a9ab561e1450b15f6d1e486df1a13259
757: [20:23:52] <nuxil> this is the inspector from chrom.. which is ok.
758: [20:23:53] <nuxil> https://gyazo.com/f7bd348b2d5aa9e47769f7046c33abdc
759: [20:24:04] <nuxil> but FF gives me this crap
760: [20:24:05] <nuxil> https://gyazo.com/115a5df23dff2fdcb851b6bc4cc04c52
761: [20:24:09] <nuxil> and makes up a class
762: [20:24:30] <nuxil> FF -> https://gyazo.com/f7bd348b2d5aa9e47769f7046c33abdc
763: [20:25:13] <hailwood> nuxil, It looks like you might have an extension installed that handles all images which is where the class is coming from
764: [20:25:34] <hailwood> regarding the </img> part, I believe that's just the way the ff inspector displays self closing elements
765: [20:26:13] <nuxil> hmm
766: [20:26:25] <nuxil> ok i'll try disable every extension in FF
767: [20:26:32] * MichaelHabib has joined #silverstripe
768: [20:26:58] <MichaelHabib> hi, is there a way to dynamically add models to ModelAdmin ?
769: [20:28:14] <nuxil> hailwood, i disabled every extension now... still not working in FF.
770: [20:28:15] * UncleCheese quit (Ping timeout: 260 seconds)
771: [20:29:08] <nuxil> btw the FF is version 41.0b1, maybe i should update it.
772: [20:29:15] <MichaelHabib> nuxil: hi, I didn't see you queswtion but if having problem viewing a page, may want to manually delete the content of silverstripe-cache, if this folder does not exisit in your installation root, create it
773: [20:30:09] <nuxil> MichaelHabib, well. my problem is that FF dosnt want to show all the content. while example chrome does it.
774: [20:30:53] <MichaelHabib> nuxil: could be an error in the HTML, unclosed tags & Chrome just doing better job at auto-closing it ?
775: [20:31:32] <MichaelHabib> Also try Ctrl+F5
776: [20:32:18] <nuxil> heh.
777: [20:33:03] <nuxil> well. im not sure whats going on.. checked the tags. no unclosed ones. or missing etc chars.
778: [20:33:29] <nuxil> im running a outdated beta of FF. so it could be thats whats causeing it.
779: [20:34:48] <nuxil> ahh.. thats was it. but they are rendered in the wrong place.. damn you firefox..
780: [20:35:37] <ss-helper> Re: SilverStripe 3.1.16 tag? - https://groups.google.com/d/msg/silverstripe-dev/fqM8CCJC9tU/Ix3NOq5lBgAJ
781: [20:37:47] * antmas has joined #silverstripe
782: [20:38:17] <nuxil> ?
783: [20:42:36] * cloph is now known as cloph_away
784: [20:45:29] <MichaelHabib> nuxil: is it working now ?
785: [20:46:03] <nuxil> yeah
786: [20:47:34] * UncleCheese has joined #silverstripe
787: [20:49:31] * MarkGuinn quit (Quit: Textual IRC Client: www.textualapp.com)
788: [20:50:37] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/xJAnenlmBgAJ
789: [20:53:09] <antmas> morning all o/
790: [20:58:02] <helenclarko> antmas: o/
791: [21:37:26] * wmk quit (Ping timeout: 260 seconds)
792: [21:44:14] <DimiStripe> Hi, SS 3.2.1 give me "Fatal error: Class 'SiteConfig' not found in /cms/code/model/SiteTree.php on line 1152" in admin "pages" after update from 3.1. Any ideas ?
793: [21:45:34] * wmk has joined #silverstripe
794: [21:46:48] * JackOconnor quit (Quit: Leaving)
795: [21:48:11] <jules0x> does anyone have a strategy when it comes to trailing slashes on URLs?
796: [21:48:46] <jules0x> Analytics considers the page without and the page with the slash to be two different pages, which makes for some odd analytics reporting
797: [21:55:50] * UndefinedOffset quit (Quit: Leaving.)
798: [22:02:30] * DanaeNZ has joined #silverstripe
799: [22:04:02] <antmas> DanaeNZ: o/
800: [22:04:18] <DanaeNZ> nnggg
801: [22:06:40] <helenclarko> DimiStripe: Sounds like the siteconfig folder is missing.
802: [22:10:25] <helenclarko> DimiStripe: SiteConfig is now an addon.
803: [22:10:35] * wmk quit (Ping timeout: 240 seconds)
804: [22:20:33] * Stomach quit (Quit: zzz)
805: [22:21:17] * Stomach has joined #silverstripe
806: [22:27:56] <helenclarko> antmas: What was the website regex tool you were using?
807: [22:29:39] * zippy has joined #silverstripe
808: [22:29:41] <zippy> who you guys use for SSL certs?
809: [22:31:14] * Stomach quit (Quit: zzz)
810: [22:39:30] * micmania1 quit (Ping timeout: 260 seconds)
811: [22:40:04] * UncleCheese quit (Ping timeout: 250 seconds)
812: [22:42:46] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
813: [22:43:58] * micmania1 has joined #silverstripe
814: [22:45:11] <antmas> helenclarko: I was using a regex tool?
815: [22:48:38] <helenclarko> antmas: Regular Expression?
816: [22:54:14] * zippy quit (Ping timeout: 265 seconds)
817: [22:54:16] * jbrungar quit (Ping timeout: 265 seconds)
818: [22:54:26] * jbrungar_ has joined #silverstripe
819: [22:54:46] * liori quit (Ping timeout: 265 seconds)
820: [22:54:47] * jbrungar_ is now known as jbrungar
821: [22:56:02] * liori has joined #silverstripe
822: [22:56:28] <DanaeNZ> :| <- this is my regular expression
823: [22:56:30] * spronk has joined #silverstripe
824: [22:56:42] * DanaeNZ gets kicked
825: [22:58:08] * MichalKl_ has joined #silverstripe
826: [22:58:33] * ec8or_ has joined #silverstripe
827: [23:02:58] <antmas> helenclarko: I don't remember using a tool...
828: [23:03:17] * Stomach has joined #silverstripe
829: [23:06:43] <antmas> anyone seen this? Ryan just mentioned it https://codefights.com/
830: [23:06:49] * jules0x quit (*.net *.split)
831: [23:06:50] * ec8or quit (*.net *.split)
832: [23:06:51] * MichalKleiner quit (*.net *.split)
833: [23:07:22] * jules0x has joined #silverstripe
834: [23:09:07] <DanaeNZ> antmas: that looks interests
835: [23:09:11] <DanaeNZ> interesting* fuck
836: [23:09:54] <antmas> :D
837: [23:13:34] <ss23> yeah antmas
838: [23:13:36] <ss23> interesting :O
839: [23:16:41] <spronk> good job solarix.net.nz
840: [23:16:47] <spronk> one of our mail vms has been down for 46 hours
841: [23:17:02] <antmas> :|
842: [23:17:02] <spronk> because their SAN is broken
843: [23:17:10] <ss23> idk man
844: [23:17:16] <ss23> almost seems like worth spinning up a new box for it now
845: [23:17:17] <spronk> it has been since 2PM on nov 15. They didn't notice this until i told them at 8am on the 16th
846: [23:17:22] <spronk> ss23 yeah, i have
847: [23:17:44] <spronk> sending mail is a bitch though
848: [23:17:47] <spronk> IP warm up etc
849: [23:17:55] <spronk> they won't even reroute my IP
850: [23:18:03] <ss23> yeah, though I was lucky and my linode had a clean IP when I first started
851: [23:18:04] <ss23> :D
852: [23:18:05] <ss23> Was super good
853: [23:18:16] <spronk> mm
854: [23:18:20] <antmas> lol the only social thing they have is linkedin?
855: [23:18:21] <ss23> (helps that I set up dkim + that other thing right from the start)
856: [23:18:22] <spronk> we send enough mail that it doesn't really matter
857: [23:18:26] <spronk> antmas yeah
858: [23:18:29] <spronk> they're useless
859: [23:18:41] <spronk> this is the... 6th? major issue we've had in the last 3 months
860: [23:18:59] <spronk> two issues ago forced our hand to move to aws, haven't quite completed the move yet
861: [23:19:16] <spronk> just complete bullshit like taking out half our vms because someone typod a route
862: [23:19:41] <spronk> or causing our entire stack to go dark because they changed their DNS servers without telling us
863: [23:20:24] <antmas> lol do they have like, 1 staff member?
864: [23:20:31] <spronk> theoretically a whole team
865: [23:20:36] <spronk> we were with unleash in chch
866: [23:20:41] <spronk> and they bought them out
867: [23:20:56] <spronk> a couple of unleash's staff left during the move, and i think that kinda fucked them
868: [23:20:57] <antmas> a whole team worth of experience to equate to 1 person
869: [23:21:41] <spronk> oh yeah, and last month they turned off their debian 6 mirrors with no notification
870: [23:21:41] <spronk> sigh
871: [23:22:03] <ss23> we had this webdrive issue a little while ago
872: [23:22:21] <spronk> and then, on a managed vm, told us to fix the problem by pointing to intl mirrors
873: [23:22:37] <ss23> vm went down, we coudln't figure out what was going on, made support ticket -> "oh sorry we accidently deleted your vm and have no backup, thanks ticket closed"
874: [23:22:41] <spronk> on top of their $50 charge for any support ticket
875: [23:22:44] <spronk> :| wow
876: [23:22:45] <ss23> rofl spronk
877: [23:22:47] <ss23> that's pretty bad too
878: [23:22:49] <spronk> yeah
879: [23:22:52] <antmas> spronk: dude, any 1 of those issues is enough to tell them to fuck off
880: [23:22:54] <spronk> "can you add a dns entry to this zone"
881: [23:22:57] <spronk> OK!
882: [23:22:57] <spronk> $50
883: [23:22:58] <antmas> that's incredibly bad practise
884: [23:22:59] <spronk> and the fuck it up
885: [23:23:19] <spronk> i've completely had enough of them
886: [23:23:20] <spronk> </rant>
887: [23:23:24] <antmas> :)
888: [23:23:33] <spronk> fucking amateur hour
889: [23:23:44] <spronk> even those fucking WahooHost script kiddie hosting companies do a better job
890: [23:24:54] <antmas> is there a way to sprin down a linode so you don't get charged?
891: [23:25:14] <antmas> spin*
892: [23:25:47] <spronk> hmm
893: [23:25:52] <spronk> as long as the files are there you're using resources iirc
894: [23:26:09] <antmas> hmm ok
895: [23:26:13] <spronk> use aws
896: [23:26:14] <spronk> and ELB
897: [23:26:15] <spronk> :p;
898: [23:26:39] * joelpittet is now known as joelpittet|awol
899: [23:27:01] <spronk> ffs yahoo
900: [23:27:09] <antmas> so I'd effectively have to delete my linode to stop bills yeah?
901: [23:27:14] <spronk> "sending email to users who are not reading them will hurt your delivery metrics and reputation"
902: [23:27:21] <spronk> what if everything you need to know is in the subject line...
903: [23:27:41] <spronk> antmas i think so, i haven't used linode for years trhough
904: [23:28:03] <antmas> ok
905: [23:30:49] <spronk> https://www.mightyape.co.nz/product/PlayStation-Notepad/23004808
906: [23:30:50] <spronk> win
907: [23:31:14] <antmas> lol that is pretty cool
908: [23:32:45] <spronk> they have sega saturn and megadrive ones too
909: [23:32:46] <spronk> and dreamcast
910: [23:32:48] <spronk> so much win
911: [23:32:49] * spronk buys
912: [23:32:50] <spronk> OOo
913: [23:32:55] * spronk can add to an existing order that hasn't shipped yet
914: [23:32:57] <spronk> mightyape ftw
915: [23:34:05] <antmas> what were they called before MightyApe?
916: [23:34:12] <antmas> Game Planet or something?
917: [23:34:13] <spronk> gameplanet store?
918: [23:34:15] <antmas> GP store
919: [23:34:18] <antmas> that's it
920: [23:34:36] <antmas> I remember when the 360 came out
921: [23:34:46] <antmas> fucked up my preorder and sent me 3x 360s :P
922: [23:34:49] <spronk> :D
923: [23:34:56] <antmas> 2 of which redringed on day 1
924: [23:35:01] <spronk> woow
925: [23:35:06] <antmas> lol yeah
926: [23:35:13] <spronk> well
927: [23:35:20] <spronk> i guess it was a good thing they sent you three
928: [23:35:21] <spronk> lol
929: [23:35:25] <antmas> sent all 3 back as the other 1 had an issue with the drive
930: [23:35:31] <spronk> D:
931: [23:35:37] <antmas> got 2 back because they fucked it up again!
932: [23:35:51] <antmas> didn't tell them, sold one of them lol
933: [23:36:10] * Stomach quit (Ping timeout: 240 seconds)
934: [23:36:34] <antmas> I think in the end I got a free 360, a controller and 4 games at launch
935: [23:37:46] <spronk> noice
936: [23:38:13] <spronk> how did they fuckj it up so badly lol
937: [23:38:31] <antmas> dunno, lots of people in the south island had pre orders messed up at that launch
938: [23:38:47] <antmas> made worse by all the 360's dying at the same time lol
939: [23:38:50] * Stomach has joined #silverstripe
940: [23:39:19] <spronk> its ok
941: [23:39:23] <spronk> the 360 was kinda crappy
942: [23:39:58] <antmas> I preferred it over my ps3
943: [23:40:13] <spronk> i preferred my pc
944: [23:40:13] <spronk> #pcmasterrace
945: [23:40:18] <antmas> lol
946: [23:40:21] <antmas> +1
947: [23:40:24] <spronk> and
948: [23:40:24] <spronk> tbh
949: [23:40:25] <spronk> the ps2
950: [23:40:38] <antmas> I never owned a ps2
951: [23:40:41] <spronk> becas gran turismo 4 was better tahn anything pre-forza3
952: [23:40:49] <spronk> and tekken 5 was better than anything on 360
953: [23:41:13] <spronk> ps2 had many many many reaaaally good games
954: [23:41:41] <antmas> I did have a gamecube I think
955: [23:41:51] <antmas> that thing was awesome, but failed so hard
956: [23:42:04] <spronk> lol
957: [23:42:05] <spronk> gamecube
958: [23:42:13] <spronk> didn't it only have one good gasme?
959: [23:42:25] <antmas> it had a couple, but they were all Nintendo games
960: [23:42:35] <antmas> Metroid Prime, Mario Sunshine etc
961: [23:42:48] <spronk> smash bros?
962: [23:42:55] <antmas> yah
963: [23:42:57] <spronk> then again
964: [23:43:00] <spronk> the n64 smash bros was the best
965: [23:43:08] <antmas> F-Zero etc
966: [23:43:32] <antmas> Pikmin
967: [23:46:23] <spronk> man
968: [23:46:35] <spronk> there were so many more defining games on ps2 than any of the later consoles
969: [23:56:39] * Stomach quit (Quit: zzz)
970: [23:58:05] * Stomach has joined #silverstripe

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